Class AccessStateDiff.Builder (0.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessStateDiff build()
Returns
TypeDescription
AccessStateDiff

buildPartial()

public AccessStateDiff buildPartial()
Returns
TypeDescription
AccessStateDiff

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessStateDiff.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AccessStateDiff.Builder

clone()

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

getDefaultInstanceForType()

public AccessStateDiff getDefaultInstanceForType()
Returns
TypeDescription
AccessStateDiff

getDescriptorForType()

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

Whether the simulated field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(AccessStateDiff other)

public AccessStateDiff.Builder mergeFrom(AccessStateDiff other)
Parameter
NameDescription
otherAccessStateDiff
Returns
TypeDescription
AccessStateDiff.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AccessStateDiff.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueExplainedAccess
Returns
TypeDescription
AccessStateDiff.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The accessChange to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueExplainedAccess
Returns
TypeDescription
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
NameDescription
builderForValueExplainedAccess.Builder
Returns
TypeDescription
AccessStateDiff.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AccessStateDiff.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueExplainedAccess
Returns
TypeDescription
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
NameDescription
builderForValueExplainedAccess.Builder
Returns
TypeDescription
AccessStateDiff.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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