Interface VersionInfoOrBuilder

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

public interface VersionInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    If there is a build number or tag value, it should be supplied here.
    com.google.protobuf.ByteString
    If there is a build number or tag value, it should be supplied here.
    If there is a known commit to which a version relates, it should be supplied here.
    com.google.protobuf.ByteString
    If there is a known commit to which a version relates, it should be supplied here.
    int
    Major version number.
    int
    Micro version number.
    int
    Minor version number.
    If there is a release candidate number or string, it should be supplied here.
    com.google.protobuf.ByteString
    If there is a release candidate number or string, it should be supplied here.
    long
    If there is a release number associated with this version info, it should be expressed here.
    If there is a formatted representation of this version info, it should be expressed here.
    com.google.protobuf.ByteString
    If there is a formatted representation of this version info, it should be expressed here.
    If there is a known source control tag to which a version relates, it should be supplied here.
    com.google.protobuf.ByteString
    If there is a known source control tag to which a version relates, it should be supplied here.

    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

    • getMajor

      int getMajor()
       Major version number. In the example `1.2.3`, this value would be `1`.
       
      uint32 major = 1 [json_name = "major", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The major.
    • getMinor

      int getMinor()
       Minor version number. In the example `1.2.3`, this value would be `2`.
       
      uint32 minor = 2 [json_name = "minor", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The minor.
    • getMicro

      int getMicro()
       Micro version number. In the example `1.2.3`, this value would be `3`.
       
      uint32 micro = 3 [json_name = "micro", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The micro.
    • getBuild

      String getBuild()
       If there is a build number or tag value, it should be supplied here.
       
      string build = 4 [json_name = "build", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The build.
    • getBuildBytes

      com.google.protobuf.ByteString getBuildBytes()
       If there is a build number or tag value, it should be supplied here.
       
      string build = 4 [json_name = "build", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for build.
    • getRc

      String getRc()
       If there is a release candidate number or string, it should be supplied here.
       
      string rc = 5 [json_name = "rc", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The rc.
    • getRcBytes

      com.google.protobuf.ByteString getRcBytes()
       If there is a release candidate number or string, it should be supplied here.
       
      string rc = 5 [json_name = "rc", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for rc.
    • getCommit

      String getCommit()
       If there is a known commit to which a version relates, it should be supplied here.
       
      string commit = 6 [json_name = "commit", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The commit.
    • getCommitBytes

      com.google.protobuf.ByteString getCommitBytes()
       If there is a known commit to which a version relates, it should be supplied here.
       
      string commit = 6 [json_name = "commit", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for commit.
    • getTag

      String getTag()
       If there is a known source control tag to which a version relates, it should be supplied here.
       
      string tag = 7 [json_name = "tag", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The tag.
    • getTagBytes

      com.google.protobuf.ByteString getTagBytes()
       If there is a known source control tag to which a version relates, it should be supplied here.
       
      string tag = 7 [json_name = "tag", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for tag.
    • getSpec

      String getSpec()
       If there is a formatted representation of this version info, it should be expressed here.
       
      string spec = 8 [json_name = "spec", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The spec.
    • getSpecBytes

      com.google.protobuf.ByteString getSpecBytes()
       If there is a formatted representation of this version info, it should be expressed here.
       
      string spec = 8 [json_name = "spec", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for spec.
    • getRelease

      long getRelease()
       If there is a release number associated with this version info, it should be expressed here. In some cases, the
       release number may be a timestamp.
       
      uint64 release = 9 [json_name = "release", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The release.