Interface RevisionRefOrBuilder (2.39.0)

public interface RevisionRefOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLatestProcessorVersion()

public abstract String getLatestProcessorVersion()

Reads the revision generated by the processor version. The format takes the full resource name of processor version. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string latest_processor_version = 3;

Returns
TypeDescription
String

The latestProcessorVersion.

getLatestProcessorVersionBytes()

public abstract ByteString getLatestProcessorVersionBytes()

Reads the revision generated by the processor version. The format takes the full resource name of processor version. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string latest_processor_version = 3;

Returns
TypeDescription
ByteString

The bytes for latestProcessorVersion.

getRevisionCase()

public abstract RevisionRef.RevisionCase getRevisionCase()

Reads the revision by the predefined case.

.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;

Returns
TypeDescription
RevisionRef.RevisionCase

The revisionCase.

getRevisionCaseValue()

public abstract int getRevisionCaseValue()

Reads the revision by the predefined case.

.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for revisionCase.

getRevisionId()

public abstract String getRevisionId()

Reads the revision given by the id.

string revision_id = 2;

Returns
TypeDescription
String

The revisionId.

getRevisionIdBytes()

public abstract ByteString getRevisionIdBytes()

Reads the revision given by the id.

string revision_id = 2;

Returns
TypeDescription
ByteString

The bytes for revisionId.

getSourceCase()

public abstract RevisionRef.SourceCase getSourceCase()
Returns
TypeDescription
RevisionRef.SourceCase

hasLatestProcessorVersion()

public abstract boolean hasLatestProcessorVersion()

Reads the revision generated by the processor version. The format takes the full resource name of processor version. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

string latest_processor_version = 3;

Returns
TypeDescription
boolean

Whether the latestProcessorVersion field is set.

hasRevisionCase()

public abstract boolean hasRevisionCase()

Reads the revision by the predefined case.

.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;

Returns
TypeDescription
boolean

Whether the revisionCase field is set.

hasRevisionId()

public abstract boolean hasRevisionId()

Reads the revision given by the id.

string revision_id = 2;

Returns
TypeDescription
boolean

Whether the revisionId field is set.