google.golang.org/grpc@v1.72.2/health/grpc_health_v1/health.pb.go (about) 1 // Copyright 2015 The gRPC Authors 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // The canonical version of this proto can be found at 16 // https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto 17 18 // Code generated by protoc-gen-go. DO NOT EDIT. 19 // versions: 20 // protoc-gen-go v1.36.5 21 // protoc v5.27.1 22 // source: grpc/health/v1/health.proto 23 24 package grpc_health_v1 25 26 import ( 27 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 28 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 29 reflect "reflect" 30 sync "sync" 31 unsafe "unsafe" 32 ) 33 34 const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39 ) 40 41 type HealthCheckResponse_ServingStatus int32 42 43 const ( 44 HealthCheckResponse_UNKNOWN HealthCheckResponse_ServingStatus = 0 45 HealthCheckResponse_SERVING HealthCheckResponse_ServingStatus = 1 46 HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2 47 HealthCheckResponse_SERVICE_UNKNOWN HealthCheckResponse_ServingStatus = 3 // Used only by the Watch method. 48 ) 49 50 // Enum value maps for HealthCheckResponse_ServingStatus. 51 var ( 52 HealthCheckResponse_ServingStatus_name = map[int32]string{ 53 0: "UNKNOWN", 54 1: "SERVING", 55 2: "NOT_SERVING", 56 3: "SERVICE_UNKNOWN", 57 } 58 HealthCheckResponse_ServingStatus_value = map[string]int32{ 59 "UNKNOWN": 0, 60 "SERVING": 1, 61 "NOT_SERVING": 2, 62 "SERVICE_UNKNOWN": 3, 63 } 64 ) 65 66 func (x HealthCheckResponse_ServingStatus) Enum() *HealthCheckResponse_ServingStatus { 67 p := new(HealthCheckResponse_ServingStatus) 68 *p = x 69 return p 70 } 71 72 func (x HealthCheckResponse_ServingStatus) String() string { 73 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 74 } 75 76 func (HealthCheckResponse_ServingStatus) Descriptor() protoreflect.EnumDescriptor { 77 return file_grpc_health_v1_health_proto_enumTypes[0].Descriptor() 78 } 79 80 func (HealthCheckResponse_ServingStatus) Type() protoreflect.EnumType { 81 return &file_grpc_health_v1_health_proto_enumTypes[0] 82 } 83 84 func (x HealthCheckResponse_ServingStatus) Number() protoreflect.EnumNumber { 85 return protoreflect.EnumNumber(x) 86 } 87 88 // Deprecated: Use HealthCheckResponse_ServingStatus.Descriptor instead. 89 func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int) { 90 return file_grpc_health_v1_health_proto_rawDescGZIP(), []int{1, 0} 91 } 92 93 type HealthCheckRequest struct { 94 state protoimpl.MessageState `protogen:"open.v1"` 95 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` 96 unknownFields protoimpl.UnknownFields 97 sizeCache protoimpl.SizeCache 98 } 99 100 func (x *HealthCheckRequest) Reset() { 101 *x = HealthCheckRequest{} 102 mi := &file_grpc_health_v1_health_proto_msgTypes[0] 103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 104 ms.StoreMessageInfo(mi) 105 } 106 107 func (x *HealthCheckRequest) String() string { 108 return protoimpl.X.MessageStringOf(x) 109 } 110 111 func (*HealthCheckRequest) ProtoMessage() {} 112 113 func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message { 114 mi := &file_grpc_health_v1_health_proto_msgTypes[0] 115 if x != nil { 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 if ms.LoadMessageInfo() == nil { 118 ms.StoreMessageInfo(mi) 119 } 120 return ms 121 } 122 return mi.MessageOf(x) 123 } 124 125 // Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead. 126 func (*HealthCheckRequest) Descriptor() ([]byte, []int) { 127 return file_grpc_health_v1_health_proto_rawDescGZIP(), []int{0} 128 } 129 130 func (x *HealthCheckRequest) GetService() string { 131 if x != nil { 132 return x.Service 133 } 134 return "" 135 } 136 137 type HealthCheckResponse struct { 138 state protoimpl.MessageState `protogen:"open.v1"` 139 Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=grpc.health.v1.HealthCheckResponse_ServingStatus" json:"status,omitempty"` 140 unknownFields protoimpl.UnknownFields 141 sizeCache protoimpl.SizeCache 142 } 143 144 func (x *HealthCheckResponse) Reset() { 145 *x = HealthCheckResponse{} 146 mi := &file_grpc_health_v1_health_proto_msgTypes[1] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 148 ms.StoreMessageInfo(mi) 149 } 150 151 func (x *HealthCheckResponse) String() string { 152 return protoimpl.X.MessageStringOf(x) 153 } 154 155 func (*HealthCheckResponse) ProtoMessage() {} 156 157 func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message { 158 mi := &file_grpc_health_v1_health_proto_msgTypes[1] 159 if x != nil { 160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 161 if ms.LoadMessageInfo() == nil { 162 ms.StoreMessageInfo(mi) 163 } 164 return ms 165 } 166 return mi.MessageOf(x) 167 } 168 169 // Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead. 170 func (*HealthCheckResponse) Descriptor() ([]byte, []int) { 171 return file_grpc_health_v1_health_proto_rawDescGZIP(), []int{1} 172 } 173 174 func (x *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus { 175 if x != nil { 176 return x.Status 177 } 178 return HealthCheckResponse_UNKNOWN 179 } 180 181 type HealthListRequest struct { 182 state protoimpl.MessageState `protogen:"open.v1"` 183 unknownFields protoimpl.UnknownFields 184 sizeCache protoimpl.SizeCache 185 } 186 187 func (x *HealthListRequest) Reset() { 188 *x = HealthListRequest{} 189 mi := &file_grpc_health_v1_health_proto_msgTypes[2] 190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 191 ms.StoreMessageInfo(mi) 192 } 193 194 func (x *HealthListRequest) String() string { 195 return protoimpl.X.MessageStringOf(x) 196 } 197 198 func (*HealthListRequest) ProtoMessage() {} 199 200 func (x *HealthListRequest) ProtoReflect() protoreflect.Message { 201 mi := &file_grpc_health_v1_health_proto_msgTypes[2] 202 if x != nil { 203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 204 if ms.LoadMessageInfo() == nil { 205 ms.StoreMessageInfo(mi) 206 } 207 return ms 208 } 209 return mi.MessageOf(x) 210 } 211 212 // Deprecated: Use HealthListRequest.ProtoReflect.Descriptor instead. 213 func (*HealthListRequest) Descriptor() ([]byte, []int) { 214 return file_grpc_health_v1_health_proto_rawDescGZIP(), []int{2} 215 } 216 217 type HealthListResponse struct { 218 state protoimpl.MessageState `protogen:"open.v1"` 219 // statuses contains all the services and their respective status. 220 Statuses map[string]*HealthCheckResponse `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 221 unknownFields protoimpl.UnknownFields 222 sizeCache protoimpl.SizeCache 223 } 224 225 func (x *HealthListResponse) Reset() { 226 *x = HealthListResponse{} 227 mi := &file_grpc_health_v1_health_proto_msgTypes[3] 228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 229 ms.StoreMessageInfo(mi) 230 } 231 232 func (x *HealthListResponse) String() string { 233 return protoimpl.X.MessageStringOf(x) 234 } 235 236 func (*HealthListResponse) ProtoMessage() {} 237 238 func (x *HealthListResponse) ProtoReflect() protoreflect.Message { 239 mi := &file_grpc_health_v1_health_proto_msgTypes[3] 240 if x != nil { 241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 242 if ms.LoadMessageInfo() == nil { 243 ms.StoreMessageInfo(mi) 244 } 245 return ms 246 } 247 return mi.MessageOf(x) 248 } 249 250 // Deprecated: Use HealthListResponse.ProtoReflect.Descriptor instead. 251 func (*HealthListResponse) Descriptor() ([]byte, []int) { 252 return file_grpc_health_v1_health_proto_rawDescGZIP(), []int{3} 253 } 254 255 func (x *HealthListResponse) GetStatuses() map[string]*HealthCheckResponse { 256 if x != nil { 257 return x.Statuses 258 } 259 return nil 260 } 261 262 var File_grpc_health_v1_health_proto protoreflect.FileDescriptor 263 264 var file_grpc_health_v1_health_proto_rawDesc = string([]byte{ 265 0x0a, 0x1b, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2f, 0x76, 0x31, 266 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x67, 267 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x22, 0x2e, 0x0a, 268 0x12, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 269 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 270 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0xb1, 0x01, 271 0x0a, 0x13, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 272 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 273 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 274 0x6c, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 275 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 276 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 277 0x22, 0x4f, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 278 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 279 0x0a, 0x07, 0x53, 0x45, 0x52, 0x56, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 280 0x4f, 0x54, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 281 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 282 0x03, 0x22, 0x13, 0x0a, 0x11, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x52, 283 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc4, 0x01, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x6c, 0x74, 284 0x68, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 285 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 286 0x30, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x76, 0x31, 287 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 288 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 289 0x79, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x1a, 0x60, 0x0a, 0x0d, 0x53, 290 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 291 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x39, 292 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 293 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x48, 294 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 295 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0xfd, 0x01, 296 0x0a, 0x06, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x50, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 297 0x6b, 0x12, 0x22, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 298 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 299 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 300 0x6c, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 301 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x04, 0x4c, 0x69, 302 0x73, 0x74, 0x12, 0x21, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 303 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 304 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 305 0x6c, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x4c, 0x69, 0x73, 306 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x05, 0x57, 0x61, 0x74, 307 0x63, 0x68, 0x12, 0x22, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 308 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 309 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 310 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 311 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x70, 0x0a, 312 0x11, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 313 0x76, 0x31, 0x42, 0x0b, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 314 0x01, 0x5a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 315 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 316 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x76, 0x31, 0xa2, 317 0x02, 0x0c, 0x47, 0x72, 0x70, 0x63, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x56, 0x31, 0xaa, 0x02, 318 0x0e, 0x47, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x56, 0x31, 0x62, 319 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 320 }) 321 322 var ( 323 file_grpc_health_v1_health_proto_rawDescOnce sync.Once 324 file_grpc_health_v1_health_proto_rawDescData []byte 325 ) 326 327 func file_grpc_health_v1_health_proto_rawDescGZIP() []byte { 328 file_grpc_health_v1_health_proto_rawDescOnce.Do(func() { 329 file_grpc_health_v1_health_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_grpc_health_v1_health_proto_rawDesc), len(file_grpc_health_v1_health_proto_rawDesc))) 330 }) 331 return file_grpc_health_v1_health_proto_rawDescData 332 } 333 334 var file_grpc_health_v1_health_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 335 var file_grpc_health_v1_health_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 336 var file_grpc_health_v1_health_proto_goTypes = []any{ 337 (HealthCheckResponse_ServingStatus)(0), // 0: grpc.health.v1.HealthCheckResponse.ServingStatus 338 (*HealthCheckRequest)(nil), // 1: grpc.health.v1.HealthCheckRequest 339 (*HealthCheckResponse)(nil), // 2: grpc.health.v1.HealthCheckResponse 340 (*HealthListRequest)(nil), // 3: grpc.health.v1.HealthListRequest 341 (*HealthListResponse)(nil), // 4: grpc.health.v1.HealthListResponse 342 nil, // 5: grpc.health.v1.HealthListResponse.StatusesEntry 343 } 344 var file_grpc_health_v1_health_proto_depIdxs = []int32{ 345 0, // 0: grpc.health.v1.HealthCheckResponse.status:type_name -> grpc.health.v1.HealthCheckResponse.ServingStatus 346 5, // 1: grpc.health.v1.HealthListResponse.statuses:type_name -> grpc.health.v1.HealthListResponse.StatusesEntry 347 2, // 2: grpc.health.v1.HealthListResponse.StatusesEntry.value:type_name -> grpc.health.v1.HealthCheckResponse 348 1, // 3: grpc.health.v1.Health.Check:input_type -> grpc.health.v1.HealthCheckRequest 349 3, // 4: grpc.health.v1.Health.List:input_type -> grpc.health.v1.HealthListRequest 350 1, // 5: grpc.health.v1.Health.Watch:input_type -> grpc.health.v1.HealthCheckRequest 351 2, // 6: grpc.health.v1.Health.Check:output_type -> grpc.health.v1.HealthCheckResponse 352 4, // 7: grpc.health.v1.Health.List:output_type -> grpc.health.v1.HealthListResponse 353 2, // 8: grpc.health.v1.Health.Watch:output_type -> grpc.health.v1.HealthCheckResponse 354 6, // [6:9] is the sub-list for method output_type 355 3, // [3:6] is the sub-list for method input_type 356 3, // [3:3] is the sub-list for extension type_name 357 3, // [3:3] is the sub-list for extension extendee 358 0, // [0:3] is the sub-list for field type_name 359 } 360 361 func init() { file_grpc_health_v1_health_proto_init() } 362 func file_grpc_health_v1_health_proto_init() { 363 if File_grpc_health_v1_health_proto != nil { 364 return 365 } 366 type x struct{} 367 out := protoimpl.TypeBuilder{ 368 File: protoimpl.DescBuilder{ 369 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 370 RawDescriptor: unsafe.Slice(unsafe.StringData(file_grpc_health_v1_health_proto_rawDesc), len(file_grpc_health_v1_health_proto_rawDesc)), 371 NumEnums: 1, 372 NumMessages: 5, 373 NumExtensions: 0, 374 NumServices: 1, 375 }, 376 GoTypes: file_grpc_health_v1_health_proto_goTypes, 377 DependencyIndexes: file_grpc_health_v1_health_proto_depIdxs, 378 EnumInfos: file_grpc_health_v1_health_proto_enumTypes, 379 MessageInfos: file_grpc_health_v1_health_proto_msgTypes, 380 }.Build() 381 File_grpc_health_v1_health_proto = out.File 382 file_grpc_health_v1_health_proto_goTypes = nil 383 file_grpc_health_v1_health_proto_depIdxs = nil 384 }