Class ConditionContext.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConditionContext.Builder>
com.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Builder
- All Implemented Interfaces:
ConditionContextOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConditionContext
public static final class ConditionContext.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConditionContext.Builder>
implements ConditionContextOrBuilder
Additional context for troubleshooting conditional role bindings and deny rules.Protobuf type
google.cloud.policytroubleshooter.iam.v3.ConditionContext-
Method Summary
Modifier and TypeMethodDescriptionaddAllEffectiveTags(Iterable<? extends ConditionContext.EffectiveTag> values) Output only.addEffectiveTags(int index, ConditionContext.EffectiveTag value) Output only.addEffectiveTags(int index, ConditionContext.EffectiveTag.Builder builderForValue) Output only.Output only.addEffectiveTags(ConditionContext.EffectiveTag.Builder builderForValue) Output only.Output only.addEffectiveTagsBuilder(int index) Output only.build()clear()The destination of a network activity, such as accepting a TCP connection.Output only.Represents a network request, such as an HTTP request.Represents a target resource that is involved with a network activity.static final com.google.protobuf.Descriptors.Descriptorcom.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.The destination of a network activity, such as accepting a TCP connection.getEffectiveTags(int index) Output only.getEffectiveTagsBuilder(int index) Output only.Output only.intOutput only.Output only.getEffectiveTagsOrBuilder(int index) Output only.List<? extends ConditionContext.EffectiveTagOrBuilder>Output only.Represents a network request, such as an HTTP request.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.Represents a target resource that is involved with a network activity.booleanThe destination of a network activity, such as accepting a TCP connection.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 booleanThe destination of a network activity, such as accepting a TCP connection.mergeFrom(ConditionContext other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Represents a network request, such as an HTTP request.Represents a target resource that is involved with a network activity.removeEffectiveTags(int index) Output only.The destination of a network activity, such as accepting a TCP connection.setDestination(ConditionContext.Peer.Builder builderForValue) The destination of a network activity, such as accepting a TCP connection.setEffectiveTags(int index, ConditionContext.EffectiveTag value) Output only.setEffectiveTags(int index, ConditionContext.EffectiveTag.Builder builderForValue) Output only.Represents a network request, such as an HTTP request.setRequest(ConditionContext.Request.Builder builderForValue) Represents a network request, such as an HTTP request.Represents a target resource that is involved with a network activity.setResource(ConditionContext.Resource.Builder builderForValue) Represents a target resource that is involved with a network activity.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<ConditionContext.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConditionContext.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConditionContext.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConditionContext.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConditionContext.Builder>
-
mergeFrom
public ConditionContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConditionContext.Builder>- Throws:
IOException
-
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.
-
setResource
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
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; -
mergeResource
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; -
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; -
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
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.
-
setDestination
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
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; -
mergeDestination
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; -
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; -
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
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.
-
setRequest
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3; -
setRequest
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3; -
mergeRequest
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3; -
clearRequest
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3; -
getRequestBuilder
Represents a network request, such as an HTTP request.
.google.cloud.policytroubleshooter.iam.v3.ConditionContext.Request request = 3; -
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
-
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
-
setEffectiveTags
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
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]; -
addEffectiveTags
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
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
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
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]; -
addAllEffectiveTags
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]; -
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]; -
removeEffectiveTags
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]; -
getEffectiveTagsBuilder
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
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
-
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
-
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
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]; -
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];
-