public final class ConditionContext extends GeneratedMessageV3 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.<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
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EFFECTIVE_TAGS_FIELD_NUMBER
public static final int EFFECTIVE_TAGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ConditionContext getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConditionContext.Builder newBuilder()
newBuilder(ConditionContext prototype)
public static ConditionContext.Builder newBuilder(ConditionContext prototype)
parseDelimitedFrom(InputStream input)
public static ConditionContext parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConditionContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConditionContext parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConditionContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConditionContext parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConditionContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ConditionContext parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConditionContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ConditionContext parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConditionContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConditionContext parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConditionContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConditionContext> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ConditionContext getDefaultInstanceForType()
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;
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
|
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> |
|
getParserForType()
public Parser<ConditionContext> getParserForType()
Overrides
getRequest()
public ConditionContext.Request getRequest()
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;
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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConditionContext.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConditionContext.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ConditionContext.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides