Package com.google.cloud.retail.v2alpha
Class Tile
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.retail.v2alpha.Tile
- All Implemented Interfaces:
TileOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Tile
extends com.google.protobuf.GeneratedMessage
implements TileOrBuilder
This field specifies the tile information including an attribute key, attribute value. More fields will be added in the future, eg: product id or product counts, etc.Protobuf type
google.cloud.retail.v2alpha.Tile- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThis field specifies the tile information including an attribute key, attribute value.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Tilestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Tile>The product attribute key-numeric interval.The product attribute key-numeric interval.The product attribute key-value.The product attribute key-value.The representative product id for this tile.com.google.protobuf.ByteStringThe representative product id for this tile.intinthashCode()booleanThe product attribute key-numeric interval.booleanThe product attribute key-value.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Tile.Builderstatic Tile.BuildernewBuilder(Tile prototype) protected Tile.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TileparseDelimitedFrom(InputStream input) static TileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TileparseFrom(byte[] data) static TileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TileparseFrom(com.google.protobuf.ByteString data) static TileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TileparseFrom(com.google.protobuf.CodedInputStream input) static TileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TileparseFrom(InputStream input) static TileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TileparseFrom(ByteBuffer data) static TileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Tile>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PRODUCT_ATTRIBUTE_VALUE_FIELD_NUMBER
public static final int PRODUCT_ATTRIBUTE_VALUE_FIELD_NUMBER- See Also:
-
PRODUCT_ATTRIBUTE_INTERVAL_FIELD_NUMBER
public static final int PRODUCT_ATTRIBUTE_INTERVAL_FIELD_NUMBER- See Also:
-
REPRESENTATIVE_PRODUCT_ID_FIELD_NUMBER
public static final int REPRESENTATIVE_PRODUCT_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getProductAttributeCase
- Specified by:
getProductAttributeCasein interfaceTileOrBuilder
-
hasProductAttributeValue
public boolean hasProductAttributeValue()The product attribute key-value.
.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 1;- Specified by:
hasProductAttributeValuein interfaceTileOrBuilder- Returns:
- Whether the productAttributeValue field is set.
-
getProductAttributeValue
The product attribute key-value.
.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 1;- Specified by:
getProductAttributeValuein interfaceTileOrBuilder- Returns:
- The productAttributeValue.
-
getProductAttributeValueOrBuilder
The product attribute key-value.
.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 1;- Specified by:
getProductAttributeValueOrBuilderin interfaceTileOrBuilder
-
hasProductAttributeInterval
public boolean hasProductAttributeInterval()The product attribute key-numeric interval.
.google.cloud.retail.v2alpha.ProductAttributeInterval product_attribute_interval = 2;- Specified by:
hasProductAttributeIntervalin interfaceTileOrBuilder- Returns:
- Whether the productAttributeInterval field is set.
-
getProductAttributeInterval
The product attribute key-numeric interval.
.google.cloud.retail.v2alpha.ProductAttributeInterval product_attribute_interval = 2;- Specified by:
getProductAttributeIntervalin interfaceTileOrBuilder- Returns:
- The productAttributeInterval.
-
getProductAttributeIntervalOrBuilder
The product attribute key-numeric interval.
.google.cloud.retail.v2alpha.ProductAttributeInterval product_attribute_interval = 2;- Specified by:
getProductAttributeIntervalOrBuilderin interfaceTileOrBuilder
-
getRepresentativeProductId
The representative product id for this tile.
string representative_product_id = 3;- Specified by:
getRepresentativeProductIdin interfaceTileOrBuilder- Returns:
- The representativeProductId.
-
getRepresentativeProductIdBytes
public com.google.protobuf.ByteString getRepresentativeProductIdBytes()The representative product id for this tile.
string representative_product_id = 3;- Specified by:
getRepresentativeProductIdBytesin interfaceTileOrBuilder- Returns:
- The bytes for representativeProductId.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Tile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Tile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Tile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Tile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-