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
Inherited Members
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ProductInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ProductInputConfig build()
Returns
public ProductInputConfig buildPartial()
Returns
public ProductInputConfig.Builder clear()
Returns
Overrides
public ProductInputConfig.Builder clearBigQuerySource()
BigQuery input source.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 3;
Returns
public ProductInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ProductInputConfig.Builder clearGcsSource()
Google Cloud Storage location for the input content.
.google.cloud.retail.v2beta.GcsSource gcs_source = 2;
Returns
public ProductInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ProductInputConfig.Builder clearProductInlineSource()
The Inline source for the input content for products.
.google.cloud.retail.v2beta.ProductInlineSource product_inline_source = 1;
Returns
public ProductInputConfig.Builder clearSource()
Returns
public ProductInputConfig.Builder clone()
Returns
Overrides
public BigQuerySource getBigQuerySource()
BigQuery input source.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 3;
Returns
public BigQuerySource.Builder getBigQuerySourceBuilder()
BigQuery input source.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 3;
Returns
public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()
BigQuery input source.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 3;
Returns
public ProductInputConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public GcsSource getGcsSource()
Google Cloud Storage location for the input content.
.google.cloud.retail.v2beta.GcsSource gcs_source = 2;
Returns
public GcsSource.Builder getGcsSourceBuilder()
Google Cloud Storage location for the input content.
.google.cloud.retail.v2beta.GcsSource gcs_source = 2;
Returns
public GcsSourceOrBuilder getGcsSourceOrBuilder()
Google Cloud Storage location for the input content.
.google.cloud.retail.v2beta.GcsSource gcs_source = 2;
Returns
public ProductInlineSource getProductInlineSource()
The Inline source for the input content for products.
.google.cloud.retail.v2beta.ProductInlineSource product_inline_source = 1;
Returns
public ProductInlineSource.Builder getProductInlineSourceBuilder()
The Inline source for the input content for products.
.google.cloud.retail.v2beta.ProductInlineSource product_inline_source = 1;
Returns
public ProductInlineSourceOrBuilder getProductInlineSourceOrBuilder()
The Inline source for the input content for products.
.google.cloud.retail.v2beta.ProductInlineSource product_inline_source = 1;
Returns
public ProductInputConfig.SourceCase getSourceCase()
Returns
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ProductInputConfig.Builder mergeBigQuerySource(BigQuerySource value)
BigQuery input source.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 3;
Parameter
Returns
public ProductInputConfig.Builder mergeFrom(ProductInputConfig other)
Parameter
Returns
public ProductInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ProductInputConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ProductInputConfig.Builder mergeGcsSource(GcsSource value)
Google Cloud Storage location for the input content.
.google.cloud.retail.v2beta.GcsSource gcs_source = 2;
Parameter
Returns
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
Returns
public final ProductInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ProductInputConfig.Builder setBigQuerySource(BigQuerySource value)
BigQuery input source.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 3;
Parameter
Returns
public ProductInputConfig.Builder setBigQuerySource(BigQuerySource.Builder builderForValue)
BigQuery input source.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 3;
Parameter
Returns
public ProductInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ProductInputConfig.Builder setGcsSource(GcsSource value)
Google Cloud Storage location for the input content.
.google.cloud.retail.v2beta.GcsSource gcs_source = 2;
Parameter
Returns
public ProductInputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
Google Cloud Storage location for the input content.
.google.cloud.retail.v2beta.GcsSource gcs_source = 2;
Parameter
Returns
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
Returns
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
Returns
public ProductInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ProductInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides