public static final class ConditionContext.Builder extends GeneratedMessageV3.Builder<ConditionContext.Builder> implements ConditionContextOrBuilder
Additional context for troubleshooting conditional role bindings and deny
rules.
Protobuf type google.cloud.policytroubleshooter.iam.v3.ConditionContext
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
addAllEffectiveTags(Iterable<? extends ConditionContext.EffectiveTag> values)
public ConditionContext.Builder addAllEffectiveTags(Iterable<? extends ConditionContext.EffectiveTag> values)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag>
|
addEffectiveTags(ConditionContext.EffectiveTag value)
public ConditionContext.Builder addEffectiveTags(ConditionContext.EffectiveTag value)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
addEffectiveTags(ConditionContext.EffectiveTag.Builder builderForValue)
public ConditionContext.Builder addEffectiveTags(ConditionContext.EffectiveTag.Builder builderForValue)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
addEffectiveTags(int index, ConditionContext.EffectiveTag value)
public ConditionContext.Builder addEffectiveTags(int index, ConditionContext.EffectiveTag value)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
addEffectiveTags(int index, ConditionContext.EffectiveTag.Builder builderForValue)
public ConditionContext.Builder addEffectiveTags(int index, ConditionContext.EffectiveTag.Builder builderForValue)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
addEffectiveTagsBuilder()
public ConditionContext.EffectiveTag.Builder addEffectiveTagsBuilder()
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
addEffectiveTagsBuilder(int index)
public ConditionContext.EffectiveTag.Builder addEffectiveTagsBuilder(int index)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConditionContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConditionContext build()
buildPartial()
public ConditionContext buildPartial()
clear()
public ConditionContext.Builder clear()
Overrides
clearDestination()
public ConditionContext.Builder clearDestination()
The destination of a network activity, such as accepting a TCP connection.
In a multi-hop network activity, the destination represents the receiver of
the last hop.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Peer destination = 2;
clearEffectiveTags()
public ConditionContext.Builder clearEffectiveTags()
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public ConditionContext.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConditionContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRequest()
public ConditionContext.Builder clearRequest()
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;
clearResource()
public ConditionContext.Builder clearResource()
Represents a target resource that is involved with a network activity.
If multiple resources are involved with an activity, this must be the
primary one.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Resource resource = 1;
clone()
public ConditionContext.Builder clone()
Overrides
getDefaultInstanceForType()
public ConditionContext getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDestination()
public ConditionContext.Peer getDestination()
The destination of a network activity, such as accepting a TCP connection.
In a multi-hop network activity, the destination represents the receiver of
the last hop.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Peer destination = 2;
getDestinationBuilder()
public ConditionContext.Peer.Builder getDestinationBuilder()
The destination of a network activity, such as accepting a TCP connection.
In a multi-hop network activity, the destination represents the receiver of
the last hop.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Peer destination = 2;
getDestinationOrBuilder()
public ConditionContext.PeerOrBuilder getDestinationOrBuilder()
The destination of a network activity, such as accepting a TCP connection.
In a multi-hop network activity, the destination represents the receiver of
the last hop.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Peer destination = 2;
getEffectiveTags(int index)
public ConditionContext.EffectiveTag getEffectiveTags(int index)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getEffectiveTagsBuilder(int index)
public ConditionContext.EffectiveTag.Builder getEffectiveTagsBuilder(int index)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getEffectiveTagsBuilderList()
public List<ConditionContext.EffectiveTag.Builder> getEffectiveTagsBuilderList()
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEffectiveTagsCount()
public int getEffectiveTagsCount()
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | |
getEffectiveTagsList()
public List<ConditionContext.EffectiveTag> getEffectiveTagsList()
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEffectiveTagsOrBuilder(int index)
public ConditionContext.EffectiveTagOrBuilder getEffectiveTagsOrBuilder(int index)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getEffectiveTagsOrBuilderList()
public List<? extends ConditionContext.EffectiveTagOrBuilder> getEffectiveTagsOrBuilderList()
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTagOrBuilder> | |
getRequest()
public ConditionContext.Request getRequest()
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;
getRequestBuilder()
public ConditionContext.Request.Builder getRequestBuilder()
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;
getRequestOrBuilder()
public ConditionContext.RequestOrBuilder getRequestOrBuilder()
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;
getResource()
public ConditionContext.Resource getResource()
Represents a target resource that is involved with a network activity.
If multiple resources are involved with an activity, this must be the
primary one.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Resource resource = 1;
getResourceBuilder()
public ConditionContext.Resource.Builder getResourceBuilder()
Represents a target resource that is involved with a network activity.
If multiple resources are involved with an activity, this must be the
primary one.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Resource resource = 1;
getResourceOrBuilder()
public ConditionContext.ResourceOrBuilder getResourceOrBuilder()
Represents a target resource that is involved with a network activity.
If multiple resources are involved with an activity, this must be the
primary one.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Resource resource = 1;
hasDestination()
public boolean hasDestination()
The destination of a network activity, such as accepting a TCP connection.
In a multi-hop network activity, the destination represents the receiver of
the last hop.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Peer destination = 2;
Returns |
---|
Type | Description |
boolean | Whether the destination field is set.
|
hasRequest()
public boolean hasRequest()
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;
Returns |
---|
Type | Description |
boolean | Whether the request field is set.
|
hasResource()
public boolean hasResource()
Represents a target resource that is involved with a network activity.
If multiple resources are involved with an activity, this must be the
primary one.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Resource resource = 1;
Returns |
---|
Type | Description |
boolean | Whether the resource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDestination(ConditionContext.Peer value)
public ConditionContext.Builder mergeDestination(ConditionContext.Peer value)
The destination of a network activity, such as accepting a TCP connection.
In a multi-hop network activity, the destination represents the receiver of
the last hop.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Peer destination = 2;
mergeFrom(ConditionContext other)
public ConditionContext.Builder mergeFrom(ConditionContext other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConditionContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConditionContext.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeRequest(ConditionContext.Request value)
public ConditionContext.Builder mergeRequest(ConditionContext.Request value)
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;
mergeResource(ConditionContext.Resource value)
public ConditionContext.Builder mergeResource(ConditionContext.Resource value)
Represents a target resource that is involved with a network activity.
If multiple resources are involved with an activity, this must be the
primary one.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Resource resource = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConditionContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeEffectiveTags(int index)
public ConditionContext.Builder removeEffectiveTags(int index)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
setDestination(ConditionContext.Peer value)
public ConditionContext.Builder setDestination(ConditionContext.Peer value)
The destination of a network activity, such as accepting a TCP connection.
In a multi-hop network activity, the destination represents the receiver of
the last hop.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Peer destination = 2;
setDestination(ConditionContext.Peer.Builder builderForValue)
public ConditionContext.Builder setDestination(ConditionContext.Peer.Builder builderForValue)
The destination of a network activity, such as accepting a TCP connection.
In a multi-hop network activity, the destination represents the receiver of
the last hop.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Peer destination = 2;
setEffectiveTags(int index, ConditionContext.EffectiveTag value)
public ConditionContext.Builder setEffectiveTags(int index, ConditionContext.EffectiveTag value)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
setEffectiveTags(int index, ConditionContext.EffectiveTag.Builder builderForValue)
public ConditionContext.Builder setEffectiveTags(int index, ConditionContext.EffectiveTag.Builder builderForValue)
Output only. The effective tags on the resource. The effective tags are
fetched during troubleshooting.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionContext.EffectiveTag effective_tags = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
setField(Descriptors.FieldDescriptor field, Object value)
public ConditionContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConditionContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRequest(ConditionContext.Request value)
public ConditionContext.Builder setRequest(ConditionContext.Request value)
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;
setRequest(ConditionContext.Request.Builder builderForValue)
public ConditionContext.Builder setRequest(ConditionContext.Request.Builder builderForValue)
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;
setResource(ConditionContext.Resource value)
public ConditionContext.Builder setResource(ConditionContext.Resource value)
Represents a target resource that is involved with a network activity.
If multiple resources are involved with an activity, this must be the
primary one.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Resource resource = 1;
setResource(ConditionContext.Resource.Builder builderForValue)
public ConditionContext.Builder setResource(ConditionContext.Resource.Builder builderForValue)
Represents a target resource that is involved with a network activity.
If multiple resources are involved with an activity, this must be the
primary one.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Resource resource = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ConditionContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides