public static final class ReplayDiff.Builder extends GeneratedMessage.Builder<ReplayDiff.Builder> implements ReplayDiffOrBuilderThe 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReplayDiff.BuilderImplements
ReplayDiffOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReplayDiff build()| Returns | |
|---|---|
| Type | Description |
ReplayDiff |
|
buildPartial()
public ReplayDiff buildPartial()| Returns | |
|---|---|
| Type | Description |
ReplayDiff |
|
clear()
public ReplayDiff.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReplayDiff.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
ReplayDiff.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AccessStateDiff |
The accessDiff. |
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;
| Returns | |
|---|---|
| Type | Description |
AccessStateDiff.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AccessStateDiffOrBuilder |
|
getDefaultInstanceForType()
public ReplayDiff getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReplayDiff |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AccessStateDiff |
| Returns | |
|---|---|
| Type | Description |
ReplayDiff.Builder |
|
mergeFrom(ReplayDiff other)
public ReplayDiff.Builder mergeFrom(ReplayDiff other)| Parameter | |
|---|---|
| Name | Description |
other |
ReplayDiff |
| Returns | |
|---|---|
| Type | Description |
ReplayDiff.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReplayDiff.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReplayDiff.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReplayDiff.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReplayDiff.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AccessStateDiff |
| Returns | |
|---|---|
| Type | Description |
ReplayDiff.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AccessStateDiff.Builder |
| Returns | |
|---|---|
| Type | Description |
ReplayDiff.Builder |
|