Class CompletionDataInputConfig.Builder (2.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompletionDataInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CompletionDataInputConfig.Builder
Overrides

build()

public CompletionDataInputConfig build()
Returns
TypeDescription
CompletionDataInputConfig

buildPartial()

public CompletionDataInputConfig buildPartial()
Returns
TypeDescription
CompletionDataInputConfig

clear()

public CompletionDataInputConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
CompletionDataInputConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public CompletionDataInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CompletionDataInputConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CompletionDataInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CompletionDataInputConfig.Builder
Overrides

clearSource()

public CompletionDataInputConfig.Builder clearSource()
Returns
TypeDescription
CompletionDataInputConfig.Builder

clone()

public CompletionDataInputConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public CompletionDataInputConfig getDefaultInstanceForType()
Returns
TypeDescription
CompletionDataInputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSourceCase()

public CompletionDataInputConfig.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the bigQuerySource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBigQuerySource
Returns
TypeDescription
CompletionDataInputConfig.Builder

mergeFrom(CompletionDataInputConfig other)

public CompletionDataInputConfig.Builder mergeFrom(CompletionDataInputConfig other)
Parameter
NameDescription
otherCompletionDataInputConfig
Returns
TypeDescription
CompletionDataInputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompletionDataInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompletionDataInputConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CompletionDataInputConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CompletionDataInputConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompletionDataInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBigQuerySource
Returns
TypeDescription
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
NameDescription
builderForValueBigQuerySource.Builder
Returns
TypeDescription
CompletionDataInputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CompletionDataInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CompletionDataInputConfig.Builder
Overrides

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

public CompletionDataInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CompletionDataInputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CompletionDataInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompletionDataInputConfig.Builder
Overrides