public static final class V1Authentication.TokenRequestSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenRequestSpec.Builder> implements V1Authentication.TokenRequestSpecOrBuilder
TokenRequestSpec contains client provided parameters of a token request.Protobuf type
k8s.io.api.authentication.v1.TokenRequestSpec| Modifier and Type | Method and Description |
|---|---|
V1Authentication.TokenRequestSpec.Builder |
addAllAudiences(Iterable<String> values)
Audiences are the intendend audiences of the token.
|
V1Authentication.TokenRequestSpec.Builder |
addAudiences(String value)
Audiences are the intendend audiences of the token.
|
V1Authentication.TokenRequestSpec.Builder |
addAudiencesBytes(com.google.protobuf.ByteString value)
Audiences are the intendend audiences of the token.
|
V1Authentication.TokenRequestSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Authentication.TokenRequestSpec |
build() |
V1Authentication.TokenRequestSpec |
buildPartial() |
V1Authentication.TokenRequestSpec.Builder |
clear() |
V1Authentication.TokenRequestSpec.Builder |
clearAudiences()
Audiences are the intendend audiences of the token.
|
V1Authentication.TokenRequestSpec.Builder |
clearBoundObjectRef()
BoundObjectRef is a reference to an object that the token will be bound to.
|
V1Authentication.TokenRequestSpec.Builder |
clearExpirationSeconds()
ExpirationSeconds is the requested duration of validity of the request.
|
V1Authentication.TokenRequestSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Authentication.TokenRequestSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Authentication.TokenRequestSpec.Builder |
clone() |
String |
getAudiences(int index)
Audiences are the intendend audiences of the token.
|
com.google.protobuf.ByteString |
getAudiencesBytes(int index)
Audiences are the intendend audiences of the token.
|
int |
getAudiencesCount()
Audiences are the intendend audiences of the token.
|
com.google.protobuf.ProtocolStringList |
getAudiencesList()
Audiences are the intendend audiences of the token.
|
V1Authentication.BoundObjectReference |
getBoundObjectRef()
BoundObjectRef is a reference to an object that the token will be bound to.
|
V1Authentication.BoundObjectReference.Builder |
getBoundObjectRefBuilder()
BoundObjectRef is a reference to an object that the token will be bound to.
|
V1Authentication.BoundObjectReferenceOrBuilder |
getBoundObjectRefOrBuilder()
BoundObjectRef is a reference to an object that the token will be bound to.
|
V1Authentication.TokenRequestSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getExpirationSeconds()
ExpirationSeconds is the requested duration of validity of the request.
|
boolean |
hasBoundObjectRef()
BoundObjectRef is a reference to an object that the token will be bound to.
|
boolean |
hasExpirationSeconds()
ExpirationSeconds is the requested duration of validity of the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Authentication.TokenRequestSpec.Builder |
mergeBoundObjectRef(V1Authentication.BoundObjectReference value)
BoundObjectRef is a reference to an object that the token will be bound to.
|
V1Authentication.TokenRequestSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Authentication.TokenRequestSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Authentication.TokenRequestSpec.Builder |
mergeFrom(V1Authentication.TokenRequestSpec other) |
V1Authentication.TokenRequestSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Authentication.TokenRequestSpec.Builder |
setAudiences(int index,
String value)
Audiences are the intendend audiences of the token.
|
V1Authentication.TokenRequestSpec.Builder |
setBoundObjectRef(V1Authentication.BoundObjectReference.Builder builderForValue)
BoundObjectRef is a reference to an object that the token will be bound to.
|
V1Authentication.TokenRequestSpec.Builder |
setBoundObjectRef(V1Authentication.BoundObjectReference value)
BoundObjectRef is a reference to an object that the token will be bound to.
|
V1Authentication.TokenRequestSpec.Builder |
setExpirationSeconds(long value)
ExpirationSeconds is the requested duration of validity of the request.
|
V1Authentication.TokenRequestSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Authentication.TokenRequestSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Authentication.TokenRequestSpec.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.TokenRequestSpec.Builder>public V1Authentication.TokenRequestSpec.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.TokenRequestSpec.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.TokenRequestSpec.Builder>public V1Authentication.TokenRequestSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Authentication.TokenRequestSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Authentication.TokenRequestSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Authentication.TokenRequestSpec.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.TokenRequestSpec.Builder>public V1Authentication.TokenRequestSpec.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.TokenRequestSpec.Builder>public V1Authentication.TokenRequestSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenRequestSpec.Builder>public V1Authentication.TokenRequestSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenRequestSpec.Builder>public V1Authentication.TokenRequestSpec.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.TokenRequestSpec.Builder>public V1Authentication.TokenRequestSpec.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.TokenRequestSpec.Builder>public V1Authentication.TokenRequestSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Authentication.TokenRequestSpec.Builder>public V1Authentication.TokenRequestSpec.Builder mergeFrom(V1Authentication.TokenRequestSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenRequestSpec.Builder>public V1Authentication.TokenRequestSpec.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.TokenRequestSpec.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getAudiencesList()
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
repeated string audiences = 1;getAudiencesList in interface V1Authentication.TokenRequestSpecOrBuilderpublic int getAudiencesCount()
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
repeated string audiences = 1;getAudiencesCount in interface V1Authentication.TokenRequestSpecOrBuilderpublic String getAudiences(int index)
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
repeated string audiences = 1;getAudiences in interface V1Authentication.TokenRequestSpecOrBuilderpublic com.google.protobuf.ByteString getAudiencesBytes(int index)
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
repeated string audiences = 1;getAudiencesBytes in interface V1Authentication.TokenRequestSpecOrBuilderpublic V1Authentication.TokenRequestSpec.Builder setAudiences(int index, String value)
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
repeated string audiences = 1;public V1Authentication.TokenRequestSpec.Builder addAudiences(String value)
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
repeated string audiences = 1;public V1Authentication.TokenRequestSpec.Builder addAllAudiences(Iterable<String> values)
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
repeated string audiences = 1;public V1Authentication.TokenRequestSpec.Builder clearAudiences()
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
repeated string audiences = 1;public V1Authentication.TokenRequestSpec.Builder addAudiencesBytes(com.google.protobuf.ByteString value)
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
repeated string audiences = 1;public boolean hasExpirationSeconds()
ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response. +optional
optional int64 expirationSeconds = 4;hasExpirationSeconds in interface V1Authentication.TokenRequestSpecOrBuilderpublic long getExpirationSeconds()
ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response. +optional
optional int64 expirationSeconds = 4;getExpirationSeconds in interface V1Authentication.TokenRequestSpecOrBuilderpublic V1Authentication.TokenRequestSpec.Builder setExpirationSeconds(long value)
ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response. +optional
optional int64 expirationSeconds = 4;public V1Authentication.TokenRequestSpec.Builder clearExpirationSeconds()
ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response. +optional
optional int64 expirationSeconds = 4;public boolean hasBoundObjectRef()
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound objet exists. +optional
optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;
hasBoundObjectRef in interface V1Authentication.TokenRequestSpecOrBuilderpublic V1Authentication.BoundObjectReference getBoundObjectRef()
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound objet exists. +optional
optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;
getBoundObjectRef in interface V1Authentication.TokenRequestSpecOrBuilderpublic V1Authentication.TokenRequestSpec.Builder setBoundObjectRef(V1Authentication.BoundObjectReference value)
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound objet exists. +optional
optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;
public V1Authentication.TokenRequestSpec.Builder setBoundObjectRef(V1Authentication.BoundObjectReference.Builder builderForValue)
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound objet exists. +optional
optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;
public V1Authentication.TokenRequestSpec.Builder mergeBoundObjectRef(V1Authentication.BoundObjectReference value)
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound objet exists. +optional
optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;
public V1Authentication.TokenRequestSpec.Builder clearBoundObjectRef()
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound objet exists. +optional
optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;
public V1Authentication.BoundObjectReference.Builder getBoundObjectRefBuilder()
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound objet exists. +optional
optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;
public V1Authentication.BoundObjectReferenceOrBuilder getBoundObjectRefOrBuilder()
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound objet exists. +optional
optional .k8s.io.api.authentication.v1.BoundObjectReference boundObjectRef = 3;
getBoundObjectRefOrBuilder in interface V1Authentication.TokenRequestSpecOrBuilderpublic final V1Authentication.TokenRequestSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenRequestSpec.Builder>public final V1Authentication.TokenRequestSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.TokenRequestSpec.Builder>Copyright © 2020. All rights reserved.