Class ProductInputConfig.Builder (2.50.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.v2beta.ProductInputConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProductInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProductInputConfig.Builder
Overrides

build()

public ProductInputConfig build()
Returns
Type Description
ProductInputConfig

buildPartial()

public ProductInputConfig buildPartial()
Returns
Type Description
ProductInputConfig

clear()

public ProductInputConfig.Builder clear()
Returns
Type Description
ProductInputConfig.Builder
Overrides

clearBigQuerySource()

public ProductInputConfig.Builder clearBigQuerySource()

BigQuery input source.

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

Returns
Type Description
ProductInputConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ProductInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProductInputConfig.Builder
Overrides

clearGcsSource()

public ProductInputConfig.Builder clearGcsSource()

Google Cloud Storage location for the input content.

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

Returns
Type Description
ProductInputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ProductInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProductInputConfig.Builder
Overrides

clearProductInlineSource()

public ProductInputConfig.Builder clearProductInlineSource()

The Inline source for the input content for products.

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

Returns
Type Description
ProductInputConfig.Builder

clearSource()

public ProductInputConfig.Builder clearSource()
Returns
Type Description
ProductInputConfig.Builder

clone()

public ProductInputConfig.Builder clone()
Returns
Type Description
ProductInputConfig.Builder
Overrides

getBigQuerySource()

public BigQuerySource getBigQuerySource()

BigQuery input source.

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

Returns
Type Description
BigQuerySource

The bigQuerySource.

getBigQuerySourceBuilder()

public BigQuerySource.Builder getBigQuerySourceBuilder()

BigQuery input source.

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

Returns
Type Description
BigQuerySource.Builder

getBigQuerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()

BigQuery input source.

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

Returns
Type Description
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public ProductInputConfig getDefaultInstanceForType()
Returns
Type Description
ProductInputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsSource()

public GcsSource getGcsSource()

Google Cloud Storage location for the input content.

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

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

Google Cloud Storage location for the input content.

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

Returns
Type Description
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location for the input content.

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

Returns
Type Description
GcsSourceOrBuilder

getProductInlineSource()

public ProductInlineSource getProductInlineSource()

The Inline source for the input content for products.

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

Returns
Type Description
ProductInlineSource

The productInlineSource.

getProductInlineSourceBuilder()

public ProductInlineSource.Builder getProductInlineSourceBuilder()

The Inline source for the input content for products.

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

Returns
Type Description
ProductInlineSource.Builder

getProductInlineSourceOrBuilder()

public ProductInlineSourceOrBuilder getProductInlineSourceOrBuilder()

The Inline source for the input content for products.

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

Returns
Type Description
ProductInlineSourceOrBuilder

getSourceCase()

public ProductInputConfig.SourceCase getSourceCase()
Returns
Type Description
ProductInputConfig.SourceCase

hasBigQuerySource()

public boolean hasBigQuerySource()

BigQuery input source.

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

Returns
Type Description
boolean

Whether the bigQuerySource field is set.

hasGcsSource()

public boolean hasGcsSource()

Google Cloud Storage location for the input content.

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

Returns
Type Description
boolean

Whether the gcsSource field is set.

hasProductInlineSource()

public boolean hasProductInlineSource()

The Inline source for the input content for products.

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

Returns
Type Description
boolean

Whether the productInlineSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigQuerySource(BigQuerySource value)

public ProductInputConfig.Builder mergeBigQuerySource(BigQuerySource value)

BigQuery input source.

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

Parameter
Name Description
value BigQuerySource
Returns
Type Description
ProductInputConfig.Builder

mergeFrom(ProductInputConfig other)

public ProductInputConfig.Builder mergeFrom(ProductInputConfig other)
Parameter
Name Description
other ProductInputConfig
Returns
Type Description
ProductInputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProductInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductInputConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProductInputConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProductInputConfig.Builder
Overrides

mergeGcsSource(GcsSource value)

public ProductInputConfig.Builder mergeGcsSource(GcsSource value)

Google Cloud Storage location for the input content.

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

Parameter
Name Description
value GcsSource
Returns
Type Description
ProductInputConfig.Builder

mergeProductInlineSource(ProductInlineSource value)

public ProductInputConfig.Builder mergeProductInlineSource(ProductInlineSource value)

The Inline source for the input content for products.

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

Parameter
Name Description
value ProductInlineSource
Returns
Type Description
ProductInputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProductInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProductInputConfig.Builder
Overrides

setBigQuerySource(BigQuerySource value)

public ProductInputConfig.Builder setBigQuerySource(BigQuerySource value)

BigQuery input source.

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

Parameter
Name Description
value BigQuerySource
Returns
Type Description
ProductInputConfig.Builder

setBigQuerySource(BigQuerySource.Builder builderForValue)

public ProductInputConfig.Builder setBigQuerySource(BigQuerySource.Builder builderForValue)

BigQuery input source.

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

Parameter
Name Description
builderForValue BigQuerySource.Builder
Returns
Type Description
ProductInputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ProductInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProductInputConfig.Builder
Overrides

setGcsSource(GcsSource value)

public ProductInputConfig.Builder setGcsSource(GcsSource value)

Google Cloud Storage location for the input content.

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

Parameter
Name Description
value GcsSource
Returns
Type Description
ProductInputConfig.Builder

setGcsSource(GcsSource.Builder builderForValue)

public ProductInputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)

Google Cloud Storage location for the input content.

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

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
ProductInputConfig.Builder

setProductInlineSource(ProductInlineSource value)

public ProductInputConfig.Builder setProductInlineSource(ProductInlineSource value)

The Inline source for the input content for products.

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

Parameter
Name Description
value ProductInlineSource
Returns
Type Description
ProductInputConfig.Builder

setProductInlineSource(ProductInlineSource.Builder builderForValue)

public ProductInputConfig.Builder setProductInlineSource(ProductInlineSource.Builder builderForValue)

The Inline source for the input content for products.

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

Parameter
Name Description
builderForValue ProductInlineSource.Builder
Returns
Type Description
ProductInputConfig.Builder

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

public ProductInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProductInputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProductInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProductInputConfig.Builder
Overrides