public static final class V1Authorization.SubjectAccessReviewStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder> implements V1Authorization.SubjectAccessReviewStatusOrBuilder
SubjectAccessReviewStatusProtobuf type
k8s.io.api.authorization.v1.SubjectAccessReviewStatus| Modifier and Type | Method and Description |
|---|---|
V1Authorization.SubjectAccessReviewStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Authorization.SubjectAccessReviewStatus |
build() |
V1Authorization.SubjectAccessReviewStatus |
buildPartial() |
V1Authorization.SubjectAccessReviewStatus.Builder |
clear() |
V1Authorization.SubjectAccessReviewStatus.Builder |
clearAllowed()
Allowed is required.
|
V1Authorization.SubjectAccessReviewStatus.Builder |
clearEvaluationError()
EvaluationError is an indication that some error occurred during the authorization check.
|
V1Authorization.SubjectAccessReviewStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Authorization.SubjectAccessReviewStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Authorization.SubjectAccessReviewStatus.Builder |
clearReason()
Reason is optional.
|
V1Authorization.SubjectAccessReviewStatus.Builder |
clone() |
boolean |
getAllowed()
Allowed is required.
|
V1Authorization.SubjectAccessReviewStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEvaluationError()
EvaluationError is an indication that some error occurred during the authorization check.
|
com.google.protobuf.ByteString |
getEvaluationErrorBytes()
EvaluationError is an indication that some error occurred during the authorization check.
|
String |
getReason()
Reason is optional.
|
com.google.protobuf.ByteString |
getReasonBytes()
Reason is optional.
|
boolean |
hasAllowed()
Allowed is required.
|
boolean |
hasEvaluationError()
EvaluationError is an indication that some error occurred during the authorization check.
|
boolean |
hasReason()
Reason is optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Authorization.SubjectAccessReviewStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Authorization.SubjectAccessReviewStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Authorization.SubjectAccessReviewStatus.Builder |
mergeFrom(V1Authorization.SubjectAccessReviewStatus other) |
V1Authorization.SubjectAccessReviewStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Authorization.SubjectAccessReviewStatus.Builder |
setAllowed(boolean value)
Allowed is required.
|
V1Authorization.SubjectAccessReviewStatus.Builder |
setEvaluationError(String value)
EvaluationError is an indication that some error occurred during the authorization check.
|
V1Authorization.SubjectAccessReviewStatus.Builder |
setEvaluationErrorBytes(com.google.protobuf.ByteString value)
EvaluationError is an indication that some error occurred during the authorization check.
|
V1Authorization.SubjectAccessReviewStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Authorization.SubjectAccessReviewStatus.Builder |
setReason(String value)
Reason is optional.
|
V1Authorization.SubjectAccessReviewStatus.Builder |
setReasonBytes(com.google.protobuf.ByteString value)
Reason is optional.
|
V1Authorization.SubjectAccessReviewStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Authorization.SubjectAccessReviewStatus.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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public V1Authorization.SubjectAccessReviewStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.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.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public V1Authorization.SubjectAccessReviewStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Authorization.SubjectAccessReviewStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Authorization.SubjectAccessReviewStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Authorization.SubjectAccessReviewStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public V1Authorization.SubjectAccessReviewStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public V1Authorization.SubjectAccessReviewStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public V1Authorization.SubjectAccessReviewStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public V1Authorization.SubjectAccessReviewStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public V1Authorization.SubjectAccessReviewStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public V1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public V1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(V1Authorization.SubjectAccessReviewStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public V1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>IOExceptionpublic boolean hasAllowed()
Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;hasAllowed in interface V1Authorization.SubjectAccessReviewStatusOrBuilderpublic boolean getAllowed()
Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;getAllowed in interface V1Authorization.SubjectAccessReviewStatusOrBuilderpublic V1Authorization.SubjectAccessReviewStatus.Builder setAllowed(boolean value)
Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;public V1Authorization.SubjectAccessReviewStatus.Builder clearAllowed()
Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;public boolean hasReason()
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;hasReason in interface V1Authorization.SubjectAccessReviewStatusOrBuilderpublic String getReason()
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;getReason in interface V1Authorization.SubjectAccessReviewStatusOrBuilderpublic com.google.protobuf.ByteString getReasonBytes()
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;getReasonBytes in interface V1Authorization.SubjectAccessReviewStatusOrBuilderpublic V1Authorization.SubjectAccessReviewStatus.Builder setReason(String value)
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;public V1Authorization.SubjectAccessReviewStatus.Builder clearReason()
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;public V1Authorization.SubjectAccessReviewStatus.Builder setReasonBytes(com.google.protobuf.ByteString value)
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;public boolean hasEvaluationError()
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. +optional
optional string evaluationError = 3;hasEvaluationError in interface V1Authorization.SubjectAccessReviewStatusOrBuilderpublic String getEvaluationError()
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. +optional
optional string evaluationError = 3;getEvaluationError in interface V1Authorization.SubjectAccessReviewStatusOrBuilderpublic com.google.protobuf.ByteString getEvaluationErrorBytes()
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. +optional
optional string evaluationError = 3;getEvaluationErrorBytes in interface V1Authorization.SubjectAccessReviewStatusOrBuilderpublic V1Authorization.SubjectAccessReviewStatus.Builder setEvaluationError(String value)
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. +optional
optional string evaluationError = 3;public V1Authorization.SubjectAccessReviewStatus.Builder clearEvaluationError()
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. +optional
optional string evaluationError = 3;public V1Authorization.SubjectAccessReviewStatus.Builder setEvaluationErrorBytes(com.google.protobuf.ByteString value)
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. +optional
optional string evaluationError = 3;public final V1Authorization.SubjectAccessReviewStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>public final V1Authorization.SubjectAccessReviewStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>Copyright © 2018. All rights reserved.