Interface RevisionRefOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RevisionRef,RevisionRef.Builder
public interface RevisionRefOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLatestProcessorVersion()Reads the revision generated by the processor version.com.google.protobuf.ByteStringgetLatestProcessorVersionBytes()Reads the revision generated by the processor version.RevisionRef.RevisionCasegetRevisionCase()Reads the revision by the predefined case.intgetRevisionCaseValue()Reads the revision by the predefined case.StringgetRevisionId()Reads the revision given by the id.com.google.protobuf.ByteStringgetRevisionIdBytes()Reads the revision given by the id.RevisionRef.SourceCasegetSourceCase()booleanhasLatestProcessorVersion()Reads the revision generated by the processor version.booleanhasRevisionCase()Reads the revision by the predefined case.booleanhasRevisionId()Reads the revision given by the id.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRevisionCase
boolean hasRevisionCase()
Reads the revision by the predefined case.
.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;- Returns:
- Whether the revisionCase field is set.
-
getRevisionCaseValue
int getRevisionCaseValue()
Reads the revision by the predefined case.
.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;- Returns:
- The enum numeric value on the wire for revisionCase.
-
getRevisionCase
RevisionRef.RevisionCase getRevisionCase()
Reads the revision by the predefined case.
.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;- Returns:
- The revisionCase.
-
hasRevisionId
boolean hasRevisionId()
Reads the revision given by the id.
string revision_id = 2;- Returns:
- Whether the revisionId field is set.
-
getRevisionId
String getRevisionId()
Reads the revision given by the id.
string revision_id = 2;- Returns:
- The revisionId.
-
getRevisionIdBytes
com.google.protobuf.ByteString getRevisionIdBytes()
Reads the revision given by the id.
string revision_id = 2;- Returns:
- The bytes for revisionId.
-
hasLatestProcessorVersion
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:
- Whether the latestProcessorVersion field is set.
-
getLatestProcessorVersion
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:
- The latestProcessorVersion.
-
getLatestProcessorVersionBytes
com.google.protobuf.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:
- The bytes for latestProcessorVersion.
-
getSourceCase
RevisionRef.SourceCase getSourceCase()
-
-