Interface SemanticVersionOrBuilder

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

@Generated public interface SemanticVersionOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    * A build version.
    com.google.protobuf.ByteString
    * A build version.
    int
    * A major version.<br/> Hedera does not increment this value and retains a `0` value to indicate that API may change for any release.
    int
    * A minor version.<br/> Hedera increments this value with each release.<br/> There may be incompatible API changes in any Hedera Services release.
    int
    * A patch version.
    * A pre-release version.
    com.google.protobuf.ByteString
    * A pre-release version.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getMajor

      int getMajor()
       *
       A major version.<br/>
       Hedera does not increment this value and retains a `0` value to
       indicate that API may change for any release.
       <p>
       This value SHALL increment for an incompatible API change.<br/>
       
      int32 major = 1;
      Returns:
      The major.
    • getMinor

      int getMinor()
       *
       A minor version.<br/>
       Hedera increments this value with each release.<br/>
       There may be incompatible API changes in any Hedera Services release.
       <p>
       This value SHALL increment for backwards-compatible new
       functionality.
       
      int32 minor = 2;
      Returns:
      The minor.
    • getPatch

      int getPatch()
       *
       A patch version.
       <p>
       This value SHALL increment for backwards-compatible bug fixes.
       
      int32 patch = 3;
      Returns:
      The patch.
    • getPre

      String getPre()
       *
       A pre-release version.
       <p>
       This MAY be denoted by appending a hyphen and a series of dot separated
       identifiers per [Semver Specification](https://semver.org/#spec-item-9);
       given a string `0.14.0-alpha.1+21AF26D3`, this field would contain
       'alpha.1'
       
      string pre = 4;
      Returns:
      The pre.
    • getPreBytes

      com.google.protobuf.ByteString getPreBytes()
       *
       A pre-release version.
       <p>
       This MAY be denoted by appending a hyphen and a series of dot separated
       identifiers per [Semver Specification](https://semver.org/#spec-item-9);
       given a string `0.14.0-alpha.1+21AF26D3`, this field would contain
       'alpha.1'
       
      string pre = 4;
      Returns:
      The bytes for pre.
    • getBuild

      String getBuild()
       *
       A build version.
       <p>
       Build version MAY be denoted by appending a plus sign and a series of
       dot separated identifiers immediately following the patch or pre-release
       version per [Semver Specification](https://semver.org/#spec-item-10); so
       given a string `0.14.0-alpha.1+21AF26D3`, this field
       would contain '21AF26D3'
       
      string build = 5;
      Returns:
      The build.
    • getBuildBytes

      com.google.protobuf.ByteString getBuildBytes()
       *
       A build version.
       <p>
       Build version MAY be denoted by appending a plus sign and a series of
       dot separated identifiers immediately following the patch or pre-release
       version per [Semver Specification](https://semver.org/#spec-item-10); so
       given a string `0.14.0-alpha.1+21AF26D3`, this field
       would contain '21AF26D3'
       
      string build = 5;
      Returns:
      The bytes for build.