public static final class V1beta1Authorization.LocalSubjectAccessReview.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.LocalSubjectAccessReview.Builder> implements V1beta1Authorization.LocalSubjectAccessReviewOrBuilder
LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.Protobuf type
k8s.io.api.authorization.v1beta1.LocalSubjectAccessReviewgetAllFields, 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<V1beta1Authorization.LocalSubjectAccessReview.Builder>public V1beta1Authorization.LocalSubjectAccessReview.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.LocalSubjectAccessReview.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.LocalSubjectAccessReview.Builder>public V1beta1Authorization.LocalSubjectAccessReview getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Authorization.LocalSubjectAccessReview build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Authorization.LocalSubjectAccessReview buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Authorization.LocalSubjectAccessReview.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.LocalSubjectAccessReview.Builder>public V1beta1Authorization.LocalSubjectAccessReview.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.LocalSubjectAccessReview.Builder>public V1beta1Authorization.LocalSubjectAccessReview.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.LocalSubjectAccessReview.Builder>public V1beta1Authorization.LocalSubjectAccessReview.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.LocalSubjectAccessReview.Builder>public V1beta1Authorization.LocalSubjectAccessReview.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.LocalSubjectAccessReview.Builder>public V1beta1Authorization.LocalSubjectAccessReview.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.LocalSubjectAccessReview.Builder>public V1beta1Authorization.LocalSubjectAccessReview.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Authorization.LocalSubjectAccessReview.Builder>public V1beta1Authorization.LocalSubjectAccessReview.Builder mergeFrom(V1beta1Authorization.LocalSubjectAccessReview other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.LocalSubjectAccessReview.Builder>public V1beta1Authorization.LocalSubjectAccessReview.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.LocalSubjectAccessReview.Builder>IOExceptionpublic boolean hasMetadata()
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;hasMetadata in interface V1beta1Authorization.LocalSubjectAccessReviewOrBuilderpublic Meta.ObjectMeta getMetadata()
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1beta1Authorization.LocalSubjectAccessReviewOrBuilderpublic V1beta1Authorization.LocalSubjectAccessReview.Builder setMetadata(Meta.ObjectMeta value)
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1beta1Authorization.LocalSubjectAccessReview.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1beta1Authorization.LocalSubjectAccessReview.Builder mergeMetadata(Meta.ObjectMeta value)
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1beta1Authorization.LocalSubjectAccessReview.Builder clearMetadata()
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMeta.Builder getMetadataBuilder()
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadataOrBuilder in interface V1beta1Authorization.LocalSubjectAccessReviewOrBuilderpublic boolean hasSpec()
Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewSpec spec = 2;
hasSpec in interface V1beta1Authorization.LocalSubjectAccessReviewOrBuilderpublic V1beta1Authorization.SubjectAccessReviewSpec getSpec()
Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewSpec spec = 2;
getSpec in interface V1beta1Authorization.LocalSubjectAccessReviewOrBuilderpublic V1beta1Authorization.LocalSubjectAccessReview.Builder setSpec(V1beta1Authorization.SubjectAccessReviewSpec value)
Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewSpec spec = 2;
public V1beta1Authorization.LocalSubjectAccessReview.Builder setSpec(V1beta1Authorization.SubjectAccessReviewSpec.Builder builderForValue)
Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewSpec spec = 2;
public V1beta1Authorization.LocalSubjectAccessReview.Builder mergeSpec(V1beta1Authorization.SubjectAccessReviewSpec value)
Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewSpec spec = 2;
public V1beta1Authorization.LocalSubjectAccessReview.Builder clearSpec()
Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewSpec spec = 2;
public V1beta1Authorization.SubjectAccessReviewSpec.Builder getSpecBuilder()
Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewSpec spec = 2;
public V1beta1Authorization.SubjectAccessReviewSpecOrBuilder getSpecOrBuilder()
Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewSpec spec = 2;
getSpecOrBuilder in interface V1beta1Authorization.LocalSubjectAccessReviewOrBuilderpublic boolean hasStatus()
Status is filled in by the server and indicates whether the request is allowed or not +optional
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewStatus status = 3;
hasStatus in interface V1beta1Authorization.LocalSubjectAccessReviewOrBuilderpublic V1beta1Authorization.SubjectAccessReviewStatus getStatus()
Status is filled in by the server and indicates whether the request is allowed or not +optional
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewStatus status = 3;
getStatus in interface V1beta1Authorization.LocalSubjectAccessReviewOrBuilderpublic V1beta1Authorization.LocalSubjectAccessReview.Builder setStatus(V1beta1Authorization.SubjectAccessReviewStatus value)
Status is filled in by the server and indicates whether the request is allowed or not +optional
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewStatus status = 3;
public V1beta1Authorization.LocalSubjectAccessReview.Builder setStatus(V1beta1Authorization.SubjectAccessReviewStatus.Builder builderForValue)
Status is filled in by the server and indicates whether the request is allowed or not +optional
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewStatus status = 3;
public V1beta1Authorization.LocalSubjectAccessReview.Builder mergeStatus(V1beta1Authorization.SubjectAccessReviewStatus value)
Status is filled in by the server and indicates whether the request is allowed or not +optional
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewStatus status = 3;
public V1beta1Authorization.LocalSubjectAccessReview.Builder clearStatus()
Status is filled in by the server and indicates whether the request is allowed or not +optional
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewStatus status = 3;
public V1beta1Authorization.SubjectAccessReviewStatus.Builder getStatusBuilder()
Status is filled in by the server and indicates whether the request is allowed or not +optional
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewStatus status = 3;
public V1beta1Authorization.SubjectAccessReviewStatusOrBuilder getStatusOrBuilder()
Status is filled in by the server and indicates whether the request is allowed or not +optional
optional .k8s.io.api.authorization.v1beta1.SubjectAccessReviewStatus status = 3;
getStatusOrBuilder in interface V1beta1Authorization.LocalSubjectAccessReviewOrBuilderpublic final V1beta1Authorization.LocalSubjectAccessReview.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.LocalSubjectAccessReview.Builder>public final V1beta1Authorization.LocalSubjectAccessReview.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authorization.LocalSubjectAccessReview.Builder>Copyright © 2021. All rights reserved.