1// Copyright 2021 Google LLC 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// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/monitoring/v3/uptime.proto 20 21package monitoring 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31 durationpb "google.golang.org/protobuf/types/known/durationpb" 32) 33 34const ( 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// The regions from which an Uptime check can be run. 42type UptimeCheckRegion int32 43 44const ( 45 // Default value if no region is specified. Will result in Uptime checks 46 // running from all regions. 47 UptimeCheckRegion_REGION_UNSPECIFIED UptimeCheckRegion = 0 48 // Allows checks to run from locations within the United States of America. 49 UptimeCheckRegion_USA UptimeCheckRegion = 1 50 // Allows checks to run from locations within the continent of Europe. 51 UptimeCheckRegion_EUROPE UptimeCheckRegion = 2 52 // Allows checks to run from locations within the continent of South 53 // America. 54 UptimeCheckRegion_SOUTH_AMERICA UptimeCheckRegion = 3 55 // Allows checks to run from locations within the Asia Pacific area (ex: 56 // Singapore). 57 UptimeCheckRegion_ASIA_PACIFIC UptimeCheckRegion = 4 58) 59 60// Enum value maps for UptimeCheckRegion. 61var ( 62 UptimeCheckRegion_name = map[int32]string{ 63 0: "REGION_UNSPECIFIED", 64 1: "USA", 65 2: "EUROPE", 66 3: "SOUTH_AMERICA", 67 4: "ASIA_PACIFIC", 68 } 69 UptimeCheckRegion_value = map[string]int32{ 70 "REGION_UNSPECIFIED": 0, 71 "USA": 1, 72 "EUROPE": 2, 73 "SOUTH_AMERICA": 3, 74 "ASIA_PACIFIC": 4, 75 } 76) 77 78func (x UptimeCheckRegion) Enum() *UptimeCheckRegion { 79 p := new(UptimeCheckRegion) 80 *p = x 81 return p 82} 83 84func (x UptimeCheckRegion) String() string { 85 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 86} 87 88func (UptimeCheckRegion) Descriptor() protoreflect.EnumDescriptor { 89 return file_google_monitoring_v3_uptime_proto_enumTypes[0].Descriptor() 90} 91 92func (UptimeCheckRegion) Type() protoreflect.EnumType { 93 return &file_google_monitoring_v3_uptime_proto_enumTypes[0] 94} 95 96func (x UptimeCheckRegion) Number() protoreflect.EnumNumber { 97 return protoreflect.EnumNumber(x) 98} 99 100// Deprecated: Use UptimeCheckRegion.Descriptor instead. 101func (UptimeCheckRegion) EnumDescriptor() ([]byte, []int) { 102 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{0} 103} 104 105// The supported resource types that can be used as values of 106// `group_resource.resource_type`. 107// `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types. 108// The resource types `gae_app` and `uptime_url` are not valid here because 109// group checks on App Engine modules and URLs are not allowed. 110type GroupResourceType int32 111 112const ( 113 // Default value (not valid). 114 GroupResourceType_RESOURCE_TYPE_UNSPECIFIED GroupResourceType = 0 115 // A group of instances from Google Cloud Platform (GCP) or 116 // Amazon Web Services (AWS). 117 GroupResourceType_INSTANCE GroupResourceType = 1 118 // A group of Amazon ELB load balancers. 119 GroupResourceType_AWS_ELB_LOAD_BALANCER GroupResourceType = 2 120) 121 122// Enum value maps for GroupResourceType. 123var ( 124 GroupResourceType_name = map[int32]string{ 125 0: "RESOURCE_TYPE_UNSPECIFIED", 126 1: "INSTANCE", 127 2: "AWS_ELB_LOAD_BALANCER", 128 } 129 GroupResourceType_value = map[string]int32{ 130 "RESOURCE_TYPE_UNSPECIFIED": 0, 131 "INSTANCE": 1, 132 "AWS_ELB_LOAD_BALANCER": 2, 133 } 134) 135 136func (x GroupResourceType) Enum() *GroupResourceType { 137 p := new(GroupResourceType) 138 *p = x 139 return p 140} 141 142func (x GroupResourceType) String() string { 143 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 144} 145 146func (GroupResourceType) Descriptor() protoreflect.EnumDescriptor { 147 return file_google_monitoring_v3_uptime_proto_enumTypes[1].Descriptor() 148} 149 150func (GroupResourceType) Type() protoreflect.EnumType { 151 return &file_google_monitoring_v3_uptime_proto_enumTypes[1] 152} 153 154func (x GroupResourceType) Number() protoreflect.EnumNumber { 155 return protoreflect.EnumNumber(x) 156} 157 158// Deprecated: Use GroupResourceType.Descriptor instead. 159func (GroupResourceType) EnumDescriptor() ([]byte, []int) { 160 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1} 161} 162 163// Operational states for an internal checker. 164type InternalChecker_State int32 165 166const ( 167 // An internal checker should never be in the unspecified state. 168 InternalChecker_UNSPECIFIED InternalChecker_State = 0 169 // The checker is being created, provisioned, and configured. A checker in 170 // this state can be returned by `ListInternalCheckers` or 171 // `GetInternalChecker`, as well as by examining the [long running 172 // Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations) 173 // that created it. 174 InternalChecker_CREATING InternalChecker_State = 1 175 // The checker is running and available for use. A checker in this state 176 // can be returned by `ListInternalCheckers` or `GetInternalChecker` as 177 // well as by examining the [long running 178 // Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations) 179 // that created it. 180 // If a checker is being torn down, it is neither visible nor usable, so 181 // there is no "deleting" or "down" state. 182 InternalChecker_RUNNING InternalChecker_State = 2 183) 184 185// Enum value maps for InternalChecker_State. 186var ( 187 InternalChecker_State_name = map[int32]string{ 188 0: "UNSPECIFIED", 189 1: "CREATING", 190 2: "RUNNING", 191 } 192 InternalChecker_State_value = map[string]int32{ 193 "UNSPECIFIED": 0, 194 "CREATING": 1, 195 "RUNNING": 2, 196 } 197) 198 199func (x InternalChecker_State) Enum() *InternalChecker_State { 200 p := new(InternalChecker_State) 201 *p = x 202 return p 203} 204 205func (x InternalChecker_State) String() string { 206 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 207} 208 209func (InternalChecker_State) Descriptor() protoreflect.EnumDescriptor { 210 return file_google_monitoring_v3_uptime_proto_enumTypes[2].Descriptor() 211} 212 213func (InternalChecker_State) Type() protoreflect.EnumType { 214 return &file_google_monitoring_v3_uptime_proto_enumTypes[2] 215} 216 217func (x InternalChecker_State) Number() protoreflect.EnumNumber { 218 return protoreflect.EnumNumber(x) 219} 220 221// Deprecated: Use InternalChecker_State.Descriptor instead. 222func (InternalChecker_State) EnumDescriptor() ([]byte, []int) { 223 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{0, 0} 224} 225 226// The HTTP request method options. 227type UptimeCheckConfig_HttpCheck_RequestMethod int32 228 229const ( 230 // No request method specified. 231 UptimeCheckConfig_HttpCheck_METHOD_UNSPECIFIED UptimeCheckConfig_HttpCheck_RequestMethod = 0 232 // GET request. 233 UptimeCheckConfig_HttpCheck_GET UptimeCheckConfig_HttpCheck_RequestMethod = 1 234 // POST request. 235 UptimeCheckConfig_HttpCheck_POST UptimeCheckConfig_HttpCheck_RequestMethod = 2 236) 237 238// Enum value maps for UptimeCheckConfig_HttpCheck_RequestMethod. 239var ( 240 UptimeCheckConfig_HttpCheck_RequestMethod_name = map[int32]string{ 241 0: "METHOD_UNSPECIFIED", 242 1: "GET", 243 2: "POST", 244 } 245 UptimeCheckConfig_HttpCheck_RequestMethod_value = map[string]int32{ 246 "METHOD_UNSPECIFIED": 0, 247 "GET": 1, 248 "POST": 2, 249 } 250) 251 252func (x UptimeCheckConfig_HttpCheck_RequestMethod) Enum() *UptimeCheckConfig_HttpCheck_RequestMethod { 253 p := new(UptimeCheckConfig_HttpCheck_RequestMethod) 254 *p = x 255 return p 256} 257 258func (x UptimeCheckConfig_HttpCheck_RequestMethod) String() string { 259 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 260} 261 262func (UptimeCheckConfig_HttpCheck_RequestMethod) Descriptor() protoreflect.EnumDescriptor { 263 return file_google_monitoring_v3_uptime_proto_enumTypes[3].Descriptor() 264} 265 266func (UptimeCheckConfig_HttpCheck_RequestMethod) Type() protoreflect.EnumType { 267 return &file_google_monitoring_v3_uptime_proto_enumTypes[3] 268} 269 270func (x UptimeCheckConfig_HttpCheck_RequestMethod) Number() protoreflect.EnumNumber { 271 return protoreflect.EnumNumber(x) 272} 273 274// Deprecated: Use UptimeCheckConfig_HttpCheck_RequestMethod.Descriptor instead. 275func (UptimeCheckConfig_HttpCheck_RequestMethod) EnumDescriptor() ([]byte, []int) { 276 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 1, 0} 277} 278 279// Header options corresponding to the content type of a HTTP request body. 280type UptimeCheckConfig_HttpCheck_ContentType int32 281 282const ( 283 // No content type specified. 284 UptimeCheckConfig_HttpCheck_TYPE_UNSPECIFIED UptimeCheckConfig_HttpCheck_ContentType = 0 285 // `body` is in URL-encoded form. Equivalent to setting the `Content-Type` 286 // to `application/x-www-form-urlencoded` in the HTTP request. 287 UptimeCheckConfig_HttpCheck_URL_ENCODED UptimeCheckConfig_HttpCheck_ContentType = 1 288) 289 290// Enum value maps for UptimeCheckConfig_HttpCheck_ContentType. 291var ( 292 UptimeCheckConfig_HttpCheck_ContentType_name = map[int32]string{ 293 0: "TYPE_UNSPECIFIED", 294 1: "URL_ENCODED", 295 } 296 UptimeCheckConfig_HttpCheck_ContentType_value = map[string]int32{ 297 "TYPE_UNSPECIFIED": 0, 298 "URL_ENCODED": 1, 299 } 300) 301 302func (x UptimeCheckConfig_HttpCheck_ContentType) Enum() *UptimeCheckConfig_HttpCheck_ContentType { 303 p := new(UptimeCheckConfig_HttpCheck_ContentType) 304 *p = x 305 return p 306} 307 308func (x UptimeCheckConfig_HttpCheck_ContentType) String() string { 309 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 310} 311 312func (UptimeCheckConfig_HttpCheck_ContentType) Descriptor() protoreflect.EnumDescriptor { 313 return file_google_monitoring_v3_uptime_proto_enumTypes[4].Descriptor() 314} 315 316func (UptimeCheckConfig_HttpCheck_ContentType) Type() protoreflect.EnumType { 317 return &file_google_monitoring_v3_uptime_proto_enumTypes[4] 318} 319 320func (x UptimeCheckConfig_HttpCheck_ContentType) Number() protoreflect.EnumNumber { 321 return protoreflect.EnumNumber(x) 322} 323 324// Deprecated: Use UptimeCheckConfig_HttpCheck_ContentType.Descriptor instead. 325func (UptimeCheckConfig_HttpCheck_ContentType) EnumDescriptor() ([]byte, []int) { 326 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 1, 1} 327} 328 329// Options to perform content matching. 330type UptimeCheckConfig_ContentMatcher_ContentMatcherOption int32 331 332const ( 333 // No content matcher type specified (maintained for backward 334 // compatibility, but deprecated for future use). 335 // Treated as `CONTAINS_STRING`. 336 UptimeCheckConfig_ContentMatcher_CONTENT_MATCHER_OPTION_UNSPECIFIED UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 0 337 // Selects substring matching. The match succeeds if the output contains 338 // the `content` string. This is the default value for checks without 339 // a `matcher` option, or where the value of `matcher` is 340 // `CONTENT_MATCHER_OPTION_UNSPECIFIED`. 341 UptimeCheckConfig_ContentMatcher_CONTAINS_STRING UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 1 342 // Selects negation of substring matching. The match succeeds if the 343 // output does _NOT_ contain the `content` string. 344 UptimeCheckConfig_ContentMatcher_NOT_CONTAINS_STRING UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 2 345 // Selects regular-expression matching. The match succeeds of the output 346 // matches the regular expression specified in the `content` string. 347 // Regex matching is only supported for HTTP/HTTPS checks. 348 UptimeCheckConfig_ContentMatcher_MATCHES_REGEX UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 3 349 // Selects negation of regular-expression matching. The match succeeds if 350 // the output does _NOT_ match the regular expression specified in the 351 // `content` string. Regex matching is only supported for HTTP/HTTPS 352 // checks. 353 UptimeCheckConfig_ContentMatcher_NOT_MATCHES_REGEX UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 4 354) 355 356// Enum value maps for UptimeCheckConfig_ContentMatcher_ContentMatcherOption. 357var ( 358 UptimeCheckConfig_ContentMatcher_ContentMatcherOption_name = map[int32]string{ 359 0: "CONTENT_MATCHER_OPTION_UNSPECIFIED", 360 1: "CONTAINS_STRING", 361 2: "NOT_CONTAINS_STRING", 362 3: "MATCHES_REGEX", 363 4: "NOT_MATCHES_REGEX", 364 } 365 UptimeCheckConfig_ContentMatcher_ContentMatcherOption_value = map[string]int32{ 366 "CONTENT_MATCHER_OPTION_UNSPECIFIED": 0, 367 "CONTAINS_STRING": 1, 368 "NOT_CONTAINS_STRING": 2, 369 "MATCHES_REGEX": 3, 370 "NOT_MATCHES_REGEX": 4, 371 } 372) 373 374func (x UptimeCheckConfig_ContentMatcher_ContentMatcherOption) Enum() *UptimeCheckConfig_ContentMatcher_ContentMatcherOption { 375 p := new(UptimeCheckConfig_ContentMatcher_ContentMatcherOption) 376 *p = x 377 return p 378} 379 380func (x UptimeCheckConfig_ContentMatcher_ContentMatcherOption) String() string { 381 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 382} 383 384func (UptimeCheckConfig_ContentMatcher_ContentMatcherOption) Descriptor() protoreflect.EnumDescriptor { 385 return file_google_monitoring_v3_uptime_proto_enumTypes[5].Descriptor() 386} 387 388func (UptimeCheckConfig_ContentMatcher_ContentMatcherOption) Type() protoreflect.EnumType { 389 return &file_google_monitoring_v3_uptime_proto_enumTypes[5] 390} 391 392func (x UptimeCheckConfig_ContentMatcher_ContentMatcherOption) Number() protoreflect.EnumNumber { 393 return protoreflect.EnumNumber(x) 394} 395 396// Deprecated: Use UptimeCheckConfig_ContentMatcher_ContentMatcherOption.Descriptor instead. 397func (UptimeCheckConfig_ContentMatcher_ContentMatcherOption) EnumDescriptor() ([]byte, []int) { 398 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 3, 0} 399} 400 401// An internal checker allows Uptime checks to run on private/internal GCP 402// resources. 403// 404// Deprecated: Do not use. 405type InternalChecker struct { 406 state protoimpl.MessageState 407 sizeCache protoimpl.SizeCache 408 unknownFields protoimpl.UnknownFields 409 410 // A unique resource name for this InternalChecker. The format is: 411 // 412 // projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] 413 // 414 // `[PROJECT_ID_OR_NUMBER]` is the Stackdriver Workspace project for the 415 // Uptime check config associated with the internal checker. 416 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 417 // The checker's human-readable name. The display name 418 // should be unique within a Stackdriver Workspace in order to make it easier 419 // to identify; however, uniqueness is not enforced. 420 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 421 // The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the 422 // internal resource lives (ex: "default"). 423 Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` 424 // The GCP zone the Uptime check should egress from. Only respected for 425 // internal Uptime checks, where internal_network is specified. 426 GcpZone string `protobuf:"bytes,4,opt,name=gcp_zone,json=gcpZone,proto3" json:"gcp_zone,omitempty"` 427 // The GCP project ID where the internal checker lives. Not necessary 428 // the same as the Workspace project. 429 PeerProjectId string `protobuf:"bytes,6,opt,name=peer_project_id,json=peerProjectId,proto3" json:"peer_project_id,omitempty"` 430 // The current operational state of the internal checker. 431 State InternalChecker_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.monitoring.v3.InternalChecker_State" json:"state,omitempty"` 432} 433 434func (x *InternalChecker) Reset() { 435 *x = InternalChecker{} 436 if protoimpl.UnsafeEnabled { 437 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[0] 438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 439 ms.StoreMessageInfo(mi) 440 } 441} 442 443func (x *InternalChecker) String() string { 444 return protoimpl.X.MessageStringOf(x) 445} 446 447func (*InternalChecker) ProtoMessage() {} 448 449func (x *InternalChecker) ProtoReflect() protoreflect.Message { 450 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[0] 451 if protoimpl.UnsafeEnabled && x != nil { 452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 453 if ms.LoadMessageInfo() == nil { 454 ms.StoreMessageInfo(mi) 455 } 456 return ms 457 } 458 return mi.MessageOf(x) 459} 460 461// Deprecated: Use InternalChecker.ProtoReflect.Descriptor instead. 462func (*InternalChecker) Descriptor() ([]byte, []int) { 463 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{0} 464} 465 466func (x *InternalChecker) GetName() string { 467 if x != nil { 468 return x.Name 469 } 470 return "" 471} 472 473func (x *InternalChecker) GetDisplayName() string { 474 if x != nil { 475 return x.DisplayName 476 } 477 return "" 478} 479 480func (x *InternalChecker) GetNetwork() string { 481 if x != nil { 482 return x.Network 483 } 484 return "" 485} 486 487func (x *InternalChecker) GetGcpZone() string { 488 if x != nil { 489 return x.GcpZone 490 } 491 return "" 492} 493 494func (x *InternalChecker) GetPeerProjectId() string { 495 if x != nil { 496 return x.PeerProjectId 497 } 498 return "" 499} 500 501func (x *InternalChecker) GetState() InternalChecker_State { 502 if x != nil { 503 return x.State 504 } 505 return InternalChecker_UNSPECIFIED 506} 507 508// This message configures which resources and services to monitor for 509// availability. 510type UptimeCheckConfig struct { 511 state protoimpl.MessageState 512 sizeCache protoimpl.SizeCache 513 unknownFields protoimpl.UnknownFields 514 515 // A unique resource name for this Uptime check configuration. The format is: 516 // 517 // projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] 518 // 519 // `[PROJECT_ID_OR_NUMBER]` is the Workspace host project associated with the 520 // Uptime check. 521 // 522 // This field should be omitted when creating the Uptime check configuration; 523 // on create, the resource name is assigned by the server and included in the 524 // response. 525 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 526 // A human-friendly name for the Uptime check configuration. The display name 527 // should be unique within a Stackdriver Workspace in order to make it easier 528 // to identify; however, uniqueness is not enforced. Required. 529 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 530 // The resource the check is checking. Required. 531 // 532 // Types that are assignable to Resource: 533 // *UptimeCheckConfig_MonitoredResource 534 // *UptimeCheckConfig_ResourceGroup_ 535 Resource isUptimeCheckConfig_Resource `protobuf_oneof:"resource"` 536 // The type of Uptime check request. 537 // 538 // Types that are assignable to CheckRequestType: 539 // *UptimeCheckConfig_HttpCheck_ 540 // *UptimeCheckConfig_TcpCheck_ 541 CheckRequestType isUptimeCheckConfig_CheckRequestType `protobuf_oneof:"check_request_type"` 542 // How often, in seconds, the Uptime check is performed. 543 // Currently, the only supported values are `60s` (1 minute), `300s` 544 // (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional, 545 // defaults to `60s`. 546 Period *durationpb.Duration `protobuf:"bytes,7,opt,name=period,proto3" json:"period,omitempty"` 547 // The maximum amount of time to wait for the request to complete (must be 548 // between 1 and 60 seconds). Required. 549 Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"` 550 // The content that is expected to appear in the data returned by the target 551 // server against which the check is run. Currently, only the first entry 552 // in the `content_matchers` list is supported, and additional entries will 553 // be ignored. This field is optional and should only be specified if a 554 // content match is required as part of the/ Uptime check. 555 ContentMatchers []*UptimeCheckConfig_ContentMatcher `protobuf:"bytes,9,rep,name=content_matchers,json=contentMatchers,proto3" json:"content_matchers,omitempty"` 556 // The list of regions from which the check will be run. 557 // Some regions contain one location, and others contain more than one. 558 // If this field is specified, enough regions must be provided to include a 559 // minimum of 3 locations. Not specifying this field will result in Uptime 560 // checks running from all available regions. 561 SelectedRegions []UptimeCheckRegion `protobuf:"varint,10,rep,packed,name=selected_regions,json=selectedRegions,proto3,enum=google.monitoring.v3.UptimeCheckRegion" json:"selected_regions,omitempty"` 562 // If this is `true`, then checks are made only from the 'internal_checkers'. 563 // If it is `false`, then checks are made only from the 'selected_regions'. 564 // It is an error to provide 'selected_regions' when is_internal is `true`, 565 // or to provide 'internal_checkers' when is_internal is `false`. 566 // 567 // Deprecated: Do not use. 568 IsInternal bool `protobuf:"varint,15,opt,name=is_internal,json=isInternal,proto3" json:"is_internal,omitempty"` 569 // The internal checkers that this check will egress from. If `is_internal` is 570 // `true` and this list is empty, the check will egress from all the 571 // InternalCheckers configured for the project that owns this 572 // `UptimeCheckConfig`. 573 // 574 // Deprecated: Do not use. 575 InternalCheckers []*InternalChecker `protobuf:"bytes,14,rep,name=internal_checkers,json=internalCheckers,proto3" json:"internal_checkers,omitempty"` 576} 577 578func (x *UptimeCheckConfig) Reset() { 579 *x = UptimeCheckConfig{} 580 if protoimpl.UnsafeEnabled { 581 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[1] 582 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 583 ms.StoreMessageInfo(mi) 584 } 585} 586 587func (x *UptimeCheckConfig) String() string { 588 return protoimpl.X.MessageStringOf(x) 589} 590 591func (*UptimeCheckConfig) ProtoMessage() {} 592 593func (x *UptimeCheckConfig) ProtoReflect() protoreflect.Message { 594 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[1] 595 if protoimpl.UnsafeEnabled && x != nil { 596 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 597 if ms.LoadMessageInfo() == nil { 598 ms.StoreMessageInfo(mi) 599 } 600 return ms 601 } 602 return mi.MessageOf(x) 603} 604 605// Deprecated: Use UptimeCheckConfig.ProtoReflect.Descriptor instead. 606func (*UptimeCheckConfig) Descriptor() ([]byte, []int) { 607 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1} 608} 609 610func (x *UptimeCheckConfig) GetName() string { 611 if x != nil { 612 return x.Name 613 } 614 return "" 615} 616 617func (x *UptimeCheckConfig) GetDisplayName() string { 618 if x != nil { 619 return x.DisplayName 620 } 621 return "" 622} 623 624func (m *UptimeCheckConfig) GetResource() isUptimeCheckConfig_Resource { 625 if m != nil { 626 return m.Resource 627 } 628 return nil 629} 630 631func (x *UptimeCheckConfig) GetMonitoredResource() *monitoredres.MonitoredResource { 632 if x, ok := x.GetResource().(*UptimeCheckConfig_MonitoredResource); ok { 633 return x.MonitoredResource 634 } 635 return nil 636} 637 638func (x *UptimeCheckConfig) GetResourceGroup() *UptimeCheckConfig_ResourceGroup { 639 if x, ok := x.GetResource().(*UptimeCheckConfig_ResourceGroup_); ok { 640 return x.ResourceGroup 641 } 642 return nil 643} 644 645func (m *UptimeCheckConfig) GetCheckRequestType() isUptimeCheckConfig_CheckRequestType { 646 if m != nil { 647 return m.CheckRequestType 648 } 649 return nil 650} 651 652func (x *UptimeCheckConfig) GetHttpCheck() *UptimeCheckConfig_HttpCheck { 653 if x, ok := x.GetCheckRequestType().(*UptimeCheckConfig_HttpCheck_); ok { 654 return x.HttpCheck 655 } 656 return nil 657} 658 659func (x *UptimeCheckConfig) GetTcpCheck() *UptimeCheckConfig_TcpCheck { 660 if x, ok := x.GetCheckRequestType().(*UptimeCheckConfig_TcpCheck_); ok { 661 return x.TcpCheck 662 } 663 return nil 664} 665 666func (x *UptimeCheckConfig) GetPeriod() *durationpb.Duration { 667 if x != nil { 668 return x.Period 669 } 670 return nil 671} 672 673func (x *UptimeCheckConfig) GetTimeout() *durationpb.Duration { 674 if x != nil { 675 return x.Timeout 676 } 677 return nil 678} 679 680func (x *UptimeCheckConfig) GetContentMatchers() []*UptimeCheckConfig_ContentMatcher { 681 if x != nil { 682 return x.ContentMatchers 683 } 684 return nil 685} 686 687func (x *UptimeCheckConfig) GetSelectedRegions() []UptimeCheckRegion { 688 if x != nil { 689 return x.SelectedRegions 690 } 691 return nil 692} 693 694// Deprecated: Do not use. 695func (x *UptimeCheckConfig) GetIsInternal() bool { 696 if x != nil { 697 return x.IsInternal 698 } 699 return false 700} 701 702// Deprecated: Do not use. 703func (x *UptimeCheckConfig) GetInternalCheckers() []*InternalChecker { 704 if x != nil { 705 return x.InternalCheckers 706 } 707 return nil 708} 709 710type isUptimeCheckConfig_Resource interface { 711 isUptimeCheckConfig_Resource() 712} 713 714type UptimeCheckConfig_MonitoredResource struct { 715 // The [monitored 716 // resource](https://cloud.google.com/monitoring/api/resources) associated 717 // with the configuration. 718 // The following monitored resource types are valid for this field: 719 // `uptime_url`, 720 // `gce_instance`, 721 // `gae_app`, 722 // `aws_ec2_instance`, 723 // `aws_elb_load_balancer` 724 // `k8s_service` 725 MonitoredResource *monitoredres.MonitoredResource `protobuf:"bytes,3,opt,name=monitored_resource,json=monitoredResource,proto3,oneof"` 726} 727 728type UptimeCheckConfig_ResourceGroup_ struct { 729 // The group resource associated with the configuration. 730 ResourceGroup *UptimeCheckConfig_ResourceGroup `protobuf:"bytes,4,opt,name=resource_group,json=resourceGroup,proto3,oneof"` 731} 732 733func (*UptimeCheckConfig_MonitoredResource) isUptimeCheckConfig_Resource() {} 734 735func (*UptimeCheckConfig_ResourceGroup_) isUptimeCheckConfig_Resource() {} 736 737type isUptimeCheckConfig_CheckRequestType interface { 738 isUptimeCheckConfig_CheckRequestType() 739} 740 741type UptimeCheckConfig_HttpCheck_ struct { 742 // Contains information needed to make an HTTP or HTTPS check. 743 HttpCheck *UptimeCheckConfig_HttpCheck `protobuf:"bytes,5,opt,name=http_check,json=httpCheck,proto3,oneof"` 744} 745 746type UptimeCheckConfig_TcpCheck_ struct { 747 // Contains information needed to make a TCP check. 748 TcpCheck *UptimeCheckConfig_TcpCheck `protobuf:"bytes,6,opt,name=tcp_check,json=tcpCheck,proto3,oneof"` 749} 750 751func (*UptimeCheckConfig_HttpCheck_) isUptimeCheckConfig_CheckRequestType() {} 752 753func (*UptimeCheckConfig_TcpCheck_) isUptimeCheckConfig_CheckRequestType() {} 754 755// Contains the region, location, and list of IP 756// addresses where checkers in the location run from. 757type UptimeCheckIp struct { 758 state protoimpl.MessageState 759 sizeCache protoimpl.SizeCache 760 unknownFields protoimpl.UnknownFields 761 762 // A broad region category in which the IP address is located. 763 Region UptimeCheckRegion `protobuf:"varint,1,opt,name=region,proto3,enum=google.monitoring.v3.UptimeCheckRegion" json:"region,omitempty"` 764 // A more specific location within the region that typically encodes 765 // a particular city/town/metro (and its containing state/province or country) 766 // within the broader umbrella region category. 767 Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` 768 // The IP address from which the Uptime check originates. This is a fully 769 // specified IP address (not an IP address range). Most IP addresses, as of 770 // this publication, are in IPv4 format; however, one should not rely on the 771 // IP addresses being in IPv4 format indefinitely, and should support 772 // interpreting this field in either IPv4 or IPv6 format. 773 IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` 774} 775 776func (x *UptimeCheckIp) Reset() { 777 *x = UptimeCheckIp{} 778 if protoimpl.UnsafeEnabled { 779 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[2] 780 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 781 ms.StoreMessageInfo(mi) 782 } 783} 784 785func (x *UptimeCheckIp) String() string { 786 return protoimpl.X.MessageStringOf(x) 787} 788 789func (*UptimeCheckIp) ProtoMessage() {} 790 791func (x *UptimeCheckIp) ProtoReflect() protoreflect.Message { 792 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[2] 793 if protoimpl.UnsafeEnabled && x != nil { 794 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 795 if ms.LoadMessageInfo() == nil { 796 ms.StoreMessageInfo(mi) 797 } 798 return ms 799 } 800 return mi.MessageOf(x) 801} 802 803// Deprecated: Use UptimeCheckIp.ProtoReflect.Descriptor instead. 804func (*UptimeCheckIp) Descriptor() ([]byte, []int) { 805 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{2} 806} 807 808func (x *UptimeCheckIp) GetRegion() UptimeCheckRegion { 809 if x != nil { 810 return x.Region 811 } 812 return UptimeCheckRegion_REGION_UNSPECIFIED 813} 814 815func (x *UptimeCheckIp) GetLocation() string { 816 if x != nil { 817 return x.Location 818 } 819 return "" 820} 821 822func (x *UptimeCheckIp) GetIpAddress() string { 823 if x != nil { 824 return x.IpAddress 825 } 826 return "" 827} 828 829// The resource submessage for group checks. It can be used instead of a 830// monitored resource, when multiple resources are being monitored. 831type UptimeCheckConfig_ResourceGroup struct { 832 state protoimpl.MessageState 833 sizeCache protoimpl.SizeCache 834 unknownFields protoimpl.UnknownFields 835 836 // The group of resources being monitored. Should be only the `[GROUP_ID]`, 837 // and not the full-path 838 // `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`. 839 GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` 840 // The resource type of the group members. 841 ResourceType GroupResourceType `protobuf:"varint,2,opt,name=resource_type,json=resourceType,proto3,enum=google.monitoring.v3.GroupResourceType" json:"resource_type,omitempty"` 842} 843 844func (x *UptimeCheckConfig_ResourceGroup) Reset() { 845 *x = UptimeCheckConfig_ResourceGroup{} 846 if protoimpl.UnsafeEnabled { 847 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[3] 848 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 849 ms.StoreMessageInfo(mi) 850 } 851} 852 853func (x *UptimeCheckConfig_ResourceGroup) String() string { 854 return protoimpl.X.MessageStringOf(x) 855} 856 857func (*UptimeCheckConfig_ResourceGroup) ProtoMessage() {} 858 859func (x *UptimeCheckConfig_ResourceGroup) ProtoReflect() protoreflect.Message { 860 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[3] 861 if protoimpl.UnsafeEnabled && x != nil { 862 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 863 if ms.LoadMessageInfo() == nil { 864 ms.StoreMessageInfo(mi) 865 } 866 return ms 867 } 868 return mi.MessageOf(x) 869} 870 871// Deprecated: Use UptimeCheckConfig_ResourceGroup.ProtoReflect.Descriptor instead. 872func (*UptimeCheckConfig_ResourceGroup) Descriptor() ([]byte, []int) { 873 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 0} 874} 875 876func (x *UptimeCheckConfig_ResourceGroup) GetGroupId() string { 877 if x != nil { 878 return x.GroupId 879 } 880 return "" 881} 882 883func (x *UptimeCheckConfig_ResourceGroup) GetResourceType() GroupResourceType { 884 if x != nil { 885 return x.ResourceType 886 } 887 return GroupResourceType_RESOURCE_TYPE_UNSPECIFIED 888} 889 890// Information involved in an HTTP/HTTPS Uptime check request. 891type UptimeCheckConfig_HttpCheck struct { 892 state protoimpl.MessageState 893 sizeCache protoimpl.SizeCache 894 unknownFields protoimpl.UnknownFields 895 896 // The HTTP request method to use for the check. If set to 897 // `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`. 898 RequestMethod UptimeCheckConfig_HttpCheck_RequestMethod `protobuf:"varint,8,opt,name=request_method,json=requestMethod,proto3,enum=google.monitoring.v3.UptimeCheckConfig_HttpCheck_RequestMethod" json:"request_method,omitempty"` 899 // If `true`, use HTTPS instead of HTTP to run the check. 900 UseSsl bool `protobuf:"varint,1,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"` 901 // Optional (defaults to "/"). The path to the page against which to run 902 // the check. Will be combined with the `host` (specified within the 903 // `monitored_resource`) and `port` to construct the full URL. If the 904 // provided path does not begin with "/", a "/" will be prepended 905 // automatically. 906 Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` 907 // Optional (defaults to 80 when `use_ssl` is `false`, and 443 when 908 // `use_ssl` is `true`). The TCP port on the HTTP server against which to 909 // run the check. Will be combined with host (specified within the 910 // `monitored_resource`) and `path` to construct the full URL. 911 Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` 912 // The authentication information. Optional when creating an HTTP check; 913 // defaults to empty. 914 AuthInfo *UptimeCheckConfig_HttpCheck_BasicAuthentication `protobuf:"bytes,4,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` 915 // Boolean specifying whether to encrypt the header information. 916 // Encryption should be specified for any headers related to authentication 917 // that you do not wish to be seen when retrieving the configuration. The 918 // server will be responsible for encrypting the headers. 919 // On Get/List calls, if `mask_headers` is set to `true` then the headers 920 // will be obscured with `******.` 921 MaskHeaders bool `protobuf:"varint,5,opt,name=mask_headers,json=maskHeaders,proto3" json:"mask_headers,omitempty"` 922 // The list of headers to send as part of the Uptime check request. 923 // If two headers have the same key and different values, they should 924 // be entered as a single header, with the value being a comma-separated 925 // list of all the desired values as described at 926 // https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). 927 // Entering two separate headers with the same key in a Create call will 928 // cause the first to be overwritten by the second. 929 // The maximum number of headers allowed is 100. 930 Headers map[string]string `protobuf:"bytes,6,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 931 // The content type header to use for the check. The following 932 // configurations result in errors: 933 // 1. Content type is specified in both the `headers` field and the 934 // `content_type` field. 935 // 2. Request method is `GET` and `content_type` is not `TYPE_UNSPECIFIED` 936 // 3. Request method is `POST` and `content_type` is `TYPE_UNSPECIFIED`. 937 // 4. Request method is `POST` and a "Content-Type" header is provided via 938 // `headers` field. The `content_type` field should be used instead. 939 ContentType UptimeCheckConfig_HttpCheck_ContentType `protobuf:"varint,9,opt,name=content_type,json=contentType,proto3,enum=google.monitoring.v3.UptimeCheckConfig_HttpCheck_ContentType" json:"content_type,omitempty"` 940 // Boolean specifying whether to include SSL certificate validation as a 941 // part of the Uptime check. Only applies to checks where 942 // `monitored_resource` is set to `uptime_url`. If `use_ssl` is `false`, 943 // setting `validate_ssl` to `true` has no effect. 944 ValidateSsl bool `protobuf:"varint,7,opt,name=validate_ssl,json=validateSsl,proto3" json:"validate_ssl,omitempty"` 945 // The request body associated with the HTTP POST request. If `content_type` 946 // is `URL_ENCODED`, the body passed in must be URL-encoded. Users can 947 // provide a `Content-Length` header via the `headers` field or the API will 948 // do so. If the `request_method` is `GET` and `body` is not empty, the API 949 // will return an error. The maximum byte size is 1 megabyte. Note: As with 950 // all `bytes` fields, JSON representations are base64 encoded. e.g.: 951 // "foo=bar" in URL-encoded form is "foo%3Dbar" and in base64 encoding is 952 // "Zm9vJTI1M0RiYXI=". 953 Body []byte `protobuf:"bytes,10,opt,name=body,proto3" json:"body,omitempty"` 954} 955 956func (x *UptimeCheckConfig_HttpCheck) Reset() { 957 *x = UptimeCheckConfig_HttpCheck{} 958 if protoimpl.UnsafeEnabled { 959 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[4] 960 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 961 ms.StoreMessageInfo(mi) 962 } 963} 964 965func (x *UptimeCheckConfig_HttpCheck) String() string { 966 return protoimpl.X.MessageStringOf(x) 967} 968 969func (*UptimeCheckConfig_HttpCheck) ProtoMessage() {} 970 971func (x *UptimeCheckConfig_HttpCheck) ProtoReflect() protoreflect.Message { 972 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[4] 973 if protoimpl.UnsafeEnabled && x != nil { 974 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 975 if ms.LoadMessageInfo() == nil { 976 ms.StoreMessageInfo(mi) 977 } 978 return ms 979 } 980 return mi.MessageOf(x) 981} 982 983// Deprecated: Use UptimeCheckConfig_HttpCheck.ProtoReflect.Descriptor instead. 984func (*UptimeCheckConfig_HttpCheck) Descriptor() ([]byte, []int) { 985 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 1} 986} 987 988func (x *UptimeCheckConfig_HttpCheck) GetRequestMethod() UptimeCheckConfig_HttpCheck_RequestMethod { 989 if x != nil { 990 return x.RequestMethod 991 } 992 return UptimeCheckConfig_HttpCheck_METHOD_UNSPECIFIED 993} 994 995func (x *UptimeCheckConfig_HttpCheck) GetUseSsl() bool { 996 if x != nil { 997 return x.UseSsl 998 } 999 return false 1000} 1001 1002func (x *UptimeCheckConfig_HttpCheck) GetPath() string { 1003 if x != nil { 1004 return x.Path 1005 } 1006 return "" 1007} 1008 1009func (x *UptimeCheckConfig_HttpCheck) GetPort() int32 { 1010 if x != nil { 1011 return x.Port 1012 } 1013 return 0 1014} 1015 1016func (x *UptimeCheckConfig_HttpCheck) GetAuthInfo() *UptimeCheckConfig_HttpCheck_BasicAuthentication { 1017 if x != nil { 1018 return x.AuthInfo 1019 } 1020 return nil 1021} 1022 1023func (x *UptimeCheckConfig_HttpCheck) GetMaskHeaders() bool { 1024 if x != nil { 1025 return x.MaskHeaders 1026 } 1027 return false 1028} 1029 1030func (x *UptimeCheckConfig_HttpCheck) GetHeaders() map[string]string { 1031 if x != nil { 1032 return x.Headers 1033 } 1034 return nil 1035} 1036 1037func (x *UptimeCheckConfig_HttpCheck) GetContentType() UptimeCheckConfig_HttpCheck_ContentType { 1038 if x != nil { 1039 return x.ContentType 1040 } 1041 return UptimeCheckConfig_HttpCheck_TYPE_UNSPECIFIED 1042} 1043 1044func (x *UptimeCheckConfig_HttpCheck) GetValidateSsl() bool { 1045 if x != nil { 1046 return x.ValidateSsl 1047 } 1048 return false 1049} 1050 1051func (x *UptimeCheckConfig_HttpCheck) GetBody() []byte { 1052 if x != nil { 1053 return x.Body 1054 } 1055 return nil 1056} 1057 1058// Information required for a TCP Uptime check request. 1059type UptimeCheckConfig_TcpCheck struct { 1060 state protoimpl.MessageState 1061 sizeCache protoimpl.SizeCache 1062 unknownFields protoimpl.UnknownFields 1063 1064 // The TCP port on the server against which to run the check. Will be 1065 // combined with host (specified within the `monitored_resource`) to 1066 // construct the full URL. Required. 1067 Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` 1068} 1069 1070func (x *UptimeCheckConfig_TcpCheck) Reset() { 1071 *x = UptimeCheckConfig_TcpCheck{} 1072 if protoimpl.UnsafeEnabled { 1073 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[5] 1074 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1075 ms.StoreMessageInfo(mi) 1076 } 1077} 1078 1079func (x *UptimeCheckConfig_TcpCheck) String() string { 1080 return protoimpl.X.MessageStringOf(x) 1081} 1082 1083func (*UptimeCheckConfig_TcpCheck) ProtoMessage() {} 1084 1085func (x *UptimeCheckConfig_TcpCheck) ProtoReflect() protoreflect.Message { 1086 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[5] 1087 if protoimpl.UnsafeEnabled && x != nil { 1088 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1089 if ms.LoadMessageInfo() == nil { 1090 ms.StoreMessageInfo(mi) 1091 } 1092 return ms 1093 } 1094 return mi.MessageOf(x) 1095} 1096 1097// Deprecated: Use UptimeCheckConfig_TcpCheck.ProtoReflect.Descriptor instead. 1098func (*UptimeCheckConfig_TcpCheck) Descriptor() ([]byte, []int) { 1099 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 2} 1100} 1101 1102func (x *UptimeCheckConfig_TcpCheck) GetPort() int32 { 1103 if x != nil { 1104 return x.Port 1105 } 1106 return 0 1107} 1108 1109// Optional. Used to perform content matching. This allows matching based on 1110// substrings and regular expressions, together with their negations. Only the 1111// first 4 MB of an HTTP or HTTPS check's response (and the first 1112// 1 MB of a TCP check's response) are examined for purposes of content 1113// matching. 1114type UptimeCheckConfig_ContentMatcher struct { 1115 state protoimpl.MessageState 1116 sizeCache protoimpl.SizeCache 1117 unknownFields protoimpl.UnknownFields 1118 1119 // String or regex content to match. Maximum 1024 bytes. An empty `content` 1120 // string indicates no content matching is to be performed. 1121 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` 1122 // The type of content matcher that will be applied to the server output, 1123 // compared to the `content` string when the check is run. 1124 Matcher UptimeCheckConfig_ContentMatcher_ContentMatcherOption `protobuf:"varint,2,opt,name=matcher,proto3,enum=google.monitoring.v3.UptimeCheckConfig_ContentMatcher_ContentMatcherOption" json:"matcher,omitempty"` 1125} 1126 1127func (x *UptimeCheckConfig_ContentMatcher) Reset() { 1128 *x = UptimeCheckConfig_ContentMatcher{} 1129 if protoimpl.UnsafeEnabled { 1130 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[6] 1131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1132 ms.StoreMessageInfo(mi) 1133 } 1134} 1135 1136func (x *UptimeCheckConfig_ContentMatcher) String() string { 1137 return protoimpl.X.MessageStringOf(x) 1138} 1139 1140func (*UptimeCheckConfig_ContentMatcher) ProtoMessage() {} 1141 1142func (x *UptimeCheckConfig_ContentMatcher) ProtoReflect() protoreflect.Message { 1143 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[6] 1144 if protoimpl.UnsafeEnabled && x != nil { 1145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1146 if ms.LoadMessageInfo() == nil { 1147 ms.StoreMessageInfo(mi) 1148 } 1149 return ms 1150 } 1151 return mi.MessageOf(x) 1152} 1153 1154// Deprecated: Use UptimeCheckConfig_ContentMatcher.ProtoReflect.Descriptor instead. 1155func (*UptimeCheckConfig_ContentMatcher) Descriptor() ([]byte, []int) { 1156 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 3} 1157} 1158 1159func (x *UptimeCheckConfig_ContentMatcher) GetContent() string { 1160 if x != nil { 1161 return x.Content 1162 } 1163 return "" 1164} 1165 1166func (x *UptimeCheckConfig_ContentMatcher) GetMatcher() UptimeCheckConfig_ContentMatcher_ContentMatcherOption { 1167 if x != nil { 1168 return x.Matcher 1169 } 1170 return UptimeCheckConfig_ContentMatcher_CONTENT_MATCHER_OPTION_UNSPECIFIED 1171} 1172 1173// The authentication parameters to provide to the specified resource or 1174// URL that requires a username and password. Currently, only 1175// [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is 1176// supported in Uptime checks. 1177type UptimeCheckConfig_HttpCheck_BasicAuthentication struct { 1178 state protoimpl.MessageState 1179 sizeCache protoimpl.SizeCache 1180 unknownFields protoimpl.UnknownFields 1181 1182 // The username to use when authenticating with the HTTP server. 1183 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` 1184 // The password to use when authenticating with the HTTP server. 1185 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 1186} 1187 1188func (x *UptimeCheckConfig_HttpCheck_BasicAuthentication) Reset() { 1189 *x = UptimeCheckConfig_HttpCheck_BasicAuthentication{} 1190 if protoimpl.UnsafeEnabled { 1191 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[7] 1192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1193 ms.StoreMessageInfo(mi) 1194 } 1195} 1196 1197func (x *UptimeCheckConfig_HttpCheck_BasicAuthentication) String() string { 1198 return protoimpl.X.MessageStringOf(x) 1199} 1200 1201func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) ProtoMessage() {} 1202 1203func (x *UptimeCheckConfig_HttpCheck_BasicAuthentication) ProtoReflect() protoreflect.Message { 1204 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[7] 1205 if protoimpl.UnsafeEnabled && x != nil { 1206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1207 if ms.LoadMessageInfo() == nil { 1208 ms.StoreMessageInfo(mi) 1209 } 1210 return ms 1211 } 1212 return mi.MessageOf(x) 1213} 1214 1215// Deprecated: Use UptimeCheckConfig_HttpCheck_BasicAuthentication.ProtoReflect.Descriptor instead. 1216func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) Descriptor() ([]byte, []int) { 1217 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 1, 0} 1218} 1219 1220func (x *UptimeCheckConfig_HttpCheck_BasicAuthentication) GetUsername() string { 1221 if x != nil { 1222 return x.Username 1223 } 1224 return "" 1225} 1226 1227func (x *UptimeCheckConfig_HttpCheck_BasicAuthentication) GetPassword() string { 1228 if x != nil { 1229 return x.Password 1230 } 1231 return "" 1232} 1233 1234var File_google_monitoring_v3_uptime_proto protoreflect.FileDescriptor 1235 1236var file_google_monitoring_v3_uptime_proto_rawDesc = []byte{ 1237 0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1238 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 1239 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 1240 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1241 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 1242 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 1243 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 1244 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1245 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 1246 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x02, 0x0a, 0x0f, 0x49, 0x6e, 1247 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x12, 0x0a, 1248 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 1249 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 1250 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 1251 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 1252 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x19, 1253 0x0a, 0x08, 0x67, 0x63, 0x70, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 1254 0x52, 0x07, 0x67, 0x63, 0x70, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x65, 1255 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 1256 0x28, 0x09, 0x52, 0x0d, 0x70, 0x65, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 1257 0x64, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 1258 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 1259 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 1260 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 1261 0x74, 0x61, 0x74, 0x65, 0x22, 0x33, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 1262 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 1263 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 1264 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x3a, 0x02, 0x18, 0x01, 0x22, 0xc8, 0x12, 1265 0x0a, 0x11, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 1266 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 1267 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 1268 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 1269 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x12, 0x6d, 0x6f, 1270 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1271 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1272 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 1273 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1274 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x0e, 0x72, 0x65, 1275 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 1276 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 1277 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 1278 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x6f, 1279 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x73, 1280 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x52, 0x0a, 0x0a, 0x68, 0x74, 1281 0x74, 0x70, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 1282 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 1283 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 1284 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x43, 0x68, 0x65, 0x63, 1285 0x6b, 0x48, 0x01, 0x52, 0x09, 0x68, 0x74, 0x74, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x4f, 1286 0x0a, 0x09, 0x74, 0x63, 0x70, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 1287 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 1288 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 1289 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x63, 0x70, 0x43, 0x68, 1290 0x65, 0x63, 0x6b, 0x48, 0x01, 0x52, 0x08, 0x74, 0x63, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 1291 0x31, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 1292 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1293 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 1294 0x6f, 0x64, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x08, 0x20, 1295 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1296 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 1297 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x61, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 1298 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 1299 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 1300 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 1301 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 1302 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 1303 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x10, 0x73, 0x65, 1304 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 1305 0x20, 0x03, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 1306 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 1307 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x73, 1308 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 1309 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18, 0x0f, 0x20, 1310 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x69, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 1311 0x6e, 0x61, 0x6c, 0x12, 0x56, 0x0a, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 1312 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 1313 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 1314 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x68, 1315 0x65, 0x63, 0x6b, 0x65, 0x72, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x72, 1316 0x6e, 0x61, 0x6c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x73, 0x1a, 0x78, 0x0a, 0x0d, 0x52, 1317 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x19, 0x0a, 0x08, 1318 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 1319 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 1320 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 1321 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 1322 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x6f, 0x75, 1323 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 1324 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0xab, 0x06, 0x0a, 0x09, 0x48, 0x74, 0x74, 0x70, 0x43, 0x68, 1325 0x65, 0x63, 0x6b, 0x12, 0x66, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 1326 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 1327 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 1328 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 1329 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x52, 1330 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0d, 0x72, 0x65, 1331 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 1332 0x73, 0x65, 0x5f, 0x73, 0x73, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 1333 0x65, 0x53, 0x73, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 1334 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 1335 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x62, 0x0a, 0x09, 1336 0x61, 0x75, 0x74, 0x68, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 1337 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1338 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 1339 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x43, 0x68, 0x65, 1340 0x63, 0x6b, 0x2e, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 1341 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 1342 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x73, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 1343 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6d, 0x61, 0x73, 0x6b, 0x48, 0x65, 0x61, 0x64, 1344 0x65, 0x72, 0x73, 0x12, 0x58, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x06, 1345 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 1346 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 1347 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x74, 1348 0x74, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 1349 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x60, 0x0a, 1350 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 1351 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 1352 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 1353 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x74, 0x74, 1354 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 1355 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 1356 0x21, 0x0a, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x73, 0x6c, 0x18, 1357 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 1358 0x73, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 1359 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x1a, 0x4d, 0x0a, 0x13, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 1360 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 1361 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 1362 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 1363 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 1364 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 1365 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 1366 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 1367 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 1368 0x01, 0x22, 0x3a, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 1369 0x6f, 0x64, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 1370 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x45, 1371 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x22, 0x34, 0x0a, 1372 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 1373 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 1374 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x52, 0x4c, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 1375 0x44, 0x10, 0x01, 0x1a, 0x1e, 0x0a, 0x08, 0x54, 0x63, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 1376 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 1377 0x6f, 0x72, 0x74, 0x1a, 0xaa, 0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4d, 1378 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 1379 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1380 0x12, 0x65, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 1381 0x0e, 0x32, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 1382 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 1383 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 1384 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 1385 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 1386 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x22, 0x96, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x74, 1387 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 1388 0x12, 0x26, 0x0a, 0x22, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 1389 0x48, 0x45, 0x52, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 1390 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4e, 0x54, 1391 0x41, 0x49, 0x4e, 0x53, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x17, 0x0a, 1392 0x13, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x53, 0x5f, 0x53, 0x54, 1393 0x52, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x45, 1394 0x53, 0x5f, 0x52, 0x45, 0x47, 0x45, 0x58, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x54, 1395 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x47, 0x45, 0x58, 0x10, 0x04, 1396 0x3a, 0xf3, 0x01, 0xea, 0x41, 0xef, 0x01, 0x0a, 0x2b, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1397 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1398 0x6f, 0x6d, 0x2f, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 1399 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 1400 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 1401 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x75, 0x70, 0x74, 1402 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1403 0x7d, 0x12, 0x45, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1404 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 1405 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1406 0x67, 0x73, 0x2f, 0x7b, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 1407 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x12, 0x39, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 1408 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x75, 0x70, 0x74, 0x69, 0x6d, 1409 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x75, 1410 0x70, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 1411 0x69, 0x67, 0x7d, 0x12, 0x01, 0x2a, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 1412 0x63, 0x65, 0x42, 0x14, 0x0a, 0x12, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, 1413 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x74, 1414 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x70, 0x12, 0x3f, 0x0a, 0x06, 0x72, 0x65, 1415 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 1416 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 1417 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x67, 1418 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 1419 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 1420 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x70, 0x5f, 0x61, 0x64, 1421 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x70, 0x41, 1422 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2a, 0x65, 0x0a, 0x11, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 1423 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x52, 1424 0x45, 0x47, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 1425 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x53, 0x41, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 1426 0x45, 0x55, 0x52, 0x4f, 0x50, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x4f, 0x55, 0x54, 1427 0x48, 0x5f, 0x41, 0x4d, 0x45, 0x52, 0x49, 0x43, 0x41, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x41, 1428 0x53, 0x49, 0x41, 0x5f, 0x50, 0x41, 0x43, 0x49, 0x46, 0x49, 0x43, 0x10, 0x04, 0x2a, 0x5b, 0x0a, 1429 0x11, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 1430 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 1431 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 1432 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x01, 0x12, 1433 0x19, 0x0a, 0x15, 0x41, 0x57, 0x53, 0x5f, 0x45, 0x4c, 0x42, 0x5f, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 1434 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x45, 0x52, 0x10, 0x02, 0x42, 0xc3, 0x01, 0x0a, 0x18, 0x63, 1435 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 1436 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x42, 0x0b, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x50, 1437 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 1438 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 1439 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x6f, 1440 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x3b, 0x6d, 0x6f, 0x6e, 0x69, 1441 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1442 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 1443 0x2e, 0x56, 0x33, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 1444 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x33, 1445 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 1446 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x33, 1447 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1448} 1449 1450var ( 1451 file_google_monitoring_v3_uptime_proto_rawDescOnce sync.Once 1452 file_google_monitoring_v3_uptime_proto_rawDescData = file_google_monitoring_v3_uptime_proto_rawDesc 1453) 1454 1455func file_google_monitoring_v3_uptime_proto_rawDescGZIP() []byte { 1456 file_google_monitoring_v3_uptime_proto_rawDescOnce.Do(func() { 1457 file_google_monitoring_v3_uptime_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_v3_uptime_proto_rawDescData) 1458 }) 1459 return file_google_monitoring_v3_uptime_proto_rawDescData 1460} 1461 1462var file_google_monitoring_v3_uptime_proto_enumTypes = make([]protoimpl.EnumInfo, 6) 1463var file_google_monitoring_v3_uptime_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 1464var file_google_monitoring_v3_uptime_proto_goTypes = []interface{}{ 1465 (UptimeCheckRegion)(0), // 0: google.monitoring.v3.UptimeCheckRegion 1466 (GroupResourceType)(0), // 1: google.monitoring.v3.GroupResourceType 1467 (InternalChecker_State)(0), // 2: google.monitoring.v3.InternalChecker.State 1468 (UptimeCheckConfig_HttpCheck_RequestMethod)(0), // 3: google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod 1469 (UptimeCheckConfig_HttpCheck_ContentType)(0), // 4: google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType 1470 (UptimeCheckConfig_ContentMatcher_ContentMatcherOption)(0), // 5: google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption 1471 (*InternalChecker)(nil), // 6: google.monitoring.v3.InternalChecker 1472 (*UptimeCheckConfig)(nil), // 7: google.monitoring.v3.UptimeCheckConfig 1473 (*UptimeCheckIp)(nil), // 8: google.monitoring.v3.UptimeCheckIp 1474 (*UptimeCheckConfig_ResourceGroup)(nil), // 9: google.monitoring.v3.UptimeCheckConfig.ResourceGroup 1475 (*UptimeCheckConfig_HttpCheck)(nil), // 10: google.monitoring.v3.UptimeCheckConfig.HttpCheck 1476 (*UptimeCheckConfig_TcpCheck)(nil), // 11: google.monitoring.v3.UptimeCheckConfig.TcpCheck 1477 (*UptimeCheckConfig_ContentMatcher)(nil), // 12: google.monitoring.v3.UptimeCheckConfig.ContentMatcher 1478 (*UptimeCheckConfig_HttpCheck_BasicAuthentication)(nil), // 13: google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication 1479 nil, // 14: google.monitoring.v3.UptimeCheckConfig.HttpCheck.HeadersEntry 1480 (*monitoredres.MonitoredResource)(nil), // 15: google.api.MonitoredResource 1481 (*durationpb.Duration)(nil), // 16: google.protobuf.Duration 1482} 1483var file_google_monitoring_v3_uptime_proto_depIdxs = []int32{ 1484 2, // 0: google.monitoring.v3.InternalChecker.state:type_name -> google.monitoring.v3.InternalChecker.State 1485 15, // 1: google.monitoring.v3.UptimeCheckConfig.monitored_resource:type_name -> google.api.MonitoredResource 1486 9, // 2: google.monitoring.v3.UptimeCheckConfig.resource_group:type_name -> google.monitoring.v3.UptimeCheckConfig.ResourceGroup 1487 10, // 3: google.monitoring.v3.UptimeCheckConfig.http_check:type_name -> google.monitoring.v3.UptimeCheckConfig.HttpCheck 1488 11, // 4: google.monitoring.v3.UptimeCheckConfig.tcp_check:type_name -> google.monitoring.v3.UptimeCheckConfig.TcpCheck 1489 16, // 5: google.monitoring.v3.UptimeCheckConfig.period:type_name -> google.protobuf.Duration 1490 16, // 6: google.monitoring.v3.UptimeCheckConfig.timeout:type_name -> google.protobuf.Duration 1491 12, // 7: google.monitoring.v3.UptimeCheckConfig.content_matchers:type_name -> google.monitoring.v3.UptimeCheckConfig.ContentMatcher 1492 0, // 8: google.monitoring.v3.UptimeCheckConfig.selected_regions:type_name -> google.monitoring.v3.UptimeCheckRegion 1493 6, // 9: google.monitoring.v3.UptimeCheckConfig.internal_checkers:type_name -> google.monitoring.v3.InternalChecker 1494 0, // 10: google.monitoring.v3.UptimeCheckIp.region:type_name -> google.monitoring.v3.UptimeCheckRegion 1495 1, // 11: google.monitoring.v3.UptimeCheckConfig.ResourceGroup.resource_type:type_name -> google.monitoring.v3.GroupResourceType 1496 3, // 12: google.monitoring.v3.UptimeCheckConfig.HttpCheck.request_method:type_name -> google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod 1497 13, // 13: google.monitoring.v3.UptimeCheckConfig.HttpCheck.auth_info:type_name -> google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication 1498 14, // 14: google.monitoring.v3.UptimeCheckConfig.HttpCheck.headers:type_name -> google.monitoring.v3.UptimeCheckConfig.HttpCheck.HeadersEntry 1499 4, // 15: google.monitoring.v3.UptimeCheckConfig.HttpCheck.content_type:type_name -> google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType 1500 5, // 16: google.monitoring.v3.UptimeCheckConfig.ContentMatcher.matcher:type_name -> google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption 1501 17, // [17:17] is the sub-list for method output_type 1502 17, // [17:17] is the sub-list for method input_type 1503 17, // [17:17] is the sub-list for extension type_name 1504 17, // [17:17] is the sub-list for extension extendee 1505 0, // [0:17] is the sub-list for field type_name 1506} 1507 1508func init() { file_google_monitoring_v3_uptime_proto_init() } 1509func file_google_monitoring_v3_uptime_proto_init() { 1510 if File_google_monitoring_v3_uptime_proto != nil { 1511 return 1512 } 1513 if !protoimpl.UnsafeEnabled { 1514 file_google_monitoring_v3_uptime_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1515 switch v := v.(*InternalChecker); i { 1516 case 0: 1517 return &v.state 1518 case 1: 1519 return &v.sizeCache 1520 case 2: 1521 return &v.unknownFields 1522 default: 1523 return nil 1524 } 1525 } 1526 file_google_monitoring_v3_uptime_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1527 switch v := v.(*UptimeCheckConfig); i { 1528 case 0: 1529 return &v.state 1530 case 1: 1531 return &v.sizeCache 1532 case 2: 1533 return &v.unknownFields 1534 default: 1535 return nil 1536 } 1537 } 1538 file_google_monitoring_v3_uptime_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1539 switch v := v.(*UptimeCheckIp); i { 1540 case 0: 1541 return &v.state 1542 case 1: 1543 return &v.sizeCache 1544 case 2: 1545 return &v.unknownFields 1546 default: 1547 return nil 1548 } 1549 } 1550 file_google_monitoring_v3_uptime_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1551 switch v := v.(*UptimeCheckConfig_ResourceGroup); i { 1552 case 0: 1553 return &v.state 1554 case 1: 1555 return &v.sizeCache 1556 case 2: 1557 return &v.unknownFields 1558 default: 1559 return nil 1560 } 1561 } 1562 file_google_monitoring_v3_uptime_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1563 switch v := v.(*UptimeCheckConfig_HttpCheck); i { 1564 case 0: 1565 return &v.state 1566 case 1: 1567 return &v.sizeCache 1568 case 2: 1569 return &v.unknownFields 1570 default: 1571 return nil 1572 } 1573 } 1574 file_google_monitoring_v3_uptime_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1575 switch v := v.(*UptimeCheckConfig_TcpCheck); i { 1576 case 0: 1577 return &v.state 1578 case 1: 1579 return &v.sizeCache 1580 case 2: 1581 return &v.unknownFields 1582 default: 1583 return nil 1584 } 1585 } 1586 file_google_monitoring_v3_uptime_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1587 switch v := v.(*UptimeCheckConfig_ContentMatcher); i { 1588 case 0: 1589 return &v.state 1590 case 1: 1591 return &v.sizeCache 1592 case 2: 1593 return &v.unknownFields 1594 default: 1595 return nil 1596 } 1597 } 1598 file_google_monitoring_v3_uptime_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1599 switch v := v.(*UptimeCheckConfig_HttpCheck_BasicAuthentication); i { 1600 case 0: 1601 return &v.state 1602 case 1: 1603 return &v.sizeCache 1604 case 2: 1605 return &v.unknownFields 1606 default: 1607 return nil 1608 } 1609 } 1610 } 1611 file_google_monitoring_v3_uptime_proto_msgTypes[1].OneofWrappers = []interface{}{ 1612 (*UptimeCheckConfig_MonitoredResource)(nil), 1613 (*UptimeCheckConfig_ResourceGroup_)(nil), 1614 (*UptimeCheckConfig_HttpCheck_)(nil), 1615 (*UptimeCheckConfig_TcpCheck_)(nil), 1616 } 1617 type x struct{} 1618 out := protoimpl.TypeBuilder{ 1619 File: protoimpl.DescBuilder{ 1620 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1621 RawDescriptor: file_google_monitoring_v3_uptime_proto_rawDesc, 1622 NumEnums: 6, 1623 NumMessages: 9, 1624 NumExtensions: 0, 1625 NumServices: 0, 1626 }, 1627 GoTypes: file_google_monitoring_v3_uptime_proto_goTypes, 1628 DependencyIndexes: file_google_monitoring_v3_uptime_proto_depIdxs, 1629 EnumInfos: file_google_monitoring_v3_uptime_proto_enumTypes, 1630 MessageInfos: file_google_monitoring_v3_uptime_proto_msgTypes, 1631 }.Build() 1632 File_google_monitoring_v3_uptime_proto = out.File 1633 file_google_monitoring_v3_uptime_proto_rawDesc = nil 1634 file_google_monitoring_v3_uptime_proto_goTypes = nil 1635 file_google_monitoring_v3_uptime_proto_depIdxs = nil 1636} 1637