public static final class EffectiveTagDetails.Builder extends GeneratedMessageV3.Builder<EffectiveTagDetails.Builder> implements EffectiveTagDetailsOrBuilder
The effective tags and the ancestor resources from which they were inherited.
Protobuf type google.cloud.asset.v1.EffectiveTagDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
public EffectiveTagDetails.Builder addAllEffectiveTags(Iterable<? extends Tag> values)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.Tag>
|
public EffectiveTagDetails.Builder addEffectiveTags(Tag value)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Parameter |
Name |
Description |
value |
Tag
|
public EffectiveTagDetails.Builder addEffectiveTags(Tag.Builder builderForValue)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
public EffectiveTagDetails.Builder addEffectiveTags(int index, Tag value)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Tag
|
public EffectiveTagDetails.Builder addEffectiveTags(int index, Tag.Builder builderForValue)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
public Tag.Builder addEffectiveTagsBuilder()
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
public Tag.Builder addEffectiveTagsBuilder(int index)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EffectiveTagDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EffectiveTagDetails build()
buildPartial()
public EffectiveTagDetails buildPartial()
clear()
public EffectiveTagDetails.Builder clear()
Overrides
clearAttachedResource()
public EffectiveTagDetails.Builder clearAttachedResource()
public EffectiveTagDetails.Builder clearEffectiveTags()
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
clearField(Descriptors.FieldDescriptor field)
public EffectiveTagDetails.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EffectiveTagDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EffectiveTagDetails.Builder clone()
Overrides
getAttachedResource()
public String getAttachedResource()
Returns |
Type |
Description |
String |
The attachedResource.
|
getAttachedResourceBytes()
public ByteString getAttachedResourceBytes()
Returns |
Type |
Description |
ByteString |
The bytes for attachedResource.
|
getDefaultInstanceForType()
public EffectiveTagDetails getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Tag getEffectiveTags(int index)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Tag |
|
public Tag.Builder getEffectiveTagsBuilder(int index)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Parameter |
Name |
Description |
index |
int
|
public List<Tag.Builder> getEffectiveTagsBuilderList()
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
public int getEffectiveTagsCount()
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Returns |
Type |
Description |
int |
|
public List<Tag> getEffectiveTagsList()
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
public TagOrBuilder getEffectiveTagsOrBuilder(int index)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Parameter |
Name |
Description |
index |
int
|
public List<? extends TagOrBuilder> getEffectiveTagsOrBuilderList()
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.asset.v1.TagOrBuilder> |
|
hasAttachedResource()
public boolean hasAttachedResource()
Returns |
Type |
Description |
boolean |
Whether the attachedResource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EffectiveTagDetails other)
public EffectiveTagDetails.Builder mergeFrom(EffectiveTagDetails other)
public EffectiveTagDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EffectiveTagDetails.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EffectiveTagDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public EffectiveTagDetails.Builder removeEffectiveTags(int index)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Parameter |
Name |
Description |
index |
int
|
setAttachedResource(String value)
public EffectiveTagDetails.Builder setAttachedResource(String value)
Parameter |
Name |
Description |
value |
String
The attachedResource to set.
|
setAttachedResourceBytes(ByteString value)
public EffectiveTagDetails.Builder setAttachedResourceBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for attachedResource to set.
|
public EffectiveTagDetails.Builder setEffectiveTags(int index, Tag value)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Tag
|
public EffectiveTagDetails.Builder setEffectiveTags(int index, Tag.Builder builderForValue)
The effective tags inherited from the
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.
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public EffectiveTagDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EffectiveTagDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EffectiveTagDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides