public static final class AuthorizationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder> implements AuthorizationInfoOrBuilder
auditlog.v2.AuthorizationInfo
Modifier and Type | Method and Description |
---|---|
AuthorizationInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AuthorizationInfo |
build() |
AuthorizationInfo |
buildPartial() |
AuthorizationInfo.Builder |
clear() |
AuthorizationInfo.Builder |
clearAclAuthorization()
An ACL rule that resulted in the authorization check being denied
or allowed.
|
AuthorizationInfo.Builder |
clearAuthorization() |
AuthorizationInfo.Builder |
clearDryRun()
If `true`, the authorization check was performed as part of a dry-run
request, without modifying state.
|
AuthorizationInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AuthorizationInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AuthorizationInfo.Builder |
clearOperation()
The operation being checked for authorization.
|
AuthorizationInfo.Builder |
clearRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
|
AuthorizationInfo.Builder |
clearResult()
The result of this authorization check.
|
AuthorizationInfo.Builder |
clearSuperUserAuthorization()
If true, the authorization check was allowed because the principal
is a super-user.
|
AuthorizationInfo.Builder |
clone() |
AclAuthorizationInfo |
getAclAuthorization()
An ACL rule that resulted in the authorization check being denied
or allowed.
|
AclAuthorizationInfo.Builder |
getAclAuthorizationBuilder()
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() |
AuthorizationInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
RbacAuthorizationInfo |
getRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
|
RbacAuthorizationInfo.Builder |
getRbacAuthorizationBuilder()
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.
|
boolean |
getSuperUserAuthorization()
If true, the authorization check was allowed because the principal
is a super-user.
|
boolean |
hasAclAuthorization()
An ACL rule that resulted in the authorization check being denied
or allowed.
|
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() |
AuthorizationInfo.Builder |
mergeAclAuthorization(AclAuthorizationInfo value)
An ACL rule that resulted in the authorization check being denied
or allowed.
|
AuthorizationInfo.Builder |
mergeFrom(AuthorizationInfo other) |
AuthorizationInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AuthorizationInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
AuthorizationInfo.Builder |
mergeRbacAuthorization(RbacAuthorizationInfo value)
A RBAC rule that resulted in the authorization check being allowed.
|
AuthorizationInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AuthorizationInfo.Builder |
setAclAuthorization(AclAuthorizationInfo.Builder builderForValue)
An ACL rule that resulted in the authorization check being denied
or allowed.
|
AuthorizationInfo.Builder |
setAclAuthorization(AclAuthorizationInfo value)
An ACL rule that resulted in the authorization check being denied
or allowed.
|
AuthorizationInfo.Builder |
setDryRun(boolean value)
If `true`, the authorization check was performed as part of a dry-run
request, without modifying state.
|
AuthorizationInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AuthorizationInfo.Builder |
setOperation(String value)
The operation being checked for authorization.
|
AuthorizationInfo.Builder |
setOperationBytes(com.google.protobuf.ByteString value)
The operation being checked for authorization.
|
AuthorizationInfo.Builder |
setRbacAuthorization(RbacAuthorizationInfo.Builder builderForValue)
A RBAC rule that resulted in the authorization check being allowed.
|
AuthorizationInfo.Builder |
setRbacAuthorization(RbacAuthorizationInfo value)
A RBAC rule that resulted in the authorization check being allowed.
|
AuthorizationInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AuthorizationInfo.Builder |
setResult(AuthorizationInfo.Result value)
The result of this authorization check.
|
AuthorizationInfo.Builder |
setResultValue(int value)
The result of this authorization check.
|
AuthorizationInfo.Builder |
setSuperUserAuthorization(boolean value)
If true, the authorization check was allowed because the principal
is a super-user.
|
AuthorizationInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public AuthorizationInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public AuthorizationInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AuthorizationInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AuthorizationInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AuthorizationInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public AuthorizationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public AuthorizationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public AuthorizationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public AuthorizationInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public AuthorizationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public AuthorizationInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AuthorizationInfo.Builder>
public AuthorizationInfo.Builder mergeFrom(AuthorizationInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public AuthorizationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AuthorizationInfo.Builder>
IOException
public AuthorizationInfo.AuthorizationCase getAuthorizationCase()
getAuthorizationCase
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Builder clearAuthorization()
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.Builder setResultValue(int value)
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;
value
- The enum numeric value on the wire for result to set.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 AuthorizationInfo.Builder setResult(AuthorizationInfo.Result value)
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;
value
- The result to set.public AuthorizationInfo.Builder clearResult()
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;
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 AuthorizationInfo.Builder setDryRun(boolean value)
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) = { ... }
value
- The dryRun to set.public AuthorizationInfo.Builder clearDryRun()
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) = { ... }
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 AuthorizationInfo.Builder setOperation(String value)
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;
value
- The operation to set.public AuthorizationInfo.Builder clearOperation()
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;
public AuthorizationInfo.Builder setOperationBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for operation to set.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 AuthorizationInfo.Builder setSuperUserAuthorization(boolean value)
If true, the authorization check was allowed because the principal is a super-user.
bool super_user_authorization = 7;
value
- The superUserAuthorization to set.public AuthorizationInfo.Builder clearSuperUserAuthorization()
If true, the authorization check was allowed because the principal is a super-user.
bool super_user_authorization = 7;
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 AuthorizationInfo.Builder setAclAuthorization(AclAuthorizationInfo value)
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
public AuthorizationInfo.Builder setAclAuthorization(AclAuthorizationInfo.Builder builderForValue)
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
public AuthorizationInfo.Builder mergeAclAuthorization(AclAuthorizationInfo value)
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
public AuthorizationInfo.Builder clearAclAuthorization()
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
public AclAuthorizationInfo.Builder getAclAuthorizationBuilder()
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
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 AuthorizationInfo.Builder setRbacAuthorization(RbacAuthorizationInfo value)
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
public AuthorizationInfo.Builder setRbacAuthorization(RbacAuthorizationInfo.Builder builderForValue)
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
public AuthorizationInfo.Builder mergeRbacAuthorization(RbacAuthorizationInfo value)
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
public AuthorizationInfo.Builder clearRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
public RbacAuthorizationInfo.Builder getRbacAuthorizationBuilder()
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
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 AuthorizationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>
public final AuthorizationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder>