github.com/google/cloudprober@v0.11.3/targets/testdata/testdata.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.26.0
     4  // 	protoc        v3.17.3
     5  // source: github.com/google/cloudprober/targets/testdata/testdata.proto
     6  
     7  package testdata
     8  
     9  import (
    10  	proto "github.com/google/cloudprober/targets/proto"
    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  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type FancyTargets struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    30  }
    31  
    32  func (x *FancyTargets) Reset() {
    33  	*x = FancyTargets{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_github_com_google_cloudprober_targets_testdata_testdata_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *FancyTargets) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*FancyTargets) ProtoMessage() {}
    46  
    47  func (x *FancyTargets) ProtoReflect() protoreflect.Message {
    48  	mi := &file_github_com_google_cloudprober_targets_testdata_testdata_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 FancyTargets.ProtoReflect.Descriptor instead.
    60  func (*FancyTargets) Descriptor() ([]byte, []int) {
    61  	return file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *FancyTargets) GetName() string {
    65  	if x != nil && x.Name != nil {
    66  		return *x.Name
    67  	}
    68  	return ""
    69  }
    70  
    71  type AnotherFancyTargets struct {
    72  	state         protoimpl.MessageState
    73  	sizeCache     protoimpl.SizeCache
    74  	unknownFields protoimpl.UnknownFields
    75  
    76  	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    77  }
    78  
    79  func (x *AnotherFancyTargets) Reset() {
    80  	*x = AnotherFancyTargets{}
    81  	if protoimpl.UnsafeEnabled {
    82  		mi := &file_github_com_google_cloudprober_targets_testdata_testdata_proto_msgTypes[1]
    83  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    84  		ms.StoreMessageInfo(mi)
    85  	}
    86  }
    87  
    88  func (x *AnotherFancyTargets) String() string {
    89  	return protoimpl.X.MessageStringOf(x)
    90  }
    91  
    92  func (*AnotherFancyTargets) ProtoMessage() {}
    93  
    94  func (x *AnotherFancyTargets) ProtoReflect() protoreflect.Message {
    95  	mi := &file_github_com_google_cloudprober_targets_testdata_testdata_proto_msgTypes[1]
    96  	if protoimpl.UnsafeEnabled && x != nil {
    97  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    98  		if ms.LoadMessageInfo() == nil {
    99  			ms.StoreMessageInfo(mi)
   100  		}
   101  		return ms
   102  	}
   103  	return mi.MessageOf(x)
   104  }
   105  
   106  // Deprecated: Use AnotherFancyTargets.ProtoReflect.Descriptor instead.
   107  func (*AnotherFancyTargets) Descriptor() ([]byte, []int) {
   108  	return file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDescGZIP(), []int{1}
   109  }
   110  
   111  func (x *AnotherFancyTargets) GetName() string {
   112  	if x != nil && x.Name != nil {
   113  		return *x.Name
   114  	}
   115  	return ""
   116  }
   117  
   118  var file_github_com_google_cloudprober_targets_testdata_testdata_proto_extTypes = []protoimpl.ExtensionInfo{
   119  	{
   120  		ExtendedType:  (*proto.TargetsDef)(nil),
   121  		ExtensionType: (*FancyTargets)(nil),
   122  		Field:         200,
   123  		Name:          "cloudprober.targets.testdata.fancy_targets",
   124  		Tag:           "bytes,200,opt,name=fancy_targets",
   125  		Filename:      "github.com/google/cloudprober/targets/testdata/testdata.proto",
   126  	},
   127  	{
   128  		ExtendedType:  (*proto.TargetsDef)(nil),
   129  		ExtensionType: (*AnotherFancyTargets)(nil),
   130  		Field:         201,
   131  		Name:          "cloudprober.targets.testdata.another_fancy_targets",
   132  		Tag:           "bytes,201,opt,name=another_fancy_targets",
   133  		Filename:      "github.com/google/cloudprober/targets/testdata/testdata.proto",
   134  	},
   135  }
   136  
   137  // Extension fields to proto.TargetsDef.
   138  var (
   139  	// optional cloudprober.targets.testdata.FancyTargets fancy_targets = 200;
   140  	E_FancyTargets = &file_github_com_google_cloudprober_targets_testdata_testdata_proto_extTypes[0]
   141  	// optional cloudprober.targets.testdata.AnotherFancyTargets another_fancy_targets = 201;
   142  	E_AnotherFancyTargets = &file_github_com_google_cloudprober_targets_testdata_testdata_proto_extTypes[1]
   143  )
   144  
   145  var File_github_com_google_cloudprober_targets_testdata_testdata_proto protoreflect.FileDescriptor
   146  
   147  var file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDesc = []byte{
   148  	0x0a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
   149  	0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f,
   150  	0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61,
   151  	0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   152  	0x1c, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72,
   153  	0x67, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x39, 0x67,
   154  	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   155  	0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x74, 0x61, 0x72,
   156  	0x67, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x61, 0x72, 0x67, 0x65,
   157  	0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x0c, 0x46, 0x61, 0x6e, 0x63,
   158  	0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   159  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x29, 0x0a, 0x13,
   160  	0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x46, 0x61, 0x6e, 0x63, 0x79, 0x54, 0x61, 0x72, 0x67,
   161  	0x65, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   162  	0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x71, 0x0a, 0x0d, 0x66, 0x61, 0x6e, 0x63, 0x79,
   163  	0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   164  	0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x54,
   165  	0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x44, 0x65, 0x66, 0x18, 0xc8, 0x01, 0x20, 0x01, 0x28, 0x0b,
   166  	0x32, 0x2a, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74,
   167  	0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e,
   168  	0x46, 0x61, 0x6e, 0x63, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x52, 0x0c, 0x66, 0x61,
   169  	0x6e, 0x63, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x3a, 0x87, 0x01, 0x0a, 0x15, 0x61,
   170  	0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x66, 0x61, 0x6e, 0x63, 0x79, 0x5f, 0x74, 0x61, 0x72,
   171  	0x67, 0x65, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62,
   172  	0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65,
   173  	0x74, 0x73, 0x44, 0x65, 0x66, 0x18, 0xc9, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63,
   174  	0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65,
   175  	0x74, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x6e, 0x6f, 0x74,
   176  	0x68, 0x65, 0x72, 0x46, 0x61, 0x6e, 0x63, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x52,
   177  	0x13, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x46, 0x61, 0x6e, 0x63, 0x79, 0x54, 0x61, 0x72,
   178  	0x67, 0x65, 0x74, 0x73, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
   179  	0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70,
   180  	0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x74, 0x65,
   181  	0x73, 0x74, 0x64, 0x61, 0x74, 0x61,
   182  }
   183  
   184  var (
   185  	file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDescOnce sync.Once
   186  	file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDescData = file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDesc
   187  )
   188  
   189  func file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDescGZIP() []byte {
   190  	file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDescOnce.Do(func() {
   191  		file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDescData)
   192  	})
   193  	return file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDescData
   194  }
   195  
   196  var file_github_com_google_cloudprober_targets_testdata_testdata_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   197  var file_github_com_google_cloudprober_targets_testdata_testdata_proto_goTypes = []interface{}{
   198  	(*FancyTargets)(nil),        // 0: cloudprober.targets.testdata.FancyTargets
   199  	(*AnotherFancyTargets)(nil), // 1: cloudprober.targets.testdata.AnotherFancyTargets
   200  	(*proto.TargetsDef)(nil),    // 2: cloudprober.targets.TargetsDef
   201  }
   202  var file_github_com_google_cloudprober_targets_testdata_testdata_proto_depIdxs = []int32{
   203  	2, // 0: cloudprober.targets.testdata.fancy_targets:extendee -> cloudprober.targets.TargetsDef
   204  	2, // 1: cloudprober.targets.testdata.another_fancy_targets:extendee -> cloudprober.targets.TargetsDef
   205  	0, // 2: cloudprober.targets.testdata.fancy_targets:type_name -> cloudprober.targets.testdata.FancyTargets
   206  	1, // 3: cloudprober.targets.testdata.another_fancy_targets:type_name -> cloudprober.targets.testdata.AnotherFancyTargets
   207  	4, // [4:4] is the sub-list for method output_type
   208  	4, // [4:4] is the sub-list for method input_type
   209  	2, // [2:4] is the sub-list for extension type_name
   210  	0, // [0:2] is the sub-list for extension extendee
   211  	0, // [0:0] is the sub-list for field type_name
   212  }
   213  
   214  func init() { file_github_com_google_cloudprober_targets_testdata_testdata_proto_init() }
   215  func file_github_com_google_cloudprober_targets_testdata_testdata_proto_init() {
   216  	if File_github_com_google_cloudprober_targets_testdata_testdata_proto != nil {
   217  		return
   218  	}
   219  	if !protoimpl.UnsafeEnabled {
   220  		file_github_com_google_cloudprober_targets_testdata_testdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   221  			switch v := v.(*FancyTargets); i {
   222  			case 0:
   223  				return &v.state
   224  			case 1:
   225  				return &v.sizeCache
   226  			case 2:
   227  				return &v.unknownFields
   228  			default:
   229  				return nil
   230  			}
   231  		}
   232  		file_github_com_google_cloudprober_targets_testdata_testdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   233  			switch v := v.(*AnotherFancyTargets); i {
   234  			case 0:
   235  				return &v.state
   236  			case 1:
   237  				return &v.sizeCache
   238  			case 2:
   239  				return &v.unknownFields
   240  			default:
   241  				return nil
   242  			}
   243  		}
   244  	}
   245  	type x struct{}
   246  	out := protoimpl.TypeBuilder{
   247  		File: protoimpl.DescBuilder{
   248  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   249  			RawDescriptor: file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDesc,
   250  			NumEnums:      0,
   251  			NumMessages:   2,
   252  			NumExtensions: 2,
   253  			NumServices:   0,
   254  		},
   255  		GoTypes:           file_github_com_google_cloudprober_targets_testdata_testdata_proto_goTypes,
   256  		DependencyIndexes: file_github_com_google_cloudprober_targets_testdata_testdata_proto_depIdxs,
   257  		MessageInfos:      file_github_com_google_cloudprober_targets_testdata_testdata_proto_msgTypes,
   258  		ExtensionInfos:    file_github_com_google_cloudprober_targets_testdata_testdata_proto_extTypes,
   259  	}.Build()
   260  	File_github_com_google_cloudprober_targets_testdata_testdata_proto = out.File
   261  	file_github_com_google_cloudprober_targets_testdata_testdata_proto_rawDesc = nil
   262  	file_github_com_google_cloudprober_targets_testdata_testdata_proto_goTypes = nil
   263  	file_github_com_google_cloudprober_targets_testdata_testdata_proto_depIdxs = nil
   264  }