Interface Answer.Reference.StructuredDocumentInfoOrBuilder (0.58.0)

public static interface Answer.Reference.StructuredDocumentInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument()

public abstract String getDocument()

Document resource name.

string document = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The document.

getDocumentBytes()

public abstract ByteString getDocumentBytes()

Document resource name.

string document = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for document.

getStructData()

public abstract Struct getStructData()

Structured search data.

.google.protobuf.Struct struct_data = 2;

Returns
Type Description
Struct

The structData.

getStructDataOrBuilder()

public abstract StructOrBuilder getStructDataOrBuilder()

Structured search data.

.google.protobuf.Struct struct_data = 2;

Returns
Type Description
StructOrBuilder

getTitle()

public abstract String getTitle()

Output only. The title of the document.

string title = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Output only. The title of the document.

string title = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for title.

getUri()

public abstract String getUri()

Output only. The URI of the document.

string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Output only. The URI of the document.

string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uri.

hasStructData()

public abstract boolean hasStructData()

Structured search data.

.google.protobuf.Struct struct_data = 2;

Returns
Type Description
boolean

Whether the structData field is set.