Interface RevisionRefOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RevisionRef, RevisionRef.Builder

@Generated public interface RevisionRefOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Reads the revision generated by the processor version.
    com.google.protobuf.ByteString
    Reads the revision generated by the processor version.
    Reads the revision by the predefined case.
    int
    Reads the revision by the predefined case.
    Reads the revision given by the id.
    com.google.protobuf.ByteString
    Reads the revision given by the id.
     
    boolean
    Reads the revision generated by the processor version.
    boolean
    Reads the revision by the predefined case.
    boolean
    Reads the revision given by the id.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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()