public static final class KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet extends GeneratedMessageV3 implements KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder
Snippet Source for a Generative Prediction.
Protobuf type
google.cloud.dialogflow.v2beta1.KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet
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
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder newBuilder()
newBuilder(KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet prototype)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder newBuilder(KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet prototype)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseDelimitedFrom(InputStream input)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseFrom(CodedInputStream input)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseFrom(InputStream input)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet getDefaultInstanceForType()
getParserForType()
public Parser<KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getText()
Text taken from that URI.
string text = 3;
Returns |
Type |
Description |
String |
The text.
|
getTextBytes()
public ByteString getTextBytes()
Text taken from that URI.
string text = 3;
Returns |
Type |
Description |
ByteString |
The bytes for text.
|
getTitle()
Title of the document.
string title = 4;
Returns |
Type |
Description |
String |
The title.
|
getTitleBytes()
public ByteString getTitleBytes()
Title of the document.
string title = 4;
Returns |
Type |
Description |
ByteString |
The bytes for title.
|
getUri()
URI the data is sourced from.
string uri = 2;
Returns |
Type |
Description |
String |
The uri.
|
getUriBytes()
public ByteString getUriBytes()
URI the data is sourced from.
string uri = 2;
Returns |
Type |
Description |
ByteString |
The bytes for uri.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.Snippet.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.Snippet.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides