public interface VersionOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getEpoch()
Used to correct mistakes in the version numbering scheme.
|
String |
getFullName()
Human readable version string.
|
ByteString |
getFullNameBytes()
Human readable version string.
|
Version.VersionKind |
getKind()
Required.
|
int |
getKindValue()
Required.
|
String |
getName()
Required only when version kind is NORMAL.
|
ByteString |
getNameBytes()
Required only when version kind is NORMAL.
|
String |
getRevision()
The iteration of the package build from the above version.
|
ByteString |
getRevisionBytes()
The iteration of the package build from the above version.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getEpoch()
Used to correct mistakes in the version numbering scheme.
int32 epoch = 1;
String getName()
Required only when version kind is NORMAL. The main part of the version name.
string name = 2;
ByteString getNameBytes()
Required only when version kind is NORMAL. The main part of the version name.
string name = 2;
String getRevision()
The iteration of the package build from the above version.
string revision = 3;
ByteString getRevisionBytes()
The iteration of the package build from the above version.
string revision = 3;
int getKindValue()
Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
.grafeas.v1.Version.VersionKind kind = 4;
Version.VersionKind getKind()
Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
.grafeas.v1.Version.VersionKind kind = 4;
String getFullName()
Human readable version string. This string is of the form <epoch>:<name>-<revision> and is only set when kind is NORMAL.
string full_name = 5;
ByteString getFullNameBytes()
Human readable version string. This string is of the form <epoch>:<name>-<revision> and is only set when kind is NORMAL.
string full_name = 5;
Copyright © 2019 Google LLC. All rights reserved.