Class CompletionDataInputConfig.Builder (2.47.0)

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.v2.CompletionDataInputConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompletionDataInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides

build()

public CompletionDataInputConfig build()
Returns
Type Description
CompletionDataInputConfig

buildPartial()

public CompletionDataInputConfig buildPartial()
Returns
Type Description
CompletionDataInputConfig

clear()

public CompletionDataInputConfig.Builder clear()
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides

clearBigQuerySource()

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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CompletionDataInputConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public CompletionDataInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CompletionDataInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides

clearSource()

public CompletionDataInputConfig.Builder clearSource()
Returns
Type Description
CompletionDataInputConfig.Builder

clone()

public CompletionDataInputConfig.Builder clone()
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides

getBigQuerySource()

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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQuerySource

The bigQuerySource.

getBigQuerySourceBuilder()

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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQuerySource.Builder

getBigQuerySourceOrBuilder()

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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public CompletionDataInputConfig getDefaultInstanceForType()
Returns
Type Description
CompletionDataInputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSourceCase()

public CompletionDataInputConfig.SourceCase getSourceCase()
Returns
Type Description
CompletionDataInputConfig.SourceCase

hasBigQuerySource()

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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the bigQuerySource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigQuerySource(BigQuerySource value)

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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BigQuerySource
Returns
Type Description
CompletionDataInputConfig.Builder

mergeFrom(CompletionDataInputConfig other)

public CompletionDataInputConfig.Builder mergeFrom(CompletionDataInputConfig other)
Parameter
Name Description
other CompletionDataInputConfig
Returns
Type Description
CompletionDataInputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompletionDataInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CompletionDataInputConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompletionDataInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides

setBigQuerySource(BigQuerySource value)

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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BigQuerySource
Returns
Type Description
CompletionDataInputConfig.Builder

setBigQuerySource(BigQuerySource.Builder builderForValue)

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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BigQuerySource.Builder
Returns
Type Description
CompletionDataInputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CompletionDataInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CompletionDataInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CompletionDataInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides