public final class CloudExportAdditionalProperties extends GeneratedMessageV3 implements CloudExportAdditionalPropertiesOrBuilder
Product property for the Cloud Retail API.
For example, properties for a TV product could be "Screen-Resolution" or
"Screen-Size".
Protobuf type google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int BOOL_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FLOAT_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INT_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MAX_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MIN_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PROPERTY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TEXT_VALUE_FIELD_NUMBER
public static final int TEXT_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int UNIT_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static CloudExportAdditionalProperties getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CloudExportAdditionalProperties.Builder newBuilder()
public static CloudExportAdditionalProperties.Builder newBuilder(CloudExportAdditionalProperties prototype)
public static CloudExportAdditionalProperties parseDelimitedFrom(InputStream input)
public static CloudExportAdditionalProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudExportAdditionalProperties parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static CloudExportAdditionalProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudExportAdditionalProperties parseFrom(ByteString data)
public static CloudExportAdditionalProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudExportAdditionalProperties parseFrom(CodedInputStream input)
public static CloudExportAdditionalProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudExportAdditionalProperties parseFrom(InputStream input)
public static CloudExportAdditionalProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudExportAdditionalProperties parseFrom(ByteBuffer data)
public static CloudExportAdditionalProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CloudExportAdditionalProperties> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public boolean getBoolValue()
Boolean value of the given property. For example for a TV product,
"True" or "False" if the screen is UHD.
optional bool bool_value = 3;
Returns |
Type |
Description |
boolean |
The boolValue.
|
public CloudExportAdditionalProperties getDefaultInstanceForType()
public float getFloatValue(int index)
Float values of the given property. For example for a TV product
1.2345. Maximum repeatedness of this value is 400. Values
are stored in an arbitrary but consistent order.
repeated float float_value = 5;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
float |
The floatValue at the given index.
|
public int getFloatValueCount()
Float values of the given property. For example for a TV product
1.2345. Maximum repeatedness of this value is 400. Values
are stored in an arbitrary but consistent order.
repeated float float_value = 5;
Returns |
Type |
Description |
int |
The count of floatValue.
|
public List<Float> getFloatValueList()
Float values of the given property. For example for a TV product
1.2345. Maximum repeatedness of this value is 400. Values
are stored in an arbitrary but consistent order.
repeated float float_value = 5;
Returns |
Type |
Description |
List<Float> |
A list containing the floatValue.
|
public long getIntValue(int index)
Integer values of the given property. For example, 1080 for a TV
product's Screen Resolution. Maximum repeatedness of this value
is 400. Values are stored in an arbitrary but consistent order.
repeated int64 int_value = 4;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
long |
The intValue at the given index.
|
public int getIntValueCount()
Integer values of the given property. For example, 1080 for a TV
product's Screen Resolution. Maximum repeatedness of this value
is 400. Values are stored in an arbitrary but consistent order.
repeated int64 int_value = 4;
Returns |
Type |
Description |
int |
The count of intValue.
|
public List<Long> getIntValueList()
Integer values of the given property. For example, 1080 for a TV
product's Screen Resolution. Maximum repeatedness of this value
is 400. Values are stored in an arbitrary but consistent order.
repeated int64 int_value = 4;
Returns |
Type |
Description |
List<Long> |
A list containing the intValue.
|
public float getMaxValue()
Maximum float value of the given property. For example for a TV
product 100.00.
optional float max_value = 7;
Returns |
Type |
Description |
float |
The maxValue.
|
public float getMinValue()
Minimum float value of the given property. For example for a TV
product 1.00.
optional float min_value = 6;
Returns |
Type |
Description |
float |
The minValue.
|
public Parser<CloudExportAdditionalProperties> getParserForType()
Overrides
public String getPropertyName()
Name of the given property. For example,
"Screen-Resolution" for a TV product. Maximum string size is 256
characters.
optional string property_name = 1;
Returns |
Type |
Description |
String |
The propertyName.
|
public ByteString getPropertyNameBytes()
Name of the given property. For example,
"Screen-Resolution" for a TV product. Maximum string size is 256
characters.
optional string property_name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for propertyName.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTextValue(int index)
public String getTextValue(int index)
Text value of the given property. For example,
"8K(UHD)" could be a text value for a TV product. Maximum
repeatedness of this value is 400. Values are stored in an arbitrary but
consistent order. Maximum string size is 256 characters.
repeated string text_value = 2;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The textValue at the given index.
|
getTextValueBytes(int index)
public ByteString getTextValueBytes(int index)
Text value of the given property. For example,
"8K(UHD)" could be a text value for a TV product. Maximum
repeatedness of this value is 400. Values are stored in an arbitrary but
consistent order. Maximum string size is 256 characters.
repeated string text_value = 2;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the textValue at the given index.
|
getTextValueCount()
public int getTextValueCount()
Text value of the given property. For example,
"8K(UHD)" could be a text value for a TV product. Maximum
repeatedness of this value is 400. Values are stored in an arbitrary but
consistent order. Maximum string size is 256 characters.
repeated string text_value = 2;
Returns |
Type |
Description |
int |
The count of textValue.
|
getTextValueList()
public ProtocolStringList getTextValueList()
Text value of the given property. For example,
"8K(UHD)" could be a text value for a TV product. Maximum
repeatedness of this value is 400. Values are stored in an arbitrary but
consistent order. Maximum string size is 256 characters.
repeated string text_value = 2;
public String getUnitCode()
Unit of the given property. For example, "Pixels" for a TV product. Maximum
string size is 256B.
optional string unit_code = 8;
Returns |
Type |
Description |
String |
The unitCode.
|
public ByteString getUnitCodeBytes()
Unit of the given property. For example, "Pixels" for a TV product. Maximum
string size is 256B.
optional string unit_code = 8;
Returns |
Type |
Description |
ByteString |
The bytes for unitCode.
|
public boolean hasBoolValue()
Boolean value of the given property. For example for a TV product,
"True" or "False" if the screen is UHD.
optional bool bool_value = 3;
Returns |
Type |
Description |
boolean |
Whether the boolValue field is set.
|
public boolean hasMaxValue()
Maximum float value of the given property. For example for a TV
product 100.00.
optional float max_value = 7;
Returns |
Type |
Description |
boolean |
Whether the maxValue field is set.
|
public boolean hasMinValue()
Minimum float value of the given property. For example for a TV
product 1.00.
optional float min_value = 6;
Returns |
Type |
Description |
boolean |
Whether the minValue field is set.
|
public boolean hasPropertyName()
Name of the given property. For example,
"Screen-Resolution" for a TV product. Maximum string size is 256
characters.
optional string property_name = 1;
Returns |
Type |
Description |
boolean |
Whether the propertyName field is set.
|
public boolean hasUnitCode()
Unit of the given property. For example, "Pixels" for a TV product. Maximum
string size is 256B.
optional string unit_code = 8;
Returns |
Type |
Description |
boolean |
Whether the unitCode field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CloudExportAdditionalProperties.Builder newBuilderForType()
protected CloudExportAdditionalProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public CloudExportAdditionalProperties.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides