Package com.google.cloud.asset.v1
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 TypeMethodDescriptionaddAllEffectiveTags(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].addEffectiveTags(Tag value) 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].addEffectiveTagsBuilder(int index) The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].build()clear()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.ByteStringThe [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.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEffectiveTags(int index) The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].getEffectiveTagsBuilder(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].intThe 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].getEffectiveTagsOrBuilder(int index) 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].booleanThe [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.FieldAccessorTablefinal booleanmergeFrom(EffectiveTagDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeEffectiveTags(int index) The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].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).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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EffectiveTagDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EffectiveTagDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EffectiveTagDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EffectiveTagDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasAttachedResourcein interfaceEffectiveTagDetailsOrBuilder- Returns:
- Whether the attachedResource field is set.
-
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:
getAttachedResourcein interfaceEffectiveTagDetailsOrBuilder- 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:
getAttachedResourceBytesin interfaceEffectiveTagDetailsOrBuilder- Returns:
- The bytes for attachedResource.
-
setAttachedResource
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
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
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
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:
getEffectiveTagsListin interfaceEffectiveTagDetailsOrBuilder
-
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:
getEffectiveTagsCountin interfaceEffectiveTagDetailsOrBuilder
-
getEffectiveTags
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:
getEffectiveTagsin interfaceEffectiveTagDetailsOrBuilder
-
setEffectiveTags
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
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
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
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
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
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
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
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
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
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
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:
getEffectiveTagsOrBuilderin interfaceEffectiveTagDetailsOrBuilder
-
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:
getEffectiveTagsOrBuilderListin interfaceEffectiveTagDetailsOrBuilder
-
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
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
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;
-