public static final class DataStoreConnectionSignals.AnswerPart extends GeneratedMessageV3 implements DataStoreConnectionSignals.AnswerPartOrBuilder
Answer part with citation.
Protobuf type google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPart
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataStoreConnectionSignals.AnswerPart.Builder newBuilder()
newBuilder(DataStoreConnectionSignals.AnswerPart prototype)
public static DataStoreConnectionSignals.AnswerPart.Builder newBuilder(DataStoreConnectionSignals.AnswerPart prototype)
public static DataStoreConnectionSignals.AnswerPart parseDelimitedFrom(InputStream input)
public static DataStoreConnectionSignals.AnswerPart parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataStoreConnectionSignals.AnswerPart parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataStoreConnectionSignals.AnswerPart parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataStoreConnectionSignals.AnswerPart parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataStoreConnectionSignals.AnswerPart parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataStoreConnectionSignals.AnswerPart parseFrom(CodedInputStream input)
public static DataStoreConnectionSignals.AnswerPart parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataStoreConnectionSignals.AnswerPart parseFrom(InputStream input)
public static DataStoreConnectionSignals.AnswerPart parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataStoreConnectionSignals.AnswerPart parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataStoreConnectionSignals.AnswerPart parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataStoreConnectionSignals.AnswerPart> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DataStoreConnectionSignals.AnswerPart getDefaultInstanceForType()
getParserForType()
public Parser<DataStoreConnectionSignals.AnswerPart> getParserForType()
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataStoreConnectionSignals.AnswerPart.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataStoreConnectionSignals.AnswerPart.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DataStoreConnectionSignals.AnswerPart.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides