1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/monitoring/v3/uptime.proto
3
4package monitoring
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	duration "github.com/golang/protobuf/ptypes/duration"
12	_ "google.golang.org/genproto/googleapis/api/annotations"
13	monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
27// The regions from which an Uptime check can be run.
28type UptimeCheckRegion int32
29
30const (
31	// Default value if no region is specified. Will result in Uptime checks
32	// running from all regions.
33	UptimeCheckRegion_REGION_UNSPECIFIED UptimeCheckRegion = 0
34	// Allows checks to run from locations within the United States of America.
35	UptimeCheckRegion_USA UptimeCheckRegion = 1
36	// Allows checks to run from locations within the continent of Europe.
37	UptimeCheckRegion_EUROPE UptimeCheckRegion = 2
38	// Allows checks to run from locations within the continent of South
39	// America.
40	UptimeCheckRegion_SOUTH_AMERICA UptimeCheckRegion = 3
41	// Allows checks to run from locations within the Asia Pacific area (ex:
42	// Singapore).
43	UptimeCheckRegion_ASIA_PACIFIC UptimeCheckRegion = 4
44)
45
46var UptimeCheckRegion_name = map[int32]string{
47	0: "REGION_UNSPECIFIED",
48	1: "USA",
49	2: "EUROPE",
50	3: "SOUTH_AMERICA",
51	4: "ASIA_PACIFIC",
52}
53
54var UptimeCheckRegion_value = map[string]int32{
55	"REGION_UNSPECIFIED": 0,
56	"USA":                1,
57	"EUROPE":             2,
58	"SOUTH_AMERICA":      3,
59	"ASIA_PACIFIC":       4,
60}
61
62func (x UptimeCheckRegion) String() string {
63	return proto.EnumName(UptimeCheckRegion_name, int32(x))
64}
65
66func (UptimeCheckRegion) EnumDescriptor() ([]byte, []int) {
67	return fileDescriptor_7ca0e36dfc8221d8, []int{0}
68}
69
70// The supported resource types that can be used as values of
71// `group_resource.resource_type`.
72// `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types.
73// The resource types `gae_app` and `uptime_url` are not valid here because
74// group checks on App Engine modules and URLs are not allowed.
75type GroupResourceType int32
76
77const (
78	// Default value (not valid).
79	GroupResourceType_RESOURCE_TYPE_UNSPECIFIED GroupResourceType = 0
80	// A group of instances from Google Cloud Platform (GCP) or
81	// Amazon Web Services (AWS).
82	GroupResourceType_INSTANCE GroupResourceType = 1
83	// A group of Amazon ELB load balancers.
84	GroupResourceType_AWS_ELB_LOAD_BALANCER GroupResourceType = 2
85)
86
87var GroupResourceType_name = map[int32]string{
88	0: "RESOURCE_TYPE_UNSPECIFIED",
89	1: "INSTANCE",
90	2: "AWS_ELB_LOAD_BALANCER",
91}
92
93var GroupResourceType_value = map[string]int32{
94	"RESOURCE_TYPE_UNSPECIFIED": 0,
95	"INSTANCE":                  1,
96	"AWS_ELB_LOAD_BALANCER":     2,
97}
98
99func (x GroupResourceType) String() string {
100	return proto.EnumName(GroupResourceType_name, int32(x))
101}
102
103func (GroupResourceType) EnumDescriptor() ([]byte, []int) {
104	return fileDescriptor_7ca0e36dfc8221d8, []int{1}
105}
106
107// Operational states for an internal checker.
108type InternalChecker_State int32
109
110const (
111	// An internal checker should never be in the unspecified state.
112	InternalChecker_UNSPECIFIED InternalChecker_State = 0
113	// The checker is being created, provisioned, and configured. A checker in
114	// this state can be returned by `ListInternalCheckers` or
115	// `GetInternalChecker`, as well as by examining the [long running
116	// Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
117	// that created it.
118	InternalChecker_CREATING InternalChecker_State = 1
119	// The checker is running and available for use. A checker in this state
120	// can be returned by `ListInternalCheckers` or `GetInternalChecker` as
121	// well as by examining the [long running
122	// Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
123	// that created it.
124	// If a checker is being torn down, it is neither visible nor usable, so
125	// there is no "deleting" or "down" state.
126	InternalChecker_RUNNING InternalChecker_State = 2
127)
128
129var InternalChecker_State_name = map[int32]string{
130	0: "UNSPECIFIED",
131	1: "CREATING",
132	2: "RUNNING",
133}
134
135var InternalChecker_State_value = map[string]int32{
136	"UNSPECIFIED": 0,
137	"CREATING":    1,
138	"RUNNING":     2,
139}
140
141func (x InternalChecker_State) String() string {
142	return proto.EnumName(InternalChecker_State_name, int32(x))
143}
144
145func (InternalChecker_State) EnumDescriptor() ([]byte, []int) {
146	return fileDescriptor_7ca0e36dfc8221d8, []int{0, 0}
147}
148
149// The HTTP request method options.
150type UptimeCheckConfig_HttpCheck_RequestMethod int32
151
152const (
153	// No request method specified.
154	UptimeCheckConfig_HttpCheck_METHOD_UNSPECIFIED UptimeCheckConfig_HttpCheck_RequestMethod = 0
155	// GET request.
156	UptimeCheckConfig_HttpCheck_GET UptimeCheckConfig_HttpCheck_RequestMethod = 1
157	// POST request.
158	UptimeCheckConfig_HttpCheck_POST UptimeCheckConfig_HttpCheck_RequestMethod = 2
159)
160
161var UptimeCheckConfig_HttpCheck_RequestMethod_name = map[int32]string{
162	0: "METHOD_UNSPECIFIED",
163	1: "GET",
164	2: "POST",
165}
166
167var UptimeCheckConfig_HttpCheck_RequestMethod_value = map[string]int32{
168	"METHOD_UNSPECIFIED": 0,
169	"GET":                1,
170	"POST":               2,
171}
172
173func (x UptimeCheckConfig_HttpCheck_RequestMethod) String() string {
174	return proto.EnumName(UptimeCheckConfig_HttpCheck_RequestMethod_name, int32(x))
175}
176
177func (UptimeCheckConfig_HttpCheck_RequestMethod) EnumDescriptor() ([]byte, []int) {
178	return fileDescriptor_7ca0e36dfc8221d8, []int{1, 1, 0}
179}
180
181// Header options corresponding to the Content-Type of the body in HTTP
182// requests. Note that a `Content-Type` header cannot be present in the
183// `headers` field if this field is specified.
184type UptimeCheckConfig_HttpCheck_ContentType int32
185
186const (
187	// No content type specified. If the request method is POST, an
188	// unspecified content type results in a check creation rejection.
189	UptimeCheckConfig_HttpCheck_TYPE_UNSPECIFIED UptimeCheckConfig_HttpCheck_ContentType = 0
190	// `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
191	// to `application/x-www-form-urlencoded` in the HTTP request.
192	UptimeCheckConfig_HttpCheck_URL_ENCODED UptimeCheckConfig_HttpCheck_ContentType = 1
193)
194
195var UptimeCheckConfig_HttpCheck_ContentType_name = map[int32]string{
196	0: "TYPE_UNSPECIFIED",
197	1: "URL_ENCODED",
198}
199
200var UptimeCheckConfig_HttpCheck_ContentType_value = map[string]int32{
201	"TYPE_UNSPECIFIED": 0,
202	"URL_ENCODED":      1,
203}
204
205func (x UptimeCheckConfig_HttpCheck_ContentType) String() string {
206	return proto.EnumName(UptimeCheckConfig_HttpCheck_ContentType_name, int32(x))
207}
208
209func (UptimeCheckConfig_HttpCheck_ContentType) EnumDescriptor() ([]byte, []int) {
210	return fileDescriptor_7ca0e36dfc8221d8, []int{1, 1, 1}
211}
212
213// Options to perform content matching.
214type UptimeCheckConfig_ContentMatcher_ContentMatcherOption int32
215
216const (
217	// No content matcher type specified (maintained for backward
218	// compatibility, but deprecated for future use).
219	// Treated as `CONTAINS_STRING`.
220	UptimeCheckConfig_ContentMatcher_CONTENT_MATCHER_OPTION_UNSPECIFIED UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 0
221	// Selects substring matching. The match succeeds if the output contains
222	// the `content` string.  This is the default value for checks without
223	// a `matcher` option, or where the value of `matcher` is
224	// `CONTENT_MATCHER_OPTION_UNSPECIFIED`.
225	UptimeCheckConfig_ContentMatcher_CONTAINS_STRING UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 1
226	// Selects negation of substring matching. The match succeeds if the
227	// output does _NOT_ contain the `content` string.
228	UptimeCheckConfig_ContentMatcher_NOT_CONTAINS_STRING UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 2
229	// Selects regular-expression matching. The match succeeds of the output
230	// matches the regular expression specified in the `content` string.
231	UptimeCheckConfig_ContentMatcher_MATCHES_REGEX UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 3
232	// Selects negation of regular-expression matching. The match succeeds if
233	// the output does _NOT_ match the regular expression specified in the
234	// `content` string.
235	UptimeCheckConfig_ContentMatcher_NOT_MATCHES_REGEX UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 4
236)
237
238var UptimeCheckConfig_ContentMatcher_ContentMatcherOption_name = map[int32]string{
239	0: "CONTENT_MATCHER_OPTION_UNSPECIFIED",
240	1: "CONTAINS_STRING",
241	2: "NOT_CONTAINS_STRING",
242	3: "MATCHES_REGEX",
243	4: "NOT_MATCHES_REGEX",
244}
245
246var UptimeCheckConfig_ContentMatcher_ContentMatcherOption_value = map[string]int32{
247	"CONTENT_MATCHER_OPTION_UNSPECIFIED": 0,
248	"CONTAINS_STRING":                    1,
249	"NOT_CONTAINS_STRING":                2,
250	"MATCHES_REGEX":                      3,
251	"NOT_MATCHES_REGEX":                  4,
252}
253
254func (x UptimeCheckConfig_ContentMatcher_ContentMatcherOption) String() string {
255	return proto.EnumName(UptimeCheckConfig_ContentMatcher_ContentMatcherOption_name, int32(x))
256}
257
258func (UptimeCheckConfig_ContentMatcher_ContentMatcherOption) EnumDescriptor() ([]byte, []int) {
259	return fileDescriptor_7ca0e36dfc8221d8, []int{1, 3, 0}
260}
261
262// An internal checker allows Uptime checks to run on private/internal GCP
263// resources.
264//
265// Deprecated: Do not use.
266type InternalChecker struct {
267	// A unique resource name for this InternalChecker. The format is:
268	//
269	//     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
270	//
271	// `[PROJECT_ID_OR_NUMBER]` is the Stackdriver Workspace project for the
272	// Uptime check config associated with the internal checker.
273	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
274	// The checker's human-readable name. The display name
275	// should be unique within a Stackdriver Workspace in order to make it easier
276	// to identify; however, uniqueness is not enforced.
277	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
278	// The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
279	// internal resource lives (ex: "default").
280	Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
281	// The GCP zone the Uptime check should egress from. Only respected for
282	// internal Uptime checks, where internal_network is specified.
283	GcpZone string `protobuf:"bytes,4,opt,name=gcp_zone,json=gcpZone,proto3" json:"gcp_zone,omitempty"`
284	// The GCP project ID where the internal checker lives. Not necessary
285	// the same as the Workspace project.
286	PeerProjectId string `protobuf:"bytes,6,opt,name=peer_project_id,json=peerProjectId,proto3" json:"peer_project_id,omitempty"`
287	// The current operational state of the internal checker.
288	State                InternalChecker_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.monitoring.v3.InternalChecker_State" json:"state,omitempty"`
289	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
290	XXX_unrecognized     []byte                `json:"-"`
291	XXX_sizecache        int32                 `json:"-"`
292}
293
294func (m *InternalChecker) Reset()         { *m = InternalChecker{} }
295func (m *InternalChecker) String() string { return proto.CompactTextString(m) }
296func (*InternalChecker) ProtoMessage()    {}
297func (*InternalChecker) Descriptor() ([]byte, []int) {
298	return fileDescriptor_7ca0e36dfc8221d8, []int{0}
299}
300
301func (m *InternalChecker) XXX_Unmarshal(b []byte) error {
302	return xxx_messageInfo_InternalChecker.Unmarshal(m, b)
303}
304func (m *InternalChecker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
305	return xxx_messageInfo_InternalChecker.Marshal(b, m, deterministic)
306}
307func (m *InternalChecker) XXX_Merge(src proto.Message) {
308	xxx_messageInfo_InternalChecker.Merge(m, src)
309}
310func (m *InternalChecker) XXX_Size() int {
311	return xxx_messageInfo_InternalChecker.Size(m)
312}
313func (m *InternalChecker) XXX_DiscardUnknown() {
314	xxx_messageInfo_InternalChecker.DiscardUnknown(m)
315}
316
317var xxx_messageInfo_InternalChecker proto.InternalMessageInfo
318
319func (m *InternalChecker) GetName() string {
320	if m != nil {
321		return m.Name
322	}
323	return ""
324}
325
326func (m *InternalChecker) GetDisplayName() string {
327	if m != nil {
328		return m.DisplayName
329	}
330	return ""
331}
332
333func (m *InternalChecker) GetNetwork() string {
334	if m != nil {
335		return m.Network
336	}
337	return ""
338}
339
340func (m *InternalChecker) GetGcpZone() string {
341	if m != nil {
342		return m.GcpZone
343	}
344	return ""
345}
346
347func (m *InternalChecker) GetPeerProjectId() string {
348	if m != nil {
349		return m.PeerProjectId
350	}
351	return ""
352}
353
354func (m *InternalChecker) GetState() InternalChecker_State {
355	if m != nil {
356		return m.State
357	}
358	return InternalChecker_UNSPECIFIED
359}
360
361// This message configures which resources and services to monitor for
362// availability.
363type UptimeCheckConfig struct {
364	// A unique resource name for this Uptime check configuration. The format is:
365	//
366	//      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
367	//
368	// This field should be omitted when creating the Uptime check configuration;
369	// on create, the resource name is assigned by the server and included in the
370	// response.
371	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
372	// A human-friendly name for the Uptime check configuration. The display name
373	// should be unique within a Stackdriver Workspace in order to make it easier
374	// to identify; however, uniqueness is not enforced. Required.
375	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
376	// The resource the check is checking. Required.
377	//
378	// Types that are valid to be assigned to Resource:
379	//	*UptimeCheckConfig_MonitoredResource
380	//	*UptimeCheckConfig_ResourceGroup_
381	Resource isUptimeCheckConfig_Resource `protobuf_oneof:"resource"`
382	// The type of Uptime check request.
383	//
384	// Types that are valid to be assigned to CheckRequestType:
385	//	*UptimeCheckConfig_HttpCheck_
386	//	*UptimeCheckConfig_TcpCheck_
387	CheckRequestType isUptimeCheckConfig_CheckRequestType `protobuf_oneof:"check_request_type"`
388	// How often, in seconds, the Uptime check is performed.
389	// Currently, the only supported values are `60s` (1 minute), `300s`
390	// (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional,
391	// defaults to `60s`.
392	Period *duration.Duration `protobuf:"bytes,7,opt,name=period,proto3" json:"period,omitempty"`
393	// The maximum amount of time to wait for the request to complete (must be
394	// between 1 and 60 seconds). Required.
395	Timeout *duration.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
396	// The content that is expected to appear in the data returned by the target
397	// server against which the check is run.  Currently, only the first entry
398	// in the `content_matchers` list is supported, and additional entries will
399	// be ignored. This field is optional and should only be specified if a
400	// content match is required as part of the/ Uptime check.
401	ContentMatchers []*UptimeCheckConfig_ContentMatcher `protobuf:"bytes,9,rep,name=content_matchers,json=contentMatchers,proto3" json:"content_matchers,omitempty"`
402	// The list of regions from which the check will be run.
403	// Some regions contain one location, and others contain more than one.
404	// If this field is specified, enough regions must be provided to include a
405	// minimum of 3 locations.  Not specifying this field will result in Uptime
406	// checks running from all available regions.
407	SelectedRegions []UptimeCheckRegion `protobuf:"varint,10,rep,packed,name=selected_regions,json=selectedRegions,proto3,enum=google.monitoring.v3.UptimeCheckRegion" json:"selected_regions,omitempty"`
408	// If this is `true`, then checks are made only from the 'internal_checkers'.
409	// If it is `false`, then checks are made only from the 'selected_regions'.
410	// It is an error to provide 'selected_regions' when is_internal is `true`,
411	// or to provide 'internal_checkers' when is_internal is `false`.
412	IsInternal bool `protobuf:"varint,15,opt,name=is_internal,json=isInternal,proto3" json:"is_internal,omitempty"` // Deprecated: Do not use.
413	// The internal checkers that this check will egress from. If `is_internal` is
414	// `true` and this list is empty, the check will egress from all the
415	// InternalCheckers configured for the project that owns this
416	// `UptimeCheckConfig`.
417	InternalCheckers     []*InternalChecker `protobuf:"bytes,14,rep,name=internal_checkers,json=internalCheckers,proto3" json:"internal_checkers,omitempty"` // Deprecated: Do not use.
418	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
419	XXX_unrecognized     []byte             `json:"-"`
420	XXX_sizecache        int32              `json:"-"`
421}
422
423func (m *UptimeCheckConfig) Reset()         { *m = UptimeCheckConfig{} }
424func (m *UptimeCheckConfig) String() string { return proto.CompactTextString(m) }
425func (*UptimeCheckConfig) ProtoMessage()    {}
426func (*UptimeCheckConfig) Descriptor() ([]byte, []int) {
427	return fileDescriptor_7ca0e36dfc8221d8, []int{1}
428}
429
430func (m *UptimeCheckConfig) XXX_Unmarshal(b []byte) error {
431	return xxx_messageInfo_UptimeCheckConfig.Unmarshal(m, b)
432}
433func (m *UptimeCheckConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
434	return xxx_messageInfo_UptimeCheckConfig.Marshal(b, m, deterministic)
435}
436func (m *UptimeCheckConfig) XXX_Merge(src proto.Message) {
437	xxx_messageInfo_UptimeCheckConfig.Merge(m, src)
438}
439func (m *UptimeCheckConfig) XXX_Size() int {
440	return xxx_messageInfo_UptimeCheckConfig.Size(m)
441}
442func (m *UptimeCheckConfig) XXX_DiscardUnknown() {
443	xxx_messageInfo_UptimeCheckConfig.DiscardUnknown(m)
444}
445
446var xxx_messageInfo_UptimeCheckConfig proto.InternalMessageInfo
447
448func (m *UptimeCheckConfig) GetName() string {
449	if m != nil {
450		return m.Name
451	}
452	return ""
453}
454
455func (m *UptimeCheckConfig) GetDisplayName() string {
456	if m != nil {
457		return m.DisplayName
458	}
459	return ""
460}
461
462type isUptimeCheckConfig_Resource interface {
463	isUptimeCheckConfig_Resource()
464}
465
466type UptimeCheckConfig_MonitoredResource struct {
467	MonitoredResource *monitoredres.MonitoredResource `protobuf:"bytes,3,opt,name=monitored_resource,json=monitoredResource,proto3,oneof"`
468}
469
470type UptimeCheckConfig_ResourceGroup_ struct {
471	ResourceGroup *UptimeCheckConfig_ResourceGroup `protobuf:"bytes,4,opt,name=resource_group,json=resourceGroup,proto3,oneof"`
472}
473
474func (*UptimeCheckConfig_MonitoredResource) isUptimeCheckConfig_Resource() {}
475
476func (*UptimeCheckConfig_ResourceGroup_) isUptimeCheckConfig_Resource() {}
477
478func (m *UptimeCheckConfig) GetResource() isUptimeCheckConfig_Resource {
479	if m != nil {
480		return m.Resource
481	}
482	return nil
483}
484
485func (m *UptimeCheckConfig) GetMonitoredResource() *monitoredres.MonitoredResource {
486	if x, ok := m.GetResource().(*UptimeCheckConfig_MonitoredResource); ok {
487		return x.MonitoredResource
488	}
489	return nil
490}
491
492func (m *UptimeCheckConfig) GetResourceGroup() *UptimeCheckConfig_ResourceGroup {
493	if x, ok := m.GetResource().(*UptimeCheckConfig_ResourceGroup_); ok {
494		return x.ResourceGroup
495	}
496	return nil
497}
498
499type isUptimeCheckConfig_CheckRequestType interface {
500	isUptimeCheckConfig_CheckRequestType()
501}
502
503type UptimeCheckConfig_HttpCheck_ struct {
504	HttpCheck *UptimeCheckConfig_HttpCheck `protobuf:"bytes,5,opt,name=http_check,json=httpCheck,proto3,oneof"`
505}
506
507type UptimeCheckConfig_TcpCheck_ struct {
508	TcpCheck *UptimeCheckConfig_TcpCheck `protobuf:"bytes,6,opt,name=tcp_check,json=tcpCheck,proto3,oneof"`
509}
510
511func (*UptimeCheckConfig_HttpCheck_) isUptimeCheckConfig_CheckRequestType() {}
512
513func (*UptimeCheckConfig_TcpCheck_) isUptimeCheckConfig_CheckRequestType() {}
514
515func (m *UptimeCheckConfig) GetCheckRequestType() isUptimeCheckConfig_CheckRequestType {
516	if m != nil {
517		return m.CheckRequestType
518	}
519	return nil
520}
521
522func (m *UptimeCheckConfig) GetHttpCheck() *UptimeCheckConfig_HttpCheck {
523	if x, ok := m.GetCheckRequestType().(*UptimeCheckConfig_HttpCheck_); ok {
524		return x.HttpCheck
525	}
526	return nil
527}
528
529func (m *UptimeCheckConfig) GetTcpCheck() *UptimeCheckConfig_TcpCheck {
530	if x, ok := m.GetCheckRequestType().(*UptimeCheckConfig_TcpCheck_); ok {
531		return x.TcpCheck
532	}
533	return nil
534}
535
536func (m *UptimeCheckConfig) GetPeriod() *duration.Duration {
537	if m != nil {
538		return m.Period
539	}
540	return nil
541}
542
543func (m *UptimeCheckConfig) GetTimeout() *duration.Duration {
544	if m != nil {
545		return m.Timeout
546	}
547	return nil
548}
549
550func (m *UptimeCheckConfig) GetContentMatchers() []*UptimeCheckConfig_ContentMatcher {
551	if m != nil {
552		return m.ContentMatchers
553	}
554	return nil
555}
556
557func (m *UptimeCheckConfig) GetSelectedRegions() []UptimeCheckRegion {
558	if m != nil {
559		return m.SelectedRegions
560	}
561	return nil
562}
563
564// Deprecated: Do not use.
565func (m *UptimeCheckConfig) GetIsInternal() bool {
566	if m != nil {
567		return m.IsInternal
568	}
569	return false
570}
571
572// Deprecated: Do not use.
573func (m *UptimeCheckConfig) GetInternalCheckers() []*InternalChecker {
574	if m != nil {
575		return m.InternalCheckers
576	}
577	return nil
578}
579
580// XXX_OneofWrappers is for the internal use of the proto package.
581func (*UptimeCheckConfig) XXX_OneofWrappers() []interface{} {
582	return []interface{}{
583		(*UptimeCheckConfig_MonitoredResource)(nil),
584		(*UptimeCheckConfig_ResourceGroup_)(nil),
585		(*UptimeCheckConfig_HttpCheck_)(nil),
586		(*UptimeCheckConfig_TcpCheck_)(nil),
587	}
588}
589
590// The resource submessage for group checks. It can be used instead of a
591// monitored resource, when multiple resources are being monitored.
592type UptimeCheckConfig_ResourceGroup struct {
593	// The group of resources being monitored. Should be only the `[GROUP_ID]`,
594	// and not the full-path
595	// `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.
596	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
597	// The resource type of the group members.
598	ResourceType         GroupResourceType `protobuf:"varint,2,opt,name=resource_type,json=resourceType,proto3,enum=google.monitoring.v3.GroupResourceType" json:"resource_type,omitempty"`
599	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
600	XXX_unrecognized     []byte            `json:"-"`
601	XXX_sizecache        int32             `json:"-"`
602}
603
604func (m *UptimeCheckConfig_ResourceGroup) Reset()         { *m = UptimeCheckConfig_ResourceGroup{} }
605func (m *UptimeCheckConfig_ResourceGroup) String() string { return proto.CompactTextString(m) }
606func (*UptimeCheckConfig_ResourceGroup) ProtoMessage()    {}
607func (*UptimeCheckConfig_ResourceGroup) Descriptor() ([]byte, []int) {
608	return fileDescriptor_7ca0e36dfc8221d8, []int{1, 0}
609}
610
611func (m *UptimeCheckConfig_ResourceGroup) XXX_Unmarshal(b []byte) error {
612	return xxx_messageInfo_UptimeCheckConfig_ResourceGroup.Unmarshal(m, b)
613}
614func (m *UptimeCheckConfig_ResourceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
615	return xxx_messageInfo_UptimeCheckConfig_ResourceGroup.Marshal(b, m, deterministic)
616}
617func (m *UptimeCheckConfig_ResourceGroup) XXX_Merge(src proto.Message) {
618	xxx_messageInfo_UptimeCheckConfig_ResourceGroup.Merge(m, src)
619}
620func (m *UptimeCheckConfig_ResourceGroup) XXX_Size() int {
621	return xxx_messageInfo_UptimeCheckConfig_ResourceGroup.Size(m)
622}
623func (m *UptimeCheckConfig_ResourceGroup) XXX_DiscardUnknown() {
624	xxx_messageInfo_UptimeCheckConfig_ResourceGroup.DiscardUnknown(m)
625}
626
627var xxx_messageInfo_UptimeCheckConfig_ResourceGroup proto.InternalMessageInfo
628
629func (m *UptimeCheckConfig_ResourceGroup) GetGroupId() string {
630	if m != nil {
631		return m.GroupId
632	}
633	return ""
634}
635
636func (m *UptimeCheckConfig_ResourceGroup) GetResourceType() GroupResourceType {
637	if m != nil {
638		return m.ResourceType
639	}
640	return GroupResourceType_RESOURCE_TYPE_UNSPECIFIED
641}
642
643// Information involved in an HTTP/HTTPS Uptime check request.
644type UptimeCheckConfig_HttpCheck struct {
645	// The HTTP request method to use for the check.
646	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"`
647	// If `true`, use HTTPS instead of HTTP to run the check.
648	UseSsl bool `protobuf:"varint,1,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"`
649	// Optional (defaults to "/"). The path to the page against which to run
650	// the check. Will be combined with the `host` (specified within the
651	// `monitored_resource`) and `port` to construct the full URL. If the
652	// provided path does not begin with "/", a "/" will be prepended
653	// automatically.
654	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
655	// Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
656	// `use_ssl` is `true`). The TCP port on the HTTP server against which to
657	// run the check. Will be combined with host (specified within the
658	// `monitored_resource`) and `path` to construct the full URL.
659	Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
660	// The authentication information. Optional when creating an HTTP check;
661	// defaults to empty.
662	AuthInfo *UptimeCheckConfig_HttpCheck_BasicAuthentication `protobuf:"bytes,4,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"`
663	// Boolean specifiying whether to encrypt the header information.
664	// Encryption should be specified for any headers related to authentication
665	// that you do not wish to be seen when retrieving the configuration. The
666	// server will be responsible for encrypting the headers.
667	// On Get/List calls, if `mask_headers` is set to `true` then the headers
668	// will be obscured with `******.`
669	MaskHeaders bool `protobuf:"varint,5,opt,name=mask_headers,json=maskHeaders,proto3" json:"mask_headers,omitempty"`
670	// The list of headers to send as part of the Uptime check request.
671	// If two headers have the same key and different values, they should
672	// be entered as a single header, with the value being a comma-separated
673	// list of all the desired values as described at
674	// https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31).
675	// Entering two separate headers with the same key in a Create call will
676	// cause the first to be overwritten by the second.
677	// The maximum number of headers allowed is 100.
678	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"`
679	// The content type to use for the check.
680	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"`
681	// Boolean specifying whether to include SSL certificate validation as a
682	// part of the Uptime check. Only applies to checks where
683	// `monitored_resource` is set to `uptime_url`. If `use_ssl` is `false`,
684	// setting `validate_ssl` to `true` has no effect.
685	ValidateSsl bool `protobuf:"varint,7,opt,name=validate_ssl,json=validateSsl,proto3" json:"validate_ssl,omitempty"`
686	// The request body associated with the HTTP request. If `content_type` is
687	// `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide
688	// a `Content-Length` header via the `headers` field or the API will do
689	// so. The maximum byte size is 1 megabyte. Note: As with all `bytes` fields
690	// JSON representations are base64 encoded.
691	Body                 []byte   `protobuf:"bytes,10,opt,name=body,proto3" json:"body,omitempty"`
692	XXX_NoUnkeyedLiteral struct{} `json:"-"`
693	XXX_unrecognized     []byte   `json:"-"`
694	XXX_sizecache        int32    `json:"-"`
695}
696
697func (m *UptimeCheckConfig_HttpCheck) Reset()         { *m = UptimeCheckConfig_HttpCheck{} }
698func (m *UptimeCheckConfig_HttpCheck) String() string { return proto.CompactTextString(m) }
699func (*UptimeCheckConfig_HttpCheck) ProtoMessage()    {}
700func (*UptimeCheckConfig_HttpCheck) Descriptor() ([]byte, []int) {
701	return fileDescriptor_7ca0e36dfc8221d8, []int{1, 1}
702}
703
704func (m *UptimeCheckConfig_HttpCheck) XXX_Unmarshal(b []byte) error {
705	return xxx_messageInfo_UptimeCheckConfig_HttpCheck.Unmarshal(m, b)
706}
707func (m *UptimeCheckConfig_HttpCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
708	return xxx_messageInfo_UptimeCheckConfig_HttpCheck.Marshal(b, m, deterministic)
709}
710func (m *UptimeCheckConfig_HttpCheck) XXX_Merge(src proto.Message) {
711	xxx_messageInfo_UptimeCheckConfig_HttpCheck.Merge(m, src)
712}
713func (m *UptimeCheckConfig_HttpCheck) XXX_Size() int {
714	return xxx_messageInfo_UptimeCheckConfig_HttpCheck.Size(m)
715}
716func (m *UptimeCheckConfig_HttpCheck) XXX_DiscardUnknown() {
717	xxx_messageInfo_UptimeCheckConfig_HttpCheck.DiscardUnknown(m)
718}
719
720var xxx_messageInfo_UptimeCheckConfig_HttpCheck proto.InternalMessageInfo
721
722func (m *UptimeCheckConfig_HttpCheck) GetRequestMethod() UptimeCheckConfig_HttpCheck_RequestMethod {
723	if m != nil {
724		return m.RequestMethod
725	}
726	return UptimeCheckConfig_HttpCheck_METHOD_UNSPECIFIED
727}
728
729func (m *UptimeCheckConfig_HttpCheck) GetUseSsl() bool {
730	if m != nil {
731		return m.UseSsl
732	}
733	return false
734}
735
736func (m *UptimeCheckConfig_HttpCheck) GetPath() string {
737	if m != nil {
738		return m.Path
739	}
740	return ""
741}
742
743func (m *UptimeCheckConfig_HttpCheck) GetPort() int32 {
744	if m != nil {
745		return m.Port
746	}
747	return 0
748}
749
750func (m *UptimeCheckConfig_HttpCheck) GetAuthInfo() *UptimeCheckConfig_HttpCheck_BasicAuthentication {
751	if m != nil {
752		return m.AuthInfo
753	}
754	return nil
755}
756
757func (m *UptimeCheckConfig_HttpCheck) GetMaskHeaders() bool {
758	if m != nil {
759		return m.MaskHeaders
760	}
761	return false
762}
763
764func (m *UptimeCheckConfig_HttpCheck) GetHeaders() map[string]string {
765	if m != nil {
766		return m.Headers
767	}
768	return nil
769}
770
771func (m *UptimeCheckConfig_HttpCheck) GetContentType() UptimeCheckConfig_HttpCheck_ContentType {
772	if m != nil {
773		return m.ContentType
774	}
775	return UptimeCheckConfig_HttpCheck_TYPE_UNSPECIFIED
776}
777
778func (m *UptimeCheckConfig_HttpCheck) GetValidateSsl() bool {
779	if m != nil {
780		return m.ValidateSsl
781	}
782	return false
783}
784
785func (m *UptimeCheckConfig_HttpCheck) GetBody() []byte {
786	if m != nil {
787		return m.Body
788	}
789	return nil
790}
791
792// The authentication parameters to provide to the specified resource or
793// URL that requires a username and password. Currently, only
794// [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
795// supported in Uptime checks.
796type UptimeCheckConfig_HttpCheck_BasicAuthentication struct {
797	// The username to use when authenticating with the HTTP server.
798	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
799	// The password to use when authenticating with the HTTP server.
800	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
801	XXX_NoUnkeyedLiteral struct{} `json:"-"`
802	XXX_unrecognized     []byte   `json:"-"`
803	XXX_sizecache        int32    `json:"-"`
804}
805
806func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) Reset() {
807	*m = UptimeCheckConfig_HttpCheck_BasicAuthentication{}
808}
809func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) String() string {
810	return proto.CompactTextString(m)
811}
812func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) ProtoMessage() {}
813func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) Descriptor() ([]byte, []int) {
814	return fileDescriptor_7ca0e36dfc8221d8, []int{1, 1, 0}
815}
816
817func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Unmarshal(b []byte) error {
818	return xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.Unmarshal(m, b)
819}
820func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
821	return xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.Marshal(b, m, deterministic)
822}
823func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Merge(src proto.Message) {
824	xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.Merge(m, src)
825}
826func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Size() int {
827	return xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.Size(m)
828}
829func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_DiscardUnknown() {
830	xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.DiscardUnknown(m)
831}
832
833var xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication proto.InternalMessageInfo
834
835func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) GetUsername() string {
836	if m != nil {
837		return m.Username
838	}
839	return ""
840}
841
842func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) GetPassword() string {
843	if m != nil {
844		return m.Password
845	}
846	return ""
847}
848
849// Information required for a TCP Uptime check request.
850type UptimeCheckConfig_TcpCheck struct {
851	// The TCP port on the server against which to run the check. Will be
852	// combined with host (specified within the `monitored_resource`) to
853	// construct the full URL. Required.
854	Port                 int32    `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
855	XXX_NoUnkeyedLiteral struct{} `json:"-"`
856	XXX_unrecognized     []byte   `json:"-"`
857	XXX_sizecache        int32    `json:"-"`
858}
859
860func (m *UptimeCheckConfig_TcpCheck) Reset()         { *m = UptimeCheckConfig_TcpCheck{} }
861func (m *UptimeCheckConfig_TcpCheck) String() string { return proto.CompactTextString(m) }
862func (*UptimeCheckConfig_TcpCheck) ProtoMessage()    {}
863func (*UptimeCheckConfig_TcpCheck) Descriptor() ([]byte, []int) {
864	return fileDescriptor_7ca0e36dfc8221d8, []int{1, 2}
865}
866
867func (m *UptimeCheckConfig_TcpCheck) XXX_Unmarshal(b []byte) error {
868	return xxx_messageInfo_UptimeCheckConfig_TcpCheck.Unmarshal(m, b)
869}
870func (m *UptimeCheckConfig_TcpCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
871	return xxx_messageInfo_UptimeCheckConfig_TcpCheck.Marshal(b, m, deterministic)
872}
873func (m *UptimeCheckConfig_TcpCheck) XXX_Merge(src proto.Message) {
874	xxx_messageInfo_UptimeCheckConfig_TcpCheck.Merge(m, src)
875}
876func (m *UptimeCheckConfig_TcpCheck) XXX_Size() int {
877	return xxx_messageInfo_UptimeCheckConfig_TcpCheck.Size(m)
878}
879func (m *UptimeCheckConfig_TcpCheck) XXX_DiscardUnknown() {
880	xxx_messageInfo_UptimeCheckConfig_TcpCheck.DiscardUnknown(m)
881}
882
883var xxx_messageInfo_UptimeCheckConfig_TcpCheck proto.InternalMessageInfo
884
885func (m *UptimeCheckConfig_TcpCheck) GetPort() int32 {
886	if m != nil {
887		return m.Port
888	}
889	return 0
890}
891
892// Optional. Used to perform content matching. This allows matching based on
893// substrings and regular expressions, together with their negations. Only the
894// first 4 MB of an HTTP or HTTPS check's response (and the first
895// 1 MB of a TCP check's response) are examined for purposes of content
896// matching.
897type UptimeCheckConfig_ContentMatcher struct {
898	// String or regex content to match. Maximum 1024 bytes. An empty `content`
899	// string indicates no content matching is to be performed.
900	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
901	// The type of content matcher that will be applied to the server output,
902	// compared to the `content` string when the check is run.
903	Matcher              UptimeCheckConfig_ContentMatcher_ContentMatcherOption `protobuf:"varint,2,opt,name=matcher,proto3,enum=google.monitoring.v3.UptimeCheckConfig_ContentMatcher_ContentMatcherOption" json:"matcher,omitempty"`
904	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
905	XXX_unrecognized     []byte                                                `json:"-"`
906	XXX_sizecache        int32                                                 `json:"-"`
907}
908
909func (m *UptimeCheckConfig_ContentMatcher) Reset()         { *m = UptimeCheckConfig_ContentMatcher{} }
910func (m *UptimeCheckConfig_ContentMatcher) String() string { return proto.CompactTextString(m) }
911func (*UptimeCheckConfig_ContentMatcher) ProtoMessage()    {}
912func (*UptimeCheckConfig_ContentMatcher) Descriptor() ([]byte, []int) {
913	return fileDescriptor_7ca0e36dfc8221d8, []int{1, 3}
914}
915
916func (m *UptimeCheckConfig_ContentMatcher) XXX_Unmarshal(b []byte) error {
917	return xxx_messageInfo_UptimeCheckConfig_ContentMatcher.Unmarshal(m, b)
918}
919func (m *UptimeCheckConfig_ContentMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
920	return xxx_messageInfo_UptimeCheckConfig_ContentMatcher.Marshal(b, m, deterministic)
921}
922func (m *UptimeCheckConfig_ContentMatcher) XXX_Merge(src proto.Message) {
923	xxx_messageInfo_UptimeCheckConfig_ContentMatcher.Merge(m, src)
924}
925func (m *UptimeCheckConfig_ContentMatcher) XXX_Size() int {
926	return xxx_messageInfo_UptimeCheckConfig_ContentMatcher.Size(m)
927}
928func (m *UptimeCheckConfig_ContentMatcher) XXX_DiscardUnknown() {
929	xxx_messageInfo_UptimeCheckConfig_ContentMatcher.DiscardUnknown(m)
930}
931
932var xxx_messageInfo_UptimeCheckConfig_ContentMatcher proto.InternalMessageInfo
933
934func (m *UptimeCheckConfig_ContentMatcher) GetContent() string {
935	if m != nil {
936		return m.Content
937	}
938	return ""
939}
940
941func (m *UptimeCheckConfig_ContentMatcher) GetMatcher() UptimeCheckConfig_ContentMatcher_ContentMatcherOption {
942	if m != nil {
943		return m.Matcher
944	}
945	return UptimeCheckConfig_ContentMatcher_CONTENT_MATCHER_OPTION_UNSPECIFIED
946}
947
948// Contains the region, location, and list of IP
949// addresses where checkers in the location run from.
950type UptimeCheckIp struct {
951	// A broad region category in which the IP address is located.
952	Region UptimeCheckRegion `protobuf:"varint,1,opt,name=region,proto3,enum=google.monitoring.v3.UptimeCheckRegion" json:"region,omitempty"`
953	// A more specific location within the region that typically encodes
954	// a particular city/town/metro (and its containing state/province or country)
955	// within the broader umbrella region category.
956	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
957	// The IP address from which the Uptime check originates. This is a fully
958	// specified IP address (not an IP address range). Most IP addresses, as of
959	// this publication, are in IPv4 format; however, one should not rely on the
960	// IP addresses being in IPv4 format indefinitely, and should support
961	// interpreting this field in either IPv4 or IPv6 format.
962	IpAddress            string   `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
963	XXX_NoUnkeyedLiteral struct{} `json:"-"`
964	XXX_unrecognized     []byte   `json:"-"`
965	XXX_sizecache        int32    `json:"-"`
966}
967
968func (m *UptimeCheckIp) Reset()         { *m = UptimeCheckIp{} }
969func (m *UptimeCheckIp) String() string { return proto.CompactTextString(m) }
970func (*UptimeCheckIp) ProtoMessage()    {}
971func (*UptimeCheckIp) Descriptor() ([]byte, []int) {
972	return fileDescriptor_7ca0e36dfc8221d8, []int{2}
973}
974
975func (m *UptimeCheckIp) XXX_Unmarshal(b []byte) error {
976	return xxx_messageInfo_UptimeCheckIp.Unmarshal(m, b)
977}
978func (m *UptimeCheckIp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
979	return xxx_messageInfo_UptimeCheckIp.Marshal(b, m, deterministic)
980}
981func (m *UptimeCheckIp) XXX_Merge(src proto.Message) {
982	xxx_messageInfo_UptimeCheckIp.Merge(m, src)
983}
984func (m *UptimeCheckIp) XXX_Size() int {
985	return xxx_messageInfo_UptimeCheckIp.Size(m)
986}
987func (m *UptimeCheckIp) XXX_DiscardUnknown() {
988	xxx_messageInfo_UptimeCheckIp.DiscardUnknown(m)
989}
990
991var xxx_messageInfo_UptimeCheckIp proto.InternalMessageInfo
992
993func (m *UptimeCheckIp) GetRegion() UptimeCheckRegion {
994	if m != nil {
995		return m.Region
996	}
997	return UptimeCheckRegion_REGION_UNSPECIFIED
998}
999
1000func (m *UptimeCheckIp) GetLocation() string {
1001	if m != nil {
1002		return m.Location
1003	}
1004	return ""
1005}
1006
1007func (m *UptimeCheckIp) GetIpAddress() string {
1008	if m != nil {
1009		return m.IpAddress
1010	}
1011	return ""
1012}
1013
1014func init() {
1015	proto.RegisterEnum("google.monitoring.v3.UptimeCheckRegion", UptimeCheckRegion_name, UptimeCheckRegion_value)
1016	proto.RegisterEnum("google.monitoring.v3.GroupResourceType", GroupResourceType_name, GroupResourceType_value)
1017	proto.RegisterEnum("google.monitoring.v3.InternalChecker_State", InternalChecker_State_name, InternalChecker_State_value)
1018	proto.RegisterEnum("google.monitoring.v3.UptimeCheckConfig_HttpCheck_RequestMethod", UptimeCheckConfig_HttpCheck_RequestMethod_name, UptimeCheckConfig_HttpCheck_RequestMethod_value)
1019	proto.RegisterEnum("google.monitoring.v3.UptimeCheckConfig_HttpCheck_ContentType", UptimeCheckConfig_HttpCheck_ContentType_name, UptimeCheckConfig_HttpCheck_ContentType_value)
1020	proto.RegisterEnum("google.monitoring.v3.UptimeCheckConfig_ContentMatcher_ContentMatcherOption", UptimeCheckConfig_ContentMatcher_ContentMatcherOption_name, UptimeCheckConfig_ContentMatcher_ContentMatcherOption_value)
1021	proto.RegisterType((*InternalChecker)(nil), "google.monitoring.v3.InternalChecker")
1022	proto.RegisterType((*UptimeCheckConfig)(nil), "google.monitoring.v3.UptimeCheckConfig")
1023	proto.RegisterType((*UptimeCheckConfig_ResourceGroup)(nil), "google.monitoring.v3.UptimeCheckConfig.ResourceGroup")
1024	proto.RegisterType((*UptimeCheckConfig_HttpCheck)(nil), "google.monitoring.v3.UptimeCheckConfig.HttpCheck")
1025	proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.UptimeCheckConfig.HttpCheck.HeadersEntry")
1026	proto.RegisterType((*UptimeCheckConfig_HttpCheck_BasicAuthentication)(nil), "google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication")
1027	proto.RegisterType((*UptimeCheckConfig_TcpCheck)(nil), "google.monitoring.v3.UptimeCheckConfig.TcpCheck")
1028	proto.RegisterType((*UptimeCheckConfig_ContentMatcher)(nil), "google.monitoring.v3.UptimeCheckConfig.ContentMatcher")
1029	proto.RegisterType((*UptimeCheckIp)(nil), "google.monitoring.v3.UptimeCheckIp")
1030}
1031
1032func init() {
1033	proto.RegisterFile("google/monitoring/v3/uptime.proto", fileDescriptor_7ca0e36dfc8221d8)
1034}
1035
1036var fileDescriptor_7ca0e36dfc8221d8 = []byte{
1037	// 1421 bytes of a gzipped FileDescriptorProto
1038	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xcd, 0x6e, 0xdb, 0xc6,
1039	0x16, 0x0e, 0x25, 0x5b, 0x3f, 0x47, 0xb2, 0x4d, 0x4f, 0x9c, 0x1b, 0x5a, 0x80, 0x03, 0x47, 0xc1,
1040	0xcd, 0x35, 0x12, 0x40, 0xba, 0xb1, 0xee, 0x2d, 0x5a, 0x05, 0x4d, 0x40, 0xc9, 0xac, 0x25, 0xd4,
1041	0x96, 0x84, 0x11, 0xed, 0xa6, 0x69, 0x50, 0x96, 0x26, 0xc7, 0x12, 0x6b, 0x89, 0xc3, 0x92, 0x23,
1042	0xa7, 0x8e, 0x91, 0x27, 0xe8, 0xbe, 0xfb, 0x6e, 0xd3, 0xc7, 0xe8, 0xa6, 0xe8, 0xa3, 0x64, 0xd3,
1043	0x45, 0x5f, 0xa0, 0x98, 0x19, 0xd2, 0x96, 0x6c, 0x17, 0xb1, 0xb3, 0x9b, 0xf3, 0xf7, 0x89, 0xe7,
1044	0xe7, 0x3b, 0x33, 0x82, 0xfb, 0x03, 0x4a, 0x07, 0x23, 0x52, 0x1d, 0x53, 0xdf, 0x63, 0x34, 0xf4,
1045	0xfc, 0x41, 0xf5, 0xb8, 0x56, 0x9d, 0x04, 0xcc, 0x1b, 0x93, 0x4a, 0x10, 0x52, 0x46, 0xd1, 0x8a,
1046	0x74, 0xa9, 0x9c, 0xbb, 0x54, 0x8e, 0x6b, 0xa5, 0x07, 0x71, 0xa0, 0x1d, 0x78, 0x49, 0x30, 0x71,
1047	0xad, 0x90, 0x44, 0x74, 0x12, 0x3a, 0x71, 0x68, 0x69, 0x75, 0xca, 0xe9, 0x82, 0xe9, 0x5e, 0x6c,
1048	0x12, 0xd2, 0xc1, 0xe4, 0xb0, 0xea, 0x4e, 0x42, 0x9b, 0x79, 0xd4, 0x97, 0xf6, 0xf2, 0x2f, 0x29,
1049	0x58, 0x6a, 0xfb, 0x8c, 0x84, 0xbe, 0x3d, 0x6a, 0x0e, 0x89, 0x73, 0x44, 0x42, 0x84, 0x60, 0xce,
1050	0xb7, 0xc7, 0x44, 0x53, 0xd6, 0x95, 0x8d, 0x3c, 0x16, 0x67, 0x74, 0x1f, 0x8a, 0xae, 0x17, 0x05,
1051	0x23, 0xfb, 0xc4, 0x12, 0xb6, 0x94, 0xb0, 0x15, 0x62, 0x5d, 0x87, 0xbb, 0x68, 0x90, 0xf5, 0x09,
1052	0x7b, 0x4d, 0xc3, 0x23, 0x2d, 0x2d, 0xac, 0x89, 0x88, 0x56, 0x21, 0x37, 0x70, 0x02, 0xeb, 0x0d,
1053	0xf5, 0x89, 0x36, 0x27, 0x4d, 0x03, 0x27, 0x78, 0x49, 0x7d, 0x82, 0x1e, 0xc2, 0x52, 0x40, 0x48,
1054	0x68, 0x05, 0x21, 0xfd, 0x9e, 0x38, 0xcc, 0xf2, 0x5c, 0x2d, 0x23, 0x3c, 0x16, 0xb8, 0xba, 0x27,
1055	0xb5, 0x6d, 0x17, 0xe9, 0x30, 0x1f, 0x31, 0x9b, 0x11, 0x2d, 0xbb, 0xae, 0x6c, 0x2c, 0x6e, 0x3e,
1056	0xae, 0x5c, 0x55, 0xad, 0xca, 0x85, 0x4c, 0x2a, 0x7d, 0x1e, 0x82, 0x65, 0x64, 0xb9, 0x06, 0xf3,
1057	0x42, 0x46, 0x4b, 0x50, 0xd8, 0xeb, 0xf4, 0x7b, 0x46, 0xb3, 0xfd, 0x45, 0xdb, 0xd8, 0x52, 0x6f,
1058	0xa1, 0x22, 0xe4, 0x9a, 0xd8, 0xd0, 0xcd, 0x76, 0x67, 0x5b, 0x55, 0x50, 0x01, 0xb2, 0x78, 0xaf,
1059	0xd3, 0xe1, 0x42, 0xaa, 0x9e, 0xd2, 0x94, 0xf2, 0xef, 0x08, 0x96, 0xf7, 0x44, 0xab, 0x04, 0x6e,
1060	0x93, 0xfa, 0x87, 0xde, 0xe0, 0x63, 0xab, 0xd4, 0x01, 0x74, 0xb9, 0x8f, 0xa2, 0x60, 0x85, 0xcd,
1061	0xb5, 0x24, 0x2b, 0x3b, 0xf0, 0x2a, 0xbb, 0x89, 0x17, 0x8e, 0x9d, 0x5a, 0xb7, 0xf0, 0xf2, 0xf8,
1062	0xa2, 0x12, 0x7d, 0x0b, 0x8b, 0x09, 0x8a, 0x35, 0x08, 0xe9, 0x24, 0x10, 0x15, 0x2e, 0x6c, 0xfe,
1063	0xff, 0xea, 0x0a, 0x5d, 0xca, 0xa3, 0x92, 0x20, 0x6d, 0xf3, 0xe0, 0xd6, 0x2d, 0xbc, 0x10, 0x4e,
1064	0x2b, 0x10, 0x06, 0x18, 0x32, 0x16, 0x58, 0x0e, 0x0f, 0xd1, 0xe6, 0x05, 0xf6, 0x93, 0xeb, 0x62,
1065	0xb7, 0x18, 0x0b, 0x84, 0xdc, 0x52, 0x70, 0x7e, 0x98, 0x08, 0xa8, 0x0b, 0x79, 0xe6, 0x24, 0x90,
1066	0x19, 0x01, 0xf9, 0xdf, 0xeb, 0x42, 0x9a, 0xce, 0x19, 0x62, 0x8e, 0xc5, 0x67, 0xf4, 0x04, 0x32,
1067	0x01, 0x09, 0x3d, 0xea, 0x8a, 0xf1, 0x28, 0x6c, 0xae, 0x26, 0x68, 0xc9, 0xd8, 0x57, 0xb6, 0xe2,
1068	0xb1, 0xc7, 0xb1, 0x23, 0xaa, 0x41, 0x96, 0x43, 0xd3, 0x09, 0xd3, 0x72, 0x1f, 0x8a, 0x49, 0x3c,
1069	0x91, 0x0d, 0xaa, 0x43, 0x7d, 0x46, 0x7c, 0x66, 0x8d, 0x6d, 0xe6, 0x0c, 0x49, 0x18, 0x69, 0xf9,
1070	0xf5, 0xf4, 0x46, 0x61, 0xf3, 0x93, 0xeb, 0x7e, 0x7f, 0x53, 0xc6, 0xef, 0xca, 0x70, 0xbc, 0xe4,
1071	0xcc, 0xc8, 0x11, 0xc2, 0xa0, 0x46, 0x64, 0x44, 0x1c, 0x26, 0xc6, 0x63, 0xe0, 0x51, 0x3f, 0xd2,
1072	0x60, 0x3d, 0xbd, 0xb1, 0xb8, 0xf9, 0x9f, 0x0f, 0xfe, 0x04, 0x16, 0xfe, 0x78, 0x29, 0x01, 0x90,
1073	0x72, 0x84, 0x1e, 0x40, 0xc1, 0x8b, 0x2c, 0x2f, 0x26, 0x87, 0xb6, 0xb4, 0xae, 0x6c, 0xe4, 0x1a,
1074	0x29, 0x4d, 0xc1, 0xe0, 0x45, 0x09, 0x65, 0xd0, 0x3e, 0x2c, 0x27, 0x1e, 0xb2, 0x33, 0x3c, 0xb9,
1075	0x45, 0x91, 0xdc, 0xbf, 0xaf, 0xc5, 0x36, 0x81, 0xa8, 0x7a, 0xb3, 0xca, 0xa8, 0xf4, 0x23, 0x2c,
1076	0xcc, 0x8c, 0x98, 0xd8, 0x06, 0xfc, 0xc0, 0xb9, 0xae, 0xc4, 0xdb, 0x80, 0xcb, 0x6d, 0x17, 0xed,
1077	0xc0, 0xd9, 0xf4, 0x59, 0xec, 0x24, 0x90, 0x04, 0xfa, 0xc7, 0xcc, 0x05, 0x5c, 0x82, 0x6d, 0x9e,
1078	0x04, 0x04, 0x17, 0xc3, 0x29, 0xa9, 0xf4, 0x6b, 0x06, 0xf2, 0x67, 0x13, 0x88, 0x0e, 0x39, 0x51,
1079	0x7e, 0x98, 0x90, 0x88, 0x59, 0x63, 0xc2, 0x86, 0xd4, 0x15, 0x7d, 0x5f, 0xdc, 0x7c, 0x7e, 0xe3,
1080	0x61, 0xae, 0x60, 0x89, 0xb3, 0x2b, 0x60, 0x38, 0x61, 0xa6, 0x44, 0x74, 0x17, 0xb2, 0x93, 0x88,
1081	0x58, 0x51, 0x34, 0x12, 0xd9, 0xe5, 0x70, 0x66, 0x12, 0x91, 0x7e, 0x34, 0xe2, 0x0b, 0x23, 0xb0,
1082	0xd9, 0x30, 0x5e, 0x0a, 0xe2, 0x2c, 0x74, 0x34, 0x64, 0x82, 0xff, 0xf3, 0x58, 0x9c, 0xd1, 0x01,
1083	0xe4, 0xed, 0x09, 0x1b, 0x5a, 0x9e, 0x7f, 0x48, 0x63, 0x32, 0x1b, 0x37, 0xff, 0xc6, 0x86, 0x1d,
1084	0x79, 0x8e, 0x3e, 0x61, 0x43, 0xe2, 0x33, 0xcf, 0x91, 0x73, 0x9c, 0xe3, 0xb8, 0x6d, 0xff, 0x90,
1085	0xf2, 0x45, 0x35, 0xb6, 0xa3, 0x23, 0x6b, 0x48, 0x6c, 0x97, 0xf7, 0x79, 0x5e, 0x7c, 0x69, 0x81,
1086	0xeb, 0x5a, 0x52, 0x85, 0x5e, 0x40, 0x36, 0xb1, 0x66, 0xc4, 0x14, 0x3c, 0xbb, 0xf9, 0x47, 0xc4,
1087	0x58, 0x86, 0xcf, 0xc2, 0x13, 0x9c, 0xc0, 0xa1, 0xef, 0xa0, 0x98, 0xb0, 0x48, 0x34, 0x39, 0x2f,
1088	0xfa, 0xf0, 0xf9, 0xcd, 0xe1, 0x63, 0x2e, 0x89, 0xd6, 0x17, 0x9c, 0x73, 0x81, 0xa7, 0x77, 0x6c,
1089	0x8f, 0x3c, 0xd7, 0x66, 0xb2, 0x11, 0x59, 0x99, 0x5e, 0xa2, 0x8b, 0xbb, 0x71, 0x40, 0xdd, 0x13,
1090	0x0d, 0xd6, 0x95, 0x8d, 0x22, 0x16, 0xe7, 0xd2, 0x2e, 0xdc, 0xbe, 0xa2, 0x6c, 0xa8, 0x04, 0xb9,
1091	0x49, 0xc4, 0x87, 0xfa, 0x6c, 0xdb, 0x9f, 0xc9, 0xdc, 0x16, 0xd8, 0x51, 0xf4, 0x9a, 0x86, 0x6e,
1092	0xdc, 0xd8, 0x33, 0xb9, 0x54, 0x87, 0xe2, 0x74, 0x01, 0x90, 0x0a, 0xe9, 0x23, 0x72, 0x12, 0x43,
1093	0xf0, 0x23, 0x5a, 0x81, 0xf9, 0x63, 0x7b, 0x34, 0x49, 0x2e, 0x0a, 0x29, 0xd4, 0x53, 0x9f, 0x2a,
1094	0xe5, 0x3a, 0x67, 0xcd, 0xf4, 0x58, 0xfd, 0x0b, 0xd0, 0xae, 0x61, 0xb6, 0xba, 0x5b, 0xd6, 0xec,
1095	0xdd, 0x95, 0x85, 0xf4, 0xb6, 0x61, 0xaa, 0x0a, 0xca, 0xc1, 0x5c, 0xaf, 0xdb, 0x37, 0xd5, 0x54,
1096	0xf9, 0x7f, 0x50, 0x98, 0xaa, 0x0c, 0x5a, 0x01, 0xd5, 0xfc, 0xba, 0x67, 0x5c, 0x88, 0xe3, 0x97,
1097	0x20, 0xde, 0xb1, 0x8c, 0x4e, 0xb3, 0xbb, 0x65, 0x6c, 0xa9, 0x4a, 0xe9, 0x1e, 0xe4, 0x92, 0xdd,
1098	0x7a, 0x36, 0x96, 0xca, 0xf9, 0x58, 0x96, 0xde, 0xa5, 0x60, 0x71, 0x76, 0x79, 0xf1, 0x1b, 0x3f,
1099	0xae, 0x7a, 0x42, 0xe4, 0x58, 0x44, 0x04, 0xb2, 0xf1, 0x82, 0x8c, 0x29, 0xfc, 0xe5, 0xc7, 0xed,
1100	0xc7, 0x0b, 0x62, 0x37, 0x90, 0xfb, 0x38, 0xc6, 0x2e, 0xff, 0xac, 0xc0, 0xca, 0x55, 0x1e, 0xe8,
1101	0x21, 0x94, 0x9b, 0xdd, 0x8e, 0x69, 0x74, 0x4c, 0x6b, 0x57, 0x37, 0x9b, 0x2d, 0x03, 0x5b, 0xdd,
1102	0x9e, 0xd9, 0xee, 0x76, 0x2e, 0x54, 0xe1, 0x36, 0x2c, 0x71, 0x3f, 0xbd, 0xdd, 0xe9, 0x5b, 0x7d,
1103	0x13, 0xcb, 0x07, 0xc0, 0x5d, 0xb8, 0xdd, 0xe9, 0x9a, 0xd6, 0x45, 0x43, 0x0a, 0x2d, 0xc3, 0x82,
1104	0x44, 0xeb, 0x5b, 0xd8, 0xd8, 0x36, 0x5e, 0xa8, 0x69, 0x74, 0x07, 0x96, 0xb9, 0xef, 0xac, 0x7a,
1105	0xae, 0xfe, 0x97, 0xf2, 0x5e, 0xff, 0x53, 0x81, 0xc7, 0x53, 0xd9, 0xca, 0xfc, 0xed, 0xc0, 0x8b,
1106	0x2a, 0x0e, 0x1d, 0x57, 0x2f, 0x3f, 0x28, 0x9e, 0xc6, 0x6f, 0xa0, 0xa8, 0x7a, 0x1a, 0x9f, 0xde,
1107	0xc6, 0x2f, 0xc4, 0x29, 0xaf, 0xa8, 0x7a, 0x2a, 0x75, 0x72, 0x47, 0x5b, 0x8e, 0xd0, 0xbe, 0x45,
1108	0x06, 0x0d, 0x07, 0xb6, 0xef, 0xbd, 0x11, 0x13, 0x1b, 0x55, 0x4f, 0xa7, 0xc5, 0x1b, 0xc0, 0x7c,
1109	0x76, 0x48, 0x47, 0x7c, 0x60, 0xab, 0xa7, 0xf2, 0x70, 0x83, 0x50, 0xe5, 0x51, 0x03, 0x20, 0x97,
1110	0x2c, 0xe0, 0xc6, 0x0a, 0x20, 0x69, 0x4f, 0x96, 0x2e, 0xa7, 0x7a, 0xf9, 0x27, 0x05, 0x16, 0xa6,
1111	0x32, 0x6f, 0x07, 0xe8, 0x39, 0x64, 0xe4, 0x35, 0x27, 0x46, 0xe8, 0x06, 0xb7, 0x5c, 0x1c, 0xc6,
1112	0x19, 0x38, 0xa2, 0x92, 0xa9, 0x09, 0x03, 0x13, 0x19, 0xad, 0x01, 0x78, 0x81, 0x65, 0xbb, 0x6e,
1113	0x48, 0xa2, 0x28, 0x7e, 0x95, 0xe6, 0xbd, 0x40, 0x97, 0x8a, 0x47, 0x64, 0xe6, 0x5d, 0x27, 0x71,
1114	0x39, 0xd1, 0xb0, 0xb1, 0x7d, 0x79, 0x54, 0xb2, 0x90, 0xde, 0xeb, 0xeb, 0xaa, 0x82, 0x00, 0x32,
1115	0xc6, 0x1e, 0xee, 0xf6, 0x0c, 0x39, 0x11, 0xfd, 0xee, 0x9e, 0xd9, 0xb2, 0xf4, 0x5d, 0x03, 0xb7,
1116	0x9b, 0xba, 0x9a, 0x46, 0x2a, 0x14, 0xf5, 0x7e, 0x5b, 0xb7, 0x7a, 0x3a, 0x0f, 0x6d, 0xaa, 0x73,
1117	0x8f, 0xbe, 0x81, 0xe5, 0x4b, 0x57, 0x15, 0x5a, 0x83, 0x55, 0x6c, 0xf4, 0xbb, 0x7b, 0xb8, 0x69,
1118	0x58, 0x57, 0xd0, 0xb3, 0x08, 0xb9, 0x76, 0xa7, 0x6f, 0xea, 0x9d, 0xa6, 0xa1, 0x2a, 0x68, 0x15,
1119	0xee, 0xe8, 0x5f, 0xf5, 0x2d, 0x63, 0xa7, 0x61, 0xed, 0x74, 0xf5, 0x2d, 0xab, 0xa1, 0xef, 0x70,
1120	0x0b, 0x56, 0x53, 0x8d, 0xdf, 0x14, 0xd0, 0x1c, 0x3a, 0xbe, 0xb2, 0x6a, 0x8d, 0x82, 0x4c, 0xaf,
1121	0xc7, 0x5f, 0x34, 0x3d, 0xe5, 0xe5, 0xb3, 0xd8, 0x69, 0x40, 0x47, 0xb6, 0x3f, 0xa8, 0xd0, 0x70,
1122	0x50, 0x1d, 0x10, 0x5f, 0xbc, 0x77, 0xaa, 0xe7, 0xe3, 0x39, 0xfb, 0x27, 0xe5, 0xe9, 0xb9, 0xf4,
1123	0x2e, 0x55, 0xda, 0x96, 0x00, 0xcd, 0x11, 0x9d, 0xb8, 0xc9, 0x0b, 0x95, 0xff, 0xd6, 0x7e, 0xed,
1124	0x8f, 0xc4, 0xf8, 0x4a, 0x18, 0x5f, 0x9d, 0x1b, 0x5f, 0xed, 0xd7, 0xde, 0xa7, 0xd6, 0xa4, 0xb1,
1125	0x5e, 0x17, 0xd6, 0x7a, 0xfd, 0xdc, 0x5c, 0xaf, 0xef, 0xd7, 0x0e, 0x32, 0xe2, 0x23, 0x6a, 0x7f,
1126	0x07, 0x00, 0x00, 0xff, 0xff, 0xff, 0x13, 0x03, 0x54, 0x28, 0x0d, 0x00, 0x00,
1127}
1128