# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/identity/v1/keyapis_identity_token_v1.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


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'\n3keyapis/identity/v1/keyapis_identity_token_v1.proto\x12\x13keyapis.identity.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\";\n\x05Token\x12\x19\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nexpires_in\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\",\n\x14PostTokenUserRequest\x12\x14\n\x07user_id\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\"\xfd\x01\n\x15PostTokenUserResponse\x12*\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1a.keyapis.identity.v1.TokenH\x00\x12\x41\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x30.keyapis.identity.v1.PostTokenUserResponse.ErrorH\x00\x1am\n\x05\x45rror\x12L\n\x05token\x18\x01 \x01(\x0b\x32;.keyapis.identity.v1.PostTokenUserResponse.Error.TokenErrorH\x00\x1a\x0c\n\nTokenErrorB\x08\n\x06reasonB\x06\n\x04type2\xaf\x01\n\x0cTokenService\x12\x9e\x01\n\rPostTokenUser\x12).keyapis.identity.v1.PostTokenUserRequest\x1a*.keyapis.identity.v1.PostTokenUserResponse\"6\x82\xd3\xe4\x93\x02\x30\"./identity/internal/api/v1/token/user/{user_id}B\xa8\x01\n\x16ru.keyapis.identity.v1B\x16KeyapisIdentityV1ProtoH\x03P\x00Z\x14/keyapis_identity_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x11KEYAPISIDENTITYV1\xaa\x02\x13Keyapis.Identity.V1\xca\x02\x13Keyapis\\Identity\\V1\xea\x02\x15Keyapis::Identity::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'keyapis.identity.v1.keyapis_identity_token_v1_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\026ru.keyapis.identity.v1B\026KeyapisIdentityV1ProtoH\003P\000Z\024/keyapis_identity_v1\330\001\001\370\001\001\242\002\021KEYAPISIDENTITYV1\252\002\023Keyapis.Identity.V1\312\002\023Keyapis\\Identity\\V1\352\002\025Keyapis::Identity::V1'
  _TOKEN.fields_by_name['access_token']._options = None
  _TOKEN.fields_by_name['access_token']._serialized_options = b'\340A\002'
  _TOKEN.fields_by_name['expires_in']._options = None
  _TOKEN.fields_by_name['expires_in']._serialized_options = b'\340A\002'
  _POSTTOKENUSERREQUEST.fields_by_name['user_id']._options = None
  _POSTTOKENUSERREQUEST.fields_by_name['user_id']._serialized_options = b'\340A\002'
  _TOKENSERVICE.methods_by_name['PostTokenUser']._options = None
  _TOKENSERVICE.methods_by_name['PostTokenUser']._serialized_options = b'\202\323\344\223\0020\"./identity/internal/api/v1/token/user/{user_id}'
  _globals['_TOKEN']._serialized_start=139
  _globals['_TOKEN']._serialized_end=198
  _globals['_POSTTOKENUSERREQUEST']._serialized_start=200
  _globals['_POSTTOKENUSERREQUEST']._serialized_end=244
  _globals['_POSTTOKENUSERRESPONSE']._serialized_start=247
  _globals['_POSTTOKENUSERRESPONSE']._serialized_end=500
  _globals['_POSTTOKENUSERRESPONSE_ERROR']._serialized_start=383
  _globals['_POSTTOKENUSERRESPONSE_ERROR']._serialized_end=492
  _globals['_POSTTOKENUSERRESPONSE_ERROR_TOKENERROR']._serialized_start=470
  _globals['_POSTTOKENUSERRESPONSE_ERROR_TOKENERROR']._serialized_end=482
  _globals['_TOKENSERVICE']._serialized_start=503
  _globals['_TOKENSERVICE']._serialized_end=678
# @@protoc_insertion_point(module_scope)
