//
//Сервис предоставляет возможность авторизации

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.30.0
// 	protoc        v4.23.1
// source: keyapis/identity/v1/keyapis_identity_token_v1.proto

package keyapis_identity_v1

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Информация о токене доступа пользователя
type Token struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Токен
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// Время (в секундах), через которое истечет срок действия Access Token
	ExpiresIn int32 `protobuf:"varint,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
}

func (x *Token) Reset() {
	*x = Token{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *Token) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Token) ProtoMessage() {}

func (x *Token) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Token.ProtoReflect.Descriptor instead.
func (*Token) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescGZIP(), []int{0}
}

func (x *Token) GetAccessToken() string {
	if x != nil {
		return x.AccessToken
	}
	return ""
}

func (x *Token) GetExpiresIn() int32 {
	if x != nil {
		return x.ExpiresIn
	}
	return 0
}

// Запрос на получение токена по идентификатору пользователя
type PostTokenUserRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор пользователя
	UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
}

func (x *PostTokenUserRequest) Reset() {
	*x = PostTokenUserRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostTokenUserRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostTokenUserRequest) ProtoMessage() {}

func (x *PostTokenUserRequest) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostTokenUserRequest.ProtoReflect.Descriptor instead.
func (*PostTokenUserRequest) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescGZIP(), []int{1}
}

func (x *PostTokenUserRequest) GetUserId() int32 {
	if x != nil {
		return x.UserId
	}
	return 0
}

// Ответ на запрос на получение токена по идентификатору пользователя
type PostTokenUserResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип результата
	//
	// Types that are assignable to Type:
	//
	//	*PostTokenUserResponse_Data
	//	*PostTokenUserResponse_Error_
	Type isPostTokenUserResponse_Type `protobuf_oneof:"type"`
}

func (x *PostTokenUserResponse) Reset() {
	*x = PostTokenUserResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostTokenUserResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostTokenUserResponse) ProtoMessage() {}

func (x *PostTokenUserResponse) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostTokenUserResponse.ProtoReflect.Descriptor instead.
func (*PostTokenUserResponse) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescGZIP(), []int{2}
}

func (m *PostTokenUserResponse) GetType() isPostTokenUserResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *PostTokenUserResponse) GetData() *Token {
	if x, ok := x.GetType().(*PostTokenUserResponse_Data); ok {
		return x.Data
	}
	return nil
}

func (x *PostTokenUserResponse) GetError() *PostTokenUserResponse_Error {
	if x, ok := x.GetType().(*PostTokenUserResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isPostTokenUserResponse_Type interface {
	isPostTokenUserResponse_Type()
}

type PostTokenUserResponse_Data struct {
	// Токен пользователя
	Data *Token `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

type PostTokenUserResponse_Error_ struct {
	// Ошибка
	Error *PostTokenUserResponse_Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

func (*PostTokenUserResponse_Data) isPostTokenUserResponse_Type() {}

func (*PostTokenUserResponse_Error_) isPostTokenUserResponse_Type() {}

// Ошибка запроса на получение токена по идентификатору пользователя
type PostTokenUserResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*PostTokenUserResponse_Error_Token
	Reason isPostTokenUserResponse_Error_Reason `protobuf_oneof:"reason"`
}

func (x *PostTokenUserResponse_Error) Reset() {
	*x = PostTokenUserResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostTokenUserResponse_Error) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostTokenUserResponse_Error) ProtoMessage() {}

func (x *PostTokenUserResponse_Error) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostTokenUserResponse_Error.ProtoReflect.Descriptor instead.
func (*PostTokenUserResponse_Error) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescGZIP(), []int{2, 0}
}

func (m *PostTokenUserResponse_Error) GetReason() isPostTokenUserResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PostTokenUserResponse_Error) GetToken() *PostTokenUserResponse_Error_TokenError {
	if x, ok := x.GetReason().(*PostTokenUserResponse_Error_Token); ok {
		return x.Token
	}
	return nil
}

type isPostTokenUserResponse_Error_Reason interface {
	isPostTokenUserResponse_Error_Reason()
}

type PostTokenUserResponse_Error_Token struct {
	// Ошибка получения токена
	Token *PostTokenUserResponse_Error_TokenError `protobuf:"bytes,1,opt,name=token,proto3,oneof"`
}

func (*PostTokenUserResponse_Error_Token) isPostTokenUserResponse_Error_Reason() {}

// Ошибка получения токена.
// Причины:
// - Ошибка в сервисе Household
type PostTokenUserResponse_Error_TokenError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostTokenUserResponse_Error_TokenError) Reset() {
	*x = PostTokenUserResponse_Error_TokenError{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostTokenUserResponse_Error_TokenError) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostTokenUserResponse_Error_TokenError) ProtoMessage() {}

func (x *PostTokenUserResponse_Error_TokenError) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostTokenUserResponse_Error_TokenError.ProtoReflect.Descriptor instead.
func (*PostTokenUserResponse_Error_TokenError) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescGZIP(), []int{2, 0, 0}
}

var File_keyapis_identity_v1_keyapis_identity_token_v1_proto protoreflect.FileDescriptor

var file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDesc = []byte{
	0x0a, 0x33, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
	0x74, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x69, 0x64,
	0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x31, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69,
	0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
	0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
	0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x05, 0x54, 0x6f, 0x6b,
	0x65, 0x6e, 0x12, 0x26, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b,
	0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x61,
	0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x22, 0x0a, 0x0a, 0x65, 0x78,
	0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03,
	0xe0, 0x41, 0x02, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x49, 0x6e, 0x22, 0x34,
	0x0a, 0x14, 0x50, 0x6f, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x75, 0x73,
	0x65, 0x72, 0x49, 0x64, 0x22, 0x91, 0x02, 0x0a, 0x15, 0x50, 0x6f, 0x73, 0x74, 0x54, 0x6f, 0x6b,
	0x65, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30,
	0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e,
	0x76, 0x31, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
	0x12, 0x48, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
	0x30, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
	0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55,
	0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f,
	0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x74, 0x0a, 0x05, 0x45, 0x72,
	0x72, 0x6f, 0x72, 0x12, 0x53, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65,
	0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x54, 0x6f, 0x6b,
	0x65, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45,
	0x72, 0x72, 0x6f, 0x72, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48,
	0x00, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x0c, 0x0a, 0x0a, 0x54, 0x6f, 0x6b, 0x65,
	0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e,
	0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x32, 0xaf, 0x01, 0x0a, 0x0c, 0x54, 0x6f, 0x6b,
	0x65, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9e, 0x01, 0x0a, 0x0d, 0x50, 0x6f,
	0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76,
	0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73,
	0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x22, 0x2e, 0x2f, 0x69, 0x64, 0x65,
	0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x61,
	0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x75, 0x73, 0x65, 0x72,
	0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x42, 0xa8, 0x01, 0x0a, 0x16, 0x72,
	0x75, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
	0x74, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x49, 0x64,
	0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50,
	0x00, 0x5a, 0x14, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x69, 0x64, 0x65, 0x6e,
	0x74, 0x69, 0x74, 0x79, 0x5f, 0x76, 0x31, 0xd8, 0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x11,
	0x4b, 0x45, 0x59, 0x41, 0x50, 0x49, 0x53, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x56,
	0x31, 0xaa, 0x02, 0x13, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6e,
	0x74, 0x69, 0x74, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69,
	0x73, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x15,
	0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
	0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescOnce sync.Once
	file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescData = file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDesc
)

func file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescGZIP() []byte {
	file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescData)
	})
	return file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDescData
}

var file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_keyapis_identity_v1_keyapis_identity_token_v1_proto_goTypes = []interface{}{
	(*Token)(nil),                                  // 0: keyapis.identity.v1.Token
	(*PostTokenUserRequest)(nil),                   // 1: keyapis.identity.v1.PostTokenUserRequest
	(*PostTokenUserResponse)(nil),                  // 2: keyapis.identity.v1.PostTokenUserResponse
	(*PostTokenUserResponse_Error)(nil),            // 3: keyapis.identity.v1.PostTokenUserResponse.Error
	(*PostTokenUserResponse_Error_TokenError)(nil), // 4: keyapis.identity.v1.PostTokenUserResponse.Error.TokenError
}
var file_keyapis_identity_v1_keyapis_identity_token_v1_proto_depIdxs = []int32{
	0, // 0: keyapis.identity.v1.PostTokenUserResponse.data:type_name -> keyapis.identity.v1.Token
	3, // 1: keyapis.identity.v1.PostTokenUserResponse.error:type_name -> keyapis.identity.v1.PostTokenUserResponse.Error
	4, // 2: keyapis.identity.v1.PostTokenUserResponse.Error.token:type_name -> keyapis.identity.v1.PostTokenUserResponse.Error.TokenError
	1, // 3: keyapis.identity.v1.TokenService.PostTokenUser:input_type -> keyapis.identity.v1.PostTokenUserRequest
	2, // 4: keyapis.identity.v1.TokenService.PostTokenUser:output_type -> keyapis.identity.v1.PostTokenUserResponse
	4, // [4:5] is the sub-list for method output_type
	3, // [3:4] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_keyapis_identity_v1_keyapis_identity_token_v1_proto_init() }
func file_keyapis_identity_v1_keyapis_identity_token_v1_proto_init() {
	if File_keyapis_identity_v1_keyapis_identity_token_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Token); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostTokenUserRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostTokenUserResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostTokenUserResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostTokenUserResponse_Error_TokenError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[2].OneofWrappers = []interface{}{
		(*PostTokenUserResponse_Data)(nil),
		(*PostTokenUserResponse_Error_)(nil),
	}
	file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes[3].OneofWrappers = []interface{}{
		(*PostTokenUserResponse_Error_Token)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_keyapis_identity_v1_keyapis_identity_token_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_identity_v1_keyapis_identity_token_v1_proto_depIdxs,
		MessageInfos:      file_keyapis_identity_v1_keyapis_identity_token_v1_proto_msgTypes,
	}.Build()
	File_keyapis_identity_v1_keyapis_identity_token_v1_proto = out.File
	file_keyapis_identity_v1_keyapis_identity_token_v1_proto_rawDesc = nil
	file_keyapis_identity_v1_keyapis_identity_token_v1_proto_goTypes = nil
	file_keyapis_identity_v1_keyapis_identity_token_v1_proto_depIdxs = nil
}
