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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BindingDelta.BuilderImplements
BindingDeltaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BindingDelta.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
build()
public BindingDelta build()
Returns | |
---|---|
Type | Description |
BindingDelta |
buildPartial()
public BindingDelta buildPartial()
Returns | |
---|---|
Type | Description |
BindingDelta |
clear()
public BindingDelta.Builder clear()
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
clearAction()
public BindingDelta.Builder clearAction()
The action that was performed on a Binding. Required
.google.iam.v1.BindingDelta.Action action = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
BindingDelta.Builder |
clearField(Descriptors.FieldDescriptor field)
public BindingDelta.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
clearMember()
public BindingDelta.Builder clearMember()
A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required
string member = 3;
Returns | |
---|---|
Type | Description |
BindingDelta.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BindingDelta.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
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 | |
---|---|
Type | Description |
BindingDelta.Builder | This builder for chaining. |
clone()
public BindingDelta.Builder clone()
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
getAction()
public BindingDelta.Action getAction()
The action that was performed on a Binding. Required
.google.iam.v1.BindingDelta.Action action = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
com.google.type.Expr.Builder |
getConditionOrBuilder()
public ExprOrBuilder getConditionOrBuilder()
The condition that is associated with this binding.
.google.type.Expr condition = 4;
Returns | |
---|---|
Type | Description |
com.google.type.ExprOrBuilder |
getDefaultInstanceForType()
public BindingDelta getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BindingDelta |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMember()
public String getMember()
A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required
string member = 3;
Returns | |
---|---|
Type | Description |
String | The member. |
getMemberBytes()
public ByteString getMemberBytes()
A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required
string member = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for role. |
hasCondition()
public boolean hasCondition()
The condition that is associated with this binding.
.google.type.Expr condition = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the condition field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCondition(Expr value)
public BindingDelta.Builder mergeCondition(Expr value)
The condition that is associated with this binding.
.google.type.Expr condition = 4;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Expr |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
mergeFrom(BindingDelta other)
public BindingDelta.Builder mergeFrom(BindingDelta other)
Parameter | |
---|---|
Name | Description |
other | BindingDelta |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BindingDelta.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BindingDelta.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BindingDelta.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
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 | |
---|---|
Name | Description |
value | BindingDelta.Action The action to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for action to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | com.google.type.Expr |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | com.google.type.Expr.Builder |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BindingDelta.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
setMember(String value)
public BindingDelta.Builder setMember(String value)
A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required
string member = 3;
Parameter | |
---|---|
Name | Description |
value | String The member to set. |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder | This builder for chaining. |
setMemberBytes(ByteString value)
public BindingDelta.Builder setMemberBytes(ByteString value)
A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required
string member = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for member to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |
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 | |
---|---|
Name | Description |
value | String The role to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for role to set. |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BindingDelta.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BindingDelta.Builder |