Interface Answer.Reference.StructuredDocumentInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Answer.Reference.StructuredDocumentInfo,Answer.Reference.StructuredDocumentInfo.Builder
- Enclosing class:
- Answer.Reference
public static interface Answer.Reference.StructuredDocumentInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDocument resource name.com.google.protobuf.ByteStringDocument resource name.com.google.protobuf.StructStructured search data.com.google.protobuf.StructOrBuilderStructured search data.getTitle()Output only.com.google.protobuf.ByteStringOutput only.getUri()Output only.com.google.protobuf.ByteStringOutput only.booleanStructured search data.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
-
getDocument
String getDocument()Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The document.
-
getDocumentBytes
com.google.protobuf.ByteString getDocumentBytes()Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for document.
-
hasStructData
boolean hasStructData()Structured search data.
.google.protobuf.Struct struct_data = 2;- Returns:
- Whether the structData field is set.
-
getStructData
com.google.protobuf.Struct getStructData()Structured search data.
.google.protobuf.Struct struct_data = 2;- Returns:
- The structData.
-
getStructDataOrBuilder
com.google.protobuf.StructOrBuilder getStructDataOrBuilder()Structured search data.
.google.protobuf.Struct struct_data = 2; -
getTitle
String getTitle()Output only. The title of the document.
string title = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Output only. The title of the document.
string title = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for title.
-
getUri
String getUri()Output only. The URI of the document.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()Output only. The URI of the document.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for uri.
-