1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/monitoring/v3/group_service.proto 20 21package monitoring 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" 31 grpc "google.golang.org/grpc" 32 codes "google.golang.org/grpc/codes" 33 status "google.golang.org/grpc/status" 34 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 35 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 36 emptypb "google.golang.org/protobuf/types/known/emptypb" 37) 38 39const ( 40 // Verify that this generated code is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 42 // Verify that runtime/protoimpl is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 44) 45 46// This is a compile-time assertion that a sufficiently up-to-date version 47// of the legacy proto package is being used. 48const _ = proto.ProtoPackageIsVersion4 49 50// The `ListGroup` request. 51type ListGroupsRequest struct { 52 state protoimpl.MessageState 53 sizeCache protoimpl.SizeCache 54 unknownFields protoimpl.UnknownFields 55 56 // Required. The project whose groups are to be listed. The format is: 57 // 58 // projects/[PROJECT_ID_OR_NUMBER] 59 Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` 60 // An optional filter consisting of a single group name. The filters limit 61 // the groups returned based on their parent-child relationship with the 62 // specified group. If no filter is specified, all groups are returned. 63 // 64 // Types that are assignable to Filter: 65 // *ListGroupsRequest_ChildrenOfGroup 66 // *ListGroupsRequest_AncestorsOfGroup 67 // *ListGroupsRequest_DescendantsOfGroup 68 Filter isListGroupsRequest_Filter `protobuf_oneof:"filter"` 69 // A positive number that is the maximum number of results to return. 70 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 71 // If this field is not empty then it must contain the `next_page_token` value 72 // returned by a previous call to this method. Using this field causes the 73 // method to return additional results from the previous method call. 74 PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 75} 76 77func (x *ListGroupsRequest) Reset() { 78 *x = ListGroupsRequest{} 79 if protoimpl.UnsafeEnabled { 80 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[0] 81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 82 ms.StoreMessageInfo(mi) 83 } 84} 85 86func (x *ListGroupsRequest) String() string { 87 return protoimpl.X.MessageStringOf(x) 88} 89 90func (*ListGroupsRequest) ProtoMessage() {} 91 92func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message { 93 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[0] 94 if protoimpl.UnsafeEnabled && x != nil { 95 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 96 if ms.LoadMessageInfo() == nil { 97 ms.StoreMessageInfo(mi) 98 } 99 return ms 100 } 101 return mi.MessageOf(x) 102} 103 104// Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead. 105func (*ListGroupsRequest) Descriptor() ([]byte, []int) { 106 return file_google_monitoring_v3_group_service_proto_rawDescGZIP(), []int{0} 107} 108 109func (x *ListGroupsRequest) GetName() string { 110 if x != nil { 111 return x.Name 112 } 113 return "" 114} 115 116func (m *ListGroupsRequest) GetFilter() isListGroupsRequest_Filter { 117 if m != nil { 118 return m.Filter 119 } 120 return nil 121} 122 123func (x *ListGroupsRequest) GetChildrenOfGroup() string { 124 if x, ok := x.GetFilter().(*ListGroupsRequest_ChildrenOfGroup); ok { 125 return x.ChildrenOfGroup 126 } 127 return "" 128} 129 130func (x *ListGroupsRequest) GetAncestorsOfGroup() string { 131 if x, ok := x.GetFilter().(*ListGroupsRequest_AncestorsOfGroup); ok { 132 return x.AncestorsOfGroup 133 } 134 return "" 135} 136 137func (x *ListGroupsRequest) GetDescendantsOfGroup() string { 138 if x, ok := x.GetFilter().(*ListGroupsRequest_DescendantsOfGroup); ok { 139 return x.DescendantsOfGroup 140 } 141 return "" 142} 143 144func (x *ListGroupsRequest) GetPageSize() int32 { 145 if x != nil { 146 return x.PageSize 147 } 148 return 0 149} 150 151func (x *ListGroupsRequest) GetPageToken() string { 152 if x != nil { 153 return x.PageToken 154 } 155 return "" 156} 157 158type isListGroupsRequest_Filter interface { 159 isListGroupsRequest_Filter() 160} 161 162type ListGroupsRequest_ChildrenOfGroup struct { 163 // A group name. The format is: 164 // 165 // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] 166 // 167 // Returns groups whose `parent_name` field contains the group 168 // name. If no groups have this parent, the results are empty. 169 ChildrenOfGroup string `protobuf:"bytes,2,opt,name=children_of_group,json=childrenOfGroup,proto3,oneof"` 170} 171 172type ListGroupsRequest_AncestorsOfGroup struct { 173 // A group name. The format is: 174 // 175 // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] 176 // 177 // Returns groups that are ancestors of the specified group. 178 // The groups are returned in order, starting with the immediate parent and 179 // ending with the most distant ancestor. If the specified group has no 180 // immediate parent, the results are empty. 181 AncestorsOfGroup string `protobuf:"bytes,3,opt,name=ancestors_of_group,json=ancestorsOfGroup,proto3,oneof"` 182} 183 184type ListGroupsRequest_DescendantsOfGroup struct { 185 // A group name. The format is: 186 // 187 // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] 188 // 189 // Returns the descendants of the specified group. This is a superset of 190 // the results returned by the `children_of_group` filter, and includes 191 // children-of-children, and so forth. 192 DescendantsOfGroup string `protobuf:"bytes,4,opt,name=descendants_of_group,json=descendantsOfGroup,proto3,oneof"` 193} 194 195func (*ListGroupsRequest_ChildrenOfGroup) isListGroupsRequest_Filter() {} 196 197func (*ListGroupsRequest_AncestorsOfGroup) isListGroupsRequest_Filter() {} 198 199func (*ListGroupsRequest_DescendantsOfGroup) isListGroupsRequest_Filter() {} 200 201// The `ListGroups` response. 202type ListGroupsResponse struct { 203 state protoimpl.MessageState 204 sizeCache protoimpl.SizeCache 205 unknownFields protoimpl.UnknownFields 206 207 // The groups that match the specified filters. 208 Group []*Group `protobuf:"bytes,1,rep,name=group,proto3" json:"group,omitempty"` 209 // If there are more results than have been returned, then this field is set 210 // to a non-empty value. To see the additional results, 211 // use that value as `page_token` in the next call to this method. 212 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 213} 214 215func (x *ListGroupsResponse) Reset() { 216 *x = ListGroupsResponse{} 217 if protoimpl.UnsafeEnabled { 218 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[1] 219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 220 ms.StoreMessageInfo(mi) 221 } 222} 223 224func (x *ListGroupsResponse) String() string { 225 return protoimpl.X.MessageStringOf(x) 226} 227 228func (*ListGroupsResponse) ProtoMessage() {} 229 230func (x *ListGroupsResponse) ProtoReflect() protoreflect.Message { 231 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[1] 232 if protoimpl.UnsafeEnabled && x != nil { 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 if ms.LoadMessageInfo() == nil { 235 ms.StoreMessageInfo(mi) 236 } 237 return ms 238 } 239 return mi.MessageOf(x) 240} 241 242// Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead. 243func (*ListGroupsResponse) Descriptor() ([]byte, []int) { 244 return file_google_monitoring_v3_group_service_proto_rawDescGZIP(), []int{1} 245} 246 247func (x *ListGroupsResponse) GetGroup() []*Group { 248 if x != nil { 249 return x.Group 250 } 251 return nil 252} 253 254func (x *ListGroupsResponse) GetNextPageToken() string { 255 if x != nil { 256 return x.NextPageToken 257 } 258 return "" 259} 260 261// The `GetGroup` request. 262type GetGroupRequest struct { 263 state protoimpl.MessageState 264 sizeCache protoimpl.SizeCache 265 unknownFields protoimpl.UnknownFields 266 267 // Required. The group to retrieve. The format is: 268 // 269 // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] 270 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 271} 272 273func (x *GetGroupRequest) Reset() { 274 *x = GetGroupRequest{} 275 if protoimpl.UnsafeEnabled { 276 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[2] 277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 278 ms.StoreMessageInfo(mi) 279 } 280} 281 282func (x *GetGroupRequest) String() string { 283 return protoimpl.X.MessageStringOf(x) 284} 285 286func (*GetGroupRequest) ProtoMessage() {} 287 288func (x *GetGroupRequest) ProtoReflect() protoreflect.Message { 289 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[2] 290 if protoimpl.UnsafeEnabled && x != nil { 291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 292 if ms.LoadMessageInfo() == nil { 293 ms.StoreMessageInfo(mi) 294 } 295 return ms 296 } 297 return mi.MessageOf(x) 298} 299 300// Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead. 301func (*GetGroupRequest) Descriptor() ([]byte, []int) { 302 return file_google_monitoring_v3_group_service_proto_rawDescGZIP(), []int{2} 303} 304 305func (x *GetGroupRequest) GetName() string { 306 if x != nil { 307 return x.Name 308 } 309 return "" 310} 311 312// The `CreateGroup` request. 313type CreateGroupRequest struct { 314 state protoimpl.MessageState 315 sizeCache protoimpl.SizeCache 316 unknownFields protoimpl.UnknownFields 317 318 // Required. The project in which to create the group. The format is: 319 // 320 // projects/[PROJECT_ID_OR_NUMBER] 321 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 322 // Required. A group definition. It is an error to define the `name` field because 323 // the system assigns the name. 324 Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` 325 // If true, validate this request but do not create the group. 326 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` 327} 328 329func (x *CreateGroupRequest) Reset() { 330 *x = CreateGroupRequest{} 331 if protoimpl.UnsafeEnabled { 332 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[3] 333 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 334 ms.StoreMessageInfo(mi) 335 } 336} 337 338func (x *CreateGroupRequest) String() string { 339 return protoimpl.X.MessageStringOf(x) 340} 341 342func (*CreateGroupRequest) ProtoMessage() {} 343 344func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message { 345 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[3] 346 if protoimpl.UnsafeEnabled && x != nil { 347 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 348 if ms.LoadMessageInfo() == nil { 349 ms.StoreMessageInfo(mi) 350 } 351 return ms 352 } 353 return mi.MessageOf(x) 354} 355 356// Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead. 357func (*CreateGroupRequest) Descriptor() ([]byte, []int) { 358 return file_google_monitoring_v3_group_service_proto_rawDescGZIP(), []int{3} 359} 360 361func (x *CreateGroupRequest) GetName() string { 362 if x != nil { 363 return x.Name 364 } 365 return "" 366} 367 368func (x *CreateGroupRequest) GetGroup() *Group { 369 if x != nil { 370 return x.Group 371 } 372 return nil 373} 374 375func (x *CreateGroupRequest) GetValidateOnly() bool { 376 if x != nil { 377 return x.ValidateOnly 378 } 379 return false 380} 381 382// The `UpdateGroup` request. 383type UpdateGroupRequest struct { 384 state protoimpl.MessageState 385 sizeCache protoimpl.SizeCache 386 unknownFields protoimpl.UnknownFields 387 388 // Required. The new definition of the group. All fields of the existing group, 389 // excepting `name`, are replaced with the corresponding fields of this group. 390 Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` 391 // If true, validate this request but do not update the existing group. 392 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` 393} 394 395func (x *UpdateGroupRequest) Reset() { 396 *x = UpdateGroupRequest{} 397 if protoimpl.UnsafeEnabled { 398 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[4] 399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 400 ms.StoreMessageInfo(mi) 401 } 402} 403 404func (x *UpdateGroupRequest) String() string { 405 return protoimpl.X.MessageStringOf(x) 406} 407 408func (*UpdateGroupRequest) ProtoMessage() {} 409 410func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message { 411 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[4] 412 if protoimpl.UnsafeEnabled && x != nil { 413 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 414 if ms.LoadMessageInfo() == nil { 415 ms.StoreMessageInfo(mi) 416 } 417 return ms 418 } 419 return mi.MessageOf(x) 420} 421 422// Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead. 423func (*UpdateGroupRequest) Descriptor() ([]byte, []int) { 424 return file_google_monitoring_v3_group_service_proto_rawDescGZIP(), []int{4} 425} 426 427func (x *UpdateGroupRequest) GetGroup() *Group { 428 if x != nil { 429 return x.Group 430 } 431 return nil 432} 433 434func (x *UpdateGroupRequest) GetValidateOnly() bool { 435 if x != nil { 436 return x.ValidateOnly 437 } 438 return false 439} 440 441// The `DeleteGroup` request. The default behavior is to be able to delete a 442// single group without any descendants. 443type DeleteGroupRequest struct { 444 state protoimpl.MessageState 445 sizeCache protoimpl.SizeCache 446 unknownFields protoimpl.UnknownFields 447 448 // Required. The group to delete. The format is: 449 // 450 // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] 451 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 452 // If this field is true, then the request means to delete a group with all 453 // its descendants. Otherwise, the request means to delete a group only when 454 // it has no descendants. The default value is false. 455 Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` 456} 457 458func (x *DeleteGroupRequest) Reset() { 459 *x = DeleteGroupRequest{} 460 if protoimpl.UnsafeEnabled { 461 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[5] 462 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 463 ms.StoreMessageInfo(mi) 464 } 465} 466 467func (x *DeleteGroupRequest) String() string { 468 return protoimpl.X.MessageStringOf(x) 469} 470 471func (*DeleteGroupRequest) ProtoMessage() {} 472 473func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message { 474 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[5] 475 if protoimpl.UnsafeEnabled && x != nil { 476 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 477 if ms.LoadMessageInfo() == nil { 478 ms.StoreMessageInfo(mi) 479 } 480 return ms 481 } 482 return mi.MessageOf(x) 483} 484 485// Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead. 486func (*DeleteGroupRequest) Descriptor() ([]byte, []int) { 487 return file_google_monitoring_v3_group_service_proto_rawDescGZIP(), []int{5} 488} 489 490func (x *DeleteGroupRequest) GetName() string { 491 if x != nil { 492 return x.Name 493 } 494 return "" 495} 496 497func (x *DeleteGroupRequest) GetRecursive() bool { 498 if x != nil { 499 return x.Recursive 500 } 501 return false 502} 503 504// The `ListGroupMembers` request. 505type ListGroupMembersRequest struct { 506 state protoimpl.MessageState 507 sizeCache protoimpl.SizeCache 508 unknownFields protoimpl.UnknownFields 509 510 // Required. The group whose members are listed. The format is: 511 // 512 // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] 513 Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` 514 // A positive number that is the maximum number of results to return. 515 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 516 // If this field is not empty then it must contain the `next_page_token` value 517 // returned by a previous call to this method. Using this field causes the 518 // method to return additional results from the previous method call. 519 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 520 // An optional [list 521 // filter](https://cloud.google.com/monitoring/api/learn_more#filtering) 522 // describing the members to be returned. The filter may reference the type, 523 // labels, and metadata of monitored resources that comprise the group. For 524 // example, to return only resources representing Compute Engine VM instances, 525 // use this filter: 526 // 527 // `resource.type = "gce_instance"` 528 Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` 529 // An optional time interval for which results should be returned. Only 530 // members that were part of the group during the specified interval are 531 // included in the response. If no interval is provided then the group 532 // membership over the last minute is returned. 533 Interval *TimeInterval `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"` 534} 535 536func (x *ListGroupMembersRequest) Reset() { 537 *x = ListGroupMembersRequest{} 538 if protoimpl.UnsafeEnabled { 539 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[6] 540 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 541 ms.StoreMessageInfo(mi) 542 } 543} 544 545func (x *ListGroupMembersRequest) String() string { 546 return protoimpl.X.MessageStringOf(x) 547} 548 549func (*ListGroupMembersRequest) ProtoMessage() {} 550 551func (x *ListGroupMembersRequest) ProtoReflect() protoreflect.Message { 552 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[6] 553 if protoimpl.UnsafeEnabled && x != nil { 554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 555 if ms.LoadMessageInfo() == nil { 556 ms.StoreMessageInfo(mi) 557 } 558 return ms 559 } 560 return mi.MessageOf(x) 561} 562 563// Deprecated: Use ListGroupMembersRequest.ProtoReflect.Descriptor instead. 564func (*ListGroupMembersRequest) Descriptor() ([]byte, []int) { 565 return file_google_monitoring_v3_group_service_proto_rawDescGZIP(), []int{6} 566} 567 568func (x *ListGroupMembersRequest) GetName() string { 569 if x != nil { 570 return x.Name 571 } 572 return "" 573} 574 575func (x *ListGroupMembersRequest) GetPageSize() int32 { 576 if x != nil { 577 return x.PageSize 578 } 579 return 0 580} 581 582func (x *ListGroupMembersRequest) GetPageToken() string { 583 if x != nil { 584 return x.PageToken 585 } 586 return "" 587} 588 589func (x *ListGroupMembersRequest) GetFilter() string { 590 if x != nil { 591 return x.Filter 592 } 593 return "" 594} 595 596func (x *ListGroupMembersRequest) GetInterval() *TimeInterval { 597 if x != nil { 598 return x.Interval 599 } 600 return nil 601} 602 603// The `ListGroupMembers` response. 604type ListGroupMembersResponse struct { 605 state protoimpl.MessageState 606 sizeCache protoimpl.SizeCache 607 unknownFields protoimpl.UnknownFields 608 609 // A set of monitored resources in the group. 610 Members []*monitoredres.MonitoredResource `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` 611 // If there are more results than have been returned, then this field is 612 // set to a non-empty value. To see the additional results, use that value as 613 // `page_token` in the next call to this method. 614 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 615 // The total number of elements matching this request. 616 TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` 617} 618 619func (x *ListGroupMembersResponse) Reset() { 620 *x = ListGroupMembersResponse{} 621 if protoimpl.UnsafeEnabled { 622 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[7] 623 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 624 ms.StoreMessageInfo(mi) 625 } 626} 627 628func (x *ListGroupMembersResponse) String() string { 629 return protoimpl.X.MessageStringOf(x) 630} 631 632func (*ListGroupMembersResponse) ProtoMessage() {} 633 634func (x *ListGroupMembersResponse) ProtoReflect() protoreflect.Message { 635 mi := &file_google_monitoring_v3_group_service_proto_msgTypes[7] 636 if protoimpl.UnsafeEnabled && x != nil { 637 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 638 if ms.LoadMessageInfo() == nil { 639 ms.StoreMessageInfo(mi) 640 } 641 return ms 642 } 643 return mi.MessageOf(x) 644} 645 646// Deprecated: Use ListGroupMembersResponse.ProtoReflect.Descriptor instead. 647func (*ListGroupMembersResponse) Descriptor() ([]byte, []int) { 648 return file_google_monitoring_v3_group_service_proto_rawDescGZIP(), []int{7} 649} 650 651func (x *ListGroupMembersResponse) GetMembers() []*monitoredres.MonitoredResource { 652 if x != nil { 653 return x.Members 654 } 655 return nil 656} 657 658func (x *ListGroupMembersResponse) GetNextPageToken() string { 659 if x != nil { 660 return x.NextPageToken 661 } 662 return "" 663} 664 665func (x *ListGroupMembersResponse) GetTotalSize() int32 { 666 if x != nil { 667 return x.TotalSize 668 } 669 return 0 670} 671 672var File_google_monitoring_v3_group_service_proto protoreflect.FileDescriptor 673 674var file_google_monitoring_v3_group_service_proto_rawDesc = []byte{ 675 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 676 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x65, 0x72, 677 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x67, 0x6f, 0x6f, 0x67, 678 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 679 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 680 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 681 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 682 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 683 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 684 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 685 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 686 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 687 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 688 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 689 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x63, 690 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 691 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 692 0x33, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 693 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 694 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x03, 0x0a, 0x11, 0x4c, 695 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 696 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 697 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 698 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 699 0x6d, 0x2f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x52, 0x0a, 700 0x11, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x5f, 0x6f, 0x66, 0x5f, 0x67, 0x72, 0x6f, 701 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x6d, 702 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 703 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x00, 704 0x52, 0x0f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x4f, 0x66, 0x47, 0x72, 0x6f, 0x75, 705 0x70, 0x12, 0x54, 0x0a, 0x12, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x6f, 706 0x66, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xfa, 707 0x41, 0x21, 0x0a, 0x1f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 708 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 709 0x6f, 0x75, 0x70, 0x48, 0x00, 0x52, 0x10, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 710 0x4f, 0x66, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x58, 0x0a, 0x14, 0x64, 0x65, 0x73, 0x63, 0x65, 711 0x6e, 0x64, 0x61, 0x6e, 0x74, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 712 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x6d, 0x6f, 0x6e, 0x69, 713 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 714 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x00, 0x52, 0x12, 0x64, 715 0x65, 0x73, 0x63, 0x65, 0x6e, 0x64, 0x61, 0x6e, 0x74, 0x73, 0x4f, 0x66, 0x47, 0x72, 0x6f, 0x75, 716 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 717 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 718 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 719 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x08, 0x0a, 720 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x6f, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x47, 721 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 722 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 723 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 724 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 725 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 726 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 727 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 728 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 729 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 730 0x21, 0x0a, 0x1f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 731 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x6f, 732 0x75, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 733 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 734 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 735 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 736 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 737 0x2f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x05, 738 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 739 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 740 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x67, 741 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 742 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 743 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x71, 0x0a, 0x12, 0x55, 0x70, 0x64, 744 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 745 0x36, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 746 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 747 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 748 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 749 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 750 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x6f, 0x0a, 0x12, 751 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 752 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 753 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 754 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 755 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 756 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 757 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x22, 0xea, 0x01, 758 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 759 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 760 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 761 0x1f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 762 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x6f, 0x75, 0x70, 763 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 764 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 765 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 766 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 767 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 768 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x08, 0x69, 0x6e, 769 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 770 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 771 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 772 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0x9a, 0x01, 0x0a, 0x18, 0x4c, 773 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 774 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 775 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 776 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 777 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 778 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 779 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 780 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 781 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 782 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x32, 0x98, 0x08, 0x0a, 0x0c, 0x47, 0x72, 0x6f, 0x75, 783 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 784 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 785 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 786 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 787 0x1a, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 788 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 789 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 790 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 791 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 792 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x7d, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x72, 793 0x6f, 0x75, 0x70, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 794 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 795 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 796 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 797 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 798 0x1e, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 799 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 800 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x8e, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 801 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 802 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 803 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 804 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 805 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x38, 0x82, 806 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x1c, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 807 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 808 0x75, 0x70, 0x73, 0x3a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0xda, 0x41, 0x0a, 0x6e, 0x61, 0x6d, 809 0x65, 0x2c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x91, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 810 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 811 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x55, 812 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 813 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 814 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x3b, 815 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x1a, 0x24, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 816 0x75, 0x70, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 817 0x2f, 0x2a, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x05, 0x67, 0x72, 818 0x6f, 0x75, 0x70, 0xda, 0x41, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x7e, 0x0a, 0x0b, 0x44, 819 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 820 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 821 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 822 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 823 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2d, 0x82, 0xd3, 824 0xe4, 0x93, 0x02, 0x20, 0x2a, 0x1e, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 825 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 826 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xa8, 0x01, 0x0a, 0x10, 827 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 828 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 829 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 830 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 831 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 832 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 833 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 834 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 835 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x67, 0x72, 836 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0xda, 837 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0xa9, 0x01, 0xca, 0x41, 0x19, 0x6d, 0x6f, 0x6e, 0x69, 838 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 839 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x89, 0x01, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 840 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 841 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 842 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 843 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 844 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 845 0x6e, 0x67, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 846 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 847 0x74, 0x68, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x72, 0x65, 848 0x61, 0x64, 0x42, 0xc9, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 849 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x42, 850 0x11, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 851 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 852 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 853 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 854 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x3b, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 855 0x72, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 856 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x56, 857 0x33, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 858 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x33, 0xea, 0x02, 859 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 860 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 861 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 862} 863 864var ( 865 file_google_monitoring_v3_group_service_proto_rawDescOnce sync.Once 866 file_google_monitoring_v3_group_service_proto_rawDescData = file_google_monitoring_v3_group_service_proto_rawDesc 867) 868 869func file_google_monitoring_v3_group_service_proto_rawDescGZIP() []byte { 870 file_google_monitoring_v3_group_service_proto_rawDescOnce.Do(func() { 871 file_google_monitoring_v3_group_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_v3_group_service_proto_rawDescData) 872 }) 873 return file_google_monitoring_v3_group_service_proto_rawDescData 874} 875 876var file_google_monitoring_v3_group_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 877var file_google_monitoring_v3_group_service_proto_goTypes = []interface{}{ 878 (*ListGroupsRequest)(nil), // 0: google.monitoring.v3.ListGroupsRequest 879 (*ListGroupsResponse)(nil), // 1: google.monitoring.v3.ListGroupsResponse 880 (*GetGroupRequest)(nil), // 2: google.monitoring.v3.GetGroupRequest 881 (*CreateGroupRequest)(nil), // 3: google.monitoring.v3.CreateGroupRequest 882 (*UpdateGroupRequest)(nil), // 4: google.monitoring.v3.UpdateGroupRequest 883 (*DeleteGroupRequest)(nil), // 5: google.monitoring.v3.DeleteGroupRequest 884 (*ListGroupMembersRequest)(nil), // 6: google.monitoring.v3.ListGroupMembersRequest 885 (*ListGroupMembersResponse)(nil), // 7: google.monitoring.v3.ListGroupMembersResponse 886 (*Group)(nil), // 8: google.monitoring.v3.Group 887 (*TimeInterval)(nil), // 9: google.monitoring.v3.TimeInterval 888 (*monitoredres.MonitoredResource)(nil), // 10: google.api.MonitoredResource 889 (*emptypb.Empty)(nil), // 11: google.protobuf.Empty 890} 891var file_google_monitoring_v3_group_service_proto_depIdxs = []int32{ 892 8, // 0: google.monitoring.v3.ListGroupsResponse.group:type_name -> google.monitoring.v3.Group 893 8, // 1: google.monitoring.v3.CreateGroupRequest.group:type_name -> google.monitoring.v3.Group 894 8, // 2: google.monitoring.v3.UpdateGroupRequest.group:type_name -> google.monitoring.v3.Group 895 9, // 3: google.monitoring.v3.ListGroupMembersRequest.interval:type_name -> google.monitoring.v3.TimeInterval 896 10, // 4: google.monitoring.v3.ListGroupMembersResponse.members:type_name -> google.api.MonitoredResource 897 0, // 5: google.monitoring.v3.GroupService.ListGroups:input_type -> google.monitoring.v3.ListGroupsRequest 898 2, // 6: google.monitoring.v3.GroupService.GetGroup:input_type -> google.monitoring.v3.GetGroupRequest 899 3, // 7: google.monitoring.v3.GroupService.CreateGroup:input_type -> google.monitoring.v3.CreateGroupRequest 900 4, // 8: google.monitoring.v3.GroupService.UpdateGroup:input_type -> google.monitoring.v3.UpdateGroupRequest 901 5, // 9: google.monitoring.v3.GroupService.DeleteGroup:input_type -> google.monitoring.v3.DeleteGroupRequest 902 6, // 10: google.monitoring.v3.GroupService.ListGroupMembers:input_type -> google.monitoring.v3.ListGroupMembersRequest 903 1, // 11: google.monitoring.v3.GroupService.ListGroups:output_type -> google.monitoring.v3.ListGroupsResponse 904 8, // 12: google.monitoring.v3.GroupService.GetGroup:output_type -> google.monitoring.v3.Group 905 8, // 13: google.monitoring.v3.GroupService.CreateGroup:output_type -> google.monitoring.v3.Group 906 8, // 14: google.monitoring.v3.GroupService.UpdateGroup:output_type -> google.monitoring.v3.Group 907 11, // 15: google.monitoring.v3.GroupService.DeleteGroup:output_type -> google.protobuf.Empty 908 7, // 16: google.monitoring.v3.GroupService.ListGroupMembers:output_type -> google.monitoring.v3.ListGroupMembersResponse 909 11, // [11:17] is the sub-list for method output_type 910 5, // [5:11] is the sub-list for method input_type 911 5, // [5:5] is the sub-list for extension type_name 912 5, // [5:5] is the sub-list for extension extendee 913 0, // [0:5] is the sub-list for field type_name 914} 915 916func init() { file_google_monitoring_v3_group_service_proto_init() } 917func file_google_monitoring_v3_group_service_proto_init() { 918 if File_google_monitoring_v3_group_service_proto != nil { 919 return 920 } 921 file_google_monitoring_v3_common_proto_init() 922 file_google_monitoring_v3_group_proto_init() 923 if !protoimpl.UnsafeEnabled { 924 file_google_monitoring_v3_group_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 925 switch v := v.(*ListGroupsRequest); i { 926 case 0: 927 return &v.state 928 case 1: 929 return &v.sizeCache 930 case 2: 931 return &v.unknownFields 932 default: 933 return nil 934 } 935 } 936 file_google_monitoring_v3_group_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 937 switch v := v.(*ListGroupsResponse); i { 938 case 0: 939 return &v.state 940 case 1: 941 return &v.sizeCache 942 case 2: 943 return &v.unknownFields 944 default: 945 return nil 946 } 947 } 948 file_google_monitoring_v3_group_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 949 switch v := v.(*GetGroupRequest); i { 950 case 0: 951 return &v.state 952 case 1: 953 return &v.sizeCache 954 case 2: 955 return &v.unknownFields 956 default: 957 return nil 958 } 959 } 960 file_google_monitoring_v3_group_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 961 switch v := v.(*CreateGroupRequest); i { 962 case 0: 963 return &v.state 964 case 1: 965 return &v.sizeCache 966 case 2: 967 return &v.unknownFields 968 default: 969 return nil 970 } 971 } 972 file_google_monitoring_v3_group_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 973 switch v := v.(*UpdateGroupRequest); i { 974 case 0: 975 return &v.state 976 case 1: 977 return &v.sizeCache 978 case 2: 979 return &v.unknownFields 980 default: 981 return nil 982 } 983 } 984 file_google_monitoring_v3_group_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 985 switch v := v.(*DeleteGroupRequest); i { 986 case 0: 987 return &v.state 988 case 1: 989 return &v.sizeCache 990 case 2: 991 return &v.unknownFields 992 default: 993 return nil 994 } 995 } 996 file_google_monitoring_v3_group_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 997 switch v := v.(*ListGroupMembersRequest); i { 998 case 0: 999 return &v.state 1000 case 1: 1001 return &v.sizeCache 1002 case 2: 1003 return &v.unknownFields 1004 default: 1005 return nil 1006 } 1007 } 1008 file_google_monitoring_v3_group_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1009 switch v := v.(*ListGroupMembersResponse); i { 1010 case 0: 1011 return &v.state 1012 case 1: 1013 return &v.sizeCache 1014 case 2: 1015 return &v.unknownFields 1016 default: 1017 return nil 1018 } 1019 } 1020 } 1021 file_google_monitoring_v3_group_service_proto_msgTypes[0].OneofWrappers = []interface{}{ 1022 (*ListGroupsRequest_ChildrenOfGroup)(nil), 1023 (*ListGroupsRequest_AncestorsOfGroup)(nil), 1024 (*ListGroupsRequest_DescendantsOfGroup)(nil), 1025 } 1026 type x struct{} 1027 out := protoimpl.TypeBuilder{ 1028 File: protoimpl.DescBuilder{ 1029 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1030 RawDescriptor: file_google_monitoring_v3_group_service_proto_rawDesc, 1031 NumEnums: 0, 1032 NumMessages: 8, 1033 NumExtensions: 0, 1034 NumServices: 1, 1035 }, 1036 GoTypes: file_google_monitoring_v3_group_service_proto_goTypes, 1037 DependencyIndexes: file_google_monitoring_v3_group_service_proto_depIdxs, 1038 MessageInfos: file_google_monitoring_v3_group_service_proto_msgTypes, 1039 }.Build() 1040 File_google_monitoring_v3_group_service_proto = out.File 1041 file_google_monitoring_v3_group_service_proto_rawDesc = nil 1042 file_google_monitoring_v3_group_service_proto_goTypes = nil 1043 file_google_monitoring_v3_group_service_proto_depIdxs = nil 1044} 1045 1046// Reference imports to suppress errors if they are not otherwise used. 1047var _ context.Context 1048var _ grpc.ClientConnInterface 1049 1050// This is a compile-time assertion to ensure that this generated file 1051// is compatible with the grpc package it is being compiled against. 1052const _ = grpc.SupportPackageIsVersion6 1053 1054// GroupServiceClient is the client API for GroupService service. 1055// 1056// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1057type GroupServiceClient interface { 1058 // Lists the existing groups. 1059 ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error) 1060 // Gets a single group. 1061 GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*Group, error) 1062 // Creates a new group. 1063 CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*Group, error) 1064 // Updates an existing group. 1065 // You can change any group attributes except `name`. 1066 UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*Group, error) 1067 // Deletes an existing group. 1068 DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1069 // Lists the monitored resources that are members of a group. 1070 ListGroupMembers(ctx context.Context, in *ListGroupMembersRequest, opts ...grpc.CallOption) (*ListGroupMembersResponse, error) 1071} 1072 1073type groupServiceClient struct { 1074 cc grpc.ClientConnInterface 1075} 1076 1077func NewGroupServiceClient(cc grpc.ClientConnInterface) GroupServiceClient { 1078 return &groupServiceClient{cc} 1079} 1080 1081func (c *groupServiceClient) ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error) { 1082 out := new(ListGroupsResponse) 1083 err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/ListGroups", in, out, opts...) 1084 if err != nil { 1085 return nil, err 1086 } 1087 return out, nil 1088} 1089 1090func (c *groupServiceClient) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*Group, error) { 1091 out := new(Group) 1092 err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/GetGroup", in, out, opts...) 1093 if err != nil { 1094 return nil, err 1095 } 1096 return out, nil 1097} 1098 1099func (c *groupServiceClient) CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*Group, error) { 1100 out := new(Group) 1101 err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/CreateGroup", in, out, opts...) 1102 if err != nil { 1103 return nil, err 1104 } 1105 return out, nil 1106} 1107 1108func (c *groupServiceClient) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*Group, error) { 1109 out := new(Group) 1110 err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/UpdateGroup", in, out, opts...) 1111 if err != nil { 1112 return nil, err 1113 } 1114 return out, nil 1115} 1116 1117func (c *groupServiceClient) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1118 out := new(emptypb.Empty) 1119 err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/DeleteGroup", in, out, opts...) 1120 if err != nil { 1121 return nil, err 1122 } 1123 return out, nil 1124} 1125 1126func (c *groupServiceClient) ListGroupMembers(ctx context.Context, in *ListGroupMembersRequest, opts ...grpc.CallOption) (*ListGroupMembersResponse, error) { 1127 out := new(ListGroupMembersResponse) 1128 err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/ListGroupMembers", in, out, opts...) 1129 if err != nil { 1130 return nil, err 1131 } 1132 return out, nil 1133} 1134 1135// GroupServiceServer is the server API for GroupService service. 1136type GroupServiceServer interface { 1137 // Lists the existing groups. 1138 ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error) 1139 // Gets a single group. 1140 GetGroup(context.Context, *GetGroupRequest) (*Group, error) 1141 // Creates a new group. 1142 CreateGroup(context.Context, *CreateGroupRequest) (*Group, error) 1143 // Updates an existing group. 1144 // You can change any group attributes except `name`. 1145 UpdateGroup(context.Context, *UpdateGroupRequest) (*Group, error) 1146 // Deletes an existing group. 1147 DeleteGroup(context.Context, *DeleteGroupRequest) (*emptypb.Empty, error) 1148 // Lists the monitored resources that are members of a group. 1149 ListGroupMembers(context.Context, *ListGroupMembersRequest) (*ListGroupMembersResponse, error) 1150} 1151 1152// UnimplementedGroupServiceServer can be embedded to have forward compatible implementations. 1153type UnimplementedGroupServiceServer struct { 1154} 1155 1156func (*UnimplementedGroupServiceServer) ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error) { 1157 return nil, status.Errorf(codes.Unimplemented, "method ListGroups not implemented") 1158} 1159func (*UnimplementedGroupServiceServer) GetGroup(context.Context, *GetGroupRequest) (*Group, error) { 1160 return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented") 1161} 1162func (*UnimplementedGroupServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*Group, error) { 1163 return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented") 1164} 1165func (*UnimplementedGroupServiceServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*Group, error) { 1166 return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented") 1167} 1168func (*UnimplementedGroupServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*emptypb.Empty, error) { 1169 return nil, status.Errorf(codes.Unimplemented, "method DeleteGroup not implemented") 1170} 1171func (*UnimplementedGroupServiceServer) ListGroupMembers(context.Context, *ListGroupMembersRequest) (*ListGroupMembersResponse, error) { 1172 return nil, status.Errorf(codes.Unimplemented, "method ListGroupMembers not implemented") 1173} 1174 1175func RegisterGroupServiceServer(s *grpc.Server, srv GroupServiceServer) { 1176 s.RegisterService(&_GroupService_serviceDesc, srv) 1177} 1178 1179func _GroupService_ListGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1180 in := new(ListGroupsRequest) 1181 if err := dec(in); err != nil { 1182 return nil, err 1183 } 1184 if interceptor == nil { 1185 return srv.(GroupServiceServer).ListGroups(ctx, in) 1186 } 1187 info := &grpc.UnaryServerInfo{ 1188 Server: srv, 1189 FullMethod: "/google.monitoring.v3.GroupService/ListGroups", 1190 } 1191 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1192 return srv.(GroupServiceServer).ListGroups(ctx, req.(*ListGroupsRequest)) 1193 } 1194 return interceptor(ctx, in, info, handler) 1195} 1196 1197func _GroupService_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1198 in := new(GetGroupRequest) 1199 if err := dec(in); err != nil { 1200 return nil, err 1201 } 1202 if interceptor == nil { 1203 return srv.(GroupServiceServer).GetGroup(ctx, in) 1204 } 1205 info := &grpc.UnaryServerInfo{ 1206 Server: srv, 1207 FullMethod: "/google.monitoring.v3.GroupService/GetGroup", 1208 } 1209 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1210 return srv.(GroupServiceServer).GetGroup(ctx, req.(*GetGroupRequest)) 1211 } 1212 return interceptor(ctx, in, info, handler) 1213} 1214 1215func _GroupService_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1216 in := new(CreateGroupRequest) 1217 if err := dec(in); err != nil { 1218 return nil, err 1219 } 1220 if interceptor == nil { 1221 return srv.(GroupServiceServer).CreateGroup(ctx, in) 1222 } 1223 info := &grpc.UnaryServerInfo{ 1224 Server: srv, 1225 FullMethod: "/google.monitoring.v3.GroupService/CreateGroup", 1226 } 1227 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1228 return srv.(GroupServiceServer).CreateGroup(ctx, req.(*CreateGroupRequest)) 1229 } 1230 return interceptor(ctx, in, info, handler) 1231} 1232 1233func _GroupService_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1234 in := new(UpdateGroupRequest) 1235 if err := dec(in); err != nil { 1236 return nil, err 1237 } 1238 if interceptor == nil { 1239 return srv.(GroupServiceServer).UpdateGroup(ctx, in) 1240 } 1241 info := &grpc.UnaryServerInfo{ 1242 Server: srv, 1243 FullMethod: "/google.monitoring.v3.GroupService/UpdateGroup", 1244 } 1245 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1246 return srv.(GroupServiceServer).UpdateGroup(ctx, req.(*UpdateGroupRequest)) 1247 } 1248 return interceptor(ctx, in, info, handler) 1249} 1250 1251func _GroupService_DeleteGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1252 in := new(DeleteGroupRequest) 1253 if err := dec(in); err != nil { 1254 return nil, err 1255 } 1256 if interceptor == nil { 1257 return srv.(GroupServiceServer).DeleteGroup(ctx, in) 1258 } 1259 info := &grpc.UnaryServerInfo{ 1260 Server: srv, 1261 FullMethod: "/google.monitoring.v3.GroupService/DeleteGroup", 1262 } 1263 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1264 return srv.(GroupServiceServer).DeleteGroup(ctx, req.(*DeleteGroupRequest)) 1265 } 1266 return interceptor(ctx, in, info, handler) 1267} 1268 1269func _GroupService_ListGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1270 in := new(ListGroupMembersRequest) 1271 if err := dec(in); err != nil { 1272 return nil, err 1273 } 1274 if interceptor == nil { 1275 return srv.(GroupServiceServer).ListGroupMembers(ctx, in) 1276 } 1277 info := &grpc.UnaryServerInfo{ 1278 Server: srv, 1279 FullMethod: "/google.monitoring.v3.GroupService/ListGroupMembers", 1280 } 1281 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1282 return srv.(GroupServiceServer).ListGroupMembers(ctx, req.(*ListGroupMembersRequest)) 1283 } 1284 return interceptor(ctx, in, info, handler) 1285} 1286 1287var _GroupService_serviceDesc = grpc.ServiceDesc{ 1288 ServiceName: "google.monitoring.v3.GroupService", 1289 HandlerType: (*GroupServiceServer)(nil), 1290 Methods: []grpc.MethodDesc{ 1291 { 1292 MethodName: "ListGroups", 1293 Handler: _GroupService_ListGroups_Handler, 1294 }, 1295 { 1296 MethodName: "GetGroup", 1297 Handler: _GroupService_GetGroup_Handler, 1298 }, 1299 { 1300 MethodName: "CreateGroup", 1301 Handler: _GroupService_CreateGroup_Handler, 1302 }, 1303 { 1304 MethodName: "UpdateGroup", 1305 Handler: _GroupService_UpdateGroup_Handler, 1306 }, 1307 { 1308 MethodName: "DeleteGroup", 1309 Handler: _GroupService_DeleteGroup_Handler, 1310 }, 1311 { 1312 MethodName: "ListGroupMembers", 1313 Handler: _GroupService_ListGroupMembers_Handler, 1314 }, 1315 }, 1316 Streams: []grpc.StreamDesc{}, 1317 Metadata: "google/monitoring/v3/group_service.proto", 1318} 1319