Package com.buildless.telemetry
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 ClassesModifier and TypeClassDescriptionstatic 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBuild()If there is a build number or tag value, it should be supplied here.com.google.protobuf.ByteStringIf 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.ByteStringIf there is a known commit to which a version relates, it should be supplied here.static VersionInfostatic final com.google.protobuf.Descriptors.DescriptorintgetMajor()Major version number.intgetMicro()Micro version number.intgetMinor()Minor version number.com.google.protobuf.Parser<VersionInfo>getRc()If there is a release candidate number or string, it should be supplied here.com.google.protobuf.ByteStringIf there is a release candidate number or string, it should be supplied here.longIf there is a release number associated with this version info, it should be expressed here.intgetSpec()If there is a formatted representation of this version info, it should be expressed here.com.google.protobuf.ByteStringIf there is a formatted representation of this version info, it should be expressed here.getTag()If there is a known source control tag to which a version relates, it should be supplied here.com.google.protobuf.ByteStringIf there is a known source control tag to which a version relates, it should be supplied here.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic VersionInfo.Builderstatic VersionInfo.BuildernewBuilder(VersionInfo prototype) protected VersionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static VersionInfoparseDelimitedFrom(InputStream input) static VersionInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VersionInfoparseFrom(byte[] data) static VersionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VersionInfoparseFrom(com.google.protobuf.ByteString data) static VersionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VersionInfoparseFrom(com.google.protobuf.CodedInputStream input) static VersionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VersionInfoparseFrom(InputStream input) static VersionInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VersionInfoparseFrom(ByteBuffer data) static VersionInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VersionInfo>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MAJOR_FIELD_NUMBER
public static final int MAJOR_FIELD_NUMBER- See Also:
-
MINOR_FIELD_NUMBER
public static final int MINOR_FIELD_NUMBER- See Also:
-
MICRO_FIELD_NUMBER
public static final int MICRO_FIELD_NUMBER- See Also:
-
BUILD_FIELD_NUMBER
public static final int BUILD_FIELD_NUMBER- See Also:
-
RC_FIELD_NUMBER
public static final int RC_FIELD_NUMBER- See Also:
-
COMMIT_FIELD_NUMBER
public static final int COMMIT_FIELD_NUMBER- See Also:
-
TAG_FIELD_NUMBER
public static final int TAG_FIELD_NUMBER- See Also:
-
SPEC_FIELD_NUMBER
public static final int SPEC_FIELD_NUMBER- See Also:
-
RELEASE_FIELD_NUMBER
public static final int RELEASE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.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:
getMajorin interfaceVersionInfoOrBuilder- 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:
getMinorin interfaceVersionInfoOrBuilder- 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:
getMicroin interfaceVersionInfoOrBuilder- Returns:
- The micro.
-
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:
getBuildin interfaceVersionInfoOrBuilder- 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:
getBuildBytesin interfaceVersionInfoOrBuilder- Returns:
- The bytes for build.
-
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:
getRcin interfaceVersionInfoOrBuilder- 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:
getRcBytesin interfaceVersionInfoOrBuilder- Returns:
- The bytes for rc.
-
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:
getCommitin interfaceVersionInfoOrBuilder- 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:
getCommitBytesin interfaceVersionInfoOrBuilder- Returns:
- The bytes for commit.
-
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:
getTagin interfaceVersionInfoOrBuilder- 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:
getTagBytesin interfaceVersionInfoOrBuilder- Returns:
- The bytes for tag.
-
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:
getSpecin interfaceVersionInfoOrBuilder- 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:
getSpecBytesin interfaceVersionInfoOrBuilder- 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:
getReleasein interfaceVersionInfoOrBuilder- Returns:
- The release.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static VersionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static VersionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VersionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VersionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-