Class AccessStateDiff.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AccessStateDiff.Builder>
com.google.cloud.policysimulator.v1.AccessStateDiff.Builder
- All Implemented Interfaces:
AccessStateDiffOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AccessStateDiff
public static final class AccessStateDiff.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AccessStateDiff.Builder>
implements AccessStateDiffOrBuilder
A summary and comparison of the principal's access under the current (baseline) policies and the proposed (simulated) policies for a single access tuple.Protobuf type
google.cloud.policysimulator.v1.AccessStateDiff-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.The results of evaluating the access tuple under the current (baseline) policies.The results of evaluating the access tuple under the proposed (simulated) policies.How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.intHow the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.The results of evaluating the access tuple under the current (baseline) policies.The results of evaluating the access tuple under the current (baseline) policies.The results of evaluating the access tuple under the current (baseline) policies.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe results of evaluating the access tuple under the proposed (simulated) policies.The results of evaluating the access tuple under the proposed (simulated) policies.The results of evaluating the access tuple under the proposed (simulated) policies.booleanThe results of evaluating the access tuple under the current (baseline) policies.booleanThe results of evaluating the access tuple under the proposed (simulated) policies.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeBaseline(ExplainedAccess value) The results of evaluating the access tuple under the current (baseline) policies.mergeFrom(AccessStateDiff other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSimulated(ExplainedAccess value) The results of evaluating the access tuple under the proposed (simulated) policies.How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.setAccessChangeValue(int value) How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.setBaseline(ExplainedAccess value) The results of evaluating the access tuple under the current (baseline) policies.setBaseline(ExplainedAccess.Builder builderForValue) The results of evaluating the access tuple under the current (baseline) policies.setSimulated(ExplainedAccess value) The results of evaluating the access tuple under the proposed (simulated) policies.setSimulated(ExplainedAccess.Builder builderForValue) The results of evaluating the access tuple under the proposed (simulated) policies.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<AccessStateDiff.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<AccessStateDiff.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<AccessStateDiff.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<AccessStateDiff.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AccessStateDiff.Builder>
-
mergeFrom
public AccessStateDiff.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<AccessStateDiff.Builder>- Throws:
IOException
-
hasBaseline
public boolean hasBaseline()The results of evaluating the access tuple under the current (baseline) policies. If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;- Specified by:
hasBaselinein interfaceAccessStateDiffOrBuilder- Returns:
- Whether the baseline field is set.
-
getBaseline
The results of evaluating the access tuple under the current (baseline) policies. If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;- Specified by:
getBaselinein interfaceAccessStateDiffOrBuilder- Returns:
- The baseline.
-
setBaseline
The results of evaluating the access tuple under the current (baseline) policies. If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1; -
setBaseline
The results of evaluating the access tuple under the current (baseline) policies. If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1; -
mergeBaseline
The results of evaluating the access tuple under the current (baseline) policies. If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1; -
clearBaseline
The results of evaluating the access tuple under the current (baseline) policies. If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1; -
getBaselineBuilder
The results of evaluating the access tuple under the current (baseline) policies. If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1; -
getBaselineOrBuilder
The results of evaluating the access tuple under the current (baseline) policies. If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;- Specified by:
getBaselineOrBuilderin interfaceAccessStateDiffOrBuilder
-
hasSimulated
public boolean hasSimulated()The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;- Specified by:
hasSimulatedin interfaceAccessStateDiffOrBuilder- Returns:
- Whether the simulated field is set.
-
getSimulated
The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;- Specified by:
getSimulatedin interfaceAccessStateDiffOrBuilder- Returns:
- The simulated.
-
setSimulated
The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2; -
setSimulated
The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2; -
mergeSimulated
The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2; -
clearSimulated
The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2; -
getSimulatedBuilder
The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2; -
getSimulatedOrBuilder
The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why.
.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;- Specified by:
getSimulatedOrBuilderin interfaceAccessStateDiffOrBuilder
-
getAccessChangeValue
public int getAccessChangeValue()How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;- Specified by:
getAccessChangeValuein interfaceAccessStateDiffOrBuilder- Returns:
- The enum numeric value on the wire for accessChange.
-
setAccessChangeValue
How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;- Parameters:
value- The enum numeric value on the wire for accessChange to set.- Returns:
- This builder for chaining.
-
getAccessChange
How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;- Specified by:
getAccessChangein interfaceAccessStateDiffOrBuilder- Returns:
- The accessChange.
-
setAccessChange
How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;- Parameters:
value- The accessChange to set.- Returns:
- This builder for chaining.
-
clearAccessChange
How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;- Returns:
- This builder for chaining.
-