Package io.grafeas.v1beta1.pkg
Interface VersionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version,Version.Builder
public interface VersionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetEpoch()Used to correct mistakes in the version numbering scheme.Version.VersionKindgetKind()Required.intgetKindValue()Required.StringgetName()Required only when version kind is NORMAL.com.google.protobuf.ByteStringgetNameBytes()Required only when version kind is NORMAL.StringgetRevision()The iteration of the package build from the above version.com.google.protobuf.ByteStringgetRevisionBytes()The iteration of the package build from the above version.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-