github.com/confluentinc/confluent-kafka-go@v1.9.2/schemaregistry/test/cycle.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.0
     4  // 	protoc        v3.19.1
     5  // source: cycle.proto
     6  
     7  package test
     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 LinkedList struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Value int32       `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
    29  	Next  *LinkedList `protobuf:"bytes,10,opt,name=next,proto3" json:"next,omitempty"`
    30  }
    31  
    32  func (x *LinkedList) Reset() {
    33  	*x = LinkedList{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_cycle_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *LinkedList) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*LinkedList) ProtoMessage() {}
    46  
    47  func (x *LinkedList) ProtoReflect() protoreflect.Message {
    48  	mi := &file_cycle_proto_msgTypes[0]
    49  	if protoimpl.UnsafeEnabled && x != nil {
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		if ms.LoadMessageInfo() == nil {
    52  			ms.StoreMessageInfo(mi)
    53  		}
    54  		return ms
    55  	}
    56  	return mi.MessageOf(x)
    57  }
    58  
    59  // Deprecated: Use LinkedList.ProtoReflect.Descriptor instead.
    60  func (*LinkedList) Descriptor() ([]byte, []int) {
    61  	return file_cycle_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *LinkedList) GetValue() int32 {
    65  	if x != nil {
    66  		return x.Value
    67  	}
    68  	return 0
    69  }
    70  
    71  func (x *LinkedList) GetNext() *LinkedList {
    72  	if x != nil {
    73  		return x.Next
    74  	}
    75  	return nil
    76  }
    77  
    78  var File_cycle_proto protoreflect.FileDescriptor
    79  
    80  var file_cycle_proto_rawDesc = []byte{
    81  	0x0a, 0x0b, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x74,
    82  	0x65, 0x73, 0x74, 0x22, 0x48, 0x0a, 0x0a, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x4c, 0x69, 0x73,
    83  	0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
    84  	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18,
    85  	0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x69, 0x6e,
    86  	0x6b, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x42, 0x09, 0x5a,
    87  	0x07, 0x2e, 0x2e, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    88  }
    89  
    90  var (
    91  	file_cycle_proto_rawDescOnce sync.Once
    92  	file_cycle_proto_rawDescData = file_cycle_proto_rawDesc
    93  )
    94  
    95  func file_cycle_proto_rawDescGZIP() []byte {
    96  	file_cycle_proto_rawDescOnce.Do(func() {
    97  		file_cycle_proto_rawDescData = protoimpl.X.CompressGZIP(file_cycle_proto_rawDescData)
    98  	})
    99  	return file_cycle_proto_rawDescData
   100  }
   101  
   102  var file_cycle_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   103  var file_cycle_proto_goTypes = []interface{}{
   104  	(*LinkedList)(nil), // 0: test.LinkedList
   105  }
   106  var file_cycle_proto_depIdxs = []int32{
   107  	0, // 0: test.LinkedList.next:type_name -> test.LinkedList
   108  	1, // [1:1] is the sub-list for method output_type
   109  	1, // [1:1] is the sub-list for method input_type
   110  	1, // [1:1] is the sub-list for extension type_name
   111  	1, // [1:1] is the sub-list for extension extendee
   112  	0, // [0:1] is the sub-list for field type_name
   113  }
   114  
   115  func init() { file_cycle_proto_init() }
   116  func file_cycle_proto_init() {
   117  	if File_cycle_proto != nil {
   118  		return
   119  	}
   120  	if !protoimpl.UnsafeEnabled {
   121  		file_cycle_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   122  			switch v := v.(*LinkedList); i {
   123  			case 0:
   124  				return &v.state
   125  			case 1:
   126  				return &v.sizeCache
   127  			case 2:
   128  				return &v.unknownFields
   129  			default:
   130  				return nil
   131  			}
   132  		}
   133  	}
   134  	type x struct{}
   135  	out := protoimpl.TypeBuilder{
   136  		File: protoimpl.DescBuilder{
   137  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   138  			RawDescriptor: file_cycle_proto_rawDesc,
   139  			NumEnums:      0,
   140  			NumMessages:   1,
   141  			NumExtensions: 0,
   142  			NumServices:   0,
   143  		},
   144  		GoTypes:           file_cycle_proto_goTypes,
   145  		DependencyIndexes: file_cycle_proto_depIdxs,
   146  		MessageInfos:      file_cycle_proto_msgTypes,
   147  	}.Build()
   148  	File_cycle_proto = out.File
   149  	file_cycle_proto_rawDesc = nil
   150  	file_cycle_proto_goTypes = nil
   151  	file_cycle_proto_depIdxs = nil
   152  }