Class PolicyDelta.Builder (1.2.12)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.iam.v1.AuditConfigDelta>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.iam.v1.BindingDelta>
Returns
TypeDescription
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
NameDescription
valueAuditConfigDelta
Returns
TypeDescription
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
NameDescription
builderForValueAuditConfigDelta.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAuditConfigDelta
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAuditConfigDelta.Builder
Returns
TypeDescription
PolicyDelta.Builder

addAuditConfigDeltasBuilder()

public AuditConfigDelta.Builder addAuditConfigDeltasBuilder()

The delta for AuditConfigs between two policies.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueBindingDelta
Returns
TypeDescription
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
NameDescription
builderForValueBindingDelta.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueBindingDelta
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBindingDelta.Builder
Returns
TypeDescription
PolicyDelta.Builder

addBindingDeltasBuilder()

public BindingDelta.Builder addBindingDeltasBuilder()

The delta for Bindings between two policies.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BindingDelta.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PolicyDelta build()
Returns
TypeDescription
PolicyDelta

buildPartial()

public PolicyDelta buildPartial()
Returns
TypeDescription
PolicyDelta

clear()

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

clearBindingDeltas()

public PolicyDelta.Builder clearBindingDeltas()

The delta for Bindings between two policies.

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

Returns
TypeDescription
PolicyDelta.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PolicyDelta.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getAuditConfigDeltasCount()

public int getAuditConfigDeltasCount()

The delta for AuditConfigs between two policies.

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

Returns
TypeDescription
int

getAuditConfigDeltasList()

public List<AuditConfigDelta> getAuditConfigDeltasList()

The delta for AuditConfigs between two policies.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AuditConfigDeltaOrBuilder

getAuditConfigDeltasOrBuilderList()

public List<? extends AuditConfigDeltaOrBuilder> getAuditConfigDeltasOrBuilderList()

The delta for AuditConfigs between two policies.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BindingDelta.Builder

getBindingDeltasBuilderList()

public List<BindingDelta.Builder> getBindingDeltasBuilderList()

The delta for Bindings between two policies.

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

Returns
TypeDescription
List<Builder>

getBindingDeltasCount()

public int getBindingDeltasCount()

The delta for Bindings between two policies.

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

Returns
TypeDescription
int

getBindingDeltasList()

public List<BindingDelta> getBindingDeltasList()

The delta for Bindings between two policies.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BindingDeltaOrBuilder

getBindingDeltasOrBuilderList()

public List<? extends BindingDeltaOrBuilder> getBindingDeltasOrBuilderList()

The delta for Bindings between two policies.

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

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

getDefaultInstanceForType()

public PolicyDelta getDefaultInstanceForType()
Returns
TypeDescription
PolicyDelta

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PolicyDelta other)

public PolicyDelta.Builder mergeFrom(PolicyDelta other)
Parameter
NameDescription
otherPolicyDelta
Returns
TypeDescription
PolicyDelta.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PolicyDelta.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAuditConfigDelta
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAuditConfigDelta.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueBindingDelta
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBindingDelta.Builder
Returns
TypeDescription
PolicyDelta.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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