PluginProtos.VersionOrBuilder
com.google.protobuf.compiler

Interface PluginProtos.VersionOrBuilder

    • Method Detail

      • hasMajor

        boolean hasMajor()
        optional int32 major = 1;
        Returns:
        Whether the major field is set.
      • getMajor

        int getMajor()
        optional int32 major = 1;
        Returns:
        The major.
      • hasMinor

        boolean hasMinor()
        optional int32 minor = 2;
        Returns:
        Whether the minor field is set.
      • getMinor

        int getMinor()
        optional int32 minor = 2;
        Returns:
        The minor.
      • hasPatch

        boolean hasPatch()
        optional int32 patch = 3;
        Returns:
        Whether the patch field is set.
      • getPatch

        int getPatch()
        optional int32 patch = 3;
        Returns:
        The patch.
      • hasSuffix

        boolean hasSuffix()
         A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should
         be empty for mainline stable releases.
         
        optional string suffix = 4;
        Returns:
        Whether the suffix field is set.
      • getSuffix

        java.lang.String getSuffix()
         A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should
         be empty for mainline stable releases.
         
        optional string suffix = 4;
        Returns:
        The suffix.
      • getSuffixBytes

        ByteString getSuffixBytes()
         A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should
         be empty for mainline stable releases.
         
        optional string suffix = 4;
        Returns:
        The bytes for suffix.