1// Copyright 2020 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.22.0 18// protoc v3.11.2 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 duration "github.com/golang/protobuf/ptypes/duration" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" 31 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 32 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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 the body in HTTP 285// requests. Note that a `Content-Type` header cannot be present in the 286// `headers` field if this field is specified. 287type UptimeCheckConfig_HttpCheck_ContentType int32 288 289const ( 290 // No content type specified. If the request method is POST, an 291 // unspecified content type results in a check creation rejection. 292 UptimeCheckConfig_HttpCheck_TYPE_UNSPECIFIED UptimeCheckConfig_HttpCheck_ContentType = 0 293 // `body` is in URL-encoded form. Equivalent to setting the `Content-Type` 294 // to `application/x-www-form-urlencoded` in the HTTP request. 295 UptimeCheckConfig_HttpCheck_URL_ENCODED UptimeCheckConfig_HttpCheck_ContentType = 1 296) 297 298// Enum value maps for UptimeCheckConfig_HttpCheck_ContentType. 299var ( 300 UptimeCheckConfig_HttpCheck_ContentType_name = map[int32]string{ 301 0: "TYPE_UNSPECIFIED", 302 1: "URL_ENCODED", 303 } 304 UptimeCheckConfig_HttpCheck_ContentType_value = map[string]int32{ 305 "TYPE_UNSPECIFIED": 0, 306 "URL_ENCODED": 1, 307 } 308) 309 310func (x UptimeCheckConfig_HttpCheck_ContentType) Enum() *UptimeCheckConfig_HttpCheck_ContentType { 311 p := new(UptimeCheckConfig_HttpCheck_ContentType) 312 *p = x 313 return p 314} 315 316func (x UptimeCheckConfig_HttpCheck_ContentType) String() string { 317 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 318} 319 320func (UptimeCheckConfig_HttpCheck_ContentType) Descriptor() protoreflect.EnumDescriptor { 321 return file_google_monitoring_v3_uptime_proto_enumTypes[4].Descriptor() 322} 323 324func (UptimeCheckConfig_HttpCheck_ContentType) Type() protoreflect.EnumType { 325 return &file_google_monitoring_v3_uptime_proto_enumTypes[4] 326} 327 328func (x UptimeCheckConfig_HttpCheck_ContentType) Number() protoreflect.EnumNumber { 329 return protoreflect.EnumNumber(x) 330} 331 332// Deprecated: Use UptimeCheckConfig_HttpCheck_ContentType.Descriptor instead. 333func (UptimeCheckConfig_HttpCheck_ContentType) EnumDescriptor() ([]byte, []int) { 334 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 1, 1} 335} 336 337// Options to perform content matching. 338type UptimeCheckConfig_ContentMatcher_ContentMatcherOption int32 339 340const ( 341 // No content matcher type specified (maintained for backward 342 // compatibility, but deprecated for future use). 343 // Treated as `CONTAINS_STRING`. 344 UptimeCheckConfig_ContentMatcher_CONTENT_MATCHER_OPTION_UNSPECIFIED UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 0 345 // Selects substring matching. The match succeeds if the output contains 346 // the `content` string. This is the default value for checks without 347 // a `matcher` option, or where the value of `matcher` is 348 // `CONTENT_MATCHER_OPTION_UNSPECIFIED`. 349 UptimeCheckConfig_ContentMatcher_CONTAINS_STRING UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 1 350 // Selects negation of substring matching. The match succeeds if the 351 // output does _NOT_ contain the `content` string. 352 UptimeCheckConfig_ContentMatcher_NOT_CONTAINS_STRING UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 2 353 // Selects regular-expression matching. The match succeeds of the output 354 // matches the regular expression specified in the `content` string. 355 UptimeCheckConfig_ContentMatcher_MATCHES_REGEX UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 3 356 // Selects negation of regular-expression matching. The match succeeds if 357 // the output does _NOT_ match the regular expression specified in the 358 // `content` string. 359 UptimeCheckConfig_ContentMatcher_NOT_MATCHES_REGEX UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 4 360) 361 362// Enum value maps for UptimeCheckConfig_ContentMatcher_ContentMatcherOption. 363var ( 364 UptimeCheckConfig_ContentMatcher_ContentMatcherOption_name = map[int32]string{ 365 0: "CONTENT_MATCHER_OPTION_UNSPECIFIED", 366 1: "CONTAINS_STRING", 367 2: "NOT_CONTAINS_STRING", 368 3: "MATCHES_REGEX", 369 4: "NOT_MATCHES_REGEX", 370 } 371 UptimeCheckConfig_ContentMatcher_ContentMatcherOption_value = map[string]int32{ 372 "CONTENT_MATCHER_OPTION_UNSPECIFIED": 0, 373 "CONTAINS_STRING": 1, 374 "NOT_CONTAINS_STRING": 2, 375 "MATCHES_REGEX": 3, 376 "NOT_MATCHES_REGEX": 4, 377 } 378) 379 380func (x UptimeCheckConfig_ContentMatcher_ContentMatcherOption) Enum() *UptimeCheckConfig_ContentMatcher_ContentMatcherOption { 381 p := new(UptimeCheckConfig_ContentMatcher_ContentMatcherOption) 382 *p = x 383 return p 384} 385 386func (x UptimeCheckConfig_ContentMatcher_ContentMatcherOption) String() string { 387 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 388} 389 390func (UptimeCheckConfig_ContentMatcher_ContentMatcherOption) Descriptor() protoreflect.EnumDescriptor { 391 return file_google_monitoring_v3_uptime_proto_enumTypes[5].Descriptor() 392} 393 394func (UptimeCheckConfig_ContentMatcher_ContentMatcherOption) Type() protoreflect.EnumType { 395 return &file_google_monitoring_v3_uptime_proto_enumTypes[5] 396} 397 398func (x UptimeCheckConfig_ContentMatcher_ContentMatcherOption) Number() protoreflect.EnumNumber { 399 return protoreflect.EnumNumber(x) 400} 401 402// Deprecated: Use UptimeCheckConfig_ContentMatcher_ContentMatcherOption.Descriptor instead. 403func (UptimeCheckConfig_ContentMatcher_ContentMatcherOption) EnumDescriptor() ([]byte, []int) { 404 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 3, 0} 405} 406 407// An internal checker allows Uptime checks to run on private/internal GCP 408// resources. 409// 410// Deprecated: Do not use. 411type InternalChecker struct { 412 state protoimpl.MessageState 413 sizeCache protoimpl.SizeCache 414 unknownFields protoimpl.UnknownFields 415 416 // A unique resource name for this InternalChecker. The format is: 417 // 418 // projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] 419 // 420 // `[PROJECT_ID_OR_NUMBER]` is the Stackdriver Workspace project for the 421 // Uptime check config associated with the internal checker. 422 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 423 // The checker's human-readable name. The display name 424 // should be unique within a Stackdriver Workspace in order to make it easier 425 // to identify; however, uniqueness is not enforced. 426 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 427 // The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the 428 // internal resource lives (ex: "default"). 429 Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` 430 // The GCP zone the Uptime check should egress from. Only respected for 431 // internal Uptime checks, where internal_network is specified. 432 GcpZone string `protobuf:"bytes,4,opt,name=gcp_zone,json=gcpZone,proto3" json:"gcp_zone,omitempty"` 433 // The GCP project ID where the internal checker lives. Not necessary 434 // the same as the Workspace project. 435 PeerProjectId string `protobuf:"bytes,6,opt,name=peer_project_id,json=peerProjectId,proto3" json:"peer_project_id,omitempty"` 436 // The current operational state of the internal checker. 437 State InternalChecker_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.monitoring.v3.InternalChecker_State" json:"state,omitempty"` 438} 439 440func (x *InternalChecker) Reset() { 441 *x = InternalChecker{} 442 if protoimpl.UnsafeEnabled { 443 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[0] 444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 445 ms.StoreMessageInfo(mi) 446 } 447} 448 449func (x *InternalChecker) String() string { 450 return protoimpl.X.MessageStringOf(x) 451} 452 453func (*InternalChecker) ProtoMessage() {} 454 455func (x *InternalChecker) ProtoReflect() protoreflect.Message { 456 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[0] 457 if protoimpl.UnsafeEnabled && x != nil { 458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 459 if ms.LoadMessageInfo() == nil { 460 ms.StoreMessageInfo(mi) 461 } 462 return ms 463 } 464 return mi.MessageOf(x) 465} 466 467// Deprecated: Use InternalChecker.ProtoReflect.Descriptor instead. 468func (*InternalChecker) Descriptor() ([]byte, []int) { 469 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{0} 470} 471 472func (x *InternalChecker) GetName() string { 473 if x != nil { 474 return x.Name 475 } 476 return "" 477} 478 479func (x *InternalChecker) GetDisplayName() string { 480 if x != nil { 481 return x.DisplayName 482 } 483 return "" 484} 485 486func (x *InternalChecker) GetNetwork() string { 487 if x != nil { 488 return x.Network 489 } 490 return "" 491} 492 493func (x *InternalChecker) GetGcpZone() string { 494 if x != nil { 495 return x.GcpZone 496 } 497 return "" 498} 499 500func (x *InternalChecker) GetPeerProjectId() string { 501 if x != nil { 502 return x.PeerProjectId 503 } 504 return "" 505} 506 507func (x *InternalChecker) GetState() InternalChecker_State { 508 if x != nil { 509 return x.State 510 } 511 return InternalChecker_UNSPECIFIED 512} 513 514// This message configures which resources and services to monitor for 515// availability. 516type UptimeCheckConfig struct { 517 state protoimpl.MessageState 518 sizeCache protoimpl.SizeCache 519 unknownFields protoimpl.UnknownFields 520 521 // A unique resource name for this Uptime check configuration. The format is: 522 // 523 // projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] 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 *duration.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 *duration.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() *duration.Duration { 670 if x != nil { 671 return x.Period 672 } 673 return nil 674} 675 676func (x *UptimeCheckConfig) GetTimeout() *duration.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. 899 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"` 900 // If `true`, use HTTPS instead of HTTP to run the check. 901 UseSsl bool `protobuf:"varint,1,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"` 902 // Optional (defaults to "/"). The path to the page against which to run 903 // the check. Will be combined with the `host` (specified within the 904 // `monitored_resource`) and `port` to construct the full URL. If the 905 // provided path does not begin with "/", a "/" will be prepended 906 // automatically. 907 Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` 908 // Optional (defaults to 80 when `use_ssl` is `false`, and 443 when 909 // `use_ssl` is `true`). The TCP port on the HTTP server against which to 910 // run the check. Will be combined with host (specified within the 911 // `monitored_resource`) and `path` to construct the full URL. 912 Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` 913 // The authentication information. Optional when creating an HTTP check; 914 // defaults to empty. 915 AuthInfo *UptimeCheckConfig_HttpCheck_BasicAuthentication `protobuf:"bytes,4,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` 916 // Boolean specifiying whether to encrypt the header information. 917 // Encryption should be specified for any headers related to authentication 918 // that you do not wish to be seen when retrieving the configuration. The 919 // server will be responsible for encrypting the headers. 920 // On Get/List calls, if `mask_headers` is set to `true` then the headers 921 // will be obscured with `******.` 922 MaskHeaders bool `protobuf:"varint,5,opt,name=mask_headers,json=maskHeaders,proto3" json:"mask_headers,omitempty"` 923 // The list of headers to send as part of the Uptime check request. 924 // If two headers have the same key and different values, they should 925 // be entered as a single header, with the value being a comma-separated 926 // list of all the desired values as described at 927 // https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). 928 // Entering two separate headers with the same key in a Create call will 929 // cause the first to be overwritten by the second. 930 // The maximum number of headers allowed is 100. 931 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"` 932 // The content type to use for the check. 933 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"` 934 // Boolean specifying whether to include SSL certificate validation as a 935 // part of the Uptime check. Only applies to checks where 936 // `monitored_resource` is set to `uptime_url`. If `use_ssl` is `false`, 937 // setting `validate_ssl` to `true` has no effect. 938 ValidateSsl bool `protobuf:"varint,7,opt,name=validate_ssl,json=validateSsl,proto3" json:"validate_ssl,omitempty"` 939 // The request body associated with the HTTP request. If `content_type` is 940 // `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide 941 // a `Content-Length` header via the `headers` field or the API will do 942 // so. The maximum byte size is 1 megabyte. Note: As with all `bytes` fields 943 // JSON representations are base64 encoded. 944 Body []byte `protobuf:"bytes,10,opt,name=body,proto3" json:"body,omitempty"` 945} 946 947func (x *UptimeCheckConfig_HttpCheck) Reset() { 948 *x = UptimeCheckConfig_HttpCheck{} 949 if protoimpl.UnsafeEnabled { 950 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[4] 951 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 952 ms.StoreMessageInfo(mi) 953 } 954} 955 956func (x *UptimeCheckConfig_HttpCheck) String() string { 957 return protoimpl.X.MessageStringOf(x) 958} 959 960func (*UptimeCheckConfig_HttpCheck) ProtoMessage() {} 961 962func (x *UptimeCheckConfig_HttpCheck) ProtoReflect() protoreflect.Message { 963 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[4] 964 if protoimpl.UnsafeEnabled && x != nil { 965 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 966 if ms.LoadMessageInfo() == nil { 967 ms.StoreMessageInfo(mi) 968 } 969 return ms 970 } 971 return mi.MessageOf(x) 972} 973 974// Deprecated: Use UptimeCheckConfig_HttpCheck.ProtoReflect.Descriptor instead. 975func (*UptimeCheckConfig_HttpCheck) Descriptor() ([]byte, []int) { 976 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 1} 977} 978 979func (x *UptimeCheckConfig_HttpCheck) GetRequestMethod() UptimeCheckConfig_HttpCheck_RequestMethod { 980 if x != nil { 981 return x.RequestMethod 982 } 983 return UptimeCheckConfig_HttpCheck_METHOD_UNSPECIFIED 984} 985 986func (x *UptimeCheckConfig_HttpCheck) GetUseSsl() bool { 987 if x != nil { 988 return x.UseSsl 989 } 990 return false 991} 992 993func (x *UptimeCheckConfig_HttpCheck) GetPath() string { 994 if x != nil { 995 return x.Path 996 } 997 return "" 998} 999 1000func (x *UptimeCheckConfig_HttpCheck) GetPort() int32 { 1001 if x != nil { 1002 return x.Port 1003 } 1004 return 0 1005} 1006 1007func (x *UptimeCheckConfig_HttpCheck) GetAuthInfo() *UptimeCheckConfig_HttpCheck_BasicAuthentication { 1008 if x != nil { 1009 return x.AuthInfo 1010 } 1011 return nil 1012} 1013 1014func (x *UptimeCheckConfig_HttpCheck) GetMaskHeaders() bool { 1015 if x != nil { 1016 return x.MaskHeaders 1017 } 1018 return false 1019} 1020 1021func (x *UptimeCheckConfig_HttpCheck) GetHeaders() map[string]string { 1022 if x != nil { 1023 return x.Headers 1024 } 1025 return nil 1026} 1027 1028func (x *UptimeCheckConfig_HttpCheck) GetContentType() UptimeCheckConfig_HttpCheck_ContentType { 1029 if x != nil { 1030 return x.ContentType 1031 } 1032 return UptimeCheckConfig_HttpCheck_TYPE_UNSPECIFIED 1033} 1034 1035func (x *UptimeCheckConfig_HttpCheck) GetValidateSsl() bool { 1036 if x != nil { 1037 return x.ValidateSsl 1038 } 1039 return false 1040} 1041 1042func (x *UptimeCheckConfig_HttpCheck) GetBody() []byte { 1043 if x != nil { 1044 return x.Body 1045 } 1046 return nil 1047} 1048 1049// Information required for a TCP Uptime check request. 1050type UptimeCheckConfig_TcpCheck struct { 1051 state protoimpl.MessageState 1052 sizeCache protoimpl.SizeCache 1053 unknownFields protoimpl.UnknownFields 1054 1055 // The TCP port on the server against which to run the check. Will be 1056 // combined with host (specified within the `monitored_resource`) to 1057 // construct the full URL. Required. 1058 Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` 1059} 1060 1061func (x *UptimeCheckConfig_TcpCheck) Reset() { 1062 *x = UptimeCheckConfig_TcpCheck{} 1063 if protoimpl.UnsafeEnabled { 1064 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[5] 1065 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1066 ms.StoreMessageInfo(mi) 1067 } 1068} 1069 1070func (x *UptimeCheckConfig_TcpCheck) String() string { 1071 return protoimpl.X.MessageStringOf(x) 1072} 1073 1074func (*UptimeCheckConfig_TcpCheck) ProtoMessage() {} 1075 1076func (x *UptimeCheckConfig_TcpCheck) ProtoReflect() protoreflect.Message { 1077 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[5] 1078 if protoimpl.UnsafeEnabled && x != nil { 1079 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1080 if ms.LoadMessageInfo() == nil { 1081 ms.StoreMessageInfo(mi) 1082 } 1083 return ms 1084 } 1085 return mi.MessageOf(x) 1086} 1087 1088// Deprecated: Use UptimeCheckConfig_TcpCheck.ProtoReflect.Descriptor instead. 1089func (*UptimeCheckConfig_TcpCheck) Descriptor() ([]byte, []int) { 1090 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 2} 1091} 1092 1093func (x *UptimeCheckConfig_TcpCheck) GetPort() int32 { 1094 if x != nil { 1095 return x.Port 1096 } 1097 return 0 1098} 1099 1100// Optional. Used to perform content matching. This allows matching based on 1101// substrings and regular expressions, together with their negations. Only the 1102// first 4 MB of an HTTP or HTTPS check's response (and the first 1103// 1 MB of a TCP check's response) are examined for purposes of content 1104// matching. 1105type UptimeCheckConfig_ContentMatcher struct { 1106 state protoimpl.MessageState 1107 sizeCache protoimpl.SizeCache 1108 unknownFields protoimpl.UnknownFields 1109 1110 // String or regex content to match. Maximum 1024 bytes. An empty `content` 1111 // string indicates no content matching is to be performed. 1112 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` 1113 // The type of content matcher that will be applied to the server output, 1114 // compared to the `content` string when the check is run. 1115 Matcher UptimeCheckConfig_ContentMatcher_ContentMatcherOption `protobuf:"varint,2,opt,name=matcher,proto3,enum=google.monitoring.v3.UptimeCheckConfig_ContentMatcher_ContentMatcherOption" json:"matcher,omitempty"` 1116} 1117 1118func (x *UptimeCheckConfig_ContentMatcher) Reset() { 1119 *x = UptimeCheckConfig_ContentMatcher{} 1120 if protoimpl.UnsafeEnabled { 1121 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[6] 1122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1123 ms.StoreMessageInfo(mi) 1124 } 1125} 1126 1127func (x *UptimeCheckConfig_ContentMatcher) String() string { 1128 return protoimpl.X.MessageStringOf(x) 1129} 1130 1131func (*UptimeCheckConfig_ContentMatcher) ProtoMessage() {} 1132 1133func (x *UptimeCheckConfig_ContentMatcher) ProtoReflect() protoreflect.Message { 1134 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[6] 1135 if protoimpl.UnsafeEnabled && x != nil { 1136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1137 if ms.LoadMessageInfo() == nil { 1138 ms.StoreMessageInfo(mi) 1139 } 1140 return ms 1141 } 1142 return mi.MessageOf(x) 1143} 1144 1145// Deprecated: Use UptimeCheckConfig_ContentMatcher.ProtoReflect.Descriptor instead. 1146func (*UptimeCheckConfig_ContentMatcher) Descriptor() ([]byte, []int) { 1147 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 3} 1148} 1149 1150func (x *UptimeCheckConfig_ContentMatcher) GetContent() string { 1151 if x != nil { 1152 return x.Content 1153 } 1154 return "" 1155} 1156 1157func (x *UptimeCheckConfig_ContentMatcher) GetMatcher() UptimeCheckConfig_ContentMatcher_ContentMatcherOption { 1158 if x != nil { 1159 return x.Matcher 1160 } 1161 return UptimeCheckConfig_ContentMatcher_CONTENT_MATCHER_OPTION_UNSPECIFIED 1162} 1163 1164// The authentication parameters to provide to the specified resource or 1165// URL that requires a username and password. Currently, only 1166// [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is 1167// supported in Uptime checks. 1168type UptimeCheckConfig_HttpCheck_BasicAuthentication struct { 1169 state protoimpl.MessageState 1170 sizeCache protoimpl.SizeCache 1171 unknownFields protoimpl.UnknownFields 1172 1173 // The username to use when authenticating with the HTTP server. 1174 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` 1175 // The password to use when authenticating with the HTTP server. 1176 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 1177} 1178 1179func (x *UptimeCheckConfig_HttpCheck_BasicAuthentication) Reset() { 1180 *x = UptimeCheckConfig_HttpCheck_BasicAuthentication{} 1181 if protoimpl.UnsafeEnabled { 1182 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[7] 1183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1184 ms.StoreMessageInfo(mi) 1185 } 1186} 1187 1188func (x *UptimeCheckConfig_HttpCheck_BasicAuthentication) String() string { 1189 return protoimpl.X.MessageStringOf(x) 1190} 1191 1192func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) ProtoMessage() {} 1193 1194func (x *UptimeCheckConfig_HttpCheck_BasicAuthentication) ProtoReflect() protoreflect.Message { 1195 mi := &file_google_monitoring_v3_uptime_proto_msgTypes[7] 1196 if protoimpl.UnsafeEnabled && x != nil { 1197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1198 if ms.LoadMessageInfo() == nil { 1199 ms.StoreMessageInfo(mi) 1200 } 1201 return ms 1202 } 1203 return mi.MessageOf(x) 1204} 1205 1206// Deprecated: Use UptimeCheckConfig_HttpCheck_BasicAuthentication.ProtoReflect.Descriptor instead. 1207func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) Descriptor() ([]byte, []int) { 1208 return file_google_monitoring_v3_uptime_proto_rawDescGZIP(), []int{1, 1, 0} 1209} 1210 1211func (x *UptimeCheckConfig_HttpCheck_BasicAuthentication) GetUsername() string { 1212 if x != nil { 1213 return x.Username 1214 } 1215 return "" 1216} 1217 1218func (x *UptimeCheckConfig_HttpCheck_BasicAuthentication) GetPassword() string { 1219 if x != nil { 1220 return x.Password 1221 } 1222 return "" 1223} 1224 1225var File_google_monitoring_v3_uptime_proto protoreflect.FileDescriptor 1226 1227var file_google_monitoring_v3_uptime_proto_rawDesc = []byte{ 1228 0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1229 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 1230 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 1231 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1232 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 1233 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 1234 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 1235 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1236 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 1237 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x02, 0x0a, 0x0f, 0x49, 0x6e, 1238 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x12, 0x0a, 1239 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 1240 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 1241 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 1242 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 1243 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x19, 1244 0x0a, 0x08, 0x67, 0x63, 0x70, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 1245 0x52, 0x07, 0x67, 0x63, 0x70, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x65, 1246 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 1247 0x28, 0x09, 0x52, 0x0d, 0x70, 0x65, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 1248 0x64, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 1249 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 1250 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 1251 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 1252 0x74, 0x61, 0x74, 0x65, 0x22, 0x33, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 1253 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 1254 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 1255 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x3a, 0x02, 0x18, 0x01, 0x22, 0xc8, 0x12, 1256 0x0a, 0x11, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 1257 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 1258 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 1259 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 1260 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x12, 0x6d, 0x6f, 1261 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1262 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1263 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 1264 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1265 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x0e, 0x72, 0x65, 1266 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 1267 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 1268 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 1269 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x6f, 1270 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x73, 1271 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x52, 0x0a, 0x0a, 0x68, 0x74, 1272 0x74, 0x70, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 1273 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 1274 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 1275 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x43, 0x68, 0x65, 0x63, 1276 0x6b, 0x48, 0x01, 0x52, 0x09, 0x68, 0x74, 0x74, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x4f, 1277 0x0a, 0x09, 0x74, 0x63, 0x70, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 1278 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 1279 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 1280 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x63, 0x70, 0x43, 0x68, 1281 0x65, 0x63, 0x6b, 0x48, 0x01, 0x52, 0x08, 0x74, 0x63, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 1282 0x31, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 1283 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1284 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 1285 0x6f, 0x64, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x08, 0x20, 1286 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1287 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 1288 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x61, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 1289 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 1290 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 1291 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 1292 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 1293 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 1294 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x10, 0x73, 0x65, 1295 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 1296 0x20, 0x03, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 1297 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 1298 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x73, 1299 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 1300 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18, 0x0f, 0x20, 1301 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x69, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 1302 0x6e, 0x61, 0x6c, 0x12, 0x56, 0x0a, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 1303 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 1304 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 1305 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x68, 1306 0x65, 0x63, 0x6b, 0x65, 0x72, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x72, 1307 0x6e, 0x61, 0x6c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x73, 0x1a, 0x78, 0x0a, 0x0d, 0x52, 1308 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x19, 0x0a, 0x08, 1309 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 1310 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 1311 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 1312 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 1313 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x6f, 0x75, 1314 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 1315 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0xab, 0x06, 0x0a, 0x09, 0x48, 0x74, 0x74, 0x70, 0x43, 0x68, 1316 0x65, 0x63, 0x6b, 0x12, 0x66, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 1317 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 1318 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 1319 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 1320 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x52, 1321 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0d, 0x72, 0x65, 1322 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 1323 0x73, 0x65, 0x5f, 0x73, 0x73, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 1324 0x65, 0x53, 0x73, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 1325 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 1326 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x62, 0x0a, 0x09, 1327 0x61, 0x75, 0x74, 0x68, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 1328 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1329 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 1330 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x43, 0x68, 0x65, 1331 0x63, 0x6b, 0x2e, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 1332 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 1333 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x73, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 1334 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6d, 0x61, 0x73, 0x6b, 0x48, 0x65, 0x61, 0x64, 1335 0x65, 0x72, 0x73, 0x12, 0x58, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x06, 1336 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 1337 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 1338 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x74, 1339 0x74, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 1340 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x60, 0x0a, 1341 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 1342 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 1343 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 1344 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x74, 0x74, 1345 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 1346 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 1347 0x21, 0x0a, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x73, 0x6c, 0x18, 1348 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 1349 0x73, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 1350 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x1a, 0x4d, 0x0a, 0x13, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 1351 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 1352 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 1353 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 1354 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 1355 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 1356 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 1357 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 1358 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 1359 0x01, 0x22, 0x3a, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 1360 0x6f, 0x64, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 1361 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x45, 1362 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x22, 0x34, 0x0a, 1363 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 1364 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 1365 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x52, 0x4c, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 1366 0x44, 0x10, 0x01, 0x1a, 0x1e, 0x0a, 0x08, 0x54, 0x63, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 1367 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 1368 0x6f, 0x72, 0x74, 0x1a, 0xaa, 0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4d, 1369 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 1370 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 1371 0x12, 0x65, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 1372 0x0e, 0x32, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 1373 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 1374 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 1375 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 1376 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 1377 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x22, 0x96, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x74, 1378 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 1379 0x12, 0x26, 0x0a, 0x22, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 1380 0x48, 0x45, 0x52, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 1381 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4e, 0x54, 1382 0x41, 0x49, 0x4e, 0x53, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x17, 0x0a, 1383 0x13, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x53, 0x5f, 0x53, 0x54, 1384 0x52, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x45, 1385 0x53, 0x5f, 0x52, 0x45, 0x47, 0x45, 0x58, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x54, 1386 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x47, 0x45, 0x58, 0x10, 0x04, 1387 0x3a, 0xf3, 0x01, 0xea, 0x41, 0xef, 0x01, 0x0a, 0x2b, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1388 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1389 0x6f, 0x6d, 0x2f, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 1390 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 1391 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 1392 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x75, 0x70, 0x74, 1393 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1394 0x7d, 0x12, 0x45, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1395 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 1396 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1397 0x67, 0x73, 0x2f, 0x7b, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 1398 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x12, 0x39, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 1399 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x75, 0x70, 0x74, 0x69, 0x6d, 1400 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x75, 1401 0x70, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 1402 0x69, 0x67, 0x7d, 0x12, 0x01, 0x2a, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 1403 0x63, 0x65, 0x42, 0x14, 0x0a, 0x12, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, 1404 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x74, 1405 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x70, 0x12, 0x3f, 0x0a, 0x06, 0x72, 0x65, 1406 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 1407 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 1408 0x33, 0x2e, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x67, 1409 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 1410 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 1411 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x70, 0x5f, 0x61, 0x64, 1412 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x70, 0x41, 1413 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2a, 0x65, 0x0a, 0x11, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 1414 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x52, 1415 0x45, 0x47, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 1416 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x53, 0x41, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 1417 0x45, 0x55, 0x52, 0x4f, 0x50, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x4f, 0x55, 0x54, 1418 0x48, 0x5f, 0x41, 0x4d, 0x45, 0x52, 0x49, 0x43, 0x41, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x41, 1419 0x53, 0x49, 0x41, 0x5f, 0x50, 0x41, 0x43, 0x49, 0x46, 0x49, 0x43, 0x10, 0x04, 0x2a, 0x5b, 0x0a, 1420 0x11, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 1421 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 1422 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 1423 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x01, 0x12, 1424 0x19, 0x0a, 0x15, 0x41, 0x57, 0x53, 0x5f, 0x45, 0x4c, 0x42, 0x5f, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 1425 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x45, 0x52, 0x10, 0x02, 0x42, 0xc3, 0x01, 0x0a, 0x18, 0x63, 1426 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 1427 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x42, 0x0b, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x50, 1428 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 1429 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 1430 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x6f, 1431 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x3b, 0x6d, 0x6f, 0x6e, 0x69, 1432 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1433 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 1434 0x2e, 0x56, 0x33, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 1435 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x33, 1436 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 1437 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x33, 1438 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1439} 1440 1441var ( 1442 file_google_monitoring_v3_uptime_proto_rawDescOnce sync.Once 1443 file_google_monitoring_v3_uptime_proto_rawDescData = file_google_monitoring_v3_uptime_proto_rawDesc 1444) 1445 1446func file_google_monitoring_v3_uptime_proto_rawDescGZIP() []byte { 1447 file_google_monitoring_v3_uptime_proto_rawDescOnce.Do(func() { 1448 file_google_monitoring_v3_uptime_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_v3_uptime_proto_rawDescData) 1449 }) 1450 return file_google_monitoring_v3_uptime_proto_rawDescData 1451} 1452 1453var file_google_monitoring_v3_uptime_proto_enumTypes = make([]protoimpl.EnumInfo, 6) 1454var file_google_monitoring_v3_uptime_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 1455var file_google_monitoring_v3_uptime_proto_goTypes = []interface{}{ 1456 (UptimeCheckRegion)(0), // 0: google.monitoring.v3.UptimeCheckRegion 1457 (GroupResourceType)(0), // 1: google.monitoring.v3.GroupResourceType 1458 (InternalChecker_State)(0), // 2: google.monitoring.v3.InternalChecker.State 1459 (UptimeCheckConfig_HttpCheck_RequestMethod)(0), // 3: google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod 1460 (UptimeCheckConfig_HttpCheck_ContentType)(0), // 4: google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType 1461 (UptimeCheckConfig_ContentMatcher_ContentMatcherOption)(0), // 5: google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption 1462 (*InternalChecker)(nil), // 6: google.monitoring.v3.InternalChecker 1463 (*UptimeCheckConfig)(nil), // 7: google.monitoring.v3.UptimeCheckConfig 1464 (*UptimeCheckIp)(nil), // 8: google.monitoring.v3.UptimeCheckIp 1465 (*UptimeCheckConfig_ResourceGroup)(nil), // 9: google.monitoring.v3.UptimeCheckConfig.ResourceGroup 1466 (*UptimeCheckConfig_HttpCheck)(nil), // 10: google.monitoring.v3.UptimeCheckConfig.HttpCheck 1467 (*UptimeCheckConfig_TcpCheck)(nil), // 11: google.monitoring.v3.UptimeCheckConfig.TcpCheck 1468 (*UptimeCheckConfig_ContentMatcher)(nil), // 12: google.monitoring.v3.UptimeCheckConfig.ContentMatcher 1469 (*UptimeCheckConfig_HttpCheck_BasicAuthentication)(nil), // 13: google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication 1470 nil, // 14: google.monitoring.v3.UptimeCheckConfig.HttpCheck.HeadersEntry 1471 (*monitoredres.MonitoredResource)(nil), // 15: google.api.MonitoredResource 1472 (*duration.Duration)(nil), // 16: google.protobuf.Duration 1473} 1474var file_google_monitoring_v3_uptime_proto_depIdxs = []int32{ 1475 2, // 0: google.monitoring.v3.InternalChecker.state:type_name -> google.monitoring.v3.InternalChecker.State 1476 15, // 1: google.monitoring.v3.UptimeCheckConfig.monitored_resource:type_name -> google.api.MonitoredResource 1477 9, // 2: google.monitoring.v3.UptimeCheckConfig.resource_group:type_name -> google.monitoring.v3.UptimeCheckConfig.ResourceGroup 1478 10, // 3: google.monitoring.v3.UptimeCheckConfig.http_check:type_name -> google.monitoring.v3.UptimeCheckConfig.HttpCheck 1479 11, // 4: google.monitoring.v3.UptimeCheckConfig.tcp_check:type_name -> google.monitoring.v3.UptimeCheckConfig.TcpCheck 1480 16, // 5: google.monitoring.v3.UptimeCheckConfig.period:type_name -> google.protobuf.Duration 1481 16, // 6: google.monitoring.v3.UptimeCheckConfig.timeout:type_name -> google.protobuf.Duration 1482 12, // 7: google.monitoring.v3.UptimeCheckConfig.content_matchers:type_name -> google.monitoring.v3.UptimeCheckConfig.ContentMatcher 1483 0, // 8: google.monitoring.v3.UptimeCheckConfig.selected_regions:type_name -> google.monitoring.v3.UptimeCheckRegion 1484 6, // 9: google.monitoring.v3.UptimeCheckConfig.internal_checkers:type_name -> google.monitoring.v3.InternalChecker 1485 0, // 10: google.monitoring.v3.UptimeCheckIp.region:type_name -> google.monitoring.v3.UptimeCheckRegion 1486 1, // 11: google.monitoring.v3.UptimeCheckConfig.ResourceGroup.resource_type:type_name -> google.monitoring.v3.GroupResourceType 1487 3, // 12: google.monitoring.v3.UptimeCheckConfig.HttpCheck.request_method:type_name -> google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod 1488 13, // 13: google.monitoring.v3.UptimeCheckConfig.HttpCheck.auth_info:type_name -> google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication 1489 14, // 14: google.monitoring.v3.UptimeCheckConfig.HttpCheck.headers:type_name -> google.monitoring.v3.UptimeCheckConfig.HttpCheck.HeadersEntry 1490 4, // 15: google.monitoring.v3.UptimeCheckConfig.HttpCheck.content_type:type_name -> google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType 1491 5, // 16: google.monitoring.v3.UptimeCheckConfig.ContentMatcher.matcher:type_name -> google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption 1492 17, // [17:17] is the sub-list for method output_type 1493 17, // [17:17] is the sub-list for method input_type 1494 17, // [17:17] is the sub-list for extension type_name 1495 17, // [17:17] is the sub-list for extension extendee 1496 0, // [0:17] is the sub-list for field type_name 1497} 1498 1499func init() { file_google_monitoring_v3_uptime_proto_init() } 1500func file_google_monitoring_v3_uptime_proto_init() { 1501 if File_google_monitoring_v3_uptime_proto != nil { 1502 return 1503 } 1504 if !protoimpl.UnsafeEnabled { 1505 file_google_monitoring_v3_uptime_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1506 switch v := v.(*InternalChecker); i { 1507 case 0: 1508 return &v.state 1509 case 1: 1510 return &v.sizeCache 1511 case 2: 1512 return &v.unknownFields 1513 default: 1514 return nil 1515 } 1516 } 1517 file_google_monitoring_v3_uptime_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1518 switch v := v.(*UptimeCheckConfig); i { 1519 case 0: 1520 return &v.state 1521 case 1: 1522 return &v.sizeCache 1523 case 2: 1524 return &v.unknownFields 1525 default: 1526 return nil 1527 } 1528 } 1529 file_google_monitoring_v3_uptime_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1530 switch v := v.(*UptimeCheckIp); i { 1531 case 0: 1532 return &v.state 1533 case 1: 1534 return &v.sizeCache 1535 case 2: 1536 return &v.unknownFields 1537 default: 1538 return nil 1539 } 1540 } 1541 file_google_monitoring_v3_uptime_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1542 switch v := v.(*UptimeCheckConfig_ResourceGroup); i { 1543 case 0: 1544 return &v.state 1545 case 1: 1546 return &v.sizeCache 1547 case 2: 1548 return &v.unknownFields 1549 default: 1550 return nil 1551 } 1552 } 1553 file_google_monitoring_v3_uptime_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1554 switch v := v.(*UptimeCheckConfig_HttpCheck); i { 1555 case 0: 1556 return &v.state 1557 case 1: 1558 return &v.sizeCache 1559 case 2: 1560 return &v.unknownFields 1561 default: 1562 return nil 1563 } 1564 } 1565 file_google_monitoring_v3_uptime_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1566 switch v := v.(*UptimeCheckConfig_TcpCheck); i { 1567 case 0: 1568 return &v.state 1569 case 1: 1570 return &v.sizeCache 1571 case 2: 1572 return &v.unknownFields 1573 default: 1574 return nil 1575 } 1576 } 1577 file_google_monitoring_v3_uptime_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1578 switch v := v.(*UptimeCheckConfig_ContentMatcher); i { 1579 case 0: 1580 return &v.state 1581 case 1: 1582 return &v.sizeCache 1583 case 2: 1584 return &v.unknownFields 1585 default: 1586 return nil 1587 } 1588 } 1589 file_google_monitoring_v3_uptime_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1590 switch v := v.(*UptimeCheckConfig_HttpCheck_BasicAuthentication); i { 1591 case 0: 1592 return &v.state 1593 case 1: 1594 return &v.sizeCache 1595 case 2: 1596 return &v.unknownFields 1597 default: 1598 return nil 1599 } 1600 } 1601 } 1602 file_google_monitoring_v3_uptime_proto_msgTypes[1].OneofWrappers = []interface{}{ 1603 (*UptimeCheckConfig_MonitoredResource)(nil), 1604 (*UptimeCheckConfig_ResourceGroup_)(nil), 1605 (*UptimeCheckConfig_HttpCheck_)(nil), 1606 (*UptimeCheckConfig_TcpCheck_)(nil), 1607 } 1608 type x struct{} 1609 out := protoimpl.TypeBuilder{ 1610 File: protoimpl.DescBuilder{ 1611 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1612 RawDescriptor: file_google_monitoring_v3_uptime_proto_rawDesc, 1613 NumEnums: 6, 1614 NumMessages: 9, 1615 NumExtensions: 0, 1616 NumServices: 0, 1617 }, 1618 GoTypes: file_google_monitoring_v3_uptime_proto_goTypes, 1619 DependencyIndexes: file_google_monitoring_v3_uptime_proto_depIdxs, 1620 EnumInfos: file_google_monitoring_v3_uptime_proto_enumTypes, 1621 MessageInfos: file_google_monitoring_v3_uptime_proto_msgTypes, 1622 }.Build() 1623 File_google_monitoring_v3_uptime_proto = out.File 1624 file_google_monitoring_v3_uptime_proto_rawDesc = nil 1625 file_google_monitoring_v3_uptime_proto_goTypes = nil 1626 file_google_monitoring_v3_uptime_proto_depIdxs = nil 1627} 1628