public static final class DataStoreConnectionSignals.CitedSnippet.Builder extends GeneratedMessageV3.Builder<DataStoreConnectionSignals.CitedSnippet.Builder> implements DataStoreConnectionSignals.CitedSnippetOrBuilder
Snippet cited by the answer generation model.
Protobuf type google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippet
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataStoreConnectionSignals.CitedSnippet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataStoreConnectionSignals.CitedSnippet build()
buildPartial()
public DataStoreConnectionSignals.CitedSnippet buildPartial()
clear()
public DataStoreConnectionSignals.CitedSnippet.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataStoreConnectionSignals.CitedSnippet.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataStoreConnectionSignals.CitedSnippet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSearchSnippet()
public DataStoreConnectionSignals.CitedSnippet.Builder clearSearchSnippet()
Details of the snippet.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
clearSnippetIndex()
public DataStoreConnectionSignals.CitedSnippet.Builder clearSnippetIndex()
Index of the snippet in search_snippets
field.
int32 snippet_index = 2;
clone()
public DataStoreConnectionSignals.CitedSnippet.Builder clone()
Overrides
getDefaultInstanceForType()
public DataStoreConnectionSignals.CitedSnippet getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSearchSnippet()
public DataStoreConnectionSignals.SearchSnippet getSearchSnippet()
Details of the snippet.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
getSearchSnippetBuilder()
public DataStoreConnectionSignals.SearchSnippet.Builder getSearchSnippetBuilder()
Details of the snippet.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
getSearchSnippetOrBuilder()
public DataStoreConnectionSignals.SearchSnippetOrBuilder getSearchSnippetOrBuilder()
Details of the snippet.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
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.v3.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
Returns |
Type |
Description |
boolean |
Whether the searchSnippet field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataStoreConnectionSignals.CitedSnippet other)
public DataStoreConnectionSignals.CitedSnippet.Builder mergeFrom(DataStoreConnectionSignals.CitedSnippet other)
public DataStoreConnectionSignals.CitedSnippet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataStoreConnectionSignals.CitedSnippet.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSearchSnippet(DataStoreConnectionSignals.SearchSnippet value)
public DataStoreConnectionSignals.CitedSnippet.Builder mergeSearchSnippet(DataStoreConnectionSignals.SearchSnippet value)
Details of the snippet.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataStoreConnectionSignals.CitedSnippet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataStoreConnectionSignals.CitedSnippet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataStoreConnectionSignals.CitedSnippet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSearchSnippet(DataStoreConnectionSignals.SearchSnippet value)
public DataStoreConnectionSignals.CitedSnippet.Builder setSearchSnippet(DataStoreConnectionSignals.SearchSnippet value)
Details of the snippet.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
setSearchSnippet(DataStoreConnectionSignals.SearchSnippet.Builder builderForValue)
public DataStoreConnectionSignals.CitedSnippet.Builder setSearchSnippet(DataStoreConnectionSignals.SearchSnippet.Builder builderForValue)
Details of the snippet.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;
setSnippetIndex(int value)
public DataStoreConnectionSignals.CitedSnippet.Builder setSnippetIndex(int value)
Index of the snippet in search_snippets
field.
int32 snippet_index = 2;
Parameter |
Name |
Description |
value |
int
The snippetIndex to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DataStoreConnectionSignals.CitedSnippet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides