Class ProductInputConfig.Builder (2.11.0)

public static final class ProductInputConfig.Builder extends GeneratedMessageV3.Builder<ProductInputConfig.Builder> implements ProductInputConfigOrBuilder

The input config source for products.

Protobuf type google.cloud.retail.v2.ProductInputConfig

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProductInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

build()

public ProductInputConfig build()
Returns
TypeDescription
ProductInputConfig

buildPartial()

public ProductInputConfig buildPartial()
Returns
TypeDescription
ProductInputConfig

clear()

public ProductInputConfig.Builder clear()
Returns Overrides

clearBigQuerySource()

public ProductInputConfig.Builder clearBigQuerySource()

BigQuery input source.

.google.cloud.retail.v2.BigQuerySource big_query_source = 3;

Returns

clearField(Descriptors.FieldDescriptor field)

public ProductInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns Overrides

clearGcsSource()

public ProductInputConfig.Builder clearGcsSource()

Google Cloud Storage location for the input content.

.google.cloud.retail.v2.GcsSource gcs_source = 2;

Returns

clearOneof(Descriptors.OneofDescriptor oneof)

public ProductInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clearProductInlineSource()

public ProductInputConfig.Builder clearProductInlineSource()

The Inline source for the input content for products.

.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;

Returns

clearSource()

public ProductInputConfig.Builder clearSource()
Returns

clone()

public ProductInputConfig.Builder clone()
Returns Overrides

getBigQuerySource()

public BigQuerySource getBigQuerySource()

BigQuery input source.

.google.cloud.retail.v2.BigQuerySource big_query_source = 3;

Returns
TypeDescription
BigQuerySource

The bigQuerySource.

getBigQuerySourceBuilder()

public BigQuerySource.Builder getBigQuerySourceBuilder()

BigQuery input source.

.google.cloud.retail.v2.BigQuerySource big_query_source = 3;

Returns
TypeDescription
BigQuerySource.Builder

getBigQuerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()

BigQuery input source.

.google.cloud.retail.v2.BigQuerySource big_query_source = 3;

Returns

getDefaultInstanceForType()

public ProductInputConfig getDefaultInstanceForType()
Returns
TypeDescription
ProductInputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsSource()

public GcsSource getGcsSource()

Google Cloud Storage location for the input content.

.google.cloud.retail.v2.GcsSource gcs_source = 2;

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

Google Cloud Storage location for the input content.

.google.cloud.retail.v2.GcsSource gcs_source = 2;

Returns
TypeDescription
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location for the input content.

.google.cloud.retail.v2.GcsSource gcs_source = 2;

Returns
TypeDescription
GcsSourceOrBuilder

getProductInlineSource()

public ProductInlineSource getProductInlineSource()

The Inline source for the input content for products.

.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;

Returns
TypeDescription
ProductInlineSource

The productInlineSource.

getProductInlineSourceBuilder()

public ProductInlineSource.Builder getProductInlineSourceBuilder()

The Inline source for the input content for products.

.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;

Returns

getProductInlineSourceOrBuilder()

public ProductInlineSourceOrBuilder getProductInlineSourceOrBuilder()

The Inline source for the input content for products.

.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;

Returns

getSourceCase()

public ProductInputConfig.SourceCase getSourceCase()
Returns

hasBigQuerySource()

public boolean hasBigQuerySource()

BigQuery input source.

.google.cloud.retail.v2.BigQuerySource big_query_source = 3;

Returns
TypeDescription
boolean

Whether the bigQuerySource field is set.

hasGcsSource()

public boolean hasGcsSource()

Google Cloud Storage location for the input content.

.google.cloud.retail.v2.GcsSource gcs_source = 2;

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hasProductInlineSource()

public boolean hasProductInlineSource()

The Inline source for the input content for products.

.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;

Returns
TypeDescription
boolean

Whether the productInlineSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBigQuerySource(BigQuerySource value)

public ProductInputConfig.Builder mergeBigQuerySource(BigQuerySource value)

BigQuery input source.

.google.cloud.retail.v2.BigQuerySource big_query_source = 3;

Parameter
NameDescription
valueBigQuerySource
Returns

mergeFrom(ProductInputConfig other)

public ProductInputConfig.Builder mergeFrom(ProductInputConfig other)
Parameter
NameDescription
otherProductInputConfig
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProductInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProductInputConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeGcsSource(GcsSource value)

public ProductInputConfig.Builder mergeGcsSource(GcsSource value)

Google Cloud Storage location for the input content.

.google.cloud.retail.v2.GcsSource gcs_source = 2;

Parameter
NameDescription
valueGcsSource
Returns

mergeProductInlineSource(ProductInlineSource value)

public ProductInputConfig.Builder mergeProductInlineSource(ProductInlineSource value)

The Inline source for the input content for products.

.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;

Parameter
NameDescription
valueProductInlineSource
Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProductInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides

setBigQuerySource(BigQuerySource value)

public ProductInputConfig.Builder setBigQuerySource(BigQuerySource value)

BigQuery input source.

.google.cloud.retail.v2.BigQuerySource big_query_source = 3;

Parameter
NameDescription
valueBigQuerySource
Returns

setBigQuerySource(BigQuerySource.Builder builderForValue)

public ProductInputConfig.Builder setBigQuerySource(BigQuerySource.Builder builderForValue)

BigQuery input source.

.google.cloud.retail.v2.BigQuerySource big_query_source = 3;

Parameter
NameDescription
builderForValueBigQuerySource.Builder
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public ProductInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

setGcsSource(GcsSource value)

public ProductInputConfig.Builder setGcsSource(GcsSource value)

Google Cloud Storage location for the input content.

.google.cloud.retail.v2.GcsSource gcs_source = 2;

Parameter
NameDescription
valueGcsSource
Returns

setGcsSource(GcsSource.Builder builderForValue)

public ProductInputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)

Google Cloud Storage location for the input content.

.google.cloud.retail.v2.GcsSource gcs_source = 2;

Parameter
NameDescription
builderForValueGcsSource.Builder
Returns

setProductInlineSource(ProductInlineSource value)

public ProductInputConfig.Builder setProductInlineSource(ProductInlineSource value)

The Inline source for the input content for products.

.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;

Parameter
NameDescription
valueProductInlineSource
Returns

setProductInlineSource(ProductInlineSource.Builder builderForValue)

public ProductInputConfig.Builder setProductInlineSource(ProductInlineSource.Builder builderForValue)

The Inline source for the input content for products.

.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;

Parameter
NameDescription
builderForValueProductInlineSource.Builder
Returns

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ProductInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProductInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides