# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: soulfire/mc-auth.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'soulfire/mc-auth.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from soulfire import common_pb2 as soulfire_dot_common__pb2
from soulfire import api_docs_pb2 as soulfire_dot_api__docs__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16soulfire/mc-auth.proto\x12\x0bsoulfire.v1\x1a\x15soulfire/common.proto\x1a\x17soulfire/api_docs.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\"\xab\x01\n\x16\x43redentialsAuthRequest\x12.\n\x0binstance_id\x18\x01 \x01(\tB\r\xe0\x41\x02\xd2\xf3\x18\x06\n\x04uuidR\ninstanceId\x12\x42\n\x07service\x18\x02 \x01(\x0e\x32#.soulfire.v1.AccountTypeCredentialsB\x03\xe0\x41\x02R\x07service\x12\x1d\n\x07payload\x18\x03 \x03(\tB\x03\xe0\x41\x02R\x07payload\"^\n\x19\x43redentialsAuthOneSuccess\x12\x41\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\".soulfire.v1.MinecraftAccountProtoB\x03\xe0\x41\x02R\x07\x61\x63\x63ount\"\x1b\n\x19\x43redentialsAuthOneFailure\"\x14\n\x12\x43redentialsAuthEnd\"\xec\x01\n\x17\x43redentialsAuthResponse\x12I\n\x0bone_success\x18\x02 \x01(\x0b\x32&.soulfire.v1.CredentialsAuthOneSuccessH\x00R\noneSuccess\x12I\n\x0bone_failure\x18\x03 \x01(\x0b\x32&.soulfire.v1.CredentialsAuthOneFailureH\x00R\noneFailure\x12\x33\n\x03\x65nd\x18\x04 \x01(\x0b\x32\x1f.soulfire.v1.CredentialsAuthEndH\x00R\x03\x65ndB\x06\n\x04\x64\x61ta\"\x8a\x01\n\x15\x44\x65viceCodeAuthRequest\x12.\n\x0binstance_id\x18\x01 \x01(\tB\r\xe0\x41\x02\xd2\xf3\x18\x06\n\x04uuidR\ninstanceId\x12\x41\n\x07service\x18\x02 \x01(\x0e\x32\".soulfire.v1.AccountTypeDeviceCodeB\x03\xe0\x41\x02R\x07service\"\xd3\x01\n\nDeviceCode\x12$\n\x0b\x64\x65vice_code\x18\x01 \x01(\tB\x03\xe0\x41\x02R\ndeviceCode\x12 \n\tuser_code\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x08userCode\x12\x37\n\x10verification_uri\x18\x03 \x01(\tB\x0c\xe0\x41\x02\xd2\xf3\x18\x05\n\x03uriR\x0fverificationUri\x12\x44\n\x17\x64irect_verification_uri\x18\x04 \x01(\tB\x0c\xe0\x41\x02\xd2\xf3\x18\x05\n\x03uriR\x15\x64irectVerificationUri\"\x9c\x01\n\x16\x44\x65viceCodeAuthResponse\x12>\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\".soulfire.v1.MinecraftAccountProtoH\x00R\x07\x61\x63\x63ount\x12:\n\x0b\x64\x65vice_code\x18\x02 \x01(\x0b\x32\x17.soulfire.v1.DeviceCodeH\x00R\ndeviceCodeB\x06\n\x04\x64\x61ta\"\x83\x01\n\x0eRefreshRequest\x12.\n\x0binstance_id\x18\x01 \x01(\tB\r\xe0\x41\x02\xd2\xf3\x18\x06\n\x04uuidR\ninstanceId\x12\x41\n\x07\x61\x63\x63ount\x18\x02 \x01(\x0b\x32\".soulfire.v1.MinecraftAccountProtoB\x03\xe0\x41\x02R\x07\x61\x63\x63ount\"T\n\x0fRefreshResponse\x12\x41\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\".soulfire.v1.MinecraftAccountProtoB\x03\xe0\x41\x02R\x07\x61\x63\x63ount2\x86\x06\n\rMCAuthService\x12\xfb\x01\n\x10LoginCredentials\x12#.soulfire.v1.CredentialsAuthRequest\x1a$.soulfire.v1.CredentialsAuthResponse\"\x99\x01\xca\xf3\x18\x94\x01\n\x1f\x41uthenticate Minecraft accounts\x1a\x17\x41UTHENTICATE_MC_ACCOUNT\"\x08instance2\x10Server streaming:<Streams per-account authentication results as they complete.0\x01\x12\x84\x02\n\x0fLoginDeviceCode\x12\".soulfire.v1.DeviceCodeAuthRequest\x1a#.soulfire.v1.DeviceCodeAuthResponse\"\xa5\x01\xca\xf3\x18\xa0\x01\n Start device-code Minecraft auth\x1a\x17\x41UTHENTICATE_MC_ACCOUNT\"\x08instance2\x10Server streaming:GStreams device-code instructions followed by the authenticated account.0\x01\x12\xef\x01\n\x07Refresh\x12\x1b.soulfire.v1.RefreshRequest\x1a\x1c.soulfire.v1.RefreshResponse\"\xa8\x01\xca\xf3\x18n\n\x19Refresh Minecraft account\x1a\x17\x41UTHENTICATE_MC_ACCOUNT\"\x08instance:.Refreshes the account\'s authentication tokens.\x82\xd3\xe4\x93\x02\x30\"+/v1/instances/{instance_id}/mc-auth:refresh:\x01*B!\n\x1d\x63om.soulfiremc.grpc.generatedP\x01\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'soulfire.mc_auth_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\035com.soulfiremc.grpc.generatedP\001'
  _globals['_CREDENTIALSAUTHREQUEST'].fields_by_name['instance_id']._loaded_options = None
  _globals['_CREDENTIALSAUTHREQUEST'].fields_by_name['instance_id']._serialized_options = b'\340A\002\322\363\030\006\n\004uuid'
  _globals['_CREDENTIALSAUTHREQUEST'].fields_by_name['service']._loaded_options = None
  _globals['_CREDENTIALSAUTHREQUEST'].fields_by_name['service']._serialized_options = b'\340A\002'
  _globals['_CREDENTIALSAUTHREQUEST'].fields_by_name['payload']._loaded_options = None
  _globals['_CREDENTIALSAUTHREQUEST'].fields_by_name['payload']._serialized_options = b'\340A\002'
  _globals['_CREDENTIALSAUTHONESUCCESS'].fields_by_name['account']._loaded_options = None
  _globals['_CREDENTIALSAUTHONESUCCESS'].fields_by_name['account']._serialized_options = b'\340A\002'
  _globals['_DEVICECODEAUTHREQUEST'].fields_by_name['instance_id']._loaded_options = None
  _globals['_DEVICECODEAUTHREQUEST'].fields_by_name['instance_id']._serialized_options = b'\340A\002\322\363\030\006\n\004uuid'
  _globals['_DEVICECODEAUTHREQUEST'].fields_by_name['service']._loaded_options = None
  _globals['_DEVICECODEAUTHREQUEST'].fields_by_name['service']._serialized_options = b'\340A\002'
  _globals['_DEVICECODE'].fields_by_name['device_code']._loaded_options = None
  _globals['_DEVICECODE'].fields_by_name['device_code']._serialized_options = b'\340A\002'
  _globals['_DEVICECODE'].fields_by_name['user_code']._loaded_options = None
  _globals['_DEVICECODE'].fields_by_name['user_code']._serialized_options = b'\340A\002'
  _globals['_DEVICECODE'].fields_by_name['verification_uri']._loaded_options = None
  _globals['_DEVICECODE'].fields_by_name['verification_uri']._serialized_options = b'\340A\002\322\363\030\005\n\003uri'
  _globals['_DEVICECODE'].fields_by_name['direct_verification_uri']._loaded_options = None
  _globals['_DEVICECODE'].fields_by_name['direct_verification_uri']._serialized_options = b'\340A\002\322\363\030\005\n\003uri'
  _globals['_REFRESHREQUEST'].fields_by_name['instance_id']._loaded_options = None
  _globals['_REFRESHREQUEST'].fields_by_name['instance_id']._serialized_options = b'\340A\002\322\363\030\006\n\004uuid'
  _globals['_REFRESHREQUEST'].fields_by_name['account']._loaded_options = None
  _globals['_REFRESHREQUEST'].fields_by_name['account']._serialized_options = b'\340A\002'
  _globals['_REFRESHRESPONSE'].fields_by_name['account']._loaded_options = None
  _globals['_REFRESHRESPONSE'].fields_by_name['account']._serialized_options = b'\340A\002'
  _globals['_MCAUTHSERVICE'].methods_by_name['LoginCredentials']._loaded_options = None
  _globals['_MCAUTHSERVICE'].methods_by_name['LoginCredentials']._serialized_options = b'\312\363\030\224\001\n\037Authenticate Minecraft accounts\032\027AUTHENTICATE_MC_ACCOUNT\"\010instance2\020Server streaming:<Streams per-account authentication results as they complete.'
  _globals['_MCAUTHSERVICE'].methods_by_name['LoginDeviceCode']._loaded_options = None
  _globals['_MCAUTHSERVICE'].methods_by_name['LoginDeviceCode']._serialized_options = b'\312\363\030\240\001\n Start device-code Minecraft auth\032\027AUTHENTICATE_MC_ACCOUNT\"\010instance2\020Server streaming:GStreams device-code instructions followed by the authenticated account.'
  _globals['_MCAUTHSERVICE'].methods_by_name['Refresh']._loaded_options = None
  _globals['_MCAUTHSERVICE'].methods_by_name['Refresh']._serialized_options = b'\312\363\030n\n\031Refresh Minecraft account\032\027AUTHENTICATE_MC_ACCOUNT\"\010instance:.Refreshes the account\'s authentication tokens.\202\323\344\223\0020\"+/v1/instances/{instance_id}/mc-auth:refresh:\001*'
  _globals['_CREDENTIALSAUTHREQUEST']._serialized_start=151
  _globals['_CREDENTIALSAUTHREQUEST']._serialized_end=322
  _globals['_CREDENTIALSAUTHONESUCCESS']._serialized_start=324
  _globals['_CREDENTIALSAUTHONESUCCESS']._serialized_end=418
  _globals['_CREDENTIALSAUTHONEFAILURE']._serialized_start=420
  _globals['_CREDENTIALSAUTHONEFAILURE']._serialized_end=447
  _globals['_CREDENTIALSAUTHEND']._serialized_start=449
  _globals['_CREDENTIALSAUTHEND']._serialized_end=469
  _globals['_CREDENTIALSAUTHRESPONSE']._serialized_start=472
  _globals['_CREDENTIALSAUTHRESPONSE']._serialized_end=708
  _globals['_DEVICECODEAUTHREQUEST']._serialized_start=711
  _globals['_DEVICECODEAUTHREQUEST']._serialized_end=849
  _globals['_DEVICECODE']._serialized_start=852
  _globals['_DEVICECODE']._serialized_end=1063
  _globals['_DEVICECODEAUTHRESPONSE']._serialized_start=1066
  _globals['_DEVICECODEAUTHRESPONSE']._serialized_end=1222
  _globals['_REFRESHREQUEST']._serialized_start=1225
  _globals['_REFRESHREQUEST']._serialized_end=1356
  _globals['_REFRESHRESPONSE']._serialized_start=1358
  _globals['_REFRESHRESPONSE']._serialized_end=1442
  _globals['_MCAUTHSERVICE']._serialized_start=1445
  _globals['_MCAUTHSERVICE']._serialized_end=2219
# @@protoc_insertion_point(module_scope)
