public static final class KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder extends GeneratedMessageV3.Builder<KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder> implements KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSourceOrBuilder
Details about source of Generative answer.
Protobuf type
google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource
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
addAllSnippets(Iterable<? extends KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet> values)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder addAllSnippets(Iterable<? extends KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet> values)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSnippets(KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet value)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder addSnippets(KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet value)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
addSnippets(KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder builderForValue)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder addSnippets(KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder builderForValue)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
addSnippets(int index, KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet value)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder addSnippets(int index, KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet value)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
addSnippets(int index, KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder builderForValue)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder addSnippets(int index, KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder builderForValue)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
addSnippetsBuilder()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder addSnippetsBuilder()
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
addSnippetsBuilder(int index)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder addSnippetsBuilder(int index)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource build()
buildPartial()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource buildPartial()
clear()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSnippets()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder clearSnippets()
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
clone()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder clone()
Overrides
getDefaultInstanceForType()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSnippets(int index)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet getSnippets(int index)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
Parameter |
Name |
Description |
index |
int
|
getSnippetsBuilder(int index)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder getSnippetsBuilder(int index)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
Parameter |
Name |
Description |
index |
int
|
getSnippetsBuilderList()
public List<KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder> getSnippetsBuilderList()
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
getSnippetsCount()
public int getSnippetsCount()
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
Returns |
Type |
Description |
int |
|
getSnippetsList()
public List<KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet> getSnippetsList()
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
getSnippetsOrBuilder(int index)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder getSnippetsOrBuilder(int index)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
Parameter |
Name |
Description |
index |
int
|
getSnippetsOrBuilderList()
public List<? extends KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder> getSnippetsOrBuilderList()
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource other)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder mergeFrom(KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource other)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSnippets(int index)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder removeSnippets(int index)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSnippets(int index, KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet value)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder setSnippets(int index, KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet value)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
setSnippets(int index, KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder builderForValue)
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder setSnippets(int index, KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder builderForValue)
All snippets used for this Generative Prediction, with their source URI
and data.
repeated .google.cloud.dialogflow.v2.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet snippets = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides