public final class TokenResponse extends com.google.protobuf.GeneratedMessageV3 implements TokenResponseOrBuilder
Naming conventions for this message follow RFC6749 - OAuth 2.0 Authorization FrameworkProtobuf type
yamcs.protobuf.web.TokenResponse| Modifier and Type | Class and Description |
|---|---|
static class |
TokenResponse.Builder
Naming conventions for this message follow RFC6749 - OAuth 2.0 Authorization Framework
Protobuf type
yamcs.protobuf.web.TokenResponse |
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 |
ACCESS_TOKEN_FIELD_NUMBER |
static int |
EXPIRES_IN_FIELD_NUMBER |
static com.google.protobuf.Parser<TokenResponse> |
PARSER
Deprecated.
|
static int |
REFRESH_TOKEN_FIELD_NUMBER |
static int |
TOKEN_TYPE_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAccessToken()
optional string access_token = 1; |
com.google.protobuf.ByteString |
getAccessTokenBytes()
optional string access_token = 1; |
static TokenResponse |
getDefaultInstance() |
TokenResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getExpiresIn()
In seconds
optional int32 expires_in = 3; |
com.google.protobuf.Parser<TokenResponse> |
getParserForType() |
String |
getRefreshToken()
optional string refresh_token = 4; |
com.google.protobuf.ByteString |
getRefreshTokenBytes()
optional string refresh_token = 4; |
int |
getSerializedSize() |
String |
getTokenType()
optional string token_type = 2; |
com.google.protobuf.ByteString |
getTokenTypeBytes()
optional string token_type = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
UserInfo |
getUser()
optional .yamcs.protobuf.iam.UserInfo user = 5; |
UserInfoOrBuilder |
getUserOrBuilder()
optional .yamcs.protobuf.iam.UserInfo user = 5; |
boolean |
hasAccessToken()
optional string access_token = 1; |
boolean |
hasExpiresIn()
In seconds
optional int32 expires_in = 3; |
int |
hashCode() |
boolean |
hasRefreshToken()
optional string refresh_token = 4; |
boolean |
hasTokenType()
optional string token_type = 2; |
boolean |
hasUser()
optional .yamcs.protobuf.iam.UserInfo user = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TokenResponse.Builder |
newBuilder() |
static TokenResponse.Builder |
newBuilder(TokenResponse prototype) |
TokenResponse.Builder |
newBuilderForType() |
protected TokenResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TokenResponse |
parseDelimitedFrom(InputStream input) |
static TokenResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TokenResponse |
parseFrom(byte[] data) |
static TokenResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TokenResponse |
parseFrom(ByteBuffer data) |
static TokenResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TokenResponse |
parseFrom(com.google.protobuf.ByteString data) |
static TokenResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TokenResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TokenResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TokenResponse |
parseFrom(InputStream input) |
static TokenResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TokenResponse> |
parser() |
TokenResponse.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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, 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 ACCESS_TOKEN_FIELD_NUMBER
public static final int TOKEN_TYPE_FIELD_NUMBER
public static final int EXPIRES_IN_FIELD_NUMBER
public static final int REFRESH_TOKEN_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TokenResponse> 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 hasAccessToken()
optional string access_token = 1;hasAccessToken in interface TokenResponseOrBuilderpublic String getAccessToken()
optional string access_token = 1;getAccessToken in interface TokenResponseOrBuilderpublic com.google.protobuf.ByteString getAccessTokenBytes()
optional string access_token = 1;getAccessTokenBytes in interface TokenResponseOrBuilderpublic boolean hasTokenType()
optional string token_type = 2;hasTokenType in interface TokenResponseOrBuilderpublic String getTokenType()
optional string token_type = 2;getTokenType in interface TokenResponseOrBuilderpublic com.google.protobuf.ByteString getTokenTypeBytes()
optional string token_type = 2;getTokenTypeBytes in interface TokenResponseOrBuilderpublic boolean hasExpiresIn()
In seconds
optional int32 expires_in = 3;hasExpiresIn in interface TokenResponseOrBuilderpublic int getExpiresIn()
In seconds
optional int32 expires_in = 3;getExpiresIn in interface TokenResponseOrBuilderpublic boolean hasRefreshToken()
optional string refresh_token = 4;hasRefreshToken in interface TokenResponseOrBuilderpublic String getRefreshToken()
optional string refresh_token = 4;getRefreshToken in interface TokenResponseOrBuilderpublic com.google.protobuf.ByteString getRefreshTokenBytes()
optional string refresh_token = 4;getRefreshTokenBytes in interface TokenResponseOrBuilderpublic boolean hasUser()
optional .yamcs.protobuf.iam.UserInfo user = 5;hasUser in interface TokenResponseOrBuilderpublic UserInfo getUser()
optional .yamcs.protobuf.iam.UserInfo user = 5;getUser in interface TokenResponseOrBuilderpublic UserInfoOrBuilder getUserOrBuilder()
optional .yamcs.protobuf.iam.UserInfo user = 5;getUserOrBuilder in interface TokenResponseOrBuilderpublic 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 TokenResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static TokenResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TokenResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TokenResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TokenResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TokenResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TokenResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TokenResponse.Builder newBuilder()
public static TokenResponse.Builder newBuilder(TokenResponse prototype)
public TokenResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TokenResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TokenResponse getDefaultInstance()
public static com.google.protobuf.Parser<TokenResponse> parser()
public com.google.protobuf.Parser<TokenResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TokenResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Space Applications Services. All rights reserved.