Class UpdateAclRequest.Builder (0.39.0)

public static final class UpdateAclRequest.Builder extends GeneratedMessage.Builder<UpdateAclRequest.Builder> implements UpdateAclRequestOrBuilder

Request for UpdateAcl.

Protobuf type google.cloud.managedkafka.v1.UpdateAclRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateAclRequest build()
Returns
Type Description
UpdateAclRequest

buildPartial()

public UpdateAclRequest buildPartial()
Returns
Type Description
UpdateAclRequest

clear()

public UpdateAclRequest.Builder clear()
Returns
Type Description
UpdateAclRequest.Builder
Overrides

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];

Returns
Type Description
UpdateAclRequest.Builder

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];

Returns
Type Description
UpdateAclRequest.Builder

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];

Returns
Type Description
Acl

The acl.

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];

Returns
Type Description
Acl.Builder

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];

Returns
Type Description
AclOrBuilder

getDefaultInstanceForType()

public UpdateAclRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAclRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public 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];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public 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];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public 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];

Returns
Type Description
FieldMaskOrBuilder

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];

Returns
Type Description
boolean

Whether the acl field is set.

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];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAcl(Acl value)

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];

Parameter
Name Description
value Acl
Returns
Type Description
UpdateAclRequest.Builder

mergeFrom(UpdateAclRequest other)

public UpdateAclRequest.Builder mergeFrom(UpdateAclRequest other)
Parameter
Name Description
other UpdateAclRequest
Returns
Type Description
UpdateAclRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAclRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAclRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateAclRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateAclRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateAclRequest.Builder mergeUpdateMask(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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAclRequest.Builder

setAcl(Acl value)

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];

Parameter
Name Description
value Acl
Returns
Type Description
UpdateAclRequest.Builder

setAcl(Acl.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Acl.Builder
Returns
Type Description
UpdateAclRequest.Builder

setUpdateMask(FieldMask value)

public UpdateAclRequest.Builder setUpdateMask(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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAclRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAclRequest.Builder setUpdateMask(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAclRequest.Builder