Package io.kubernetes.client.proto
Class V1beta1Authorization.SubjectAccessReviewStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
io.kubernetes.client.proto.V1beta1Authorization.SubjectAccessReviewStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1beta1Authorization.SubjectAccessReviewStatusOrBuilder
,Cloneable
- Enclosing class:
- V1beta1Authorization.SubjectAccessReviewStatus
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.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()
boolean
Allowed is required.boolean
Denied is optional.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
EvaluationError is an indication that some error occurred during the authorization check.com.google.protobuf.ByteString
EvaluationError is an indication that some error occurred during the authorization check.Reason is optional.com.google.protobuf.ByteString
Reason is optional.boolean
Allowed is required.boolean
Denied is optional.boolean
EvaluationError is an indication that some error occurred during the authorization check.boolean
Reason is optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
setField
public V1beta1Authorization.SubjectAccessReviewStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
clearField
public V1beta1Authorization.SubjectAccessReviewStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
clearOneof
public V1beta1Authorization.SubjectAccessReviewStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
setRepeatedField
public V1beta1Authorization.SubjectAccessReviewStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
addRepeatedField
public V1beta1Authorization.SubjectAccessReviewStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
mergeFrom
public V1beta1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
mergeFrom
public V1beta1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(V1beta1Authorization.SubjectAccessReviewStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
mergeFrom
public V1beta1Authorization.SubjectAccessReviewStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Authorization.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:
hasAllowed
in interfaceV1beta1Authorization.SubjectAccessReviewStatusOrBuilder
-
getAllowed
public boolean getAllowed()Allowed is required. True if the action would be allowed, false otherwise.
optional bool allowed = 1;
- Specified by:
getAllowed
in interfaceV1beta1Authorization.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:
hasDenied
in interfaceV1beta1Authorization.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:
getDenied
in interfaceV1beta1Authorization.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:
hasReason
in interfaceV1beta1Authorization.SubjectAccessReviewStatusOrBuilder
-
getReason
Reason is optional. It indicates why a request was allowed or denied. +optional
optional string reason = 2;
- Specified by:
getReason
in interfaceV1beta1Authorization.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:
getReasonBytes
in interfaceV1beta1Authorization.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 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;
-
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:
hasEvaluationError
in interfaceV1beta1Authorization.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:
getEvaluationError
in interfaceV1beta1Authorization.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:
getEvaluationErrorBytes
in interfaceV1beta1Authorization.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 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;
-
setUnknownFields
public final V1beta1Authorization.SubjectAccessReviewStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-
mergeUnknownFields
public final V1beta1Authorization.SubjectAccessReviewStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.SubjectAccessReviewStatus.Builder>
-