Class PolicyDelta.Builder (1.44.0)

public static final class PolicyDelta.Builder extends GeneratedMessageV3.Builder<PolicyDelta.Builder> implements PolicyDeltaOrBuilder

The difference delta between two policies.

Protobuf type google.iam.v1.PolicyDelta

Static Methods

getDescriptor()

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

Methods

addAllAuditConfigDeltas(Iterable<? extends AuditConfigDelta> values)

public PolicyDelta.Builder addAllAuditConfigDeltas(Iterable<? extends AuditConfigDelta> values)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameter
Name Description
values Iterable<? extends com.google.iam.v1.AuditConfigDelta>
Returns
Type Description
PolicyDelta.Builder

addAllBindingDeltas(Iterable<? extends BindingDelta> values)

public PolicyDelta.Builder addAllBindingDeltas(Iterable<? extends BindingDelta> values)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameter
Name Description
values Iterable<? extends com.google.iam.v1.BindingDelta>
Returns
Type Description
PolicyDelta.Builder

addAuditConfigDeltas(AuditConfigDelta value)

public PolicyDelta.Builder addAuditConfigDeltas(AuditConfigDelta value)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameter
Name Description
value AuditConfigDelta
Returns
Type Description
PolicyDelta.Builder

addAuditConfigDeltas(AuditConfigDelta.Builder builderForValue)

public PolicyDelta.Builder addAuditConfigDeltas(AuditConfigDelta.Builder builderForValue)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameter
Name Description
builderForValue AuditConfigDelta.Builder
Returns
Type Description
PolicyDelta.Builder

addAuditConfigDeltas(int index, AuditConfigDelta value)

public PolicyDelta.Builder addAuditConfigDeltas(int index, AuditConfigDelta value)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameters
Name Description
index int
value AuditConfigDelta
Returns
Type Description
PolicyDelta.Builder

addAuditConfigDeltas(int index, AuditConfigDelta.Builder builderForValue)

public PolicyDelta.Builder addAuditConfigDeltas(int index, AuditConfigDelta.Builder builderForValue)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameters
Name Description
index int
builderForValue AuditConfigDelta.Builder
Returns
Type Description
PolicyDelta.Builder

addAuditConfigDeltasBuilder()

public AuditConfigDelta.Builder addAuditConfigDeltasBuilder()

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Returns
Type Description
AuditConfigDelta.Builder

addAuditConfigDeltasBuilder(int index)

public AuditConfigDelta.Builder addAuditConfigDeltasBuilder(int index)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameter
Name Description
index int
Returns
Type Description
AuditConfigDelta.Builder

addBindingDeltas(BindingDelta value)

public PolicyDelta.Builder addBindingDeltas(BindingDelta value)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameter
Name Description
value BindingDelta
Returns
Type Description
PolicyDelta.Builder

addBindingDeltas(BindingDelta.Builder builderForValue)

public PolicyDelta.Builder addBindingDeltas(BindingDelta.Builder builderForValue)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameter
Name Description
builderForValue BindingDelta.Builder
Returns
Type Description
PolicyDelta.Builder

addBindingDeltas(int index, BindingDelta value)

public PolicyDelta.Builder addBindingDeltas(int index, BindingDelta value)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameters
Name Description
index int
value BindingDelta
Returns
Type Description
PolicyDelta.Builder

addBindingDeltas(int index, BindingDelta.Builder builderForValue)

public PolicyDelta.Builder addBindingDeltas(int index, BindingDelta.Builder builderForValue)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameters
Name Description
index int
builderForValue BindingDelta.Builder
Returns
Type Description
PolicyDelta.Builder

addBindingDeltasBuilder()

public BindingDelta.Builder addBindingDeltasBuilder()

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Returns
Type Description
BindingDelta.Builder

addBindingDeltasBuilder(int index)

public BindingDelta.Builder addBindingDeltasBuilder(int index)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameter
Name Description
index int
Returns
Type Description
BindingDelta.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PolicyDelta build()
Returns
Type Description
PolicyDelta

buildPartial()

public PolicyDelta buildPartial()
Returns
Type Description
PolicyDelta

clear()

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

clearAuditConfigDeltas()

public PolicyDelta.Builder clearAuditConfigDeltas()

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Returns
Type Description
PolicyDelta.Builder

clearBindingDeltas()

