public static final class AddAclEntryRequest.Builder extends GeneratedMessageV3.Builder<AddAclEntryRequest.Builder> implements AddAclEntryRequestOrBuilder
Request for AddAclEntry.
Protobuf type google.cloud.managedkafka.v1.AddAclEntryRequest
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 AddAclEntryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AddAclEntryRequest build()
buildPartial()
public AddAclEntryRequest buildPartial()
clear()
public AddAclEntryRequest.Builder clear()
Overrides
clearAcl()
public AddAclEntryRequest.Builder clearAcl()
Required. The name of the acl to add the acl entry to.
Structured like:
projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
.
The structure of acl_id
defines the Resource Pattern (resource_type,
resource_name, pattern_type) of the acl. See Acl.name
for
details.
string acl = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearAclEntry()
public AddAclEntryRequest.Builder clearAclEntry()
Required. The acl entry to add.
.google.cloud.managedkafka.v1.AclEntry acl_entry = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public AddAclEntryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AddAclEntryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AddAclEntryRequest.Builder clone()
Overrides
getAcl()
Required. The name of the acl to add the acl entry to.
Structured like:
projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
.
The structure of acl_id
defines the Resource Pattern (resource_type,
resource_name, pattern_type) of the acl. See Acl.name
for
details.
string acl = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The acl.
|
getAclBytes()
public ByteString getAclBytes()
Required. The name of the acl to add the acl entry to.
Structured like:
projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
.
The structure of acl_id
defines the Resource Pattern (resource_type,
resource_name, pattern_type) of the acl. See Acl.name
for
details.
string acl = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for acl.
|
getAclEntry()
public AclEntry getAclEntry()
Required. The acl entry to add.
.google.cloud.managedkafka.v1.AclEntry acl_entry = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
AclEntry |
The aclEntry.
|
getAclEntryBuilder()
public AclEntry.Builder getAclEntryBuilder()
Required. The acl entry to add.
.google.cloud.managedkafka.v1.AclEntry acl_entry = 2 [(.google.api.field_behavior) = REQUIRED];
getAclEntryOrBuilder()
public AclEntryOrBuilder getAclEntryOrBuilder()
Required. The acl entry to add.
.google.cloud.managedkafka.v1.AclEntry acl_entry = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public AddAclEntryRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasAclEntry()
public boolean hasAclEntry()
Required. The acl entry to add.
.google.cloud.managedkafka.v1.AclEntry acl_entry = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the aclEntry field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAclEntry(AclEntry value)
public AddAclEntryRequest.Builder mergeAclEntry(AclEntry value)
Required. The acl entry to add.
.google.cloud.managedkafka.v1.AclEntry acl_entry = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
AclEntry
|
mergeFrom(AddAclEntryRequest other)
public AddAclEntryRequest.Builder mergeFrom(AddAclEntryRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AddAclEntryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AddAclEntryRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AddAclEntryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAcl(String value)
public AddAclEntryRequest.Builder setAcl(String value)
Required. The name of the acl to add the acl entry to.
Structured like:
projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
.
The structure of acl_id
defines the Resource Pattern (resource_type,
resource_name, pattern_type) of the acl. See Acl.name
for
details.
string acl = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The acl to set.
|
setAclBytes(ByteString value)
public AddAclEntryRequest.Builder setAclBytes(ByteString value)
Required. The name of the acl to add the acl entry to.
Structured like:
projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
.
The structure of acl_id
defines the Resource Pattern (resource_type,
resource_name, pattern_type) of the acl. See Acl.name
for
details.
string acl = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for acl to set.
|
setAclEntry(AclEntry value)
public AddAclEntryRequest.Builder setAclEntry(AclEntry value)
Required. The acl entry to add.
.google.cloud.managedkafka.v1.AclEntry acl_entry = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
AclEntry
|
setAclEntry(AclEntry.Builder builderForValue)
public AddAclEntryRequest.Builder setAclEntry(AclEntry.Builder builderForValue)
Required. The acl entry to add.
.google.cloud.managedkafka.v1.AclEntry acl_entry = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public AddAclEntryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AddAclEntryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AddAclEntryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides