local.pb.go 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc (unknown)
  5. // source: discoproto/local.proto
  6. package discoproto
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Announce struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  24. Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
  25. InstanceId int64 `protobuf:"varint,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
  26. }
  27. func (x *Announce) Reset() {
  28. *x = Announce{}
  29. mi := &file_discoproto_local_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. func (x *Announce) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*Announce) ProtoMessage() {}
  37. func (x *Announce) ProtoReflect() protoreflect.Message {
  38. mi := &file_discoproto_local_proto_msgTypes[0]
  39. if x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use Announce.ProtoReflect.Descriptor instead.
  49. func (*Announce) Descriptor() ([]byte, []int) {
  50. return file_discoproto_local_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *Announce) GetId() []byte {
  53. if x != nil {
  54. return x.Id
  55. }
  56. return nil
  57. }
  58. func (x *Announce) GetAddresses() []string {
  59. if x != nil {
  60. return x.Addresses
  61. }
  62. return nil
  63. }
  64. func (x *Announce) GetInstanceId() int64 {
  65. if x != nil {
  66. return x.InstanceId
  67. }
  68. return 0
  69. }
  70. var File_discoproto_local_proto protoreflect.FileDescriptor
  71. var file_discoproto_local_proto_rawDesc = []byte{
  72. 0x0a, 0x16, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x6f, 0x63,
  73. 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x70,
  74. 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x08, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65,
  75. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64,
  76. 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20,
  77. 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x1f,
  78. 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
  79. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x42,
  80. 0x9c, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x70, 0x72, 0x6f,
  81. 0x74, 0x6f, 0x42, 0x0a, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
  82. 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x79, 0x6e,
  83. 0x63, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x74, 0x68, 0x69, 0x6e, 0x67,
  84. 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x64, 0x69,
  85. 0x73, 0x63, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xa2, 0x02, 0x03, 0x44, 0x58, 0x58, 0xaa, 0x02,
  86. 0x0a, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xca, 0x02, 0x0a, 0x44, 0x69,
  87. 0x73, 0x63, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xe2, 0x02, 0x16, 0x44, 0x69, 0x73, 0x63, 0x6f,
  88. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
  89. 0x61, 0xea, 0x02, 0x0a, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06,
  90. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  91. }
  92. var (
  93. file_discoproto_local_proto_rawDescOnce sync.Once
  94. file_discoproto_local_proto_rawDescData = file_discoproto_local_proto_rawDesc
  95. )
  96. func file_discoproto_local_proto_rawDescGZIP() []byte {
  97. file_discoproto_local_proto_rawDescOnce.Do(func() {
  98. file_discoproto_local_proto_rawDescData = protoimpl.X.CompressGZIP(file_discoproto_local_proto_rawDescData)
  99. })
  100. return file_discoproto_local_proto_rawDescData
  101. }
  102. var file_discoproto_local_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  103. var file_discoproto_local_proto_goTypes = []any{
  104. (*Announce)(nil), // 0: discoproto.Announce
  105. }
  106. var file_discoproto_local_proto_depIdxs = []int32{
  107. 0, // [0:0] is the sub-list for method output_type
  108. 0, // [0:0] is the sub-list for method input_type
  109. 0, // [0:0] is the sub-list for extension type_name
  110. 0, // [0:0] is the sub-list for extension extendee
  111. 0, // [0:0] is the sub-list for field type_name
  112. }
  113. func init() { file_discoproto_local_proto_init() }
  114. func file_discoproto_local_proto_init() {
  115. if File_discoproto_local_proto != nil {
  116. return
  117. }
  118. type x struct{}
  119. out := protoimpl.TypeBuilder{
  120. File: protoimpl.DescBuilder{
  121. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  122. RawDescriptor: file_discoproto_local_proto_rawDesc,
  123. NumEnums: 0,
  124. NumMessages: 1,
  125. NumExtensions: 0,
  126. NumServices: 0,
  127. },
  128. GoTypes: file_discoproto_local_proto_goTypes,
  129. DependencyIndexes: file_discoproto_local_proto_depIdxs,
  130. MessageInfos: file_discoproto_local_proto_msgTypes,
  131. }.Build()
  132. File_discoproto_local_proto = out.File
  133. file_discoproto_local_proto_rawDesc = nil
  134. file_discoproto_local_proto_goTypes = nil
  135. file_discoproto_local_proto_depIdxs = nil
  136. }