Package com.google.cloud.managedkafka.v1
Interface AclEntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AclEntry,AclEntry.Builder
@Generated
public interface AclEntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPrincipal
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:
- The principal.
-
getPrincipalBytes
com.google.protobuf.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:
- The bytes for principal.
-
getPermissionType
String getPermissionType()Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
string permission_type = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The permissionType.
-
getPermissionTypeBytes
com.google.protobuf.ByteString getPermissionTypeBytes()Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
string permission_type = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for permissionType.
-
getOperation
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:
- The operation.
-
getOperationBytes
com.google.protobuf.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:
- The bytes for operation.
-
getHost
String getHost()Required. The host. Must be set to "*" for Managed Service for Apache Kafka.
string host = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()Required. The host. Must be set to "*" for Managed Service for Apache Kafka.
string host = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for host.
-