Class PluginProtos.Version

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<PluginProtos.Version,PluginProtos.Version.Builder>
com.google.protobuf.compiler.PluginProtos.Version
All Implemented Interfaces:
PluginProtos.VersionOrBuilder, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder
Enclosing class:
PluginProtos

public static final class PluginProtos.Version extends com.google.protobuf.GeneratedMessageLite<PluginProtos.Version,PluginProtos.Version.Builder> implements PluginProtos.VersionOrBuilder
 The version number of protocol compiler.
 
Protobuf type google.protobuf.compiler.Version
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    The version number of protocol compiler.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    int
    optional int32 major = 1 [json_name = "major"];
    int
    optional int32 minor = 2 [json_name = "minor"];
    int
    optional int32 patch = 3 [json_name = "patch"];
    A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".
    com.google.protobuf.ByteString
    A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".
    boolean
    optional int32 major = 1 [json_name = "major"];
    boolean
    optional int32 minor = 2 [json_name = "minor"];
    boolean
    optional int32 patch = 3 [json_name = "patch"];
    boolean
    A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2".
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<PluginProtos.Version>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

  • Method Details

    • hasMajor

      public boolean hasMajor()
      optional int32 major = 1 [json_name = "major"];
      Specified by:
      hasMajor in interface PluginProtos.VersionOrBuilder
      Returns:
      Whether the major field is set.
    • getMajor

      public int getMajor()
      optional int32 major = 1 [json_name = "major"];
      Specified by:
      getMajor in interface PluginProtos.VersionOrBuilder
      Returns:
      The major.
    • hasMinor

      public boolean hasMinor()
      optional int32 minor = 2 [json_name = "minor"];
      Specified by:
      hasMinor in interface PluginProtos.VersionOrBuilder
      Returns:
      Whether the minor field is set.
    • getMinor

      public int getMinor()
      optional int32 minor = 2 [json_name = "minor"];
      Specified by:
      getMinor in interface PluginProtos.VersionOrBuilder
      Returns:
      The minor.
    • hasPatch

      public boolean hasPatch()
      optional int32 patch = 3 [json_name = "patch"];
      Specified by:
      hasPatch in interface PluginProtos.VersionOrBuilder
      Returns:
      Whether the patch field is set.
    • getPatch

      public int getPatch()
      optional int32 patch = 3 [json_name = "patch"];
      Specified by:
      getPatch in interface PluginProtos.VersionOrBuilder
      Returns:
      The patch.
    • hasSuffix

      public 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 [json_name = "suffix"];
      Specified by:
      hasSuffix in interface PluginProtos.VersionOrBuilder
      Returns:
      Whether the suffix field is set.
    • getSuffix

      public 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 [json_name = "suffix"];
      Specified by:
      getSuffix in interface PluginProtos.VersionOrBuilder
      Returns:
      The suffix.
    • getSuffixBytes

      public com.google.protobuf.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 [json_name = "suffix"];
      Specified by:
      getSuffixBytes in interface PluginProtos.VersionOrBuilder
      Returns:
      The bytes for suffix.
    • parseFrom

      public static PluginProtos.Version parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PluginProtos.Version parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PluginProtos.Version parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PluginProtos.Version parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PluginProtos.Version parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PluginProtos.Version parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PluginProtos.Version parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PluginProtos.Version parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PluginProtos.Version parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PluginProtos.Version parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PluginProtos.Version parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PluginProtos.Version parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static PluginProtos.Version.Builder newBuilder()
    • newBuilder

      public static PluginProtos.Version.Builder newBuilder(PluginProtos.Version prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<PluginProtos.Version,PluginProtos.Version.Builder>
    • getDefaultInstance

      public static PluginProtos.Version getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PluginProtos.Version> parser()