Class CloudExportAdditionalProperties (0.11.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CloudExportAdditionalProperties

Static Fields

BOOL_VALUE_FIELD_NUMBER

public static final int BOOL_VALUE_FIELD_NUMBER
Field Value
Type Description
int

FLOAT_VALUE_FIELD_NUMBER

public static final int FLOAT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

INT_VALUE_FIELD_NUMBER

public static final int INT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

MAX_VALUE_FIELD_NUMBER

public static final int MAX_VALUE_FIELD_NUMBER
Field Value
Type Description
int

MIN_VALUE_FIELD_NUMBER

public static final int MIN_VALUE_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_NAME_FIELD_NUMBER

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

UNIT_CODE_FIELD_NUMBER

public static final int UNIT_CODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudExportAdditionalProperties getDefaultInstance()
Returns
Type Description
CloudExportAdditionalProperties

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CloudExportAdditionalProperties.Builder newBuilder()
Returns
Type Description
CloudExportAdditionalProperties.Builder

newBuilder(CloudExportAdditionalProperties prototype)

public static CloudExportAdditionalProperties.Builder newBuilder(CloudExportAdditionalProperties prototype)
Parameter
Name Description
prototype CloudExportAdditionalProperties
Returns
Type Description
CloudExportAdditionalProperties.Builder

parseDelimitedFrom(InputStream input)

public static CloudExportAdditionalProperties parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudExportAdditionalProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CloudExportAdditionalProperties parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudExportAdditionalProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudExportAdditionalProperties parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudExportAdditionalProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudExportAdditionalProperties parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudExportAdditionalProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CloudExportAdditionalProperties parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudExportAdditionalProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CloudExportAdditionalProperties parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudExportAdditionalProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudExportAdditionalProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CloudExportAdditionalProperties> parser()
Returns
Type Description
Parser<CloudExportAdditionalProperties>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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 int

The 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 int

The 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.

getParserForType()

public Parser<CloudExportAdditionalProperties> getParserForType()
Returns
Type Description
Parser<CloudExportAdditionalProperties>
Overrides

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.

getSerializedSize()

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;

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CloudExportAdditionalProperties.Builder newBuilderForType()
Returns
Type Description
CloudExportAdditionalProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudExportAdditionalProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CloudExportAdditionalProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CloudExportAdditionalProperties.Builder toBuilder()
Returns
Type Description
CloudExportAdditionalProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException