Interface RevisionRefOrBuilder (2.48.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
String

The revisionId.

getRevisionIdBytes()

public abstract ByteString getRevisionIdBytes()

Reads the revision given by the id.

string revision_id = 2;

Returns
Type Description
ByteString

The bytes for revisionId.

getSourceCase()

public abstract RevisionRef.SourceCase getSourceCase()
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the revisionCase field is set.

hasRevisionId()

public abstract boolean hasRevisionId()

Reads the revision given by the id.

string revision_id = 2;

Returns
Type Description
boolean

Whether the revisionId field is set.