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 Type
    Method
    Description
    int
    Used to correct mistakes in the version numbering scheme.
    Required.
    int
    Required.
    Required only when version kind is NORMAL.
    com.google.protobuf.ByteString
    Required only when version kind is NORMAL.
    The iteration of the package build from the above version.
    com.google.protobuf.ByteString
    The iteration of the package build from the above version.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       Required. Distinguishes between sentinel MIN/MAX versions and normal
       versions.
       
      .grafeas.v1beta1.package.Version.VersionKind kind = 4;
      Returns:
      The kind.