// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.32.0 // protoc v4.25.1 // source: proto/probability.proto package sentio 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 Action int32 const ( Action_DOUBLE_SELL Action = 0 Action_SELL Action = 1 Action_HOLD Action = 2 Action_BUY Action = 3 Action_DOUBLE_BUY Action = 4 ) // Enum value maps for Action. var ( Action_name = map[int32]string{ 0: "DOUBLE_SELL", 1: "SELL", 2: "HOLD", 3: "BUY", 4: "DOUBLE_BUY", } Action_value = map[string]int32{ "DOUBLE_SELL": 0, "SELL": 1, "HOLD": 2, "BUY": 3, "DOUBLE_BUY": 4, } ) func (x Action) Enum() *Action { p := new(Action) *p = x return p } func (x Action) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Action) Descriptor() protoreflect.EnumDescriptor { return file_proto_probability_proto_enumTypes[0].Descriptor() } func (Action) Type() protoreflect.EnumType { return &file_proto_probability_proto_enumTypes[0] } func (x Action) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Action.Descriptor instead. func (Action) EnumDescriptor() ([]byte, []int) { return file_proto_probability_proto_rawDescGZIP(), []int{0} } type Probability struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Stamps []*Probability_Stamp `protobuf:"bytes,10,rep,name=stamps,proto3" json:"stamps,omitempty"` } func (x *Probability) Reset() { *x = Probability{} if protoimpl.UnsafeEnabled { mi := &file_proto_probability_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Probability) String() string { return protoimpl.X.MessageStringOf(x) } func (*Probability) ProtoMessage() {} func (x *Probability) ProtoReflect() protoreflect.Message { mi := &file_proto_probability_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Probability.ProtoReflect.Descriptor instead. func (*Probability) Descriptor() ([]byte, []int) { return file_proto_probability_proto_rawDescGZIP(), []int{0} } func (x *Probability) GetStamps() []*Probability_Stamp { if x != nil { return x.Stamps } return nil } type Turn struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Action Action `protobuf:"varint,2,opt,name=action,proto3,enum=sentio.Action" json:"action,omitempty"` } func (x *Turn) Reset() { *x = Turn{} if protoimpl.UnsafeEnabled { mi := &file_proto_probability_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Turn) String() string { return protoimpl.X.MessageStringOf(x) } func (*Turn) ProtoMessage() {} func (x *Turn) ProtoReflect() protoreflect.Message { mi := &file_proto_probability_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Turn.ProtoReflect.Descriptor instead. func (*Turn) Descriptor() ([]byte, []int) { return file_proto_probability_proto_rawDescGZIP(), []int{1} } func (x *Turn) GetTime() *timestamppb.Timestamp { if x != nil { return x.Time } return nil } func (x *Turn) GetAction() Action { if x != nil { return x.Action } return Action_DOUBLE_SELL } type Probability_Stamp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` } func (x *Probability_Stamp) Reset() { *x = Probability_Stamp{} if protoimpl.UnsafeEnabled { mi := &file_proto_probability_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Probability_Stamp) String() string { return protoimpl.X.MessageStringOf(x) } func (*Probability_Stamp) ProtoMessage() {} func (x *Probability_Stamp) ProtoReflect() protoreflect.Message { mi := &file_proto_probability_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Probability_Stamp.ProtoReflect.Descriptor instead. func (*Probability_Stamp) Descriptor() ([]byte, []int) { return file_proto_probability_proto_rawDescGZIP(), []int{0, 0} } func (x *Probability_Stamp) GetTime() *timestamppb.Timestamp { if x != nil { return x.Time } return nil } func (x *Probability_Stamp) GetValue() float32 { if x != nil { return x.Value } return 0 } var File_proto_probability_proto protoreflect.FileDescriptor var file_proto_probability_proto_rawDesc = []byte{ 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6f, 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, 0x8f, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x31, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x06, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x1a, 0x4d, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 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, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x5e, 0x0a, 0x04, 0x54, 0x75, 0x72, 0x6e, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 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, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x46, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x4f, 0x4c, 0x44, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x42, 0x55, 0x59, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x5f, 0x42, 0x55, 0x59, 0x10, 0x04, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_proto_probability_proto_rawDescOnce sync.Once file_proto_probability_proto_rawDescData = file_proto_probability_proto_rawDesc ) func file_proto_probability_proto_rawDescGZIP() []byte { file_proto_probability_proto_rawDescOnce.Do(func() { file_proto_probability_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_probability_proto_rawDescData) }) return file_proto_probability_proto_rawDescData } var file_proto_probability_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_proto_probability_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_proto_probability_proto_goTypes = []interface{}{ (Action)(0), // 0: sentio.Action (*Probability)(nil), // 1: sentio.Probability (*Turn)(nil), // 2: sentio.Turn (*Probability_Stamp)(nil), // 3: sentio.Probability.Stamp (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp } var file_proto_probability_proto_depIdxs = []int32{ 3, // 0: sentio.Probability.stamps:type_name -> sentio.Probability.Stamp 4, // 1: sentio.Turn.time:type_name -> google.protobuf.Timestamp 0, // 2: sentio.Turn.action:type_name -> sentio.Action 4, // 3: sentio.Probability.Stamp.time:type_name -> google.protobuf.Timestamp 4, // [4:4] is the sub-list for method output_type 4, // [4:4] is the sub-list for method input_type 4, // [4:4] is the sub-list for extension type_name 4, // [4:4] is the sub-list for extension extendee 0, // [0:4] is the sub-list for field type_name } func init() { file_proto_probability_proto_init() } func file_proto_probability_proto_init() { if File_proto_probability_proto != nil { return } if !protoimpl.UnsafeEnabled { file_proto_probability_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Probability); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_probability_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Turn); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_probability_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Probability_Stamp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_proto_probability_proto_rawDesc, NumEnums: 1, NumMessages: 3, NumExtensions: 0, NumServices: 0, }, GoTypes: file_proto_probability_proto_goTypes, DependencyIndexes: file_proto_probability_proto_depIdxs, EnumInfos: file_proto_probability_proto_enumTypes, MessageInfos: file_proto_probability_proto_msgTypes, }.Build() File_proto_probability_proto = out.File file_proto_probability_proto_rawDesc = nil file_proto_probability_proto_goTypes = nil file_proto_probability_proto_depIdxs = nil }