Class UpdatePolicyBindingRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyBindingRequest.Builder>
com.google.iam.v3beta.UpdatePolicyBindingRequest.Builder
All Implemented Interfaces:
UpdatePolicyBindingRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdatePolicyBindingRequest

public static final class UpdatePolicyBindingRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyBindingRequest.Builder> implements UpdatePolicyBindingRequestOrBuilder
 Request message for UpdatePolicyBinding method.
 
Protobuf type google.iam.v3beta.UpdatePolicyBindingRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyBindingRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyBindingRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyBindingRequest.Builder>
    • getDefaultInstanceForType

      public UpdatePolicyBindingRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdatePolicyBindingRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdatePolicyBindingRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdatePolicyBindingRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyBindingRequest.Builder>
    • mergeFrom

      public UpdatePolicyBindingRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdatePolicyBindingRequest.Builder>
      Throws:
      IOException
    • hasPolicyBinding

      public boolean hasPolicyBinding()
       Required. The policy binding to update.
      
       The policy binding's `name` field is used to identify the policy binding to
       update.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasPolicyBinding in interface UpdatePolicyBindingRequestOrBuilder
      Returns:
      Whether the policyBinding field is set.
    • getPolicyBinding

      public PolicyBinding getPolicyBinding()
       Required. The policy binding to update.
      
       The policy binding's `name` field is used to identify the policy binding to
       update.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPolicyBinding in interface UpdatePolicyBindingRequestOrBuilder
      Returns:
      The policyBinding.
    • setPolicyBinding

      public UpdatePolicyBindingRequest.Builder setPolicyBinding(PolicyBinding value)
       Required. The policy binding to update.
      
       The policy binding's `name` field is used to identify the policy binding to
       update.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 1 [(.google.api.field_behavior) = REQUIRED];
    • setPolicyBinding

      public UpdatePolicyBindingRequest.Builder setPolicyBinding(PolicyBinding.Builder builderForValue)
       Required. The policy binding to update.
      
       The policy binding's `name` field is used to identify the policy binding to
       update.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergePolicyBinding

      public UpdatePolicyBindingRequest.Builder mergePolicyBinding(PolicyBinding value)
       Required. The policy binding to update.
      
       The policy binding's `name` field is used to identify the policy binding to
       update.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearPolicyBinding

      public UpdatePolicyBindingRequest.Builder clearPolicyBinding()
       Required. The policy binding to update.
      
       The policy binding's `name` field is used to identify the policy binding to
       update.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPolicyBindingBuilder

      public PolicyBinding.Builder getPolicyBindingBuilder()
       Required. The policy binding to update.
      
       The policy binding's `name` field is used to identify the policy binding to
       update.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPolicyBindingOrBuilder

      public PolicyBindingOrBuilder getPolicyBindingOrBuilder()
       Required. The policy binding to update.
      
       The policy binding's `name` field is used to identify the policy binding to
       update.
       
      .google.iam.v3beta.PolicyBinding policy_binding = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPolicyBindingOrBuilder in interface UpdatePolicyBindingRequestOrBuilder
    • getValidateOnly

      public boolean getValidateOnly()
       Optional. If set, validate the request and preview the update, but do not
       actually post it.
       
      bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValidateOnly in interface UpdatePolicyBindingRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public UpdatePolicyBindingRequest.Builder setValidateOnly(boolean value)
       Optional. If set, validate the request and preview the update, but do not
       actually post it.
       
      bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public UpdatePolicyBindingRequest.Builder clearValidateOnly()
       Optional. If set, validate the request and preview the update, but do not
       actually post it.
       
      bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. The list of fields to update
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdatePolicyBindingRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. The list of fields to update
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdatePolicyBindingRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdatePolicyBindingRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdatePolicyBindingRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The list of fields to update
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdatePolicyBindingRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdatePolicyBindingRequest.Builder clearUpdateMask()
       Optional. The list of fields to update
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. The list of fields to update
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The list of fields to update
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdatePolicyBindingRequestOrBuilder