Class DeviceCode
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.DeviceCode
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DeviceCodeOrBuilder, Serializable
@Generated
public final class DeviceCode
extends com.google.protobuf.GeneratedMessage
implements DeviceCodeOrBuilder
Microsoft OAuth device code information for user authentication. The user must visit the verification URI and enter the user code to authorize the application.Protobuf type
soulfire.v1.DeviceCode- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMicrosoft OAuth device code information for user authentication.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DeviceCodestatic final com.google.protobuf.Descriptors.DescriptorThe device code used internally for polling authentication status.com.google.protobuf.ByteStringThe device code used internally for polling authentication status.A URL that includes the user_code as a parameter for one-click verification.com.google.protobuf.ByteStringA URL that includes the user_code as a parameter for one-click verification.com.google.protobuf.Parser<DeviceCode> intThe short alphanumeric code the user must enter at the verification URI.com.google.protobuf.ByteStringThe short alphanumeric code the user must enter at the verification URI.The URL where the user must go to enter the user_code.com.google.protobuf.ByteStringThe URL where the user must go to enter the user_code.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DeviceCode.Builderstatic DeviceCode.BuildernewBuilder(DeviceCode prototype) protected DeviceCode.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DeviceCodeparseDelimitedFrom(InputStream input) static DeviceCodeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeviceCodeparseFrom(byte[] data) static DeviceCodeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeviceCodeparseFrom(com.google.protobuf.ByteString data) static DeviceCodeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeviceCodeparseFrom(com.google.protobuf.CodedInputStream input) static DeviceCodeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeviceCodeparseFrom(InputStream input) static DeviceCodeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeviceCodeparseFrom(ByteBuffer data) static DeviceCodeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DeviceCode> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DEVICE_CODE_FIELD_NUMBER
public static final int DEVICE_CODE_FIELD_NUMBER- See Also:
-
USER_CODE_FIELD_NUMBER
public static final int USER_CODE_FIELD_NUMBER- See Also:
-
VERIFICATION_URI_FIELD_NUMBER
public static final int VERIFICATION_URI_FIELD_NUMBER- See Also:
-
DIRECT_VERIFICATION_URI_FIELD_NUMBER
public static final int DIRECT_VERIFICATION_URI_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDeviceCode
The device code used internally for polling authentication status. This is not shown to the user.
string device_code = 1;- Specified by:
getDeviceCodein interfaceDeviceCodeOrBuilder- Returns:
- The deviceCode.
-
getDeviceCodeBytes
public com.google.protobuf.ByteString getDeviceCodeBytes()The device code used internally for polling authentication status. This is not shown to the user.
string device_code = 1;- Specified by:
getDeviceCodeBytesin interfaceDeviceCodeOrBuilder- Returns:
- The bytes for deviceCode.
-
getUserCode
The short alphanumeric code the user must enter at the verification URI. Typically displayed to the user for manual entry.
string user_code = 2;- Specified by:
getUserCodein interfaceDeviceCodeOrBuilder- Returns:
- The userCode.
-
getUserCodeBytes
public com.google.protobuf.ByteString getUserCodeBytes()The short alphanumeric code the user must enter at the verification URI. Typically displayed to the user for manual entry.
string user_code = 2;- Specified by:
getUserCodeBytesin interfaceDeviceCodeOrBuilder- Returns:
- The bytes for userCode.
-
getVerificationUri
The URL where the user must go to enter the user_code. Example: "https://microsoft.com/devicelogin"
string verification_uri = 3;- Specified by:
getVerificationUriin interfaceDeviceCodeOrBuilder- Returns:
- The verificationUri.
-
getVerificationUriBytes
public com.google.protobuf.ByteString getVerificationUriBytes()The URL where the user must go to enter the user_code. Example: "https://microsoft.com/devicelogin"
string verification_uri = 3;- Specified by:
getVerificationUriBytesin interfaceDeviceCodeOrBuilder- Returns:
- The bytes for verificationUri.
-
getDirectVerificationUri
A URL that includes the user_code as a parameter for one-click verification. Users can visit this URL directly without manually entering the code. Example: "https://microsoft.com/devicelogin?otc=ABCD1234"
string direct_verification_uri = 4;- Specified by:
getDirectVerificationUriin interfaceDeviceCodeOrBuilder- Returns:
- The directVerificationUri.
-
getDirectVerificationUriBytes
public com.google.protobuf.ByteString getDirectVerificationUriBytes()A URL that includes the user_code as a parameter for one-click verification. Users can visit this URL directly without manually entering the code. Example: "https://microsoft.com/devicelogin?otc=ABCD1234"
string direct_verification_uri = 4;- Specified by:
getDirectVerificationUriBytesin interfaceDeviceCodeOrBuilder- Returns:
- The bytes for directVerificationUri.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DeviceCode parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceCode parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceCode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceCode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceCode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeviceCode parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DeviceCode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DeviceCode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DeviceCode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeviceCode.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-