Class AccessStateDiff.Builder (0.26.0)

public static final class AccessStateDiff.Builder extends GeneratedMessageV3.Builder<AccessStateDiff.Builder> implements AccessStateDiffOrBuilder

A summary and comparison of the principal's access under the current (baseline) policies and the proposed (simulated) policies for a single access tuple.

Protobuf type google.cloud.policysimulator.v1.AccessStateDiff

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessStateDiff build()
Returns
Type Description
AccessStateDiff

buildPartial()

public AccessStateDiff buildPartial()
Returns
Type Description
AccessStateDiff

clear()

public AccessStateDiff.Builder clear()
Returns
Type Description
AccessStateDiff.Builder
Overrides

clearAccessChange()

public AccessStateDiff.Builder clearAccessChange()

How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.

.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;

Returns
Type Description
AccessStateDiff.Builder

This builder for chaining.

clearBaseline()

public AccessStateDiff.Builder clearBaseline()

The results of evaluating the access tuple under the current (baseline) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;

Returns
Type Description
AccessStateDiff.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSimulated()

public AccessStateDiff.Builder clearSimulated()

The results of evaluating the access tuple under the proposed (simulated) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;

Returns
Type Description
AccessStateDiff.Builder

clone()

public AccessStateDiff.Builder clone()
Returns
Type Description
AccessStateDiff.Builder
Overrides

getAccessChange()

public AccessStateDiff.AccessChangeType getAccessChange()

How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.

.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;

Returns
Type Description
AccessStateDiff.AccessChangeType

The accessChange.

getAccessChangeValue()

public int getAccessChangeValue()

How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.

.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;

Returns
Type Description
int

The enum numeric value on the wire for accessChange.

getBaseline()

public ExplainedAccess getBaseline()

The results of evaluating the access tuple under the current (baseline) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;

Returns
Type Description
ExplainedAccess

The baseline.

getBaselineBuilder()

public ExplainedAccess.Builder getBaselineBuilder()

The results of evaluating the access tuple under the current (baseline) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;

Returns
Type Description
ExplainedAccess.Builder

getBaselineOrBuilder()

public ExplainedAccessOrBuilder getBaselineOrBuilder()

The results of evaluating the access tuple under the current (baseline) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;

Returns
Type Description
ExplainedAccessOrBuilder

getDefaultInstanceForType()

public AccessStateDiff getDefaultInstanceForType()
Returns
Type Description
AccessStateDiff

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSimulated()

public ExplainedAccess getSimulated()

The results of evaluating the access tuple under the proposed (simulated) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;

Returns
Type Description
ExplainedAccess

The simulated.

getSimulatedBuilder()

public ExplainedAccess.Builder getSimulatedBuilder()

The results of evaluating the access tuple under the proposed (simulated) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;

Returns
Type Description
ExplainedAccess.Builder

getSimulatedOrBuilder()

public ExplainedAccessOrBuilder getSimulatedOrBuilder()

The results of evaluating the access tuple under the proposed (simulated) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;

Returns
Type Description
ExplainedAccessOrBuilder

hasBaseline()

public boolean hasBaseline()

The results of evaluating the access tuple under the current (baseline) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;

Returns
Type Description
boolean

Whether the baseline field is set.

hasSimulated()

public boolean hasSimulated()

The results of evaluating the access tuple under the proposed (simulated) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;

Returns
Type Description
boolean

Whether the simulated field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBaseline(ExplainedAccess value)

public AccessStateDiff.Builder mergeBaseline(ExplainedAccess value)

The results of evaluating the access tuple under the current (baseline) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;

Parameter
Name Description
value ExplainedAccess
Returns
Type Description
AccessStateDiff.Builder

mergeFrom(AccessStateDiff other)

public AccessStateDiff.Builder mergeFrom(AccessStateDiff other)
Parameter
Name Description
other AccessStateDiff
Returns
Type Description
AccessStateDiff.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessStateDiff.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessStateDiff.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AccessStateDiff.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AccessStateDiff.Builder
Overrides

mergeSimulated(ExplainedAccess value)

public AccessStateDiff.Builder mergeSimulated(ExplainedAccess value)

The results of evaluating the access tuple under the proposed (simulated) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;

Parameter
Name Description
value ExplainedAccess
Returns
Type Description
AccessStateDiff.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessStateDiff.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AccessStateDiff.Builder
Overrides

setAccessChange(AccessStateDiff.AccessChangeType value)

public AccessStateDiff.Builder setAccessChange(AccessStateDiff.AccessChangeType value)

How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.

.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;

Parameter
Name Description
value AccessStateDiff.AccessChangeType

The accessChange to set.

Returns
Type Description
AccessStateDiff.Builder

This builder for chaining.

setAccessChangeValue(int value)

public AccessStateDiff.Builder setAccessChangeValue(int value)

How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.

.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for accessChange to set.

Returns
Type Description
AccessStateDiff.Builder

This builder for chaining.

setBaseline(ExplainedAccess value)

public AccessStateDiff.Builder setBaseline(ExplainedAccess value)

The results of evaluating the access tuple under the current (baseline) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;

Parameter
Name Description
value ExplainedAccess
Returns
Type Description
AccessStateDiff.Builder

setBaseline(ExplainedAccess.Builder builderForValue)

public AccessStateDiff.Builder setBaseline(ExplainedAccess.Builder builderForValue)

The results of evaluating the access tuple under the current (baseline) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;

Parameter
Name Description
builderForValue ExplainedAccess.Builder
Returns
Type Description
AccessStateDiff.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSimulated(ExplainedAccess value)

public AccessStateDiff.Builder setSimulated(ExplainedAccess value)

The results of evaluating the access tuple under the proposed (simulated) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;

Parameter
Name Description
value ExplainedAccess
Returns
Type Description
AccessStateDiff.Builder

setSimulated(ExplainedAccess.Builder builderForValue)

public AccessStateDiff.Builder setSimulated(ExplainedAccess.Builder builderForValue)

The results of evaluating the access tuple under the proposed (simulated) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;

Parameter
Name Description
builderForValue ExplainedAccess.Builder
Returns
Type Description
AccessStateDiff.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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