Class Registry.ShareImageRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
namespace.cloud.registry.v1beta.Registry.ShareImageRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Registry.ShareImageRequestOrBuilder
Enclosing class:
Registry

public static final class Registry.ShareImageRequest extends com.google.protobuf.GeneratedMessage implements Registry.ShareImageRequestOrBuilder
Protobuf type namespace.cloud.registry.v1beta.ShareImageRequest
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getRepository

      public String getRepository()
       The repository that contains the image to be shared.
       
      string repository = 1;
      Specified by:
      getRepository in interface Registry.ShareImageRequestOrBuilder
      Returns:
      The repository.
    • getRepositoryBytes

      public com.google.protobuf.ByteString getRepositoryBytes()
       The repository that contains the image to be shared.
       
      string repository = 1;
      Specified by:
      getRepositoryBytes in interface Registry.ShareImageRequestOrBuilder
      Returns:
      The bytes for repository.
    • getDigest

      public String getDigest()
       The digest of the image to be shared.
       
      string digest = 2;
      Specified by:
      getDigest in interface Registry.ShareImageRequestOrBuilder
      Returns:
      The digest.
    • getDigestBytes

      public com.google.protobuf.ByteString getDigestBytes()
       The digest of the image to be shared.
       
      string digest = 2;
      Specified by:
      getDigestBytes in interface Registry.ShareImageRequestOrBuilder
      Returns:
      The bytes for digest.
    • hasExpiresAt

      public boolean hasExpiresAt()
       When the shared image should expire. Not setting this results in indefinitely shared images.
       
      .google.protobuf.Timestamp expires_at = 3;
      Specified by:
      hasExpiresAt in interface Registry.ShareImageRequestOrBuilder
      Returns:
      Whether the expiresAt field is set.
    • getExpiresAt

      public com.google.protobuf.Timestamp getExpiresAt()
       When the shared image should expire. Not setting this results in indefinitely shared images.
       
      .google.protobuf.Timestamp expires_at = 3;
      Specified by:
      getExpiresAt in interface Registry.ShareImageRequestOrBuilder
      Returns:
      The expiresAt.
    • getExpiresAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder()
       When the shared image should expire. Not setting this results in indefinitely shared images.
       
      .google.protobuf.Timestamp expires_at = 3;
      Specified by:
      getExpiresAtOrBuilder in interface Registry.ShareImageRequestOrBuilder
    • getVisibilityValue

      public int getVisibilityValue()
       Defines who can access this shared image.
       
      .namespace.cloud.registry.v1beta.Visibility visibility = 4;
      Specified by:
      getVisibilityValue in interface Registry.ShareImageRequestOrBuilder
      Returns:
      The enum numeric value on the wire for visibility.
    • getVisibility

      public Registry.Visibility getVisibility()
       Defines who can access this shared image.
       
      .namespace.cloud.registry.v1beta.Visibility visibility = 4;
      Specified by:
      getVisibility in interface Registry.ShareImageRequestOrBuilder
      Returns:
      The visibility.
    • getSuffix

      public String getSuffix()
       The optional suffix does not have a practical purpose apart from making the image more operationally distinct.
       The resulting image reference will, for example, be: public.nscr.io/{meaningful_id}/{suffix}
       
      string suffix = 5;
      Specified by:
      getSuffix in interface Registry.ShareImageRequestOrBuilder
      Returns:
      The suffix.
    • getSuffixBytes

      public com.google.protobuf.ByteString getSuffixBytes()
       The optional suffix does not have a practical purpose apart from making the image more operationally distinct.
       The resulting image reference will, for example, be: public.nscr.io/{meaningful_id}/{suffix}
       
      string suffix = 5;
      Specified by:
      getSuffixBytes in interface Registry.ShareImageRequestOrBuilder
      Returns:
      The bytes for suffix.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Registry.ShareImageRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Registry.ShareImageRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Registry.ShareImageRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Registry.ShareImageRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Registry.ShareImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Registry.ShareImageRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Registry.ShareImageRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Registry.ShareImageRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Registry.ShareImageRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Registry.ShareImageRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Registry.ShareImageRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Registry.ShareImageRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Registry.ShareImageRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Registry.ShareImageRequest.Builder newBuilder()
    • newBuilder

      public static Registry.ShareImageRequest.Builder newBuilder(Registry.ShareImageRequest prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Registry.ShareImageRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Registry.ShareImageRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Registry.ShareImageRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<Registry.ShareImageRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Registry.ShareImageRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder