go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/grpc/internal/svctool/testdata/sub/sub.pb.go (about)

     1  // Copyright 2016 The LUCI Authors. All rights reserved.
     2  // Use of this source code is governed under the Apache License, Version 2.0
     3  // that can be found in the LICENSE file.
     4  
     5  // Code generated by protoc-gen-go. DO NOT EDIT.
     6  // versions:
     7  // 	protoc-gen-go v1.26.0
     8  // 	protoc        v3.17.0
     9  // source: go.chromium.org/luci/grpc/internal/svctool/testdata/sub/sub.proto
    10  
    11  package sub
    12  
    13  import (
    14  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    16  	reflect "reflect"
    17  	sync "sync"
    18  )
    19  
    20  const (
    21  	// Verify that this generated code is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    23  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    25  )
    26  
    27  type Sub struct {
    28  	state         protoimpl.MessageState
    29  	sizeCache     protoimpl.SizeCache
    30  	unknownFields protoimpl.UnknownFields
    31  
    32  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    33  }
    34  
    35  func (x *Sub) Reset() {
    36  	*x = Sub{}
    37  	if protoimpl.UnsafeEnabled {
    38  		mi := &file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_msgTypes[0]
    39  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    40  		ms.StoreMessageInfo(mi)
    41  	}
    42  }
    43  
    44  func (x *Sub) String() string {
    45  	return protoimpl.X.MessageStringOf(x)
    46  }
    47  
    48  func (*Sub) ProtoMessage() {}
    49  
    50  func (x *Sub) ProtoReflect() protoreflect.Message {
    51  	mi := &file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_msgTypes[0]
    52  	if protoimpl.UnsafeEnabled && x != nil {
    53  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    54  		if ms.LoadMessageInfo() == nil {
    55  			ms.StoreMessageInfo(mi)
    56  		}
    57  		return ms
    58  	}
    59  	return mi.MessageOf(x)
    60  }
    61  
    62  // Deprecated: Use Sub.ProtoReflect.Descriptor instead.
    63  func (*Sub) Descriptor() ([]byte, []int) {
    64  	return file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDescGZIP(), []int{0}
    65  }
    66  
    67  func (x *Sub) GetName() string {
    68  	if x != nil {
    69  		return x.Name
    70  	}
    71  	return ""
    72  }
    73  
    74  var File_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto protoreflect.FileDescriptor
    75  
    76  var file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDesc = []byte{
    77  	0x0a, 0x41, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
    78  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e, 0x74, 0x65,
    79  	0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x73, 0x76, 0x63, 0x74, 0x6f, 0x6f, 0x6c, 0x2f, 0x74, 0x65, 0x73,
    80  	0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x73, 0x75, 0x62, 0x2f, 0x73, 0x75, 0x62, 0x2e, 0x70, 0x72,
    81  	0x6f, 0x74, 0x6f, 0x12, 0x03, 0x73, 0x75, 0x62, 0x22, 0x19, 0x0a, 0x03, 0x53, 0x75, 0x62, 0x12,
    82  	0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
    83  	0x61, 0x6d, 0x65, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
    84  	0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63,
    85  	0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x73, 0x76, 0x63, 0x74, 0x6f, 0x6f,
    86  	0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x73, 0x75, 0x62, 0x62, 0x06,
    87  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    88  }
    89  
    90  var (
    91  	file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDescOnce sync.Once
    92  	file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDescData = file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDesc
    93  )
    94  
    95  func file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDescGZIP() []byte {
    96  	file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDescOnce.Do(func() {
    97  		file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDescData)
    98  	})
    99  	return file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDescData
   100  }
   101  
   102  var file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   103  var file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_goTypes = []interface{}{
   104  	(*Sub)(nil), // 0: sub.Sub
   105  }
   106  var file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_depIdxs = []int32{
   107  	0, // [0:0] is the sub-list for method output_type
   108  	0, // [0:0] is the sub-list for method input_type
   109  	0, // [0:0] is the sub-list for extension type_name
   110  	0, // [0:0] is the sub-list for extension extendee
   111  	0, // [0:0] is the sub-list for field type_name
   112  }
   113  
   114  func init() { file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_init() }
   115  func file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_init() {
   116  	if File_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto != nil {
   117  		return
   118  	}
   119  	if !protoimpl.UnsafeEnabled {
   120  		file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   121  			switch v := v.(*Sub); i {
   122  			case 0:
   123  				return &v.state
   124  			case 1:
   125  				return &v.sizeCache
   126  			case 2:
   127  				return &v.unknownFields
   128  			default:
   129  				return nil
   130  			}
   131  		}
   132  	}
   133  	type x struct{}
   134  	out := protoimpl.TypeBuilder{
   135  		File: protoimpl.DescBuilder{
   136  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   137  			RawDescriptor: file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDesc,
   138  			NumEnums:      0,
   139  			NumMessages:   1,
   140  			NumExtensions: 0,
   141  			NumServices:   0,
   142  		},
   143  		GoTypes:           file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_goTypes,
   144  		DependencyIndexes: file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_depIdxs,
   145  		MessageInfos:      file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_msgTypes,
   146  	}.Build()
   147  	File_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto = out.File
   148  	file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_rawDesc = nil
   149  	file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_goTypes = nil
   150  	file_go_chromium_org_luci_grpc_internal_svctool_testdata_sub_sub_proto_depIdxs = nil
   151  }