Class CatalogItem
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.recommendationengine.v1beta1.CatalogItem
-
- All Implemented Interfaces:
CatalogItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class CatalogItem extends com.google.protobuf.GeneratedMessageV3 implements CatalogItemOrBuilder
CatalogItem captures all metadata information of items to be recommended.
Protobuf typegoogle.cloud.recommendationengine.v1beta1.CatalogItem- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCatalogItem.BuilderCatalogItem captures all metadata information of items to be recommended.static classCatalogItem.CategoryHierarchyCategory represents catalog item category hierarchy.static interfaceCatalogItem.CategoryHierarchyOrBuilderstatic classCatalogItem.RecommendationTypeCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCATEGORY_HIERARCHIES_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intITEM_ATTRIBUTES_FIELD_NUMBERstatic intITEM_GROUP_ID_FIELD_NUMBERstatic intLANGUAGE_CODE_FIELD_NUMBERstatic intPRODUCT_METADATA_FIELD_NUMBERstatic intTAGS_FIELD_NUMBERstatic intTITLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CatalogItem.CategoryHierarchygetCategoryHierarchies(int index)Required.intgetCategoryHierarchiesCount()Required.List<CatalogItem.CategoryHierarchy>getCategoryHierarchiesList()Required.CatalogItem.CategoryHierarchyOrBuildergetCategoryHierarchiesOrBuilder(int index)Required.List<? extends CatalogItem.CategoryHierarchyOrBuilder>getCategoryHierarchiesOrBuilderList()Required.static CatalogItemgetDefaultInstance()CatalogItemgetDefaultInstanceForType()StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetId()Required.com.google.protobuf.ByteStringgetIdBytes()Required.FeatureMapgetItemAttributes()Optional.FeatureMapOrBuildergetItemAttributesOrBuilder()Optional.StringgetItemGroupId()Optional.com.google.protobuf.ByteStringgetItemGroupIdBytes()Optional.StringgetLanguageCode()Optional.com.google.protobuf.ByteStringgetLanguageCodeBytes()Optional.com.google.protobuf.Parser<CatalogItem>getParserForType()ProductCatalogItemgetProductMetadata()Optional.ProductCatalogItemOrBuildergetProductMetadataOrBuilder()Optional.CatalogItem.RecommendationTypeCasegetRecommendationTypeCase()intgetSerializedSize()StringgetTags(int index)Optional.com.google.protobuf.ByteStringgetTagsBytes(int index)Optional.intgetTagsCount()Optional.com.google.protobuf.ProtocolStringListgetTagsList()Optional.StringgetTitle()Required.com.google.protobuf.ByteStringgetTitleBytes()Required.inthashCode()booleanhasItemAttributes()Optional.booleanhasProductMetadata()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CatalogItem.BuildernewBuilder()static CatalogItem.BuildernewBuilder(CatalogItem prototype)CatalogItem.BuildernewBuilderForType()protected CatalogItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CatalogItemparseDelimitedFrom(InputStream input)static CatalogItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CatalogItemparseFrom(byte[] data)static CatalogItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CatalogItemparseFrom(com.google.protobuf.ByteString data)static CatalogItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CatalogItemparseFrom(com.google.protobuf.CodedInputStream input)static CatalogItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CatalogItemparseFrom(InputStream input)static CatalogItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CatalogItemparseFrom(ByteBuffer data)static CatalogItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CatalogItem>parser()CatalogItem.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CATEGORY_HIERARCHIES_FIELD_NUMBER
public static final int CATEGORY_HIERARCHIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ITEM_ATTRIBUTES_FIELD_NUMBER
public static final int ITEM_ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ITEM_GROUP_ID_FIELD_NUMBER
public static final int ITEM_GROUP_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRODUCT_METADATA_FIELD_NUMBER
public static final int PRODUCT_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRecommendationTypeCase
public CatalogItem.RecommendationTypeCase getRecommendationTypeCase()
- Specified by:
getRecommendationTypeCasein interfaceCatalogItemOrBuilder
-
getId
public String getId()
Required. Catalog item identifier. UTF-8 encoded string with a length limit of 128 bytes. This id must be unique among all catalog items within the same catalog. It should also be used when logging user events in order for the user events to be joined with the Catalog.
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getIdin interfaceCatalogItemOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Required. Catalog item identifier. UTF-8 encoded string with a length limit of 128 bytes. This id must be unique among all catalog items within the same catalog. It should also be used when logging user events in order for the user events to be joined with the Catalog.
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getIdBytesin interfaceCatalogItemOrBuilder- Returns:
- The bytes for id.
-
getCategoryHierarchiesList
public List<CatalogItem.CategoryHierarchy> getCategoryHierarchiesList()
Required. Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]repeated .google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy category_hierarchies = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCategoryHierarchiesListin interfaceCatalogItemOrBuilder
-
getCategoryHierarchiesOrBuilderList
public List<? extends CatalogItem.CategoryHierarchyOrBuilder> getCategoryHierarchiesOrBuilderList()
Required. Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]repeated .google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy category_hierarchies = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCategoryHierarchiesOrBuilderListin interfaceCatalogItemOrBuilder
-
getCategoryHierarchiesCount
public int getCategoryHierarchiesCount()
Required. Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]repeated .google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy category_hierarchies = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCategoryHierarchiesCountin interfaceCatalogItemOrBuilder
-
getCategoryHierarchies
public CatalogItem.CategoryHierarchy getCategoryHierarchies(int index)
Required. Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]repeated .google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy category_hierarchies = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCategoryHierarchiesin interfaceCatalogItemOrBuilder
-
getCategoryHierarchiesOrBuilder
public CatalogItem.CategoryHierarchyOrBuilder getCategoryHierarchiesOrBuilder(int index)
Required. Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]repeated .google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy category_hierarchies = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCategoryHierarchiesOrBuilderin interfaceCatalogItemOrBuilder
-
getTitle
public String getTitle()
Required. Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTitlein interfaceCatalogItemOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
Required. Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTitleBytesin interfaceCatalogItemOrBuilder- Returns:
- The bytes for title.
-
getDescription
public String getDescription()
Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceCatalogItemOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceCatalogItemOrBuilder- Returns:
- The bytes for description.
-
hasItemAttributes
public boolean hasItemAttributes()
Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
.google.cloud.recommendationengine.v1beta1.FeatureMap item_attributes = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasItemAttributesin interfaceCatalogItemOrBuilder- Returns:
- Whether the itemAttributes field is set.
-
getItemAttributes
public FeatureMap getItemAttributes()
Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
.google.cloud.recommendationengine.v1beta1.FeatureMap item_attributes = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getItemAttributesin interfaceCatalogItemOrBuilder- Returns:
- The itemAttributes.
-
getItemAttributesOrBuilder
public FeatureMapOrBuilder getItemAttributesOrBuilder()
Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
.google.cloud.recommendationengine.v1beta1.FeatureMap item_attributes = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getItemAttributesOrBuilderin interfaceCatalogItemOrBuilder
-
getLanguageCode
public String getLanguageCode()
Optional. Language of the title/description/item_attributes. Use language tags defined by BCP 47. https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Our supported language codes include 'en', 'es', 'fr', 'de', 'ar', 'fa', 'zh', 'ja', 'ko', 'sv', 'ro', 'nl'. For other languages, contact your Google account manager.
string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodein interfaceCatalogItemOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
Optional. Language of the title/description/item_attributes. Use language tags defined by BCP 47. https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Our supported language codes include 'en', 'es', 'fr', 'de', 'ar', 'fa', 'zh', 'ja', 'ko', 'sv', 'ro', 'nl'. For other languages, contact your Google account manager.
string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodeBytesin interfaceCatalogItemOrBuilder- Returns:
- The bytes for languageCode.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()
Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsListin interfaceCatalogItemOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()
Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsCountin interfaceCatalogItemOrBuilder- Returns:
- The count of tags.
-
getTags
public String getTags(int index)
Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsin interfaceCatalogItemOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index)
Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsBytesin interfaceCatalogItemOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getItemGroupId
public String getItemGroupId()
Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).
string item_group_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getItemGroupIdin interfaceCatalogItemOrBuilder- Returns:
- The itemGroupId.
-
getItemGroupIdBytes
public com.google.protobuf.ByteString getItemGroupIdBytes()
Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).
string item_group_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getItemGroupIdBytesin interfaceCatalogItemOrBuilder- Returns:
- The bytes for itemGroupId.
-
hasProductMetadata
public boolean hasProductMetadata()
Optional. Metadata specific to retail products.
.google.cloud.recommendationengine.v1beta1.ProductCatalogItem product_metadata = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasProductMetadatain interfaceCatalogItemOrBuilder- Returns:
- Whether the productMetadata field is set.
-
getProductMetadata
public ProductCatalogItem getProductMetadata()
Optional. Metadata specific to retail products.
.google.cloud.recommendationengine.v1beta1.ProductCatalogItem product_metadata = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProductMetadatain interfaceCatalogItemOrBuilder- Returns:
- The productMetadata.
-
getProductMetadataOrBuilder
public ProductCatalogItemOrBuilder getProductMetadataOrBuilder()
Optional. Metadata specific to retail products.
.google.cloud.recommendationengine.v1beta1.ProductCatalogItem product_metadata = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProductMetadataOrBuilderin interfaceCatalogItemOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 CatalogItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CatalogItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CatalogItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CatalogItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CatalogItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CatalogItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CatalogItem parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CatalogItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CatalogItem parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CatalogItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CatalogItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CatalogItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CatalogItem.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CatalogItem.Builder newBuilder()
-
newBuilder
public static CatalogItem.Builder newBuilder(CatalogItem prototype)
-
toBuilder
public CatalogItem.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CatalogItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CatalogItem getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CatalogItem> parser()
-
getParserForType
public com.google.protobuf.Parser<CatalogItem> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CatalogItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-