public static final class Web.AccessTokenResponse extends com.google.protobuf.GeneratedMessage implements Web.AccessTokenResponseOrBuilder
web.AccessTokenResponse
Naming conventions for this message follow RFC6749 - OAuth 2.0 Authorization Framework
| Modifier and Type | Class and Description |
|---|---|
static class |
Web.AccessTokenResponse.Builder
Protobuf type
web.AccessTokenResponse |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_TOKEN_FIELD_NUMBER |
static int |
EXPIRES_IN_FIELD_NUMBER |
static com.google.protobuf.Parser<Web.AccessTokenResponse> |
PARSER |
static int |
TOKEN_TYPE_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken()
optional string access_token = 1; |
com.google.protobuf.ByteString |
getAccessTokenBytes()
optional string access_token = 1; |
static Web.AccessTokenResponse |
getDefaultInstance() |
Web.AccessTokenResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getExpiresIn()
optional int32 expires_in = 3; |
com.google.protobuf.Parser<Web.AccessTokenResponse> |
getParserForType() |
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 .yamcsManagement.UserInfo user = 4; |
YamcsManagement.UserInfoOrBuilder |
getUserOrBuilder()
optional .yamcsManagement.UserInfo user = 4; |
boolean |
hasAccessToken()
optional string access_token = 1; |
boolean |
hasExpiresIn()
optional int32 expires_in = 3; |
boolean |
hasTokenType()
optional string token_type = 2; |
boolean |
hasUser()
optional .yamcsManagement.UserInfo user = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Web.AccessTokenResponse.Builder |
newBuilder() |
static Web.AccessTokenResponse.Builder |
newBuilder(Web.AccessTokenResponse prototype) |
Web.AccessTokenResponse.Builder |
newBuilderForType() |
protected Web.AccessTokenResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Web.AccessTokenResponse |
parseDelimitedFrom(InputStream input) |
static Web.AccessTokenResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.AccessTokenResponse |
parseFrom(byte[] data) |
static Web.AccessTokenResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.AccessTokenResponse |
parseFrom(com.google.protobuf.ByteString data) |
static Web.AccessTokenResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.AccessTokenResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Web.AccessTokenResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.AccessTokenResponse |
parseFrom(InputStream input) |
static Web.AccessTokenResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Web.AccessTokenResponse.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<Web.AccessTokenResponse> PARSER
public 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 USER_FIELD_NUMBER
public static Web.AccessTokenResponse getDefaultInstance()
public Web.AccessTokenResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<Web.AccessTokenResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasAccessToken()
optional string access_token = 1;hasAccessToken in interface Web.AccessTokenResponseOrBuilderpublic String getAccessToken()
optional string access_token = 1;getAccessToken in interface Web.AccessTokenResponseOrBuilderpublic com.google.protobuf.ByteString getAccessTokenBytes()
optional string access_token = 1;getAccessTokenBytes in interface Web.AccessTokenResponseOrBuilderpublic boolean hasTokenType()
optional string token_type = 2;hasTokenType in interface Web.AccessTokenResponseOrBuilderpublic String getTokenType()
optional string token_type = 2;getTokenType in interface Web.AccessTokenResponseOrBuilderpublic com.google.protobuf.ByteString getTokenTypeBytes()
optional string token_type = 2;getTokenTypeBytes in interface Web.AccessTokenResponseOrBuilderpublic boolean hasExpiresIn()
optional int32 expires_in = 3;
In seconds
hasExpiresIn in interface Web.AccessTokenResponseOrBuilderpublic int getExpiresIn()
optional int32 expires_in = 3;
In seconds
getExpiresIn in interface Web.AccessTokenResponseOrBuilderpublic boolean hasUser()
optional .yamcsManagement.UserInfo user = 4;hasUser in interface Web.AccessTokenResponseOrBuilderpublic YamcsManagement.UserInfo getUser()
optional .yamcsManagement.UserInfo user = 4;getUser in interface Web.AccessTokenResponseOrBuilderpublic YamcsManagement.UserInfoOrBuilder getUserOrBuilder()
optional .yamcsManagement.UserInfo user = 4;getUserOrBuilder in interface Web.AccessTokenResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static Web.AccessTokenResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.AccessTokenResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.AccessTokenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.AccessTokenResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.AccessTokenResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static Web.AccessTokenResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Web.AccessTokenResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Web.AccessTokenResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Web.AccessTokenResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Web.AccessTokenResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Web.AccessTokenResponse.Builder newBuilder()
public Web.AccessTokenResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Web.AccessTokenResponse.Builder newBuilder(Web.AccessTokenResponse prototype)
public Web.AccessTokenResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Web.AccessTokenResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2018 Space Applications Services. All rights reserved.