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
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 CompletionDataInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CompletionDataInputConfig build()
public CompletionDataInputConfig buildPartial()
public CompletionDataInputConfig.Builder clear()
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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
public CompletionDataInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CompletionDataInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CompletionDataInputConfig.Builder clearSource()
public CompletionDataInputConfig.Builder clone()
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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
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];
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];
public CompletionDataInputConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public CompletionDataInputConfig.SourceCase getSourceCase()
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
public CompletionDataInputConfig.Builder mergeFrom(CompletionDataInputConfig other)
public CompletionDataInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CompletionDataInputConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final CompletionDataInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v2.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];
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];
public CompletionDataInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CompletionDataInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CompletionDataInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides