123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.2
- // protoc v5.29.3
- // source: gRPC_Model/general.proto
- package gRPC_Model
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- 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 Empty struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Empty) Reset() {
- *x = Empty{}
- mi := &file_gRPC_Model_general_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Empty) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Empty) ProtoMessage() {}
- func (x *Empty) ProtoReflect() protoreflect.Message {
- mi := &file_gRPC_Model_general_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Empty.ProtoReflect.Descriptor instead.
- func (*Empty) Descriptor() ([]byte, []int) {
- return file_gRPC_Model_general_proto_rawDescGZIP(), []int{0}
- }
- type DoubleValue struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *DoubleValue) Reset() {
- *x = DoubleValue{}
- mi := &file_gRPC_Model_general_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *DoubleValue) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DoubleValue) ProtoMessage() {}
- func (x *DoubleValue) ProtoReflect() protoreflect.Message {
- mi := &file_gRPC_Model_general_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead.
- func (*DoubleValue) Descriptor() ([]byte, []int) {
- return file_gRPC_Model_general_proto_rawDescGZIP(), []int{1}
- }
- func (x *DoubleValue) GetValue() float64 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- type FloatValue struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *FloatValue) Reset() {
- *x = FloatValue{}
- mi := &file_gRPC_Model_general_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *FloatValue) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FloatValue) ProtoMessage() {}
- func (x *FloatValue) ProtoReflect() protoreflect.Message {
- mi := &file_gRPC_Model_general_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use FloatValue.ProtoReflect.Descriptor instead.
- func (*FloatValue) Descriptor() ([]byte, []int) {
- return file_gRPC_Model_general_proto_rawDescGZIP(), []int{2}
- }
- func (x *FloatValue) GetValue() float32 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- type Int64Value struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Int64Value) Reset() {
- *x = Int64Value{}
- mi := &file_gRPC_Model_general_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Int64Value) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Int64Value) ProtoMessage() {}
- func (x *Int64Value) ProtoReflect() protoreflect.Message {
- mi := &file_gRPC_Model_general_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Int64Value.ProtoReflect.Descriptor instead.
- func (*Int64Value) Descriptor() ([]byte, []int) {
- return file_gRPC_Model_general_proto_rawDescGZIP(), []int{3}
- }
- func (x *Int64Value) GetValue() int64 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- type UInt64Value struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *UInt64Value) Reset() {
- *x = UInt64Value{}
- mi := &file_gRPC_Model_general_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *UInt64Value) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UInt64Value) ProtoMessage() {}
- func (x *UInt64Value) ProtoReflect() protoreflect.Message {
- mi := &file_gRPC_Model_general_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead.
- func (*UInt64Value) Descriptor() ([]byte, []int) {
- return file_gRPC_Model_general_proto_rawDescGZIP(), []int{4}
- }
- func (x *UInt64Value) GetValue() uint64 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- type Int32Value struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Int32Value) Reset() {
- *x = Int32Value{}
- mi := &file_gRPC_Model_general_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Int32Value) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Int32Value) ProtoMessage() {}
- func (x *Int32Value) ProtoReflect() protoreflect.Message {
- mi := &file_gRPC_Model_general_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Int32Value.ProtoReflect.Descriptor instead.
- func (*Int32Value) Descriptor() ([]byte, []int) {
- return file_gRPC_Model_general_proto_rawDescGZIP(), []int{5}
- }
- func (x *Int32Value) GetValue() int32 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- type UInt32Value struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *UInt32Value) Reset() {
- *x = UInt32Value{}
- mi := &file_gRPC_Model_general_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *UInt32Value) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UInt32Value) ProtoMessage() {}
- func (x *UInt32Value) ProtoReflect() protoreflect.Message {
- mi := &file_gRPC_Model_general_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use UInt32Value.ProtoReflect.Descriptor instead.
- func (*UInt32Value) Descriptor() ([]byte, []int) {
- return file_gRPC_Model_general_proto_rawDescGZIP(), []int{6}
- }
- func (x *UInt32Value) GetValue() uint32 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- type BoolValue struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // The bool value.
- Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *BoolValue) Reset() {
- *x = BoolValue{}
- mi := &file_gRPC_Model_general_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BoolValue) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BoolValue) ProtoMessage() {}
- func (x *BoolValue) ProtoReflect() protoreflect.Message {
- mi := &file_gRPC_Model_general_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BoolValue.ProtoReflect.Descriptor instead.
- func (*BoolValue) Descriptor() ([]byte, []int) {
- return file_gRPC_Model_general_proto_rawDescGZIP(), []int{7}
- }
- func (x *BoolValue) GetValue() bool {
- if x != nil {
- return x.Value
- }
- return false
- }
- type StringValue struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *StringValue) Reset() {
- *x = StringValue{}
- mi := &file_gRPC_Model_general_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *StringValue) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*StringValue) ProtoMessage() {}
- func (x *StringValue) ProtoReflect() protoreflect.Message {
- mi := &file_gRPC_Model_general_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use StringValue.ProtoReflect.Descriptor instead.
- func (*StringValue) Descriptor() ([]byte, []int) {
- return file_gRPC_Model_general_proto_rawDescGZIP(), []int{8}
- }
- func (x *StringValue) GetValue() string {
- if x != nil {
- return x.Value
- }
- return ""
- }
- type BytesValue struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *BytesValue) Reset() {
- *x = BytesValue{}
- mi := &file_gRPC_Model_general_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BytesValue) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BytesValue) ProtoMessage() {}
- func (x *BytesValue) ProtoReflect() protoreflect.Message {
- mi := &file_gRPC_Model_general_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BytesValue.ProtoReflect.Descriptor instead.
- func (*BytesValue) Descriptor() ([]byte, []int) {
- return file_gRPC_Model_general_proto_rawDescGZIP(), []int{9}
- }
- func (x *BytesValue) GetValue() []byte {
- if x != nil {
- return x.Value
- }
- return nil
- }
- var File_gRPC_Model_general_proto protoreflect.FileDescriptor
- var file_gRPC_Model_general_proto_rawDesc = []byte{
- 0x0a, 0x18, 0x67, 0x52, 0x50, 0x43, 0x5f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x67, 0x65, 0x6e,
- 0x65, 0x72, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d,
- 0x70, 0x74, 0x79, 0x22, 0x23, 0x0a, 0x0b, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x46, 0x6c, 0x6f, 0x61,
- 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0a,
- 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x22, 0x23, 0x0a, 0x0b, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
- 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61,
- 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x23, 0x0a, 0x0b, 0x55, 0x49, 0x6e,
- 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x21,
- 0x0a, 0x09, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x22, 0x23, 0x0a, 0x0b, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
- 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0e, 0x5a, 0x0c, 0x2e, 0x2f,
- 0x67, 0x52, 0x50, 0x43, 0x5f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
- }
- var (
- file_gRPC_Model_general_proto_rawDescOnce sync.Once
- file_gRPC_Model_general_proto_rawDescData = file_gRPC_Model_general_proto_rawDesc
- )
- func file_gRPC_Model_general_proto_rawDescGZIP() []byte {
- file_gRPC_Model_general_proto_rawDescOnce.Do(func() {
- file_gRPC_Model_general_proto_rawDescData = protoimpl.X.CompressGZIP(file_gRPC_Model_general_proto_rawDescData)
- })
- return file_gRPC_Model_general_proto_rawDescData
- }
- var file_gRPC_Model_general_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
- var file_gRPC_Model_general_proto_goTypes = []any{
- (*Empty)(nil), // 0: Empty
- (*DoubleValue)(nil), // 1: DoubleValue
- (*FloatValue)(nil), // 2: FloatValue
- (*Int64Value)(nil), // 3: Int64Value
- (*UInt64Value)(nil), // 4: UInt64Value
- (*Int32Value)(nil), // 5: Int32Value
- (*UInt32Value)(nil), // 6: UInt32Value
- (*BoolValue)(nil), // 7: BoolValue
- (*StringValue)(nil), // 8: StringValue
- (*BytesValue)(nil), // 9: BytesValue
- }
- var file_gRPC_Model_general_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
- }
- func init() { file_gRPC_Model_general_proto_init() }
- func file_gRPC_Model_general_proto_init() {
- if File_gRPC_Model_general_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_gRPC_Model_general_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 10,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_gRPC_Model_general_proto_goTypes,
- DependencyIndexes: file_gRPC_Model_general_proto_depIdxs,
- MessageInfos: file_gRPC_Model_general_proto_msgTypes,
- }.Build()
- File_gRPC_Model_general_proto = out.File
- file_gRPC_Model_general_proto_rawDesc = nil
- file_gRPC_Model_general_proto_goTypes = nil
- file_gRPC_Model_general_proto_depIdxs = nil
- }
|