Class ReplayDiff.Builder (0.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplayDiff.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplayDiff.Builder
Overrides

build()

public ReplayDiff build()
Returns
TypeDescription
ReplayDiff

buildPartial()

public ReplayDiff buildPartial()
Returns
TypeDescription
ReplayDiff

clear()

public ReplayDiff.Builder clear()
Returns
TypeDescription
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
TypeDescription
ReplayDiff.Builder

clearField(Descriptors.FieldDescriptor field)

public ReplayDiff.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReplayDiff.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplayDiff.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReplayDiff.Builder
Overrides

clone()

public ReplayDiff.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AccessStateDiffOrBuilder

getDefaultInstanceForType()

public ReplayDiff getDefaultInstanceForType()
Returns
TypeDescription
ReplayDiff

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the accessDiff field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAccessStateDiff
Returns
TypeDescription
ReplayDiff.Builder

mergeFrom(ReplayDiff other)

public ReplayDiff.Builder mergeFrom(ReplayDiff other)
Parameter
NameDescription
otherReplayDiff
Returns
TypeDescription
ReplayDiff.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReplayDiff.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplayDiff.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReplayDiff.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReplayDiff.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplayDiff.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAccessStateDiff
Returns
TypeDescription
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
NameDescription
builderForValueAccessStateDiff.Builder
Returns
TypeDescription
ReplayDiff.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReplayDiff.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplayDiff.Builder
Overrides

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

public ReplayDiff.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReplayDiff.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplayDiff.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReplayDiff.Builder
Overrides