Package com.google.iam.v1
Class BindingDelta.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<BindingDelta,BindingDelta.Builder>
com.google.iam.v1.BindingDelta.Builder
- All Implemented Interfaces:
BindingDeltaOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
- BindingDelta
public static final class BindingDelta.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<BindingDelta,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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionThe action that was performed on a Binding.The condition that is associated with this binding.A single identity requesting access for a Google Cloud resource.Role that is assigned to `members`.The action that was performed on a Binding.intThe action that was performed on a Binding.The condition that is associated with this binding.A single identity requesting access for a Google Cloud resource.com.google.protobuf.ByteStringA single identity requesting access for a Google Cloud resource.getRole()Role that is assigned to `members`.com.google.protobuf.ByteStringRole that is assigned to `members`.booleanThe condition that is associated with this binding.mergeCondition(Expr value) The condition that is associated with this binding.setAction(BindingDelta.Action value) The action that was performed on a Binding.setActionValue(int value) The action that was performed on a Binding.setCondition(Expr value) The condition that is associated with this binding.setCondition(Expr.Builder builderForValue) The condition that is associated with this binding.A single identity requesting access for a Google Cloud resource.setMemberBytes(com.google.protobuf.ByteString value) A single identity requesting access for a Google Cloud resource.Role that is assigned to `members`.setRoleBytes(com.google.protobuf.ByteString value) Role that is assigned to `members`.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getActionValue
public int getActionValue()The action that was performed on a Binding. Required
.google.iam.v1.BindingDelta.Action action = 1 [json_name = "action"];- Specified by:
getActionValuein interfaceBindingDeltaOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
The action that was performed on a Binding. Required
.google.iam.v1.BindingDelta.Action action = 1 [json_name = "action"];- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
getAction
The action that was performed on a Binding. Required
.google.iam.v1.BindingDelta.Action action = 1 [json_name = "action"];- Specified by:
getActionin interfaceBindingDeltaOrBuilder- Returns:
- The action.
-
setAction
The action that was performed on a Binding. Required
.google.iam.v1.BindingDelta.Action action = 1 [json_name = "action"];- Parameters:
value- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
clearAction
The action that was performed on a Binding. Required
.google.iam.v1.BindingDelta.Action action = 1 [json_name = "action"];- Returns:
- This builder for chaining.
-
getRole
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
string role = 2 [json_name = "role"];- Specified by:
getRolein interfaceBindingDeltaOrBuilder- Returns:
- The role.
-
getRoleBytes
public com.google.protobuf.ByteString getRoleBytes()Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
string role = 2 [json_name = "role"];- Specified by:
getRoleBytesin interfaceBindingDeltaOrBuilder- Returns:
- The bytes for role.
-
setRole
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
string role = 2 [json_name = "role"];- Parameters:
value- The role to set.- Returns:
- This builder for chaining.
-
clearRole
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
string role = 2 [json_name = "role"];- Returns:
- This builder for chaining.
-
setRoleBytes
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
string role = 2 [json_name = "role"];- Parameters:
value- The bytes for role to set.- Returns:
- This builder for chaining.
-
getMember
A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required
string member = 3 [json_name = "member"];- Specified by:
getMemberin interfaceBindingDeltaOrBuilder- Returns:
- The member.
-
getMemberBytes
public com.google.protobuf.ByteString getMemberBytes()A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required
string member = 3 [json_name = "member"];- Specified by:
getMemberBytesin interfaceBindingDeltaOrBuilder- Returns:
- The bytes for member.
-
setMember
A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required
string member = 3 [json_name = "member"];- Parameters:
value- The member to set.- Returns:
- This builder for chaining.
-
clearMember
A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required
string member = 3 [json_name = "member"];- Returns:
- This builder for chaining.
-
setMemberBytes
A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required
string member = 3 [json_name = "member"];- Parameters:
value- The bytes for member to set.- Returns:
- This builder for chaining.
-
hasCondition
public boolean hasCondition()The condition that is associated with this binding.
.google.type.Expr condition = 4 [json_name = "condition"];- Specified by:
hasConditionin interfaceBindingDeltaOrBuilder- Returns:
- Whether the condition field is set.
-
getCondition
The condition that is associated with this binding.
.google.type.Expr condition = 4 [json_name = "condition"];- Specified by:
getConditionin interfaceBindingDeltaOrBuilder- Returns:
- The condition.
-
setCondition
The condition that is associated with this binding.
.google.type.Expr condition = 4 [json_name = "condition"]; -
setCondition
The condition that is associated with this binding.
.google.type.Expr condition = 4 [json_name = "condition"]; -
mergeCondition
The condition that is associated with this binding.
.google.type.Expr condition = 4 [json_name = "condition"]; -
clearCondition
The condition that is associated with this binding.
.google.type.Expr condition = 4 [json_name = "condition"];
-