//
//Сервис управления компаниями

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

package keyapis_vc_v1

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	_ "google.golang.org/protobuf/types/known/timestamppb"
	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 PostCompanyImpersonationRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор компании.
	// # Диапазон: 1..2147483647
	CompanyId int32 `protobuf:"varint,1,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"`
}

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

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

func (*PostCompanyImpersonationRequest) ProtoMessage() {}

func (x *PostCompanyImpersonationRequest) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_vc_v1_keyapis_vc_company_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 PostCompanyImpersonationRequest.ProtoReflect.Descriptor instead.
func (*PostCompanyImpersonationRequest) Descriptor() ([]byte, []int) {
	return file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescGZIP(), []int{0}
}

func (x *PostCompanyImpersonationRequest) GetCompanyId() int32 {
	if x != nil {
		return x.CompanyId
	}
	return 0
}

// Ответ на запрос генерации имперсонационной ссылки для компании
type PostCompanyImpersonationResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

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

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

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

func (*PostCompanyImpersonationResponse) ProtoMessage() {}

func (x *PostCompanyImpersonationResponse) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_vc_v1_keyapis_vc_company_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 PostCompanyImpersonationResponse.ProtoReflect.Descriptor instead.
func (*PostCompanyImpersonationResponse) Descriptor() ([]byte, []int) {
	return file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescGZIP(), []int{1}
}

func (m *PostCompanyImpersonationResponse) GetType() isPostCompanyImpersonationResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *PostCompanyImpersonationResponse) GetData() *PostCompanyImpersonationResponse_CompanyImpersonation {
	if x, ok := x.GetType().(*PostCompanyImpersonationResponse_Data); ok {
		return x.Data
	}
	return nil
}

