Package io.grafeas.v1beta1.pkg
Interface VersionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version,Version.Builder
@Generated
public interface VersionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetEpoch()Used to correct mistakes in the version numbering scheme.getKind()Required.intRequired.getName()Required only when version kind is NORMAL.com.google.protobuf.ByteStringRequired only when version kind is NORMAL.The iteration of the package build from the above version.com.google.protobuf.ByteStringThe iteration of the package build from the above version.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEpoch
int getEpoch()Used to correct mistakes in the version numbering scheme.
int32 epoch = 1;- Returns:
- The epoch.
-
getName
String getName()Required only when version kind is NORMAL. The main part of the version name.
string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required only when version kind is NORMAL. The main part of the version name.
string name = 2;- Returns:
- The bytes for name.
-
getRevision
String getRevision()The iteration of the package build from the above version.
string revision = 3;- Returns:
- The revision.
-
getRevisionBytes
com.google.protobuf.ByteString getRevisionBytes()The iteration of the package build from the above version.
string revision = 3;- Returns:
- The bytes for revision.
-
getKindValue
int getKindValue()Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
.grafeas.v1beta1.package.Version.VersionKind kind = 4;- Returns:
- The enum numeric value on the wire for kind.
-
getKind
Version.VersionKind getKind()Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
.grafeas.v1beta1.package.Version.VersionKind kind = 4;- Returns:
- The kind.
-