Interface AclEntryOrBuilder (0.20.0)

public interface AclEntryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHost()

public abstract String getHost()

Required. The host. Must be set to "*" for Managed Service for Apache Kafka.

string host = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The host.

getHostBytes()

public abstract ByteString getHostBytes()

Required. The host. Must be set to "*" for Managed Service for Apache Kafka.

string host = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for host.

getOperation()

public abstract String getOperation()

Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.

string operation = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The operation.

getOperationBytes()

public abstract ByteString getOperationBytes()

Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.

string operation = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for operation.

getPermissionType()

public abstract String getPermissionType()

Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.

string permission_type = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The permissionType.

getPermissionTypeBytes()

public abstract ByteString getPermissionTypeBytes()

Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.

string permission_type = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for permissionType.

getPrincipal()

public abstract String getPrincipal()

Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix "User:". For example: "User:test-kafka-client@test-project.iam.gserviceaccount.com". Can be the wildcard "User:*" to refer to all users.

string principal = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The principal.

getPrincipalBytes()

public abstract ByteString getPrincipalBytes()

Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix "User:". For example: "User:test-kafka-client@test-project.iam.gserviceaccount.com". Can be the wildcard "User:*" to refer to all users.

string principal = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for principal.