Class DataStoreConnection (0.41.0)

public final class DataStoreConnection extends GeneratedMessageV3 implements DataStoreConnectionOrBuilder

A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.

Protobuf type google.cloud.dialogflow.cx.v3.DataStoreConnection

Static Fields

DATA_STORE_FIELD_NUMBER

public static final int DATA_STORE_FIELD_NUMBER
Field Value
Type Description
int

DATA_STORE_TYPE_FIELD_NUMBER

public static final int DATA_STORE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataStoreConnection getDefaultInstance()
Returns
Type Description
DataStoreConnection

getDescriptor()

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

newBuilder()

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

newBuilder(DataStoreConnection prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataStore()

public String getDataStore()

The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store} projects/{project}/locations/{location}/dataStores/{data_store}

string data_store = 2;

Returns
Type Description
String

The dataStore.

getDataStoreBytes()

public ByteString getDataStoreBytes()

The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store} projects/{project}/locations/{location}/dataStores/{data_store}

string data_store = 2;

Returns
Type Description
ByteString

The bytes for dataStore.

getDataStoreType()

public DataStoreType getDataStoreType()

The type of the connected data store.

.google.cloud.dialogflow.cx.v3.DataStoreType data_store_type = 1;

Returns
Type Description
DataStoreType

The dataStoreType.

getDataStoreTypeValue()

public int getDataStoreTypeValue()

The type of the connected data store.

.google.cloud.dialogflow.cx.v3.DataStoreType data_store_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for dataStoreType.

getDefaultInstanceForType()

public DataStoreConnection getDefaultInstanceForType()
Returns
Type Description
DataStoreConnection

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 DataStoreConnection.Builder newBuilderForType()
Returns
Type Description
DataStoreConnection.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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