//
//Сервис для генерации и хранения приватных и публичных ключей, в данном случае необходимых для подписи токена, находится в DMZ зоне, непосредственно не участвует в сценариях Партнёра

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

package keyapis_kms_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/descriptorpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	_ "google.golang.org/protobuf/types/known/wrapperspb"
	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 PostKmsKeyGenerateRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*PostKmsKeyGenerateRequest) ProtoMessage() {}

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

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

	// Тип ответа
	//
	// Types that are assignable to Type:
	//
	//	*PostKmsKeyGenerateResponse_Data
	//	*PostKmsKeyGenerateResponse_Error_
	Type isPostKmsKeyGenerateResponse_Type `protobuf_oneof:"type"`
}

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

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

func (*PostKmsKeyGenerateResponse) ProtoMessage() {}

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

func (m *PostKmsKeyGenerateResponse) GetType() isPostKmsKeyGenerateResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *PostKmsKeyGenerateResponse) GetData() string {
	if x, ok := x.GetType().(*PostKmsKeyGenerateResponse_Data); ok {
		return x.Data
	}
	return ""
}

func (x *PostKmsKeyGenerateResponse) GetError() *PostKmsKeyGenerateResponse_Error {
	if x, ok := x.GetType().(*PostKmsKeyGenerateResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isPostKmsKeyGenerateResponse_Type interface {
	isPostKmsKeyGenerateResponse_Type()
}

type PostKmsKeyGenerateResponse_Data struct {
	// Идентификатор.
	// # Тип: Guid
	Data string `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

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

func (*PostKmsKeyGenerateResponse_Data) isPostKmsKeyGenerateResponse_Type() {}

func (*PostKmsKeyGenerateResponse_Error_) isPostKmsKeyGenerateResponse_Type() {}

// Запрос на получение ключей
type GetKmsKeyListRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*GetKmsKeyListRequest) ProtoMessage() {}

func (x *GetKmsKeyListRequest) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_kms_v1_keyapis_kms_key_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 GetKmsKeyListRequest.ProtoReflect.Descriptor instead.
func (*GetKmsKeyListRequest) Descriptor() ([]byte, []int) {
	return file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDescGZIP(), []int{2}
}

// Ответ на запрос на получение ключей
type GetKmsKeyListResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип ответа
	//
	// Types that are assignable to Type:
	//
	//	*GetKmsKeyListResponse_Data
	Type isGetKmsKeyListResponse_Type `protobuf_oneof:"type"`
}

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

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

func (*GetKmsKeyListResponse) ProtoMessage() {}

func (x *GetKmsKeyListResponse) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_kms_v1_keyapis_kms_key_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 GetKmsKeyListResponse.ProtoReflect.Descriptor instead.
func (*GetKmsKeyListResponse) Descriptor() ([]byte, []int) {
	return file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDescGZIP(), []int{3}
}

func (m *GetKmsKeyListResponse) GetType() isGetKmsKeyListResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetKmsKeyListResponse) GetData() *KeyInfo {
	if x, ok := x.GetType().(*GetKmsKeyListResponse_Data); ok {
		return x.Data
	}
	return nil
}

type isGetKmsKeyListResponse_Type interface {
	isGetKmsKeyListResponse_Type()
}

type GetKmsKeyListResponse_Data struct {
	// Ключ.
	// В ключе должен отсутсвовать encrypted_private_key
	Data *KeyInfo `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

func (*GetKmsKeyListResponse_Data) isGetKmsKeyListResponse_Type() {}

// Пара ключей.
// # Описание модели
type KeyInfo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор.
	// # Тип: Guid
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Публичный ключ.
	// # Диапазон: 0..800
	PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Приватный ключ в зашифрованном виде.
	// # Диапазон: 0..4000
	EncryptedPrivateKey string `protobuf:"bytes,3,opt,name=encrypted_private_key,json=encryptedPrivateKey,proto3" json:"encrypted_private_key,omitempty"`
	// Дата и время создания ключа
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Дата и время истечения жизни ключа
	ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
}

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

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

func (*KeyInfo) ProtoMessage() {}

func (x *KeyInfo) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_kms_v1_keyapis_kms_key_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 KeyInfo.ProtoReflect.Descriptor instead.
func (*KeyInfo) Descriptor() ([]byte, []int) {
	return file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDescGZIP(), []int{4}
}

func (x *KeyInfo) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *KeyInfo) GetPublicKey() string {
	if x != nil {
		return x.PublicKey
	}
	return ""
}

func (x *KeyInfo) GetEncryptedPrivateKey() string {
	if x != nil {
		return x.EncryptedPrivateKey
	}
	return ""
}

func (x *KeyInfo) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *KeyInfo) GetExpiredAt() *timestamppb.Timestamp {
	if x != nil {
		return x.ExpiredAt
	}
	return nil
}

