public static final class V1Authentication.TokenReviewStatus extends com.google.protobuf.GeneratedMessageV3 implements V1Authentication.TokenReviewStatusOrBuilder
TokenReviewStatus is the result of the token authentication request.Protobuf type
k8s.io.api.authentication.v1.TokenReviewStatus| Modifier and Type | Class and Description |
|---|---|
static class |
V1Authentication.TokenReviewStatus.Builder
TokenReviewStatus is the result of the token authentication request.
|
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 |
AUDIENCES_FIELD_NUMBER |
static int |
AUTHENTICATED_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Authentication.TokenReviewStatus> |
PARSER
Deprecated.
|
static int |
USER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static V1Authentication.TokenReviewStatus |
getDefaultInstance() |
V1Authentication.TokenReviewStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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
|
com.google.protobuf.Parser<V1Authentication.TokenReviewStatus> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
V1Authentication.UserInfo |
getUser()
User is the UserInfo associated with the provided token.
|
V1Authentication.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
|
int |
hashCode() |
boolean |
hasUser()
User is the UserInfo associated with the provided token.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1Authentication.TokenReviewStatus.Builder |
newBuilder() |
static V1Authentication.TokenReviewStatus.Builder |
newBuilder(V1Authentication.TokenReviewStatus prototype) |
V1Authentication.TokenReviewStatus.Builder |
newBuilderForType() |
protected V1Authentication.TokenReviewStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Authentication.TokenReviewStatus |
parseDelimitedFrom(InputStream input) |
static V1Authentication.TokenReviewStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authentication.TokenReviewStatus |
parseFrom(byte[] data) |
static V1Authentication.TokenReviewStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authentication.TokenReviewStatus |
parseFrom(ByteBuffer data) |
static V1Authentication.TokenReviewStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authentication.TokenReviewStatus |
parseFrom(com.google.protobuf.ByteString data) |
static V1Authentication.TokenReviewStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authentication.TokenReviewStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Authentication.TokenReviewStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authentication.TokenReviewStatus |
parseFrom(InputStream input) |
static V1Authentication.TokenReviewStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Authentication.TokenReviewStatus> |
parser() |
V1Authentication.TokenReviewStatus.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 AUTHENTICATED_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
public static final int AUDIENCES_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Authentication.TokenReviewStatus> 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 boolean hasAuthenticated()
Authenticated indicates that the token was associated with a known user. +optional
optional bool authenticated = 1;hasAuthenticated in interface V1Authentication.TokenReviewStatusOrBuilderpublic boolean getAuthenticated()
Authenticated indicates that the token was associated with a known user. +optional
optional bool authenticated = 1;getAuthenticated in interface V1Authentication.TokenReviewStatusOrBuilderpublic boolean hasUser()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1.UserInfo user = 2;hasUser in interface V1Authentication.TokenReviewStatusOrBuilderpublic V1Authentication.UserInfo getUser()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1.UserInfo user = 2;getUser in interface V1Authentication.TokenReviewStatusOrBuilderpublic V1Authentication.UserInfoOrBuilder getUserOrBuilder()
User is the UserInfo associated with the provided token. +optional
optional .k8s.io.api.authentication.v1.UserInfo user = 2;getUserOrBuilder in interface V1Authentication.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 V1Authentication.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 V1Authentication.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 V1Authentication.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 V1Authentication.TokenReviewStatusOrBuilderpublic boolean hasError()
Error indicates that the token couldn't be checked +optional
optional string error = 3;hasError in interface V1Authentication.TokenReviewStatusOrBuilderpublic String getError()
Error indicates that the token couldn't be checked +optional
optional string error = 3;getError in interface V1Authentication.TokenReviewStatusOrBuilderpublic com.google.protobuf.ByteString getErrorBytes()
Error indicates that the token couldn't be checked +optional
optional string error = 3;getErrorBytes in interface V1Authentication.TokenReviewStatusOrBuilderpublic 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 V1Authentication.TokenReviewStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenReviewStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenReviewStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenReviewStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenReviewStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenReviewStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenReviewStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Authentication.TokenReviewStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Authentication.TokenReviewStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Authentication.TokenReviewStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Authentication.TokenReviewStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Authentication.TokenReviewStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Authentication.TokenReviewStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Authentication.TokenReviewStatus.Builder newBuilder()
public static V1Authentication.TokenReviewStatus.Builder newBuilder(V1Authentication.TokenReviewStatus prototype)
public V1Authentication.TokenReviewStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Authentication.TokenReviewStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Authentication.TokenReviewStatus getDefaultInstance()
public static com.google.protobuf.Parser<V1Authentication.TokenReviewStatus> parser()
public com.google.protobuf.Parser<V1Authentication.TokenReviewStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Authentication.TokenReviewStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.