github.com/matrixorigin/matrixone@v1.2.0/pkg/stream/adapter/kafka/test/proto/test_v1/test.v1.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        v4.23.4
     5  // source: test.v1.proto
     6  
     7  package test_v1
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type UserMessage struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Name  string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
    29  	Email string `protobuf:"bytes,2,opt,name=Email,proto3" json:"Email,omitempty"`
    30  	Age   int32  `protobuf:"varint,4,opt,name=Age,proto3" json:"Age,omitempty"`
    31  }
    32  
    33  func (x *UserMessage) Reset() {
    34  	*x = UserMessage{}
    35  	if protoimpl.UnsafeEnabled {
    36  		mi := &file_test_v1_proto_msgTypes[0]
    37  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    38  		ms.StoreMessageInfo(mi)
    39  	}
    40  }
    41  
    42  func (x *UserMessage) String() string {
    43  	return protoimpl.X.MessageStringOf(x)
    44  }
    45  
    46  func (*UserMessage) ProtoMessage() {}
    47  
    48  func (x *UserMessage) ProtoReflect() protoreflect.Message {
    49  	mi := &file_test_v1_proto_msgTypes[0]
    50  	if protoimpl.UnsafeEnabled && x != nil {
    51  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    52  		if ms.LoadMessageInfo() == nil {
    53  			ms.StoreMessageInfo(mi)
    54  		}
    55  		return ms
    56  	}
    57  	return mi.MessageOf(x)
    58  }
    59  
    60  // Deprecated: Use UserMessage.ProtoReflect.Descriptor instead.
    61  func (*UserMessage) Descriptor() ([]byte, []int) {
    62  	return file_test_v1_proto_rawDescGZIP(), []int{0}
    63  }
    64  
    65  func (x *UserMessage) GetName() string {
    66  	if x != nil {
    67  		return x.Name
    68  	}
    69  	return ""
    70  }
    71  
    72  func (x *UserMessage) GetEmail() string {
    73  	if x != nil {
    74  		return x.Email
    75  	}
    76  	return ""
    77  }
    78  
    79  func (x *UserMessage) GetAge() int32 {
    80  	if x != nil {
    81  		return x.Age
    82  	}
    83  	return 0
    84  }
    85  
    86  var File_test_v1_proto protoreflect.FileDescriptor
    87  
    88  var file_test_v1_proto_rawDesc = []byte{
    89  	0x0a, 0x0d, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
    90  	0x07, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x31, 0x22, 0x49, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72,
    91  	0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18,
    92  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x45,
    93  	0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x45, 0x6d, 0x61, 0x69,
    94  	0x6c, 0x12, 0x10, 0x0a, 0x03, 0x41, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
    95  	0x41, 0x67, 0x65, 0x42, 0x11, 0x5a, 0x0f, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74,
    96  	0x65, 0x73, 0x74, 0x5f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    97  }
    98  
    99  var (
   100  	file_test_v1_proto_rawDescOnce sync.Once
   101  	file_test_v1_proto_rawDescData = file_test_v1_proto_rawDesc
   102  )
   103  
   104  func file_test_v1_proto_rawDescGZIP() []byte {
   105  	file_test_v1_proto_rawDescOnce.Do(func() {
   106  		file_test_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_v1_proto_rawDescData)
   107  	})
   108  	return file_test_v1_proto_rawDescData
   109  }
   110  
   111  var file_test_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   112  var file_test_v1_proto_goTypes = []interface{}{
   113  	(*UserMessage)(nil), // 0: test_v1.UserMessage
   114  }
   115  var file_test_v1_proto_depIdxs = []int32{
   116  	0, // [0:0] is the sub-list for method output_type
   117  	0, // [0:0] is the sub-list for method input_type
   118  	0, // [0:0] is the sub-list for extension type_name
   119  	0, // [0:0] is the sub-list for extension extendee
   120  	0, // [0:0] is the sub-list for field type_name
   121  }
   122  
   123  func init() { file_test_v1_proto_init() }
   124  func file_test_v1_proto_init() {
   125  	if File_test_v1_proto != nil {
   126  		return
   127  	}
   128  	if !protoimpl.UnsafeEnabled {
   129  		file_test_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   130  			switch v := v.(*UserMessage); i {
   131  			case 0:
   132  				return &v.state
   133  			case 1:
   134  				return &v.sizeCache
   135  			case 2:
   136  				return &v.unknownFields
   137  			default:
   138  				return nil
   139  			}
   140  		}
   141  	}
   142  	type x struct{}
   143  	out := protoimpl.TypeBuilder{
   144  		File: protoimpl.DescBuilder{
   145  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   146  			RawDescriptor: file_test_v1_proto_rawDesc,
   147  			NumEnums:      0,
   148  			NumMessages:   1,
   149  			NumExtensions: 0,
   150  			NumServices:   0,
   151  		},
   152  		GoTypes:           file_test_v1_proto_goTypes,
   153  		DependencyIndexes: file_test_v1_proto_depIdxs,
   154  		MessageInfos:      file_test_v1_proto_msgTypes,
   155  	}.Build()
   156  	File_test_v1_proto = out.File
   157  	file_test_v1_proto_rawDesc = nil
   158  	file_test_v1_proto_goTypes = nil
   159  	file_test_v1_proto_depIdxs = nil
   160  }