Class TaggedEntry.Builder

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

public static final class TaggedEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<TaggedEntry.Builder> implements TaggedEntryOrBuilder
 Wrapper containing Entry and information about Tags
 that should and should not be attached to it.
 
Protobuf type google.cloud.datacatalog.v1.TaggedEntry
  • 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<TaggedEntry.Builder>
    • clear

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

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

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

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

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

      public TaggedEntry.Builder mergeFrom(TaggedEntry other)
    • isInitialized

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

      public TaggedEntry.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<TaggedEntry.Builder>
      Throws:
      IOException
    • getEntryCase

      public TaggedEntry.EntryCase getEntryCase()
      Specified by:
      getEntryCase in interface TaggedEntryOrBuilder
    • clearEntry

      public TaggedEntry.Builder clearEntry()
    • hasV1Entry

      public boolean hasV1Entry()
       Non-encrypted Data Catalog v1 Entry.
       
      .google.cloud.datacatalog.v1.Entry v1_entry = 1;
      Specified by:
      hasV1Entry in interface TaggedEntryOrBuilder
      Returns:
      Whether the v1Entry field is set.
    • getV1Entry

      public Entry getV1Entry()
       Non-encrypted Data Catalog v1 Entry.
       
      .google.cloud.datacatalog.v1.Entry v1_entry = 1;
      Specified by:
      getV1Entry in interface TaggedEntryOrBuilder
      Returns:
      The v1Entry.
    • setV1Entry

      public TaggedEntry.Builder setV1Entry(Entry value)
       Non-encrypted Data Catalog v1 Entry.
       
      .google.cloud.datacatalog.v1.Entry v1_entry = 1;
    • setV1Entry

      public TaggedEntry.Builder setV1Entry(Entry.Builder builderForValue)
       Non-encrypted Data Catalog v1 Entry.
       
      .google.cloud.datacatalog.v1.Entry v1_entry = 1;
    • mergeV1Entry

      public TaggedEntry.Builder mergeV1Entry(Entry value)
       Non-encrypted Data Catalog v1 Entry.
       
      .google.cloud.datacatalog.v1.Entry v1_entry = 1;
    • clearV1Entry

      public TaggedEntry.Builder clearV1Entry()
       Non-encrypted Data Catalog v1 Entry.
       
      .google.cloud.datacatalog.v1.Entry v1_entry = 1;
    • getV1EntryBuilder

      public Entry.Builder getV1EntryBuilder()
       Non-encrypted Data Catalog v1 Entry.
       
      .google.cloud.datacatalog.v1.Entry v1_entry = 1;
    • getV1EntryOrBuilder

      public EntryOrBuilder getV1EntryOrBuilder()
       Non-encrypted Data Catalog v1 Entry.
       
      .google.cloud.datacatalog.v1.Entry v1_entry = 1;
      Specified by:
      getV1EntryOrBuilder in interface TaggedEntryOrBuilder
    • getPresentTagsList

      public List<Tag> getPresentTagsList()
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPresentTagsList in interface TaggedEntryOrBuilder
    • getPresentTagsCount

      public int getPresentTagsCount()
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPresentTagsCount in interface TaggedEntryOrBuilder
    • getPresentTags

      public Tag getPresentTags(int index)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPresentTags in interface TaggedEntryOrBuilder
    • setPresentTags

      public TaggedEntry.Builder setPresentTags(int index, Tag value)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setPresentTags

      public TaggedEntry.Builder setPresentTags(int index, Tag.Builder builderForValue)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addPresentTags

      public TaggedEntry.Builder addPresentTags(Tag value)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addPresentTags

      public TaggedEntry.Builder addPresentTags(int index, Tag value)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addPresentTags

      public TaggedEntry.Builder addPresentTags(Tag.Builder builderForValue)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addPresentTags

      public TaggedEntry.Builder addPresentTags(int index, Tag.Builder builderForValue)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAllPresentTags

      public TaggedEntry.Builder addAllPresentTags(Iterable<? extends Tag> values)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearPresentTags

      public TaggedEntry.Builder clearPresentTags()
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • removePresentTags

      public TaggedEntry.Builder removePresentTags(int index)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getPresentTagsBuilder

      public Tag.Builder getPresentTagsBuilder(int index)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getPresentTagsOrBuilder

      public TagOrBuilder getPresentTagsOrBuilder(int index)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPresentTagsOrBuilder in interface TaggedEntryOrBuilder
    • getPresentTagsOrBuilderList

      public List<? extends TagOrBuilder> getPresentTagsOrBuilderList()
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPresentTagsOrBuilderList in interface TaggedEntryOrBuilder
    • addPresentTagsBuilder

      public Tag.Builder addPresentTagsBuilder()
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addPresentTagsBuilder

      public Tag.Builder addPresentTagsBuilder(int index)
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getPresentTagsBuilderList

      public List<Tag.Builder> getPresentTagsBuilderList()
       Optional. Tags that should be ingested into the Data Catalog.
       Caller should populate template name, column and fields.
       
      repeated .google.cloud.datacatalog.v1.Tag present_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getAbsentTagsList

      public List<Tag> getAbsentTagsList()
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAbsentTagsList in interface TaggedEntryOrBuilder
    • getAbsentTagsCount

      public int getAbsentTagsCount()
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAbsentTagsCount in interface TaggedEntryOrBuilder
    • getAbsentTags

      public Tag getAbsentTags(int index)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAbsentTags in interface TaggedEntryOrBuilder
    • setAbsentTags

      public TaggedEntry.Builder setAbsentTags(int index, Tag value)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setAbsentTags

      public TaggedEntry.Builder setAbsentTags(int index, Tag.Builder builderForValue)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAbsentTags

      public TaggedEntry.Builder addAbsentTags(Tag value)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAbsentTags

      public TaggedEntry.Builder addAbsentTags(int index, Tag value)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAbsentTags

      public TaggedEntry.Builder addAbsentTags(Tag.Builder builderForValue)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAbsentTags

      public TaggedEntry.Builder addAbsentTags(int index, Tag.Builder builderForValue)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAbsentTags

      public TaggedEntry.Builder addAllAbsentTags(Iterable<? extends Tag> values)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearAbsentTags

      public TaggedEntry.Builder clearAbsentTags()
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • removeAbsentTags

      public TaggedEntry.Builder removeAbsentTags(int index)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getAbsentTagsBuilder

      public Tag.Builder getAbsentTagsBuilder(int index)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getAbsentTagsOrBuilder

      public TagOrBuilder getAbsentTagsOrBuilder(int index)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAbsentTagsOrBuilder in interface TaggedEntryOrBuilder
    • getAbsentTagsOrBuilderList

      public List<? extends TagOrBuilder> getAbsentTagsOrBuilderList()
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAbsentTagsOrBuilderList in interface TaggedEntryOrBuilder
    • addAbsentTagsBuilder

      public Tag.Builder addAbsentTagsBuilder()
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAbsentTagsBuilder

      public Tag.Builder addAbsentTagsBuilder(int index)
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getAbsentTagsBuilderList

      public List<Tag.Builder> getAbsentTagsBuilderList()
       Optional. Tags that should be deleted from the Data Catalog.
       Caller should populate template name and column only.
       
      repeated .google.cloud.datacatalog.v1.Tag absent_tags = 3 [(.google.api.field_behavior) = OPTIONAL];