public static final class V1Authentication.TokenReviewSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReviewSpec.Builder> implements V1Authentication.TokenReviewSpecOrBuilder
TokenReviewSpec is a description of the token authentication request.Protobuf type
k8s.io.api.authentication.v1.TokenReviewSpec| Modifier and Type | Method and Description |
|---|---|
V1Authentication.TokenReviewSpec.Builder |
addAllAudiences(Iterable<String> values)
Audiences is a list of the identifiers that the resource server presented
with the token identifies as.
|
V1Authentication.TokenReviewSpec.Builder |
addAudiences(String value)
Audiences is a list of the identifiers that the resource server presented
with the token identifies as.
|
V1Authentication.TokenReviewSpec.Builder |
addAudiencesBytes(com.google.protobuf.ByteString value)
Audiences is a list of the identifiers that the resource server presented
with the token identifies as.
|
V1Authentication.TokenReviewSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Authentication.TokenReviewSpec |
build() |
V1Authentication.TokenReviewSpec |
buildPartial() |
V1Authentication.TokenReviewSpec.Builder |
clear() |
V1Authentication.TokenReviewSpec.Builder |
clearAudiences()
Audiences is a list of the identifiers that the resource server presented
with the token identifies as.
|
V1Authentication.TokenReviewSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Authentication.TokenReviewSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Authentication.TokenReviewSpec.Builder |
clearToken()
Token is the opaque bearer token.
|
V1Authentication.TokenReviewSpec.Builder |
clone() |
String |
getAudiences(int index)
Audiences is a list of the identifiers that the resource server presented
with the token identifies as.
|
com.google.protobuf.ByteString |
getAudiencesBytes(int index)
Audiences is a list of the identifiers that the resource server presented
with the token identifies as.
|
int |
getAudiencesCount()
Audiences is a list of the identifiers that the resource server presented
with the token identifies as.
|
com.google.protobuf.ProtocolStringList |
getAudiencesList()
Audiences is a list of the identifiers that the resource server presented
with the token identifies as.
|
V1Authentication.TokenReviewSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getToken()
Token is the opaque bearer token.
|
com.google.protobuf.ByteString |
getTokenBytes()
Token is the opaque bearer token.
|
boolean |
hasToken()
Token is the opaque bearer token.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Authentication.TokenReviewSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Authentication.TokenReviewSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Authentication.TokenReviewSpec.Builder |
mergeFrom(V1Authentication.TokenReviewSpec other) |
V1Authentication.TokenReviewSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Authentication.TokenReviewSpec.Builder |
setAudiences(int index,
String value)
Audiences is a list of the identifiers that the resource server presented
with the token identifies as.
|
V1Authentication.TokenReviewSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Authentication.TokenReviewSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Authentication.TokenReviewSpec.Builder |
setToken(String value)
Token is the opaque bearer token.
|
V1Authentication.TokenReviewSpec.Builder |
setTokenBytes(com.google.protobuf.ByteString value)
Token is the opaque bearer token.
|
V1Authentication.TokenReviewSpec.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.TokenReviewSpec.Builder>public V1Authentication.TokenReviewSpec.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.TokenReviewSpec.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.TokenReviewSpec.Builder>public V1Authentication.TokenReviewSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Authentication.TokenReviewSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Authentication.TokenReviewSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Authentication.TokenReviewSpec.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.TokenReviewSpec.Builder>public V1Authentication.TokenReviewSpec.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.TokenReviewSpec.Builder>public V1Authentication.TokenReviewSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReviewSpec.Builder>public V1Authentication.TokenReviewSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReviewSpec.Builder>public V1Authentication.TokenReviewSpec.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.TokenReviewSpec.Builder>public V1Authentication.TokenReviewSpec.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.TokenReviewSpec.Builder>public V1Authentication.TokenReviewSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Authentication.TokenReviewSpec.Builder>public V1Authentication.TokenReviewSpec.Builder mergeFrom(V1Authentication.TokenReviewSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReviewSpec.Builder>public V1Authentication.TokenReviewSpec.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.TokenReviewSpec.Builder>IOExceptionpublic boolean hasToken()
Token is the opaque bearer token. +optional
optional string token = 1;hasToken in interface V1Authentication.TokenReviewSpecOrBuilderpublic String getToken()
Token is the opaque bearer token. +optional
optional string token = 1;getToken in interface V1Authentication.TokenReviewSpecOrBuilderpublic com.google.protobuf.ByteString getTokenBytes()
Token is the opaque bearer token. +optional
optional string token = 1;getTokenBytes in interface V1Authentication.TokenReviewSpecOrBuilderpublic V1Authentication.TokenReviewSpec.Builder setToken(String value)
Token is the opaque bearer token. +optional
optional string token = 1;public V1Authentication.TokenReviewSpec.Builder clearToken()
Token is the opaque bearer token. +optional
optional string token = 1;public V1Authentication.TokenReviewSpec.Builder setTokenBytes(com.google.protobuf.ByteString value)
Token is the opaque bearer token. +optional
optional string token = 1;public com.google.protobuf.ProtocolStringList getAudiencesList()
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. +optional
repeated string audiences = 2;getAudiencesList in interface V1Authentication.TokenReviewSpecOrBuilderpublic int getAudiencesCount()
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. +optional
repeated string audiences = 2;getAudiencesCount in interface V1Authentication.TokenReviewSpecOrBuilderpublic String getAudiences(int index)
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. +optional
repeated string audiences = 2;getAudiences in interface V1Authentication.TokenReviewSpecOrBuilderpublic com.google.protobuf.ByteString getAudiencesBytes(int index)
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. +optional
repeated string audiences = 2;getAudiencesBytes in interface V1Authentication.TokenReviewSpecOrBuilderpublic V1Authentication.TokenReviewSpec.Builder setAudiences(int index, String value)
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. +optional
repeated string audiences = 2;public V1Authentication.TokenReviewSpec.Builder addAudiences(String value)
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. +optional
repeated string audiences = 2;public V1Authentication.TokenReviewSpec.Builder addAllAudiences(Iterable<String> values)
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. +optional
repeated string audiences = 2;public V1Authentication.TokenReviewSpec.Builder clearAudiences()
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. +optional
repeated string audiences = 2;public V1Authentication.TokenReviewSpec.Builder addAudiencesBytes(com.google.protobuf.ByteString value)
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. +optional
repeated string audiences = 2;public final V1Authentication.TokenReviewSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReviewSpec.Builder>public final V1Authentication.TokenReviewSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenReviewSpec.Builder>Copyright © 2021. All rights reserved.