kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/util/riegeli/riegeli_test_go_proto/riegeli_test.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.25.2
     5  // source: kythe/go/util/riegeli/riegeli_test.proto
     6  
     7  package riegeli_test_go_proto
     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 Simple struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    29  }
    30  
    31  func (x *Simple) Reset() {
    32  	*x = Simple{}
    33  	if protoimpl.UnsafeEnabled {
    34  		mi := &file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes[0]
    35  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    36  		ms.StoreMessageInfo(mi)
    37  	}
    38  }
    39  
    40  func (x *Simple) String() string {
    41  	return protoimpl.X.MessageStringOf(x)
    42  }
    43  
    44  func (*Simple) ProtoMessage() {}
    45  
    46  func (x *Simple) ProtoReflect() protoreflect.Message {
    47  	mi := &file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes[0]
    48  	if protoimpl.UnsafeEnabled && x != nil {
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		if ms.LoadMessageInfo() == nil {
    51  			ms.StoreMessageInfo(mi)
    52  		}
    53  		return ms
    54  	}
    55  	return mi.MessageOf(x)
    56  }
    57  
    58  // Deprecated: Use Simple.ProtoReflect.Descriptor instead.
    59  func (*Simple) Descriptor() ([]byte, []int) {
    60  	return file_kythe_go_util_riegeli_riegeli_test_proto_rawDescGZIP(), []int{0}
    61  }
    62  
    63  func (x *Simple) GetName() string {
    64  	if x != nil && x.Name != nil {
    65  		return *x.Name
    66  	}
    67  	return ""
    68  }
    69  
    70  type Complex struct {
    71  	state         protoimpl.MessageState
    72  	sizeCache     protoimpl.SizeCache
    73  	unknownFields protoimpl.UnknownFields
    74  
    75  	Str           *string          `protobuf:"bytes,1,opt,name=str" json:"str,omitempty"`
    76  	I32           *int32           `protobuf:"varint,2,opt,name=i32" json:"i32,omitempty"`
    77  	I64           *int64           `protobuf:"varint,3,opt,name=i64" json:"i64,omitempty"`
    78  	Bits          []byte           `protobuf:"bytes,4,opt,name=bits" json:"bits,omitempty"`
    79  	Rep           []string         `protobuf:"bytes,5,rep,name=rep" json:"rep,omitempty"`
    80  	SimpleNested  *Simple          `protobuf:"bytes,6,opt,name=simple_nested,json=simpleNested" json:"simple_nested,omitempty"`
    81  	Group         []*Complex_Group `protobuf:"group,7,rep,name=Group,json=group" json:"group,omitempty"`
    82  	ComplexNested *Complex         `protobuf:"bytes,8,opt,name=complex_nested,json=complexNested" json:"complex_nested,omitempty"`
    83  }
    84  
    85  func (x *Complex) Reset() {
    86  	*x = Complex{}
    87  	if protoimpl.UnsafeEnabled {
    88  		mi := &file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes[1]
    89  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    90  		ms.StoreMessageInfo(mi)
    91  	}
    92  }
    93  
    94  func (x *Complex) String() string {
    95  	return protoimpl.X.MessageStringOf(x)
    96  }
    97  
    98  func (*Complex) ProtoMessage() {}
    99  
   100  func (x *Complex) ProtoReflect() protoreflect.Message {
   101  	mi := &file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes[1]
   102  	if protoimpl.UnsafeEnabled && x != nil {
   103  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   104  		if ms.LoadMessageInfo() == nil {
   105  			ms.StoreMessageInfo(mi)
   106  		}
   107  		return ms
   108  	}
   109  	return mi.MessageOf(x)
   110  }
   111  
   112  // Deprecated: Use Complex.ProtoReflect.Descriptor instead.
   113  func (*Complex) Descriptor() ([]byte, []int) {
   114  	return file_kythe_go_util_riegeli_riegeli_test_proto_rawDescGZIP(), []int{1}
   115  }
   116  
   117  func (x *Complex) GetStr() string {
   118  	if x != nil && x.Str != nil {
   119  		return *x.Str
   120  	}
   121  	return ""
   122  }
   123  
   124  func (x *Complex) GetI32() int32 {
   125  	if x != nil && x.I32 != nil {
   126  		return *x.I32
   127  	}
   128  	return 0
   129  }
   130  
   131  func (x *Complex) GetI64() int64 {
   132  	if x != nil && x.I64 != nil {
   133  		return *x.I64
   134  	}
   135  	return 0
   136  }
   137  
   138  func (x *Complex) GetBits() []byte {
   139  	if x != nil {
   140  		return x.Bits
   141  	}
   142  	return nil
   143  }
   144  
   145  func (x *Complex) GetRep() []string {
   146  	if x != nil {
   147  		return x.Rep
   148  	}
   149  	return nil
   150  }
   151  
   152  func (x *Complex) GetSimpleNested() *Simple {
   153  	if x != nil {
   154  		return x.SimpleNested
   155  	}
   156  	return nil
   157  }
   158  
   159  func (x *Complex) GetGroup() []*Complex_Group {
   160  	if x != nil {
   161  		return x.Group
   162  	}
   163  	return nil
   164  }
   165  
   166  func (x *Complex) GetComplexNested() *Complex {
   167  	if x != nil {
   168  		return x.ComplexNested
   169  	}
   170  	return nil
   171  }
   172  
   173  type Complex_Group struct {
   174  	state         protoimpl.MessageState
   175  	sizeCache     protoimpl.SizeCache
   176  	unknownFields protoimpl.UnknownFields
   177  
   178  	GrpStr *string `protobuf:"bytes,1,opt,name=grp_str,json=grpStr" json:"grp_str,omitempty"`
   179  }
   180  
   181  func (x *Complex_Group) Reset() {
   182  	*x = Complex_Group{}
   183  	if protoimpl.UnsafeEnabled {
   184  		mi := &file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes[2]
   185  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   186  		ms.StoreMessageInfo(mi)
   187  	}
   188  }
   189  
   190  func (x *Complex_Group) String() string {
   191  	return protoimpl.X.MessageStringOf(x)
   192  }
   193  
   194  func (*Complex_Group) ProtoMessage() {}
   195  
   196  func (x *Complex_Group) ProtoReflect() protoreflect.Message {
   197  	mi := &file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes[2]
   198  	if protoimpl.UnsafeEnabled && x != nil {
   199  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   200  		if ms.LoadMessageInfo() == nil {
   201  			ms.StoreMessageInfo(mi)
   202  		}
   203  		return ms
   204  	}
   205  	return mi.MessageOf(x)
   206  }
   207  
   208  // Deprecated: Use Complex_Group.ProtoReflect.Descriptor instead.
   209  func (*Complex_Group) Descriptor() ([]byte, []int) {
   210  	return file_kythe_go_util_riegeli_riegeli_test_proto_rawDescGZIP(), []int{1, 0}
   211  }
   212  
   213  func (x *Complex_Group) GetGrpStr() string {
   214  	if x != nil && x.GrpStr != nil {
   215  		return *x.GrpStr
   216  	}
   217  	return ""
   218  }
   219  
   220  var File_kythe_go_util_riegeli_riegeli_test_proto protoreflect.FileDescriptor
   221  
   222  var file_kythe_go_util_riegeli_riegeli_test_proto_rawDesc = []byte{
   223  	0x0a, 0x28, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x2f,
   224  	0x72, 0x69, 0x65, 0x67, 0x65, 0x6c, 0x69, 0x2f, 0x72, 0x69, 0x65, 0x67, 0x65, 0x6c, 0x69, 0x5f,
   225  	0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x6b, 0x79, 0x74, 0x68,
   226  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72, 0x69, 0x65, 0x67, 0x65, 0x6c, 0x69, 0x5f,
   227  	0x74, 0x65, 0x73, 0x74, 0x22, 0x1c, 0x0a, 0x06, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x12,
   228  	0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
   229  	0x6d, 0x65, 0x22, 0xd7, 0x02, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x12, 0x10,
   230  	0x0a, 0x03, 0x73, 0x74, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x74, 0x72,
   231  	0x12, 0x10, 0x0a, 0x03, 0x69, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x69,
   232  	0x33, 0x32, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
   233  	0x03, 0x69, 0x36, 0x34, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x69, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01,
   234  	0x28, 0x0c, 0x52, 0x04, 0x62, 0x69, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x70, 0x18,
   235  	0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x70, 0x12, 0x45, 0x0a, 0x0d, 0x73, 0x69,
   236  	0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28,
   237  	0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
   238  	0x72, 0x69, 0x65, 0x67, 0x65, 0x6c, 0x69, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x69, 0x6d,
   239  	0x70, 0x6c, 0x65, 0x52, 0x0c, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4e, 0x65, 0x73, 0x74, 0x65,
   240  	0x64, 0x12, 0x3d, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0a,
   241  	0x32, 0x27, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72,
   242  	0x69, 0x65, 0x67, 0x65, 0x6c, 0x69, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
   243  	0x6c, 0x65, 0x78, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
   244  	0x12, 0x48, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x5f, 0x6e, 0x65, 0x73, 0x74,
   245  	0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65,
   246  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72, 0x69, 0x65, 0x67, 0x65, 0x6c, 0x69, 0x5f, 0x74,
   247  	0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x52, 0x0d, 0x63, 0x6f, 0x6d,
   248  	0x70, 0x6c, 0x65, 0x78, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x20, 0x0a, 0x05, 0x47, 0x72,
   249  	0x6f, 0x75, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x72, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x01,
   250  	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x72, 0x70, 0x53, 0x74, 0x72, 0x42, 0x36, 0x5a, 0x34,
   251  	0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x69, 0x6f, 0x2f, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x67,
   252  	0x6f, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x72, 0x69, 0x65, 0x67, 0x65, 0x6c, 0x69, 0x2f, 0x72,
   253  	0x69, 0x65, 0x67, 0x65, 0x6c, 0x69, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x67, 0x6f, 0x5f, 0x70,
   254  	0x72, 0x6f, 0x74, 0x6f,
   255  }
   256  
   257  var (
   258  	file_kythe_go_util_riegeli_riegeli_test_proto_rawDescOnce sync.Once
   259  	file_kythe_go_util_riegeli_riegeli_test_proto_rawDescData = file_kythe_go_util_riegeli_riegeli_test_proto_rawDesc
   260  )
   261  
   262  func file_kythe_go_util_riegeli_riegeli_test_proto_rawDescGZIP() []byte {
   263  	file_kythe_go_util_riegeli_riegeli_test_proto_rawDescOnce.Do(func() {
   264  		file_kythe_go_util_riegeli_riegeli_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_kythe_go_util_riegeli_riegeli_test_proto_rawDescData)
   265  	})
   266  	return file_kythe_go_util_riegeli_riegeli_test_proto_rawDescData
   267  }
   268  
   269  var file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   270  var file_kythe_go_util_riegeli_riegeli_test_proto_goTypes = []interface{}{
   271  	(*Simple)(nil),        // 0: kythe.proto.riegeli_test.Simple
   272  	(*Complex)(nil),       // 1: kythe.proto.riegeli_test.Complex
   273  	(*Complex_Group)(nil), // 2: kythe.proto.riegeli_test.Complex.Group
   274  }
   275  var file_kythe_go_util_riegeli_riegeli_test_proto_depIdxs = []int32{
   276  	0, // 0: kythe.proto.riegeli_test.Complex.simple_nested:type_name -> kythe.proto.riegeli_test.Simple
   277  	2, // 1: kythe.proto.riegeli_test.Complex.group:type_name -> kythe.proto.riegeli_test.Complex.Group
   278  	1, // 2: kythe.proto.riegeli_test.Complex.complex_nested:type_name -> kythe.proto.riegeli_test.Complex
   279  	3, // [3:3] is the sub-list for method output_type
   280  	3, // [3:3] is the sub-list for method input_type
   281  	3, // [3:3] is the sub-list for extension type_name
   282  	3, // [3:3] is the sub-list for extension extendee
   283  	0, // [0:3] is the sub-list for field type_name
   284  }
   285  
   286  func init() { file_kythe_go_util_riegeli_riegeli_test_proto_init() }
   287  func file_kythe_go_util_riegeli_riegeli_test_proto_init() {
   288  	if File_kythe_go_util_riegeli_riegeli_test_proto != nil {
   289  		return
   290  	}
   291  	if !protoimpl.UnsafeEnabled {
   292  		file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   293  			switch v := v.(*Simple); i {
   294  			case 0:
   295  				return &v.state
   296  			case 1:
   297  				return &v.sizeCache
   298  			case 2:
   299  				return &v.unknownFields
   300  			default:
   301  				return nil
   302  			}
   303  		}
   304  		file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   305  			switch v := v.(*Complex); i {
   306  			case 0:
   307  				return &v.state
   308  			case 1:
   309  				return &v.sizeCache
   310  			case 2:
   311  				return &v.unknownFields
   312  			default:
   313  				return nil
   314  			}
   315  		}
   316  		file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   317  			switch v := v.(*Complex_Group); i {
   318  			case 0:
   319  				return &v.state
   320  			case 1:
   321  				return &v.sizeCache
   322  			case 2:
   323  				return &v.unknownFields
   324  			default:
   325  				return nil
   326  			}
   327  		}
   328  	}
   329  	type x struct{}
   330  	out := protoimpl.TypeBuilder{
   331  		File: protoimpl.DescBuilder{
   332  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   333  			RawDescriptor: file_kythe_go_util_riegeli_riegeli_test_proto_rawDesc,
   334  			NumEnums:      0,
   335  			NumMessages:   3,
   336  			NumExtensions: 0,
   337  			NumServices:   0,
   338  		},
   339  		GoTypes:           file_kythe_go_util_riegeli_riegeli_test_proto_goTypes,
   340  		DependencyIndexes: file_kythe_go_util_riegeli_riegeli_test_proto_depIdxs,
   341  		MessageInfos:      file_kythe_go_util_riegeli_riegeli_test_proto_msgTypes,
   342  	}.Build()
   343  	File_kythe_go_util_riegeli_riegeli_test_proto = out.File
   344  	file_kythe_go_util_riegeli_riegeli_test_proto_rawDesc = nil
   345  	file_kythe_go_util_riegeli_riegeli_test_proto_goTypes = nil
   346  	file_kythe_go_util_riegeli_riegeli_test_proto_depIdxs = nil
   347  }