public static final class V1beta1Authentication.TokenReviewStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewStatus.Builder> implements V1beta1Authentication.TokenReviewStatusOrBuilder
TokenReviewStatus is the result of the token authentication request.Protobuf type
k8s.io.api.authentication.v1beta1.TokenReviewStatus| Modifier and Type | Method and Description |
|---|---|
V1beta1Authentication.TokenReviewStatus.Builder |
addAllAudiences(Iterable<String> values)
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
V1beta1Authentication.TokenReviewStatus.Builder |
addAudiences(String value)
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
V1beta1Authentication.TokenReviewStatus.Builder |
addAudiencesBytes(com.google.protobuf.ByteString value)
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
V1beta1Authentication.TokenReviewStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Authentication.TokenReviewStatus |
build() |
V1beta1Authentication.TokenReviewStatus |
buildPartial() |
V1beta1Authentication.TokenReviewStatus.Builder |
clear() |
V1beta1Authentication.TokenReviewStatus.Builder |
clearAudiences()
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
V1beta1Authentication.TokenReviewStatus.Builder |
clearAuthenticated()
Authenticated indicates that the token was associated with a known user.
|
V1beta1Authentication.TokenReviewStatus.Builder |
clearError()
Error indicates that the token couldn't be checked
+optional
|
V1beta1Authentication.TokenReviewStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Authentication.TokenReviewStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Authentication.TokenReviewStatus.Builder |
clearUser()
User is the UserInfo associated with the provided token.
|
V1beta1Authentication.TokenReviewStatus.Builder |
clone() |
String |
getAudiences(int index)
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
com.google.protobuf.ByteString |
getAudiencesBytes(int index)
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
int |
getAudiencesCount()
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
com.google.protobuf.ProtocolStringList |
getAudiencesList()
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
boolean |
getAuthenticated()
Authenticated indicates that the token was associated with a known user.
|
V1beta1Authentication.TokenReviewStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getError()
Error indicates that the token couldn't be checked
+optional
|
com.google.protobuf.ByteString |
getErrorBytes()
Error indicates that the token couldn't be checked
+optional
|
V1beta1Authentication.UserInfo |
getUser()
User is the UserInfo associated with the provided token.
|
V1beta1Authentication.UserInfo.Builder |
getUserBuilder()
User is the UserInfo associated with the provided token.
|
V1beta1Authentication.UserInfoOrBuilder |
getUserOrBuilder()
User is the UserInfo associated with the provided token.
|
boolean |
hasAuthenticated()
Authenticated indicates that the token was associated with a known user.
|
boolean |
hasError()
Error indicates that the token couldn't be checked
+optional
|
boolean |
hasUser()
User is the UserInfo associated with the provided token.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Authentication.TokenReviewStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Authentication.TokenReviewStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Authentication.TokenReviewStatus.Builder |
mergeFrom(V1beta1Authentication.TokenReviewStatus other) |
V1beta1Authentication.TokenReviewStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Authentication.TokenReviewStatus.Builder |
mergeUser(V1beta1Authentication.UserInfo value)
User is the UserInfo associated with the provided token.
|
V1beta1Authentication.TokenReviewStatus.Builder |
setAudiences(int index,
String value)
Audiences are audience identifiers chosen by the authenticator that are
compatible with both the TokenReview and token.
|
V1beta1Authentication.TokenReviewStatus.Builder |
setAuthenticated(boolean value)
Authenticated indicates that the token was associated with a known user.
|
V1beta1Authentication.TokenReviewStatus.Builder |
setError(String value)
Error indicates that the token couldn't be checked
+optional
|
V1beta1Authentication.TokenReviewStatus.Builder |
setErrorBytes(com.google.protobuf.ByteString value)
Error indicates that the token couldn't be checked
+optional
|
V1beta1Authentication.TokenReviewStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Authentication.TokenReviewStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Authentication.TokenReviewStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Authentication.TokenReviewStatus.Builder |
setUser(V1beta1Authentication.UserInfo.Builder builderForValue)
User is the UserInfo associated with the provided token.
|
V1beta1Authentication.TokenReviewStatus.Builder |
setUser(V1beta1Authentication.UserInfo value)
User is the UserInfo associated with the provided token.
|
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<V1beta1Authentication.TokenReviewStatus.Builder>public V1beta1Authentication.TokenReviewStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewStatus.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<V1beta1Authentication.TokenReviewStatus.Builder>public V1beta1Authentication.TokenReviewStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Authentication.TokenReviewStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Authentication.TokenReviewStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Authentication.TokenReviewStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewStatus.Builder>public V1beta1Authentication.TokenReviewStatus.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<V1beta1Authentication.TokenReviewStatus.Builder>public V1beta1Authentication.TokenReviewStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewStatus.Builder>public V1beta1Authentication.TokenReviewStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewStatus.Builder>public V1beta1Authentication.TokenReviewStatus.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<V1beta1Authentication.TokenReviewStatus.Builder>public V1beta1Authentication.TokenReviewStatus.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<V1beta1Authentication.TokenReviewStatus.Builder>public V1beta1Authentication.TokenReviewStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Authentication.TokenReviewStatus.Builder>public V1beta1Authentication.TokenReviewStatus.Builder mergeFrom(V1beta1Authentication.TokenReviewStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewStatus.Builder>public V1beta1Authentication.TokenReviewStatus.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<V1beta1Authentication.TokenReviewStatus.Builder>IOExceptionpublic boolean hasAuthenticated()
Authenticated indicates that the token was associated with a known user. +optional
optional bool authenticated = 1;hasAuthenticated in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic boolean getAuthenticated()
Authenticated indicates that the token was associated with a known user. +optional
optional bool authenticated = 1;getAuthenticated in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic V1beta1Authentication.TokenReviewStatus.Builder setAuthenticated(boolean value)
Authenticated indicates that the token was associated with a known user. +optional
optional bool authenticated = 1;public V1beta1Authentication.TokenReviewStatus.Builder clearAuthenticated()
Authenticated indicates that the token was associated with a known user. +optional
optional bool authenticated = 1;public boolean hasUser()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1beta1.UserInfo user = 2;hasUser in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic V1beta1Authentication.UserInfo getUser()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1beta1.UserInfo user = 2;getUser in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic V1beta1Authentication.TokenReviewStatus.Builder setUser(V1beta1Authentication.UserInfo value)
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1beta1.UserInfo user = 2;public V1beta1Authentication.TokenReviewStatus.Builder setUser(V1beta1Authentication.UserInfo.Builder builderForValue)
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1beta1.UserInfo user = 2;public V1beta1Authentication.TokenReviewStatus.Builder mergeUser(V1beta1Authentication.UserInfo value)
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1beta1.UserInfo user = 2;public V1beta1Authentication.TokenReviewStatus.Builder clearUser()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1beta1.UserInfo user = 2;public V1beta1Authentication.UserInfo.Builder getUserBuilder()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1beta1.UserInfo user = 2;public V1beta1Authentication.UserInfoOrBuilder getUserOrBuilder()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1beta1.UserInfo user = 2;getUserOrBuilder in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic com.google.protobuf.ProtocolStringList getAudiencesList()
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;getAudiencesList in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic int getAudiencesCount()
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;getAudiencesCount in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic String getAudiences(int index)
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;getAudiences in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic com.google.protobuf.ByteString getAudiencesBytes(int index)
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;getAudiencesBytes in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic V1beta1Authentication.TokenReviewStatus.Builder setAudiences(int index, String value)
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;public V1beta1Authentication.TokenReviewStatus.Builder addAudiences(String value)
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;public V1beta1Authentication.TokenReviewStatus.Builder addAllAudiences(Iterable<String> values)
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;public V1beta1Authentication.TokenReviewStatus.Builder clearAudiences()
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;public V1beta1Authentication.TokenReviewStatus.Builder addAudiencesBytes(com.google.protobuf.ByteString value)
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. +optional
repeated string audiences = 4;public boolean hasError()
Error indicates that the token couldn't be checked +optional
optional string error = 3;hasError in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic String getError()
Error indicates that the token couldn't be checked +optional
optional string error = 3;getError in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic com.google.protobuf.ByteString getErrorBytes()
Error indicates that the token couldn't be checked +optional
optional string error = 3;getErrorBytes in interface V1beta1Authentication.TokenReviewStatusOrBuilderpublic V1beta1Authentication.TokenReviewStatus.Builder setError(String value)
Error indicates that the token couldn't be checked +optional
optional string error = 3;public V1beta1Authentication.TokenReviewStatus.Builder clearError()
Error indicates that the token couldn't be checked +optional
optional string error = 3;public V1beta1Authentication.TokenReviewStatus.Builder setErrorBytes(com.google.protobuf.ByteString value)
Error indicates that the token couldn't be checked +optional
optional string error = 3;public final V1beta1Authentication.TokenReviewStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewStatus.Builder>public final V1beta1Authentication.TokenReviewStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewStatus.Builder>Copyright © 2020. All rights reserved.