Package io.kubernetes.client.proto
Class V1beta1Authentication.TokenReviewSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
io.kubernetes.client.proto.V1beta1Authentication.TokenReviewSpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta1Authentication.TokenReviewSpecOrBuilder,Cloneable
- Enclosing class:
- V1beta1Authentication.TokenReviewSpec
public static final class V1beta1Authentication.TokenReviewSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
implements V1beta1Authentication.TokenReviewSpecOrBuilder
TokenReviewSpec is a description of the token authentication request.Protobuf type
k8s.io.api.authentication.v1beta1.TokenReviewSpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllAudiences(Iterable<String> values) Audiences is a list of the identifiers that the resource server presented with the token identifies as.addAudiences(String value) Audiences is a list of the identifiers that the resource server presented with the token identifies as.addAudiencesBytes(com.google.protobuf.ByteString value) Audiences is a list of the identifiers that the resource server presented with the token identifies as.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Audiences is a list of the identifiers that the resource server presented with the token identifies as.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Token is the opaque bearer token.clone()getAudiences(int index) Audiences is a list of the identifiers that the resource server presented with the token identifies as.com.google.protobuf.ByteStringgetAudiencesBytes(int index) Audiences is a list of the identifiers that the resource server presented with the token identifies as.intAudiences is a list of the identifiers that the resource server presented with the token identifies as.com.google.protobuf.ProtocolStringListAudiences is a list of the identifiers that the resource server presented with the token identifies as.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetToken()Token is the opaque bearer token.com.google.protobuf.ByteStringToken is the opaque bearer token.booleanhasToken()Token is the opaque bearer token.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAudiences(int index, String value) Audiences is a list of the identifiers that the resource server presented with the token identifies as.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Token is the opaque bearer token.setTokenBytes(com.google.protobuf.ByteString value) Token is the opaque bearer token.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
setField
public V1beta1Authentication.TokenReviewSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
clearField
public V1beta1Authentication.TokenReviewSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
clearOneof
public V1beta1Authentication.TokenReviewSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
setRepeatedField
public V1beta1Authentication.TokenReviewSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
addRepeatedField
public V1beta1Authentication.TokenReviewSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
mergeFrom
public V1beta1Authentication.TokenReviewSpec.Builder mergeFrom(V1beta1Authentication.TokenReviewSpec other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
mergeFrom
public V1beta1Authentication.TokenReviewSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Authentication.TokenReviewSpec.Builder>- Throws:
IOException
-
hasToken
public boolean hasToken()Token is the opaque bearer token. +optional
optional string token = 1;- Specified by:
hasTokenin interfaceV1beta1Authentication.TokenReviewSpecOrBuilder
-
getToken
Token is the opaque bearer token. +optional
optional string token = 1;- Specified by:
getTokenin interfaceV1beta1Authentication.TokenReviewSpecOrBuilder
-
getTokenBytes
public com.google.protobuf.ByteString getTokenBytes()Token is the opaque bearer token. +optional
optional string token = 1;- Specified by:
getTokenBytesin interfaceV1beta1Authentication.TokenReviewSpecOrBuilder
-
setToken
Token is the opaque bearer token. +optional
optional string token = 1; -
clearToken
Token is the opaque bearer token. +optional
optional string token = 1; -
setTokenBytes
public V1beta1Authentication.TokenReviewSpec.Builder setTokenBytes(com.google.protobuf.ByteString value) Token is the opaque bearer token. +optional
optional string token = 1; -
getAudiencesList
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;- Specified by:
getAudiencesListin interfaceV1beta1Authentication.TokenReviewSpecOrBuilder
-
getAudiencesCount
public 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;- Specified by:
getAudiencesCountin interfaceV1beta1Authentication.TokenReviewSpecOrBuilder
-
getAudiences
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;- Specified by:
getAudiencesin interfaceV1beta1Authentication.TokenReviewSpecOrBuilder
-
getAudiencesBytes
public 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;- Specified by:
getAudiencesBytesin interfaceV1beta1Authentication.TokenReviewSpecOrBuilder
-
setAudiences
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; -
addAudiences
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; -
addAllAudiences
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; -
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; -
addAudiencesBytes
public V1beta1Authentication.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; -
setUnknownFields
public final V1beta1Authentication.TokenReviewSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-
mergeUnknownFields
public final V1beta1Authentication.TokenReviewSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.TokenReviewSpec.Builder>
-