probability.pb.go 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.32.0
  4. // protoc v4.25.1
  5. // source: proto/probability.proto
  6. package sentio
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type Probability struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Stamps []*Probability_Stamp `protobuf:"bytes,10,rep,name=stamps,proto3" json:"stamps,omitempty"`
  25. }
  26. func (x *Probability) Reset() {
  27. *x = Probability{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_proto_probability_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *Probability) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*Probability) ProtoMessage() {}
  38. func (x *Probability) ProtoReflect() protoreflect.Message {
  39. mi := &file_proto_probability_proto_msgTypes[0]
  40. if protoimpl.UnsafeEnabled && x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use Probability.ProtoReflect.Descriptor instead.
  50. func (*Probability) Descriptor() ([]byte, []int) {
  51. return file_proto_probability_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *Probability) GetStamps() []*Probability_Stamp {
  54. if x != nil {
  55. return x.Stamps
  56. }
  57. return nil
  58. }
  59. type Probability_Stamp struct {
  60. state protoimpl.MessageState
  61. sizeCache protoimpl.SizeCache
  62. unknownFields protoimpl.UnknownFields
  63. Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
  64. Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"`
  65. }
  66. func (x *Probability_Stamp) Reset() {
  67. *x = Probability_Stamp{}
  68. if protoimpl.UnsafeEnabled {
  69. mi := &file_proto_probability_proto_msgTypes[1]
  70. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  71. ms.StoreMessageInfo(mi)
  72. }
  73. }
  74. func (x *Probability_Stamp) String() string {
  75. return protoimpl.X.MessageStringOf(x)
  76. }
  77. func (*Probability_Stamp) ProtoMessage() {}
  78. func (x *Probability_Stamp) ProtoReflect() protoreflect.Message {
  79. mi := &file_proto_probability_proto_msgTypes[1]
  80. if protoimpl.UnsafeEnabled && x != nil {
  81. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  82. if ms.LoadMessageInfo() == nil {
  83. ms.StoreMessageInfo(mi)
  84. }
  85. return ms
  86. }
  87. return mi.MessageOf(x)
  88. }
  89. // Deprecated: Use Probability_Stamp.ProtoReflect.Descriptor instead.
  90. func (*Probability_Stamp) Descriptor() ([]byte, []int) {
  91. return file_proto_probability_proto_rawDescGZIP(), []int{0, 0}
  92. }
  93. func (x *Probability_Stamp) GetTime() *timestamppb.Timestamp {
  94. if x != nil {
  95. return x.Time
  96. }
  97. return nil
  98. }
  99. func (x *Probability_Stamp) GetValue() float32 {
  100. if x != nil {
  101. return x.Value
  102. }
  103. return 0
  104. }
  105. var File_proto_probability_proto protoreflect.FileDescriptor
  106. var file_proto_probability_proto_rawDesc = []byte{
  107. 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c,
  108. 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x73, 0x65, 0x6e, 0x74, 0x69,
  109. 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  110. 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
  111. 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69,
  112. 0x74, 0x79, 0x12, 0x31, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x18, 0x0a, 0x20, 0x03,
  113. 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x62,
  114. 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x06, 0x73,
  115. 0x74, 0x61, 0x6d, 0x70, 0x73, 0x1a, 0x4d, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2e,
  116. 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  117. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  118. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14,
  119. 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76,
  120. 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6f,
  121. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  122. }
  123. var (
  124. file_proto_probability_proto_rawDescOnce sync.Once
  125. file_proto_probability_proto_rawDescData = file_proto_probability_proto_rawDesc
  126. )
  127. func file_proto_probability_proto_rawDescGZIP() []byte {
  128. file_proto_probability_proto_rawDescOnce.Do(func() {
  129. file_proto_probability_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_probability_proto_rawDescData)
  130. })
  131. return file_proto_probability_proto_rawDescData
  132. }
  133. var file_proto_probability_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  134. var file_proto_probability_proto_goTypes = []interface{}{
  135. (*Probability)(nil), // 0: sentio.Probability
  136. (*Probability_Stamp)(nil), // 1: sentio.Probability.Stamp
  137. (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
  138. }
  139. var file_proto_probability_proto_depIdxs = []int32{
  140. 1, // 0: sentio.Probability.stamps:type_name -> sentio.Probability.Stamp
  141. 2, // 1: sentio.Probability.Stamp.time:type_name -> google.protobuf.Timestamp
  142. 2, // [2:2] is the sub-list for method output_type
  143. 2, // [2:2] is the sub-list for method input_type
  144. 2, // [2:2] is the sub-list for extension type_name
  145. 2, // [2:2] is the sub-list for extension extendee
  146. 0, // [0:2] is the sub-list for field type_name
  147. }
  148. func init() { file_proto_probability_proto_init() }
  149. func file_proto_probability_proto_init() {
  150. if File_proto_probability_proto != nil {
  151. return
  152. }
  153. if !protoimpl.UnsafeEnabled {
  154. file_proto_probability_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  155. switch v := v.(*Probability); i {
  156. case 0:
  157. return &v.state
  158. case 1:
  159. return &v.sizeCache
  160. case 2:
  161. return &v.unknownFields
  162. default:
  163. return nil
  164. }
  165. }
  166. file_proto_probability_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  167. switch v := v.(*Probability_Stamp); i {
  168. case 0:
  169. return &v.state
  170. case 1:
  171. return &v.sizeCache
  172. case 2:
  173. return &v.unknownFields
  174. default:
  175. return nil
  176. }
  177. }
  178. }
  179. type x struct{}
  180. out := protoimpl.TypeBuilder{
  181. File: protoimpl.DescBuilder{
  182. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  183. RawDescriptor: file_proto_probability_proto_rawDesc,
  184. NumEnums: 0,
  185. NumMessages: 2,
  186. NumExtensions: 0,
  187. NumServices: 0,
  188. },
  189. GoTypes: file_proto_probability_proto_goTypes,
  190. DependencyIndexes: file_proto_probability_proto_depIdxs,
  191. MessageInfos: file_proto_probability_proto_msgTypes,
  192. }.Build()
  193. File_proto_probability_proto = out.File
  194. file_proto_probability_proto_rawDesc = nil
  195. file_proto_probability_proto_goTypes = nil
  196. file_proto_probability_proto_depIdxs = nil
  197. }