Send feedback
Class ProductInputConfig.Builder (2.2.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.3 keyboard_arrow_down
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
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.v2.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.v2.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.v2.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.v2.BigQuerySource big_query_source = 3;
Returns
public BigQuerySource . Builder getBigQuerySourceBuilder ()
BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
Returns
public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder ()
BigQuery input source.
.google.cloud.retail.v2.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.v2.GcsSource gcs_source = 2;
Returns
public GcsSource . Builder getGcsSourceBuilder ()
Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
Returns
public GcsSourceOrBuilder getGcsSourceOrBuilder ()
Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
Returns
public ProductInlineSource getProductInlineSource ()
The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
Returns
public ProductInlineSource . Builder getProductInlineSourceBuilder ()
The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
Returns
public ProductInlineSourceOrBuilder getProductInlineSourceOrBuilder ()
The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
Returns
public ProductInputConfig . SourceCase getSourceCase ()
Returns
public boolean hasBigQuerySource ()
BigQuery input source.
.google.cloud.retail.v2.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.v2.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.v2.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.v2.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.v2.GcsSource gcs_source = 2;
Parameter
Returns
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
Returns
public final ProductInputConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public ProductInputConfig . Builder setBigQuerySource ( BigQuerySource value )
BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
Parameter
Returns
public ProductInputConfig . Builder setBigQuerySource ( BigQuerySource . Builder builderForValue )
BigQuery input source.
.google.cloud.retail.v2.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.v2.GcsSource gcs_source = 2;
Parameter
Returns
public ProductInputConfig . Builder setGcsSource ( GcsSource . Builder builderForValue )
Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
Parameter
Returns
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
Returns
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
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]