Class DataStoreConnectionSignals.AnswerPart (0.62.0)

public static final class DataStoreConnectionSignals.AnswerPart extends GeneratedMessageV3 implements DataStoreConnectionSignals.AnswerPartOrBuilder

Answer part with citation.

Protobuf type google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPart

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataStoreConnectionSignals.AnswerPart

Static Fields

SUPPORTING_INDICES_FIELD_NUMBER

public static final int SUPPORTING_INDICES_FIELD_NUMBER
Field Value
Type Description
int

TEXT_FIELD_NUMBER

public static final int TEXT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataStoreConnectionSignals.AnswerPart getDefaultInstance()
Returns
Type Description
DataStoreConnectionSignals.AnswerPart

getDescriptor()

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

newBuilder()

public static DataStoreConnectionSignals.AnswerPart.Builder newBuilder()
Returns
Type Description
DataStoreConnectionSignals.AnswerPart.Builder

newBuilder(DataStoreConnectionSignals.AnswerPart prototype)

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

parseDelimitedFrom(InputStream input)

public static DataStoreConnectionSignals.AnswerPart parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataStoreConnectionSignals.AnswerPart
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DataStoreConnectionSignals.AnswerPart parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataStoreConnectionSignals.AnswerPart
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DataStoreConnectionSignals.AnswerPart parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataStoreConnectionSignals.AnswerPart
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DataStoreConnectionSignals.AnswerPart parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataStoreConnectionSignals.AnswerPart
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DataStoreConnectionSignals.AnswerPart parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataStoreConnectionSignals.AnswerPart
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DataStoreConnectionSignals.AnswerPart> parser()
Returns
Type Description
Parser<AnswerPart>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DataStoreConnectionSignals.AnswerPart getDefaultInstanceForType()
Returns
Type Description
DataStoreConnectionSignals.AnswerPart

getParserForType()

public Parser<DataStoreConnectionSignals.AnswerPart> getParserForType()
Returns
Type Description
Parser<AnswerPart>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSupportingIndices(int index)

public int getSupportingIndices(int index)

Citations for this answer part. Indices of search_snippets.

repeated int32 supporting_indices = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The supportingIndices at the given index.

getSupportingIndicesCount()

public int getSupportingIndicesCount()

Citations for this answer part. Indices of search_snippets.

repeated int32 supporting_indices = 2;

Returns
Type Description
int

The count of supportingIndices.

getSupportingIndicesList()

public List<Integer> getSupportingIndicesList()

Citations for this answer part. Indices of search_snippets.

repeated int32 supporting_indices = 2;

Returns
Type Description
List<Integer>

A list containing the supportingIndices.

getText()

public String getText()

Substring of the answer.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

Substring of the answer.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DataStoreConnectionSignals.AnswerPart.Builder toBuilder()
Returns
Type Description
DataStoreConnectionSignals.AnswerPart.Builder

writeTo(CodedOutputStream output)

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