public static final class CatalogInlineSource.Builder extends GeneratedMessage.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.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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];
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];
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];
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];
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];
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 |
| Name |
Description |
index |
int
|
build()
public CatalogInlineSource build()
buildPartial()
public CatalogInlineSource buildPartial()
clear()
public CatalogInlineSource.Builder clear()
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];
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 |
| Name |
Description |
index |
int
|
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 |
| Name |
Description |
index |
int
|
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];
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 |
| Type |
Description |
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];
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 |
| Name |
Description |
index |
int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CatalogInlineSource other)
public CatalogInlineSource.Builder mergeFrom(CatalogInlineSource other)
public CatalogInlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CatalogInlineSource.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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 |
| Name |
Description |
index |
int
|
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];
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];