Interface TagOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Tag, Tag.Builder

@Generated public interface TagOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
    com.google.protobuf.ByteString
    The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
    The name of the version the tag refers to, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811" If the package or version ID parts contain slashes, the slashes are escaped.
    com.google.protobuf.ByteString
    The name of the version the tag refers to, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811" If the package or version ID parts contain slashes, the slashes are escaped.

    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

    • getName

      String getName()
       The name of the tag, for example:
       "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
       If the package part contains slashes, the slashes are escaped.
       The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else
       must be URL encoded.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the tag, for example:
       "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
       If the package part contains slashes, the slashes are escaped.
       The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else
       must be URL encoded.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getVersion

      String getVersion()
       The name of the version the tag refers to, for example:
       "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
       If the package or version ID parts contain slashes, the slashes are
       escaped.
       
      string version = 2;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       The name of the version the tag refers to, for example:
       "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
       If the package or version ID parts contain slashes, the slashes are
       escaped.
       
      string version = 2;
      Returns:
      The bytes for version.