Class VersionInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.telemetry.VersionInfo
All Implemented Interfaces:
VersionInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class VersionInfo extends com.google.protobuf.GeneratedMessageV3 implements VersionInfoOrBuilder
 ## Versioning Info

 Specifies generic versioning information for a given tool, OS, or other fragment of information. Versioning info is
 structured in generic form; based on context, a tool or OS may use a subset of the available versioning properties,
 so long as such usage is consistent across event delivery.
 
Protobuf type buildless.telemetry.VersionInfo
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    ## Versioning Info Specifies generic versioning information for a given tool, OS, or other fragment of information.

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

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    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
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    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.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    int
    Major version number.
    int
    Micro version number.
    int
    Minor version number.
    com.google.protobuf.Parser<VersionInfo>
     
    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.
    int
     
    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.
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    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<VersionInfo>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    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.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getMajor

      public 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];
      Specified by:
      getMajor in interface VersionInfoOrBuilder
      Returns:
      The major.
    • getMinor

      public 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];
      Specified by:
      getMinor in interface VersionInfoOrBuilder
      Returns:
      The minor.
    • getMicro

      public 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];
      Specified by:
      getMicro in interface VersionInfoOrBuilder
      Returns:
      The micro.
    • getBuild

      public 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];
      Specified by:
      getBuild in interface VersionInfoOrBuilder
      Returns:
      The build.
    • getBuildBytes

      public 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];
      Specified by:
      getBuildBytes in interface VersionInfoOrBuilder
      Returns:
      The bytes for build.
    • getRc

      public 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];
      Specified by:
      getRc in interface VersionInfoOrBuilder
      Returns:
      The rc.
    • getRcBytes

      public 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];
      Specified by:
      getRcBytes in interface VersionInfoOrBuilder
      Returns:
      The bytes for rc.
    • getCommit

      public 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];
      Specified by:
      getCommit in interface VersionInfoOrBuilder
      Returns:
      The commit.
    • getCommitBytes

      public 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];
      Specified by:
      getCommitBytes in interface VersionInfoOrBuilder
      Returns:
      The bytes for commit.
    • getTag

      public 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];
      Specified by:
      getTag in interface VersionInfoOrBuilder
      Returns:
      The tag.
    • getTagBytes

      public 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];
      Specified by:
      getTagBytes in interface VersionInfoOrBuilder
      Returns:
      The bytes for tag.
    • getSpec

      public 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];
      Specified by:
      getSpec in interface VersionInfoOrBuilder
      Returns:
      The spec.
    • getSpecBytes

      public 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];
      Specified by:
      getSpecBytes in interface VersionInfoOrBuilder
      Returns:
      The bytes for spec.
    • getRelease

      public 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];
      Specified by:
      getRelease in interface VersionInfoOrBuilder
      Returns:
      The release.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

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

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

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

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

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

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

      public static VersionInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static VersionInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

      public static VersionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public VersionInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static VersionInfo.Builder newBuilder()
    • newBuilder

      public static VersionInfo.Builder newBuilder(VersionInfo prototype)
    • toBuilder

      public VersionInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected VersionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static VersionInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VersionInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<VersionInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public VersionInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder