go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/common/tsmon/ts_mon_proto/endpoint.pb.go (about) 1 // Copyright 2016 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.31.0 8 // protoc v3.21.7 9 // source: go.chromium.org/luci/common/tsmon/ts_mon_proto/endpoint.proto 10 11 package ts_mon_proto 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 Request struct { 28 state protoimpl.MessageState 29 sizeCache protoimpl.SizeCache 30 unknownFields protoimpl.UnknownFields 31 32 Payload *MetricsPayload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` 33 } 34 35 func (x *Request) Reset() { 36 *x = Request{} 37 if protoimpl.UnsafeEnabled { 38 mi := &file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_msgTypes[0] 39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 40 ms.StoreMessageInfo(mi) 41 } 42 } 43 44 func (x *Request) String() string { 45 return protoimpl.X.MessageStringOf(x) 46 } 47 48 func (*Request) ProtoMessage() {} 49 50 func (x *Request) ProtoReflect() protoreflect.Message { 51 mi := &file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_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 Request.ProtoReflect.Descriptor instead. 63 func (*Request) Descriptor() ([]byte, []int) { 64 return file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDescGZIP(), []int{0} 65 } 66 67 func (x *Request) GetPayload() *MetricsPayload { 68 if x != nil { 69 return x.Payload 70 } 71 return nil 72 } 73 74 var File_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto protoreflect.FileDescriptor 75 76 var file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDesc = []byte{ 77 0x0a, 0x3d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 78 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x73, 79 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x73, 0x5f, 0x6d, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 80 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 81 0x0c, 0x74, 0x73, 0x5f, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3c, 0x67, 82 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 83 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x73, 0x6d, 0x6f, 0x6e, 84 0x2f, 0x74, 0x73, 0x5f, 0x6d, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x65, 85 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x07, 0x52, 86 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 87 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x73, 0x5f, 0x6d, 0x6f, 0x6e, 88 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x50, 0x61, 89 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x30, 90 0x5a, 0x2e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 91 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x73, 92 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x73, 0x5f, 0x6d, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 93 } 94 95 var ( 96 file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDescOnce sync.Once 97 file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDescData = file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDesc 98 ) 99 100 func file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDescGZIP() []byte { 101 file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDescOnce.Do(func() { 102 file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDescData) 103 }) 104 return file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDescData 105 } 106 107 var file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 108 var file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_goTypes = []interface{}{ 109 (*Request)(nil), // 0: ts_mon.proto.Request 110 (*MetricsPayload)(nil), // 1: ts_mon.proto.MetricsPayload 111 } 112 var file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_depIdxs = []int32{ 113 1, // 0: ts_mon.proto.Request.payload:type_name -> ts_mon.proto.MetricsPayload 114 1, // [1:1] is the sub-list for method output_type 115 1, // [1:1] is the sub-list for method input_type 116 1, // [1:1] is the sub-list for extension type_name 117 1, // [1:1] is the sub-list for extension extendee 118 0, // [0:1] is the sub-list for field type_name 119 } 120 121 func init() { file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_init() } 122 func file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_init() { 123 if File_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto != nil { 124 return 125 } 126 file_go_chromium_org_luci_common_tsmon_ts_mon_proto_metrics_proto_init() 127 if !protoimpl.UnsafeEnabled { 128 file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 129 switch v := v.(*Request); i { 130 case 0: 131 return &v.state 132 case 1: 133 return &v.sizeCache 134 case 2: 135 return &v.unknownFields 136 default: 137 return nil 138 } 139 } 140 } 141 type x struct{} 142 out := protoimpl.TypeBuilder{ 143 File: protoimpl.DescBuilder{ 144 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 145 RawDescriptor: file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDesc, 146 NumEnums: 0, 147 NumMessages: 1, 148 NumExtensions: 0, 149 NumServices: 0, 150 }, 151 GoTypes: file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_goTypes, 152 DependencyIndexes: file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_depIdxs, 153 MessageInfos: file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_msgTypes, 154 }.Build() 155 File_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto = out.File 156 file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_rawDesc = nil 157 file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_goTypes = nil 158 file_go_chromium_org_luci_common_tsmon_ts_mon_proto_endpoint_proto_depIdxs = nil 159 }