Class ProductInputConfig.Builder (2.9.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.v2alpha.ProductInputConfig

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
TypeDescription
ProductInputConfig.Builder
Overrides

build()

public ProductInputConfig build()
Returns
TypeDescription
ProductInputConfig

buildPartial()

public ProductInputConfig buildPartial()
Returns
TypeDescription
ProductInputConfig

clear()

public ProductInputConfig.Builder clear()
Returns
TypeDescription
ProductInputConfig.Builder
Overrides

clearBigQuerySource()

public ProductInputConfig.Builder clearBigQuerySource()

BigQuery input source.

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

Returns
TypeDescription
ProductInputConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSource()

public ProductInputConfig.Builder clearGcsSource()

Google Cloud Storage location for the input content.

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

Returns
TypeDescription
ProductInputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProductInlineSource()

public ProductInputConfig.Builder clearProductInlineSource()

The Inline source for the input content for products.

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

Returns
TypeDescription
ProductInputConfig.Builder

clearSource()

public ProductInputConfig.Builder clearSource()
Returns
TypeDescription
ProductInputConfig.Builder

clone()

public ProductInputConfig.Builder clone()
Returns
TypeDescription
ProductInputConfig.Builder
Overrides

getBigQuerySource()

public BigQuerySource getBigQuerySource()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySource

The bigQuerySource.

getBigQuerySourceBuilder()

public BigQuerySource.Builder getBigQuerySourceBuilder()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySource.Builder

getBigQuerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySourceOrBuilder

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.v2alpha.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.v2alpha.GcsSource gcs_source = 2;

Returns
TypeDescription
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSourceOrBuilder

getProductInlineSource()

public ProductInlineSource getProductInlineSource()

The Inline source for the input content for products.

.google.cloud.retail.v2alpha.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.v2alpha.ProductInlineSource product_inline_source = 1;

Returns
TypeDescription
ProductInlineSource.Builder

getProductInlineSourceOrBuilder()

public ProductInlineSourceOrBuilder getProductInlineSourceOrBuilder()

The Inline source for the input content for products.

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

Returns
TypeDescription
ProductInlineSourceOrBuilder

getSourceCase()

public ProductInputConfig.SourceCase getSourceCase()
Returns
TypeDescription
ProductInputConfig.SourceCase

hasBigQuerySource()

public boolean hasBigQuerySource()

BigQuery input source.

.google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.BigQuerySource big_query_source = 3;

Parameter
NameDescription
valueBigQuerySource
Returns
TypeDescription
ProductInputConfig.Builder

mergeFrom(ProductInputConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsSource(GcsSource value)

public ProductInputConfig.Builder mergeGcsSource(GcsSource value)

Google Cloud Storage location for the input content.

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

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
ProductInputConfig.Builder

mergeProductInlineSource(ProductInlineSource value)

public ProductInputConfig.Builder mergeProductInlineSource(ProductInlineSource value)

The Inline source for the input content for products.

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

Parameter
NameDescription
valueProductInlineSource
Returns
TypeDescription
ProductInputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigQuerySource(BigQuerySource value)

public ProductInputConfig.Builder setBigQuerySource(BigQuerySource value)

BigQuery input source.

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

Parameter
NameDescription
valueBigQuerySource
Returns
TypeDescription
ProductInputConfig.Builder

setBigQuerySource(BigQuerySource.Builder builderForValue)

public ProductInputConfig.Builder setBigQuerySource(BigQuerySource.Builder builderForValue)

BigQuery input source.

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

Parameter
NameDescription
builderForValueBigQuerySource.Builder
Returns
TypeDescription
ProductInputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSource(GcsSource value)

public ProductInputConfig.Builder setGcsSource(GcsSource value)

Google Cloud Storage location for the input content.

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

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
ProductInputConfig.Builder

setGcsSource(GcsSource.Builder builderForValue)

public ProductInputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)

Google Cloud Storage location for the input content.

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

Parameter
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
ProductInputConfig.Builder

setProductInlineSource(ProductInlineSource value)

public ProductInputConfig.Builder setProductInlineSource(ProductInlineSource value)

The Inline source for the input content for products.

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

Parameter
NameDescription
valueProductInlineSource
Returns
TypeDescription
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.v2alpha.ProductInlineSource product_inline_source = 1;

Parameter
NameDescription
builderForValueProductInlineSource.Builder
Returns
TypeDescription
ProductInputConfig.Builder

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
TypeDescription
ProductInputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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