public static final class CatalogInlineSource.Builder extends GeneratedMessageV3.Builder<CatalogInlineSource.Builder> implements CatalogInlineSourceOrBuilder
The inline source for the input config for ImportCatalogItems method.
Protobuf type google.cloud.recommendationengine.v1beta1.CatalogInlineSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllCatalogItems(Iterable<? extends CatalogItem> values)
public CatalogInlineSource.Builder addAllCatalogItems(Iterable<? extends CatalogItem> values)
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
Name | Description |
values | Iterable<? extends com.google.cloud.recommendationengine.v1beta1.CatalogItem>
|
Returns
addCatalogItems(CatalogItem value)
public CatalogInlineSource.Builder addCatalogItems(CatalogItem value)
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
Returns
addCatalogItems(CatalogItem.Builder builderForValue)
public CatalogInlineSource.Builder addCatalogItems(CatalogItem.Builder builderForValue)
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
Returns
addCatalogItems(int index, CatalogItem value)
public CatalogInlineSource.Builder addCatalogItems(int index, CatalogItem value)
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];
Parameters
Returns
addCatalogItems(int index, CatalogItem.Builder builderForValue)
public CatalogInlineSource.Builder addCatalogItems(int index, CatalogItem.Builder builderForValue)
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];
Parameters
Returns
addCatalogItemsBuilder()
public CatalogItem.Builder addCatalogItemsBuilder()
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
addCatalogItemsBuilder(int index)
public CatalogItem.Builder addCatalogItemsBuilder(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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CatalogInlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CatalogInlineSource build()
Returns
buildPartial()
public CatalogInlineSource buildPartial()
Returns
clear()
public CatalogInlineSource.Builder clear()
Returns
Overrides
clearCatalogItems()
public CatalogInlineSource.Builder clearCatalogItems()
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
clearField(Descriptors.FieldDescriptor field)
public CatalogInlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CatalogInlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CatalogInlineSource.Builder clone()
Returns
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
Returns
getCatalogItemsBuilder(int index)
public CatalogItem.Builder getCatalogItemsBuilder(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
Returns
getCatalogItemsBuilderList()
public List<CatalogItem.Builder> getCatalogItemsBuilderList()
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
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
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
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
Returns
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
Type | Description |
List<? extends com.google.cloud.recommendationengine.v1beta1.CatalogItemOrBuilder> | |
getDefaultInstanceForType()
public CatalogInlineSource getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CatalogInlineSource other)
public CatalogInlineSource.Builder mergeFrom(CatalogInlineSource other)
Parameter
Returns
public CatalogInlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CatalogInlineSource.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CatalogInlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeCatalogItems(int index)
public CatalogInlineSource.Builder removeCatalogItems(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
Returns
setCatalogItems(int index, CatalogItem value)
public CatalogInlineSource.Builder setCatalogItems(int index, CatalogItem value)
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];
Parameters
Returns
setCatalogItems(int index, CatalogItem.Builder builderForValue)
public CatalogInlineSource.Builder setCatalogItems(int index, CatalogItem.Builder builderForValue)
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];
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CatalogInlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CatalogInlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CatalogInlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides