...

Source file src/google.golang.org/protobuf/internal/testprotos/benchmarks/micro/micro.pb.go

Documentation: google.golang.org/protobuf/internal/testprotos/benchmarks/micro

     1  // Copyright 2020 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Code generated by protoc-gen-go. DO NOT EDIT.
     6  // source: internal/testprotos/benchmarks/micro/micro.proto
     7  
     8  package micro
     9  
    10  import (
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  type SixteenRequired struct {
    18  	state         protoimpl.MessageState
    19  	sizeCache     protoimpl.SizeCache
    20  	unknownFields protoimpl.UnknownFields
    21  
    22  	F1  *int32 `protobuf:"varint,1,req,name=f1" json:"f1,omitempty"`
    23  	F2  *int32 `protobuf:"varint,2,req,name=f2" json:"f2,omitempty"`
    24  	F3  *int32 `protobuf:"varint,3,req,name=f3" json:"f3,omitempty"`
    25  	F4  *int32 `protobuf:"varint,4,req,name=f4" json:"f4,omitempty"`
    26  	F5  *int32 `protobuf:"varint,5,req,name=f5" json:"f5,omitempty"`
    27  	F6  *int32 `protobuf:"varint,6,req,name=f6" json:"f6,omitempty"`
    28  	F7  *int32 `protobuf:"varint,7,req,name=f7" json:"f7,omitempty"`
    29  	F8  *int32 `protobuf:"varint,8,req,name=f8" json:"f8,omitempty"`
    30  	F9  *int32 `protobuf:"varint,9,req,name=f9" json:"f9,omitempty"`
    31  	F10 *int32 `protobuf:"varint,10,req,name=f10" json:"f10,omitempty"`
    32  	F11 *int32 `protobuf:"varint,11,req,name=f11" json:"f11,omitempty"`
    33  	F12 *int32 `protobuf:"varint,12,req,name=f12" json:"f12,omitempty"`
    34  	F13 *int32 `protobuf:"varint,13,req,name=f13" json:"f13,omitempty"`
    35  	F14 *int32 `protobuf:"varint,14,req,name=f14" json:"f14,omitempty"`
    36  	F15 *int32 `protobuf:"varint,15,req,name=f15" json:"f15,omitempty"`
    37  	F16 *int32 `protobuf:"varint,16,req,name=f16" json:"f16,omitempty"`
    38  }
    39  
    40  func (x *SixteenRequired) Reset() {
    41  	*x = SixteenRequired{}
    42  	if protoimpl.UnsafeEnabled {
    43  		mi := &file_internal_testprotos_benchmarks_micro_micro_proto_msgTypes[0]
    44  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    45  		ms.StoreMessageInfo(mi)
    46  	}
    47  }
    48  
    49  func (x *SixteenRequired) String() string {
    50  	return protoimpl.X.MessageStringOf(x)
    51  }
    52  
    53  func (*SixteenRequired) ProtoMessage() {}
    54  
    55  func (x *SixteenRequired) ProtoReflect() protoreflect.Message {
    56  	mi := &file_internal_testprotos_benchmarks_micro_micro_proto_msgTypes[0]
    57  	if protoimpl.UnsafeEnabled && x != nil {
    58  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    59  		if ms.LoadMessageInfo() == nil {
    60  			ms.StoreMessageInfo(mi)
    61  		}
    62  		return ms
    63  	}
    64  	return mi.MessageOf(x)
    65  }
    66  
    67  // Deprecated: Use SixteenRequired.ProtoReflect.Descriptor instead.
    68  func (*SixteenRequired) Descriptor() ([]byte, []int) {
    69  	return file_internal_testprotos_benchmarks_micro_micro_proto_rawDescGZIP(), []int{0}
    70  }
    71  
    72  func (x *SixteenRequired) GetF1() int32 {
    73  	if x != nil && x.F1 != nil {
    74  		return *x.F1
    75  	}
    76  	return 0
    77  }
    78  
    79  func (x *SixteenRequired) GetF2() int32 {
    80  	if x != nil && x.F2 != nil {
    81  		return *x.F2
    82  	}
    83  	return 0
    84  }
    85  
    86  func (x *SixteenRequired) GetF3() int32 {
    87  	if x != nil && x.F3 != nil {
    88  		return *x.F3
    89  	}
    90  	return 0
    91  }
    92  
    93  func (x *SixteenRequired) GetF4() int32 {
    94  	if x != nil && x.F4 != nil {
    95  		return *x.F4
    96  	}
    97  	return 0
    98  }
    99  
   100  func (x *SixteenRequired) GetF5() int32 {
   101  	if x != nil && x.F5 != nil {
   102  		return *x.F5
   103  	}
   104  	return 0
   105  }
   106  
   107  func (x *SixteenRequired) GetF6() int32 {
   108  	if x != nil && x.F6 != nil {
   109  		return *x.F6
   110  	}
   111  	return 0
   112  }
   113  
   114  func (x *SixteenRequired) GetF7() int32 {
   115  	if x != nil && x.F7 != nil {
   116  		return *x.F7
   117  	}
   118  	return 0
   119  }
   120  
   121  func (x *SixteenRequired) GetF8() int32 {
   122  	if x != nil && x.F8 != nil {
   123  		return *x.F8
   124  	}
   125  	return 0
   126  }
   127  
   128  func (x *SixteenRequired) GetF9() int32 {
   129  	if x != nil && x.F9 != nil {
   130  		return *x.F9
   131  	}
   132  	return 0
   133  }
   134  
   135  func (x *SixteenRequired) GetF10() int32 {
   136  	if x != nil && x.F10 != nil {
   137  		return *x.F10
   138  	}
   139  	return 0
   140  }
   141  
   142  func (x *SixteenRequired) GetF11() int32 {
   143  	if x != nil && x.F11 != nil {
   144  		return *x.F11
   145  	}
   146  	return 0
   147  }
   148  
   149  func (x *SixteenRequired) GetF12() int32 {
   150  	if x != nil && x.F12 != nil {
   151  		return *x.F12
   152  	}
   153  	return 0
   154  }
   155  
   156  func (x *SixteenRequired) GetF13() int32 {
   157  	if x != nil && x.F13 != nil {
   158  		return *x.F13
   159  	}
   160  	return 0
   161  }
   162  
   163  func (x *SixteenRequired) GetF14() int32 {
   164  	if x != nil && x.F14 != nil {
   165  		return *x.F14
   166  	}
   167  	return 0
   168  }
   169  
   170  func (x *SixteenRequired) GetF15() int32 {
   171  	if x != nil && x.F15 != nil {
   172  		return *x.F15
   173  	}
   174  	return 0
   175  }
   176  
   177  func (x *SixteenRequired) GetF16() int32 {
   178  	if x != nil && x.F16 != nil {
   179  		return *x.F16
   180  	}
   181  	return 0
   182  }
   183  
   184  var File_internal_testprotos_benchmarks_micro_micro_proto protoreflect.FileDescriptor
   185  
   186  var file_internal_testprotos_benchmarks_micro_micro_proto_rawDesc = []byte{
   187  	0x0a, 0x30, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
   188  	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x73,
   189  	0x2f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
   190  	0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   191  	0x6f, 0x2e, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x2e, 0x6d, 0x69, 0x63,
   192  	0x72, 0x6f, 0x74, 0x22, 0x9f, 0x02, 0x0a, 0x0f, 0x53, 0x69, 0x78, 0x74, 0x65, 0x65, 0x6e, 0x52,
   193  	0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x31, 0x18, 0x01, 0x20,
   194  	0x02, 0x28, 0x05, 0x52, 0x02, 0x66, 0x31, 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x32, 0x18, 0x02, 0x20,
   195  	0x02, 0x28, 0x05, 0x52, 0x02, 0x66, 0x32, 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x33, 0x18, 0x03, 0x20,
   196  	0x02, 0x28, 0x05, 0x52, 0x02, 0x66, 0x33, 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x34, 0x18, 0x04, 0x20,
   197  	0x02, 0x28, 0x05, 0x52, 0x02, 0x66, 0x34, 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x35, 0x18, 0x05, 0x20,
   198  	0x02, 0x28, 0x05, 0x52, 0x02, 0x66, 0x35, 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x36, 0x18, 0x06, 0x20,
   199  	0x02, 0x28, 0x05, 0x52, 0x02, 0x66, 0x36, 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x37, 0x18, 0x07, 0x20,
   200  	0x02, 0x28, 0x05, 0x52, 0x02, 0x66, 0x37, 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x38, 0x18, 0x08, 0x20,
   201  	0x02, 0x28, 0x05, 0x52, 0x02, 0x66, 0x38, 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x39, 0x18, 0x09, 0x20,
   202  	0x02, 0x28, 0x05, 0x52, 0x02, 0x66, 0x39, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x31, 0x30, 0x18, 0x0a,
   203  	0x20, 0x02, 0x28, 0x05, 0x52, 0x03, 0x66, 0x31, 0x30, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x31, 0x31,
   204  	0x18, 0x0b, 0x20, 0x02, 0x28, 0x05, 0x52, 0x03, 0x66, 0x31, 0x31, 0x12, 0x10, 0x0a, 0x03, 0x66,
   205  	0x31, 0x32, 0x18, 0x0c, 0x20, 0x02, 0x28, 0x05, 0x52, 0x03, 0x66, 0x31, 0x32, 0x12, 0x10, 0x0a,
   206  	0x03, 0x66, 0x31, 0x33, 0x18, 0x0d, 0x20, 0x02, 0x28, 0x05, 0x52, 0x03, 0x66, 0x31, 0x33, 0x12,
   207  	0x10, 0x0a, 0x03, 0x66, 0x31, 0x34, 0x18, 0x0e, 0x20, 0x02, 0x28, 0x05, 0x52, 0x03, 0x66, 0x31,
   208  	0x34, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x31, 0x35, 0x18, 0x0f, 0x20, 0x02, 0x28, 0x05, 0x52, 0x03,
   209  	0x66, 0x31, 0x35, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x31, 0x36, 0x18, 0x10, 0x20, 0x02, 0x28, 0x05,
   210  	0x52, 0x03, 0x66, 0x31, 0x36, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   211  	0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   212  	0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73,
   213  	0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x62, 0x65, 0x6e, 0x63, 0x68, 0x6d, 0x61, 0x72,
   214  	0x6b, 0x73, 0x2f, 0x6d, 0x69, 0x63, 0x72, 0x6f,
   215  }
   216  
   217  var (
   218  	file_internal_testprotos_benchmarks_micro_micro_proto_rawDescOnce sync.Once
   219  	file_internal_testprotos_benchmarks_micro_micro_proto_rawDescData = file_internal_testprotos_benchmarks_micro_micro_proto_rawDesc
   220  )
   221  
   222  func file_internal_testprotos_benchmarks_micro_micro_proto_rawDescGZIP() []byte {
   223  	file_internal_testprotos_benchmarks_micro_micro_proto_rawDescOnce.Do(func() {
   224  		file_internal_testprotos_benchmarks_micro_micro_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_benchmarks_micro_micro_proto_rawDescData)
   225  	})
   226  	return file_internal_testprotos_benchmarks_micro_micro_proto_rawDescData
   227  }
   228  
   229  var file_internal_testprotos_benchmarks_micro_micro_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   230  var file_internal_testprotos_benchmarks_micro_micro_proto_goTypes = []interface{}{
   231  	(*SixteenRequired)(nil), // 0: goproto.proto.benchmarks.microt.SixteenRequired
   232  }
   233  var file_internal_testprotos_benchmarks_micro_micro_proto_depIdxs = []int32{
   234  	0, // [0:0] is the sub-list for method output_type
   235  	0, // [0:0] is the sub-list for method input_type
   236  	0, // [0:0] is the sub-list for extension type_name
   237  	0, // [0:0] is the sub-list for extension extendee
   238  	0, // [0:0] is the sub-list for field type_name
   239  }
   240  
   241  func init() { file_internal_testprotos_benchmarks_micro_micro_proto_init() }
   242  func file_internal_testprotos_benchmarks_micro_micro_proto_init() {
   243  	if File_internal_testprotos_benchmarks_micro_micro_proto != nil {
   244  		return
   245  	}
   246  	if !protoimpl.UnsafeEnabled {
   247  		file_internal_testprotos_benchmarks_micro_micro_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   248  			switch v := v.(*SixteenRequired); i {
   249  			case 0:
   250  				return &v.state
   251  			case 1:
   252  				return &v.sizeCache
   253  			case 2:
   254  				return &v.unknownFields
   255  			default:
   256  				return nil
   257  			}
   258  		}
   259  	}
   260  	type x struct{}
   261  	out := protoimpl.TypeBuilder{
   262  		File: protoimpl.DescBuilder{
   263  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   264  			RawDescriptor: file_internal_testprotos_benchmarks_micro_micro_proto_rawDesc,
   265  			NumEnums:      0,
   266  			NumMessages:   1,
   267  			NumExtensions: 0,
   268  			NumServices:   0,
   269  		},
   270  		GoTypes:           file_internal_testprotos_benchmarks_micro_micro_proto_goTypes,
   271  		DependencyIndexes: file_internal_testprotos_benchmarks_micro_micro_proto_depIdxs,
   272  		MessageInfos:      file_internal_testprotos_benchmarks_micro_micro_proto_msgTypes,
   273  	}.Build()
   274  	File_internal_testprotos_benchmarks_micro_micro_proto = out.File
   275  	file_internal_testprotos_benchmarks_micro_micro_proto_rawDesc = nil
   276  	file_internal_testprotos_benchmarks_micro_micro_proto_goTypes = nil
   277  	file_internal_testprotos_benchmarks_micro_micro_proto_depIdxs = nil
   278  }
   279  

View as plain text