func (x *PostCompanyImpersonationResponse) GetError() *PostCompanyImpersonationResponse_Error {
	if x, ok := x.GetType().(*PostCompanyImpersonationResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isPostCompanyImpersonationResponse_Type interface {
	isPostCompanyImpersonationResponse_Type()
}

type PostCompanyImpersonationResponse_Data struct {
	// Имперсонационная ссылка
	Data *PostCompanyImpersonationResponse_CompanyImpersonation `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

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

func (*PostCompanyImpersonationResponse_Data) isPostCompanyImpersonationResponse_Type() {}

func (*PostCompanyImpersonationResponse_Error_) isPostCompanyImpersonationResponse_Type() {}

// Ошибка генерации имперсонационной ссылки для компании
type PostCompanyImpersonationResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*PostCompanyImpersonationResponse_Error_Validation
	//	*PostCompanyImpersonationResponse_Error_OwnerNotFound_
	//	*PostCompanyImpersonationResponse_Error_UserServiceError_
	//	*PostCompanyImpersonationResponse_Error_VcfrontServiceError_
	Reason isPostCompanyImpersonationResponse_Error_Reason `protobuf_oneof:"reason"`
}

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

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

func (*PostCompanyImpersonationResponse_Error) ProtoMessage() {}

func (x *PostCompanyImpersonationResponse_Error) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_vc_v1_keyapis_vc_company_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 PostCompanyImpersonationResponse_Error.ProtoReflect.Descriptor instead.
func (*PostCompanyImpersonationResponse_Error) Descriptor() ([]byte, []int) {
	return file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescGZIP(), []int{1, 0}
}

func (m *PostCompanyImpersonationResponse_Error) GetReason() isPostCompanyImpersonationResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PostCompanyImpersonationResponse_Error) GetValidation() *ValidationError {
	if x, ok := x.GetReason().(*PostCompanyImpersonationResponse_Error_Validation); ok {
		return x.Validation
	}
	return nil
}

func (x *PostCompanyImpersonationResponse_Error) GetOwnerNotFound() *PostCompanyImpersonationResponse_Error_OwnerNotFound {
	if x, ok := x.GetReason().(*PostCompanyImpersonationResponse_Error_OwnerNotFound_); ok {
		return x.OwnerNotFound
	}
	return nil
}

func (x *PostCompanyImpersonationResponse_Error) GetUserServiceError() *PostCompanyImpersonationResponse_Error_UserServiceError {
	if x, ok := x.GetReason().(*PostCompanyImpersonationResponse_Error_UserServiceError_); ok {
		return x.UserServiceError
	}
	return nil
}

func (x *PostCompanyImpersonationResponse_Error) GetVcfrontServiceError() *PostCompanyImpersonationResponse_Error_VcfrontServiceError {
	if x, ok := x.GetReason().(*PostCompanyImpersonationResponse_Error_VcfrontServiceError_); ok {
		return x.VcfrontServiceError
	}
	return nil
}

type isPostCompanyImpersonationResponse_Error_Reason interface {
	isPostCompanyImpersonationResponse_Error_Reason()
}

type PostCompanyImpersonationResponse_Error_Validation struct {
	// Ошибка валидации
	Validation *ValidationError `protobuf:"bytes,1,opt,name=validation,proto3,oneof"`
}

type PostCompanyImpersonationResponse_Error_OwnerNotFound_ struct {
	// Владелец компании не найден
	OwnerNotFound *PostCompanyImpersonationResponse_Error_OwnerNotFound `protobuf:"bytes,2,opt,name=owner_not_found,json=ownerNotFound,proto3,oneof"`
}

type PostCompanyImpersonationResponse_Error_UserServiceError_ struct {
	// Ошибка взаимодействия с сервисом User
	UserServiceError *PostCompanyImpersonationResponse_Error_UserServiceError `protobuf:"bytes,3,opt,name=user_service_error,json=userServiceError,proto3,oneof"`
}

type PostCompanyImpersonationResponse_Error_VcfrontServiceError_ struct {
	// Ошибка взаимодействия с сервисом vcfront
	VcfrontServiceError *PostCompanyImpersonationResponse_Error_VcfrontServiceError `protobuf:"bytes,4,opt,name=vcfront_service_error,json=vcfrontServiceError,proto3,oneof"`
}

func (*PostCompanyImpersonationResponse_Error_Validation) isPostCompanyImpersonationResponse_Error_Reason() {
}

func (*PostCompanyImpersonationResponse_Error_OwnerNotFound_) isPostCompanyImpersonationResponse_Error_Reason() {
}

func (*PostCompanyImpersonationResponse_Error_UserServiceError_) isPostCompanyImpersonationResponse_Error_Reason() {
}

func (*PostCompanyImpersonationResponse_Error_VcfrontServiceError_) isPostCompanyImpersonationResponse_Error_Reason() {
}

// Имперсонационная ссылка
type PostCompanyImpersonationResponse_CompanyImpersonation struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Одноразовая ссылка для имперсонации
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
}

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

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

func (*PostCompanyImpersonationResponse_CompanyImpersonation) ProtoMessage() {}

func (x *PostCompanyImpersonationResponse_CompanyImpersonation) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_vc_v1_keyapis_vc_company_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 PostCompanyImpersonationResponse_CompanyImpersonation.ProtoReflect.Descriptor instead.
func (*PostCompanyImpersonationResponse_CompanyImpersonation) Descriptor() ([]byte, []int) {
	return file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescGZIP(), []int{1, 1}
}

func (x *PostCompanyImpersonationResponse_CompanyImpersonation) GetUrl() string {
	if x != nil {
		return x.Url
	}
	return ""
}

// Владелец компании не найден
type PostCompanyImpersonationResponse_Error_OwnerNotFound struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*PostCompanyImpersonationResponse_Error_OwnerNotFound) ProtoMessage() {}

func (x *PostCompanyImpersonationResponse_Error_OwnerNotFound) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_vc_v1_keyapis_vc_company_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 PostCompanyImpersonationResponse_Error_OwnerNotFound.ProtoReflect.Descriptor instead.
func (*PostCompanyImpersonationResponse_Error_OwnerNotFound) Descriptor() ([]byte, []int) {
	return file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescGZIP(), []int{1, 0, 0}
}

// Ошибка взаимодействия с сервисом User
type PostCompanyImpersonationResponse_Error_UserServiceError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostCompanyImpersonationResponse_Error_UserServiceError) Reset() {
	*x = PostCompanyImpersonationResponse_Error_UserServiceError{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PostCompanyImpersonationResponse_Error_UserServiceError) ProtoMessage() {}

func (x *PostCompanyImpersonationResponse_Error_UserServiceError) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[5]
	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 PostCompanyImpersonationResponse_Error_UserServiceError.ProtoReflect.Descriptor instead.
func (*PostCompanyImpersonationResponse_Error_UserServiceError) Descriptor() ([]byte, []int) {
	return file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescGZIP(), []int{1, 0, 1}
}

// Ошибка взаимодействия с сервисом vcfront
type PostCompanyImpersonationResponse_Error_VcfrontServiceError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostCompanyImpersonationResponse_Error_VcfrontServiceError) Reset() {
	*x = PostCompanyImpersonationResponse_Error_VcfrontServiceError{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PostCompanyImpersonationResponse_Error_VcfrontServiceError) ProtoMessage() {}

func (x *PostCompanyImpersonationResponse_Error_VcfrontServiceError) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[6]
	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 PostCompanyImpersonationResponse_Error_VcfrontServiceError.ProtoReflect.Descriptor instead.
func (*PostCompanyImpersonationResponse_Error_VcfrontServiceError) Descriptor() ([]byte, []int) {
	return file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescGZIP(), []int{1, 0, 2}
}

var File_keyapis_vc_v1_keyapis_vc_company_v1_proto protoreflect.FileDescriptor

var file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDesc = []byte{
	0x0a, 0x29, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f,
	0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x76, 0x63, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61,
	0x6e, 0x79, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x76, 0x63, 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, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
	0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2f, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69,
	0x73, 0x5f, 0x76, 0x63, 0x5f, 0x63, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x5f, 0x76, 0x31, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x1f, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70,
	0x61, 0x6e, 0x79, 0x49, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61,
	0x6e, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02,
	0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x64, 0x22, 0xfe, 0x05, 0x0a, 0x20,
	0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x6d, 0x70, 0x65, 0x72,
	0x73, 0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
	0x12, 0x5a, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44,
	0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50,
	0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x6d, 0x70, 0x65, 0x72, 0x73,
	0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
	0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4d, 0x0a, 0x05,
	0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74,
	0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72,
	0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xf7, 0x03, 0x0a, 0x05,
	0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
	0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x61, 0x6c,
	0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6d, 0x0a, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72,
	0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
	0x32, 0x43, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x76, 0x63, 0x2e, 0x76, 0x31,
	0x2e, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x6d, 0x70, 0x65,
	0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x6f, 0x74,
	0x46, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x6f,
	0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x76, 0x0a, 0x12, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73,
	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01,
	0x28, 0x0b, 0x32, 0x46, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x76, 0x63, 0x2e,
	0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x6d,
	0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
	0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65,
	0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x10, 0x75, 0x73,
	0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x7f,
	0x0a, 0x15, 0x76, 0x63, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x49, 0x2e,
	0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f,
	0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f,
	0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45,
	0x72, 0x72, 0x6f, 0x72, 0x2e, 0x56, 0x63, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76,
	0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x13, 0x76, 0x63, 0x66, 0x72,
	0x6f, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x1a,
	0x0f, 0x0a, 0x0d, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64,
	0x1a, 0x12, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45,
	0x72, 0x72, 0x6f, 0x72, 0x1a, 0x15, 0x0a, 0x13, 0x56, 0x63, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x53,
	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x72,
	0x65, 0x61, 0x73, 0x6f, 0x6e, 0x1a, 0x2d, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79,
	0x49, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a,
	0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
	0x03, 0x75, 0x72, 0x6c, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x32, 0xc8, 0x01, 0x0a,
	0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
	0xb5, 0x01, 0x0a, 0x18, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49,
	0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73,
	0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73,
	0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x82,
	0xd3, 0xe4, 0x93, 0x02, 0x32, 0x3a, 0x01, 0x2a, 0x22, 0x2d, 0x2f, 0x76, 0x63, 0x2f, 0x61, 0x70,
	0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x2f, 0x7b, 0x63, 0x6f,
	0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x69, 0x6d, 0x70, 0x65, 0x72, 0x73,
	0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x7e, 0x0a, 0x10, 0x72, 0x75, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x4b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x56, 0x63, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50,
	0x00, 0x5a, 0x0e, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x76, 0x63, 0x5f, 0x76,
	0x31, 0xd8, 0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x0b, 0x4b, 0x45, 0x59, 0x41, 0x50, 0x49,
	0x53, 0x56, 0x43, 0x56, 0x31, 0xaa, 0x02, 0x0d, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e,
	0x56, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5c,
	0x56, 0x63, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x0f, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x3a,
	0x3a, 0x56, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescOnce sync.Once
	file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescData = file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDesc
)

func file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescGZIP() []byte {
	file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescData)
	})
	return file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDescData
}

var file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_keyapis_vc_v1_keyapis_vc_company_v1_proto_goTypes = []interface{}{
	(*PostCompanyImpersonationRequest)(nil),                            // 0: keyapis.vc.v1.PostCompanyImpersonationRequest
	(*PostCompanyImpersonationResponse)(nil),                           // 1: keyapis.vc.v1.PostCompanyImpersonationResponse
	(*PostCompanyImpersonationResponse_Error)(nil),                     // 2: keyapis.vc.v1.PostCompanyImpersonationResponse.Error
	(*PostCompanyImpersonationResponse_CompanyImpersonation)(nil),      // 3: keyapis.vc.v1.PostCompanyImpersonationResponse.CompanyImpersonation
	(*PostCompanyImpersonationResponse_Error_OwnerNotFound)(nil),       // 4: keyapis.vc.v1.PostCompanyImpersonationResponse.Error.OwnerNotFound
	(*PostCompanyImpersonationResponse_Error_UserServiceError)(nil),    // 5: keyapis.vc.v1.PostCompanyImpersonationResponse.Error.UserServiceError
	(*PostCompanyImpersonationResponse_Error_VcfrontServiceError)(nil), // 6: keyapis.vc.v1.PostCompanyImpersonationResponse.Error.VcfrontServiceError
	(*ValidationError)(nil),                                            // 7: keyapis.vc.v1.ValidationError
}
var file_keyapis_vc_v1_keyapis_vc_company_v1_proto_depIdxs = []int32{
	3, // 0: keyapis.vc.v1.PostCompanyImpersonationResponse.data:type_name -> keyapis.vc.v1.PostCompanyImpersonationResponse.CompanyImpersonation
	2, // 1: keyapis.vc.v1.PostCompanyImpersonationResponse.error:type_name -> keyapis.vc.v1.PostCompanyImpersonationResponse.Error
	7, // 2: keyapis.vc.v1.PostCompanyImpersonationResponse.Error.validation:type_name -> keyapis.vc.v1.ValidationError
	4, // 3: keyapis.vc.v1.PostCompanyImpersonationResponse.Error.owner_not_found:type_name -> keyapis.vc.v1.PostCompanyImpersonationResponse.Error.OwnerNotFound
	5, // 4: keyapis.vc.v1.PostCompanyImpersonationResponse.Error.user_service_error:type_name -> keyapis.vc.v1.PostCompanyImpersonationResponse.Error.UserServiceError
	6, // 5: keyapis.vc.v1.PostCompanyImpersonationResponse.Error.vcfront_service_error:type_name -> keyapis.vc.v1.PostCompanyImpersonationResponse.Error.VcfrontServiceError
	0, // 6: keyapis.vc.v1.CompanyService.PostCompanyImpersonation:input_type -> keyapis.vc.v1.PostCompanyImpersonationRequest
	1, // 7: keyapis.vc.v1.CompanyService.PostCompanyImpersonation:output_type -> keyapis.vc.v1.PostCompanyImpersonationResponse
	7, // [7:8] is the sub-list for method output_type
	6, // [6:7] is the sub-list for method input_type
	6, // [6:6] is the sub-list for extension type_name
	6, // [6:6] is the sub-list for extension extendee
	0, // [0:6] is the sub-list for field type_name
}

func init() { file_keyapis_vc_v1_keyapis_vc_company_v1_proto_init() }
func file_keyapis_vc_v1_keyapis_vc_company_v1_proto_init() {
	if File_keyapis_vc_v1_keyapis_vc_company_v1_proto != nil {
		return
	}
	file_keyapis_vc_v1_keyapis_vc_camera_v1_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostCompanyImpersonationRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostCompanyImpersonationResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostCompanyImpersonationResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostCompanyImpersonationResponse_CompanyImpersonation); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostCompanyImpersonationResponse_Error_OwnerNotFound); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostCompanyImpersonationResponse_Error_UserServiceError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostCompanyImpersonationResponse_Error_VcfrontServiceError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[1].OneofWrappers = []interface{}{
		(*PostCompanyImpersonationResponse_Data)(nil),
		(*PostCompanyImpersonationResponse_Error_)(nil),
	}
	file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes[2].OneofWrappers = []interface{}{
		(*PostCompanyImpersonationResponse_Error_Validation)(nil),
		(*PostCompanyImpersonationResponse_Error_OwnerNotFound_)(nil),
		(*PostCompanyImpersonationResponse_Error_UserServiceError_)(nil),
		(*PostCompanyImpersonationResponse_Error_VcfrontServiceError_)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_keyapis_vc_v1_keyapis_vc_company_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_vc_v1_keyapis_vc_company_v1_proto_depIdxs,
		MessageInfos:      file_keyapis_vc_v1_keyapis_vc_company_v1_proto_msgTypes,
	}.Build()
	File_keyapis_vc_v1_keyapis_vc_company_v1_proto = out.File
	file_keyapis_vc_v1_keyapis_vc_company_v1_proto_rawDesc = nil
	file_keyapis_vc_v1_keyapis_vc_company_v1_proto_goTypes = nil
	file_keyapis_vc_v1_keyapis_vc_company_v1_proto_depIdxs = nil
}
