public static final class V1Authorization.SubjectRulesReviewStatus extends com.google.protobuf.GeneratedMessageV3 implements V1Authorization.SubjectRulesReviewStatusOrBuilder
SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.Protobuf type
k8s.io.api.authorization.v1.SubjectRulesReviewStatus| Modifier and Type | Class and Description |
|---|---|
static class |
V1Authorization.SubjectRulesReviewStatus.Builder
SubjectRulesReviewStatus contains the result of a rules check.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
EVALUATIONERROR_FIELD_NUMBER |
static int |
INCOMPLETE_FIELD_NUMBER |
static int |
NONRESOURCERULES_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Authorization.SubjectRulesReviewStatus> |
PARSER
Deprecated.
|
static int |
RESOURCERULES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1Authorization.SubjectRulesReviewStatus |
getDefaultInstance() |
V1Authorization.SubjectRulesReviewStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEvaluationError()
EvaluationError can appear in combination with Rules.
|
com.google.protobuf.ByteString |
getEvaluationErrorBytes()
EvaluationError can appear in combination with Rules.
|
boolean |
getIncomplete()
Incomplete is true when the rules returned by this call are incomplete.
|
V1Authorization.NonResourceRule |
getNonResourceRules(int index)
NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
|
int |
getNonResourceRulesCount()
NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
|
List<V1Authorization.NonResourceRule> |
getNonResourceRulesList()
NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
|
V1Authorization.NonResourceRuleOrBuilder |
getNonResourceRulesOrBuilder(int index)
NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
|
List<? extends V1Authorization.NonResourceRuleOrBuilder> |
getNonResourceRulesOrBuilderList()
NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
|
com.google.protobuf.Parser<V1Authorization.SubjectRulesReviewStatus> |
getParserForType() |
V1Authorization.ResourceRule |
getResourceRules(int index)
ResourceRules is the list of actions the subject is allowed to perform on resources.
|
int |
getResourceRulesCount()
ResourceRules is the list of actions the subject is allowed to perform on resources.
|
List<V1Authorization.ResourceRule> |
getResourceRulesList()
ResourceRules is the list of actions the subject is allowed to perform on resources.
|
V1Authorization.ResourceRuleOrBuilder |
getResourceRulesOrBuilder(int index)
ResourceRules is the list of actions the subject is allowed to perform on resources.
|
List<? extends V1Authorization.ResourceRuleOrBuilder> |
getResourceRulesOrBuilderList()
ResourceRules is the list of actions the subject is allowed to perform on resources.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEvaluationError()
EvaluationError can appear in combination with Rules.
|
int |
hashCode() |
boolean |
hasIncomplete()
Incomplete is true when the rules returned by this call are incomplete.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1Authorization.SubjectRulesReviewStatus.Builder |
newBuilder() |
static V1Authorization.SubjectRulesReviewStatus.Builder |
newBuilder(V1Authorization.SubjectRulesReviewStatus prototype) |
V1Authorization.SubjectRulesReviewStatus.Builder |
newBuilderForType() |
protected V1Authorization.SubjectRulesReviewStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Authorization.SubjectRulesReviewStatus |
parseDelimitedFrom(InputStream input) |
static V1Authorization.SubjectRulesReviewStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authorization.SubjectRulesReviewStatus |
parseFrom(byte[] data) |
static V1Authorization.SubjectRulesReviewStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authorization.SubjectRulesReviewStatus |
parseFrom(ByteBuffer data) |
static V1Authorization.SubjectRulesReviewStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authorization.SubjectRulesReviewStatus |
parseFrom(com.google.protobuf.ByteString data) |
static V1Authorization.SubjectRulesReviewStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authorization.SubjectRulesReviewStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Authorization.SubjectRulesReviewStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authorization.SubjectRulesReviewStatus |
parseFrom(InputStream input) |
static V1Authorization.SubjectRulesReviewStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Authorization.SubjectRulesReviewStatus> |
parser() |
V1Authorization.SubjectRulesReviewStatus.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int RESOURCERULES_FIELD_NUMBER
public static final int NONRESOURCERULES_FIELD_NUMBER
public static final int INCOMPLETE_FIELD_NUMBER
public static final int EVALUATIONERROR_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Authorization.SubjectRulesReviewStatus> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<V1Authorization.ResourceRule> getResourceRulesList()
ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
repeated .k8s.io.api.authorization.v1.ResourceRule resourceRules = 1;getResourceRulesList in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic List<? extends V1Authorization.ResourceRuleOrBuilder> getResourceRulesOrBuilderList()
ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
repeated .k8s.io.api.authorization.v1.ResourceRule resourceRules = 1;getResourceRulesOrBuilderList in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic int getResourceRulesCount()
ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
repeated .k8s.io.api.authorization.v1.ResourceRule resourceRules = 1;getResourceRulesCount in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic V1Authorization.ResourceRule getResourceRules(int index)
ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
repeated .k8s.io.api.authorization.v1.ResourceRule resourceRules = 1;getResourceRules in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic V1Authorization.ResourceRuleOrBuilder getResourceRulesOrBuilder(int index)
ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
repeated .k8s.io.api.authorization.v1.ResourceRule resourceRules = 1;getResourceRulesOrBuilder in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic List<V1Authorization.NonResourceRule> getNonResourceRulesList()
NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
repeated .k8s.io.api.authorization.v1.NonResourceRule nonResourceRules = 2;getNonResourceRulesList in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic List<? extends V1Authorization.NonResourceRuleOrBuilder> getNonResourceRulesOrBuilderList()
NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
repeated .k8s.io.api.authorization.v1.NonResourceRule nonResourceRules = 2;getNonResourceRulesOrBuilderList in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic int getNonResourceRulesCount()
NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
repeated .k8s.io.api.authorization.v1.NonResourceRule nonResourceRules = 2;getNonResourceRulesCount in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic V1Authorization.NonResourceRule getNonResourceRules(int index)
NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
repeated .k8s.io.api.authorization.v1.NonResourceRule nonResourceRules = 2;getNonResourceRules in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic V1Authorization.NonResourceRuleOrBuilder getNonResourceRulesOrBuilder(int index)
NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
repeated .k8s.io.api.authorization.v1.NonResourceRule nonResourceRules = 2;getNonResourceRulesOrBuilder in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic boolean hasIncomplete()
Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
optional bool incomplete = 3;hasIncomplete in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic boolean getIncomplete()
Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
optional bool incomplete = 3;getIncomplete in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic boolean hasEvaluationError()
EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. +optional
optional string evaluationError = 4;hasEvaluationError in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic String getEvaluationError()
EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. +optional
optional string evaluationError = 4;getEvaluationError in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic com.google.protobuf.ByteString getEvaluationErrorBytes()
EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. +optional
optional string evaluationError = 4;getEvaluationErrorBytes in interface V1Authorization.SubjectRulesReviewStatusOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1Authorization.SubjectRulesReviewStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Authorization.SubjectRulesReviewStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Authorization.SubjectRulesReviewStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Authorization.SubjectRulesReviewStatus.Builder newBuilder()
public static V1Authorization.SubjectRulesReviewStatus.Builder newBuilder(V1Authorization.SubjectRulesReviewStatus prototype)
public V1Authorization.SubjectRulesReviewStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Authorization.SubjectRulesReviewStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Authorization.SubjectRulesReviewStatus getDefaultInstance()
public static com.google.protobuf.Parser<V1Authorization.SubjectRulesReviewStatus> parser()
public com.google.protobuf.Parser<V1Authorization.SubjectRulesReviewStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Authorization.SubjectRulesReviewStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.