public static final class V1Authentication.TokenReview.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReview.Builder> implements V1Authentication.TokenReviewOrBuilder
TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.Protobuf type
k8s.io.api.authentication.v1.TokenReview| Modifier and Type | Method and Description |
|---|---|
V1Authentication.TokenReview.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Authentication.TokenReview |
build() |
V1Authentication.TokenReview |
buildPartial() |
V1Authentication.TokenReview.Builder |
clear() |
V1Authentication.TokenReview.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Authentication.TokenReview.Builder |
clearMetadata()
+optional
|
V1Authentication.TokenReview.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Authentication.TokenReview.Builder |
clearSpec()
Spec holds information about the request being evaluated
|
V1Authentication.TokenReview.Builder |
clearStatus()
Status is filled in by the server and indicates whether the request can be authenticated.
|
V1Authentication.TokenReview.Builder |
clone() |
V1Authentication.TokenReview |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Meta.ObjectMeta |
getMetadata()
+optional
|
Meta.ObjectMeta.Builder |
getMetadataBuilder()
+optional
|
Meta.ObjectMetaOrBuilder |
getMetadataOrBuilder()
+optional
|
V1Authentication.TokenReviewSpec |
getSpec()
Spec holds information about the request being evaluated
|
V1Authentication.TokenReviewSpec.Builder |
getSpecBuilder()
Spec holds information about the request being evaluated
|
V1Authentication.TokenReviewSpecOrBuilder |
getSpecOrBuilder()
Spec holds information about the request being evaluated
|
V1Authentication.TokenReviewStatus |
getStatus()
Status is filled in by the server and indicates whether the request can be authenticated.
|
V1Authentication.TokenReviewStatus.Builder |
getStatusBuilder()
Status is filled in by the server and indicates whether the request can be authenticated.
|
V1Authentication.TokenReviewStatusOrBuilder |
getStatusOrBuilder()
Status is filled in by the server and indicates whether the request can be authenticated.
|
boolean |
hasMetadata()
+optional
|
boolean |
hasSpec()
Spec holds information about the request being evaluated
|
boolean |
hasStatus()
Status is filled in by the server and indicates whether the request can be authenticated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Authentication.TokenReview.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Authentication.TokenReview.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Authentication.TokenReview.Builder |
mergeFrom(V1Authentication.TokenReview other) |
V1Authentication.TokenReview.Builder |
mergeMetadata(Meta.ObjectMeta value)
+optional
|
V1Authentication.TokenReview.Builder |
mergeSpec(V1Authentication.TokenReviewSpec value)
Spec holds information about the request being evaluated
|
V1Authentication.TokenReview.Builder |
mergeStatus(V1Authentication.TokenReviewStatus value)
Status is filled in by the server and indicates whether the request can be authenticated.
|
V1Authentication.TokenReview.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Authentication.TokenReview.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Authentication.TokenReview.Builder |
setMetadata(Meta.ObjectMeta.Builder builderForValue)
+optional
|
V1Authentication.TokenReview.Builder |
setMetadata(Meta.ObjectMeta value)
+optional
|
V1Authentication.TokenReview.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Authentication.TokenReview.Builder |
setSpec(V1Authentication.TokenReviewSpec.Builder builderForValue)
Spec holds information about the request being evaluated
|
V1Authentication.TokenReview.Builder |
setSpec(V1Authentication.TokenReviewSpec value)
Spec holds information about the request being evaluated
|
V1Authentication.TokenReview.Builder |
setStatus(V1Authentication.TokenReviewStatus.Builder builderForValue)
Status is filled in by the server and indicates whether the request can be authenticated.
|
V1Authentication.TokenReview.Builder |
setStatus(V1Authentication.TokenReviewStatus value)
Status is filled in by the server and indicates whether the request can be authenticated.
|
V1Authentication.TokenReview.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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<V1Authentication.TokenReview.Builder>public V1Authentication.TokenReview.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReview.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<V1Authentication.TokenReview.Builder>public V1Authentication.TokenReview getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Authentication.TokenReview build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Authentication.TokenReview buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Authentication.TokenReview.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReview.Builder>public V1Authentication.TokenReview.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<V1Authentication.TokenReview.Builder>public V1Authentication.TokenReview.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReview.Builder>public V1Authentication.TokenReview.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReview.Builder>public V1Authentication.TokenReview.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<V1Authentication.TokenReview.Builder>public V1Authentication.TokenReview.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<V1Authentication.TokenReview.Builder>public V1Authentication.TokenReview.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Authentication.TokenReview.Builder>public V1Authentication.TokenReview.Builder mergeFrom(V1Authentication.TokenReview other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReview.Builder>public V1Authentication.TokenReview.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<V1Authentication.TokenReview.Builder>IOExceptionpublic boolean hasMetadata()
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;hasMetadata in interface V1Authentication.TokenReviewOrBuilderpublic Meta.ObjectMeta getMetadata()
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1Authentication.TokenReviewOrBuilderpublic V1Authentication.TokenReview.Builder setMetadata(Meta.ObjectMeta value)
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1Authentication.TokenReview.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue)
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1Authentication.TokenReview.Builder mergeMetadata(Meta.ObjectMeta value)
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;public V1Authentication.TokenReview.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 V1Authentication.TokenReviewOrBuilderpublic boolean hasSpec()
Spec holds information about the request being evaluated
optional .k8s.io.api.authentication.v1.TokenReviewSpec spec = 2;hasSpec in interface V1Authentication.TokenReviewOrBuilderpublic V1Authentication.TokenReviewSpec getSpec()
Spec holds information about the request being evaluated
optional .k8s.io.api.authentication.v1.TokenReviewSpec spec = 2;getSpec in interface V1Authentication.TokenReviewOrBuilderpublic V1Authentication.TokenReview.Builder setSpec(V1Authentication.TokenReviewSpec value)
Spec holds information about the request being evaluated
optional .k8s.io.api.authentication.v1.TokenReviewSpec spec = 2;public V1Authentication.TokenReview.Builder setSpec(V1Authentication.TokenReviewSpec.Builder builderForValue)
Spec holds information about the request being evaluated
optional .k8s.io.api.authentication.v1.TokenReviewSpec spec = 2;public V1Authentication.TokenReview.Builder mergeSpec(V1Authentication.TokenReviewSpec value)
Spec holds information about the request being evaluated
optional .k8s.io.api.authentication.v1.TokenReviewSpec spec = 2;public V1Authentication.TokenReview.Builder clearSpec()
Spec holds information about the request being evaluated
optional .k8s.io.api.authentication.v1.TokenReviewSpec spec = 2;public V1Authentication.TokenReviewSpec.Builder getSpecBuilder()
Spec holds information about the request being evaluated
optional .k8s.io.api.authentication.v1.TokenReviewSpec spec = 2;public V1Authentication.TokenReviewSpecOrBuilder getSpecOrBuilder()
Spec holds information about the request being evaluated
optional .k8s.io.api.authentication.v1.TokenReviewSpec spec = 2;getSpecOrBuilder in interface V1Authentication.TokenReviewOrBuilderpublic boolean hasStatus()
Status is filled in by the server and indicates whether the request can be authenticated. +optional
optional .k8s.io.api.authentication.v1.TokenReviewStatus status = 3;hasStatus in interface V1Authentication.TokenReviewOrBuilderpublic V1Authentication.TokenReviewStatus getStatus()
Status is filled in by the server and indicates whether the request can be authenticated. +optional
optional .k8s.io.api.authentication.v1.TokenReviewStatus status = 3;getStatus in interface V1Authentication.TokenReviewOrBuilderpublic V1Authentication.TokenReview.Builder setStatus(V1Authentication.TokenReviewStatus value)
Status is filled in by the server and indicates whether the request can be authenticated. +optional
optional .k8s.io.api.authentication.v1.TokenReviewStatus status = 3;public V1Authentication.TokenReview.Builder setStatus(V1Authentication.TokenReviewStatus.Builder builderForValue)
Status is filled in by the server and indicates whether the request can be authenticated. +optional
optional .k8s.io.api.authentication.v1.TokenReviewStatus status = 3;public V1Authentication.TokenReview.Builder mergeStatus(V1Authentication.TokenReviewStatus value)
Status is filled in by the server and indicates whether the request can be authenticated. +optional
optional .k8s.io.api.authentication.v1.TokenReviewStatus status = 3;public V1Authentication.TokenReview.Builder clearStatus()
Status is filled in by the server and indicates whether the request can be authenticated. +optional
optional .k8s.io.api.authentication.v1.TokenReviewStatus status = 3;public V1Authentication.TokenReviewStatus.Builder getStatusBuilder()
Status is filled in by the server and indicates whether the request can be authenticated. +optional
optional .k8s.io.api.authentication.v1.TokenReviewStatus status = 3;public V1Authentication.TokenReviewStatusOrBuilder getStatusOrBuilder()
Status is filled in by the server and indicates whether the request can be authenticated. +optional
optional .k8s.io.api.authentication.v1.TokenReviewStatus status = 3;getStatusOrBuilder in interface V1Authentication.TokenReviewOrBuilderpublic final V1Authentication.TokenReview.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReview.Builder>public final V1Authentication.TokenReview.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReview.Builder>Copyright © 2021. All rights reserved.