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