Class CatalogInlineSource (0.28.0)

public final class CatalogInlineSource extends GeneratedMessageV3 implements CatalogInlineSourceOrBuilder

The inline source for the input config for ImportCatalogItems method.

Protobuf type google.cloud.recommendationengine.v1beta1.CatalogInlineSource

Static Fields

CATALOG_ITEMS_FIELD_NUMBER

public static final int CATALOG_ITEMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CatalogInlineSource getDefaultInstance()
Returns
TypeDescription
CatalogInlineSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CatalogInlineSource.Builder newBuilder()
Returns
TypeDescription
CatalogInlineSource.Builder

newBuilder(CatalogInlineSource prototype)

public static CatalogInlineSource.Builder newBuilder(CatalogInlineSource prototype)
Parameter
NameDescription
prototypeCatalogInlineSource
Returns
TypeDescription
CatalogInlineSource.Builder

parseDelimitedFrom(InputStream input)

public static CatalogInlineSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CatalogInlineSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CatalogInlineSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CatalogInlineSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CatalogInlineSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CatalogInlineSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CatalogInlineSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CatalogInlineSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CatalogInlineSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CatalogInlineSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CatalogInlineSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CatalogInlineSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CatalogInlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CatalogInlineSource> parser()
Returns
TypeDescription
Parser<CatalogInlineSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCatalogItems(int index)

public CatalogItem getCatalogItems(int index)

Optional. A list of catalog items to update/create. Recommended max of 10k items.

repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
CatalogItem

getCatalogItemsCount()

public int getCatalogItemsCount()

Optional. A list of catalog items to update/create. Recommended max of 10k items.

repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getCatalogItemsList()

public List<CatalogItem> getCatalogItemsList()

Optional. A list of catalog items to update/create. Recommended max of 10k items.

repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<CatalogItem>

getCatalogItemsOrBuilder(int index)

public CatalogItemOrBuilder getCatalogItemsOrBuilder(int index)

Optional. A list of catalog items to update/create. Recommended max of 10k items.

repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
CatalogItemOrBuilder

getCatalogItemsOrBuilderList()

public List<? extends CatalogItemOrBuilder> getCatalogItemsOrBuilderList()

Optional. A list of catalog items to update/create. Recommended max of 10k items.

repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.recommendationengine.v1beta1.CatalogItemOrBuilder>

getDefaultInstanceForType()

public CatalogInlineSource getDefaultInstanceForType()
Returns
TypeDescription
CatalogInlineSource

getParserForType()

public Parser<CatalogInlineSource> getParserForType()
Returns
TypeDescription
Parser<CatalogInlineSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CatalogInlineSource.Builder newBuilderForType()
Returns
TypeDescription
CatalogInlineSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CatalogInlineSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CatalogInlineSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CatalogInlineSource.Builder toBuilder()
Returns
TypeDescription
CatalogInlineSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException