2023-08-25 01:40:49 +02:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
2026-07-23 03:10:19 +00:00
|
|
|
// protoc-gen-go v1.36.11
|
2024-04-17 15:49:04 -03:00
|
|
|
// protoc v3.21.12
|
2023-08-25 01:40:49 +02:00
|
|
|
// source: reservation.proto
|
|
|
|
|
|
|
|
|
|
// We can't change this to swapserverrpc, it would be a breaking change because
|
|
|
|
|
// the package name is also contained in the HTTP URIs and old clients would
|
|
|
|
|
// call the wrong endpoints. Luckily with the go_package option we can have
|
|
|
|
|
// different golang and RPC package names to fix protobuf namespace conflicts.
|
|
|
|
|
|
|
|
|
|
package swapserverrpc
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
sync "sync"
|
2026-03-20 17:06:14 -05:00
|
|
|
unsafe "unsafe"
|
2023-08-25 01:40:49 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// ReservationProtocolVersion is the version of the reservation protocol.
|
|
|
|
|
type ReservationProtocolVersion int32
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
// RESERVATION_NONE is the default value and means that the reservation
|
|
|
|
|
// protocol version is not set.
|
|
|
|
|
ReservationProtocolVersion_RESERVATION_NONE ReservationProtocolVersion = 0
|
2024-09-22 13:31:03 -03:00
|
|
|
// RESERVATION_SERVER_NOTIFY is the first version of the reservation
|
2023-08-25 01:40:49 +02:00
|
|
|
// protocol where the server notifies the client about a reservation.
|
|
|
|
|
ReservationProtocolVersion_RESERVATION_SERVER_NOTIFY ReservationProtocolVersion = 1
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for ReservationProtocolVersion.
|
|
|
|
|
var (
|
|
|
|
|
ReservationProtocolVersion_name = map[int32]string{
|
|
|
|
|
0: "RESERVATION_NONE",
|
|
|
|
|
1: "RESERVATION_SERVER_NOTIFY",
|
|
|
|
|
}
|
|
|
|
|
ReservationProtocolVersion_value = map[string]int32{
|
|
|
|
|
"RESERVATION_NONE": 0,
|
|
|
|
|
"RESERVATION_SERVER_NOTIFY": 1,
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (x ReservationProtocolVersion) Enum() *ReservationProtocolVersion {
|
|
|
|
|
p := new(ReservationProtocolVersion)
|
|
|
|
|
*p = x
|
|
|
|
|
return p
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x ReservationProtocolVersion) String() string {
|
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (ReservationProtocolVersion) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
|
return file_reservation_proto_enumTypes[0].Descriptor()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (ReservationProtocolVersion) Type() protoreflect.EnumType {
|
|
|
|
|
return &file_reservation_proto_enumTypes[0]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x ReservationProtocolVersion) Number() protoreflect.EnumNumber {
|
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReservationProtocolVersion.Descriptor instead.
|
|
|
|
|
func (ReservationProtocolVersion) EnumDescriptor() ([]byte, []int) {
|
|
|
|
|
return file_reservation_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ReservationNotificationRequest is an empty request sent from the client to
|
|
|
|
|
// the server to open a stream to receive reservation notifications.
|
|
|
|
|
type ReservationNotificationRequest struct {
|
2026-03-20 17:06:14 -05:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2024-09-22 13:31:03 -03:00
|
|
|
// protocol_version is the maximum version the client supports.
|
|
|
|
|
ProtocolVersion ReservationProtocolVersion `protobuf:"varint,1,opt,name=protocol_version,json=protocolVersion,proto3,enum=looprpc.ReservationProtocolVersion" json:"protocol_version,omitempty"`
|
2026-03-20 17:06:14 -05:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
2023-08-25 01:40:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ReservationNotificationRequest) Reset() {
|
|
|
|
|
*x = ReservationNotificationRequest{}
|
2026-03-20 17:06:14 -05:00
|
|
|
mi := &file_reservation_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
2023-08-25 01:40:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ReservationNotificationRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ReservationNotificationRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ReservationNotificationRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_reservation_proto_msgTypes[0]
|
2026-03-20 17:06:14 -05:00
|
|
|
if x != nil {
|
2023-08-25 01:40:49 +02:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReservationNotificationRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReservationNotificationRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_reservation_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-22 13:31:03 -03:00
|
|
|
func (x *ReservationNotificationRequest) GetProtocolVersion() ReservationProtocolVersion {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ProtocolVersion
|
|
|
|
|
}
|
|
|
|
|
return ReservationProtocolVersion_RESERVATION_NONE
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 01:40:49 +02:00
|
|
|
// ServerReservationNotification is a notification sent from the server to the
|
|
|
|
|
// client if the server wants to open a reservation.
|
|
|
|
|
type ServerReservationNotification struct {
|
2026-03-20 17:06:14 -05:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2023-08-25 01:40:49 +02:00
|
|
|
// reservation_id is the id of the reservation.
|
|
|
|
|
ReservationId []byte `protobuf:"bytes,1,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
|
|
|
|
|
// value is the value of the reservation in satoshis.
|
|
|
|
|
Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
|
// server_key is the public key of the server.
|
|
|
|
|
ServerKey []byte `protobuf:"bytes,3,opt,name=server_key,json=serverKey,proto3" json:"server_key,omitempty"`
|
|
|
|
|
// expiry is the absolute expiry of the reservation.
|
|
|
|
|
Expiry uint32 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
|
|
|
|
|
// protocol_version is the version of the reservation protocol.
|
|
|
|
|
ProtocolVersion ReservationProtocolVersion `protobuf:"varint,5,opt,name=protocol_version,json=protocolVersion,proto3,enum=looprpc.ReservationProtocolVersion" json:"protocol_version,omitempty"`
|
2026-03-20 17:06:14 -05:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
2023-08-25 01:40:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerReservationNotification) Reset() {
|
|
|
|
|
*x = ServerReservationNotification{}
|
2026-03-20 17:06:14 -05:00
|
|
|
mi := &file_reservation_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
2023-08-25 01:40:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerReservationNotification) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ServerReservationNotification) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ServerReservationNotification) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_reservation_proto_msgTypes[1]
|
2026-03-20 17:06:14 -05:00
|
|
|
if x != nil {
|
2023-08-25 01:40:49 +02:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ServerReservationNotification.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ServerReservationNotification) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_reservation_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerReservationNotification) GetReservationId() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ReservationId
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerReservationNotification) GetValue() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Value
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerReservationNotification) GetServerKey() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ServerKey
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerReservationNotification) GetExpiry() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Expiry
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerReservationNotification) GetProtocolVersion() ReservationProtocolVersion {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ProtocolVersion
|
|
|
|
|
}
|
|
|
|
|
return ReservationProtocolVersion_RESERVATION_NONE
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ServerOpenReservationRequest is a request sent from the client to the server
|
|
|
|
|
// to confirm a reservation opening.
|
|
|
|
|
type ServerOpenReservationRequest struct {
|
2026-03-20 17:06:14 -05:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2023-08-25 01:40:49 +02:00
|
|
|
// reservation_id is the id of the reservation.
|
|
|
|
|
ReservationId []byte `protobuf:"bytes,1,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
|
|
|
|
|
// client_key is the public key of the client.
|
2026-03-20 17:06:14 -05:00
|
|
|
ClientKey []byte `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
2023-08-25 01:40:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerOpenReservationRequest) Reset() {
|
|
|
|
|
*x = ServerOpenReservationRequest{}
|
2026-03-20 17:06:14 -05:00
|
|
|
mi := &file_reservation_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
2023-08-25 01:40:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerOpenReservationRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ServerOpenReservationRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ServerOpenReservationRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_reservation_proto_msgTypes[2]
|
2026-03-20 17:06:14 -05:00
|
|
|
if x != nil {
|
2023-08-25 01:40:49 +02:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ServerOpenReservationRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ServerOpenReservationRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_reservation_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerOpenReservationRequest) GetReservationId() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ReservationId
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerOpenReservationRequest) GetClientKey() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClientKey
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ServerOpenReservationResponse is a response sent from the server to the
|
|
|
|
|
// client to confirm a reservation opening.
|
|
|
|
|
type ServerOpenReservationResponse struct {
|
2026-03-20 17:06:14 -05:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2026-03-19 10:00:22 -05:00
|
|
|
unknownFields protoimpl.UnknownFields
|
2026-03-20 17:06:14 -05:00
|
|
|
sizeCache protoimpl.SizeCache
|
2023-08-25 01:40:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerOpenReservationResponse) Reset() {
|
|
|
|
|
*x = ServerOpenReservationResponse{}
|
2026-03-20 17:06:14 -05:00
|
|
|
mi := &file_reservation_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
2023-08-25 01:40:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ServerOpenReservationResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ServerOpenReservationResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ServerOpenReservationResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_reservation_proto_msgTypes[3]
|
2026-03-20 17:06:14 -05:00
|
|
|
if x != nil {
|
2023-08-25 01:40:49 +02:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ServerOpenReservationResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ServerOpenReservationResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_reservation_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var File_reservation_proto protoreflect.FileDescriptor
|
|
|
|
|
|
2026-03-20 17:06:14 -05:00
|
|
|
const file_reservation_proto_rawDesc = "" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"\x11reservation.proto\x12\alooprpc\"p\n" +
|
|
|
|
|
"\x1eReservationNotificationRequest\x12N\n" +
|
|
|
|
|
"\x10protocol_version\x18\x01 \x01(\x0e2#.looprpc.ReservationProtocolVersionR\x0fprotocolVersion\"\xe3\x01\n" +
|
|
|
|
|
"\x1dServerReservationNotification\x12%\n" +
|
|
|
|
|
"\x0ereservation_id\x18\x01 \x01(\fR\rreservationId\x12\x14\n" +
|
|
|
|
|
"\x05value\x18\x02 \x01(\x04R\x05value\x12\x1d\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"server_key\x18\x03 \x01(\fR\tserverKey\x12\x16\n" +
|
|
|
|
|
"\x06expiry\x18\x04 \x01(\rR\x06expiry\x12N\n" +
|
|
|
|
|
"\x10protocol_version\x18\x05 \x01(\x0e2#.looprpc.ReservationProtocolVersionR\x0fprotocolVersion\"d\n" +
|
|
|
|
|
"\x1cServerOpenReservationRequest\x12%\n" +
|
|
|
|
|
"\x0ereservation_id\x18\x01 \x01(\fR\rreservationId\x12\x1d\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"client_key\x18\x02 \x01(\fR\tclientKey\"\x1f\n" +
|
|
|
|
|
"\x1dServerOpenReservationResponse*Q\n" +
|
|
|
|
|
"\x1aReservationProtocolVersion\x12\x14\n" +
|
|
|
|
|
"\x10RESERVATION_NONE\x10\x00\x12\x1d\n" +
|
|
|
|
|
"\x19RESERVATION_SERVER_NOTIFY\x10\x012\xef\x01\n" +
|
|
|
|
|
"\x12ReservationService\x12w\n" +
|
|
|
|
|
"\x1dReservationNotificationStream\x12'.looprpc.ReservationNotificationRequest\x1a&.looprpc.ServerReservationNotification\"\x03\x88\x02\x010\x01\x12`\n" +
|
|
|
|
|
"\x0fOpenReservation\x12%.looprpc.ServerOpenReservationRequest\x1a&.looprpc.ServerOpenReservationResponseB-Z+github.com/lightninglabs/loop/swapserverrpcb\x06proto3"
|
2023-08-25 01:40:49 +02:00
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
file_reservation_proto_rawDescOnce sync.Once
|
2026-03-20 17:06:14 -05:00
|
|
|
file_reservation_proto_rawDescData []byte
|
2023-08-25 01:40:49 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func file_reservation_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_reservation_proto_rawDescOnce.Do(func() {
|
2026-03-20 17:06:14 -05:00
|
|
|
file_reservation_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_reservation_proto_rawDesc), len(file_reservation_proto_rawDesc)))
|
2023-08-25 01:40:49 +02:00
|
|
|
})
|
|
|
|
|
return file_reservation_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_reservation_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
|
var file_reservation_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
2025-04-29 10:31:38 -03:00
|
|
|
var file_reservation_proto_goTypes = []any{
|
2023-08-25 01:40:49 +02:00
|
|
|
(ReservationProtocolVersion)(0), // 0: looprpc.ReservationProtocolVersion
|
|
|
|
|
(*ReservationNotificationRequest)(nil), // 1: looprpc.ReservationNotificationRequest
|
|
|
|
|
(*ServerReservationNotification)(nil), // 2: looprpc.ServerReservationNotification
|
|
|
|
|
(*ServerOpenReservationRequest)(nil), // 3: looprpc.ServerOpenReservationRequest
|
|
|
|
|
(*ServerOpenReservationResponse)(nil), // 4: looprpc.ServerOpenReservationResponse
|
|
|
|
|
}
|
|
|
|
|
var file_reservation_proto_depIdxs = []int32{
|
2024-09-22 13:31:03 -03:00
|
|
|
0, // 0: looprpc.ReservationNotificationRequest.protocol_version:type_name -> looprpc.ReservationProtocolVersion
|
|
|
|
|
0, // 1: looprpc.ServerReservationNotification.protocol_version:type_name -> looprpc.ReservationProtocolVersion
|
|
|
|
|
1, // 2: looprpc.ReservationService.ReservationNotificationStream:input_type -> looprpc.ReservationNotificationRequest
|
|
|
|
|
3, // 3: looprpc.ReservationService.OpenReservation:input_type -> looprpc.ServerOpenReservationRequest
|
|
|
|
|
2, // 4: looprpc.ReservationService.ReservationNotificationStream:output_type -> looprpc.ServerReservationNotification
|
|
|
|
|
4, // 5: looprpc.ReservationService.OpenReservation:output_type -> looprpc.ServerOpenReservationResponse
|
|
|
|
|
4, // [4:6] is the sub-list for method output_type
|
|
|
|
|
2, // [2:4] 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
|
2023-08-25 01:40:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_reservation_proto_init() }
|
|
|
|
|
func file_reservation_proto_init() {
|
|
|
|
|
if File_reservation_proto != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
2026-03-20 17:06:14 -05:00
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_reservation_proto_rawDesc), len(file_reservation_proto_rawDesc)),
|
2023-08-25 01:40:49 +02:00
|
|
|
NumEnums: 1,
|
|
|
|
|
NumMessages: 4,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|
GoTypes: file_reservation_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_reservation_proto_depIdxs,
|
|
|
|
|
EnumInfos: file_reservation_proto_enumTypes,
|
|
|
|
|
MessageInfos: file_reservation_proto_msgTypes,
|
|
|
|
|
}.Build()
|
|
|
|
|
File_reservation_proto = out.File
|
|
|
|
|
file_reservation_proto_goTypes = nil
|
|
|
|
|
file_reservation_proto_depIdxs = nil
|
|
|
|
|
}
|