Class UpdateAclRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateAclRequest.Builder>
com.google.cloud.managedkafka.v1.UpdateAclRequest.Builder
All Implemented Interfaces:
UpdateAclRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateAclRequest

public static final class UpdateAclRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateAclRequest.Builder> implements UpdateAclRequestOrBuilder
 Request for UpdateAcl.
 
Protobuf type google.cloud.managedkafka.v1.UpdateAclRequest
  • 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<UpdateAclRequest.Builder>
    • clear

      public UpdateAclRequest.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<UpdateAclRequest.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<UpdateAclRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public UpdateAclRequest.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<UpdateAclRequest.Builder>
    • mergeFrom

      public UpdateAclRequest.Builder mergeFrom(UpdateAclRequest other)
    • isInitialized

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

      public UpdateAclRequest.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<UpdateAclRequest.Builder>
      Throws:
      IOException
    • hasAcl

      public boolean hasAcl()
       Required. The updated acl. Its `name` and `etag` fields must be populated.
       `acl_entries` must not be empty in the updated acl; to remove all acl
       entries for an acl, use DeleteAcl.
       
      .google.cloud.managedkafka.v1.Acl acl = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAcl in interface UpdateAclRequestOrBuilder
      Returns:
      Whether the acl field is set.
    • getAcl

      public Acl getAcl()
       Required. The updated acl. Its `name` and `etag` fields must be populated.
       `acl_entries` must not be empty in the updated acl; to remove all acl
       entries for an acl, use DeleteAcl.
       
      .google.cloud.managedkafka.v1.Acl acl = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAcl in interface UpdateAclRequestOrBuilder
      Returns:
      The acl.
    • setAcl

      public UpdateAclRequest.Builder setAcl(Acl value)
       Required. The updated acl. Its `name` and `etag` fields must be populated.
       `acl_entries` must not be empty in the updated acl; to remove all acl
       entries for an acl, use DeleteAcl.
       
      .google.cloud.managedkafka.v1.Acl acl = 1 [(.google.api.field_behavior) = REQUIRED];
    • setAcl

      public UpdateAclRequest.Builder setAcl(Acl.Builder builderForValue)
       Required. The updated acl. Its `name` and `etag` fields must be populated.
       `acl_entries` must not be empty in the updated acl; to remove all acl
       entries for an acl, use DeleteAcl.
       
      .google.cloud.managedkafka.v1.Acl acl = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeAcl

      public UpdateAclRequest.Builder mergeAcl(Acl value)
       Required. The updated acl. Its `name` and `etag` fields must be populated.
       `acl_entries` must not be empty in the updated acl; to remove all acl
       entries for an acl, use DeleteAcl.
       
      .google.cloud.managedkafka.v1.Acl acl = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearAcl

      public UpdateAclRequest.Builder clearAcl()
       Required. The updated acl. Its `name` and `etag` fields must be populated.
       `acl_entries` must not be empty in the updated acl; to remove all acl
       entries for an acl, use DeleteAcl.
       
      .google.cloud.managedkafka.v1.Acl acl = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAclBuilder

      public Acl.Builder getAclBuilder()
       Required. The updated acl. Its `name` and `etag` fields must be populated.
       `acl_entries` must not be empty in the updated acl; to remove all acl
       entries for an acl, use DeleteAcl.
       
      .google.cloud.managedkafka.v1.Acl acl = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAclOrBuilder

      public AclOrBuilder getAclOrBuilder()
       Required. The updated acl. Its `name` and `etag` fields must be populated.
       `acl_entries` must not be empty in the updated acl; to remove all acl
       entries for an acl, use DeleteAcl.
       
      .google.cloud.managedkafka.v1.Acl acl = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAclOrBuilder in interface UpdateAclRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       Acl resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field will be overwritten
       if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateAclRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       Acl resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field will be overwritten
       if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateAclRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateAclRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask is used to specify the fields to be overwritten in the
       Acl resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field will be overwritten
       if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateAclRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Field mask is used to specify the fields to be overwritten in the
       Acl resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field will be overwritten
       if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateAclRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask is used to specify the fields to be overwritten in the
       Acl resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field will be overwritten
       if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateAclRequest.Builder clearUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       Acl resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field will be overwritten
       if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. Field mask is used to specify the fields to be overwritten in the
       Acl resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field will be overwritten
       if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. Field mask is used to specify the fields to be overwritten in the
       Acl resource by the update. The fields specified in the update_mask are
       relative to the resource, not the full request. A field will be overwritten
       if it is in the mask.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateAclRequestOrBuilder