Class ReconcileTagsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReconcileTagsRequest.Builder>
com.google.cloud.datacatalog.v1.ReconcileTagsRequest.Builder
All Implemented Interfaces:
ReconcileTagsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReconcileTagsRequest

public static final class ReconcileTagsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReconcileTagsRequest.Builder> implements ReconcileTagsRequestOrBuilder
 Request message for
 [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].
 
Protobuf type google.cloud.datacatalog.v1.ReconcileTagsRequest
  • 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<ReconcileTagsRequest.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<ReconcileTagsRequest.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<ReconcileTagsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public ReconcileTagsRequest.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<ReconcileTagsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ReconcileTagsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ReconcileTagsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ReconcileTagsRequest.Builder setParent(String value)
       Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ReconcileTagsRequest.Builder clearParent()
       Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ReconcileTagsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getTagTemplate

      public String getTagTemplate()
       Required. The name of the tag template, which is used for reconciliation.
       
      string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getTagTemplate in interface ReconcileTagsRequestOrBuilder
      Returns:
      The tagTemplate.
    • getTagTemplateBytes

      public com.google.protobuf.ByteString getTagTemplateBytes()
       Required. The name of the tag template, which is used for reconciliation.
       
      string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getTagTemplateBytes in interface ReconcileTagsRequestOrBuilder
      Returns:
      The bytes for tagTemplate.
    • setTagTemplate

      public ReconcileTagsRequest.Builder setTagTemplate(String value)
       Required. The name of the tag template, which is used for reconciliation.
       
      string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The tagTemplate to set.
      Returns:
      This builder for chaining.
    • clearTagTemplate

      public ReconcileTagsRequest.Builder clearTagTemplate()
       Required. The name of the tag template, which is used for reconciliation.
       
      string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setTagTemplateBytes

      public ReconcileTagsRequest.Builder setTagTemplateBytes(com.google.protobuf.ByteString value)
       Required. The name of the tag template, which is used for reconciliation.
       
      string tag_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for tagTemplate to set.
      Returns:
      This builder for chaining.
    • getForceDeleteMissing

      public boolean getForceDeleteMissing()
       If set to `true`, deletes entry tags related to a tag template
       not listed in the tags source from an entry. If set to `false`,
       unlisted tags are retained.
       
      bool force_delete_missing = 3;
      Specified by:
      getForceDeleteMissing in interface ReconcileTagsRequestOrBuilder
      Returns:
      The forceDeleteMissing.
    • setForceDeleteMissing

      public ReconcileTagsRequest.Builder setForceDeleteMissing(boolean value)
       If set to `true`, deletes entry tags related to a tag template
       not listed in the tags source from an entry. If set to `false`,
       unlisted tags are retained.
       
      bool force_delete_missing = 3;
      Parameters:
      value - The forceDeleteMissing to set.
      Returns:
      This builder for chaining.
    • clearForceDeleteMissing

      public ReconcileTagsRequest.Builder clearForceDeleteMissing()
       If set to `true`, deletes entry tags related to a tag template
       not listed in the tags source from an entry. If set to `false`,
       unlisted tags are retained.
       
      bool force_delete_missing = 3;
      Returns:
      This builder for chaining.
    • getTagsList

      public List<Tag> getTagsList()
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      Specified by:
      getTagsList in interface ReconcileTagsRequestOrBuilder
    • getTagsCount

      public int getTagsCount()
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      Specified by:
      getTagsCount in interface ReconcileTagsRequestOrBuilder
    • getTags

      public Tag getTags(int index)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      Specified by:
      getTags in interface ReconcileTagsRequestOrBuilder
    • setTags

      public ReconcileTagsRequest.Builder setTags(int index, Tag value)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • setTags

      public ReconcileTagsRequest.Builder setTags(int index, Tag.Builder builderForValue)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • addTags

      public ReconcileTagsRequest.Builder addTags(Tag value)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • addTags

      public ReconcileTagsRequest.Builder addTags(int index, Tag value)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • addTags

      public ReconcileTagsRequest.Builder addTags(Tag.Builder builderForValue)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • addTags

      public ReconcileTagsRequest.Builder addTags(int index, Tag.Builder builderForValue)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • addAllTags

      public ReconcileTagsRequest.Builder addAllTags(Iterable<? extends Tag> values)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • clearTags

      public ReconcileTagsRequest.Builder clearTags()
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • removeTags

      public ReconcileTagsRequest.Builder removeTags(int index)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • getTagsBuilder

      public Tag.Builder getTagsBuilder(int index)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • getTagsOrBuilder

      public TagOrBuilder getTagsOrBuilder(int index)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      Specified by:
      getTagsOrBuilder in interface ReconcileTagsRequestOrBuilder
    • getTagsOrBuilderList

      public List<? extends TagOrBuilder> getTagsOrBuilderList()
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
      Specified by:
      getTagsOrBuilderList in interface ReconcileTagsRequestOrBuilder
    • addTagsBuilder

      public Tag.Builder addTagsBuilder()
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • addTagsBuilder

      public Tag.Builder addTagsBuilder(int index)
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;
    • getTagsBuilderList

      public List<Tag.Builder> getTagsBuilderList()
       A list of tags to apply to an entry. A tag can specify a
       tag template, which must be the template specified in the
       `ReconcileTagsRequest`.
       The sole entry and each of its columns must be mentioned at most once.
       
      repeated .google.cloud.datacatalog.v1.Tag tags = 4;