public PolicyDelta.Builder clearBindingDeltas()

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Returns
Type Description
PolicyDelta.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAuditConfigDeltas(int index)

public AuditConfigDelta getAuditConfigDeltas(int index)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameter
Name Description
index int
Returns
Type Description
AuditConfigDelta

getAuditConfigDeltasBuilder(int index)

public AuditConfigDelta.Builder getAuditConfigDeltasBuilder(int index)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameter
Name Description
index int
Returns
Type Description
AuditConfigDelta.Builder

getAuditConfigDeltasBuilderList()

public List<AuditConfigDelta.Builder> getAuditConfigDeltasBuilderList()

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Returns
Type Description
List<Builder>

getAuditConfigDeltasCount()

public int getAuditConfigDeltasCount()

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Returns
Type Description
int

getAuditConfigDeltasList()

public List<AuditConfigDelta> getAuditConfigDeltasList()

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Returns
Type Description
List<AuditConfigDelta>

getAuditConfigDeltasOrBuilder(int index)

public AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder(int index)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameter
Name Description
index int
Returns
Type Description
AuditConfigDeltaOrBuilder

getAuditConfigDeltasOrBuilderList()

public List<? extends AuditConfigDeltaOrBuilder> getAuditConfigDeltasOrBuilderList()

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Returns
Type Description
List<? extends com.google.iam.v1.AuditConfigDeltaOrBuilder>

getBindingDeltas(int index)

public BindingDelta getBindingDeltas(int index)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameter
Name Description
index int
Returns
Type Description
BindingDelta

getBindingDeltasBuilder(int index)

public BindingDelta.Builder getBindingDeltasBuilder(int index)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameter
Name Description
index int
Returns
Type Description
BindingDelta.Builder

getBindingDeltasBuilderList()

public List<BindingDelta.Builder> getBindingDeltasBuilderList()

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Returns
Type Description
List<Builder>

getBindingDeltasCount()

public int getBindingDeltasCount()

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Returns
Type Description
int

getBindingDeltasList()

public List<BindingDelta> getBindingDeltasList()

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Returns
Type Description
List<BindingDelta>

getBindingDeltasOrBuilder(int index)

public BindingDeltaOrBuilder getBindingDeltasOrBuilder(int index)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameter
Name Description
index int
Returns
Type Description
BindingDeltaOrBuilder

getBindingDeltasOrBuilderList()

public List<? extends BindingDeltaOrBuilder> getBindingDeltasOrBuilderList()

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Returns
Type Description
List<? extends com.google.iam.v1.BindingDeltaOrBuilder>

getDefaultInstanceForType()

public PolicyDelta getDefaultInstanceForType()
Returns
Type Description
PolicyDelta

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PolicyDelta other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAuditConfigDeltas(int index)

public PolicyDelta.Builder removeAuditConfigDeltas(int index)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameter
Name Description
index int
Returns
Type Description
PolicyDelta.Builder

removeBindingDeltas(int index)

public PolicyDelta.Builder removeBindingDeltas(int index)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameter
Name Description
index int
Returns
Type Description
PolicyDelta.Builder

setAuditConfigDeltas(int index, AuditConfigDelta value)

public PolicyDelta.Builder setAuditConfigDeltas(int index, AuditConfigDelta value)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameters
Name Description
index int
value AuditConfigDelta
Returns
Type Description
PolicyDelta.Builder

setAuditConfigDeltas(int index, AuditConfigDelta.Builder builderForValue)

public PolicyDelta.Builder setAuditConfigDeltas(int index, AuditConfigDelta.Builder builderForValue)

The delta for AuditConfigs between two policies.

repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2;

Parameters
Name Description
index int
builderForValue AuditConfigDelta.Builder
Returns
Type Description
PolicyDelta.Builder

setBindingDeltas(int index, BindingDelta value)

public PolicyDelta.Builder setBindingDeltas(int index, BindingDelta value)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameters
Name Description
index int
value BindingDelta
Returns
Type Description
PolicyDelta.Builder

setBindingDeltas(int index, BindingDelta.Builder builderForValue)

public PolicyDelta.Builder setBindingDeltas(int index, BindingDelta.Builder builderForValue)

The delta for Bindings between two policies.

repeated .google.iam.v1.BindingDelta binding_deltas = 1;

Parameters
Name Description
index int
builderForValue BindingDelta.Builder
Returns
Type Description
PolicyDelta.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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