public static final class CompletionDataInputConfig.Builder extends GeneratedMessageV3.Builder<CompletionDataInputConfig.Builder> implements CompletionDataInputConfigOrBuilder
The input config source for completion data.
Protobuf type google.cloud.retail.v2beta.CompletionDataInputConfig
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CompletionDataInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CompletionDataInputConfig build()
Returns
public CompletionDataInputConfig buildPartial()
Returns
public CompletionDataInputConfig.Builder clear()
Returns
Overrides
public CompletionDataInputConfig.Builder clearBigQuerySource()
Required. BigQuery input source.
Add the IAM permission "BigQuery Data Viewer" for
cloud-retail-customer-data-access@system.gserviceaccount.com before
using this feature otherwise an error is thrown.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public CompletionDataInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CompletionDataInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CompletionDataInputConfig.Builder clearSource()
Returns
public CompletionDataInputConfig.Builder clone()
Returns
Overrides
public BigQuerySource getBigQuerySource()
Required. BigQuery input source.
Add the IAM permission "BigQuery Data Viewer" for
cloud-retail-customer-data-access@system.gserviceaccount.com before
using this feature otherwise an error is thrown.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public BigQuerySource.Builder getBigQuerySourceBuilder()
Required. BigQuery input source.
Add the IAM permission "BigQuery Data Viewer" for
cloud-retail-customer-data-access@system.gserviceaccount.com before
using this feature otherwise an error is thrown.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()
Required. BigQuery input source.
Add the IAM permission "BigQuery Data Viewer" for
cloud-retail-customer-data-access@system.gserviceaccount.com before
using this feature otherwise an error is thrown.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public CompletionDataInputConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public CompletionDataInputConfig.SourceCase getSourceCase()
Returns
public boolean hasBigQuerySource()
Required. BigQuery input source.
Add the IAM permission "BigQuery Data Viewer" for
cloud-retail-customer-data-access@system.gserviceaccount.com before
using this feature otherwise an error is thrown.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the bigQuerySource field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CompletionDataInputConfig.Builder mergeBigQuerySource(BigQuerySource value)
Required. BigQuery input source.
Add the IAM permission "BigQuery Data Viewer" for
cloud-retail-customer-data-access@system.gserviceaccount.com before
using this feature otherwise an error is thrown.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CompletionDataInputConfig.Builder mergeFrom(CompletionDataInputConfig other)
Parameter
Returns
public CompletionDataInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CompletionDataInputConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CompletionDataInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CompletionDataInputConfig.Builder setBigQuerySource(BigQuerySource value)
Required. BigQuery input source.
Add the IAM permission "BigQuery Data Viewer" for
cloud-retail-customer-data-access@system.gserviceaccount.com before
using this feature otherwise an error is thrown.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CompletionDataInputConfig.Builder setBigQuerySource(BigQuerySource.Builder builderForValue)
Required. BigQuery input source.
Add the IAM permission "BigQuery Data Viewer" for
cloud-retail-customer-data-access@system.gserviceaccount.com before
using this feature otherwise an error is thrown.
.google.cloud.retail.v2beta.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CompletionDataInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CompletionDataInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CompletionDataInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides