public final class AuthorizationInfo extends com.google.protobuf.GeneratedMessageV3 implements AuthorizationInfoOrBuilder
auditlog.v2.AuthorizationInfo
Modifier and Type | Class and Description |
---|---|
static class |
AuthorizationInfo.AuthorizationCase |
static class |
AuthorizationInfo.Builder
Protobuf type
auditlog.v2.AuthorizationInfo |
static class |
AuthorizationInfo.Result
Protobuf enum
auditlog.v2.AuthorizationInfo.Result |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ACL_AUTHORIZATION_FIELD_NUMBER |
static int |
DRY_RUN_FIELD_NUMBER |
static int |
OPERATION_FIELD_NUMBER |
static int |
RBAC_AUTHORIZATION_FIELD_NUMBER |
static int |
RESULT_FIELD_NUMBER |
static int |
SUPER_USER_AUTHORIZATION_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AclAuthorizationInfo |
getAclAuthorization()
An ACL rule that resulted in the authorization check being denied
or allowed.
|
AclAuthorizationInfoOrBuilder |
getAclAuthorizationOrBuilder()
An ACL rule that resulted in the authorization check being denied
or allowed.
|
AuthorizationInfo.AuthorizationCase |
getAuthorizationCase() |
static AuthorizationInfo |
getDefaultInstance() |
AuthorizationInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDryRun()
If `true`, the authorization check was performed as part of a dry-run
request, without modifying state.
|
String |
getOperation()
The operation being checked for authorization.
|
com.google.protobuf.ByteString |
getOperationBytes()
The operation being checked for authorization.
|
com.google.protobuf.Parser<AuthorizationInfo> |
getParserForType() |
RbacAuthorizationInfo |
getRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
|
RbacAuthorizationInfoOrBuilder |
getRbacAuthorizationOrBuilder()
A RBAC rule that resulted in the authorization check being allowed.
|
AuthorizationInfo.Result |
getResult()
The result of this authorization check.
|
int |
getResultValue()
The result of this authorization check.
|
int |
getSerializedSize() |
boolean |
getSuperUserAuthorization()
If true, the authorization check was allowed because the principal
is a super-user.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAclAuthorization()
An ACL rule that resulted in the authorization check being denied
or allowed.
|
int |
hashCode() |
boolean |
hasRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
|
boolean |
hasSuperUserAuthorization()
If true, the authorization check was allowed because the principal
is a super-user.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AuthorizationInfo.Builder |
newBuilder() |
static AuthorizationInfo.Builder |
newBuilder(AuthorizationInfo prototype) |
AuthorizationInfo.Builder |
newBuilderForType() |
protected AuthorizationInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AuthorizationInfo |
parseDelimitedFrom(InputStream input) |
static AuthorizationInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthorizationInfo |
parseFrom(byte[] data) |
static AuthorizationInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthorizationInfo |
parseFrom(ByteBuffer data) |
static AuthorizationInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthorizationInfo |
parseFrom(com.google.protobuf.ByteString data) |
static AuthorizationInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthorizationInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AuthorizationInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthorizationInfo |
parseFrom(InputStream input) |
static AuthorizationInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AuthorizationInfo> |
parser() |
AuthorizationInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int RESULT_FIELD_NUMBER
public static final int DRY_RUN_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
public static final int SUPER_USER_AUTHORIZATION_FIELD_NUMBER
public static final int ACL_AUTHORIZATION_FIELD_NUMBER
public static final int RBAC_AUTHORIZATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public AuthorizationInfo.AuthorizationCase getAuthorizationCase()
getAuthorizationCase
in interface AuthorizationInfoOrBuilder
public int getResultValue()
The result of this authorization check. Note that multiple checks may occur for a single request, and result in multiple audit log entries. If AuthorizationInfo is present, a non-default value must be set.
.auditlog.v2.AuthorizationInfo.Result result = 1;
getResultValue
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Result getResult()
The result of this authorization check. Note that multiple checks may occur for a single request, and result in multiple audit log entries. If AuthorizationInfo is present, a non-default value must be set.
.auditlog.v2.AuthorizationInfo.Result result = 1;
getResult
in interface AuthorizationInfoOrBuilder
public boolean getDryRun()
If `true`, the authorization check was performed as part of a dry-run request, without modifying state. Note that a `false` value may indicate that the request was effective, but it also allows for the possibility that the efficacy of the request was unspecified or untracked, and may not have actually been performed beyond the authorization check.
bool dry_run = 2 [(.confluent.protobuf.field_meta) = { ... }
getDryRun
in interface AuthorizationInfoOrBuilder
public String getOperation()
The operation being checked for authorization. This should correspond to the name of an operation that can be gated by access control. Examples: "Create", "Describe", "Alter", "Delete", "DescribeConfigs", "AlterConfigs", "DescribeAccess", "AlterAccess".
string operation = 3;
getOperation
in interface AuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getOperationBytes()
The operation being checked for authorization. This should correspond to the name of an operation that can be gated by access control. Examples: "Create", "Describe", "Alter", "Delete", "DescribeConfigs", "AlterConfigs", "DescribeAccess", "AlterAccess".
string operation = 3;
getOperationBytes
in interface AuthorizationInfoOrBuilder
public boolean hasSuperUserAuthorization()
If true, the authorization check was allowed because the principal is a super-user.
bool super_user_authorization = 7;
hasSuperUserAuthorization
in interface AuthorizationInfoOrBuilder
public boolean getSuperUserAuthorization()
If true, the authorization check was allowed because the principal is a super-user.
bool super_user_authorization = 7;
getSuperUserAuthorization
in interface AuthorizationInfoOrBuilder
public boolean hasAclAuthorization()
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
hasAclAuthorization
in interface AuthorizationInfoOrBuilder
public AclAuthorizationInfo getAclAuthorization()
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
getAclAuthorization
in interface AuthorizationInfoOrBuilder
public AclAuthorizationInfoOrBuilder getAclAuthorizationOrBuilder()
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
getAclAuthorizationOrBuilder
in interface AuthorizationInfoOrBuilder
public boolean hasRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
hasRbacAuthorization
in interface AuthorizationInfoOrBuilder
public RbacAuthorizationInfo getRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
getRbacAuthorization
in interface AuthorizationInfoOrBuilder
public RbacAuthorizationInfoOrBuilder getRbacAuthorizationOrBuilder()
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
getRbacAuthorizationOrBuilder
in interface AuthorizationInfoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static AuthorizationInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AuthorizationInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AuthorizationInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AuthorizationInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AuthorizationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AuthorizationInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AuthorizationInfo parseFrom(InputStream input) throws IOException
IOException
public static AuthorizationInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AuthorizationInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static AuthorizationInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AuthorizationInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static AuthorizationInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public AuthorizationInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static AuthorizationInfo.Builder newBuilder()
public static AuthorizationInfo.Builder newBuilder(AuthorizationInfo prototype)
public AuthorizationInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected AuthorizationInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static AuthorizationInfo getDefaultInstance()
public static com.google.protobuf.Parser<AuthorizationInfo> parser()
public com.google.protobuf.Parser<AuthorizationInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public AuthorizationInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder