public static final class CloudExportAdditionalProperties.Builder extends GeneratedMessage.Builder<CloudExportAdditionalProperties.Builder> implements CloudExportAdditionalPropertiesOrBuilderProduct 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CloudExportAdditionalProperties.BuilderImplements
CloudExportAdditionalPropertiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFloatValue(Iterable<? extends Float> values)
public CloudExportAdditionalProperties.Builder addAllFloatValue(Iterable<? extends Float> values)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 |
values |
Iterable<? extends java.lang.Float>The floatValue to add. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
addAllIntValue(Iterable<? extends Long> values)
public CloudExportAdditionalProperties.Builder addAllIntValue(Iterable<? extends Long> values)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 |
values |
Iterable<? extends java.lang.Long>The intValue to add. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
addAllTextValue(Iterable<String> values)
public CloudExportAdditionalProperties.Builder addAllTextValue(Iterable<String> values)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 |
values |
Iterable<String>The textValue to add. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
addFloatValue(float value)
public CloudExportAdditionalProperties.Builder addFloatValue(float value)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 |
value |
floatThe floatValue to add. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
addIntValue(long value)
public CloudExportAdditionalProperties.Builder addIntValue(long value)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 |
value |
longThe intValue to add. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
addTextValue(String value)
public CloudExportAdditionalProperties.Builder addTextValue(String value)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 |
value |
StringThe textValue to add. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
addTextValueBytes(ByteString value)
public CloudExportAdditionalProperties.Builder addTextValueBytes(ByteString value)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 |
value |
ByteStringThe bytes of the textValue to add. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
build()
public CloudExportAdditionalProperties build()| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties |
|
buildPartial()
public CloudExportAdditionalProperties buildPartial()| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties |
|
clear()
public CloudExportAdditionalProperties.Builder clear()| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
|
clearBoolValue()
public CloudExportAdditionalProperties.Builder clearBoolValue()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 |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
clearFloatValue()
public CloudExportAdditionalProperties.Builder clearFloatValue()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 |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
clearIntValue()
public CloudExportAdditionalProperties.Builder clearIntValue()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 |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
clearMaxValue()
public CloudExportAdditionalProperties.Builder clearMaxValue()Maximum float value of the given property. For example for a TV product 100.00.
optional float max_value = 7;
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
clearMinValue()
public CloudExportAdditionalProperties.Builder clearMinValue()Minimum float value of the given property. For example for a TV product 1.00.
optional float min_value = 6;
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
clearPropertyName()
public CloudExportAdditionalProperties.Builder clearPropertyName()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 |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
clearTextValue()
public CloudExportAdditionalProperties.Builder clearTextValue()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 |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
clearUnitCode()
public CloudExportAdditionalProperties.Builder clearUnitCode()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 |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
getBoolValue()
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. |
getDefaultInstanceForType()
public CloudExportAdditionalProperties getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFloatValue(int index)
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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
float |
The floatValue at the given index. |
getFloatValueCount()
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. |
getFloatValueList()
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. |
getIntValue(int index)
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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
long |
The intValue at the given index. |
getIntValueCount()
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. |
getIntValueList()
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. |
getMaxValue()
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. |
getMinValue()
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. |
getPropertyName()
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. |
getPropertyNameBytes()
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. |
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 |
intThe 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 |
intThe 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;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the textValue. |
getUnitCode()
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. |
getUnitCodeBytes()
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. |
hasBoolValue()
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. |
hasMaxValue()
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. |
hasMinValue()
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. |
hasPropertyName()
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. |
hasUnitCode()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudExportAdditionalProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudExportAdditionalProperties.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
|
mergeFrom(CloudExportAdditionalProperties other)
public CloudExportAdditionalProperties.Builder mergeFrom(CloudExportAdditionalProperties other)| Parameter | |
|---|---|
| Name | Description |
other |
CloudExportAdditionalProperties |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
|
setBoolValue(boolean value)
public CloudExportAdditionalProperties.Builder setBoolValue(boolean value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe boolValue to set. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
setFloatValue(int index, float value)
public CloudExportAdditionalProperties.Builder setFloatValue(int index, float value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
floatThe floatValue to set. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
setIntValue(int index, long value)
public CloudExportAdditionalProperties.Builder setIntValue(int index, long value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
longThe intValue to set. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
setMaxValue(float value)
public CloudExportAdditionalProperties.Builder setMaxValue(float value)Maximum float value of the given property. For example for a TV product 100.00.
optional float max_value = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe maxValue to set. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
setMinValue(float value)
public CloudExportAdditionalProperties.Builder setMinValue(float value)Minimum float value of the given property. For example for a TV product 1.00.
optional float min_value = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe minValue to set. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
setPropertyName(String value)
public CloudExportAdditionalProperties.Builder setPropertyName(String value)Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters.
optional string property_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe propertyName to set. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
setPropertyNameBytes(ByteString value)
public CloudExportAdditionalProperties.Builder setPropertyNameBytes(ByteString value)Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters.
optional string property_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for propertyName to set. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
setTextValue(int index, String value)
public CloudExportAdditionalProperties.Builder setTextValue(int index, String value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe textValue to set. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
setUnitCode(String value)
public CloudExportAdditionalProperties.Builder setUnitCode(String value)Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256B.
optional string unit_code = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unitCode to set. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |
setUnitCodeBytes(ByteString value)
public CloudExportAdditionalProperties.Builder setUnitCodeBytes(ByteString value)Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256B.
optional string unit_code = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for unitCode to set. |
| Returns | |
|---|---|
| Type | Description |
CloudExportAdditionalProperties.Builder |
This builder for chaining. |