public static final class UpdateAclRequest.Builder extends GeneratedMessageV3.Builder<UpdateAclRequest.Builder> implements UpdateAclRequestOrBuilder
Request for UpdateAcl.
Protobuf type google.cloud.managedkafka.v1.UpdateAclRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAclRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateAclRequest build()
buildPartial()
public UpdateAclRequest buildPartial()
clear()
public UpdateAclRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateAclRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAclRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clone()
public UpdateAclRequest.Builder clone()
Overrides
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];
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];
getDefaultInstanceForType()
public UpdateAclRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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
|
mergeFrom(UpdateAclRequest other)
public UpdateAclRequest.Builder mergeFrom(UpdateAclRequest other)
public UpdateAclRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateAclRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAclRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAclRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAclRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAclRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|