github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/client/v3/metric_descriptor/metric_descriptor_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/monitoring/proto/v3/metric_descriptor_custom.proto 3 // DO NOT EDIT!!! 4 5 package metric_descriptor_client 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 metric_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/metric_descriptor" 21 project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/project" 22 view "github.com/cloudwan/goten-sdk/types/view" 23 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 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 _ = &metric_descriptor.MetricDescriptor{} 41 _ = &project.Project{} 42 _ = &fieldmaskpb.FieldMask{} 43 _ = view.View(0) 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 // Request message for method 54 // [ListMetricDescriptors][ntt.monitoring.v3.ListMetricDescriptors] 55 type ListMetricDescriptorsRequest struct { 56 state protoimpl.MessageState 57 sizeCache protoimpl.SizeCache 58 unknownFields protoimpl.UnknownFields 59 // The project on which to execute the request. The format is 60 // `"projects/{project_id_or_number}"`. 61 Parent *metric_descriptor.ParentName `protobuf:"bytes,5,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 62 // If this field is empty, all custom and 63 // system-defined metric descriptors are returned. 64 // Otherwise, the [filter](/monitoring/api/v3/filters) 65 // specifies which metric descriptors are to be 66 // returned. For example, the following filter matches all 67 // [custom metrics](/monitoring/custom-metrics): 68 // 69 // metric.type = starts_with("custom.googleapis.com/") 70 Filter *metric_descriptor.Filter `protobuf:"bytes,2,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 71 // A positive number that is the maximum number of results to return. 72 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 73 // If this field is not empty then it must contain the `nextPageToken` value 74 // returned by a previous call to this method. Using this field causes the 75 // method to return additional results from the previous method call. 76 PageToken *metric_descriptor.PagerCursor `protobuf:"bytes,4,opt,customtype=PagerCursor,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 77 // Order By - 78 // https://cloud.google.com/apis/design/design_patterns#list_pagination 79 OrderBy *metric_descriptor.OrderBy `protobuf:"bytes,666,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` 80 // A list of extra fields to be obtained for each response item on top of 81 // fields defined by request field view 82 FieldMask *metric_descriptor.MetricDescriptor_FieldMask `protobuf:"bytes,6,opt,customtype=MetricDescriptor_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 83 // View defines list of standard response fields present in response items. 84 // Additional fields can be amended by request field field_mask 85 View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty"` 86 // Indicates if list response should contain total count and offset (fields 87 // current_offset and total_results_count). 88 IncludePagingInfo bool `protobuf:"varint,8,opt,name=include_paging_info,json=includePagingInfo,proto3" json:"include_paging_info,omitempty"` 89 } 90 91 func (m *ListMetricDescriptorsRequest) Reset() { 92 *m = ListMetricDescriptorsRequest{} 93 if protoimpl.UnsafeEnabled { 94 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[0] 95 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 96 ms.StoreMessageInfo(mi) 97 } 98 } 99 100 func (m *ListMetricDescriptorsRequest) String() string { 101 return protoimpl.X.MessageStringOf(m) 102 } 103 104 func (*ListMetricDescriptorsRequest) ProtoMessage() {} 105 106 func (m *ListMetricDescriptorsRequest) ProtoReflect() preflect.Message { 107 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[0] 108 if protoimpl.UnsafeEnabled && m != nil { 109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 110 if ms.LoadMessageInfo() == nil { 111 ms.StoreMessageInfo(mi) 112 } 113 return ms 114 } 115 return mi.MessageOf(m) 116 } 117 118 func (*ListMetricDescriptorsRequest) GotenMessage() {} 119 120 // Deprecated, Use ListMetricDescriptorsRequest.ProtoReflect.Descriptor instead. 121 func (*ListMetricDescriptorsRequest) Descriptor() ([]byte, []int) { 122 return edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescGZIP(), []int{0} 123 } 124 125 func (m *ListMetricDescriptorsRequest) Unmarshal(b []byte) error { 126 return proto.Unmarshal(b, m) 127 } 128 129 func (m *ListMetricDescriptorsRequest) Marshal() ([]byte, error) { 130 return proto.Marshal(m) 131 } 132 133 func (m *ListMetricDescriptorsRequest) MarshalJSON() ([]byte, error) { 134 return protojson.MarshalOptions{}.Marshal(m) 135 } 136 137 func (m *ListMetricDescriptorsRequest) UnmarshalJSON(data []byte) error { 138 return protojson.Unmarshal(data, m) 139 } 140 141 func (m *ListMetricDescriptorsRequest) GetParent() *metric_descriptor.ParentName { 142 if m != nil { 143 return m.Parent 144 } 145 return nil 146 } 147 148 func (m *ListMetricDescriptorsRequest) GetFilter() *metric_descriptor.Filter { 149 if m != nil { 150 return m.Filter 151 } 152 return nil 153 } 154 155 func (m *ListMetricDescriptorsRequest) GetPageSize() int32 { 156 if m != nil { 157 return m.PageSize 158 } 159 return int32(0) 160 } 161 162 func (m *ListMetricDescriptorsRequest) GetPageToken() *metric_descriptor.PagerCursor { 163 if m != nil { 164 return m.PageToken 165 } 166 return nil 167 } 168 169 func (m *ListMetricDescriptorsRequest) GetOrderBy() *metric_descriptor.OrderBy { 170 if m != nil { 171 return m.OrderBy 172 } 173 return nil 174 } 175 176 func (m *ListMetricDescriptorsRequest) GetFieldMask() *metric_descriptor.MetricDescriptor_FieldMask { 177 if m != nil { 178 return m.FieldMask 179 } 180 return nil 181 } 182 183 func (m *ListMetricDescriptorsRequest) GetView() view.View { 184 if m != nil { 185 return m.View 186 } 187 return view.View_UNSPECIFIED 188 } 189 190 func (m *ListMetricDescriptorsRequest) GetIncludePagingInfo() bool { 191 if m != nil { 192 return m.IncludePagingInfo 193 } 194 return false 195 } 196 197 func (m *ListMetricDescriptorsRequest) SetParent(fv *metric_descriptor.ParentName) { 198 if m == nil { 199 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "ListMetricDescriptorsRequest")) 200 } 201 m.Parent = fv 202 } 203 204 func (m *ListMetricDescriptorsRequest) SetFilter(fv *metric_descriptor.Filter) { 205 if m == nil { 206 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "ListMetricDescriptorsRequest")) 207 } 208 m.Filter = fv 209 } 210 211 func (m *ListMetricDescriptorsRequest) SetPageSize(fv int32) { 212 if m == nil { 213 panic(fmt.Errorf("can't set %s on nil %s", "PageSize", "ListMetricDescriptorsRequest")) 214 } 215 m.PageSize = fv 216 } 217 218 func (m *ListMetricDescriptorsRequest) SetPageToken(fv *metric_descriptor.PagerCursor) { 219 if m == nil { 220 panic(fmt.Errorf("can't set %s on nil %s", "PageToken", "ListMetricDescriptorsRequest")) 221 } 222 m.PageToken = fv 223 } 224 225 func (m *ListMetricDescriptorsRequest) SetOrderBy(fv *metric_descriptor.OrderBy) { 226 if m == nil { 227 panic(fmt.Errorf("can't set %s on nil %s", "OrderBy", "ListMetricDescriptorsRequest")) 228 } 229 m.OrderBy = fv 230 } 231 232 func (m *ListMetricDescriptorsRequest) SetFieldMask(fv *metric_descriptor.MetricDescriptor_FieldMask) { 233 if m == nil { 234 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "ListMetricDescriptorsRequest")) 235 } 236 m.FieldMask = fv 237 } 238 239 func (m *ListMetricDescriptorsRequest) SetView(fv view.View) { 240 if m == nil { 241 panic(fmt.Errorf("can't set %s on nil %s", "View", "ListMetricDescriptorsRequest")) 242 } 243 m.View = fv 244 } 245 246 func (m *ListMetricDescriptorsRequest) SetIncludePagingInfo(fv bool) { 247 if m == nil { 248 panic(fmt.Errorf("can't set %s on nil %s", "IncludePagingInfo", "ListMetricDescriptorsRequest")) 249 } 250 m.IncludePagingInfo = fv 251 } 252 253 // Response message for method 254 // [ListMetricDescriptors][ntt.monitoring.v3.ListMetricDescriptors] 255 type ListMetricDescriptorsResponse struct { 256 state protoimpl.MessageState 257 sizeCache protoimpl.SizeCache 258 unknownFields protoimpl.UnknownFields 259 // The metric descriptors that are available to the project 260 // and that match the value of `filter`, if present. 261 MetricDescriptors []*metric_descriptor.MetricDescriptor `protobuf:"bytes,1,rep,name=metric_descriptors,json=metricDescriptors,proto3" json:"metric_descriptors,omitempty"` 262 // If there are more results than have been returned, then this field is set 263 // to a non-empty value. To see the additional results, 264 // use that value as `pageToken` in the next call to this method. 265 NextPageToken *metric_descriptor.PagerCursor `protobuf:"bytes,2,opt,customtype=PagerCursor,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 266 PrevPageToken *metric_descriptor.PagerCursor `protobuf:"bytes,666,opt,customtype=PagerCursor,name=prev_page_token,json=prevPageToken,proto3" json:"prev_page_token,omitempty"` 267 // Current offset from the first page (0 if no page tokens were given or 268 // paging info was not requested). Page index can be computed from offset and 269 // limit provided in a request. 270 CurrentOffset int32 `protobuf:"varint,5,opt,name=current_offset,json=currentOffset,proto3" json:"current_offset,omitempty"` 271 // Number of total MetricDescriptors across all pages or 0, if there are no 272 // items or paging info was not requested. 273 TotalResultsCount int32 `protobuf:"varint,6,opt,name=total_results_count,json=totalResultsCount,proto3" json:"total_results_count,omitempty"` 274 } 275 276 func (m *ListMetricDescriptorsResponse) Reset() { 277 *m = ListMetricDescriptorsResponse{} 278 if protoimpl.UnsafeEnabled { 279 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[1] 280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 281 ms.StoreMessageInfo(mi) 282 } 283 } 284 285 func (m *ListMetricDescriptorsResponse) String() string { 286 return protoimpl.X.MessageStringOf(m) 287 } 288 289 func (*ListMetricDescriptorsResponse) ProtoMessage() {} 290 291 func (m *ListMetricDescriptorsResponse) ProtoReflect() preflect.Message { 292 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[1] 293 if protoimpl.UnsafeEnabled && m != nil { 294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 295 if ms.LoadMessageInfo() == nil { 296 ms.StoreMessageInfo(mi) 297 } 298 return ms 299 } 300 return mi.MessageOf(m) 301 } 302 303 func (*ListMetricDescriptorsResponse) GotenMessage() {} 304 305 // Deprecated, Use ListMetricDescriptorsResponse.ProtoReflect.Descriptor instead. 306 func (*ListMetricDescriptorsResponse) Descriptor() ([]byte, []int) { 307 return edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescGZIP(), []int{1} 308 } 309 310 func (m *ListMetricDescriptorsResponse) Unmarshal(b []byte) error { 311 return proto.Unmarshal(b, m) 312 } 313 314 func (m *ListMetricDescriptorsResponse) Marshal() ([]byte, error) { 315 return proto.Marshal(m) 316 } 317 318 func (m *ListMetricDescriptorsResponse) MarshalJSON() ([]byte, error) { 319 return protojson.MarshalOptions{}.Marshal(m) 320 } 321 322 func (m *ListMetricDescriptorsResponse) UnmarshalJSON(data []byte) error { 323 return protojson.Unmarshal(data, m) 324 } 325 326 func (m *ListMetricDescriptorsResponse) GetMetricDescriptors() []*metric_descriptor.MetricDescriptor { 327 if m != nil { 328 return m.MetricDescriptors 329 } 330 return nil 331 } 332 333 func (m *ListMetricDescriptorsResponse) GetNextPageToken() *metric_descriptor.PagerCursor { 334 if m != nil { 335 return m.NextPageToken 336 } 337 return nil 338 } 339 340 func (m *ListMetricDescriptorsResponse) GetPrevPageToken() *metric_descriptor.PagerCursor { 341 if m != nil { 342 return m.PrevPageToken 343 } 344 return nil 345 } 346 347 func (m *ListMetricDescriptorsResponse) GetCurrentOffset() int32 { 348 if m != nil { 349 return m.CurrentOffset 350 } 351 return int32(0) 352 } 353 354 func (m *ListMetricDescriptorsResponse) GetTotalResultsCount() int32 { 355 if m != nil { 356 return m.TotalResultsCount 357 } 358 return int32(0) 359 } 360 361 func (m *ListMetricDescriptorsResponse) SetMetricDescriptors(fv []*metric_descriptor.MetricDescriptor) { 362 if m == nil { 363 panic(fmt.Errorf("can't set %s on nil %s", "MetricDescriptors", "ListMetricDescriptorsResponse")) 364 } 365 m.MetricDescriptors = fv 366 } 367 368 func (m *ListMetricDescriptorsResponse) SetNextPageToken(fv *metric_descriptor.PagerCursor) { 369 if m == nil { 370 panic(fmt.Errorf("can't set %s on nil %s", "NextPageToken", "ListMetricDescriptorsResponse")) 371 } 372 m.NextPageToken = fv 373 } 374 375 func (m *ListMetricDescriptorsResponse) SetPrevPageToken(fv *metric_descriptor.PagerCursor) { 376 if m == nil { 377 panic(fmt.Errorf("can't set %s on nil %s", "PrevPageToken", "ListMetricDescriptorsResponse")) 378 } 379 m.PrevPageToken = fv 380 } 381 382 func (m *ListMetricDescriptorsResponse) SetCurrentOffset(fv int32) { 383 if m == nil { 384 panic(fmt.Errorf("can't set %s on nil %s", "CurrentOffset", "ListMetricDescriptorsResponse")) 385 } 386 m.CurrentOffset = fv 387 } 388 389 func (m *ListMetricDescriptorsResponse) SetTotalResultsCount(fv int32) { 390 if m == nil { 391 panic(fmt.Errorf("can't set %s on nil %s", "TotalResultsCount", "ListMetricDescriptorsResponse")) 392 } 393 m.TotalResultsCount = fv 394 } 395 396 // Request message for method 397 // [GetMetricDescriptor][ntt.monitoring.v3.GetMetricDescriptor] 398 type GetMetricDescriptorRequest struct { 399 state protoimpl.MessageState 400 sizeCache protoimpl.SizeCache 401 unknownFields protoimpl.UnknownFields 402 // The metric descriptor on which to execute the request. The format is 403 // `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`. 404 // An example value of `{metric_id}` is 405 // `"compute.googleapis.com/instance/disk/read_bytes_count"`. 406 Name *metric_descriptor.Name `protobuf:"bytes,3,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 407 // A list of extra fields to be obtained for each response item on top of 408 // fields defined by request field view 409 FieldMask *metric_descriptor.MetricDescriptor_FieldMask `protobuf:"bytes,4,opt,customtype=MetricDescriptor_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 410 // View defines list of standard response fields present in response items. 411 // Additional fields can be amended by request field field_mask 412 View view.View `protobuf:"varint,5,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty"` 413 } 414 415 func (m *GetMetricDescriptorRequest) Reset() { 416 *m = GetMetricDescriptorRequest{} 417 if protoimpl.UnsafeEnabled { 418 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[2] 419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 420 ms.StoreMessageInfo(mi) 421 } 422 } 423 424 func (m *GetMetricDescriptorRequest) String() string { 425 return protoimpl.X.MessageStringOf(m) 426 } 427 428 func (*GetMetricDescriptorRequest) ProtoMessage() {} 429 430 func (m *GetMetricDescriptorRequest) ProtoReflect() preflect.Message { 431 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[2] 432 if protoimpl.UnsafeEnabled && m != nil { 433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 434 if ms.LoadMessageInfo() == nil { 435 ms.StoreMessageInfo(mi) 436 } 437 return ms 438 } 439 return mi.MessageOf(m) 440 } 441 442 func (*GetMetricDescriptorRequest) GotenMessage() {} 443 444 // Deprecated, Use GetMetricDescriptorRequest.ProtoReflect.Descriptor instead. 445 func (*GetMetricDescriptorRequest) Descriptor() ([]byte, []int) { 446 return edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescGZIP(), []int{2} 447 } 448 449 func (m *GetMetricDescriptorRequest) Unmarshal(b []byte) error { 450 return proto.Unmarshal(b, m) 451 } 452 453 func (m *GetMetricDescriptorRequest) Marshal() ([]byte, error) { 454 return proto.Marshal(m) 455 } 456 457 func (m *GetMetricDescriptorRequest) MarshalJSON() ([]byte, error) { 458 return protojson.MarshalOptions{}.Marshal(m) 459 } 460 461 func (m *GetMetricDescriptorRequest) UnmarshalJSON(data []byte) error { 462 return protojson.Unmarshal(data, m) 463 } 464 465 func (m *GetMetricDescriptorRequest) GetName() *metric_descriptor.Name { 466 if m != nil { 467 return m.Name 468 } 469 return nil 470 } 471 472 func (m *GetMetricDescriptorRequest) GetFieldMask() *metric_descriptor.MetricDescriptor_FieldMask { 473 if m != nil { 474 return m.FieldMask 475 } 476 return nil 477 } 478 479 func (m *GetMetricDescriptorRequest) GetView() view.View { 480 if m != nil { 481 return m.View 482 } 483 return view.View_UNSPECIFIED 484 } 485 486 func (m *GetMetricDescriptorRequest) SetName(fv *metric_descriptor.Name) { 487 if m == nil { 488 panic(fmt.Errorf("can't set %s on nil %s", "Name", "GetMetricDescriptorRequest")) 489 } 490 m.Name = fv 491 } 492 493 func (m *GetMetricDescriptorRequest) SetFieldMask(fv *metric_descriptor.MetricDescriptor_FieldMask) { 494 if m == nil { 495 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "GetMetricDescriptorRequest")) 496 } 497 m.FieldMask = fv 498 } 499 500 func (m *GetMetricDescriptorRequest) SetView(fv view.View) { 501 if m == nil { 502 panic(fmt.Errorf("can't set %s on nil %s", "View", "GetMetricDescriptorRequest")) 503 } 504 m.View = fv 505 } 506 507 // Request message for method 508 // [CreateMetricDescriptor][ntt.monitoring.v3.CreateMetricDescriptor] 509 type CreateMetricDescriptorRequest struct { 510 state protoimpl.MessageState 511 sizeCache protoimpl.SizeCache 512 unknownFields protoimpl.UnknownFields 513 // The project on which to execute the request. The format is 514 // `"projects/{project_id_or_number}"`. 515 Parent *metric_descriptor.ParentName `protobuf:"bytes,3,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 516 // The new [custom metric](/monitoring/custom-metrics) 517 // descriptor. 518 MetricDescriptor *metric_descriptor.MetricDescriptor `protobuf:"bytes,2,opt,name=metric_descriptor,json=metricDescriptor,proto3" json:"metric_descriptor,omitempty"` 519 // Optional masking applied to response object to reduce message response 520 // size. 521 ResponseMask *CreateMetricDescriptorRequest_ResponseMask `protobuf:"bytes,4,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty"` 522 } 523 524 func (m *CreateMetricDescriptorRequest) Reset() { 525 *m = CreateMetricDescriptorRequest{} 526 if protoimpl.UnsafeEnabled { 527 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[3] 528 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 529 ms.StoreMessageInfo(mi) 530 } 531 } 532 533 func (m *CreateMetricDescriptorRequest) String() string { 534 return protoimpl.X.MessageStringOf(m) 535 } 536 537 func (*CreateMetricDescriptorRequest) ProtoMessage() {} 538 539 func (m *CreateMetricDescriptorRequest) ProtoReflect() preflect.Message { 540 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[3] 541 if protoimpl.UnsafeEnabled && m != nil { 542 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 543 if ms.LoadMessageInfo() == nil { 544 ms.StoreMessageInfo(mi) 545 } 546 return ms 547 } 548 return mi.MessageOf(m) 549 } 550 551 func (*CreateMetricDescriptorRequest) GotenMessage() {} 552 553 // Deprecated, Use CreateMetricDescriptorRequest.ProtoReflect.Descriptor instead. 554 func (*CreateMetricDescriptorRequest) Descriptor() ([]byte, []int) { 555 return edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescGZIP(), []int{3} 556 } 557 558 func (m *CreateMetricDescriptorRequest) Unmarshal(b []byte) error { 559 return proto.Unmarshal(b, m) 560 } 561 562 func (m *CreateMetricDescriptorRequest) Marshal() ([]byte, error) { 563 return proto.Marshal(m) 564 } 565 566 func (m *CreateMetricDescriptorRequest) MarshalJSON() ([]byte, error) { 567 return protojson.MarshalOptions{}.Marshal(m) 568 } 569 570 func (m *CreateMetricDescriptorRequest) UnmarshalJSON(data []byte) error { 571 return protojson.Unmarshal(data, m) 572 } 573 574 func (m *CreateMetricDescriptorRequest) GetParent() *metric_descriptor.ParentName { 575 if m != nil { 576 return m.Parent 577 } 578 return nil 579 } 580 581 func (m *CreateMetricDescriptorRequest) GetMetricDescriptor() *metric_descriptor.MetricDescriptor { 582 if m != nil { 583 return m.MetricDescriptor 584 } 585 return nil 586 } 587 588 func (m *CreateMetricDescriptorRequest) GetResponseMask() *CreateMetricDescriptorRequest_ResponseMask { 589 if m != nil { 590 return m.ResponseMask 591 } 592 return nil 593 } 594 595 func (m *CreateMetricDescriptorRequest) SetParent(fv *metric_descriptor.ParentName) { 596 if m == nil { 597 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "CreateMetricDescriptorRequest")) 598 } 599 m.Parent = fv 600 } 601 602 func (m *CreateMetricDescriptorRequest) SetMetricDescriptor(fv *metric_descriptor.MetricDescriptor) { 603 if m == nil { 604 panic(fmt.Errorf("can't set %s on nil %s", "MetricDescriptor", "CreateMetricDescriptorRequest")) 605 } 606 m.MetricDescriptor = fv 607 } 608 609 func (m *CreateMetricDescriptorRequest) SetResponseMask(fv *CreateMetricDescriptorRequest_ResponseMask) { 610 if m == nil { 611 panic(fmt.Errorf("can't set %s on nil %s", "ResponseMask", "CreateMetricDescriptorRequest")) 612 } 613 m.ResponseMask = fv 614 } 615 616 // Request message for method 617 // [UpdateMetricDescriptor][ntt.monitoring.v3.UpdateMetricDescriptor] 618 type UpdateMetricDescriptorRequest struct { 619 state protoimpl.MessageState 620 sizeCache protoimpl.SizeCache 621 unknownFields protoimpl.UnknownFields 622 // MetricDescriptor resource body 623 MetricDescriptor *metric_descriptor.MetricDescriptor `protobuf:"bytes,2,opt,name=metric_descriptor,json=metricDescriptor,proto3" json:"metric_descriptor,omitempty"` 624 // FieldMask applied to request - change will be applied only for fields in 625 // the mask 626 UpdateMask *metric_descriptor.MetricDescriptor_FieldMask `protobuf:"bytes,3,opt,customtype=MetricDescriptor_FieldMask,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 627 // Conditional update applied to request if update should be executed only for 628 // specific resource state. If this field is populated, then server will fetch 629 // existing resource, compare with the one stored in the cas field (after 630 // applying field mask) and proceed with update only and only if they match. 631 // Otherwise RPC error Aborted will be returned. 632 Cas *UpdateMetricDescriptorRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty"` 633 // If set to true, and the resource is not found, 634 // a new resource will be created. In this situation, 635 // 'field_mask' is ignored. 636 // 637 // https://google.aip.dev/134#create-or-update 638 AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` 639 ResponseMask *UpdateMetricDescriptorRequest_ResponseMask `protobuf:"bytes,6,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty"` 640 } 641 642 func (m *UpdateMetricDescriptorRequest) Reset() { 643 *m = UpdateMetricDescriptorRequest{} 644 if protoimpl.UnsafeEnabled { 645 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[4] 646 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 647 ms.StoreMessageInfo(mi) 648 } 649 } 650 651 func (m *UpdateMetricDescriptorRequest) String() string { 652 return protoimpl.X.MessageStringOf(m) 653 } 654 655 func (*UpdateMetricDescriptorRequest) ProtoMessage() {} 656 657 func (m *UpdateMetricDescriptorRequest) ProtoReflect() preflect.Message { 658 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[4] 659 if protoimpl.UnsafeEnabled && m != nil { 660 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 661 if ms.LoadMessageInfo() == nil { 662 ms.StoreMessageInfo(mi) 663 } 664 return ms 665 } 666 return mi.MessageOf(m) 667 } 668 669 func (*UpdateMetricDescriptorRequest) GotenMessage() {} 670 671 // Deprecated, Use UpdateMetricDescriptorRequest.ProtoReflect.Descriptor instead. 672 func (*UpdateMetricDescriptorRequest) Descriptor() ([]byte, []int) { 673 return edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescGZIP(), []int{4} 674 } 675 676 func (m *UpdateMetricDescriptorRequest) Unmarshal(b []byte) error { 677 return proto.Unmarshal(b, m) 678 } 679 680 func (m *UpdateMetricDescriptorRequest) Marshal() ([]byte, error) { 681 return proto.Marshal(m) 682 } 683 684 func (m *UpdateMetricDescriptorRequest) MarshalJSON() ([]byte, error) { 685 return protojson.MarshalOptions{}.Marshal(m) 686 } 687 688 func (m *UpdateMetricDescriptorRequest) UnmarshalJSON(data []byte) error { 689 return protojson.Unmarshal(data, m) 690 } 691 692 func (m *UpdateMetricDescriptorRequest) GetMetricDescriptor() *metric_descriptor.MetricDescriptor { 693 if m != nil { 694 return m.MetricDescriptor 695 } 696 return nil 697 } 698 699 func (m *UpdateMetricDescriptorRequest) GetUpdateMask() *metric_descriptor.MetricDescriptor_FieldMask { 700 if m != nil { 701 return m.UpdateMask 702 } 703 return nil 704 } 705 706 func (m *UpdateMetricDescriptorRequest) GetCas() *UpdateMetricDescriptorRequest_CAS { 707 if m != nil { 708 return m.Cas 709 } 710 return nil 711 } 712 713 func (m *UpdateMetricDescriptorRequest) GetAllowMissing() bool { 714 if m != nil { 715 return m.AllowMissing 716 } 717 return false 718 } 719 720 func (m *UpdateMetricDescriptorRequest) GetResponseMask() *UpdateMetricDescriptorRequest_ResponseMask { 721 if m != nil { 722 return m.ResponseMask 723 } 724 return nil 725 } 726 727 func (m *UpdateMetricDescriptorRequest) SetMetricDescriptor(fv *metric_descriptor.MetricDescriptor) { 728 if m == nil { 729 panic(fmt.Errorf("can't set %s on nil %s", "MetricDescriptor", "UpdateMetricDescriptorRequest")) 730 } 731 m.MetricDescriptor = fv 732 } 733 734 func (m *UpdateMetricDescriptorRequest) SetUpdateMask(fv *metric_descriptor.MetricDescriptor_FieldMask) { 735 if m == nil { 736 panic(fmt.Errorf("can't set %s on nil %s", "UpdateMask", "UpdateMetricDescriptorRequest")) 737 } 738 m.UpdateMask = fv 739 } 740 741 func (m *UpdateMetricDescriptorRequest) SetCas(fv *UpdateMetricDescriptorRequest_CAS) { 742 if m == nil { 743 panic(fmt.Errorf("can't set %s on nil %s", "Cas", "UpdateMetricDescriptorRequest")) 744 } 745 m.Cas = fv 746 } 747 748 func (m *UpdateMetricDescriptorRequest) SetAllowMissing(fv bool) { 749 if m == nil { 750 panic(fmt.Errorf("can't set %s on nil %s", "AllowMissing", "UpdateMetricDescriptorRequest")) 751 } 752 m.AllowMissing = fv 753 } 754 755 func (m *UpdateMetricDescriptorRequest) SetResponseMask(fv *UpdateMetricDescriptorRequest_ResponseMask) { 756 if m == nil { 757 panic(fmt.Errorf("can't set %s on nil %s", "ResponseMask", "UpdateMetricDescriptorRequest")) 758 } 759 m.ResponseMask = fv 760 } 761 762 // Request message for method 763 // [DeleteMetricDescriptor][ntt.monitoring.v3.DeleteMetricDescriptor] 764 type DeleteMetricDescriptorRequest struct { 765 state protoimpl.MessageState 766 sizeCache protoimpl.SizeCache 767 unknownFields protoimpl.UnknownFields 768 // The metric descriptor on which to execute the request. The format is 769 // `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`. 770 // An example of `{metric_id}` is: 771 // `"custom.googleapis.com/my_test_metric"`. 772 Name *metric_descriptor.Name `protobuf:"bytes,3,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 773 // If true, call will not return NotFound error if deleted resource does not 774 // exist. 775 AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` 776 } 777 778 func (m *DeleteMetricDescriptorRequest) Reset() { 779 *m = DeleteMetricDescriptorRequest{} 780 if protoimpl.UnsafeEnabled { 781 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[5] 782 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 783 ms.StoreMessageInfo(mi) 784 } 785 } 786 787 func (m *DeleteMetricDescriptorRequest) String() string { 788 return protoimpl.X.MessageStringOf(m) 789 } 790 791 func (*DeleteMetricDescriptorRequest) ProtoMessage() {} 792 793 func (m *DeleteMetricDescriptorRequest) ProtoReflect() preflect.Message { 794 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[5] 795 if protoimpl.UnsafeEnabled && m != nil { 796 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 797 if ms.LoadMessageInfo() == nil { 798 ms.StoreMessageInfo(mi) 799 } 800 return ms 801 } 802 return mi.MessageOf(m) 803 } 804 805 func (*DeleteMetricDescriptorRequest) GotenMessage() {} 806 807 // Deprecated, Use DeleteMetricDescriptorRequest.ProtoReflect.Descriptor instead. 808 func (*DeleteMetricDescriptorRequest) Descriptor() ([]byte, []int) { 809 return edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescGZIP(), []int{5} 810 } 811 812 func (m *DeleteMetricDescriptorRequest) Unmarshal(b []byte) error { 813 return proto.Unmarshal(b, m) 814 } 815 816 func (m *DeleteMetricDescriptorRequest) Marshal() ([]byte, error) { 817 return proto.Marshal(m) 818 } 819 820 func (m *DeleteMetricDescriptorRequest) MarshalJSON() ([]byte, error) { 821 return protojson.MarshalOptions{}.Marshal(m) 822 } 823 824 func (m *DeleteMetricDescriptorRequest) UnmarshalJSON(data []byte) error { 825 return protojson.Unmarshal(data, m) 826 } 827 828 func (m *DeleteMetricDescriptorRequest) GetName() *metric_descriptor.Name { 829 if m != nil { 830 return m.Name 831 } 832 return nil 833 } 834 835 func (m *DeleteMetricDescriptorRequest) GetAllowMissing() bool { 836 if m != nil { 837 return m.AllowMissing 838 } 839 return false 840 } 841 842 func (m *DeleteMetricDescriptorRequest) SetName(fv *metric_descriptor.Name) { 843 if m == nil { 844 panic(fmt.Errorf("can't set %s on nil %s", "Name", "DeleteMetricDescriptorRequest")) 845 } 846 m.Name = fv 847 } 848 849 func (m *DeleteMetricDescriptorRequest) SetAllowMissing(fv bool) { 850 if m == nil { 851 panic(fmt.Errorf("can't set %s on nil %s", "AllowMissing", "DeleteMetricDescriptorRequest")) 852 } 853 m.AllowMissing = fv 854 } 855 856 // ResponseMask allows client to reduce response message size. 857 type CreateMetricDescriptorRequest_ResponseMask struct { 858 state protoimpl.MessageState 859 sizeCache protoimpl.SizeCache 860 unknownFields protoimpl.UnknownFields 861 // Types that are valid to be assigned to Masking: 862 // *CreateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody 863 // *CreateMetricDescriptorRequest_ResponseMask_BodyMask 864 Masking isCreateMetricDescriptorRequest_ResponseMask_Masking `protobuf_oneof:"masking"` 865 } 866 867 func (m *CreateMetricDescriptorRequest_ResponseMask) Reset() { 868 *m = CreateMetricDescriptorRequest_ResponseMask{} 869 if protoimpl.UnsafeEnabled { 870 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[6] 871 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 872 ms.StoreMessageInfo(mi) 873 } 874 } 875 876 func (m *CreateMetricDescriptorRequest_ResponseMask) String() string { 877 return protoimpl.X.MessageStringOf(m) 878 } 879 880 func (*CreateMetricDescriptorRequest_ResponseMask) ProtoMessage() {} 881 882 func (m *CreateMetricDescriptorRequest_ResponseMask) ProtoReflect() preflect.Message { 883 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[6] 884 if protoimpl.UnsafeEnabled && m != nil { 885 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 886 if ms.LoadMessageInfo() == nil { 887 ms.StoreMessageInfo(mi) 888 } 889 return ms 890 } 891 return mi.MessageOf(m) 892 } 893 894 func (*CreateMetricDescriptorRequest_ResponseMask) GotenMessage() {} 895 896 // Deprecated, Use CreateMetricDescriptorRequest_ResponseMask.ProtoReflect.Descriptor instead. 897 func (*CreateMetricDescriptorRequest_ResponseMask) Descriptor() ([]byte, []int) { 898 return edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescGZIP(), []int{3, 0} 899 } 900 901 func (m *CreateMetricDescriptorRequest_ResponseMask) Unmarshal(b []byte) error { 902 return proto.Unmarshal(b, m) 903 } 904 905 func (m *CreateMetricDescriptorRequest_ResponseMask) Marshal() ([]byte, error) { 906 return proto.Marshal(m) 907 } 908 909 func (m *CreateMetricDescriptorRequest_ResponseMask) MarshalJSON() ([]byte, error) { 910 return protojson.MarshalOptions{}.Marshal(m) 911 } 912 913 func (m *CreateMetricDescriptorRequest_ResponseMask) UnmarshalJSON(data []byte) error { 914 return protojson.Unmarshal(data, m) 915 } 916 917 type isCreateMetricDescriptorRequest_ResponseMask_Masking interface { 918 isCreateMetricDescriptorRequest_ResponseMask_Masking() 919 } 920 921 type CreateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody struct { 922 // If this flag has value true, then response will contain just empty 923 // resource without any fields populated. 924 SkipEntireResponseBody bool `protobuf:"varint,1,opt,name=skip_entire_response_body,json=skipEntireResponseBody,proto3,oneof"` 925 } 926 type CreateMetricDescriptorRequest_ResponseMask_BodyMask struct { 927 // If this field is populated, then resource in response will contain only 928 // specific fields. 929 BodyMask *metric_descriptor.MetricDescriptor_FieldMask `protobuf:"bytes,2,opt,customtype=MetricDescriptor_FieldMask,name=body_mask,json=bodyMask,proto3,oneof"` 930 } 931 932 func (*CreateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody) isCreateMetricDescriptorRequest_ResponseMask_Masking() { 933 } 934 func (*CreateMetricDescriptorRequest_ResponseMask_BodyMask) isCreateMetricDescriptorRequest_ResponseMask_Masking() { 935 } 936 func (m *CreateMetricDescriptorRequest_ResponseMask) GetMasking() isCreateMetricDescriptorRequest_ResponseMask_Masking { 937 if m != nil { 938 return m.Masking 939 } 940 return nil 941 } 942 func (m *CreateMetricDescriptorRequest_ResponseMask) GetSkipEntireResponseBody() bool { 943 if x, ok := m.GetMasking().(*CreateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody); ok { 944 return x.SkipEntireResponseBody 945 } 946 return false 947 } 948 func (m *CreateMetricDescriptorRequest_ResponseMask) GetBodyMask() *metric_descriptor.MetricDescriptor_FieldMask { 949 if x, ok := m.GetMasking().(*CreateMetricDescriptorRequest_ResponseMask_BodyMask); ok { 950 return x.BodyMask 951 } 952 return nil 953 } 954 func (m *CreateMetricDescriptorRequest_ResponseMask) SetMasking(ofv isCreateMetricDescriptorRequest_ResponseMask_Masking) { 955 if m == nil { 956 panic(fmt.Errorf("can't set %s on nil %s", "isCreateMetricDescriptorRequest_ResponseMask_Masking", "CreateMetricDescriptorRequest_ResponseMask")) 957 } 958 m.Masking = ofv 959 } 960 func (m *CreateMetricDescriptorRequest_ResponseMask) SetSkipEntireResponseBody(fv bool) { 961 m.SetMasking(&CreateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody{SkipEntireResponseBody: fv}) 962 } 963 func (m *CreateMetricDescriptorRequest_ResponseMask) SetBodyMask(fv *metric_descriptor.MetricDescriptor_FieldMask) { 964 m.SetMasking(&CreateMetricDescriptorRequest_ResponseMask_BodyMask{BodyMask: fv}) 965 } 966 967 // CAS - Compare and Swap. This object is used if user wants to make update 968 // conditional based upon previous resource version. 969 type UpdateMetricDescriptorRequest_CAS struct { 970 state protoimpl.MessageState 971 sizeCache protoimpl.SizeCache 972 unknownFields protoimpl.UnknownFields 973 // Conditional desired state of a resource before update. 974 ConditionalState *metric_descriptor.MetricDescriptor `protobuf:"bytes,1,opt,name=conditional_state,json=conditionalState,proto3" json:"conditional_state,omitempty"` 975 // Field paths from conditional state of resource server should check and 976 // compare. 977 FieldMask *metric_descriptor.MetricDescriptor_FieldMask `protobuf:"bytes,2,opt,customtype=MetricDescriptor_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 978 } 979 980 func (m *UpdateMetricDescriptorRequest_CAS) Reset() { 981 *m = UpdateMetricDescriptorRequest_CAS{} 982 if protoimpl.UnsafeEnabled { 983 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[7] 984 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 985 ms.StoreMessageInfo(mi) 986 } 987 } 988 989 func (m *UpdateMetricDescriptorRequest_CAS) String() string { 990 return protoimpl.X.MessageStringOf(m) 991 } 992 993 func (*UpdateMetricDescriptorRequest_CAS) ProtoMessage() {} 994 995 func (m *UpdateMetricDescriptorRequest_CAS) ProtoReflect() preflect.Message { 996 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[7] 997 if protoimpl.UnsafeEnabled && m != nil { 998 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 999 if ms.LoadMessageInfo() == nil { 1000 ms.StoreMessageInfo(mi) 1001 } 1002 return ms 1003 } 1004 return mi.MessageOf(m) 1005 } 1006 1007 func (*UpdateMetricDescriptorRequest_CAS) GotenMessage() {} 1008 1009 // Deprecated, Use UpdateMetricDescriptorRequest_CAS.ProtoReflect.Descriptor instead. 1010 func (*UpdateMetricDescriptorRequest_CAS) Descriptor() ([]byte, []int) { 1011 return edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescGZIP(), []int{4, 0} 1012 } 1013 1014 func (m *UpdateMetricDescriptorRequest_CAS) Unmarshal(b []byte) error { 1015 return proto.Unmarshal(b, m) 1016 } 1017 1018 func (m *UpdateMetricDescriptorRequest_CAS) Marshal() ([]byte, error) { 1019 return proto.Marshal(m) 1020 } 1021 1022 func (m *UpdateMetricDescriptorRequest_CAS) MarshalJSON() ([]byte, error) { 1023 return protojson.MarshalOptions{}.Marshal(m) 1024 } 1025 1026 func (m *UpdateMetricDescriptorRequest_CAS) UnmarshalJSON(data []byte) error { 1027 return protojson.Unmarshal(data, m) 1028 } 1029 1030 func (m *UpdateMetricDescriptorRequest_CAS) GetConditionalState() *metric_descriptor.MetricDescriptor { 1031 if m != nil { 1032 return m.ConditionalState 1033 } 1034 return nil 1035 } 1036 1037 func (m *UpdateMetricDescriptorRequest_CAS) GetFieldMask() *metric_descriptor.MetricDescriptor_FieldMask { 1038 if m != nil { 1039 return m.FieldMask 1040 } 1041 return nil 1042 } 1043 1044 func (m *UpdateMetricDescriptorRequest_CAS) SetConditionalState(fv *metric_descriptor.MetricDescriptor) { 1045 if m == nil { 1046 panic(fmt.Errorf("can't set %s on nil %s", "ConditionalState", "UpdateMetricDescriptorRequest_CAS")) 1047 } 1048 m.ConditionalState = fv 1049 } 1050 1051 func (m *UpdateMetricDescriptorRequest_CAS) SetFieldMask(fv *metric_descriptor.MetricDescriptor_FieldMask) { 1052 if m == nil { 1053 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "UpdateMetricDescriptorRequest_CAS")) 1054 } 1055 m.FieldMask = fv 1056 } 1057 1058 // ResponseMask allows client to reduce response message size. 1059 type UpdateMetricDescriptorRequest_ResponseMask struct { 1060 state protoimpl.MessageState 1061 sizeCache protoimpl.SizeCache 1062 unknownFields protoimpl.UnknownFields 1063 // Types that are valid to be assigned to Masking: 1064 // *UpdateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody 1065 // *UpdateMetricDescriptorRequest_ResponseMask_UpdatedFieldsOnly 1066 // *UpdateMetricDescriptorRequest_ResponseMask_BodyMask 1067 Masking isUpdateMetricDescriptorRequest_ResponseMask_Masking `protobuf_oneof:"masking"` 1068 } 1069 1070 func (m *UpdateMetricDescriptorRequest_ResponseMask) Reset() { 1071 *m = UpdateMetricDescriptorRequest_ResponseMask{} 1072 if protoimpl.UnsafeEnabled { 1073 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[8] 1074 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1075 ms.StoreMessageInfo(mi) 1076 } 1077 } 1078 1079 func (m *UpdateMetricDescriptorRequest_ResponseMask) String() string { 1080 return protoimpl.X.MessageStringOf(m) 1081 } 1082 1083 func (*UpdateMetricDescriptorRequest_ResponseMask) ProtoMessage() {} 1084 1085 func (m *UpdateMetricDescriptorRequest_ResponseMask) ProtoReflect() preflect.Message { 1086 mi := &edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[8] 1087 if protoimpl.UnsafeEnabled && m != nil { 1088 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1089 if ms.LoadMessageInfo() == nil { 1090 ms.StoreMessageInfo(mi) 1091 } 1092 return ms 1093 } 1094 return mi.MessageOf(m) 1095 } 1096 1097 func (*UpdateMetricDescriptorRequest_ResponseMask) GotenMessage() {} 1098 1099 // Deprecated, Use UpdateMetricDescriptorRequest_ResponseMask.ProtoReflect.Descriptor instead. 1100 func (*UpdateMetricDescriptorRequest_ResponseMask) Descriptor() ([]byte, []int) { 1101 return edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescGZIP(), []int{4, 1} 1102 } 1103 1104 func (m *UpdateMetricDescriptorRequest_ResponseMask) Unmarshal(b []byte) error { 1105 return proto.Unmarshal(b, m) 1106 } 1107 1108 func (m *UpdateMetricDescriptorRequest_ResponseMask) Marshal() ([]byte, error) { 1109 return proto.Marshal(m) 1110 } 1111 1112 func (m *UpdateMetricDescriptorRequest_ResponseMask) MarshalJSON() ([]byte, error) { 1113 return protojson.MarshalOptions{}.Marshal(m) 1114 } 1115 1116 func (m *UpdateMetricDescriptorRequest_ResponseMask) UnmarshalJSON(data []byte) error { 1117 return protojson.Unmarshal(data, m) 1118 } 1119 1120 type isUpdateMetricDescriptorRequest_ResponseMask_Masking interface { 1121 isUpdateMetricDescriptorRequest_ResponseMask_Masking() 1122 } 1123 1124 type UpdateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody struct { 1125 // If this flag has value true, then response will contain just empty 1126 // resource without any fields populated. Field body_mask is ignored if 1127 // set. 1128 SkipEntireResponseBody bool `protobuf:"varint,1,opt,name=skip_entire_response_body,json=skipEntireResponseBody,proto3,oneof"` 1129 } 1130 type UpdateMetricDescriptorRequest_ResponseMask_UpdatedFieldsOnly struct { 1131 // Include all fields that were actually updated during processing. Note 1132 // this may be larger than update mask if some fields were computed 1133 // additionally. Name is added as well. 1134 UpdatedFieldsOnly bool `protobuf:"varint,2,opt,name=updated_fields_only,json=updatedFieldsOnly,proto3,oneof"` 1135 } 1136 type UpdateMetricDescriptorRequest_ResponseMask_BodyMask struct { 1137 // If this field is populated, then resource in response will contain only 1138 // specific fields. If skip_entire_response_body is true, this field is 1139 // ignored. 1140 BodyMask *metric_descriptor.MetricDescriptor_FieldMask `protobuf:"bytes,3,opt,customtype=MetricDescriptor_FieldMask,name=body_mask,json=bodyMask,proto3,oneof"` 1141 } 1142 1143 func (*UpdateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody) isUpdateMetricDescriptorRequest_ResponseMask_Masking() { 1144 } 1145 func (*UpdateMetricDescriptorRequest_ResponseMask_UpdatedFieldsOnly) isUpdateMetricDescriptorRequest_ResponseMask_Masking() { 1146 } 1147 func (*UpdateMetricDescriptorRequest_ResponseMask_BodyMask) isUpdateMetricDescriptorRequest_ResponseMask_Masking() { 1148 } 1149 func (m *UpdateMetricDescriptorRequest_ResponseMask) GetMasking() isUpdateMetricDescriptorRequest_ResponseMask_Masking { 1150 if m != nil { 1151 return m.Masking 1152 } 1153 return nil 1154 } 1155 func (m *UpdateMetricDescriptorRequest_ResponseMask) GetSkipEntireResponseBody() bool { 1156 if x, ok := m.GetMasking().(*UpdateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody); ok { 1157 return x.SkipEntireResponseBody 1158 } 1159 return false 1160 } 1161 func (m *UpdateMetricDescriptorRequest_ResponseMask) GetUpdatedFieldsOnly() bool { 1162 if x, ok := m.GetMasking().(*UpdateMetricDescriptorRequest_ResponseMask_UpdatedFieldsOnly); ok { 1163 return x.UpdatedFieldsOnly 1164 } 1165 return false 1166 } 1167 func (m *UpdateMetricDescriptorRequest_ResponseMask) GetBodyMask() *metric_descriptor.MetricDescriptor_FieldMask { 1168 if x, ok := m.GetMasking().(*UpdateMetricDescriptorRequest_ResponseMask_BodyMask); ok { 1169 return x.BodyMask 1170 } 1171 return nil 1172 } 1173 func (m *UpdateMetricDescriptorRequest_ResponseMask) SetMasking(ofv isUpdateMetricDescriptorRequest_ResponseMask_Masking) { 1174 if m == nil { 1175 panic(fmt.Errorf("can't set %s on nil %s", "isUpdateMetricDescriptorRequest_ResponseMask_Masking", "UpdateMetricDescriptorRequest_ResponseMask")) 1176 } 1177 m.Masking = ofv 1178 } 1179 func (m *UpdateMetricDescriptorRequest_ResponseMask) SetSkipEntireResponseBody(fv bool) { 1180 m.SetMasking(&UpdateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody{SkipEntireResponseBody: fv}) 1181 } 1182 func (m *UpdateMetricDescriptorRequest_ResponseMask) SetUpdatedFieldsOnly(fv bool) { 1183 m.SetMasking(&UpdateMetricDescriptorRequest_ResponseMask_UpdatedFieldsOnly{UpdatedFieldsOnly: fv}) 1184 } 1185 func (m *UpdateMetricDescriptorRequest_ResponseMask) SetBodyMask(fv *metric_descriptor.MetricDescriptor_FieldMask) { 1186 m.SetMasking(&UpdateMetricDescriptorRequest_ResponseMask_BodyMask{BodyMask: fv}) 1187 } 1188 1189 var edgelq_monitoring_proto_v3_metric_descriptor_custom_proto preflect.FileDescriptor 1190 1191 var edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDesc = []byte{ 1192 0x0a, 0x39, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1193 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x65, 0x74, 1194 0x72, 0x69, 0x63, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x63, 1195 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x6e, 0x74, 0x74, 1196 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x1a, 0x1b, 1197 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1198 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 1199 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 1200 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 1201 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1202 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 1203 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 1204 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 1205 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 1206 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 1207 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 1208 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 1209 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 1210 0x70, 0x65, 0x73, 0x2f, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 1211 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 1212 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 1213 0x63, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 1214 0x74, 0x6f, 0x22, 0xba, 0x03, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 1215 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 1216 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 1217 0x01, 0x28, 0x09, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x3a, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 1218 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x70, 1219 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 1220 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x1a, 0x12, 0x0a, 0x10, 0x4d, 1221 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 1222 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 1223 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 1224 0x53, 0x69, 0x7a, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 1225 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x22, 0x12, 1226 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 1227 0x6f, 0x72, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x34, 0x0a, 1228 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x9a, 0x05, 0x20, 0x01, 0x28, 0x09, 1229 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x2a, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 1230 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 1231 0x72, 0x42, 0x79, 0x12, 0x53, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 1232 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1233 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 1234 0x61, 0x73, 0x6b, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x32, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 1235 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x66, 1236 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x25, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 1237 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 1238 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 1239 0x2e, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70, 0x61, 0x67, 0x69, 0x6e, 1240 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x6e, 1241 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x22, 1242 0xcf, 0x02, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 1243 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1244 0x65, 0x12, 0x52, 0x0a, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x64, 0x65, 0x73, 0x63, 1245 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 1246 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 1247 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 1248 0x6f, 0x72, 0x52, 0x11, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 1249 0x70, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x40, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 1250 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 1251 0xb2, 0xda, 0x21, 0x14, 0x22, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 1252 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 1253 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x41, 0x0a, 0x0f, 0x70, 0x72, 0x65, 0x76, 0x5f, 1254 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x9a, 0x05, 0x20, 0x01, 0x28, 1255 0x09, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x22, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, 0x69, 1256 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x70, 0x72, 0x65, 1257 0x76, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x75, 1258 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 1259 0x28, 0x05, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 1260 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 1261 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 1262 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 1263 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 1264 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1265 0x12, 0x2c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 1266 0xb2, 0xda, 0x21, 0x14, 0x0a, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 1267 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x53, 1268 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 1269 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1270 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x18, 1271 0xb2, 0xda, 0x21, 0x14, 0x32, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 1272 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 1273 0x61, 0x73, 0x6b, 0x12, 0x25, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 1274 0x0e, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 1275 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, 0xb5, 0x03, 0x0a, 0x1d, 0x43, 1276 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 1277 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 1278 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xb2, 0xda, 1279 0x21, 0x14, 0x3a, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 1280 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x50, 1281 0x0a, 0x11, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 1282 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 1283 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 1284 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x10, 1285 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 1286 0x12, 0x62, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x6d, 0x61, 0x73, 1287 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 1288 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 1289 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 1290 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1291 0x73, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1292 0x4d, 0x61, 0x73, 0x6b, 0x1a, 0xab, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 1293 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x3b, 0x0a, 0x19, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x65, 0x6e, 1294 0x74, 0x69, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x62, 0x6f, 1295 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x16, 0x73, 0x6b, 0x69, 0x70, 1296 0x45, 0x6e, 0x74, 0x69, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 1297 0x64, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 1298 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 1299 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 1300 0x6b, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x32, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, 0x69, 1301 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x08, 0x62, 1302 0x6f, 0x64, 0x79, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x61, 0x73, 0x6b, 0x69, 1303 0x6e, 0x67, 0x22, 0xb6, 0x06, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 1304 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 1305 0x75, 0x65, 0x73, 0x74, 0x12, 0x5e, 0x0a, 0x11, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x64, 1306 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 1307 0x23, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 1308 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 1309 0x70, 0x74, 0x6f, 0x72, 0x42, 0x0c, 0xc8, 0xd5, 0x22, 0x01, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 1310 0x08, 0x01, 0x52, 0x10, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 1311 0x70, 0x74, 0x6f, 0x72, 0x12, 0x55, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 1312 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1313 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 1314 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x32, 0x12, 0x0a, 0x10, 0x4d, 1315 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 1316 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x03, 0x63, 1317 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 1318 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 1319 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 1320 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x41, 0x53, 0x52, 0x03, 1321 0x63, 0x61, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 1322 0x73, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 1323 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x62, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 1324 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 1325 0x3d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 1326 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 1327 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1328 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 1329 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x1a, 0xac, 0x01, 0x0a, 1330 0x03, 0x43, 0x41, 0x53, 0x12, 0x50, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 1331 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 1332 0x23, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 1333 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 1334 0x70, 0x74, 0x6f, 0x72, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 1335 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x53, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 1336 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 1337 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 1338 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x32, 0x12, 0x0a, 0x10, 1339 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 1340 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x1a, 0xdd, 0x01, 0x0a, 0x0c, 1341 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x3b, 0x0a, 0x19, 1342 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 1343 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 1344 0x00, 0x52, 0x16, 0x73, 0x6b, 0x69, 0x70, 0x45, 0x6e, 0x74, 0x69, 0x72, 0x65, 0x52, 0x65, 0x73, 1345 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x30, 0x0a, 0x13, 0x75, 0x70, 0x64, 1346 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 1347 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 1348 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x62, 1349 0x6f, 0x64, 0x79, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 1350 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 1351 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 1352 0x32, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 1353 0x70, 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x08, 0x62, 0x6f, 0x64, 0x79, 0x4d, 0x61, 0x73, 0x6b, 1354 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x22, 0x72, 0x0a, 0x1d, 0x44, 1355 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 1356 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x04, 1357 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 1358 0x0a, 0x12, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 1359 0x70, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 1360 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 1361 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x42, 1362 0x95, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 1363 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x33, 0x42, 0x1b, 0x4d, 0x65, 1364 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x43, 0x75, 1365 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x5a, 0x67, 0x69, 0x74, 1366 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 1367 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 1368 0x6e, 0x67, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x65, 0x74, 1369 0x72, 0x69, 0x63, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x3b, 0x6d, 1370 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 1371 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1372 } 1373 1374 var ( 1375 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescOnce sync.Once 1376 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescData = edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDesc 1377 ) 1378 1379 func edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescGZIP() []byte { 1380 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescOnce.Do(func() { 1381 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescData) 1382 }) 1383 return edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDescData 1384 } 1385 1386 var edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 1387 var edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_goTypes = []interface{}{ 1388 (*ListMetricDescriptorsRequest)(nil), // 0: ntt.monitoring.v3.ListMetricDescriptorsRequest 1389 (*ListMetricDescriptorsResponse)(nil), // 1: ntt.monitoring.v3.ListMetricDescriptorsResponse 1390 (*GetMetricDescriptorRequest)(nil), // 2: ntt.monitoring.v3.GetMetricDescriptorRequest 1391 (*CreateMetricDescriptorRequest)(nil), // 3: ntt.monitoring.v3.CreateMetricDescriptorRequest 1392 (*UpdateMetricDescriptorRequest)(nil), // 4: ntt.monitoring.v3.UpdateMetricDescriptorRequest 1393 (*DeleteMetricDescriptorRequest)(nil), // 5: ntt.monitoring.v3.DeleteMetricDescriptorRequest 1394 (*CreateMetricDescriptorRequest_ResponseMask)(nil), // 6: ntt.monitoring.v3.CreateMetricDescriptorRequest.ResponseMask 1395 (*UpdateMetricDescriptorRequest_CAS)(nil), // 7: ntt.monitoring.v3.UpdateMetricDescriptorRequest.CAS 1396 (*UpdateMetricDescriptorRequest_ResponseMask)(nil), // 8: ntt.monitoring.v3.UpdateMetricDescriptorRequest.ResponseMask 1397 (*metric_descriptor.MetricDescriptor_FieldMask)(nil), // 9: ntt.monitoring.v3.MetricDescriptor_FieldMask 1398 (view.View)(0), // 10: goten.types.View 1399 (*metric_descriptor.MetricDescriptor)(nil), // 11: ntt.monitoring.v3.MetricDescriptor 1400 } 1401 var edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_depIdxs = []int32{ 1402 9, // 0: ntt.monitoring.v3.ListMetricDescriptorsRequest.field_mask:type_name -> ntt.monitoring.v3.MetricDescriptor_FieldMask 1403 10, // 1: ntt.monitoring.v3.ListMetricDescriptorsRequest.view:type_name -> goten.types.View 1404 11, // 2: ntt.monitoring.v3.ListMetricDescriptorsResponse.metric_descriptors:type_name -> ntt.monitoring.v3.MetricDescriptor 1405 9, // 3: ntt.monitoring.v3.GetMetricDescriptorRequest.field_mask:type_name -> ntt.monitoring.v3.MetricDescriptor_FieldMask 1406 10, // 4: ntt.monitoring.v3.GetMetricDescriptorRequest.view:type_name -> goten.types.View 1407 11, // 5: ntt.monitoring.v3.CreateMetricDescriptorRequest.metric_descriptor:type_name -> ntt.monitoring.v3.MetricDescriptor 1408 6, // 6: ntt.monitoring.v3.CreateMetricDescriptorRequest.response_mask:type_name -> ntt.monitoring.v3.CreateMetricDescriptorRequest.ResponseMask 1409 11, // 7: ntt.monitoring.v3.UpdateMetricDescriptorRequest.metric_descriptor:type_name -> ntt.monitoring.v3.MetricDescriptor 1410 9, // 8: ntt.monitoring.v3.UpdateMetricDescriptorRequest.update_mask:type_name -> ntt.monitoring.v3.MetricDescriptor_FieldMask 1411 7, // 9: ntt.monitoring.v3.UpdateMetricDescriptorRequest.cas:type_name -> ntt.monitoring.v3.UpdateMetricDescriptorRequest.CAS 1412 8, // 10: ntt.monitoring.v3.UpdateMetricDescriptorRequest.response_mask:type_name -> ntt.monitoring.v3.UpdateMetricDescriptorRequest.ResponseMask 1413 9, // 11: ntt.monitoring.v3.CreateMetricDescriptorRequest.ResponseMask.body_mask:type_name -> ntt.monitoring.v3.MetricDescriptor_FieldMask 1414 11, // 12: ntt.monitoring.v3.UpdateMetricDescriptorRequest.CAS.conditional_state:type_name -> ntt.monitoring.v3.MetricDescriptor 1415 9, // 13: ntt.monitoring.v3.UpdateMetricDescriptorRequest.CAS.field_mask:type_name -> ntt.monitoring.v3.MetricDescriptor_FieldMask 1416 9, // 14: ntt.monitoring.v3.UpdateMetricDescriptorRequest.ResponseMask.body_mask:type_name -> ntt.monitoring.v3.MetricDescriptor_FieldMask 1417 15, // [15:15] is the sub-list for method output_type 1418 15, // [15:15] is the sub-list for method input_type 1419 15, // [15:15] is the sub-list for extension type_name 1420 15, // [15:15] is the sub-list for extension extendee 1421 0, // [0:15] is the sub-list for field type_name 1422 } 1423 1424 func init() { edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_init() } 1425 func edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_init() { 1426 if edgelq_monitoring_proto_v3_metric_descriptor_custom_proto != nil { 1427 return 1428 } 1429 if !protoimpl.UnsafeEnabled { 1430 1431 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1432 switch v := v.(*ListMetricDescriptorsRequest); i { 1433 case 0: 1434 return &v.state 1435 case 1: 1436 return &v.sizeCache 1437 case 2: 1438 return &v.unknownFields 1439 default: 1440 return nil 1441 } 1442 } 1443 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1444 switch v := v.(*ListMetricDescriptorsResponse); i { 1445 case 0: 1446 return &v.state 1447 case 1: 1448 return &v.sizeCache 1449 case 2: 1450 return &v.unknownFields 1451 default: 1452 return nil 1453 } 1454 } 1455 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1456 switch v := v.(*GetMetricDescriptorRequest); i { 1457 case 0: 1458 return &v.state 1459 case 1: 1460 return &v.sizeCache 1461 case 2: 1462 return &v.unknownFields 1463 default: 1464 return nil 1465 } 1466 } 1467 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1468 switch v := v.(*CreateMetricDescriptorRequest); i { 1469 case 0: 1470 return &v.state 1471 case 1: 1472 return &v.sizeCache 1473 case 2: 1474 return &v.unknownFields 1475 default: 1476 return nil 1477 } 1478 } 1479 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1480 switch v := v.(*UpdateMetricDescriptorRequest); i { 1481 case 0: 1482 return &v.state 1483 case 1: 1484 return &v.sizeCache 1485 case 2: 1486 return &v.unknownFields 1487 default: 1488 return nil 1489 } 1490 } 1491 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1492 switch v := v.(*DeleteMetricDescriptorRequest); i { 1493 case 0: 1494 return &v.state 1495 case 1: 1496 return &v.sizeCache 1497 case 2: 1498 return &v.unknownFields 1499 default: 1500 return nil 1501 } 1502 } 1503 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1504 switch v := v.(*CreateMetricDescriptorRequest_ResponseMask); i { 1505 case 0: 1506 return &v.state 1507 case 1: 1508 return &v.sizeCache 1509 case 2: 1510 return &v.unknownFields 1511 default: 1512 return nil 1513 } 1514 } 1515 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1516 switch v := v.(*UpdateMetricDescriptorRequest_CAS); i { 1517 case 0: 1518 return &v.state 1519 case 1: 1520 return &v.sizeCache 1521 case 2: 1522 return &v.unknownFields 1523 default: 1524 return nil 1525 } 1526 } 1527 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1528 switch v := v.(*UpdateMetricDescriptorRequest_ResponseMask); i { 1529 case 0: 1530 return &v.state 1531 case 1: 1532 return &v.sizeCache 1533 case 2: 1534 return &v.unknownFields 1535 default: 1536 return nil 1537 } 1538 } 1539 } 1540 1541 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[6].OneofWrappers = []interface{}{ 1542 (*CreateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody)(nil), 1543 (*CreateMetricDescriptorRequest_ResponseMask_BodyMask)(nil), 1544 } 1545 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes[8].OneofWrappers = []interface{}{ 1546 (*UpdateMetricDescriptorRequest_ResponseMask_SkipEntireResponseBody)(nil), 1547 (*UpdateMetricDescriptorRequest_ResponseMask_UpdatedFieldsOnly)(nil), 1548 (*UpdateMetricDescriptorRequest_ResponseMask_BodyMask)(nil), 1549 } 1550 type x struct{} 1551 out := protoimpl.TypeBuilder{ 1552 File: protoimpl.DescBuilder{ 1553 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1554 RawDescriptor: edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDesc, 1555 NumEnums: 0, 1556 NumMessages: 9, 1557 NumExtensions: 0, 1558 NumServices: 0, 1559 }, 1560 GoTypes: edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_goTypes, 1561 DependencyIndexes: edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_depIdxs, 1562 MessageInfos: edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_msgTypes, 1563 }.Build() 1564 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto = out.File 1565 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_rawDesc = nil 1566 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_goTypes = nil 1567 edgelq_monitoring_proto_v3_metric_descriptor_custom_proto_depIdxs = nil 1568 }