public static final class ReplayDiff.Builder extends GeneratedMessageV3.Builder<ReplayDiff.Builder> implements ReplayDiffOrBuilder
The difference between the results of evaluating an access tuple under
the current (baseline) policies and under the proposed (simulated) policies.
This difference explains how a principal's access could change if the
proposed policies were applied.
Protobuf type google.cloud.policysimulator.v1.ReplayDiff
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplayDiff.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReplayDiff build()
buildPartial()
public ReplayDiff buildPartial()
clear()
public ReplayDiff.Builder clear()
Overrides
clearAccessDiff()
public ReplayDiff.Builder clearAccessDiff()
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
clearField(Descriptors.FieldDescriptor field)
public ReplayDiff.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplayDiff.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ReplayDiff.Builder clone()
Overrides
getAccessDiff()
public AccessStateDiff getAccessDiff()
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
getAccessDiffBuilder()
public AccessStateDiff.Builder getAccessDiffBuilder()
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
getAccessDiffOrBuilder()
public AccessStateDiffOrBuilder getAccessDiffOrBuilder()
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
getDefaultInstanceForType()
public ReplayDiff getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasAccessDiff()
public boolean hasAccessDiff()
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
Returns |
---|
Type | Description |
boolean | Whether the accessDiff field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAccessDiff(AccessStateDiff value)
public ReplayDiff.Builder mergeAccessDiff(AccessStateDiff value)
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
mergeFrom(ReplayDiff other)
public ReplayDiff.Builder mergeFrom(ReplayDiff other)
public ReplayDiff.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReplayDiff.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplayDiff.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAccessDiff(AccessStateDiff value)
public ReplayDiff.Builder setAccessDiff(AccessStateDiff value)
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
setAccessDiff(AccessStateDiff.Builder builderForValue)
public ReplayDiff.Builder setAccessDiff(AccessStateDiff.Builder builderForValue)
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public ReplayDiff.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplayDiff.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplayDiff.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides