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
  • 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:
      getActionValue in interface BindingDeltaOrBuilder
      Returns:
      The enum numeric value on the wire for action.
    • setActionValue

      public BindingDelta.Builder setActionValue(int value)
       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

      public BindingDelta.Action getAction()
       The action that was performed on a Binding.
       Required
       
      .google.iam.v1.BindingDelta.Action action = 1 [json_name = "action"];
      Specified by:
      getAction in interface BindingDeltaOrBuilder
      Returns:
      The action.
    • setAction

      public BindingDelta.Builder setAction(BindingDelta.Action value)
       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

      public BindingDelta.Builder 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

      public String 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:
      getRole in interface BindingDeltaOrBuilder
      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:
      getRoleBytes in interface BindingDeltaOrBuilder
      Returns:
      The bytes for role.
    • setRole

      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 [json_name = "role"];
      Parameters:
      value - The role to set.
      Returns:
      This builder for chaining.
    • clearRole

      public BindingDelta.Builder 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

      public BindingDelta.Builder setRoleBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getMember in interface BindingDeltaOrBuilder
      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:
      getMemberBytes in interface BindingDeltaOrBuilder
      Returns:
      The bytes for member.
    • setMember

      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 [json_name = "member"];
      Parameters:
      value - The member to set.
      Returns:
      This builder for chaining.
    • 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 [json_name = "member"];
      Returns:
      This builder for chaining.
    • setMemberBytes

      public BindingDelta.Builder setMemberBytes(com.google.protobuf.ByteString value)
       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:
      hasCondition in interface BindingDeltaOrBuilder
      Returns:
      Whether the condition field is set.
    • getCondition

      public Expr getCondition()
       The condition that is associated with this binding.
       
      .google.type.Expr condition = 4 [json_name = "condition"];
      Specified by:
      getCondition in interface BindingDeltaOrBuilder
      Returns:
      The condition.
    • setCondition

      public BindingDelta.Builder setCondition(Expr value)
       The condition that is associated with this binding.
       
      .google.type.Expr condition = 4 [json_name = "condition"];
    • setCondition

      public BindingDelta.Builder setCondition(Expr.Builder builderForValue)
       The condition that is associated with this binding.
       
      .google.type.Expr condition = 4 [json_name = "condition"];
    • mergeCondition

      public BindingDelta.Builder mergeCondition(Expr value)
       The condition that is associated with this binding.
       
      .google.type.Expr condition = 4 [json_name = "condition"];
    • clearCondition

      public BindingDelta.Builder clearCondition()
       The condition that is associated with this binding.
       
      .google.type.Expr condition = 4 [json_name = "condition"];