// Ошибка
type PostKmsKeyGenerateResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина
	//
	// Types that are assignable to Reason:
	//
	//	*PostKmsKeyGenerateResponse_Error_Generating
	Reason isPostKmsKeyGenerateResponse_Error_Reason `protobuf_oneof:"reason"`
}

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

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

func (*PostKmsKeyGenerateResponse_Error) ProtoMessage() {}

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

func (m *PostKmsKeyGenerateResponse_Error) GetReason() isPostKmsKeyGenerateResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PostKmsKeyGenerateResponse_Error) GetGenerating() *KeyInfo_GeneratingError {
	if x, ok := x.GetReason().(*PostKmsKeyGenerateResponse_Error_Generating); ok {
		return x.Generating
	}
	return nil
}

type isPostKmsKeyGenerateResponse_Error_Reason interface {
	isPostKmsKeyGenerateResponse_Error_Reason()
}

type PostKmsKeyGenerateResponse_Error_Generating struct {
	// Ошибка генерации ключей в сервисе KMS
	Generating *KeyInfo_GeneratingError `protobuf:"bytes,1,opt,name=generating,proto3,oneof"`
}

func (*PostKmsKeyGenerateResponse_Error_Generating) isPostKmsKeyGenerateResponse_Error_Reason() {}

// Ошибка генерации
type KeyInfo_GeneratingError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

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

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

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

func (*KeyInfo_GeneratingError) ProtoMessage() {}

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

func (m *KeyInfo_GeneratingError) GetReason() isKeyInfo_GeneratingError_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *KeyInfo_GeneratingError) GetTransaction() *KeyInfo_GeneratingError_TransactionError {
	if x, ok := x.GetReason().(*KeyInfo_GeneratingError_Transaction); ok {
		return x.Transaction
	}
	return nil
}

func (x *KeyInfo_GeneratingError) GetPublishing() *KeyInfo_GeneratingError_PublishingKeyError {
	if x, ok := x.GetReason().(*KeyInfo_GeneratingError_Publishing); ok {
		return x.Publishing
	}
	return nil
}

type isKeyInfo_GeneratingError_Reason interface {
	isKeyInfo_GeneratingError_Reason()
}

type KeyInfo_GeneratingError_Transaction struct {
	// Ошибка генерации ключа в сервисе KMS
	Transaction *KeyInfo_GeneratingError_TransactionError `protobuf:"bytes,1,opt,name=transaction,proto3,oneof"`
}

type KeyInfo_GeneratingError_Publishing struct {
	// Ошибка сохранения публичного ключа в сервисе JWKS
	Publishing *KeyInfo_GeneratingError_PublishingKeyError `protobuf:"bytes,2,opt,name=publishing,proto3,oneof"`
}

func (*KeyInfo_GeneratingError_Transaction) isKeyInfo_GeneratingError_Reason() {}

func (*KeyInfo_GeneratingError_Publishing) isKeyInfo_GeneratingError_Reason() {}

// Ошибка генерации ключа в сервисе KMS.
// Причины:
// - Отсутсвует связанность с базой данных
type KeyInfo_GeneratingError_TransactionError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *KeyInfo_GeneratingError_TransactionError) Reset() {
	*x = KeyInfo_GeneratingError_TransactionError{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*KeyInfo_GeneratingError_TransactionError) ProtoMessage() {}

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

// Ошибка сохранения публичного ключа в сервисе JWKS.
// Причины:
// - Отсутсвует связанность с сервисом JWKS
type KeyInfo_GeneratingError_PublishingKeyError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *KeyInfo_GeneratingError_PublishingKeyError) Reset() {
	*x = KeyInfo_GeneratingError_PublishingKeyError{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*KeyInfo_GeneratingError_PublishingKeyError) ProtoMessage() {}

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

var File_keyapis_kms_v1_keyapis_kms_key_v1_proto protoreflect.FileDescriptor

var file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDesc = []byte{
	0x0a, 0x27, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x76, 0x31,
	0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79,
	0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 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, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
	0x70, 0x74, 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, 0x1e, 0x67, 0x6f, 0x6f,
	0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61,
	0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x50,
	0x6f, 0x73, 0x74, 0x4b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
	0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe2, 0x01, 0x0a, 0x1a, 0x50, 0x6f, 0x73,
	0x74, 0x4b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52,
	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x09, 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, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f,
	0x73, 0x74, 0x4b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00,
	0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x5c, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72,
	0x12, 0x49, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6b,
	0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65,
	0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52,
	0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x08, 0x0a, 0x06, 0x72,
	0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x16, 0x0a,
	0x14, 0x47, 0x65, 0x74, 0x4b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
	0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4b, 0x6d, 0x73, 0x4b,
	0x65, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d,
	0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65,
	0x79, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a,
	0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xff, 0x03, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66,
	0x6f, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
	0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
	0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
	0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x15, 0x65, 0x6e,
	0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f,
	0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13,
	0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
	0x4b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
	0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
	0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
	0x64, 0x41, 0x74, 0x12, 0x3e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x61,
	0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
	0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65,
	0x64, 0x41, 0x74, 0x1a, 0x81, 0x02, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69,
	0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x5c, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73,
	0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65,
	0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67,
	0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
	0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61,
	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
	0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x49, 0x6e,
	0x66, 0x6f, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72,
	0x6f, 0x72, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79,
	0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
	0x69, 0x6e, 0x67, 0x1a, 0x12, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
	0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x14, 0x0a, 0x12, 0x50, 0x75, 0x62, 0x6c, 0x69,
	0x73, 0x68, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x08, 0x0a,
	0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x32, 0xb5, 0x02, 0x0a, 0x0a, 0x4b, 0x6d, 0x73, 0x53,
	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9a, 0x01, 0x0a, 0x12, 0x50, 0x6f, 0x73, 0x74, 0x4b,
	0x6d, 0x73, 0x4b, 0x65, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e,
	0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50,
	0x6f, 0x73, 0x74, 0x4b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
	0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4b, 0x6d,
	0x73, 0x4b, 0x65, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
	0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x22, 0x25, 0x2f, 0x6b,
	0x6d, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f,
	0x76, 0x31, 0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72,
	0x61, 0x74, 0x65, 0x12, 0x89, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4b, 0x6d, 0x73, 0x4b, 0x65,
	0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e,
	0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x6d, 0x73, 0x4b, 0x65, 0x79,
	0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
	0x4b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x6b, 0x6d, 0x73,
	0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31,
	0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x01, 0x42,
	0x85, 0x01, 0x0a, 0x11, 0x72, 0x75, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6b,
	0x6d, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x4b, 0x6d,
	0x73, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50, 0x00, 0x5a, 0x0f, 0x2f, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x6b, 0x6d, 0x73, 0x5f, 0x76, 0x31, 0xd8, 0x01, 0x01,
	0xf8, 0x01, 0x01, 0xa2, 0x02, 0x0c, 0x4b, 0x45, 0x59, 0x41, 0x50, 0x49, 0x53, 0x4b, 0x4d, 0x53,
	0x56, 0x31, 0xaa, 0x02, 0x0e, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x4b, 0x6d, 0x73,
	0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x4b, 0x6d,
	0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x10, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a,
	0x4b, 0x6d, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDescOnce sync.Once
	file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDescData = file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDesc
)

func file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDescGZIP() []byte {
	file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDescData)
	})
	return file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDescData
}

var file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_keyapis_kms_v1_keyapis_kms_key_v1_proto_goTypes = []interface{}{
	(*PostKmsKeyGenerateRequest)(nil),                  // 0: keyapis.kms.v1.PostKmsKeyGenerateRequest
	(*PostKmsKeyGenerateResponse)(nil),                 // 1: keyapis.kms.v1.PostKmsKeyGenerateResponse
	(*GetKmsKeyListRequest)(nil),                       // 2: keyapis.kms.v1.GetKmsKeyListRequest
	(*GetKmsKeyListResponse)(nil),                      // 3: keyapis.kms.v1.GetKmsKeyListResponse
	(*KeyInfo)(nil),                                    // 4: keyapis.kms.v1.KeyInfo
	(*PostKmsKeyGenerateResponse_Error)(nil),           // 5: keyapis.kms.v1.PostKmsKeyGenerateResponse.Error
	(*KeyInfo_GeneratingError)(nil),                    // 6: keyapis.kms.v1.KeyInfo.GeneratingError
	(*KeyInfo_GeneratingError_TransactionError)(nil),   // 7: keyapis.kms.v1.KeyInfo.GeneratingError.TransactionError
	(*KeyInfo_GeneratingError_PublishingKeyError)(nil), // 8: keyapis.kms.v1.KeyInfo.GeneratingError.PublishingKeyError
	(*timestamppb.Timestamp)(nil),                      // 9: google.protobuf.Timestamp
}
var file_keyapis_kms_v1_keyapis_kms_key_v1_proto_depIdxs = []int32{
	5, // 0: keyapis.kms.v1.PostKmsKeyGenerateResponse.error:type_name -> keyapis.kms.v1.PostKmsKeyGenerateResponse.Error
	4, // 1: keyapis.kms.v1.GetKmsKeyListResponse.data:type_name -> keyapis.kms.v1.KeyInfo
	9, // 2: keyapis.kms.v1.KeyInfo.created_at:type_name -> google.protobuf.Timestamp
	9, // 3: keyapis.kms.v1.KeyInfo.expired_at:type_name -> google.protobuf.Timestamp
	6, // 4: keyapis.kms.v1.PostKmsKeyGenerateResponse.Error.generating:type_name -> keyapis.kms.v1.KeyInfo.GeneratingError
	7, // 5: keyapis.kms.v1.KeyInfo.GeneratingError.transaction:type_name -> keyapis.kms.v1.KeyInfo.GeneratingError.TransactionError
	8, // 6: keyapis.kms.v1.KeyInfo.GeneratingError.publishing:type_name -> keyapis.kms.v1.KeyInfo.GeneratingError.PublishingKeyError
	0, // 7: keyapis.kms.v1.KmsService.PostKmsKeyGenerate:input_type -> keyapis.kms.v1.PostKmsKeyGenerateRequest
	2, // 8: keyapis.kms.v1.KmsService.GetKmsKeyList:input_type -> keyapis.kms.v1.GetKmsKeyListRequest
	1, // 9: keyapis.kms.v1.KmsService.PostKmsKeyGenerate:output_type -> keyapis.kms.v1.PostKmsKeyGenerateResponse
	3, // 10: keyapis.kms.v1.KmsService.GetKmsKeyList:output_type -> keyapis.kms.v1.GetKmsKeyListResponse
	9, // [9:11] is the sub-list for method output_type
	7, // [7:9] is the sub-list for method input_type
	7, // [7:7] is the sub-list for extension type_name
	7, // [7:7] is the sub-list for extension extendee
	0, // [0:7] is the sub-list for field type_name
}

func init() { file_keyapis_kms_v1_keyapis_kms_key_v1_proto_init() }
func file_keyapis_kms_v1_keyapis_kms_key_v1_proto_init() {
	if File_keyapis_kms_v1_keyapis_kms_key_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKmsKeyGenerateRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKmsKeyGenerateResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetKmsKeyListRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetKmsKeyListResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*KeyInfo); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostKmsKeyGenerateResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*KeyInfo_GeneratingError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*KeyInfo_GeneratingError_TransactionError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*KeyInfo_GeneratingError_PublishingKeyError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[1].OneofWrappers = []interface{}{
		(*PostKmsKeyGenerateResponse_Data)(nil),
		(*PostKmsKeyGenerateResponse_Error_)(nil),
	}
	file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[3].OneofWrappers = []interface{}{
		(*GetKmsKeyListResponse_Data)(nil),
	}
	file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[5].OneofWrappers = []interface{}{
		(*PostKmsKeyGenerateResponse_Error_Generating)(nil),
	}
	file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes[6].OneofWrappers = []interface{}{
		(*KeyInfo_GeneratingError_Transaction)(nil),
		(*KeyInfo_GeneratingError_Publishing)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   9,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_keyapis_kms_v1_keyapis_kms_key_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_kms_v1_keyapis_kms_key_v1_proto_depIdxs,
		MessageInfos:      file_keyapis_kms_v1_keyapis_kms_key_v1_proto_msgTypes,
	}.Build()
	File_keyapis_kms_v1_keyapis_kms_key_v1_proto = out.File
	file_keyapis_kms_v1_keyapis_kms_key_v1_proto_rawDesc = nil
	file_keyapis_kms_v1_keyapis_kms_key_v1_proto_goTypes = nil
	file_keyapis_kms_v1_keyapis_kms_key_v1_proto_depIdxs = nil
}
