Class EffectiveTagDetails.Builder

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

public static final class EffectiveTagDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<EffectiveTagDetails.Builder> implements EffectiveTagDetailsOrBuilder
 The effective tags and the ancestor resources from which they were inherited.
 
Protobuf type google.cloud.asset.v1.EffectiveTagDetails
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllEffectiveTags(Iterable<? extends Tag> values)
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    addEffectiveTags(int index, Tag value)
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    addEffectiveTags(int index, Tag.Builder builderForValue)
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    addEffectiveTags(Tag.Builder builderForValue)
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
     
     
     
    The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
    com.google.protobuf.ByteString
    The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getEffectiveTags(int index)
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    int
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    List<? extends TagOrBuilder>
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    boolean
    The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
    setAttachedResourceBytes(com.google.protobuf.ByteString value)
    The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
    setEffectiveTags(int index, Tag value)
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
    setEffectiveTags(int index, Tag.Builder builderForValue)
    The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<EffectiveTagDetails.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<EffectiveTagDetails.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<EffectiveTagDetails.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public EffectiveTagDetails.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<EffectiveTagDetails.Builder>
      Throws:
      IOException
    • hasAttachedResource

      public boolean hasAttachedResource()
       The [full resource
       name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
       of the ancestor from which
       [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags]
       are inherited, according to [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      optional string attached_resource = 1;
      Specified by:
      hasAttachedResource in interface EffectiveTagDetailsOrBuilder
      Returns:
      Whether the attachedResource field is set.
    • getAttachedResource

      public String getAttachedResource()
       The [full resource
       name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
       of the ancestor from which
       [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags]
       are inherited, according to [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      optional string attached_resource = 1;
      Specified by:
      getAttachedResource in interface EffectiveTagDetailsOrBuilder
      Returns:
      The attachedResource.
    • getAttachedResourceBytes

      public com.google.protobuf.ByteString getAttachedResourceBytes()
       The [full resource
       name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
       of the ancestor from which
       [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags]
       are inherited, according to [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      optional string attached_resource = 1;
      Specified by:
      getAttachedResourceBytes in interface EffectiveTagDetailsOrBuilder
      Returns:
      The bytes for attachedResource.
    • setAttachedResource

      public EffectiveTagDetails.Builder setAttachedResource(String value)
       The [full resource
       name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
       of the ancestor from which
       [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags]
       are inherited, according to [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      optional string attached_resource = 1;
      Parameters:
      value - The attachedResource to set.
      Returns:
      This builder for chaining.
    • clearAttachedResource

      public EffectiveTagDetails.Builder clearAttachedResource()
       The [full resource
       name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
       of the ancestor from which
       [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags]
       are inherited, according to [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      optional string attached_resource = 1;
      Returns:
      This builder for chaining.
    • setAttachedResourceBytes

      public EffectiveTagDetails.Builder setAttachedResourceBytes(com.google.protobuf.ByteString value)
       The [full resource
       name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
       of the ancestor from which
       [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags]
       are inherited, according to [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      optional string attached_resource = 1;
      Parameters:
      value - The bytes for attachedResource to set.
      Returns:
      This builder for chaining.
    • getEffectiveTagsList

      public List<Tag> getEffectiveTagsList()
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      Specified by:
      getEffectiveTagsList in interface EffectiveTagDetailsOrBuilder
    • getEffectiveTagsCount

      public int getEffectiveTagsCount()
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      Specified by:
      getEffectiveTagsCount in interface EffectiveTagDetailsOrBuilder
    • getEffectiveTags

      public Tag getEffectiveTags(int index)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      Specified by:
      getEffectiveTags in interface EffectiveTagDetailsOrBuilder
    • setEffectiveTags

      public EffectiveTagDetails.Builder setEffectiveTags(int index, Tag value)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • setEffectiveTags

      public EffectiveTagDetails.Builder setEffectiveTags(int index, Tag.Builder builderForValue)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • addEffectiveTags

      public EffectiveTagDetails.Builder addEffectiveTags(Tag value)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • addEffectiveTags

      public EffectiveTagDetails.Builder addEffectiveTags(int index, Tag value)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • addEffectiveTags

      public EffectiveTagDetails.Builder addEffectiveTags(Tag.Builder builderForValue)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • addEffectiveTags

      public EffectiveTagDetails.Builder addEffectiveTags(int index, Tag.Builder builderForValue)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • addAllEffectiveTags

      public EffectiveTagDetails.Builder addAllEffectiveTags(Iterable<? extends Tag> values)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • clearEffectiveTags

      public EffectiveTagDetails.Builder clearEffectiveTags()
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • removeEffectiveTags

      public EffectiveTagDetails.Builder removeEffectiveTags(int index)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • getEffectiveTagsBuilder

      public Tag.Builder getEffectiveTagsBuilder(int index)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • getEffectiveTagsOrBuilder

      public TagOrBuilder getEffectiveTagsOrBuilder(int index)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      Specified by:
      getEffectiveTagsOrBuilder in interface EffectiveTagDetailsOrBuilder
    • getEffectiveTagsOrBuilderList

      public List<? extends TagOrBuilder> getEffectiveTagsOrBuilderList()
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      Specified by:
      getEffectiveTagsOrBuilderList in interface EffectiveTagDetailsOrBuilder
    • addEffectiveTagsBuilder

      public Tag.Builder addEffectiveTagsBuilder()
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • addEffectiveTagsBuilder

      public Tag.Builder addEffectiveTagsBuilder(int index)
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    • getEffectiveTagsBuilderList

      public List<Tag.Builder> getEffectiveTagsBuilderList()
       The effective tags inherited from the
       [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
       Note that tags with the same key but different values may attach to
       resources at a different hierarchy levels. The lower hierarchy tag value
       will overwrite the higher hierarchy tag value of the same tag key. In this
       case, the tag value at the higher hierarchy level will be removed. For more
       information, see [tag
       inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
       
      repeated .google.cloud.asset.v1.Tag effective_tags = 2;