implement simple tui with humans data

This commit is contained in:
talksik
2025-10-27 15:18:32 -07:00
parent 8ed2d701db
commit dd0c83c22c
31 changed files with 11361 additions and 65 deletions
@@ -0,0 +1,779 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.35.1
// protoc v5.28.3
// source: helios/waitlist/waitlist.proto
package pbwaitlist
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "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 GetWaitlistRequest_Filter int32
const (
GetWaitlistRequest_FilterUnspecified GetWaitlistRequest_Filter = 0
GetWaitlistRequest_FilterAll GetWaitlistRequest_Filter = 1
GetWaitlistRequest_FilterInvitedOnly GetWaitlistRequest_Filter = 2
GetWaitlistRequest_FilterUninvitedOnly GetWaitlistRequest_Filter = 3
)
// Enum value maps for GetWaitlistRequest_Filter.
var (
GetWaitlistRequest_Filter_name = map[int32]string{
0: "FilterUnspecified",
1: "FilterAll",
2: "FilterInvitedOnly",
3: "FilterUninvitedOnly",
}
GetWaitlistRequest_Filter_value = map[string]int32{
"FilterUnspecified": 0,
"FilterAll": 1,
"FilterInvitedOnly": 2,
"FilterUninvitedOnly": 3,
}
)
func (x GetWaitlistRequest_Filter) Enum() *GetWaitlistRequest_Filter {
p := new(GetWaitlistRequest_Filter)
*p = x
return p
}
func (x GetWaitlistRequest_Filter) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (GetWaitlistRequest_Filter) Descriptor() protoreflect.EnumDescriptor {
return file_helios_waitlist_waitlist_proto_enumTypes[0].Descriptor()
}
func (GetWaitlistRequest_Filter) Type() protoreflect.EnumType {
return &file_helios_waitlist_waitlist_proto_enumTypes[0]
}
func (x GetWaitlistRequest_Filter) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use GetWaitlistRequest_Filter.Descriptor instead.
func (GetWaitlistRequest_Filter) EnumDescriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{3, 0}
}
type WaitlistEntry struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
IsInvited bool `protobuf:"varint,4,opt,name=is_invited,json=isInvited,proto3" json:"is_invited,omitempty"`
}
func (x *WaitlistEntry) Reset() {
*x = WaitlistEntry{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WaitlistEntry) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WaitlistEntry) ProtoMessage() {}
func (x *WaitlistEntry) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_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 WaitlistEntry.ProtoReflect.Descriptor instead.
func (*WaitlistEntry) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{0}
}
func (x *WaitlistEntry) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *WaitlistEntry) GetMetadata() map[string]string {
if x != nil {
return x.Metadata
}
return nil
}
func (x *WaitlistEntry) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *WaitlistEntry) GetIsInvited() bool {
if x != nil {
return x.IsInvited
}
return false
}
type AddToWaitlistRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *AddToWaitlistRequest) Reset() {
*x = AddToWaitlistRequest{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AddToWaitlistRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddToWaitlistRequest) ProtoMessage() {}
func (x *AddToWaitlistRequest) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_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 AddToWaitlistRequest.ProtoReflect.Descriptor instead.
func (*AddToWaitlistRequest) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{1}
}
func (x *AddToWaitlistRequest) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *AddToWaitlistRequest) GetMetadata() map[string]string {
if x != nil {
return x.Metadata
}
return nil
}
type AddToWaitlistResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *AddToWaitlistResponse) Reset() {
*x = AddToWaitlistResponse{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AddToWaitlistResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddToWaitlistResponse) ProtoMessage() {}
func (x *AddToWaitlistResponse) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_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 AddToWaitlistResponse.ProtoReflect.Descriptor instead.
func (*AddToWaitlistResponse) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{2}
}
type GetWaitlistRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Filter GetWaitlistRequest_Filter `protobuf:"varint,1,opt,name=filter,proto3,enum=helios.waitlist.GetWaitlistRequest_Filter" json:"filter,omitempty"`
}
func (x *GetWaitlistRequest) Reset() {
*x = GetWaitlistRequest{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetWaitlistRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetWaitlistRequest) ProtoMessage() {}
func (x *GetWaitlistRequest) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_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 GetWaitlistRequest.ProtoReflect.Descriptor instead.
func (*GetWaitlistRequest) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{3}
}
func (x *GetWaitlistRequest) GetFilter() GetWaitlistRequest_Filter {
if x != nil {
return x.Filter
}
return GetWaitlistRequest_FilterUnspecified
}
type GetWaitlistResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
WaitlistEntries []*WaitlistEntry `protobuf:"bytes,1,rep,name=waitlist_entries,json=waitlistEntries,proto3" json:"waitlist_entries,omitempty"`
}
func (x *GetWaitlistResponse) Reset() {
*x = GetWaitlistResponse{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetWaitlistResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetWaitlistResponse) ProtoMessage() {}
func (x *GetWaitlistResponse) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_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 GetWaitlistResponse.ProtoReflect.Descriptor instead.
func (*GetWaitlistResponse) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{4}
}
func (x *GetWaitlistResponse) GetWaitlistEntries() []*WaitlistEntry {
if x != nil {
return x.WaitlistEntries
}
return nil
}
type GetWaitlistEntryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
}
func (x *GetWaitlistEntryRequest) Reset() {
*x = GetWaitlistEntryRequest{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetWaitlistEntryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetWaitlistEntryRequest) ProtoMessage() {}
func (x *GetWaitlistEntryRequest) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_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 GetWaitlistEntryRequest.ProtoReflect.Descriptor instead.
func (*GetWaitlistEntryRequest) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{5}
}
func (x *GetWaitlistEntryRequest) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
type GetWaitlistEntryResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
WaitlistEntry *WaitlistEntry `protobuf:"bytes,1,opt,name=waitlist_entry,json=waitlistEntry,proto3" json:"waitlist_entry,omitempty"`
}
func (x *GetWaitlistEntryResponse) Reset() {
*x = GetWaitlistEntryResponse{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetWaitlistEntryResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetWaitlistEntryResponse) ProtoMessage() {}
func (x *GetWaitlistEntryResponse) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_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 GetWaitlistEntryResponse.ProtoReflect.Descriptor instead.
func (*GetWaitlistEntryResponse) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{6}
}
func (x *GetWaitlistEntryResponse) GetWaitlistEntry() *WaitlistEntry {
if x != nil {
return x.WaitlistEntry
}
return nil
}
type InviteWaitlistEntrantRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
}
func (x *InviteWaitlistEntrantRequest) Reset() {
*x = InviteWaitlistEntrantRequest{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InviteWaitlistEntrantRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InviteWaitlistEntrantRequest) ProtoMessage() {}
func (x *InviteWaitlistEntrantRequest) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_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 InviteWaitlistEntrantRequest.ProtoReflect.Descriptor instead.
func (*InviteWaitlistEntrantRequest) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{7}
}
func (x *InviteWaitlistEntrantRequest) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
type InviteWaitlistEntrantResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *InviteWaitlistEntrantResponse) Reset() {
*x = InviteWaitlistEntrantResponse{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InviteWaitlistEntrantResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InviteWaitlistEntrantResponse) ProtoMessage() {}
func (x *InviteWaitlistEntrantResponse) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_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 InviteWaitlistEntrantResponse.ProtoReflect.Descriptor instead.
func (*InviteWaitlistEntrantResponse) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{8}
}
type InquiryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *InquiryRequest) Reset() {
*x = InquiryRequest{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InquiryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InquiryRequest) ProtoMessage() {}
func (x *InquiryRequest) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_proto_msgTypes[9]
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 InquiryRequest.ProtoReflect.Descriptor instead.
func (*InquiryRequest) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{9}
}
func (x *InquiryRequest) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *InquiryRequest) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
type InquiryResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *InquiryResponse) Reset() {
*x = InquiryResponse{}
mi := &file_helios_waitlist_waitlist_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InquiryResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InquiryResponse) ProtoMessage() {}
func (x *InquiryResponse) ProtoReflect() protoreflect.Message {
mi := &file_helios_waitlist_waitlist_proto_msgTypes[10]
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 InquiryResponse.ProtoReflect.Descriptor instead.
func (*InquiryResponse) Descriptor() ([]byte, []int) {
return file_helios_waitlist_waitlist_proto_rawDescGZIP(), []int{10}
}
var File_helios_waitlist_waitlist_proto protoreflect.FileDescriptor
var file_helios_waitlist_waitlist_proto_rawDesc = []byte{
0x0a, 0x1e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2f, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73,
0x74, 0x2f, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x0f, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73,
0x74, 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, 0x22, 0x86, 0x02, 0x0a, 0x0d, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x48, 0x0a, 0x08, 0x6d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x68,
0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x57,
0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61,
0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
0x61, 0x74, 0x18, 0x03, 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, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12,
0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20,
0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x1a, 0x3b,
0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xba, 0x01, 0x0a, 0x14,
0x41, 0x64, 0x64, 0x54, 0x6f, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x4f, 0x0a, 0x08, 0x6d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x68,
0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x41,
0x64, 0x64, 0x54, 0x6f, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x17, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x54,
0x6f, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0xb8, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74,
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f,
0x73, 0x2e, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61,
0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x69,
0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x5e, 0x0a, 0x06,
0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x55, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0d, 0x0a,
0x09, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11,
0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x6c,
0x79, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x6e, 0x69,
0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x10, 0x03, 0x22, 0x60, 0x0a, 0x13,
0x47, 0x65, 0x74, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x10, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x5f,
0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e,
0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x77,
0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0x2f,
0x0a, 0x17, 0x47, 0x65, 0x74, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61,
0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22,
0x61, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0e, 0x77,
0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69,
0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x52, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x22, 0x34, 0x0a, 0x1c, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x57, 0x61, 0x69, 0x74,
0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x1f, 0x0a, 0x1d, 0x49, 0x6e, 0x76, 0x69,
0x74, 0x65, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e,
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x0a, 0x0e, 0x49, 0x6e, 0x71,
0x75, 0x69, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65,
0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69,
0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x49,
0x6e, 0x71, 0x75, 0x69, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x84,
0x04, 0x0a, 0x0f, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x12, 0x60, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x57, 0x61, 0x69, 0x74, 0x6c,
0x69, 0x73, 0x74, 0x12, 0x25, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69,
0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x57, 0x61, 0x69, 0x74, 0x6c,
0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x68, 0x65, 0x6c,
0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x41, 0x64, 0x64,
0x54, 0x6f, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x57, 0x61, 0x69, 0x74, 0x6c,
0x69, 0x73, 0x74, 0x12, 0x23, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69,
0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f,
0x73, 0x2e, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61,
0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x69, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x12, 0x28, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61,
0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69,
0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29,
0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74,
0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x78, 0x0a, 0x15, 0x49,
0x6e, 0x76, 0x69, 0x74, 0x65, 0x57, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74,
0x72, 0x61, 0x6e, 0x74, 0x12, 0x2d, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61,
0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x57, 0x61, 0x69,
0x74, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69,
0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x57, 0x61, 0x69, 0x74,
0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x07, 0x49, 0x6e, 0x71, 0x75, 0x69, 0x72, 0x79,
0x12, 0x1f, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69,
0x73, 0x74, 0x2e, 0x49, 0x6e, 0x71, 0x75, 0x69, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x20, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x77, 0x61, 0x69, 0x74, 0x6c,
0x69, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x71, 0x75, 0x69, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x42, 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x6f, 0x77, 0x79, 0x2d, 0x6c, 0x69, 0x76, 0x65, 0x2f, 0x68,
0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x68,
0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2f, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x3b, 0x70,
0x62, 0x77, 0x61, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (
file_helios_waitlist_waitlist_proto_rawDescOnce sync.Once
file_helios_waitlist_waitlist_proto_rawDescData = file_helios_waitlist_waitlist_proto_rawDesc
)
func file_helios_waitlist_waitlist_proto_rawDescGZIP() []byte {
file_helios_waitlist_waitlist_proto_rawDescOnce.Do(func() {
file_helios_waitlist_waitlist_proto_rawDescData = protoimpl.X.CompressGZIP(file_helios_waitlist_waitlist_proto_rawDescData)
})
return file_helios_waitlist_waitlist_proto_rawDescData
}
var file_helios_waitlist_waitlist_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_helios_waitlist_waitlist_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_helios_waitlist_waitlist_proto_goTypes = []any{
(GetWaitlistRequest_Filter)(0), // 0: helios.waitlist.GetWaitlistRequest.Filter
(*WaitlistEntry)(nil), // 1: helios.waitlist.WaitlistEntry
(*AddToWaitlistRequest)(nil), // 2: helios.waitlist.AddToWaitlistRequest
(*AddToWaitlistResponse)(nil), // 3: helios.waitlist.AddToWaitlistResponse
(*GetWaitlistRequest)(nil), // 4: helios.waitlist.GetWaitlistRequest
(*GetWaitlistResponse)(nil), // 5: helios.waitlist.GetWaitlistResponse
(*GetWaitlistEntryRequest)(nil), // 6: helios.waitlist.GetWaitlistEntryRequest
(*GetWaitlistEntryResponse)(nil), // 7: helios.waitlist.GetWaitlistEntryResponse
(*InviteWaitlistEntrantRequest)(nil), // 8: helios.waitlist.InviteWaitlistEntrantRequest
(*InviteWaitlistEntrantResponse)(nil), // 9: helios.waitlist.InviteWaitlistEntrantResponse
(*InquiryRequest)(nil), // 10: helios.waitlist.InquiryRequest
(*InquiryResponse)(nil), // 11: helios.waitlist.InquiryResponse
nil, // 12: helios.waitlist.WaitlistEntry.MetadataEntry
nil, // 13: helios.waitlist.AddToWaitlistRequest.MetadataEntry
(*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp
}
var file_helios_waitlist_waitlist_proto_depIdxs = []int32{
12, // 0: helios.waitlist.WaitlistEntry.metadata:type_name -> helios.waitlist.WaitlistEntry.MetadataEntry
14, // 1: helios.waitlist.WaitlistEntry.created_at:type_name -> google.protobuf.Timestamp
13, // 2: helios.waitlist.AddToWaitlistRequest.metadata:type_name -> helios.waitlist.AddToWaitlistRequest.MetadataEntry
0, // 3: helios.waitlist.GetWaitlistRequest.filter:type_name -> helios.waitlist.GetWaitlistRequest.Filter
1, // 4: helios.waitlist.GetWaitlistResponse.waitlist_entries:type_name -> helios.waitlist.WaitlistEntry
1, // 5: helios.waitlist.GetWaitlistEntryResponse.waitlist_entry:type_name -> helios.waitlist.WaitlistEntry
2, // 6: helios.waitlist.WaitlistService.AddToWaitlist:input_type -> helios.waitlist.AddToWaitlistRequest
4, // 7: helios.waitlist.WaitlistService.GetWaitlist:input_type -> helios.waitlist.GetWaitlistRequest
6, // 8: helios.waitlist.WaitlistService.GetWaitlistEntry:input_type -> helios.waitlist.GetWaitlistEntryRequest
8, // 9: helios.waitlist.WaitlistService.InviteWaitlistEntrant:input_type -> helios.waitlist.InviteWaitlistEntrantRequest
10, // 10: helios.waitlist.WaitlistService.Inquiry:input_type -> helios.waitlist.InquiryRequest
3, // 11: helios.waitlist.WaitlistService.AddToWaitlist:output_type -> helios.waitlist.AddToWaitlistResponse
5, // 12: helios.waitlist.WaitlistService.GetWaitlist:output_type -> helios.waitlist.GetWaitlistResponse
7, // 13: helios.waitlist.WaitlistService.GetWaitlistEntry:output_type -> helios.waitlist.GetWaitlistEntryResponse
9, // 14: helios.waitlist.WaitlistService.InviteWaitlistEntrant:output_type -> helios.waitlist.InviteWaitlistEntrantResponse
11, // 15: helios.waitlist.WaitlistService.Inquiry:output_type -> helios.waitlist.InquiryResponse
11, // [11:16] is the sub-list for method output_type
6, // [6:11] 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_helios_waitlist_waitlist_proto_init() }
func file_helios_waitlist_waitlist_proto_init() {
if File_helios_waitlist_waitlist_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_helios_waitlist_waitlist_proto_rawDesc,
NumEnums: 1,
NumMessages: 13,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_helios_waitlist_waitlist_proto_goTypes,
DependencyIndexes: file_helios_waitlist_waitlist_proto_depIdxs,
EnumInfos: file_helios_waitlist_waitlist_proto_enumTypes,
MessageInfos: file_helios_waitlist_waitlist_proto_msgTypes,
}.Build()
File_helios_waitlist_waitlist_proto = out.File
file_helios_waitlist_waitlist_proto_rawDesc = nil
file_helios_waitlist_waitlist_proto_goTypes = nil
file_helios_waitlist_waitlist_proto_depIdxs = nil
}
@@ -0,0 +1,273 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc v5.28.3
// source: helios/waitlist/waitlist.proto
package pbwaitlist
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
WaitlistService_AddToWaitlist_FullMethodName = "/helios.waitlist.WaitlistService/AddToWaitlist"
WaitlistService_GetWaitlist_FullMethodName = "/helios.waitlist.WaitlistService/GetWaitlist"
WaitlistService_GetWaitlistEntry_FullMethodName = "/helios.waitlist.WaitlistService/GetWaitlistEntry"
WaitlistService_InviteWaitlistEntrant_FullMethodName = "/helios.waitlist.WaitlistService/InviteWaitlistEntrant"
WaitlistService_Inquiry_FullMethodName = "/helios.waitlist.WaitlistService/Inquiry"
)
// WaitlistServiceClient is the client API for WaitlistService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type WaitlistServiceClient interface {
AddToWaitlist(ctx context.Context, in *AddToWaitlistRequest, opts ...grpc.CallOption) (*AddToWaitlistResponse, error)
GetWaitlist(ctx context.Context, in *GetWaitlistRequest, opts ...grpc.CallOption) (*GetWaitlistResponse, error)
GetWaitlistEntry(ctx context.Context, in *GetWaitlistEntryRequest, opts ...grpc.CallOption) (*GetWaitlistEntryResponse, error)
InviteWaitlistEntrant(ctx context.Context, in *InviteWaitlistEntrantRequest, opts ...grpc.CallOption) (*InviteWaitlistEntrantResponse, error)
Inquiry(ctx context.Context, in *InquiryRequest, opts ...grpc.CallOption) (*InquiryResponse, error)
}
type waitlistServiceClient struct {
cc grpc.ClientConnInterface
}
func NewWaitlistServiceClient(cc grpc.ClientConnInterface) WaitlistServiceClient {
return &waitlistServiceClient{cc}
}
func (c *waitlistServiceClient) AddToWaitlist(ctx context.Context, in *AddToWaitlistRequest, opts ...grpc.CallOption) (*AddToWaitlistResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(AddToWaitlistResponse)
err := c.cc.Invoke(ctx, WaitlistService_AddToWaitlist_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *waitlistServiceClient) GetWaitlist(ctx context.Context, in *GetWaitlistRequest, opts ...grpc.CallOption) (*GetWaitlistResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(GetWaitlistResponse)
err := c.cc.Invoke(ctx, WaitlistService_GetWaitlist_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *waitlistServiceClient) GetWaitlistEntry(ctx context.Context, in *GetWaitlistEntryRequest, opts ...grpc.CallOption) (*GetWaitlistEntryResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(GetWaitlistEntryResponse)
err := c.cc.Invoke(ctx, WaitlistService_GetWaitlistEntry_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *waitlistServiceClient) InviteWaitlistEntrant(ctx context.Context, in *InviteWaitlistEntrantRequest, opts ...grpc.CallOption) (*InviteWaitlistEntrantResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(InviteWaitlistEntrantResponse)
err := c.cc.Invoke(ctx, WaitlistService_InviteWaitlistEntrant_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *waitlistServiceClient) Inquiry(ctx context.Context, in *InquiryRequest, opts ...grpc.CallOption) (*InquiryResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(InquiryResponse)
err := c.cc.Invoke(ctx, WaitlistService_Inquiry_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
// WaitlistServiceServer is the server API for WaitlistService service.
// All implementations must embed UnimplementedWaitlistServiceServer
// for forward compatibility.
type WaitlistServiceServer interface {
AddToWaitlist(context.Context, *AddToWaitlistRequest) (*AddToWaitlistResponse, error)
GetWaitlist(context.Context, *GetWaitlistRequest) (*GetWaitlistResponse, error)
GetWaitlistEntry(context.Context, *GetWaitlistEntryRequest) (*GetWaitlistEntryResponse, error)
InviteWaitlistEntrant(context.Context, *InviteWaitlistEntrantRequest) (*InviteWaitlistEntrantResponse, error)
Inquiry(context.Context, *InquiryRequest) (*InquiryResponse, error)
mustEmbedUnimplementedWaitlistServiceServer()
}
// UnimplementedWaitlistServiceServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedWaitlistServiceServer struct{}
func (UnimplementedWaitlistServiceServer) AddToWaitlist(context.Context, *AddToWaitlistRequest) (*AddToWaitlistResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AddToWaitlist not implemented")
}
func (UnimplementedWaitlistServiceServer) GetWaitlist(context.Context, *GetWaitlistRequest) (*GetWaitlistResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetWaitlist not implemented")
}
func (UnimplementedWaitlistServiceServer) GetWaitlistEntry(context.Context, *GetWaitlistEntryRequest) (*GetWaitlistEntryResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetWaitlistEntry not implemented")
}
func (UnimplementedWaitlistServiceServer) InviteWaitlistEntrant(context.Context, *InviteWaitlistEntrantRequest) (*InviteWaitlistEntrantResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method InviteWaitlistEntrant not implemented")
}
func (UnimplementedWaitlistServiceServer) Inquiry(context.Context, *InquiryRequest) (*InquiryResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Inquiry not implemented")
}
func (UnimplementedWaitlistServiceServer) mustEmbedUnimplementedWaitlistServiceServer() {}
func (UnimplementedWaitlistServiceServer) testEmbeddedByValue() {}
// UnsafeWaitlistServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to WaitlistServiceServer will
// result in compilation errors.
type UnsafeWaitlistServiceServer interface {
mustEmbedUnimplementedWaitlistServiceServer()
}
func RegisterWaitlistServiceServer(s grpc.ServiceRegistrar, srv WaitlistServiceServer) {
// If the following call pancis, it indicates UnimplementedWaitlistServiceServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&WaitlistService_ServiceDesc, srv)
}
func _WaitlistService_AddToWaitlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AddToWaitlistRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WaitlistServiceServer).AddToWaitlist(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: WaitlistService_AddToWaitlist_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WaitlistServiceServer).AddToWaitlist(ctx, req.(*AddToWaitlistRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WaitlistService_GetWaitlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetWaitlistRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WaitlistServiceServer).GetWaitlist(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: WaitlistService_GetWaitlist_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WaitlistServiceServer).GetWaitlist(ctx, req.(*GetWaitlistRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WaitlistService_GetWaitlistEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetWaitlistEntryRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WaitlistServiceServer).GetWaitlistEntry(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: WaitlistService_GetWaitlistEntry_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WaitlistServiceServer).GetWaitlistEntry(ctx, req.(*GetWaitlistEntryRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WaitlistService_InviteWaitlistEntrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(InviteWaitlistEntrantRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WaitlistServiceServer).InviteWaitlistEntrant(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: WaitlistService_InviteWaitlistEntrant_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WaitlistServiceServer).InviteWaitlistEntrant(ctx, req.(*InviteWaitlistEntrantRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WaitlistService_Inquiry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(InquiryRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WaitlistServiceServer).Inquiry(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: WaitlistService_Inquiry_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WaitlistServiceServer).Inquiry(ctx, req.(*InquiryRequest))
}
return interceptor(ctx, in, info, handler)
}
// WaitlistService_ServiceDesc is the grpc.ServiceDesc for WaitlistService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var WaitlistService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "helios.waitlist.WaitlistService",
HandlerType: (*WaitlistServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "AddToWaitlist",
Handler: _WaitlistService_AddToWaitlist_Handler,
},
{
MethodName: "GetWaitlist",
Handler: _WaitlistService_GetWaitlist_Handler,
},
{
MethodName: "GetWaitlistEntry",
Handler: _WaitlistService_GetWaitlistEntry_Handler,
},
{
MethodName: "InviteWaitlistEntrant",
Handler: _WaitlistService_InviteWaitlistEntrant_Handler,
},
{
MethodName: "Inquiry",
Handler: _WaitlistService_Inquiry_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "helios/waitlist/waitlist.proto",
}