public static final class V1beta1Authorization.SubjectAccessReviewStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder> implements V1beta1Authorization.SubjectAccessReviewStatusOrBuilder
SubjectAccessReviewStatusProtobuf type
k8s.io.api.authorization.v1beta1.SubjectAccessReviewStatusgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public V1beta1Authorization.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<V1beta1Authorization.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<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public V1beta1Authorization.SubjectAccessReviewStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Authorization.SubjectAccessReviewStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Authorization.SubjectAccessReviewStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Authorization.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<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public V1beta1Authorization.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<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public V1beta1Authorization.SubjectAccessReviewStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public V1beta1Authorization.SubjectAccessReviewStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public V1beta1Authorization.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<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public V1beta1Authorization.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<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public V1beta1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public V1beta1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(V1beta1Authorization.SubjectAccessReviewStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public V1beta1Authorization.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<V1beta1Authorization.SubjectAccessReviewStatus.Builder>IOExceptionpublic boolean hasAllowed()
Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;hasAllowed in interface V1beta1Authorization.SubjectAccessReviewStatusOrBuilderpublic boolean getAllowed()
Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;getAllowed in interface V1beta1Authorization.SubjectAccessReviewStatusOrBuilderpublic V1beta1Authorization.SubjectAccessReviewStatus.Builder setAllowed(boolean value)
Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;public V1beta1Authorization.SubjectAccessReviewStatus.Builder clearAllowed()
Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;public boolean hasDenied()
Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. +optional
optional bool denied = 4;hasDenied in interface V1beta1Authorization.SubjectAccessReviewStatusOrBuilderpublic boolean getDenied()
Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. +optional
optional bool denied = 4;getDenied in interface V1beta1Authorization.SubjectAccessReviewStatusOrBuilderpublic V1beta1Authorization.SubjectAccessReviewStatus.Builder setDenied(boolean value)
Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. +optional
optional bool denied = 4;public V1beta1Authorization.SubjectAccessReviewStatus.Builder clearDenied()
Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. +optional
optional bool denied = 4;public boolean hasReason()
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;hasReason in interface V1beta1Authorization.SubjectAccessReviewStatusOrBuilderpublic String getReason()
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;getReason in interface V1beta1Authorization.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 V1beta1Authorization.SubjectAccessReviewStatusOrBuilderpublic V1beta1Authorization.SubjectAccessReviewStatus.Builder setReason(String value)
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;public V1beta1Authorization.SubjectAccessReviewStatus.Builder clearReason()
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;public V1beta1Authorization.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 V1beta1Authorization.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 V1beta1Authorization.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 V1beta1Authorization.SubjectAccessReviewStatusOrBuilderpublic V1beta1Authorization.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 V1beta1Authorization.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 V1beta1Authorization.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 V1beta1Authorization.SubjectAccessReviewStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>public final V1beta1Authorization.SubjectAccessReviewStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>Copyright © 2023. All rights reserved.