service.pb.go raw

   1  // Code generated by protoc-gen-go. DO NOT EDIT.
   2  // versions:
   3  // 	protoc-gen-go v1.36.11
   4  // 	protoc        (unknown)
   5  // source: orlysync/relaygroup/v1/service.proto
   6  
   7  package relaygroupv1
   8  
   9  import (
  10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12  	v1 "next.orly.dev/pkg/proto/orlysync/common/v1"
  13  	reflect "reflect"
  14  	sync "sync"
  15  	unsafe "unsafe"
  16  )
  17  
  18  const (
  19  	// Verify that this generated code is sufficiently up-to-date.
  20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
  22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  23  )
  24  
  25  // RelayGroupConfig represents a relay group configuration
  26  type RelayGroupConfig struct {
  27  	state         protoimpl.MessageState `protogen:"open.v1"`
  28  	Relays        []string               `protobuf:"bytes,1,rep,name=relays,proto3" json:"relays,omitempty"` // List of relay URLs
  29  	unknownFields protoimpl.UnknownFields
  30  	sizeCache     protoimpl.SizeCache
  31  }
  32  
  33  func (x *RelayGroupConfig) Reset() {
  34  	*x = RelayGroupConfig{}
  35  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[0]
  36  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  37  	ms.StoreMessageInfo(mi)
  38  }
  39  
  40  func (x *RelayGroupConfig) String() string {
  41  	return protoimpl.X.MessageStringOf(x)
  42  }
  43  
  44  func (*RelayGroupConfig) ProtoMessage() {}
  45  
  46  func (x *RelayGroupConfig) ProtoReflect() protoreflect.Message {
  47  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[0]
  48  	if x != nil {
  49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  50  		if ms.LoadMessageInfo() == nil {
  51  			ms.StoreMessageInfo(mi)
  52  		}
  53  		return ms
  54  	}
  55  	return mi.MessageOf(x)
  56  }
  57  
  58  // Deprecated: Use RelayGroupConfig.ProtoReflect.Descriptor instead.
  59  func (*RelayGroupConfig) Descriptor() ([]byte, []int) {
  60  	return file_orlysync_relaygroup_v1_service_proto_rawDescGZIP(), []int{0}
  61  }
  62  
  63  func (x *RelayGroupConfig) GetRelays() []string {
  64  	if x != nil {
  65  		return x.Relays
  66  	}
  67  	return nil
  68  }
  69  
  70  // RelayGroupConfigResponse contains the authoritative config
  71  type RelayGroupConfigResponse struct {
  72  	state           protoimpl.MessageState `protogen:"open.v1"`
  73  	Config          *RelayGroupConfig      `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
  74  	Found           bool                   `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
  75  	SourceEventId   []byte                 `protobuf:"bytes,3,opt,name=source_event_id,json=sourceEventId,proto3" json:"source_event_id,omitempty"`      // ID of the event that provided this config
  76  	SourceTimestamp int64                  `protobuf:"varint,4,opt,name=source_timestamp,json=sourceTimestamp,proto3" json:"source_timestamp,omitempty"` // Timestamp of the source event
  77  	unknownFields   protoimpl.UnknownFields
  78  	sizeCache       protoimpl.SizeCache
  79  }
  80  
  81  func (x *RelayGroupConfigResponse) Reset() {
  82  	*x = RelayGroupConfigResponse{}
  83  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[1]
  84  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  85  	ms.StoreMessageInfo(mi)
  86  }
  87  
  88  func (x *RelayGroupConfigResponse) String() string {
  89  	return protoimpl.X.MessageStringOf(x)
  90  }
  91  
  92  func (*RelayGroupConfigResponse) ProtoMessage() {}
  93  
  94  func (x *RelayGroupConfigResponse) ProtoReflect() protoreflect.Message {
  95  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[1]
  96  	if x != nil {
  97  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  98  		if ms.LoadMessageInfo() == nil {
  99  			ms.StoreMessageInfo(mi)
 100  		}
 101  		return ms
 102  	}
 103  	return mi.MessageOf(x)
 104  }
 105  
 106  // Deprecated: Use RelayGroupConfigResponse.ProtoReflect.Descriptor instead.
 107  func (*RelayGroupConfigResponse) Descriptor() ([]byte, []int) {
 108  	return file_orlysync_relaygroup_v1_service_proto_rawDescGZIP(), []int{1}
 109  }
 110  
 111  func (x *RelayGroupConfigResponse) GetConfig() *RelayGroupConfig {
 112  	if x != nil {
 113  		return x.Config
 114  	}
 115  	return nil
 116  }
 117  
 118  func (x *RelayGroupConfigResponse) GetFound() bool {
 119  	if x != nil {
 120  		return x.Found
 121  	}
 122  	return false
 123  }
 124  
 125  func (x *RelayGroupConfigResponse) GetSourceEventId() []byte {
 126  	if x != nil {
 127  		return x.SourceEventId
 128  	}
 129  	return nil
 130  }
 131  
 132  func (x *RelayGroupConfigResponse) GetSourceTimestamp() int64 {
 133  	if x != nil {
 134  		return x.SourceTimestamp
 135  	}
 136  	return 0
 137  }
 138  
 139  // RelaysResponse contains the list of relays
 140  type RelaysResponse struct {
 141  	state         protoimpl.MessageState `protogen:"open.v1"`
 142  	Relays        []string               `protobuf:"bytes,1,rep,name=relays,proto3" json:"relays,omitempty"`
 143  	unknownFields protoimpl.UnknownFields
 144  	sizeCache     protoimpl.SizeCache
 145  }
 146  
 147  func (x *RelaysResponse) Reset() {
 148  	*x = RelaysResponse{}
 149  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[2]
 150  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 151  	ms.StoreMessageInfo(mi)
 152  }
 153  
 154  func (x *RelaysResponse) String() string {
 155  	return protoimpl.X.MessageStringOf(x)
 156  }
 157  
 158  func (*RelaysResponse) ProtoMessage() {}
 159  
 160  func (x *RelaysResponse) ProtoReflect() protoreflect.Message {
 161  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[2]
 162  	if x != nil {
 163  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 164  		if ms.LoadMessageInfo() == nil {
 165  			ms.StoreMessageInfo(mi)
 166  		}
 167  		return ms
 168  	}
 169  	return mi.MessageOf(x)
 170  }
 171  
 172  // Deprecated: Use RelaysResponse.ProtoReflect.Descriptor instead.
 173  func (*RelaysResponse) Descriptor() ([]byte, []int) {
 174  	return file_orlysync_relaygroup_v1_service_proto_rawDescGZIP(), []int{2}
 175  }
 176  
 177  func (x *RelaysResponse) GetRelays() []string {
 178  	if x != nil {
 179  		return x.Relays
 180  	}
 181  	return nil
 182  }
 183  
 184  // AuthorizedPublisherRequest checks if a pubkey is authorized
 185  type AuthorizedPublisherRequest struct {
 186  	state         protoimpl.MessageState `protogen:"open.v1"`
 187  	Pubkey        []byte                 `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // 32 bytes public key
 188  	unknownFields protoimpl.UnknownFields
 189  	sizeCache     protoimpl.SizeCache
 190  }
 191  
 192  func (x *AuthorizedPublisherRequest) Reset() {
 193  	*x = AuthorizedPublisherRequest{}
 194  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[3]
 195  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 196  	ms.StoreMessageInfo(mi)
 197  }
 198  
 199  func (x *AuthorizedPublisherRequest) String() string {
 200  	return protoimpl.X.MessageStringOf(x)
 201  }
 202  
 203  func (*AuthorizedPublisherRequest) ProtoMessage() {}
 204  
 205  func (x *AuthorizedPublisherRequest) ProtoReflect() protoreflect.Message {
 206  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[3]
 207  	if x != nil {
 208  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 209  		if ms.LoadMessageInfo() == nil {
 210  			ms.StoreMessageInfo(mi)
 211  		}
 212  		return ms
 213  	}
 214  	return mi.MessageOf(x)
 215  }
 216  
 217  // Deprecated: Use AuthorizedPublisherRequest.ProtoReflect.Descriptor instead.
 218  func (*AuthorizedPublisherRequest) Descriptor() ([]byte, []int) {
 219  	return file_orlysync_relaygroup_v1_service_proto_rawDescGZIP(), []int{3}
 220  }
 221  
 222  func (x *AuthorizedPublisherRequest) GetPubkey() []byte {
 223  	if x != nil {
 224  		return x.Pubkey
 225  	}
 226  	return nil
 227  }
 228  
 229  // AuthorizedPublisherResponse indicates if the pubkey is authorized
 230  type AuthorizedPublisherResponse struct {
 231  	state         protoimpl.MessageState `protogen:"open.v1"`
 232  	Authorized    bool                   `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
 233  	unknownFields protoimpl.UnknownFields
 234  	sizeCache     protoimpl.SizeCache
 235  }
 236  
 237  func (x *AuthorizedPublisherResponse) Reset() {
 238  	*x = AuthorizedPublisherResponse{}
 239  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[4]
 240  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 241  	ms.StoreMessageInfo(mi)
 242  }
 243  
 244  func (x *AuthorizedPublisherResponse) String() string {
 245  	return protoimpl.X.MessageStringOf(x)
 246  }
 247  
 248  func (*AuthorizedPublisherResponse) ProtoMessage() {}
 249  
 250  func (x *AuthorizedPublisherResponse) ProtoReflect() protoreflect.Message {
 251  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[4]
 252  	if x != nil {
 253  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 254  		if ms.LoadMessageInfo() == nil {
 255  			ms.StoreMessageInfo(mi)
 256  		}
 257  		return ms
 258  	}
 259  	return mi.MessageOf(x)
 260  }
 261  
 262  // Deprecated: Use AuthorizedPublisherResponse.ProtoReflect.Descriptor instead.
 263  func (*AuthorizedPublisherResponse) Descriptor() ([]byte, []int) {
 264  	return file_orlysync_relaygroup_v1_service_proto_rawDescGZIP(), []int{4}
 265  }
 266  
 267  func (x *AuthorizedPublisherResponse) GetAuthorized() bool {
 268  	if x != nil {
 269  		return x.Authorized
 270  	}
 271  	return false
 272  }
 273  
 274  // AuthorizedPubkeysResponse contains all authorized pubkeys
 275  type AuthorizedPubkeysResponse struct {
 276  	state         protoimpl.MessageState `protogen:"open.v1"`
 277  	Pubkeys       [][]byte               `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"` // List of 32-byte pubkeys
 278  	unknownFields protoimpl.UnknownFields
 279  	sizeCache     protoimpl.SizeCache
 280  }
 281  
 282  func (x *AuthorizedPubkeysResponse) Reset() {
 283  	*x = AuthorizedPubkeysResponse{}
 284  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[5]
 285  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 286  	ms.StoreMessageInfo(mi)
 287  }
 288  
 289  func (x *AuthorizedPubkeysResponse) String() string {
 290  	return protoimpl.X.MessageStringOf(x)
 291  }
 292  
 293  func (*AuthorizedPubkeysResponse) ProtoMessage() {}
 294  
 295  func (x *AuthorizedPubkeysResponse) ProtoReflect() protoreflect.Message {
 296  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[5]
 297  	if x != nil {
 298  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 299  		if ms.LoadMessageInfo() == nil {
 300  			ms.StoreMessageInfo(mi)
 301  		}
 302  		return ms
 303  	}
 304  	return mi.MessageOf(x)
 305  }
 306  
 307  // Deprecated: Use AuthorizedPubkeysResponse.ProtoReflect.Descriptor instead.
 308  func (*AuthorizedPubkeysResponse) Descriptor() ([]byte, []int) {
 309  	return file_orlysync_relaygroup_v1_service_proto_rawDescGZIP(), []int{5}
 310  }
 311  
 312  func (x *AuthorizedPubkeysResponse) GetPubkeys() [][]byte {
 313  	if x != nil {
 314  		return x.Pubkeys
 315  	}
 316  	return nil
 317  }
 318  
 319  // ValidateEventRequest requests validation of a relay group event
 320  type ValidateEventRequest struct {
 321  	state         protoimpl.MessageState `protogen:"open.v1"`
 322  	Event         *v1.Event              `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
 323  	unknownFields protoimpl.UnknownFields
 324  	sizeCache     protoimpl.SizeCache
 325  }
 326  
 327  func (x *ValidateEventRequest) Reset() {
 328  	*x = ValidateEventRequest{}
 329  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[6]
 330  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 331  	ms.StoreMessageInfo(mi)
 332  }
 333  
 334  func (x *ValidateEventRequest) String() string {
 335  	return protoimpl.X.MessageStringOf(x)
 336  }
 337  
 338  func (*ValidateEventRequest) ProtoMessage() {}
 339  
 340  func (x *ValidateEventRequest) ProtoReflect() protoreflect.Message {
 341  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[6]
 342  	if x != nil {
 343  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 344  		if ms.LoadMessageInfo() == nil {
 345  			ms.StoreMessageInfo(mi)
 346  		}
 347  		return ms
 348  	}
 349  	return mi.MessageOf(x)
 350  }
 351  
 352  // Deprecated: Use ValidateEventRequest.ProtoReflect.Descriptor instead.
 353  func (*ValidateEventRequest) Descriptor() ([]byte, []int) {
 354  	return file_orlysync_relaygroup_v1_service_proto_rawDescGZIP(), []int{6}
 355  }
 356  
 357  func (x *ValidateEventRequest) GetEvent() *v1.Event {
 358  	if x != nil {
 359  		return x.Event
 360  	}
 361  	return nil
 362  }
 363  
 364  // ValidateEventResponse contains validation results
 365  type ValidateEventResponse struct {
 366  	state         protoimpl.MessageState `protogen:"open.v1"`
 367  	Valid         bool                   `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
 368  	Error         string                 `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error message if not valid
 369  	unknownFields protoimpl.UnknownFields
 370  	sizeCache     protoimpl.SizeCache
 371  }
 372  
 373  func (x *ValidateEventResponse) Reset() {
 374  	*x = ValidateEventResponse{}
 375  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[7]
 376  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 377  	ms.StoreMessageInfo(mi)
 378  }
 379  
 380  func (x *ValidateEventResponse) String() string {
 381  	return protoimpl.X.MessageStringOf(x)
 382  }
 383  
 384  func (*ValidateEventResponse) ProtoMessage() {}
 385  
 386  func (x *ValidateEventResponse) ProtoReflect() protoreflect.Message {
 387  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[7]
 388  	if x != nil {
 389  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 390  		if ms.LoadMessageInfo() == nil {
 391  			ms.StoreMessageInfo(mi)
 392  		}
 393  		return ms
 394  	}
 395  	return mi.MessageOf(x)
 396  }
 397  
 398  // Deprecated: Use ValidateEventResponse.ProtoReflect.Descriptor instead.
 399  func (*ValidateEventResponse) Descriptor() ([]byte, []int) {
 400  	return file_orlysync_relaygroup_v1_service_proto_rawDescGZIP(), []int{7}
 401  }
 402  
 403  func (x *ValidateEventResponse) GetValid() bool {
 404  	if x != nil {
 405  		return x.Valid
 406  	}
 407  	return false
 408  }
 409  
 410  func (x *ValidateEventResponse) GetError() string {
 411  	if x != nil {
 412  		return x.Error
 413  	}
 414  	return ""
 415  }
 416  
 417  // HandleEventRequest requests processing of a relay group event
 418  type HandleEventRequest struct {
 419  	state         protoimpl.MessageState `protogen:"open.v1"`
 420  	Event         *v1.Event              `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
 421  	unknownFields protoimpl.UnknownFields
 422  	sizeCache     protoimpl.SizeCache
 423  }
 424  
 425  func (x *HandleEventRequest) Reset() {
 426  	*x = HandleEventRequest{}
 427  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[8]
 428  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 429  	ms.StoreMessageInfo(mi)
 430  }
 431  
 432  func (x *HandleEventRequest) String() string {
 433  	return protoimpl.X.MessageStringOf(x)
 434  }
 435  
 436  func (*HandleEventRequest) ProtoMessage() {}
 437  
 438  func (x *HandleEventRequest) ProtoReflect() protoreflect.Message {
 439  	mi := &file_orlysync_relaygroup_v1_service_proto_msgTypes[8]
 440  	if x != nil {
 441  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 442  		if ms.LoadMessageInfo() == nil {
 443  			ms.StoreMessageInfo(mi)
 444  		}
 445  		return ms
 446  	}
 447  	return mi.MessageOf(x)
 448  }
 449  
 450  // Deprecated: Use HandleEventRequest.ProtoReflect.Descriptor instead.
 451  func (*HandleEventRequest) Descriptor() ([]byte, []int) {
 452  	return file_orlysync_relaygroup_v1_service_proto_rawDescGZIP(), []int{8}
 453  }
 454  
 455  func (x *HandleEventRequest) GetEvent() *v1.Event {
 456  	if x != nil {
 457  		return x.Event
 458  	}
 459  	return nil
 460  }
 461  
 462  var File_orlysync_relaygroup_v1_service_proto protoreflect.FileDescriptor
 463  
 464  const file_orlysync_relaygroup_v1_service_proto_rawDesc = "" +
 465  	"\n" +
 466  	"$orlysync/relaygroup/v1/service.proto\x12\x16orlysync.relaygroup.v1\x1a\x1eorlysync/common/v1/types.proto\"*\n" +
 467  	"\x10RelayGroupConfig\x12\x16\n" +
 468  	"\x06relays\x18\x01 \x03(\tR\x06relays\"\xc5\x01\n" +
 469  	"\x18RelayGroupConfigResponse\x12@\n" +
 470  	"\x06config\x18\x01 \x01(\v2(.orlysync.relaygroup.v1.RelayGroupConfigR\x06config\x12\x14\n" +
 471  	"\x05found\x18\x02 \x01(\bR\x05found\x12&\n" +
 472  	"\x0fsource_event_id\x18\x03 \x01(\fR\rsourceEventId\x12)\n" +
 473  	"\x10source_timestamp\x18\x04 \x01(\x03R\x0fsourceTimestamp\"(\n" +
 474  	"\x0eRelaysResponse\x12\x16\n" +
 475  	"\x06relays\x18\x01 \x03(\tR\x06relays\"4\n" +
 476  	"\x1aAuthorizedPublisherRequest\x12\x16\n" +
 477  	"\x06pubkey\x18\x01 \x01(\fR\x06pubkey\"=\n" +
 478  	"\x1bAuthorizedPublisherResponse\x12\x1e\n" +
 479  	"\n" +
 480  	"authorized\x18\x01 \x01(\bR\n" +
 481  	"authorized\"5\n" +
 482  	"\x19AuthorizedPubkeysResponse\x12\x18\n" +
 483  	"\apubkeys\x18\x01 \x03(\fR\apubkeys\"G\n" +
 484  	"\x14ValidateEventRequest\x12/\n" +
 485  	"\x05event\x18\x01 \x01(\v2\x19.orlysync.common.v1.EventR\x05event\"C\n" +
 486  	"\x15ValidateEventResponse\x12\x14\n" +
 487  	"\x05valid\x18\x01 \x01(\bR\x05valid\x12\x14\n" +
 488  	"\x05error\x18\x02 \x01(\tR\x05error\"E\n" +
 489  	"\x12HandleEventRequest\x12/\n" +
 490  	"\x05event\x18\x01 \x01(\v2\x19.orlysync.common.v1.EventR\x05event2\xd3\x05\n" +
 491  	"\x11RelayGroupService\x12E\n" +
 492  	"\x05Ready\x12\x19.orlysync.common.v1.Empty\x1a!.orlysync.common.v1.ReadyResponse\x12f\n" +
 493  	"\x17FindAuthoritativeConfig\x12\x19.orlysync.common.v1.Empty\x1a0.orlysync.relaygroup.v1.RelayGroupConfigResponse\x12N\n" +
 494  	"\tGetRelays\x12\x19.orlysync.common.v1.Empty\x1a&.orlysync.relaygroup.v1.RelaysResponse\x12\x80\x01\n" +
 495  	"\x15IsAuthorizedPublisher\x122.orlysync.relaygroup.v1.AuthorizedPublisherRequest\x1a3.orlysync.relaygroup.v1.AuthorizedPublisherResponse\x12d\n" +
 496  	"\x14GetAuthorizedPubkeys\x12\x19.orlysync.common.v1.Empty\x1a1.orlysync.relaygroup.v1.AuthorizedPubkeysResponse\x12v\n" +
 497  	"\x17ValidateRelayGroupEvent\x12,.orlysync.relaygroup.v1.ValidateEventRequest\x1a-.orlysync.relaygroup.v1.ValidateEventResponse\x12^\n" +
 498  	"\x15HandleRelayGroupEvent\x12*.orlysync.relaygroup.v1.HandleEventRequest\x1a\x19.orlysync.common.v1.EmptyB=Z;next.orly.dev/pkg/proto/orlysync/relaygroup/v1;relaygroupv1b\x06proto3"
 499  
 500  var (
 501  	file_orlysync_relaygroup_v1_service_proto_rawDescOnce sync.Once
 502  	file_orlysync_relaygroup_v1_service_proto_rawDescData []byte
 503  )
 504  
 505  func file_orlysync_relaygroup_v1_service_proto_rawDescGZIP() []byte {
 506  	file_orlysync_relaygroup_v1_service_proto_rawDescOnce.Do(func() {
 507  		file_orlysync_relaygroup_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_orlysync_relaygroup_v1_service_proto_rawDesc), len(file_orlysync_relaygroup_v1_service_proto_rawDesc)))
 508  	})
 509  	return file_orlysync_relaygroup_v1_service_proto_rawDescData
 510  }
 511  
 512  var file_orlysync_relaygroup_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
 513  var file_orlysync_relaygroup_v1_service_proto_goTypes = []any{
 514  	(*RelayGroupConfig)(nil),            // 0: orlysync.relaygroup.v1.RelayGroupConfig
 515  	(*RelayGroupConfigResponse)(nil),    // 1: orlysync.relaygroup.v1.RelayGroupConfigResponse
 516  	(*RelaysResponse)(nil),              // 2: orlysync.relaygroup.v1.RelaysResponse
 517  	(*AuthorizedPublisherRequest)(nil),  // 3: orlysync.relaygroup.v1.AuthorizedPublisherRequest
 518  	(*AuthorizedPublisherResponse)(nil), // 4: orlysync.relaygroup.v1.AuthorizedPublisherResponse
 519  	(*AuthorizedPubkeysResponse)(nil),   // 5: orlysync.relaygroup.v1.AuthorizedPubkeysResponse
 520  	(*ValidateEventRequest)(nil),        // 6: orlysync.relaygroup.v1.ValidateEventRequest
 521  	(*ValidateEventResponse)(nil),       // 7: orlysync.relaygroup.v1.ValidateEventResponse
 522  	(*HandleEventRequest)(nil),          // 8: orlysync.relaygroup.v1.HandleEventRequest
 523  	(*v1.Event)(nil),                    // 9: orlysync.common.v1.Event
 524  	(*v1.Empty)(nil),                    // 10: orlysync.common.v1.Empty
 525  	(*v1.ReadyResponse)(nil),            // 11: orlysync.common.v1.ReadyResponse
 526  }
 527  var file_orlysync_relaygroup_v1_service_proto_depIdxs = []int32{
 528  	0,  // 0: orlysync.relaygroup.v1.RelayGroupConfigResponse.config:type_name -> orlysync.relaygroup.v1.RelayGroupConfig
 529  	9,  // 1: orlysync.relaygroup.v1.ValidateEventRequest.event:type_name -> orlysync.common.v1.Event
 530  	9,  // 2: orlysync.relaygroup.v1.HandleEventRequest.event:type_name -> orlysync.common.v1.Event
 531  	10, // 3: orlysync.relaygroup.v1.RelayGroupService.Ready:input_type -> orlysync.common.v1.Empty
 532  	10, // 4: orlysync.relaygroup.v1.RelayGroupService.FindAuthoritativeConfig:input_type -> orlysync.common.v1.Empty
 533  	10, // 5: orlysync.relaygroup.v1.RelayGroupService.GetRelays:input_type -> orlysync.common.v1.Empty
 534  	3,  // 6: orlysync.relaygroup.v1.RelayGroupService.IsAuthorizedPublisher:input_type -> orlysync.relaygroup.v1.AuthorizedPublisherRequest
 535  	10, // 7: orlysync.relaygroup.v1.RelayGroupService.GetAuthorizedPubkeys:input_type -> orlysync.common.v1.Empty
 536  	6,  // 8: orlysync.relaygroup.v1.RelayGroupService.ValidateRelayGroupEvent:input_type -> orlysync.relaygroup.v1.ValidateEventRequest
 537  	8,  // 9: orlysync.relaygroup.v1.RelayGroupService.HandleRelayGroupEvent:input_type -> orlysync.relaygroup.v1.HandleEventRequest
 538  	11, // 10: orlysync.relaygroup.v1.RelayGroupService.Ready:output_type -> orlysync.common.v1.ReadyResponse
 539  	1,  // 11: orlysync.relaygroup.v1.RelayGroupService.FindAuthoritativeConfig:output_type -> orlysync.relaygroup.v1.RelayGroupConfigResponse
 540  	2,  // 12: orlysync.relaygroup.v1.RelayGroupService.GetRelays:output_type -> orlysync.relaygroup.v1.RelaysResponse
 541  	4,  // 13: orlysync.relaygroup.v1.RelayGroupService.IsAuthorizedPublisher:output_type -> orlysync.relaygroup.v1.AuthorizedPublisherResponse
 542  	5,  // 14: orlysync.relaygroup.v1.RelayGroupService.GetAuthorizedPubkeys:output_type -> orlysync.relaygroup.v1.AuthorizedPubkeysResponse
 543  	7,  // 15: orlysync.relaygroup.v1.RelayGroupService.ValidateRelayGroupEvent:output_type -> orlysync.relaygroup.v1.ValidateEventResponse
 544  	10, // 16: orlysync.relaygroup.v1.RelayGroupService.HandleRelayGroupEvent:output_type -> orlysync.common.v1.Empty
 545  	10, // [10:17] is the sub-list for method output_type
 546  	3,  // [3:10] is the sub-list for method input_type
 547  	3,  // [3:3] is the sub-list for extension type_name
 548  	3,  // [3:3] is the sub-list for extension extendee
 549  	0,  // [0:3] is the sub-list for field type_name
 550  }
 551  
 552  func init() { file_orlysync_relaygroup_v1_service_proto_init() }
 553  func file_orlysync_relaygroup_v1_service_proto_init() {
 554  	if File_orlysync_relaygroup_v1_service_proto != nil {
 555  		return
 556  	}
 557  	type x struct{}
 558  	out := protoimpl.TypeBuilder{
 559  		File: protoimpl.DescBuilder{
 560  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 561  			RawDescriptor: unsafe.Slice(unsafe.StringData(file_orlysync_relaygroup_v1_service_proto_rawDesc), len(file_orlysync_relaygroup_v1_service_proto_rawDesc)),
 562  			NumEnums:      0,
 563  			NumMessages:   9,
 564  			NumExtensions: 0,
 565  			NumServices:   1,
 566  		},
 567  		GoTypes:           file_orlysync_relaygroup_v1_service_proto_goTypes,
 568  		DependencyIndexes: file_orlysync_relaygroup_v1_service_proto_depIdxs,
 569  		MessageInfos:      file_orlysync_relaygroup_v1_service_proto_msgTypes,
 570  	}.Build()
 571  	File_orlysync_relaygroup_v1_service_proto = out.File
 572  	file_orlysync_relaygroup_v1_service_proto_goTypes = nil
 573  	file_orlysync_relaygroup_v1_service_proto_depIdxs = nil
 574  }
 575