Class Registry.Tag.Builder

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

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

      public Registry.Tag.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.Tag.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.Tag.Builder>
    • getDefaultInstanceForType

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

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

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

      public Registry.Tag.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.Tag.Builder>
    • mergeFrom

      public Registry.Tag.Builder mergeFrom(Registry.Tag 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.Tag.Builder>
    • mergeFrom

      public Registry.Tag.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.Tag.Builder>
      Throws:
      IOException
    • getTag

      public String getTag()
       The tag name.
       
      string tag = 1;
      Specified by:
      getTag in interface Registry.TagOrBuilder
      Returns:
      The tag.
    • getTagBytes

      public com.google.protobuf.ByteString getTagBytes()
       The tag name.
       
      string tag = 1;
      Specified by:
      getTagBytes in interface Registry.TagOrBuilder
      Returns:
      The bytes for tag.
    • setTag

      public Registry.Tag.Builder setTag(String value)
       The tag name.
       
      string tag = 1;
      Parameters:
      value - The tag to set.
      Returns:
      This builder for chaining.
    • clearTag

      public Registry.Tag.Builder clearTag()
       The tag name.
       
      string tag = 1;
      Returns:
      This builder for chaining.
    • setTagBytes

      public Registry.Tag.Builder setTagBytes(com.google.protobuf.ByteString value)
       The tag name.
       
      string tag = 1;
      Parameters:
      value - The bytes for tag to set.
      Returns:
      This builder for chaining.
    • hasImage

      public boolean hasImage()
       The image this tag points to.
       
      .namespace.cloud.registry.v1beta.Image image = 2;
      Specified by:
      hasImage in interface Registry.TagOrBuilder
      Returns:
      Whether the image field is set.
    • getImage

      public Registry.Image getImage()
       The image this tag points to.
       
      .namespace.cloud.registry.v1beta.Image image = 2;
      Specified by:
      getImage in interface Registry.TagOrBuilder
      Returns:
      The image.
    • setImage

      public Registry.Tag.Builder setImage(Registry.Image value)
       The image this tag points to.
       
      .namespace.cloud.registry.v1beta.Image image = 2;
    • setImage

      public Registry.Tag.Builder setImage(Registry.Image.Builder builderForValue)
       The image this tag points to.
       
      .namespace.cloud.registry.v1beta.Image image = 2;
    • mergeImage

      public Registry.Tag.Builder mergeImage(Registry.Image value)
       The image this tag points to.
       
      .namespace.cloud.registry.v1beta.Image image = 2;
    • clearImage

      public Registry.Tag.Builder clearImage()
       The image this tag points to.
       
      .namespace.cloud.registry.v1beta.Image image = 2;
    • getImageBuilder

      public Registry.Image.Builder getImageBuilder()
       The image this tag points to.
       
      .namespace.cloud.registry.v1beta.Image image = 2;
    • getImageOrBuilder

      public Registry.ImageOrBuilder getImageOrBuilder()
       The image this tag points to.
       
      .namespace.cloud.registry.v1beta.Image image = 2;
      Specified by:
      getImageOrBuilder in interface Registry.TagOrBuilder
    • hasCreatedAt

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

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

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

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

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

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

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

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