Send feedback
Class EffectiveTagDetails (3.53.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.53.0 keyboard_arrow_down
public final class EffectiveTagDetails extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ATTACHED_RESOURCE_FIELD_NUMBER
public static final int ATTACHED_RESOURCE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int EFFECTIVE_TAGS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static EffectiveTagDetails getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static EffectiveTagDetails . Builder newBuilder ()
newBuilder(EffectiveTagDetails prototype)
public static EffectiveTagDetails . Builder newBuilder ( EffectiveTagDetails prototype )
public static EffectiveTagDetails parseDelimitedFrom ( InputStream input )
public static EffectiveTagDetails parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static EffectiveTagDetails parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EffectiveTagDetails parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static EffectiveTagDetails parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EffectiveTagDetails parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static EffectiveTagDetails parseFrom ( CodedInputStream input )
public static EffectiveTagDetails parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static EffectiveTagDetails parseFrom ( InputStream input )
public static EffectiveTagDetails parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static EffectiveTagDetails parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EffectiveTagDetails parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<EffectiveTagDetails> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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 ()
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 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 >
getParserForType()
public Parser<EffectiveTagDetails> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasAttachedResource()
public boolean hasAttachedResource ()
Returns
Type
Description
boolean
Whether the attachedResource field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public EffectiveTagDetails . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EffectiveTagDetails . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public EffectiveTagDetails . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]