public static final class DataStoreConnectionSignals.CitedSnippet extends GeneratedMessageV3 implements DataStoreConnectionSignals.CitedSnippetOrBuilder
Snippet cited by the answer generation model.
Protobuf type
google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.CitedSnippet
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
SEARCH_SNIPPET_FIELD_NUMBER
public static final int SEARCH_SNIPPET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SNIPPET_INDEX_FIELD_NUMBER
public static final int SNIPPET_INDEX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DataStoreConnectionSignals.CitedSnippet getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataStoreConnectionSignals.CitedSnippet.Builder newBuilder()
newBuilder(DataStoreConnectionSignals.CitedSnippet prototype)
public static DataStoreConnectionSignals.CitedSnippet.Builder newBuilder(DataStoreConnectionSignals.CitedSnippet prototype)
public static DataStoreConnectionSignals.CitedSnippet parseDelimitedFrom(InputStream input)
public static DataStoreConnectionSignals.CitedSnippet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataStoreConnectionSignals.CitedSnippet parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataStoreConnectionSignals.CitedSnippet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataStoreConnectionSignals.CitedSnippet parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataStoreConnectionSignals.CitedSnippet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataStoreConnectionSignals.CitedSnippet parseFrom(CodedInputStream input)
public static DataStoreConnectionSignals.CitedSnippet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataStoreConnectionSignals.CitedSnippet parseFrom(InputStream input)
public static DataStoreConnectionSignals.CitedSnippet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataStoreConnectionSignals.CitedSnippet parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataStoreConnectionSignals.CitedSnippet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataStoreConnectionSignals.CitedSnippet> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DataStoreConnectionSignals.CitedSnippet getDefaultInstanceForType()
getParserForType()
public Parser<DataStoreConnectionSignals.CitedSnippet> getParserForType()
Overrides
getSearchSnippet()
public DataStoreConnectionSignals.SearchSnippet getSearchSnippet()
Details of the snippet.
.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
getSearchSnippetOrBuilder()
public DataStoreConnectionSignals.SearchSnippetOrBuilder getSearchSnippetOrBuilder()
Details of the snippet.
.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSnippetIndex()
public int getSnippetIndex()
Index of the snippet in search_snippets
field.
int32 snippet_index = 2;
Returns |
Type |
Description |
int |
The snippetIndex.
|
hasSearchSnippet()
public boolean hasSearchSnippet()
Details of the snippet.
.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
Returns |
Type |
Description |
boolean |
Whether the searchSnippet field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataStoreConnectionSignals.CitedSnippet.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataStoreConnectionSignals.CitedSnippet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DataStoreConnectionSignals.CitedSnippet.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides