You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

demo.pb.go 7.5 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.0
  4. // protoc (unknown)
  5. // source: idl/demo/demo.proto
  6. package demo
  7. import (
  8. _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
  9. _ "google.golang.org/genproto/googleapis/api/annotations"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type OurTeam int32
  22. const (
  23. // github: devad
  24. OurTeam_devad OurTeam = 0
  25. )
  26. // Enum value maps for OurTeam.
  27. var (
  28. OurTeam_name = map[int32]string{
  29. 0: "devad",
  30. }
  31. OurTeam_value = map[string]int32{
  32. "devad": 0,
  33. }
  34. )
  35. func (x OurTeam) Enum() *OurTeam {
  36. p := new(OurTeam)
  37. *p = x
  38. return p
  39. }
  40. func (x OurTeam) String() string {
  41. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  42. }
  43. func (OurTeam) Descriptor() protoreflect.EnumDescriptor {
  44. return file_idl_demo_demo_proto_enumTypes[0].Descriptor()
  45. }
  46. func (OurTeam) Type() protoreflect.EnumType {
  47. return &file_idl_demo_demo_proto_enumTypes[0]
  48. }
  49. func (x OurTeam) Number() protoreflect.EnumNumber {
  50. return protoreflect.EnumNumber(x)
  51. }
  52. // Deprecated: Use OurTeam.Descriptor instead.
  53. func (OurTeam) EnumDescriptor() ([]byte, []int) {
  54. return file_idl_demo_demo_proto_rawDescGZIP(), []int{0}
  55. }
  56. type StringMessage struct {
  57. state protoimpl.MessageState
  58. sizeCache protoimpl.SizeCache
  59. unknownFields protoimpl.UnknownFields
  60. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  61. }
  62. func (x *StringMessage) Reset() {
  63. *x = StringMessage{}
  64. if protoimpl.UnsafeEnabled {
  65. mi := &file_idl_demo_demo_proto_msgTypes[0]
  66. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  67. ms.StoreMessageInfo(mi)
  68. }
  69. }
  70. func (x *StringMessage) String() string {
  71. return protoimpl.X.MessageStringOf(x)
  72. }
  73. func (*StringMessage) ProtoMessage() {}
  74. func (x *StringMessage) ProtoReflect() protoreflect.Message {
  75. mi := &file_idl_demo_demo_proto_msgTypes[0]
  76. if protoimpl.UnsafeEnabled && x != nil {
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. if ms.LoadMessageInfo() == nil {
  79. ms.StoreMessageInfo(mi)
  80. }
  81. return ms
  82. }
  83. return mi.MessageOf(x)
  84. }
  85. // Deprecated: Use StringMessage.ProtoReflect.Descriptor instead.
  86. func (*StringMessage) Descriptor() ([]byte, []int) {
  87. return file_idl_demo_demo_proto_rawDescGZIP(), []int{0}
  88. }
  89. func (x *StringMessage) GetValue() string {
  90. if x != nil {
  91. return x.Value
  92. }
  93. return ""
  94. }
  95. var File_idl_demo_demo_proto protoreflect.FileDescriptor
  96. var file_idl_demo_demo_proto_rawDesc = []byte{
  97. 0x0a, 0x13, 0x69, 0x64, 0x6c, 0x2f, 0x64, 0x65, 0x6d, 0x6f, 0x2f, 0x64, 0x65, 0x6d, 0x6f, 0x2e,
  98. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x64, 0x65, 0x6d, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
  99. 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
  100. 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  101. 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f,
  102. 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
  103. 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x25, 0x0a, 0x0d, 0x53, 0x74, 0x72,
  104. 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
  105. 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  106. 0x2a, 0x14, 0x0a, 0x07, 0x4f, 0x75, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x09, 0x0a, 0x05, 0x64,
  107. 0x65, 0x76, 0x61, 0x64, 0x10, 0x00, 0x32, 0xb3, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x6d, 0x6f, 0x53,
  108. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa3, 0x01, 0x0a, 0x04, 0x45, 0x63, 0x68, 0x6f, 0x12,
  109. 0x13, 0x2e, 0x64, 0x65, 0x6d, 0x6f, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73,
  110. 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x64, 0x65, 0x6d, 0x6f, 0x2e, 0x53, 0x74, 0x72, 0x69,
  111. 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x71, 0x92, 0x41, 0x59, 0x22, 0x53,
  112. 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x75, 0x74, 0x20, 0x6d, 0x6f, 0x72, 0x65, 0x20,
  113. 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66,
  114. 0x61, 0x63, 0x65, 0x12, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74,
  115. 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x65, 0x63, 0x6f,
  116. 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65,
  117. 0x77, 0x61, 0x79, 0x58, 0x01, 0x62, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x22, 0x0a, 0x2f,
  118. 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x6d, 0x6f, 0x3a, 0x01, 0x2a, 0x42, 0x31, 0x5a, 0x2f,
  119. 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x43, 0x43, 0x45, 0x2d,
  120. 0x6e, 0x75, 0x64, 0x74, 0x2f, 0x50, 0x43, 0x4d, 0x2f, 0x6c, 0x61, 0x6e, 0x5f, 0x74, 0x72, 0x61,
  121. 0x6e, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x69, 0x64, 0x6c, 0x2f, 0x64, 0x65, 0x6d, 0x6f, 0x62,
  122. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  123. }
  124. var (
  125. file_idl_demo_demo_proto_rawDescOnce sync.Once
  126. file_idl_demo_demo_proto_rawDescData = file_idl_demo_demo_proto_rawDesc
  127. )
  128. func file_idl_demo_demo_proto_rawDescGZIP() []byte {
  129. file_idl_demo_demo_proto_rawDescOnce.Do(func() {
  130. file_idl_demo_demo_proto_rawDescData = protoimpl.X.CompressGZIP(file_idl_demo_demo_proto_rawDescData)
  131. })
  132. return file_idl_demo_demo_proto_rawDescData
  133. }
  134. var file_idl_demo_demo_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  135. var file_idl_demo_demo_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  136. var file_idl_demo_demo_proto_goTypes = []interface{}{
  137. (OurTeam)(0), // 0: demo.OurTeam
  138. (*StringMessage)(nil), // 1: demo.StringMessage
  139. }
  140. var file_idl_demo_demo_proto_depIdxs = []int32{
  141. 1, // 0: demo.DemoService.Echo:input_type -> demo.StringMessage
  142. 1, // 1: demo.DemoService.Echo:output_type -> demo.StringMessage
  143. 1, // [1:2] is the sub-list for method output_type
  144. 0, // [0:1] is the sub-list for method input_type
  145. 0, // [0:0] is the sub-list for extension type_name
  146. 0, // [0:0] is the sub-list for extension extendee
  147. 0, // [0:0] is the sub-list for field type_name
  148. }
  149. func init() { file_idl_demo_demo_proto_init() }
  150. func file_idl_demo_demo_proto_init() {
  151. if File_idl_demo_demo_proto != nil {
  152. return
  153. }
  154. if !protoimpl.UnsafeEnabled {
  155. file_idl_demo_demo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  156. switch v := v.(*StringMessage); i {
  157. case 0:
  158. return &v.state
  159. case 1:
  160. return &v.sizeCache
  161. case 2:
  162. return &v.unknownFields
  163. default:
  164. return nil
  165. }
  166. }
  167. }
  168. type x struct{}
  169. out := protoimpl.TypeBuilder{
  170. File: protoimpl.DescBuilder{
  171. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  172. RawDescriptor: file_idl_demo_demo_proto_rawDesc,
  173. NumEnums: 1,
  174. NumMessages: 1,
  175. NumExtensions: 0,
  176. NumServices: 1,
  177. },
  178. GoTypes: file_idl_demo_demo_proto_goTypes,
  179. DependencyIndexes: file_idl_demo_demo_proto_depIdxs,
  180. EnumInfos: file_idl_demo_demo_proto_enumTypes,
  181. MessageInfos: file_idl_demo_demo_proto_msgTypes,
  182. }.Build()
  183. File_idl_demo_demo_proto = out.File
  184. file_idl_demo_demo_proto_rawDesc = nil
  185. file_idl_demo_demo_proto_goTypes = nil
  186. file_idl_demo_demo_proto_depIdxs = nil
  187. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.