1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package dashboardpb
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41 type IncidentList struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46
47
48
49
50 MonitoredResources []*monitoredres.MonitoredResource `protobuf:"bytes,1,rep,name=monitored_resources,json=monitoredResources,proto3" json:"monitored_resources,omitempty"`
51
52
53
54 PolicyNames []string `protobuf:"bytes,2,rep,name=policy_names,json=policyNames,proto3" json:"policy_names,omitempty"`
55 }
56
57 func (x *IncidentList) Reset() {
58 *x = IncidentList{}
59 if protoimpl.UnsafeEnabled {
60 mi := &file_google_monitoring_dashboard_v1_incident_list_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64 }
65
66 func (x *IncidentList) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*IncidentList) ProtoMessage() {}
71
72 func (x *IncidentList) ProtoReflect() protoreflect.Message {
73 mi := &file_google_monitoring_dashboard_v1_incident_list_proto_msgTypes[0]
74 if protoimpl.UnsafeEnabled && x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84
85 func (*IncidentList) Descriptor() ([]byte, []int) {
86 return file_google_monitoring_dashboard_v1_incident_list_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *IncidentList) GetMonitoredResources() []*monitoredres.MonitoredResource {
90 if x != nil {
91 return x.MonitoredResources
92 }
93 return nil
94 }
95
96 func (x *IncidentList) GetPolicyNames() []string {
97 if x != nil {
98 return x.PolicyNames
99 }
100 return nil
101 }
102
103 var File_google_monitoring_dashboard_v1_incident_list_proto protoreflect.FileDescriptor
104
105 var file_google_monitoring_dashboard_v1_incident_list_proto_rawDesc = []byte{
106 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
107 0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31,
108 0x2f, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70,
109 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e,
110 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72,
111 0x64, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
112 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
113 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
114 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f,
115 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x01, 0x0a, 0x0c, 0x49,
116 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x13, 0x6d,
117 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
118 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
119 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52,
120 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x6d, 0x6f,
121 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
122 0x12, 0x26, 0x0a, 0x0c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73,
123 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x70, 0x6f, 0x6c,
124 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x42, 0xfa, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d,
125 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
126 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x42,
127 0x11, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f,
128 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
129 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
130 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x61,
131 0x70, 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62,
132 0x3b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47,
133 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69,
134 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64,
135 0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
136 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x44, 0x61,
137 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f,
138 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69,
139 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72,
140 0x64, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
141 }
142
143 var (
144 file_google_monitoring_dashboard_v1_incident_list_proto_rawDescOnce sync.Once
145 file_google_monitoring_dashboard_v1_incident_list_proto_rawDescData = file_google_monitoring_dashboard_v1_incident_list_proto_rawDesc
146 )
147
148 func file_google_monitoring_dashboard_v1_incident_list_proto_rawDescGZIP() []byte {
149 file_google_monitoring_dashboard_v1_incident_list_proto_rawDescOnce.Do(func() {
150 file_google_monitoring_dashboard_v1_incident_list_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_dashboard_v1_incident_list_proto_rawDescData)
151 })
152 return file_google_monitoring_dashboard_v1_incident_list_proto_rawDescData
153 }
154
155 var file_google_monitoring_dashboard_v1_incident_list_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
156 var file_google_monitoring_dashboard_v1_incident_list_proto_goTypes = []interface{}{
157 (*IncidentList)(nil),
158 (*monitoredres.MonitoredResource)(nil),
159 }
160 var file_google_monitoring_dashboard_v1_incident_list_proto_depIdxs = []int32{
161 1,
162 1,
163 1,
164 1,
165 1,
166 0,
167 }
168
169 func init() { file_google_monitoring_dashboard_v1_incident_list_proto_init() }
170 func file_google_monitoring_dashboard_v1_incident_list_proto_init() {
171 if File_google_monitoring_dashboard_v1_incident_list_proto != nil {
172 return
173 }
174 if !protoimpl.UnsafeEnabled {
175 file_google_monitoring_dashboard_v1_incident_list_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
176 switch v := v.(*IncidentList); i {
177 case 0:
178 return &v.state
179 case 1:
180 return &v.sizeCache
181 case 2:
182 return &v.unknownFields
183 default:
184 return nil
185 }
186 }
187 }
188 type x struct{}
189 out := protoimpl.TypeBuilder{
190 File: protoimpl.DescBuilder{
191 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
192 RawDescriptor: file_google_monitoring_dashboard_v1_incident_list_proto_rawDesc,
193 NumEnums: 0,
194 NumMessages: 1,
195 NumExtensions: 0,
196 NumServices: 0,
197 },
198 GoTypes: file_google_monitoring_dashboard_v1_incident_list_proto_goTypes,
199 DependencyIndexes: file_google_monitoring_dashboard_v1_incident_list_proto_depIdxs,
200 MessageInfos: file_google_monitoring_dashboard_v1_incident_list_proto_msgTypes,
201 }.Build()
202 File_google_monitoring_dashboard_v1_incident_list_proto = out.File
203 file_google_monitoring_dashboard_v1_incident_list_proto_rawDesc = nil
204 file_google_monitoring_dashboard_v1_incident_list_proto_goTypes = nil
205 file_google_monitoring_dashboard_v1_incident_list_proto_depIdxs = nil
206 }
207
View as plain text