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