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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CatalogInlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public CatalogInlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CatalogInlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CatalogInlineSource.Builder clone()
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 |
---|
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CatalogInlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CatalogInlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CatalogInlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CatalogInlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides