Package com.buildless

Interface Version.SemanticVersionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Version.SemanticVersion, Version.SemanticVersion.Builder
Enclosing class:
Version

public static interface Version.SemanticVersionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The major version, e.g 10 for the value 10.2.3.
    int
    The minor version, e.g.
    int
    The patch version, e.g 3 for the value 10.2.3.

    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()
       The major version, e.g 10 for the value 10.2.3.
       
      uint32 major = 1 [json_name = "major", (.google.api.field_behavior) = REQUIRED];
      Returns:
      The major.
    • getMinor

      int getMinor()
       The minor version, e.g. 2 for the value 10.2.3.
       
      uint32 minor = 2 [json_name = "minor"];
      Returns:
      The minor.
    • getPatch

      int getPatch()
       The patch version, e.g 3 for the value 10.2.3.
       
      uint32 patch = 3 [json_name = "patch"];
      Returns:
      The patch.