Package io.kubernetes.client.proto
Class V1Authorization.SubjectAccessReviewStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
io.kubernetes.client.proto.V1Authorization.SubjectAccessReviewStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Authorization.SubjectAccessReviewStatusOrBuilder,Cloneable
- Enclosing class:
- V1Authorization.SubjectAccessReviewStatus
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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Allowed is required.Denied is optional.EvaluationError is an indication that some error occurred during the authorization check.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Reason is optional.clone()booleanAllowed is required.booleanDenied is optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEvaluationError is an indication that some error occurred during the authorization check.com.google.protobuf.ByteStringEvaluationError is an indication that some error occurred during the authorization check.Reason is optional.com.google.protobuf.ByteStringReason is optional.booleanAllowed is required.booleanDenied is optional.booleanEvaluationError is an indication that some error occurred during the authorization check.booleanReason is optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAllowed(boolean value) Allowed is required.setDenied(boolean value) Denied is optional.setEvaluationError(String value) EvaluationError is an indication that some error occurred during the authorization check.setEvaluationErrorBytes(com.google.protobuf.ByteString value) EvaluationError is an indication that some error occurred during the authorization check.Reason is optional.setReasonBytes(com.google.protobuf.ByteString value) Reason is optional.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
setField
public V1Authorization.SubjectAccessReviewStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
clearField
public V1Authorization.SubjectAccessReviewStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
clearOneof
public V1Authorization.SubjectAccessReviewStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
setRepeatedField
public V1Authorization.SubjectAccessReviewStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
addRepeatedField
public V1Authorization.SubjectAccessReviewStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
mergeFrom
public V1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
mergeFrom
public V1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(V1Authorization.SubjectAccessReviewStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
mergeFrom
public V1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>- Throws:
IOException
-
hasAllowed
public boolean hasAllowed()Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;- Specified by:
hasAllowedin interfaceV1Authorization.SubjectAccessReviewStatusOrBuilder
-
getAllowed
public boolean getAllowed()Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;- Specified by:
getAllowedin interfaceV1Authorization.SubjectAccessReviewStatusOrBuilder
-
setAllowed
Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1; -
clearAllowed
Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1; -
hasDenied
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;- Specified by:
hasDeniedin interfaceV1Authorization.SubjectAccessReviewStatusOrBuilder
-
getDenied
public 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;- Specified by:
getDeniedin interfaceV1Authorization.SubjectAccessReviewStatusOrBuilder
-
setDenied
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; -
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; -
hasReason
public boolean hasReason()Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;- Specified by:
hasReasonin interfaceV1Authorization.SubjectAccessReviewStatusOrBuilder
-
getReason
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;- Specified by:
getReasonin interfaceV1Authorization.SubjectAccessReviewStatusOrBuilder
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;- Specified by:
getReasonBytesin interfaceV1Authorization.SubjectAccessReviewStatusOrBuilder
-
setReason
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2; -
clearReason
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2; -
setReasonBytes
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; -
hasEvaluationError
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;- Specified by:
hasEvaluationErrorin interfaceV1Authorization.SubjectAccessReviewStatusOrBuilder
-
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;- Specified by:
getEvaluationErrorin interfaceV1Authorization.SubjectAccessReviewStatusOrBuilder
-
getEvaluationErrorBytes
public 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;- Specified by:
getEvaluationErrorBytesin interfaceV1Authorization.SubjectAccessReviewStatusOrBuilder
-
setEvaluationError
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; -
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; -
setEvaluationErrorBytes
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; -
setUnknownFields
public final V1Authorization.SubjectAccessReviewStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-
mergeUnknownFields
public final V1Authorization.SubjectAccessReviewStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.SubjectAccessReviewStatus.Builder>
-