Class Registry.Image.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Registry.Image.Builder>
com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder>
namespace.cloud.registry.v1beta.Registry.Image.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Registry.ImageOrBuilder
Enclosing class:
Registry.Image

public static final class Registry.Image.Builder extends com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder> implements Registry.ImageOrBuilder
Protobuf type namespace.cloud.registry.v1beta.Image
  • 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.Builder<Registry.Image.Builder>
    • clear

      public Registry.Image.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder>
    • getDefaultInstanceForType

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

      public Registry.Image build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Registry.Image buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Registry.Image.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Registry.Image.Builder>
    • mergeFrom

      public Registry.Image.Builder mergeFrom(Registry.Image other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Registry.Image.Builder>
    • mergeFrom

      public Registry.Image.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Registry.Image.Builder>
      Throws:
      IOException
    • getRepository

      public String getRepository()
       The repository containing the image.
       
      string repository = 1;
      Specified by:
      getRepository in interface Registry.ImageOrBuilder
      Returns:
      The repository.
    • getRepositoryBytes

      public com.google.protobuf.ByteString getRepositoryBytes()
       The repository containing the image.
       
      string repository = 1;
      Specified by:
      getRepositoryBytes in interface Registry.ImageOrBuilder
      Returns:
      The bytes for repository.
    • setRepository

      public Registry.Image.Builder setRepository(String value)
       The repository containing the image.
       
      string repository = 1;
      Parameters:
      value - The repository to set.
      Returns:
      This builder for chaining.
    • clearRepository

      public Registry.Image.Builder clearRepository()
       The repository containing the image.
       
      string repository = 1;
      Returns:
      This builder for chaining.
    • setRepositoryBytes

      public Registry.Image.Builder setRepositoryBytes(com.google.protobuf.ByteString value)
       The repository containing the image.
       
      string repository = 1;
      Parameters:
      value - The bytes for repository to set.
      Returns:
      This builder for chaining.
    • getDigest

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

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

      public Registry.Image.Builder setDigest(String value)
       The digest of the image.
       
      string digest = 2;
      Parameters:
      value - The digest to set.
      Returns:
      This builder for chaining.
    • clearDigest

      public Registry.Image.Builder clearDigest()
       The digest of the image.
       
      string digest = 2;
      Returns:
      This builder for chaining.
    • setDigestBytes

      public Registry.Image.Builder setDigestBytes(com.google.protobuf.ByteString value)
       The digest of the image.
       
      string digest = 2;
      Parameters:
      value - The bytes for digest to set.
      Returns:
      This builder for chaining.
    • hasCreatedAt

      public boolean hasCreatedAt()
       When the image was created.
       
      .google.protobuf.Timestamp created_at = 3;
      Specified by:
      hasCreatedAt in interface Registry.ImageOrBuilder
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      public com.google.protobuf.Timestamp getCreatedAt()
       When the image was created.
       
      .google.protobuf.Timestamp created_at = 3;
      Specified by:
      getCreatedAt in interface Registry.ImageOrBuilder
      Returns:
      The createdAt.
    • setCreatedAt

      public Registry.Image.Builder setCreatedAt(com.google.protobuf.Timestamp value)
       When the image was created.
       
      .google.protobuf.Timestamp created_at = 3;
    • setCreatedAt

      public Registry.Image.Builder setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
       When the image was created.
       
      .google.protobuf.Timestamp created_at = 3;
    • mergeCreatedAt

      public Registry.Image.Builder mergeCreatedAt(com.google.protobuf.Timestamp value)
       When the image was created.
       
      .google.protobuf.Timestamp created_at = 3;
    • clearCreatedAt

      public Registry.Image.Builder clearCreatedAt()
       When the image was created.
       
      .google.protobuf.Timestamp created_at = 3;
    • getCreatedAtBuilder

      public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()
       When the image was created.
       
      .google.protobuf.Timestamp created_at = 3;
    • getCreatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
       When the image was created.
       
      .google.protobuf.Timestamp created_at = 3;
      Specified by:
      getCreatedAtOrBuilder in interface Registry.ImageOrBuilder
    • hasExpiresAt

      public boolean hasExpiresAt()
       When the image expires. Not set if the image does not expire.
       
      .google.protobuf.Timestamp expires_at = 4;
      Specified by:
      hasExpiresAt in interface Registry.ImageOrBuilder
      Returns:
      Whether the expiresAt field is set.
    • getExpiresAt

      public com.google.protobuf.Timestamp getExpiresAt()
       When the image expires. Not set if the image does not expire.
       
      .google.protobuf.Timestamp expires_at = 4;
      Specified by:
      getExpiresAt in interface Registry.ImageOrBuilder
      Returns:
      The expiresAt.
    • setExpiresAt

      public Registry.Image.Builder setExpiresAt(com.google.protobuf.Timestamp value)
       When the image expires. Not set if the image does not expire.
       
      .google.protobuf.Timestamp expires_at = 4;
    • setExpiresAt

      public Registry.Image.Builder setExpiresAt(com.google.protobuf.Timestamp.Builder builderForValue)
       When the image expires. Not set if the image does not expire.
       
      .google.protobuf.Timestamp expires_at = 4;
    • mergeExpiresAt

      public Registry.Image.Builder mergeExpiresAt(com.google.protobuf.Timestamp value)
       When the image expires. Not set if the image does not expire.
       
      .google.protobuf.Timestamp expires_at = 4;
    • clearExpiresAt

      public Registry.Image.Builder clearExpiresAt()
       When the image expires. Not set if the image does not expire.
       
      .google.protobuf.Timestamp expires_at = 4;
    • getExpiresAtBuilder

      public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder()
       When the image expires. Not set if the image does not expire.
       
      .google.protobuf.Timestamp expires_at = 4;
    • getExpiresAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder()
       When the image expires. Not set if the image does not expire.
       
      .google.protobuf.Timestamp expires_at = 4;
      Specified by:
      getExpiresAtOrBuilder in interface Registry.ImageOrBuilder
    • hasSizes

      public boolean hasSizes()
       Size information for the image.
       
      .namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;
      Specified by:
      hasSizes in interface Registry.ImageOrBuilder
      Returns:
      Whether the sizes field is set.
    • getSizes

      public Registry.Image.Sizes getSizes()
       Size information for the image.
       
      .namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;
      Specified by:
      getSizes in interface Registry.ImageOrBuilder
      Returns:
      The sizes.
    • setSizes

       Size information for the image.
       
      .namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;
    • setSizes

      public Registry.Image.Builder setSizes(Registry.Image.Sizes.Builder builderForValue)
       Size information for the image.
       
      .namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;
    • mergeSizes

      public Registry.Image.Builder mergeSizes(Registry.Image.Sizes value)
       Size information for the image.
       
      .namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;
    • clearSizes

      public Registry.Image.Builder clearSizes()
       Size information for the image.
       
      .namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;
    • getSizesBuilder

      public Registry.Image.Sizes.Builder getSizesBuilder()
       Size information for the image.
       
      .namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;
    • getSizesOrBuilder

      public Registry.Image.SizesOrBuilder getSizesOrBuilder()
       Size information for the image.
       
      .namespace.cloud.registry.v1beta.Image.Sizes sizes = 5;
      Specified by:
      getSizesOrBuilder in interface Registry.ImageOrBuilder
    • hasDeletedAt

      public boolean hasDeletedAt()
       If the image has been deleted, when it was deleted.
       
      .google.protobuf.Timestamp deleted_at = 6;
      Specified by:
      hasDeletedAt in interface Registry.ImageOrBuilder
      Returns:
      Whether the deletedAt field is set.
    • getDeletedAt

      public com.google.protobuf.Timestamp getDeletedAt()
       If the image has been deleted, when it was deleted.
       
      .google.protobuf.Timestamp deleted_at = 6;
      Specified by:
      getDeletedAt in interface Registry.ImageOrBuilder
      Returns:
      The deletedAt.
    • setDeletedAt

      public Registry.Image.Builder setDeletedAt(com.google.protobuf.Timestamp value)
       If the image has been deleted, when it was deleted.
       
      .google.protobuf.Timestamp deleted_at = 6;
    • setDeletedAt

      public Registry.Image.Builder setDeletedAt(com.google.protobuf.Timestamp.Builder builderForValue)
       If the image has been deleted, when it was deleted.
       
      .google.protobuf.Timestamp deleted_at = 6;
    • mergeDeletedAt

      public Registry.Image.Builder mergeDeletedAt(com.google.protobuf.Timestamp value)
       If the image has been deleted, when it was deleted.
       
      .google.protobuf.Timestamp deleted_at = 6;
    • clearDeletedAt

      public Registry.Image.Builder clearDeletedAt()
       If the image has been deleted, when it was deleted.
       
      .google.protobuf.Timestamp deleted_at = 6;
    • getDeletedAtBuilder

      public com.google.protobuf.Timestamp.Builder getDeletedAtBuilder()
       If the image has been deleted, when it was deleted.
       
      .google.protobuf.Timestamp deleted_at = 6;
    • getDeletedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDeletedAtOrBuilder()
       If the image has been deleted, when it was deleted.
       
      .google.protobuf.Timestamp deleted_at = 6;
      Specified by:
      getDeletedAtOrBuilder in interface Registry.ImageOrBuilder
    • getLabelsList

      public List<Labels.Label> getLabelsList()
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
      Specified by:
      getLabelsList in interface Registry.ImageOrBuilder
    • getLabelsCount

      public int getLabelsCount()
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
      Specified by:
      getLabelsCount in interface Registry.ImageOrBuilder
    • getLabels

      public Labels.Label getLabels(int index)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
      Specified by:
      getLabels in interface Registry.ImageOrBuilder
    • setLabels

      public Registry.Image.Builder setLabels(int index, Labels.Label value)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • setLabels

      public Registry.Image.Builder setLabels(int index, Labels.Label.Builder builderForValue)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • addLabels

      public Registry.Image.Builder addLabels(Labels.Label value)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • addLabels

      public Registry.Image.Builder addLabels(int index, Labels.Label value)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • addLabels

      public Registry.Image.Builder addLabels(Labels.Label.Builder builderForValue)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • addLabels

      public Registry.Image.Builder addLabels(int index, Labels.Label.Builder builderForValue)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • addAllLabels

      public Registry.Image.Builder addAllLabels(Iterable<? extends Labels.Label> values)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • clearLabels

      public Registry.Image.Builder clearLabels()
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • removeLabels

      public Registry.Image.Builder removeLabels(int index)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • getLabelsBuilder

      public Labels.Label.Builder getLabelsBuilder(int index)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • getLabelsOrBuilder

      public Labels.LabelOrBuilder getLabelsOrBuilder(int index)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
      Specified by:
      getLabelsOrBuilder in interface Registry.ImageOrBuilder
    • getLabelsOrBuilderList

      public List<? extends Labels.LabelOrBuilder> getLabelsOrBuilderList()
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
      Specified by:
      getLabelsOrBuilderList in interface Registry.ImageOrBuilder
    • addLabelsBuilder

      public Labels.Label.Builder addLabelsBuilder()
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • addLabelsBuilder

      public Labels.Label.Builder addLabelsBuilder(int index)
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • getLabelsBuilderList

      public List<Labels.Label.Builder> getLabelsBuilderList()
       Labels attached to this image.
       
      repeated .namespace.stdlib.Label labels = 7;
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
       Tags that reference this image.
       
      repeated string tags = 8;
      Specified by:
      getTagsList in interface Registry.ImageOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
       Tags that reference this image.
       
      repeated string tags = 8;
      Specified by:
      getTagsCount in interface Registry.ImageOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
       Tags that reference this image.
       
      repeated string tags = 8;
      Specified by:
      getTags in interface Registry.ImageOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
       Tags that reference this image.
       
      repeated string tags = 8;
      Specified by:
      getTagsBytes in interface Registry.ImageOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public Registry.Image.Builder setTags(int index, String value)
       Tags that reference this image.
       
      repeated string tags = 8;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      public Registry.Image.Builder addTags(String value)
       Tags that reference this image.
       
      repeated string tags = 8;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      public Registry.Image.Builder addAllTags(Iterable<String> values)
       Tags that reference this image.
       
      repeated string tags = 8;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      public Registry.Image.Builder clearTags()
       Tags that reference this image.
       
      repeated string tags = 8;
      Returns:
      This builder for chaining.
    • addTagsBytes

      public Registry.Image.Builder addTagsBytes(com.google.protobuf.ByteString value)
       Tags that reference this image.
       
      repeated string tags = 8;
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.