Class ReplayDiff.Builder (0.33.0)

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

Implements

ReplayDiffOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplayDiff.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReplayDiff.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ReplayDiff.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReplayDiff.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplayDiff.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReplayDiff.Builder
Overrides

clone()

public ReplayDiff.Builder clone()
Returns
Type Description
ReplayDiff.Builder
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;

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplayDiff.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public ReplayDiff.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReplayDiff.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReplayDiff.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReplayDiff.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplayDiff.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReplayDiff.Builder
Overrides