Class ConditionContext
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.policytroubleshooter.iam.v3.ConditionContext
- All Implemented Interfaces:
ConditionContextOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ConditionContext
extends com.google.protobuf.GeneratedMessage
implements ConditionContextOrBuilder
Additional context for troubleshooting conditional role bindings and deny rules.Protobuf type
google.cloud.policytroubleshooter.iam.v3.ConditionContext- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAdditional context for troubleshooting conditional role bindings and deny rules.static final classA tag that applies to a resource during policy evaluation.static interfacestatic final classThis message defines attributes for a node that handles a network request.static interfacestatic final classThis message defines attributes for an HTTP request.static interfacestatic final classCore attributes for a resource.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ConditionContextstatic final com.google.protobuf.Descriptors.DescriptorThe destination of a network activity, such as accepting a TCP connection.The destination of a network activity, such as accepting a TCP connection.getEffectiveTags(int index) Output only.intOutput only.Output only.getEffectiveTagsOrBuilder(int index) Output only.List<? extends ConditionContext.EffectiveTagOrBuilder>Output only.com.google.protobuf.Parser<ConditionContext>Represents a network request, such as an HTTP request.Represents a network request, such as an HTTP request.Represents a target resource that is involved with a network activity.Represents a target resource that is involved with a network activity.intbooleanThe destination of a network activity, such as accepting a TCP connection.inthashCode()booleanRepresents a network request, such as an HTTP request.booleanRepresents a target resource that is involved with a network activity.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ConditionContext.Builderstatic ConditionContext.BuildernewBuilder(ConditionContext prototype) protected ConditionContext.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ConditionContextparseDelimitedFrom(InputStream input) static ConditionContextparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConditionContextparseFrom(byte[] data) static ConditionContextparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConditionContextparseFrom(com.google.protobuf.ByteString data) static ConditionContextparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConditionContextparseFrom(com.google.protobuf.CodedInputStream input) static ConditionContextparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConditionContextparseFrom(InputStream input) static ConditionContextparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConditionContextparseFrom(ByteBuffer data) static ConditionContextparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ConditionContext>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER- See Also:
-
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER- See Also:
-
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER- See Also:
-
EFFECTIVE_TAGS_FIELD_NUMBER
public static final int EFFECTIVE_TAGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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;- Specified by:
hasResourcein interfaceConditionContextOrBuilder- Returns:
- Whether the resource field is set.
-
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;- Specified by:
getResourcein interfaceConditionContextOrBuilder- Returns:
- The resource.
-
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;- Specified by:
getResourceOrBuilderin interfaceConditionContextOrBuilder
-
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;- Specified by:
hasDestinationin interfaceConditionContextOrBuilder- Returns:
- Whether the destination field is set.
-
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;- Specified by:
getDestinationin interfaceConditionContextOrBuilder- Returns:
- The destination.
-
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;- Specified by:
getDestinationOrBuilderin interfaceConditionContextOrBuilder
-
hasRequest
public boolean hasRequest()Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;- Specified by:
hasRequestin interfaceConditionContextOrBuilder- Returns:
- Whether the request field is set.
-
getRequest
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;- Specified by:
getRequestin interfaceConditionContextOrBuilder- Returns:
- The request.
-
getRequestOrBuilder
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3;- Specified by:
getRequestOrBuilderin interfaceConditionContextOrBuilder
-
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];- Specified by:
getEffectiveTagsListin interfaceConditionContextOrBuilder
-
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];- Specified by:
getEffectiveTagsOrBuilderListin interfaceConditionContextOrBuilder
-
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];- Specified by:
getEffectiveTagsCountin interfaceConditionContextOrBuilder
-
getEffectiveTags
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];- Specified by:
getEffectiveTagsin interfaceConditionContextOrBuilder
-
getEffectiveTagsOrBuilder
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];- Specified by:
getEffectiveTagsOrBuilderin interfaceConditionContextOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ConditionContext parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConditionContext parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConditionContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConditionContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConditionContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConditionContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ConditionContext parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ConditionContext parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ConditionContext parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ConditionContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConditionContext.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-