- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.6
- 1.1.0
- 1.0.4
- 0.4.4
public static final class ConditionContext.EffectiveTag.Builder extends GeneratedMessageV3.Builder<ConditionContext.EffectiveTag.Builder> implements ConditionContext.EffectiveTagOrBuilder
A tag that applies to a resource during policy evaluation. Tags can be
either directly bound to a resource or inherited from its ancestor.
EffectiveTag
contains the name
and namespaced_name
of the tag value
and tag key, with additional fields of inherited
to indicate the
inheritance status of the effective tag.
Protobuf type google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConditionContext.EffectiveTag.BuilderImplements
ConditionContext.EffectiveTagOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConditionContext.EffectiveTag.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
build()
public ConditionContext.EffectiveTag build()
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag |
buildPartial()
public ConditionContext.EffectiveTag buildPartial()
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag |
clear()
public ConditionContext.EffectiveTag.Builder clear()
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
clearField(Descriptors.FieldDescriptor field)
public ConditionContext.EffectiveTag.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
clearInherited()
public ConditionContext.EffectiveTag.Builder clearInherited()
Output only. Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource's ancestors, inherited will be true. If false, then the tag value is directly attached to the resource, inherited will be false.
bool inherited = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
clearNamespacedTagKey()
public ConditionContext.EffectiveTag.Builder clearNamespacedTagKey()
Output only. The namespaced name of the TagKey. Can be in the form
{organization_id}/{tag_key_short_name}
or
{project_id}/{tag_key_short_name}
or
{project_number}/{tag_key_short_name}
.
string namespaced_tag_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
clearNamespacedTagValue()
public ConditionContext.EffectiveTag.Builder clearNamespacedTagValue()
Output only. The namespaced name of the TagValue. Can be in the form
{organization_id}/{tag_key_short_name}/{tag_value_short_name}
or
{project_id}/{tag_key_short_name}/{tag_value_short_name}
or
{project_number}/{tag_key_short_name}/{tag_value_short_name}
.
string namespaced_tag_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConditionContext.EffectiveTag.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
clearTagKey()
public ConditionContext.EffectiveTag.Builder clearTagKey()
Output only. The name of the TagKey, in the format tagKeys/{id}
, such
as tagKeys/123
.
string tag_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
clearTagKeyParentName()
public ConditionContext.EffectiveTag.Builder clearTagKeyParentName()
The parent name of the tag key.
Must be in the format organizations/{organization_id}
or
projects/{project_number}
string tag_key_parent_name = 6;
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
clearTagValue()
public ConditionContext.EffectiveTag.Builder clearTagValue()
Output only. Resource name for TagValue in the format tagValues/456
.
string tag_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
clone()
public ConditionContext.EffectiveTag.Builder clone()
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
getDefaultInstanceForType()
public ConditionContext.EffectiveTag getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInherited()
public boolean getInherited()
Output only. Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource's ancestors, inherited will be true. If false, then the tag value is directly attached to the resource, inherited will be false.
bool inherited = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The inherited. |
getNamespacedTagKey()
public String getNamespacedTagKey()
Output only. The namespaced name of the TagKey. Can be in the form
{organization_id}/{tag_key_short_name}
or
{project_id}/{tag_key_short_name}
or
{project_number}/{tag_key_short_name}
.
string namespaced_tag_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The namespacedTagKey. |
getNamespacedTagKeyBytes()
public ByteString getNamespacedTagKeyBytes()
Output only. The namespaced name of the TagKey. Can be in the form
{organization_id}/{tag_key_short_name}
or
{project_id}/{tag_key_short_name}
or
{project_number}/{tag_key_short_name}
.
string namespaced_tag_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for namespacedTagKey. |
getNamespacedTagValue()
public String getNamespacedTagValue()
Output only. The namespaced name of the TagValue. Can be in the form
{organization_id}/{tag_key_short_name}/{tag_value_short_name}
or
{project_id}/{tag_key_short_name}/{tag_value_short_name}
or
{project_number}/{tag_key_short_name}/{tag_value_short_name}
.
string namespaced_tag_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The namespacedTagValue. |
getNamespacedTagValueBytes()
public ByteString getNamespacedTagValueBytes()
Output only. The namespaced name of the TagValue. Can be in the form
{organization_id}/{tag_key_short_name}/{tag_value_short_name}
or
{project_id}/{tag_key_short_name}/{tag_value_short_name}
or
{project_number}/{tag_key_short_name}/{tag_value_short_name}
.
string namespaced_tag_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for namespacedTagValue. |
getTagKey()
public String getTagKey()
Output only. The name of the TagKey, in the format tagKeys/{id}
, such
as tagKeys/123
.
string tag_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The tagKey. |
getTagKeyBytes()
public ByteString getTagKeyBytes()
Output only. The name of the TagKey, in the format tagKeys/{id}
, such
as tagKeys/123
.
string tag_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for tagKey. |
getTagKeyParentName()
public String getTagKeyParentName()
The parent name of the tag key.
Must be in the format organizations/{organization_id}
or
projects/{project_number}
string tag_key_parent_name = 6;
Returns | |
---|---|
Type | Description |
String |
The tagKeyParentName. |
getTagKeyParentNameBytes()
public ByteString getTagKeyParentNameBytes()
The parent name of the tag key.
Must be in the format organizations/{organization_id}
or
projects/{project_number}
string tag_key_parent_name = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for tagKeyParentName. |
getTagValue()
public String getTagValue()
Output only. Resource name for TagValue in the format tagValues/456
.
string tag_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The tagValue. |
getTagValueBytes()
public ByteString getTagValueBytes()
Output only. Resource name for TagValue in the format tagValues/456
.
string tag_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for tagValue. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ConditionContext.EffectiveTag other)
public ConditionContext.EffectiveTag.Builder mergeFrom(ConditionContext.EffectiveTag other)
Parameter | |
---|---|
Name | Description |
other |
ConditionContext.EffectiveTag |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConditionContext.EffectiveTag.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ConditionContext.EffectiveTag.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConditionContext.EffectiveTag.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ConditionContext.EffectiveTag.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
setInherited(boolean value)
public ConditionContext.EffectiveTag.Builder setInherited(boolean value)
Output only. Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource's ancestors, inherited will be true. If false, then the tag value is directly attached to the resource, inherited will be false.
bool inherited = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The inherited to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setNamespacedTagKey(String value)
public ConditionContext.EffectiveTag.Builder setNamespacedTagKey(String value)
Output only. The namespaced name of the TagKey. Can be in the form
{organization_id}/{tag_key_short_name}
or
{project_id}/{tag_key_short_name}
or
{project_number}/{tag_key_short_name}
.
string namespaced_tag_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The namespacedTagKey to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setNamespacedTagKeyBytes(ByteString value)
public ConditionContext.EffectiveTag.Builder setNamespacedTagKeyBytes(ByteString value)
Output only. The namespaced name of the TagKey. Can be in the form
{organization_id}/{tag_key_short_name}
or
{project_id}/{tag_key_short_name}
or
{project_number}/{tag_key_short_name}
.
string namespaced_tag_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for namespacedTagKey to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setNamespacedTagValue(String value)
public ConditionContext.EffectiveTag.Builder setNamespacedTagValue(String value)
Output only. The namespaced name of the TagValue. Can be in the form
{organization_id}/{tag_key_short_name}/{tag_value_short_name}
or
{project_id}/{tag_key_short_name}/{tag_value_short_name}
or
{project_number}/{tag_key_short_name}/{tag_value_short_name}
.
string namespaced_tag_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The namespacedTagValue to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setNamespacedTagValueBytes(ByteString value)
public ConditionContext.EffectiveTag.Builder setNamespacedTagValueBytes(ByteString value)
Output only. The namespaced name of the TagValue. Can be in the form
{organization_id}/{tag_key_short_name}/{tag_value_short_name}
or
{project_id}/{tag_key_short_name}/{tag_value_short_name}
or
{project_number}/{tag_key_short_name}/{tag_value_short_name}
.
string namespaced_tag_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for namespacedTagValue to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConditionContext.EffectiveTag.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
setTagKey(String value)
public ConditionContext.EffectiveTag.Builder setTagKey(String value)
Output only. The name of the TagKey, in the format tagKeys/{id}
, such
as tagKeys/123
.
string tag_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The tagKey to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setTagKeyBytes(ByteString value)
public ConditionContext.EffectiveTag.Builder setTagKeyBytes(ByteString value)
Output only. The name of the TagKey, in the format tagKeys/{id}
, such
as tagKeys/123
.
string tag_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for tagKey to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setTagKeyParentName(String value)
public ConditionContext.EffectiveTag.Builder setTagKeyParentName(String value)
The parent name of the tag key.
Must be in the format organizations/{organization_id}
or
projects/{project_number}
string tag_key_parent_name = 6;
Parameter | |
---|---|
Name | Description |
value |
String The tagKeyParentName to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setTagKeyParentNameBytes(ByteString value)
public ConditionContext.EffectiveTag.Builder setTagKeyParentNameBytes(ByteString value)
The parent name of the tag key.
Must be in the format organizations/{organization_id}
or
projects/{project_number}
string tag_key_parent_name = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for tagKeyParentName to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setTagValue(String value)
public ConditionContext.EffectiveTag.Builder setTagValue(String value)
Output only. Resource name for TagValue in the format tagValues/456
.
string tag_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The tagValue to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setTagValueBytes(ByteString value)
public ConditionContext.EffectiveTag.Builder setTagValueBytes(ByteString value)
Output only. Resource name for TagValue in the format tagValues/456
.
string tag_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for tagValue to set. |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConditionContext.EffectiveTag.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConditionContext.EffectiveTag.Builder |