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