github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/policy_template/policy_template.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/alerting/proto/v1/policy_template.proto 3 // DO NOT EDIT!!! 4 5 package policy_template 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 rcommon "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/common" 21 document "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/document" 22 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 23 meta "github.com/cloudwan/goten-sdk/types/meta" 24 ) 25 26 // Reference imports to suppress errors if they are not otherwise used. 27 var ( 28 _ = fmt.Errorf 29 _ = reflect.Method{} 30 _ = sync.Once{} 31 32 _ = protojson.MarshalOptions{} 33 _ = proto.MarshalOptions{} 34 _ = preflect.Value{} 35 _ = protoimpl.DescBuilder{} 36 ) 37 38 // make sure we're using proto imports 39 var ( 40 _ = &document.Document{} 41 _ = &rcommon.LogCndSpec{} 42 _ = &iam_project.Project{} 43 _ = &meta.Meta{} 44 ) 45 46 const ( 47 // Verify that this generated code is sufficiently up-to-date. 48 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 49 // Verify that runtime/protoimpl is sufficiently up-to-date. 50 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 51 ) 52 53 // PolicyTemplate provides pre-defined templates for Policy 54 // resources. They may be public ones (available for all projects to be copied), 55 // but also can be private and available in selected projects only. 56 type PolicyTemplate struct { 57 state protoimpl.MessageState 58 sizeCache protoimpl.SizeCache 59 unknownFields protoimpl.UnknownFields 60 // Name of PolicyTemplate 61 // When creating a new instance, this field is optional and if not provided, 62 // it will be generated automatically. Last ID segment must conform to the 63 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 64 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 65 // Metadata is an object with information like create, update and delete time 66 // (for async deleted resources), has user labels/annotations, sharding 67 // information, multi-region syncing information and may have non-schema 68 // owners (useful for taking ownership of resources belonging to lower level 69 // services by higher ones). 70 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 71 // Display Name 72 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 73 // Long description 74 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` 75 // List of supporting documents. Pointed documents must be copied if Policy 76 // is created in different project. 77 SupportingDocs []*document.Reference `protobuf:"bytes,5,rep,customtype=Reference,name=supporting_docs,json=supportingDocs,proto3" json:"supporting_docs,omitempty"` 78 // Spec template 79 SpecTemplate *rcommon.PolicySpec `protobuf:"bytes,6,opt,name=spec_template,json=specTemplate,proto3" json:"spec_template,omitempty"` 80 } 81 82 func (m *PolicyTemplate) Reset() { 83 *m = PolicyTemplate{} 84 if protoimpl.UnsafeEnabled { 85 mi := &edgelq_alerting_proto_v1_policy_template_proto_msgTypes[0] 86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 87 ms.StoreMessageInfo(mi) 88 } 89 } 90 91 func (m *PolicyTemplate) String() string { 92 return protoimpl.X.MessageStringOf(m) 93 } 94 95 func (*PolicyTemplate) ProtoMessage() {} 96 97 func (m *PolicyTemplate) ProtoReflect() preflect.Message { 98 mi := &edgelq_alerting_proto_v1_policy_template_proto_msgTypes[0] 99 if protoimpl.UnsafeEnabled && m != nil { 100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 101 if ms.LoadMessageInfo() == nil { 102 ms.StoreMessageInfo(mi) 103 } 104 return ms 105 } 106 return mi.MessageOf(m) 107 } 108 109 func (*PolicyTemplate) GotenMessage() {} 110 111 // Deprecated, Use PolicyTemplate.ProtoReflect.Descriptor instead. 112 func (*PolicyTemplate) Descriptor() ([]byte, []int) { 113 return edgelq_alerting_proto_v1_policy_template_proto_rawDescGZIP(), []int{0} 114 } 115 116 func (m *PolicyTemplate) Unmarshal(b []byte) error { 117 return proto.Unmarshal(b, m) 118 } 119 120 func (m *PolicyTemplate) Marshal() ([]byte, error) { 121 return proto.Marshal(m) 122 } 123 124 func (m *PolicyTemplate) MarshalJSON() ([]byte, error) { 125 return protojson.MarshalOptions{}.Marshal(m) 126 } 127 128 func (m *PolicyTemplate) UnmarshalJSON(data []byte) error { 129 return protojson.Unmarshal(data, m) 130 } 131 132 func (m *PolicyTemplate) GetName() *Name { 133 if m != nil { 134 return m.Name 135 } 136 return nil 137 } 138 139 func (m *PolicyTemplate) GetMetadata() *meta.Meta { 140 if m != nil { 141 return m.Metadata 142 } 143 return nil 144 } 145 146 func (m *PolicyTemplate) GetDisplayName() string { 147 if m != nil { 148 return m.DisplayName 149 } 150 return "" 151 } 152 153 func (m *PolicyTemplate) GetDescription() string { 154 if m != nil { 155 return m.Description 156 } 157 return "" 158 } 159 160 func (m *PolicyTemplate) GetSupportingDocs() []*document.Reference { 161 if m != nil { 162 return m.SupportingDocs 163 } 164 return nil 165 } 166 167 func (m *PolicyTemplate) GetSpecTemplate() *rcommon.PolicySpec { 168 if m != nil { 169 return m.SpecTemplate 170 } 171 return nil 172 } 173 174 func (m *PolicyTemplate) SetName(fv *Name) { 175 if m == nil { 176 panic(fmt.Errorf("can't set %s on nil %s", "Name", "PolicyTemplate")) 177 } 178 m.Name = fv 179 } 180 181 func (m *PolicyTemplate) SetMetadata(fv *meta.Meta) { 182 if m == nil { 183 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "PolicyTemplate")) 184 } 185 m.Metadata = fv 186 } 187 188 func (m *PolicyTemplate) SetDisplayName(fv string) { 189 if m == nil { 190 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "PolicyTemplate")) 191 } 192 m.DisplayName = fv 193 } 194 195 func (m *PolicyTemplate) SetDescription(fv string) { 196 if m == nil { 197 panic(fmt.Errorf("can't set %s on nil %s", "Description", "PolicyTemplate")) 198 } 199 m.Description = fv 200 } 201 202 func (m *PolicyTemplate) SetSupportingDocs(fv []*document.Reference) { 203 if m == nil { 204 panic(fmt.Errorf("can't set %s on nil %s", "SupportingDocs", "PolicyTemplate")) 205 } 206 m.SupportingDocs = fv 207 } 208 209 func (m *PolicyTemplate) SetSpecTemplate(fv *rcommon.PolicySpec) { 210 if m == nil { 211 panic(fmt.Errorf("can't set %s on nil %s", "SpecTemplate", "PolicyTemplate")) 212 } 213 m.SpecTemplate = fv 214 } 215 216 var edgelq_alerting_proto_v1_policy_template_proto preflect.FileDescriptor 217 218 var edgelq_alerting_proto_v1_policy_template_proto_rawDesc = []byte{ 219 0x0a, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 220 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 221 0x79, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 222 0x12, 0x0f, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 223 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 224 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 225 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 226 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 227 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 228 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 229 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 230 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 231 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 232 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 233 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 234 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 235 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 236 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 237 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 238 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 239 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 240 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 241 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 242 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 243 0x65, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x0b, 0x0a, 0x0e, 0x50, 0x6f, 244 0x6c, 0x69, 0x63, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x04, 245 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0xb2, 0xda, 0x21, 0x12, 246 0x0a, 0x10, 0x0a, 0x0e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 247 0x74, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 248 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 249 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 250 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 251 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xca, 252 0xc6, 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 253 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 254 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xca, 0xc6, 255 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x04, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 256 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 257 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 258 0x12, 0xb2, 0xda, 0x21, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 259 0x74, 0x10, 0x04, 0x52, 0x0e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x44, 260 0x6f, 0x63, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 261 0x6c, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x74, 0x74, 262 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 263 0x69, 0x63, 0x79, 0x53, 0x70, 0x65, 0x63, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 264 0x01, 0x52, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x3a, 265 0xcc, 0x08, 0xea, 0x41, 0x5a, 0x0a, 0x22, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 266 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6f, 0x6c, 0x69, 0x63, 267 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x34, 0x70, 0x72, 0x6f, 0x6a, 0x65, 268 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70, 0x6f, 269 0x6c, 0x69, 0x63, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x70, 270 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x7d, 0x92, 271 0xd9, 0x21, 0xba, 0x05, 0x0a, 0x0f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x65, 0x6d, 0x70, 272 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x0f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x65, 0x6d, 273 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x16, 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 274 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x38, 0x05, 275 0x42, 0xda, 0x01, 0x08, 0x02, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 276 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 277 0x61, 0x6d, 0x65, 0x12, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x6e, 0x61, 0x6d, 278 0x65, 0x12, 0x23, 0x0a, 0x15, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 279 0x74, 0x65, 0x2e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x0a, 0x49, 0x73, 0x20, 0x65, 280 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x21, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 281 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 282 0x6e, 0x67, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x50, 0x72, 0x6f, 283 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 284 0x12, 0x4b, 0x0a, 0x31, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 285 0x65, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 286 0x69, 0x74, 0x79, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 287 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x20, 288 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x74, 0x79, 0x70, 0x65, 0x42, 0x9e, 0x03, 289 0x08, 0x03, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 0x61, 0x6d, 0x65, 290 0x12, 0x1c, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 291 0x12, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 292 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x44, 293 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0f, 0x73, 0x75, 294 0x70, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x12, 0x0f, 0x53, 295 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x64, 0x6f, 0x63, 0x73, 0x12, 0x23, 296 0x0a, 0x15, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 297 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x0a, 0x49, 0x73, 0x20, 0x65, 0x6e, 0x61, 0x62, 298 0x6c, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x21, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 299 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 300 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 301 0x73, 0x69, 0x6e, 0x67, 0x20, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 302 0x1f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x72, 303 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 304 0x12, 0x11, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 305 0x72, 0x63, 0x65, 0x12, 0x36, 0x0a, 0x20, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 306 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 307 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x12, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 308 0x69, 0x6e, 0x67, 0x20, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x1b, 0x73, 309 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x6e, 0x6f, 0x74, 310 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x15, 0x4e, 0x6f, 0x74, 0x69, 311 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 312 0x73, 0x12, 0x2b, 0x0a, 0x16, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 313 0x74, 0x65, 0x2e, 0x61, 0x69, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x11, 0x41, 0x49, 0x20, 314 0x41, 0x67, 0x65, 0x6e, 0x74, 0x20, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0xaa, 0xd9, 315 0x21, 0x85, 0x01, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 316 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 317 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 318 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 319 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 320 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 321 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 322 0x67, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x1a, 0x0c, 0x64, 0x69, 0x73, 0x70, 323 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xb2, 0xdf, 0x21, 0x47, 0x0a, 0x45, 0x0a, 0x43, 324 0x0a, 0x0d, 0x62, 0x79, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 325 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x24, 0x70, 326 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 327 0x7d, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 328 0x73, 0x2f, 0x2d, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xc2, 329 0x85, 0x2c, 0x4b, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 330 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 331 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 332 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x22, 0x0d, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x74, 0x65, 0x6d, 0x70, 333 0x6c, 0x61, 0x74, 0x65, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0xbb, 334 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x55, 0x0a, 0x15, 0x70, 0x6f, 0x6c, 0x69, 335 0x63, 0x79, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 336 0x65, 0x12, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 337 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 338 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 339 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0xa2, 340 0x80, 0xd1, 0x02, 0x57, 0x0a, 0x16, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74, 0x65, 0x6d, 341 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x67, 0x69, 342 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 343 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 344 0x67, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 345 0x63, 0x79, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 346 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 347 0x2e, 0x76, 0x31, 0x42, 0x13, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 348 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x69, 0x74, 0x68, 349 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 350 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 351 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 352 0x69, 0x63, 0x79, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x3b, 0x70, 0x6f, 0x6c, 353 0x69, 0x63, 0x79, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 354 0x6f, 0x74, 0x6f, 0x33, 355 } 356 357 var ( 358 edgelq_alerting_proto_v1_policy_template_proto_rawDescOnce sync.Once 359 edgelq_alerting_proto_v1_policy_template_proto_rawDescData = edgelq_alerting_proto_v1_policy_template_proto_rawDesc 360 ) 361 362 func edgelq_alerting_proto_v1_policy_template_proto_rawDescGZIP() []byte { 363 edgelq_alerting_proto_v1_policy_template_proto_rawDescOnce.Do(func() { 364 edgelq_alerting_proto_v1_policy_template_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_alerting_proto_v1_policy_template_proto_rawDescData) 365 }) 366 return edgelq_alerting_proto_v1_policy_template_proto_rawDescData 367 } 368 369 var edgelq_alerting_proto_v1_policy_template_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 370 var edgelq_alerting_proto_v1_policy_template_proto_goTypes = []interface{}{ 371 (*PolicyTemplate)(nil), // 0: ntt.alerting.v1.PolicyTemplate 372 (*meta.Meta)(nil), // 1: goten.types.Meta 373 (*rcommon.PolicySpec)(nil), // 2: ntt.alerting.v1.PolicySpec 374 } 375 var edgelq_alerting_proto_v1_policy_template_proto_depIdxs = []int32{ 376 1, // 0: ntt.alerting.v1.PolicyTemplate.metadata:type_name -> goten.types.Meta 377 2, // 1: ntt.alerting.v1.PolicyTemplate.spec_template:type_name -> ntt.alerting.v1.PolicySpec 378 2, // [2:2] is the sub-list for method output_type 379 2, // [2:2] is the sub-list for method input_type 380 2, // [2:2] is the sub-list for extension type_name 381 2, // [2:2] is the sub-list for extension extendee 382 0, // [0:2] is the sub-list for field type_name 383 } 384 385 func init() { edgelq_alerting_proto_v1_policy_template_proto_init() } 386 func edgelq_alerting_proto_v1_policy_template_proto_init() { 387 if edgelq_alerting_proto_v1_policy_template_proto != nil { 388 return 389 } 390 if !protoimpl.UnsafeEnabled { 391 392 edgelq_alerting_proto_v1_policy_template_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 393 switch v := v.(*PolicyTemplate); i { 394 case 0: 395 return &v.state 396 case 1: 397 return &v.sizeCache 398 case 2: 399 return &v.unknownFields 400 default: 401 return nil 402 } 403 } 404 } 405 406 type x struct{} 407 out := protoimpl.TypeBuilder{ 408 File: protoimpl.DescBuilder{ 409 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 410 RawDescriptor: edgelq_alerting_proto_v1_policy_template_proto_rawDesc, 411 NumEnums: 0, 412 NumMessages: 1, 413 NumExtensions: 0, 414 NumServices: 0, 415 }, 416 GoTypes: edgelq_alerting_proto_v1_policy_template_proto_goTypes, 417 DependencyIndexes: edgelq_alerting_proto_v1_policy_template_proto_depIdxs, 418 MessageInfos: edgelq_alerting_proto_v1_policy_template_proto_msgTypes, 419 }.Build() 420 edgelq_alerting_proto_v1_policy_template_proto = out.File 421 edgelq_alerting_proto_v1_policy_template_proto_rawDesc = nil 422 edgelq_alerting_proto_v1_policy_template_proto_goTypes = nil 423 edgelq_alerting_proto_v1_policy_template_proto_depIdxs = nil 424 }