// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.35.2 // protoc v5.29.1 // source: rpc/apikeys/service.proto package apikeys import ( 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) ) // Request and Response messages type CreateAPIKeyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ExpiresAt string `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // optional expiration date in RFC3339 format } func (x *CreateAPIKeyRequest) Reset() { *x = CreateAPIKeyRequest{} mi := &file_rpc_apikeys_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateAPIKeyRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateAPIKeyRequest) ProtoMessage() {} func (x *CreateAPIKeyRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_apikeys_service_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateAPIKeyRequest.ProtoReflect.Descriptor instead. func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int) { return file_rpc_apikeys_service_proto_rawDescGZIP(), []int{0} } func (x *CreateAPIKeyRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *CreateAPIKeyRequest) GetExpiresAt() string { if x != nil { return x.ExpiresAt } return "" } type CreateAPIKeyResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ApiKey *APIKey `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // the actual API key string } func (x *CreateAPIKeyResponse) Reset() { *x = CreateAPIKeyResponse{} mi := &file_rpc_apikeys_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateAPIKeyResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateAPIKeyResponse) ProtoMessage() {} func (x *CreateAPIKeyResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_apikeys_service_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateAPIKeyResponse.ProtoReflect.Descriptor instead. func (*CreateAPIKeyResponse) Descriptor() ([]byte, []int) { return file_rpc_apikeys_service_proto_rawDescGZIP(), []int{1} } func (x *CreateAPIKeyResponse) GetApiKey() *APIKey { if x != nil { return x.ApiKey } return nil } func (x *CreateAPIKeyResponse) GetKey() string { if x != nil { return x.Key } return "" } type ListAPIKeysRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *ListAPIKeysRequest) Reset() { *x = ListAPIKeysRequest{} mi := &file_rpc_apikeys_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListAPIKeysRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListAPIKeysRequest) ProtoMessage() {} func (x *ListAPIKeysRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_apikeys_service_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListAPIKeysRequest.ProtoReflect.Descriptor instead. func (*ListAPIKeysRequest) Descriptor() ([]byte, []int) { return file_rpc_apikeys_service_proto_rawDescGZIP(), []int{2} } type ListAPIKeysResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ApiKeys []*APIKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"` } func (x *ListAPIKeysResponse) Reset() { *x = ListAPIKeysResponse{} mi := &file_rpc_apikeys_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListAPIKeysResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListAPIKeysResponse) ProtoMessage() {} func (x *ListAPIKeysResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_apikeys_service_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListAPIKeysResponse.ProtoReflect.Descriptor instead. func (*ListAPIKeysResponse) Descriptor() ([]byte, []int) { return file_rpc_apikeys_service_proto_rawDescGZIP(), []int{3} } func (x *ListAPIKeysResponse) GetApiKeys() []*APIKey { if x != nil { return x.ApiKeys } return nil } type RevokeAPIKeyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` } func (x *RevokeAPIKeyRequest) Reset() { *x = RevokeAPIKeyRequest{} mi := &file_rpc_apikeys_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RevokeAPIKeyRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RevokeAPIKeyRequest) ProtoMessage() {} func (x *RevokeAPIKeyRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_apikeys_service_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RevokeAPIKeyRequest.ProtoReflect.Descriptor instead. func (*RevokeAPIKeyRequest) Descriptor() ([]byte, []int) { return file_rpc_apikeys_service_proto_rawDescGZIP(), []int{4} } func (x *RevokeAPIKeyRequest) GetKeyId() string { if x != nil { return x.KeyId } return "" } type RevokeAPIKeyResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *RevokeAPIKeyResponse) Reset() { *x = RevokeAPIKeyResponse{} mi := &file_rpc_apikeys_service_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RevokeAPIKeyResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RevokeAPIKeyResponse) ProtoMessage() {} func (x *RevokeAPIKeyResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_apikeys_service_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RevokeAPIKeyResponse.ProtoReflect.Descriptor instead. func (*RevokeAPIKeyResponse) Descriptor() ([]byte, []int) { return file_rpc_apikeys_service_proto_rawDescGZIP(), []int{5} } type DeleteAPIKeyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` } func (x *DeleteAPIKeyRequest) Reset() { *x = DeleteAPIKeyRequest{} mi := &file_rpc_apikeys_service_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteAPIKeyRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteAPIKeyRequest) ProtoMessage() {} func (x *DeleteAPIKeyRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_apikeys_service_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteAPIKeyRequest.ProtoReflect.Descriptor instead. func (*DeleteAPIKeyRequest) Descriptor() ([]byte, []int) { return file_rpc_apikeys_service_proto_rawDescGZIP(), []int{6} } func (x *DeleteAPIKeyRequest) GetKeyId() string { if x != nil { return x.KeyId } return "" } type DeleteAPIKeyResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *DeleteAPIKeyResponse) Reset() { *x = DeleteAPIKeyResponse{} mi := &file_rpc_apikeys_service_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteAPIKeyResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteAPIKeyResponse) ProtoMessage() {} func (x *DeleteAPIKeyResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_apikeys_service_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteAPIKeyResponse.ProtoReflect.Descriptor instead. func (*DeleteAPIKeyResponse) Descriptor() ([]byte, []int) { return file_rpc_apikeys_service_proto_rawDescGZIP(), []int{7} } // Common messages type APIKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` LastUsedAt string `protobuf:"bytes,5,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"` ExpiresAt string `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` IsActive bool `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` } func (x *APIKey) Reset() { *x = APIKey{} mi := &file_rpc_apikeys_service_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *APIKey) String() string { return protoimpl.X.MessageStringOf(x) } func (*APIKey) ProtoMessage() {} func (x *APIKey) ProtoReflect() protoreflect.Message { mi := &file_rpc_apikeys_service_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use APIKey.ProtoReflect.Descriptor instead. func (*APIKey) Descriptor() ([]byte, []int) { return file_rpc_apikeys_service_proto_rawDescGZIP(), []int{8} } func (x *APIKey) GetId() string { if x != nil { return x.Id } return "" } func (x *APIKey) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *APIKey) GetName() string { if x != nil { return x.Name } return "" } func (x *APIKey) GetCreatedAt() string { if x != nil { return x.CreatedAt } return "" } func (x *APIKey) GetLastUsedAt() string { if x != nil { return x.LastUsedAt } return "" } func (x *APIKey) GetExpiresAt() string { if x != nil { return x.ExpiresAt } return "" } func (x *APIKey) GetIsActive() bool { if x != nil { return x.IsActive } return false } var File_rpc_apikeys_service_proto protoreflect.FileDescriptor var file_rpc_apikeys_service_proto_rawDesc = []byte{ 0x0a, 0x19, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x48, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x22, 0x52, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x41, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x2c, 0x0a, 0x13, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x06, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x73, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x32, 0xc1, 0x02, 0x0a, 0x0e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x18, 0x5a, 0x16, 0x61, 0x72, 0x67, 0x75, 0x73, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_rpc_apikeys_service_proto_rawDescOnce sync.Once file_rpc_apikeys_service_proto_rawDescData = file_rpc_apikeys_service_proto_rawDesc ) func file_rpc_apikeys_service_proto_rawDescGZIP() []byte { file_rpc_apikeys_service_proto_rawDescOnce.Do(func() { file_rpc_apikeys_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_apikeys_service_proto_rawDescData) }) return file_rpc_apikeys_service_proto_rawDescData } var file_rpc_apikeys_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_rpc_apikeys_service_proto_goTypes = []any{ (*CreateAPIKeyRequest)(nil), // 0: apikeys.CreateAPIKeyRequest (*CreateAPIKeyResponse)(nil), // 1: apikeys.CreateAPIKeyResponse (*ListAPIKeysRequest)(nil), // 2: apikeys.ListAPIKeysRequest (*ListAPIKeysResponse)(nil), // 3: apikeys.ListAPIKeysResponse (*RevokeAPIKeyRequest)(nil), // 4: apikeys.RevokeAPIKeyRequest (*RevokeAPIKeyResponse)(nil), // 5: apikeys.RevokeAPIKeyResponse (*DeleteAPIKeyRequest)(nil), // 6: apikeys.DeleteAPIKeyRequest (*DeleteAPIKeyResponse)(nil), // 7: apikeys.DeleteAPIKeyResponse (*APIKey)(nil), // 8: apikeys.APIKey } var file_rpc_apikeys_service_proto_depIdxs = []int32{ 8, // 0: apikeys.CreateAPIKeyResponse.api_key:type_name -> apikeys.APIKey 8, // 1: apikeys.ListAPIKeysResponse.api_keys:type_name -> apikeys.APIKey 0, // 2: apikeys.APIKeysService.CreateAPIKey:input_type -> apikeys.CreateAPIKeyRequest 2, // 3: apikeys.APIKeysService.ListAPIKeys:input_type -> apikeys.ListAPIKeysRequest 4, // 4: apikeys.APIKeysService.RevokeAPIKey:input_type -> apikeys.RevokeAPIKeyRequest 6, // 5: apikeys.APIKeysService.DeleteAPIKey:input_type -> apikeys.DeleteAPIKeyRequest 1, // 6: apikeys.APIKeysService.CreateAPIKey:output_type -> apikeys.CreateAPIKeyResponse 3, // 7: apikeys.APIKeysService.ListAPIKeys:output_type -> apikeys.ListAPIKeysResponse 5, // 8: apikeys.APIKeysService.RevokeAPIKey:output_type -> apikeys.RevokeAPIKeyResponse 7, // 9: apikeys.APIKeysService.DeleteAPIKey:output_type -> apikeys.DeleteAPIKeyResponse 6, // [6:10] is the sub-list for method output_type 2, // [2:6] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_rpc_apikeys_service_proto_init() } func file_rpc_apikeys_service_proto_init() { if File_rpc_apikeys_service_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_rpc_apikeys_service_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 1, }, GoTypes: file_rpc_apikeys_service_proto_goTypes, DependencyIndexes: file_rpc_apikeys_service_proto_depIdxs, MessageInfos: file_rpc_apikeys_service_proto_msgTypes, }.Build() File_rpc_apikeys_service_proto = out.File file_rpc_apikeys_service_proto_rawDesc = nil file_rpc_apikeys_service_proto_goTypes = nil file_rpc_apikeys_service_proto_depIdxs = nil }