public static final class AccessDeniedErrorDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<AccessDeniedErrorDetails.Builder> implements AccessDeniedErrorDetailsOrBuilder
Details for ACCESS_DENIED errors.Protobuf type
kurrent.rpc.AccessDeniedErrorDetails| Modifier and Type | Method and Description |
|---|---|
AccessDeniedErrorDetails |
build() |
AccessDeniedErrorDetails |
buildPartial() |
AccessDeniedErrorDetails.Builder |
clear() |
AccessDeniedErrorDetails.Builder |
clearOperation()
The friendly name of the operation that was denied.
|
AccessDeniedErrorDetails.Builder |
clearPermission()
The permission that was required for this operation.
|
AccessDeniedErrorDetails.Builder |
clearUsername()
The username of the user who was denied access.
|
AccessDeniedErrorDetails |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getOperation()
The friendly name of the operation that was denied.
|
com.google.protobuf.ByteString |
getOperationBytes()
The friendly name of the operation that was denied.
|
java.lang.String |
getPermission()
The permission that was required for this operation.
|
com.google.protobuf.ByteString |
getPermissionBytes()
The permission that was required for this operation.
|
java.lang.String |
getUsername()
The username of the user who was denied access.
|
com.google.protobuf.ByteString |
getUsernameBytes()
The username of the user who was denied access.
|
boolean |
hasPermission()
The permission that was required for this operation.
|
boolean |
hasUsername()
The username of the user who was denied access.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AccessDeniedErrorDetails.Builder |
mergeFrom(AccessDeniedErrorDetails other) |
AccessDeniedErrorDetails.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AccessDeniedErrorDetails.Builder |
mergeFrom(com.google.protobuf.Message other) |
AccessDeniedErrorDetails.Builder |
setOperation(java.lang.String value)
The friendly name of the operation that was denied.
|
AccessDeniedErrorDetails.Builder |
setOperationBytes(com.google.protobuf.ByteString value)
The friendly name of the operation that was denied.
|
AccessDeniedErrorDetails.Builder |
setPermission(java.lang.String value)
The permission that was required for this operation.
|
AccessDeniedErrorDetails.Builder |
setPermissionBytes(com.google.protobuf.ByteString value)
The permission that was required for this operation.
|
AccessDeniedErrorDetails.Builder |
setUsername(java.lang.String value)
The username of the user who was denied access.
|
AccessDeniedErrorDetails.Builder |
setUsernameBytes(com.google.protobuf.ByteString value)
The username of the user who was denied access.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AccessDeniedErrorDetails.Builder>public AccessDeniedErrorDetails.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AccessDeniedErrorDetails.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AccessDeniedErrorDetails.Builder>public AccessDeniedErrorDetails getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AccessDeniedErrorDetails build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AccessDeniedErrorDetails buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AccessDeniedErrorDetails.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AccessDeniedErrorDetails.Builder>public AccessDeniedErrorDetails.Builder mergeFrom(AccessDeniedErrorDetails other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AccessDeniedErrorDetails.Builder>public AccessDeniedErrorDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AccessDeniedErrorDetails.Builder>java.io.IOExceptionpublic java.lang.String getOperation()
The friendly name of the operation that was denied.
string operation = 1;getOperation in interface AccessDeniedErrorDetailsOrBuilderpublic com.google.protobuf.ByteString getOperationBytes()
The friendly name of the operation that was denied.
string operation = 1;getOperationBytes in interface AccessDeniedErrorDetailsOrBuilderpublic AccessDeniedErrorDetails.Builder setOperation(java.lang.String value)
The friendly name of the operation that was denied.
string operation = 1;value - The operation to set.public AccessDeniedErrorDetails.Builder clearOperation()
The friendly name of the operation that was denied.
string operation = 1;public AccessDeniedErrorDetails.Builder setOperationBytes(com.google.protobuf.ByteString value)
The friendly name of the operation that was denied.
string operation = 1;value - The bytes for operation to set.public boolean hasUsername()
The username of the user who was denied access.
optional string username = 2;hasUsername in interface AccessDeniedErrorDetailsOrBuilderpublic java.lang.String getUsername()
The username of the user who was denied access.
optional string username = 2;getUsername in interface AccessDeniedErrorDetailsOrBuilderpublic com.google.protobuf.ByteString getUsernameBytes()
The username of the user who was denied access.
optional string username = 2;getUsernameBytes in interface AccessDeniedErrorDetailsOrBuilderpublic AccessDeniedErrorDetails.Builder setUsername(java.lang.String value)
The username of the user who was denied access.
optional string username = 2;value - The username to set.public AccessDeniedErrorDetails.Builder clearUsername()
The username of the user who was denied access.
optional string username = 2;public AccessDeniedErrorDetails.Builder setUsernameBytes(com.google.protobuf.ByteString value)
The username of the user who was denied access.
optional string username = 2;value - The bytes for username to set.public boolean hasPermission()
The permission that was required for this operation.
optional string permission = 3;hasPermission in interface AccessDeniedErrorDetailsOrBuilderpublic java.lang.String getPermission()
The permission that was required for this operation.
optional string permission = 3;getPermission in interface AccessDeniedErrorDetailsOrBuilderpublic com.google.protobuf.ByteString getPermissionBytes()
The permission that was required for this operation.
optional string permission = 3;getPermissionBytes in interface AccessDeniedErrorDetailsOrBuilderpublic AccessDeniedErrorDetails.Builder setPermission(java.lang.String value)
The permission that was required for this operation.
optional string permission = 3;value - The permission to set.public AccessDeniedErrorDetails.Builder clearPermission()
The permission that was required for this operation.
optional string permission = 3;public AccessDeniedErrorDetails.Builder setPermissionBytes(com.google.protobuf.ByteString value)
The permission that was required for this operation.
optional string permission = 3;value - The bytes for permission to set.