Class BindingDelta.Builder (1.17.1)

public static final class BindingDelta.Builder extends GeneratedMessageV3.Builder<BindingDelta.Builder> implements BindingDeltaOrBuilder

One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.

Protobuf type google.iam.v1.BindingDelta

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BindingDelta build()
Returns
TypeDescription
BindingDelta

buildPartial()

public BindingDelta buildPartial()
Returns
TypeDescription
BindingDelta

clear()

public BindingDelta.Builder clear()
Returns
TypeDescription
BindingDelta.Builder
Overrides

clearAction()

public BindingDelta.Builder clearAction()

The action that was performed on a Binding. Required

.google.iam.v1.BindingDelta.Action action = 1;

Returns
TypeDescription
BindingDelta.Builder

This builder for chaining.

clearCondition()

public BindingDelta.Builder clearCondition()

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Returns
TypeDescription
BindingDelta.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMember()

public BindingDelta.Builder clearMember()

A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required

string member = 3;

Returns
TypeDescription
BindingDelta.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRole()

public BindingDelta.Builder clearRole()

Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner. Required

string role = 2;

Returns
TypeDescription
BindingDelta.Builder

This builder for chaining.

clone()

public BindingDelta.Builder clone()
Returns
TypeDescription
BindingDelta.Builder
Overrides

getAction()

public BindingDelta.Action getAction()

The action that was performed on a Binding. Required

.google.iam.v1.BindingDelta.Action action = 1;

Returns
TypeDescription
BindingDelta.Action

The action.

getActionValue()

public int getActionValue()

The action that was performed on a Binding. Required

.google.iam.v1.BindingDelta.Action action = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for action.

getCondition()

public Expr getCondition()

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Returns
TypeDescription
com.google.type.Expr

The condition.

getConditionBuilder()

public Expr.Builder getConditionBuilder()

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Returns
TypeDescription
com.google.type.Expr.Builder

getConditionOrBuilder()

public ExprOrBuilder getConditionOrBuilder()

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Returns
TypeDescription
com.google.type.ExprOrBuilder

getDefaultInstanceForType()

public BindingDelta getDefaultInstanceForType()
Returns
TypeDescription
BindingDelta

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMember()

public String getMember()

A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required

string member = 3;

Returns
TypeDescription
String

The member.

getMemberBytes()

public ByteString getMemberBytes()

A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required

string member = 3;

Returns
TypeDescription
ByteString

The bytes for member.

getRole()

public String getRole()

Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner. Required

string role = 2;

Returns
TypeDescription
String

The role.

getRoleBytes()

public ByteString getRoleBytes()

Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner. Required

string role = 2;

Returns
TypeDescription
ByteString

The bytes for role.

hasCondition()

public boolean hasCondition()

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Returns
TypeDescription
boolean

Whether the condition field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCondition(Expr value)

public BindingDelta.Builder mergeCondition(Expr value)

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Parameter
NameDescription
valuecom.google.type.Expr
Returns
TypeDescription
BindingDelta.Builder

mergeFrom(BindingDelta other)

public BindingDelta.Builder mergeFrom(BindingDelta other)
Parameter
NameDescription
otherBindingDelta
Returns
TypeDescription
BindingDelta.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BindingDelta.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BindingDelta.Builder
Overrides

setAction(BindingDelta.Action value)

public BindingDelta.Builder setAction(BindingDelta.Action value)

The action that was performed on a Binding. Required

.google.iam.v1.BindingDelta.Action action = 1;

Parameter
NameDescription
valueBindingDelta.Action

The action to set.

Returns
TypeDescription
BindingDelta.Builder

This builder for chaining.

setActionValue(int value)

public BindingDelta.Builder setActionValue(int value)

The action that was performed on a Binding. Required

.google.iam.v1.BindingDelta.Action action = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
BindingDelta.Builder

This builder for chaining.

setCondition(Expr value)

public BindingDelta.Builder setCondition(Expr value)

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Parameter
NameDescription
valuecom.google.type.Expr
Returns
TypeDescription
BindingDelta.Builder

setCondition(Expr.Builder builderForValue)

public BindingDelta.Builder setCondition(Expr.Builder builderForValue)

The condition that is associated with this binding.

.google.type.Expr condition = 4;

Parameter
NameDescription
builderForValuecom.google.type.Expr.Builder
Returns
TypeDescription
BindingDelta.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMember(String value)

public BindingDelta.Builder setMember(String value)

A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required

string member = 3;

Parameter
NameDescription
valueString

The member to set.

Returns
TypeDescription
BindingDelta.Builder

This builder for chaining.

setMemberBytes(ByteString value)

public BindingDelta.Builder setMemberBytes(ByteString value)

A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required

string member = 3;

Parameter
NameDescription
valueByteString

The bytes for member to set.

Returns
TypeDescription
BindingDelta.Builder

This builder for chaining.

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

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

setRole(String value)

public BindingDelta.Builder setRole(String value)

Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner. Required

string role = 2;

Parameter
NameDescription
valueString

The role to set.

Returns
TypeDescription
BindingDelta.Builder

This builder for chaining.

setRoleBytes(ByteString value)

public BindingDelta.Builder setRoleBytes(ByteString value)

Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner. Required

string role = 2;

Parameter
NameDescription
valueByteString

The bytes for role to set.

Returns
TypeDescription
BindingDelta.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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