Class CompletionDataInputConfig (2.55.0)

public final class CompletionDataInputConfig extends GeneratedMessageV3 implements CompletionDataInputConfigOrBuilder

The input config source for completion data.

Protobuf type google.cloud.retail.v2beta.CompletionDataInputConfig

Static Fields

BIG_QUERY_SOURCE_FIELD_NUMBER

public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CompletionDataInputConfig getDefaultInstance()
Returns
Type Description
CompletionDataInputConfig

getDescriptor()

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

newBuilder()

public static CompletionDataInputConfig.Builder newBuilder()
Returns
Type Description
CompletionDataInputConfig.Builder

newBuilder(CompletionDataInputConfig prototype)

public static CompletionDataInputConfig.Builder newBuilder(CompletionDataInputConfig prototype)
Parameter
Name Description
prototype CompletionDataInputConfig
Returns
Type Description
CompletionDataInputConfig.Builder

parseDelimitedFrom(InputStream input)

public static CompletionDataInputConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompletionDataInputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CompletionDataInputConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompletionDataInputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompletionDataInputConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompletionDataInputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompletionDataInputConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompletionDataInputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CompletionDataInputConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompletionDataInputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CompletionDataInputConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompletionDataInputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompletionDataInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CompletionDataInputConfig> parser()
Returns
Type Description
Parser<CompletionDataInputConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.v2beta.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQuerySource

The bigQuerySource.

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

Returns
Type Description
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public CompletionDataInputConfig getDefaultInstanceForType()
Returns
Type Description
CompletionDataInputConfig

getParserForType()

public Parser<CompletionDataInputConfig> getParserForType()
Returns
Type Description
Parser<CompletionDataInputConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.v2beta.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the bigQuerySource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompletionDataInputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompletionDataInputConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException