Class ReplayDiff.Builder (0.64.0)

public static final class ReplayDiff.Builder extends GeneratedMessage.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

Implements

ReplayDiffOrBuilder

Static 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
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;

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
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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;

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReplayDiff.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReplayDiff.Builder
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;

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