Package com.google.cloud.dialogflow.v2
Interface SearchKnowledgeAnswer.AnswerSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchKnowledgeAnswer.AnswerSource,SearchKnowledgeAnswer.AnswerSource.Builder
- Enclosing class:
- SearchKnowledgeAnswer
public static interface SearchKnowledgeAnswer.AnswerSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructMetadata associated with the article.com.google.protobuf.StructOrBuilderMetadata associated with the article.The relevant snippet of the article.com.google.protobuf.ByteStringThe relevant snippet of the article.getTitle()The title of the article.com.google.protobuf.ByteStringThe title of the article.getUri()The URI of the article.com.google.protobuf.ByteStringThe URI of the article.booleanMetadata associated with the article.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTitle
String getTitle()The title of the article.
string title = 1;- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()The title of the article.
string title = 1;- Returns:
- The bytes for title.
-
getUri
String getUri()The URI of the article.
string uri = 2;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()The URI of the article.
string uri = 2;- Returns:
- The bytes for uri.
-
getSnippet
String getSnippet()The relevant snippet of the article.
string snippet = 3;- Returns:
- The snippet.
-
getSnippetBytes
com.google.protobuf.ByteString getSnippetBytes()The relevant snippet of the article.
string snippet = 3;- Returns:
- The bytes for snippet.
-
hasMetadata
boolean hasMetadata()Metadata associated with the article.
.google.protobuf.Struct metadata = 5;- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()Metadata associated with the article.
.google.protobuf.Struct metadata = 5;- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Metadata associated with the article.
.google.protobuf.Struct metadata = 5;
-