public static final class KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource extends GeneratedMessageV3 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.<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
SNIPPETS_FIELD_NUMBER
public static final int SNIPPETS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder newBuilder()
newBuilder(KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource prototype)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder newBuilder(KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource prototype)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseDelimitedFrom(InputStream input)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseFrom(CodedInputStream input)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseFrom(InputStream input)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource getDefaultInstanceForType()
getParserForType()
public Parser<KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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
|
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> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides