public static final class V1Authentication.TokenRequestSpec extends com.google.protobuf.GeneratedMessageV3 implements V1Authentication.TokenRequestSpecOrBuilder
TokenRequestSpec contains client provided parameters of a token request.Protobuf type
k8s.io.api.authentication.v1.TokenRequestSpec| Modifier and Type | Class and Description |
|---|---|
static class |
V1Authentication.TokenRequestSpec.Builder
TokenRequestSpec contains client provided parameters of a token 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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUDIENCES_FIELD_NUMBER |
static int |
BOUNDOBJECTREF_FIELD_NUMBER |
static int |
EXPIRATIONSECONDS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Authentication.TokenRequestSpec> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.BoundObjectReferenceOrBuilder |
getBoundObjectRefOrBuilder()
BoundObjectRef is a reference to an object that the token will be bound to.
|
static V1Authentication.TokenRequestSpec |
getDefaultInstance() |
V1Authentication.TokenRequestSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getExpirationSeconds()
ExpirationSeconds is the requested duration of validity of the request.
|
com.google.protobuf.Parser<V1Authentication.TokenRequestSpec> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1Authentication.TokenRequestSpec.Builder |
newBuilder() |
static V1Authentication.TokenRequestSpec.Builder |
newBuilder(V1Authentication.TokenRequestSpec prototype) |
V1Authentication.TokenRequestSpec.Builder |
newBuilderForType() |
protected V1Authentication.TokenRequestSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Authentication.TokenRequestSpec |
parseDelimitedFrom(InputStream input) |
static V1Authentication.TokenRequestSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authentication.TokenRequestSpec |
parseFrom(byte[] data) |
static V1Authentication.TokenRequestSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authentication.TokenRequestSpec |
parseFrom(ByteBuffer data) |
static V1Authentication.TokenRequestSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authentication.TokenRequestSpec |
parseFrom(com.google.protobuf.ByteString data) |
static V1Authentication.TokenRequestSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authentication.TokenRequestSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Authentication.TokenRequestSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Authentication.TokenRequestSpec |
parseFrom(InputStream input) |
static V1Authentication.TokenRequestSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Authentication.TokenRequestSpec> |
parser() |
V1Authentication.TokenRequestSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, 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 AUDIENCES_FIELD_NUMBER
public static final int EXPIRATIONSECONDS_FIELD_NUMBER
public static final int BOUNDOBJECTREF_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Authentication.TokenRequestSpec> 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 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 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 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.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 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.TokenRequestSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenRequestSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenRequestSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenRequestSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenRequestSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenRequestSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Authentication.TokenRequestSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Authentication.TokenRequestSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Authentication.TokenRequestSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Authentication.TokenRequestSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Authentication.TokenRequestSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Authentication.TokenRequestSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Authentication.TokenRequestSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Authentication.TokenRequestSpec.Builder newBuilder()
public static V1Authentication.TokenRequestSpec.Builder newBuilder(V1Authentication.TokenRequestSpec prototype)
public V1Authentication.TokenRequestSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Authentication.TokenRequestSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Authentication.TokenRequestSpec getDefaultInstance()
public static com.google.protobuf.Parser<V1Authentication.TokenRequestSpec> parser()
public com.google.protobuf.Parser<V1Authentication.TokenRequestSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Authentication.TokenRequestSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.