public static final class Web.TokenResponse extends com.google.protobuf.GeneratedMessageV3 implements Web.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 |
Web.TokenResponse.Builder
Naming conventions for this message follow RFC6749 - OAuth 2.0 Authorization Framework
|
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<Web.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 Web.TokenResponse |
getDefaultInstance() |
Web.TokenResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getExpiresIn()
In seconds
|
com.google.protobuf.Parser<Web.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() |
YamcsManagement.UserInfo |
getUser()
optional .yamcs.protobuf.yamcsManagement.UserInfo user = 5; |
YamcsManagement.UserInfoOrBuilder |
getUserOrBuilder()
optional .yamcs.protobuf.yamcsManagement.UserInfo user = 5; |
boolean |
hasAccessToken()
optional string access_token = 1; |
boolean |
hasExpiresIn()
In seconds
|
int |
hashCode() |
boolean |
hasRefreshToken()
optional string refresh_token = 4; |
boolean |
hasTokenType()
optional string token_type = 2; |
boolean |
hasUser()
optional .yamcs.protobuf.yamcsManagement.UserInfo user = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Web.TokenResponse.Builder |
newBuilder() |
static Web.TokenResponse.Builder |
newBuilder(Web.TokenResponse prototype) |
Web.TokenResponse.Builder |
newBuilderForType() |
protected Web.TokenResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Web.TokenResponse |
parseDelimitedFrom(InputStream input) |
static Web.TokenResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.TokenResponse |
parseFrom(byte[] data) |
static Web.TokenResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.TokenResponse |
parseFrom(com.google.protobuf.ByteString data) |
static Web.TokenResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.TokenResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Web.TokenResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.TokenResponse |
parseFrom(InputStream input) |
static Web.TokenResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Web.TokenResponse> |
parser() |
Web.TokenResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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<Web.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 Web.TokenResponseOrBuilderpublic String getAccessToken()
optional string access_token = 1;getAccessToken in interface Web.TokenResponseOrBuilderpublic com.google.protobuf.ByteString getAccessTokenBytes()
optional string access_token = 1;getAccessTokenBytes in interface Web.TokenResponseOrBuilderpublic boolean hasTokenType()
optional string token_type = 2;hasTokenType in interface Web.TokenResponseOrBuilderpublic String getTokenType()
optional string token_type = 2;getTokenType in interface Web.TokenResponseOrBuilderpublic com.google.protobuf.ByteString getTokenTypeBytes()
optional string token_type = 2;getTokenTypeBytes in interface Web.TokenResponseOrBuilderpublic boolean hasExpiresIn()
In seconds
optional int32 expires_in = 3;hasExpiresIn in interface Web.TokenResponseOrBuilderpublic int getExpiresIn()
In seconds
optional int32 expires_in = 3;getExpiresIn in interface Web.TokenResponseOrBuilderpublic boolean hasRefreshToken()
optional string refresh_token = 4;hasRefreshToken in interface Web.TokenResponseOrBuilderpublic String getRefreshToken()
optional string refresh_token = 4;getRefreshToken in interface Web.TokenResponseOrBuilderpublic com.google.protobuf.ByteString getRefreshTokenBytes()
optional string refresh_token = 4;getRefreshTokenBytes in interface Web.TokenResponseOrBuilderpublic boolean hasUser()
optional .yamcs.protobuf.yamcsManagement.UserInfo user = 5;hasUser in interface Web.TokenResponseOrBuilderpublic YamcsManagement.UserInfo getUser()
optional .yamcs.protobuf.yamcsManagement.UserInfo user = 5;getUser in interface Web.TokenResponseOrBuilderpublic YamcsManagement.UserInfoOrBuilder getUserOrBuilder()
optional .yamcs.protobuf.yamcsManagement.UserInfo user = 5;getUserOrBuilder in interface Web.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 Web.TokenResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.TokenResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.TokenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.TokenResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.TokenResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static Web.TokenResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Web.TokenResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Web.TokenResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Web.TokenResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Web.TokenResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Web.TokenResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Web.TokenResponse.Builder newBuilder()
public static Web.TokenResponse.Builder newBuilder(Web.TokenResponse prototype)
public Web.TokenResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Web.TokenResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Web.TokenResponse getDefaultInstance()
public static com.google.protobuf.Parser<Web.TokenResponse> parser()
public com.google.protobuf.Parser<Web.TokenResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Web.TokenResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Space Applications Services. All rights reserved.