public static final class AuthorizationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationInfo.Builder> implements AuthorizationInfoOrBuilder
audit.AuthorizationInfo
Modifier and Type | Method and Description |
---|---|
AuthorizationInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
AuthorizationInfo |
build() |
AuthorizationInfo |
buildPartial() |
AuthorizationInfo.Builder |
clear() |
AuthorizationInfo.Builder |
clearAclAuthorization()
.audit.AclAuthorizationInfo acl_authorization = 6; |
AuthorizationInfo.Builder |
clearAuthorization() |
AuthorizationInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AuthorizationInfo.Builder |
clearGranted()
whether the requested Authorization is allowed
|
AuthorizationInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AuthorizationInfo.Builder |
clearOperation()
The operation being authorized
|
AuthorizationInfo.Builder |
clearPatternType()
The kind of resource pattern used to match the resource
|
AuthorizationInfo.Builder |
clearRbacAuthorization()
.audit.RbacAuthorizationInfo rbac_authorization = 7; |
AuthorizationInfo.Builder |
clearResourceName()
The name of the resource
|
AuthorizationInfo.Builder |
clearResourceType()
The resource type the operation is on
|
AuthorizationInfo.Builder |
clearSuperUserAuthorization()
bool super_user_authorization = 8; |
AuthorizationInfo.Builder |
clone() |
AclAuthorizationInfo |
getAclAuthorization()
.audit.AclAuthorizationInfo acl_authorization = 6; |
AclAuthorizationInfo.Builder |
getAclAuthorizationBuilder()
.audit.AclAuthorizationInfo acl_authorization = 6; |
AclAuthorizationInfoOrBuilder |
getAclAuthorizationOrBuilder()
.audit.AclAuthorizationInfo acl_authorization = 6; |
AuthorizationInfo.AuthorizationCase |
getAuthorizationCase() |
AuthorizationInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getGranted()
whether the requested Authorization is allowed
|
java.lang.String |
getOperation()
The operation being authorized
|
com.google.protobuf.ByteString |
getOperationBytes()
The operation being authorized
|
java.lang.String |
getPatternType()
The kind of resource pattern used to match the resource
|
com.google.protobuf.ByteString |
getPatternTypeBytes()
The kind of resource pattern used to match the resource
|
RbacAuthorizationInfo |
getRbacAuthorization()
.audit.RbacAuthorizationInfo rbac_authorization = 7; |
RbacAuthorizationInfo.Builder |
getRbacAuthorizationBuilder()
.audit.RbacAuthorizationInfo rbac_authorization = 7; |
RbacAuthorizationInfoOrBuilder |
getRbacAuthorizationOrBuilder()
.audit.RbacAuthorizationInfo rbac_authorization = 7; |
java.lang.String |
getResourceName()
The name of the resource
|
com.google.protobuf.ByteString |
getResourceNameBytes()
The name of the resource
|
java.lang.String |
getResourceType()
The resource type the operation is on
|
com.google.protobuf.ByteString |
getResourceTypeBytes()
The resource type the operation is on
|
boolean |
getSuperUserAuthorization()
bool super_user_authorization = 8; |
boolean |
hasAclAuthorization()
.audit.AclAuthorizationInfo acl_authorization = 6; |
boolean |
hasRbacAuthorization()
.audit.RbacAuthorizationInfo rbac_authorization = 7; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AuthorizationInfo.Builder |
mergeAclAuthorization(AclAuthorizationInfo value)
.audit.AclAuthorizationInfo acl_authorization = 6; |
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)
.audit.RbacAuthorizationInfo rbac_authorization = 7; |
AuthorizationInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AuthorizationInfo.Builder |
setAclAuthorization(AclAuthorizationInfo.Builder builderForValue)
.audit.AclAuthorizationInfo acl_authorization = 6; |
AuthorizationInfo.Builder |
setAclAuthorization(AclAuthorizationInfo value)
.audit.AclAuthorizationInfo acl_authorization = 6; |
AuthorizationInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
AuthorizationInfo.Builder |
setGranted(boolean value)
whether the requested Authorization is allowed
|
AuthorizationInfo.Builder |
setOperation(java.lang.String value)
The operation being authorized
|
AuthorizationInfo.Builder |
setOperationBytes(com.google.protobuf.ByteString value)
The operation being authorized
|
AuthorizationInfo.Builder |
setPatternType(java.lang.String value)
The kind of resource pattern used to match the resource
|
AuthorizationInfo.Builder |
setPatternTypeBytes(com.google.protobuf.ByteString value)
The kind of resource pattern used to match the resource
|
AuthorizationInfo.Builder |
setRbacAuthorization(RbacAuthorizationInfo.Builder builderForValue)
.audit.RbacAuthorizationInfo rbac_authorization = 7; |
AuthorizationInfo.Builder |
setRbacAuthorization(RbacAuthorizationInfo value)
.audit.RbacAuthorizationInfo rbac_authorization = 7; |
AuthorizationInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
AuthorizationInfo.Builder |
setResourceName(java.lang.String value)
The name of the resource
|
AuthorizationInfo.Builder |
setResourceNameBytes(com.google.protobuf.ByteString value)
The name of the resource
|
AuthorizationInfo.Builder |
setResourceType(java.lang.String value)
The resource type the operation is on
|
AuthorizationInfo.Builder |
setResourceTypeBytes(com.google.protobuf.ByteString value)
The resource type the operation is on
|
AuthorizationInfo.Builder |
setSuperUserAuthorization(boolean value)
bool super_user_authorization = 8; |
AuthorizationInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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, java.lang.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, java.lang.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, java.lang.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 java.io.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>
java.io.IOException
public AuthorizationInfo.AuthorizationCase getAuthorizationCase()
getAuthorizationCase
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Builder clearAuthorization()
public boolean getGranted()
whether the requested Authorization is allowed
bool granted = 1;
getGranted
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Builder setGranted(boolean value)
whether the requested Authorization is allowed
bool granted = 1;
public AuthorizationInfo.Builder clearGranted()
whether the requested Authorization is allowed
bool granted = 1;
public java.lang.String getOperation()
The operation being authorized
string operation = 2;
getOperation
in interface AuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getOperationBytes()
The operation being authorized
string operation = 2;
getOperationBytes
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Builder setOperation(java.lang.String value)
The operation being authorized
string operation = 2;
public AuthorizationInfo.Builder clearOperation()
The operation being authorized
string operation = 2;
public AuthorizationInfo.Builder setOperationBytes(com.google.protobuf.ByteString value)
The operation being authorized
string operation = 2;
public java.lang.String getResourceType()
The resource type the operation is on
string resource_type = 3;
getResourceType
in interface AuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getResourceTypeBytes()
The resource type the operation is on
string resource_type = 3;
getResourceTypeBytes
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Builder setResourceType(java.lang.String value)
The resource type the operation is on
string resource_type = 3;
public AuthorizationInfo.Builder clearResourceType()
The resource type the operation is on
string resource_type = 3;
public AuthorizationInfo.Builder setResourceTypeBytes(com.google.protobuf.ByteString value)
The resource type the operation is on
string resource_type = 3;
public java.lang.String getResourceName()
The name of the resource
string resource_name = 4;
getResourceName
in interface AuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getResourceNameBytes()
The name of the resource
string resource_name = 4;
getResourceNameBytes
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Builder setResourceName(java.lang.String value)
The name of the resource
string resource_name = 4;
public AuthorizationInfo.Builder clearResourceName()
The name of the resource
string resource_name = 4;
public AuthorizationInfo.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
The name of the resource
string resource_name = 4;
public java.lang.String getPatternType()
The kind of resource pattern used to match the resource
string pattern_type = 5;
getPatternType
in interface AuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getPatternTypeBytes()
The kind of resource pattern used to match the resource
string pattern_type = 5;
getPatternTypeBytes
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Builder setPatternType(java.lang.String value)
The kind of resource pattern used to match the resource
string pattern_type = 5;
public AuthorizationInfo.Builder clearPatternType()
The kind of resource pattern used to match the resource
string pattern_type = 5;
public AuthorizationInfo.Builder setPatternTypeBytes(com.google.protobuf.ByteString value)
The kind of resource pattern used to match the resource
string pattern_type = 5;
public boolean hasAclAuthorization()
.audit.AclAuthorizationInfo acl_authorization = 6;
hasAclAuthorization
in interface AuthorizationInfoOrBuilder
public AclAuthorizationInfo getAclAuthorization()
.audit.AclAuthorizationInfo acl_authorization = 6;
getAclAuthorization
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Builder setAclAuthorization(AclAuthorizationInfo value)
.audit.AclAuthorizationInfo acl_authorization = 6;
public AuthorizationInfo.Builder setAclAuthorization(AclAuthorizationInfo.Builder builderForValue)
.audit.AclAuthorizationInfo acl_authorization = 6;
public AuthorizationInfo.Builder mergeAclAuthorization(AclAuthorizationInfo value)
.audit.AclAuthorizationInfo acl_authorization = 6;
public AuthorizationInfo.Builder clearAclAuthorization()
.audit.AclAuthorizationInfo acl_authorization = 6;
public AclAuthorizationInfo.Builder getAclAuthorizationBuilder()
.audit.AclAuthorizationInfo acl_authorization = 6;
public AclAuthorizationInfoOrBuilder getAclAuthorizationOrBuilder()
.audit.AclAuthorizationInfo acl_authorization = 6;
getAclAuthorizationOrBuilder
in interface AuthorizationInfoOrBuilder
public boolean hasRbacAuthorization()
.audit.RbacAuthorizationInfo rbac_authorization = 7;
hasRbacAuthorization
in interface AuthorizationInfoOrBuilder
public RbacAuthorizationInfo getRbacAuthorization()
.audit.RbacAuthorizationInfo rbac_authorization = 7;
getRbacAuthorization
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Builder setRbacAuthorization(RbacAuthorizationInfo value)
.audit.RbacAuthorizationInfo rbac_authorization = 7;
public AuthorizationInfo.Builder setRbacAuthorization(RbacAuthorizationInfo.Builder builderForValue)
.audit.RbacAuthorizationInfo rbac_authorization = 7;
public AuthorizationInfo.Builder mergeRbacAuthorization(RbacAuthorizationInfo value)
.audit.RbacAuthorizationInfo rbac_authorization = 7;
public AuthorizationInfo.Builder clearRbacAuthorization()
.audit.RbacAuthorizationInfo rbac_authorization = 7;
public RbacAuthorizationInfo.Builder getRbacAuthorizationBuilder()
.audit.RbacAuthorizationInfo rbac_authorization = 7;
public RbacAuthorizationInfoOrBuilder getRbacAuthorizationOrBuilder()
.audit.RbacAuthorizationInfo rbac_authorization = 7;
getRbacAuthorizationOrBuilder
in interface AuthorizationInfoOrBuilder
public boolean getSuperUserAuthorization()
bool super_user_authorization = 8;
getSuperUserAuthorization
in interface AuthorizationInfoOrBuilder
public AuthorizationInfo.Builder setSuperUserAuthorization(boolean value)
bool super_user_authorization = 8;
public AuthorizationInfo.Builder clearSuperUserAuthorization()
bool super_user_authorization = 8;
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>