Interface ProcessedDocumentOrBuilder (0.54.0)

public interface ProcessedDocumentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument()

public abstract String getDocument()

Required. Full resource name of the referenced document, in the format projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*.

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

Returns
Type Description
String

The document.

getDocumentBytes()

public abstract ByteString getDocumentBytes()

Required. Full resource name of the referenced document, in the format projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*.

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

Returns
Type Description
ByteString

The bytes for document.

getJsonData()

public abstract String getJsonData()

The JSON string representation of the processed document.

string json_data = 2;

Returns
Type Description
String

The jsonData.

getJsonDataBytes()

public abstract ByteString getJsonDataBytes()

The JSON string representation of the processed document.

string json_data = 2;

Returns
Type Description
ByteString

The bytes for jsonData.

getProcessedDataFormatCase()

public abstract ProcessedDocument.ProcessedDataFormatCase getProcessedDataFormatCase()

hasJsonData()

public abstract boolean hasJsonData()

The JSON string representation of the processed document.

string json_data = 2;

Returns
Type Description
boolean

Whether the jsonData field is set.