1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/monitoring/v3/service_service.proto 3 4package monitoring 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 empty "github.com/golang/protobuf/ptypes/empty" 13 _ "google.golang.org/genproto/googleapis/api/annotations" 14 _ "google.golang.org/genproto/googleapis/api/monitoredres" 15 field_mask "google.golang.org/genproto/protobuf/field_mask" 16 grpc "google.golang.org/grpc" 17 codes "google.golang.org/grpc/codes" 18 status "google.golang.org/grpc/status" 19) 20 21// Reference imports to suppress errors if they are not otherwise used. 22var _ = proto.Marshal 23var _ = fmt.Errorf 24var _ = math.Inf 25 26// This is a compile-time assertion to ensure that this generated file 27// is compatible with the proto package it is being compiled against. 28// A compilation error at this line likely means your copy of the 29// proto package needs to be updated. 30const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 31 32// The `CreateService` request. 33type CreateServiceRequest struct { 34 // Resource name of the parent workspace. 35 // Of the form `projects/{project_id}`. 36 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 37 // Optional. The Service id to use for this Service. If omitted, an id will be 38 // generated instead. Must match the pattern [a-z0-9\-]+ 39 ServiceId string `protobuf:"bytes,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` 40 // The `Service` to create. 41 Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` 42 XXX_NoUnkeyedLiteral struct{} `json:"-"` 43 XXX_unrecognized []byte `json:"-"` 44 XXX_sizecache int32 `json:"-"` 45} 46 47func (m *CreateServiceRequest) Reset() { *m = CreateServiceRequest{} } 48func (m *CreateServiceRequest) String() string { return proto.CompactTextString(m) } 49func (*CreateServiceRequest) ProtoMessage() {} 50func (*CreateServiceRequest) Descriptor() ([]byte, []int) { 51 return fileDescriptor_a3e551c54e1485b8, []int{0} 52} 53 54func (m *CreateServiceRequest) XXX_Unmarshal(b []byte) error { 55 return xxx_messageInfo_CreateServiceRequest.Unmarshal(m, b) 56} 57func (m *CreateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 58 return xxx_messageInfo_CreateServiceRequest.Marshal(b, m, deterministic) 59} 60func (m *CreateServiceRequest) XXX_Merge(src proto.Message) { 61 xxx_messageInfo_CreateServiceRequest.Merge(m, src) 62} 63func (m *CreateServiceRequest) XXX_Size() int { 64 return xxx_messageInfo_CreateServiceRequest.Size(m) 65} 66func (m *CreateServiceRequest) XXX_DiscardUnknown() { 67 xxx_messageInfo_CreateServiceRequest.DiscardUnknown(m) 68} 69 70var xxx_messageInfo_CreateServiceRequest proto.InternalMessageInfo 71 72func (m *CreateServiceRequest) GetParent() string { 73 if m != nil { 74 return m.Parent 75 } 76 return "" 77} 78 79func (m *CreateServiceRequest) GetServiceId() string { 80 if m != nil { 81 return m.ServiceId 82 } 83 return "" 84} 85 86func (m *CreateServiceRequest) GetService() *Service { 87 if m != nil { 88 return m.Service 89 } 90 return nil 91} 92 93// The `GetService` request. 94type GetServiceRequest struct { 95 // Resource name of the `Service`. 96 // Of the form `projects/{project_id}/services/{service_id}`. 97 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 98 XXX_NoUnkeyedLiteral struct{} `json:"-"` 99 XXX_unrecognized []byte `json:"-"` 100 XXX_sizecache int32 `json:"-"` 101} 102 103func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } 104func (m *GetServiceRequest) String() string { return proto.CompactTextString(m) } 105func (*GetServiceRequest) ProtoMessage() {} 106func (*GetServiceRequest) Descriptor() ([]byte, []int) { 107 return fileDescriptor_a3e551c54e1485b8, []int{1} 108} 109 110func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { 111 return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b) 112} 113func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 114 return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic) 115} 116func (m *GetServiceRequest) XXX_Merge(src proto.Message) { 117 xxx_messageInfo_GetServiceRequest.Merge(m, src) 118} 119func (m *GetServiceRequest) XXX_Size() int { 120 return xxx_messageInfo_GetServiceRequest.Size(m) 121} 122func (m *GetServiceRequest) XXX_DiscardUnknown() { 123 xxx_messageInfo_GetServiceRequest.DiscardUnknown(m) 124} 125 126var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo 127 128func (m *GetServiceRequest) GetName() string { 129 if m != nil { 130 return m.Name 131 } 132 return "" 133} 134 135// The `ListServices` request. 136type ListServicesRequest struct { 137 // Resource name of the parent `Workspace`. 138 // Of the form `projects/{project_id}`. 139 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 140 // A filter specifying what `Service`s to return. The filter currently 141 // supports the following fields: 142 // 143 // - `identifier_case` 144 // - `app_engine.module_id` 145 // - `cloud_endpoints.service` 146 // - `cluster_istio.location` 147 // - `cluster_istio.cluster_name` 148 // - `cluster_istio.service_namespace` 149 // - `cluster_istio.service_name` 150 // 151 // `identifier_case` refers to which option in the identifier oneof is 152 // populated. For example, the filter `identifier_case = "CUSTOM"` would match 153 // all services with a value for the `custom` field. Valid options are 154 // "CUSTOM", "APP_ENGINE", "CLOUD_ENDPOINTS", and "CLUSTER_ISTIO". 155 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 156 // A non-negative number that is the maximum number of results to return. 157 // When 0, use default page size. 158 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 159 // If this field is not empty then it must contain the `nextPageToken` value 160 // returned by a previous call to this method. Using this field causes the 161 // method to return additional results from the previous method call. 162 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 163 XXX_NoUnkeyedLiteral struct{} `json:"-"` 164 XXX_unrecognized []byte `json:"-"` 165 XXX_sizecache int32 `json:"-"` 166} 167 168func (m *ListServicesRequest) Reset() { *m = ListServicesRequest{} } 169func (m *ListServicesRequest) String() string { return proto.CompactTextString(m) } 170func (*ListServicesRequest) ProtoMessage() {} 171func (*ListServicesRequest) Descriptor() ([]byte, []int) { 172 return fileDescriptor_a3e551c54e1485b8, []int{2} 173} 174 175func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error { 176 return xxx_messageInfo_ListServicesRequest.Unmarshal(m, b) 177} 178func (m *ListServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 179 return xxx_messageInfo_ListServicesRequest.Marshal(b, m, deterministic) 180} 181func (m *ListServicesRequest) XXX_Merge(src proto.Message) { 182 xxx_messageInfo_ListServicesRequest.Merge(m, src) 183} 184func (m *ListServicesRequest) XXX_Size() int { 185 return xxx_messageInfo_ListServicesRequest.Size(m) 186} 187func (m *ListServicesRequest) XXX_DiscardUnknown() { 188 xxx_messageInfo_ListServicesRequest.DiscardUnknown(m) 189} 190 191var xxx_messageInfo_ListServicesRequest proto.InternalMessageInfo 192 193func (m *ListServicesRequest) GetParent() string { 194 if m != nil { 195 return m.Parent 196 } 197 return "" 198} 199 200func (m *ListServicesRequest) GetFilter() string { 201 if m != nil { 202 return m.Filter 203 } 204 return "" 205} 206 207func (m *ListServicesRequest) GetPageSize() int32 { 208 if m != nil { 209 return m.PageSize 210 } 211 return 0 212} 213 214func (m *ListServicesRequest) GetPageToken() string { 215 if m != nil { 216 return m.PageToken 217 } 218 return "" 219} 220 221// The `ListServices` response. 222type ListServicesResponse struct { 223 // The `Service`s matching the specified filter. 224 Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` 225 // If there are more results than have been returned, then this field is set 226 // to a non-empty value. To see the additional results, 227 // use that value as `pageToken` in the next call to this method. 228 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 229 XXX_NoUnkeyedLiteral struct{} `json:"-"` 230 XXX_unrecognized []byte `json:"-"` 231 XXX_sizecache int32 `json:"-"` 232} 233 234func (m *ListServicesResponse) Reset() { *m = ListServicesResponse{} } 235func (m *ListServicesResponse) String() string { return proto.CompactTextString(m) } 236func (*ListServicesResponse) ProtoMessage() {} 237func (*ListServicesResponse) Descriptor() ([]byte, []int) { 238 return fileDescriptor_a3e551c54e1485b8, []int{3} 239} 240 241func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error { 242 return xxx_messageInfo_ListServicesResponse.Unmarshal(m, b) 243} 244func (m *ListServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 245 return xxx_messageInfo_ListServicesResponse.Marshal(b, m, deterministic) 246} 247func (m *ListServicesResponse) XXX_Merge(src proto.Message) { 248 xxx_messageInfo_ListServicesResponse.Merge(m, src) 249} 250func (m *ListServicesResponse) XXX_Size() int { 251 return xxx_messageInfo_ListServicesResponse.Size(m) 252} 253func (m *ListServicesResponse) XXX_DiscardUnknown() { 254 xxx_messageInfo_ListServicesResponse.DiscardUnknown(m) 255} 256 257var xxx_messageInfo_ListServicesResponse proto.InternalMessageInfo 258 259func (m *ListServicesResponse) GetServices() []*Service { 260 if m != nil { 261 return m.Services 262 } 263 return nil 264} 265 266func (m *ListServicesResponse) GetNextPageToken() string { 267 if m != nil { 268 return m.NextPageToken 269 } 270 return "" 271} 272 273// The `UpdateService` request. 274type UpdateServiceRequest struct { 275 // The `Service` to draw updates from. 276 // The given `name` specifies the resource to update. 277 Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` 278 // A set of field paths defining which fields to use for the update. 279 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 280 XXX_NoUnkeyedLiteral struct{} `json:"-"` 281 XXX_unrecognized []byte `json:"-"` 282 XXX_sizecache int32 `json:"-"` 283} 284 285func (m *UpdateServiceRequest) Reset() { *m = UpdateServiceRequest{} } 286func (m *UpdateServiceRequest) String() string { return proto.CompactTextString(m) } 287func (*UpdateServiceRequest) ProtoMessage() {} 288func (*UpdateServiceRequest) Descriptor() ([]byte, []int) { 289 return fileDescriptor_a3e551c54e1485b8, []int{4} 290} 291 292func (m *UpdateServiceRequest) XXX_Unmarshal(b []byte) error { 293 return xxx_messageInfo_UpdateServiceRequest.Unmarshal(m, b) 294} 295func (m *UpdateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 296 return xxx_messageInfo_UpdateServiceRequest.Marshal(b, m, deterministic) 297} 298func (m *UpdateServiceRequest) XXX_Merge(src proto.Message) { 299 xxx_messageInfo_UpdateServiceRequest.Merge(m, src) 300} 301func (m *UpdateServiceRequest) XXX_Size() int { 302 return xxx_messageInfo_UpdateServiceRequest.Size(m) 303} 304func (m *UpdateServiceRequest) XXX_DiscardUnknown() { 305 xxx_messageInfo_UpdateServiceRequest.DiscardUnknown(m) 306} 307 308var xxx_messageInfo_UpdateServiceRequest proto.InternalMessageInfo 309 310func (m *UpdateServiceRequest) GetService() *Service { 311 if m != nil { 312 return m.Service 313 } 314 return nil 315} 316 317func (m *UpdateServiceRequest) GetUpdateMask() *field_mask.FieldMask { 318 if m != nil { 319 return m.UpdateMask 320 } 321 return nil 322} 323 324// The `DeleteService` request. 325type DeleteServiceRequest struct { 326 // Resource name of the `Service` to delete. 327 // Of the form `projects/{project_id}/service/{service_id}`. 328 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 329 XXX_NoUnkeyedLiteral struct{} `json:"-"` 330 XXX_unrecognized []byte `json:"-"` 331 XXX_sizecache int32 `json:"-"` 332} 333 334func (m *DeleteServiceRequest) Reset() { *m = DeleteServiceRequest{} } 335func (m *DeleteServiceRequest) String() string { return proto.CompactTextString(m) } 336func (*DeleteServiceRequest) ProtoMessage() {} 337func (*DeleteServiceRequest) Descriptor() ([]byte, []int) { 338 return fileDescriptor_a3e551c54e1485b8, []int{5} 339} 340 341func (m *DeleteServiceRequest) XXX_Unmarshal(b []byte) error { 342 return xxx_messageInfo_DeleteServiceRequest.Unmarshal(m, b) 343} 344func (m *DeleteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 345 return xxx_messageInfo_DeleteServiceRequest.Marshal(b, m, deterministic) 346} 347func (m *DeleteServiceRequest) XXX_Merge(src proto.Message) { 348 xxx_messageInfo_DeleteServiceRequest.Merge(m, src) 349} 350func (m *DeleteServiceRequest) XXX_Size() int { 351 return xxx_messageInfo_DeleteServiceRequest.Size(m) 352} 353func (m *DeleteServiceRequest) XXX_DiscardUnknown() { 354 xxx_messageInfo_DeleteServiceRequest.DiscardUnknown(m) 355} 356 357var xxx_messageInfo_DeleteServiceRequest proto.InternalMessageInfo 358 359func (m *DeleteServiceRequest) GetName() string { 360 if m != nil { 361 return m.Name 362 } 363 return "" 364} 365 366// The `CreateServiceLevelObjective` request. 367type CreateServiceLevelObjectiveRequest struct { 368 // Resource name of the parent `Service`. 369 // Of the form `projects/{project_id}/services/{service_id}`. 370 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 371 // Optional. The ServiceLevelObjective id to use for this 372 // ServiceLevelObjective. If omitted, an id will be generated instead. Must 373 // match the pattern [a-z0-9\-]+ 374 ServiceLevelObjectiveId string `protobuf:"bytes,3,opt,name=service_level_objective_id,json=serviceLevelObjectiveId,proto3" json:"service_level_objective_id,omitempty"` 375 // The `ServiceLevelObjective` to create. 376 // The provided `name` will be respected if no `ServiceLevelObjective` exists 377 // with this name. 378 ServiceLevelObjective *ServiceLevelObjective `protobuf:"bytes,2,opt,name=service_level_objective,json=serviceLevelObjective,proto3" json:"service_level_objective,omitempty"` 379 XXX_NoUnkeyedLiteral struct{} `json:"-"` 380 XXX_unrecognized []byte `json:"-"` 381 XXX_sizecache int32 `json:"-"` 382} 383 384func (m *CreateServiceLevelObjectiveRequest) Reset() { *m = CreateServiceLevelObjectiveRequest{} } 385func (m *CreateServiceLevelObjectiveRequest) String() string { return proto.CompactTextString(m) } 386func (*CreateServiceLevelObjectiveRequest) ProtoMessage() {} 387func (*CreateServiceLevelObjectiveRequest) Descriptor() ([]byte, []int) { 388 return fileDescriptor_a3e551c54e1485b8, []int{6} 389} 390 391func (m *CreateServiceLevelObjectiveRequest) XXX_Unmarshal(b []byte) error { 392 return xxx_messageInfo_CreateServiceLevelObjectiveRequest.Unmarshal(m, b) 393} 394func (m *CreateServiceLevelObjectiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 395 return xxx_messageInfo_CreateServiceLevelObjectiveRequest.Marshal(b, m, deterministic) 396} 397func (m *CreateServiceLevelObjectiveRequest) XXX_Merge(src proto.Message) { 398 xxx_messageInfo_CreateServiceLevelObjectiveRequest.Merge(m, src) 399} 400func (m *CreateServiceLevelObjectiveRequest) XXX_Size() int { 401 return xxx_messageInfo_CreateServiceLevelObjectiveRequest.Size(m) 402} 403func (m *CreateServiceLevelObjectiveRequest) XXX_DiscardUnknown() { 404 xxx_messageInfo_CreateServiceLevelObjectiveRequest.DiscardUnknown(m) 405} 406 407var xxx_messageInfo_CreateServiceLevelObjectiveRequest proto.InternalMessageInfo 408 409func (m *CreateServiceLevelObjectiveRequest) GetParent() string { 410 if m != nil { 411 return m.Parent 412 } 413 return "" 414} 415 416func (m *CreateServiceLevelObjectiveRequest) GetServiceLevelObjectiveId() string { 417 if m != nil { 418 return m.ServiceLevelObjectiveId 419 } 420 return "" 421} 422 423func (m *CreateServiceLevelObjectiveRequest) GetServiceLevelObjective() *ServiceLevelObjective { 424 if m != nil { 425 return m.ServiceLevelObjective 426 } 427 return nil 428} 429 430// The `GetServiceLevelObjective` request. 431type GetServiceLevelObjectiveRequest struct { 432 // Resource name of the `ServiceLevelObjective` to get. 433 // Of the form 434 // `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`. 435 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 436 // View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the 437 // `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the 438 // `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the 439 // `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed. 440 View ServiceLevelObjective_View `protobuf:"varint,2,opt,name=view,proto3,enum=google.monitoring.v3.ServiceLevelObjective_View" json:"view,omitempty"` 441 XXX_NoUnkeyedLiteral struct{} `json:"-"` 442 XXX_unrecognized []byte `json:"-"` 443 XXX_sizecache int32 `json:"-"` 444} 445 446func (m *GetServiceLevelObjectiveRequest) Reset() { *m = GetServiceLevelObjectiveRequest{} } 447func (m *GetServiceLevelObjectiveRequest) String() string { return proto.CompactTextString(m) } 448func (*GetServiceLevelObjectiveRequest) ProtoMessage() {} 449func (*GetServiceLevelObjectiveRequest) Descriptor() ([]byte, []int) { 450 return fileDescriptor_a3e551c54e1485b8, []int{7} 451} 452 453func (m *GetServiceLevelObjectiveRequest) XXX_Unmarshal(b []byte) error { 454 return xxx_messageInfo_GetServiceLevelObjectiveRequest.Unmarshal(m, b) 455} 456func (m *GetServiceLevelObjectiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 457 return xxx_messageInfo_GetServiceLevelObjectiveRequest.Marshal(b, m, deterministic) 458} 459func (m *GetServiceLevelObjectiveRequest) XXX_Merge(src proto.Message) { 460 xxx_messageInfo_GetServiceLevelObjectiveRequest.Merge(m, src) 461} 462func (m *GetServiceLevelObjectiveRequest) XXX_Size() int { 463 return xxx_messageInfo_GetServiceLevelObjectiveRequest.Size(m) 464} 465func (m *GetServiceLevelObjectiveRequest) XXX_DiscardUnknown() { 466 xxx_messageInfo_GetServiceLevelObjectiveRequest.DiscardUnknown(m) 467} 468 469var xxx_messageInfo_GetServiceLevelObjectiveRequest proto.InternalMessageInfo 470 471func (m *GetServiceLevelObjectiveRequest) GetName() string { 472 if m != nil { 473 return m.Name 474 } 475 return "" 476} 477 478func (m *GetServiceLevelObjectiveRequest) GetView() ServiceLevelObjective_View { 479 if m != nil { 480 return m.View 481 } 482 return ServiceLevelObjective_VIEW_UNSPECIFIED 483} 484 485// The `ListServiceLevelObjectives` request. 486type ListServiceLevelObjectivesRequest struct { 487 // Resource name of the parent `Service`. 488 // Of the form `projects/{project_id}/services/{service_id}`. 489 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 490 // A filter specifying what `ServiceLevelObjective`s to return. 491 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 492 // A non-negative number that is the maximum number of results to return. 493 // When 0, use default page size. 494 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 495 // If this field is not empty then it must contain the `nextPageToken` value 496 // returned by a previous call to this method. Using this field causes the 497 // method to return additional results from the previous method call. 498 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 499 // View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each 500 // `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the 501 // `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the 502 // `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed. 503 View ServiceLevelObjective_View `protobuf:"varint,5,opt,name=view,proto3,enum=google.monitoring.v3.ServiceLevelObjective_View" json:"view,omitempty"` 504 XXX_NoUnkeyedLiteral struct{} `json:"-"` 505 XXX_unrecognized []byte `json:"-"` 506 XXX_sizecache int32 `json:"-"` 507} 508 509func (m *ListServiceLevelObjectivesRequest) Reset() { *m = ListServiceLevelObjectivesRequest{} } 510func (m *ListServiceLevelObjectivesRequest) String() string { return proto.CompactTextString(m) } 511func (*ListServiceLevelObjectivesRequest) ProtoMessage() {} 512func (*ListServiceLevelObjectivesRequest) Descriptor() ([]byte, []int) { 513 return fileDescriptor_a3e551c54e1485b8, []int{8} 514} 515 516func (m *ListServiceLevelObjectivesRequest) XXX_Unmarshal(b []byte) error { 517 return xxx_messageInfo_ListServiceLevelObjectivesRequest.Unmarshal(m, b) 518} 519func (m *ListServiceLevelObjectivesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 520 return xxx_messageInfo_ListServiceLevelObjectivesRequest.Marshal(b, m, deterministic) 521} 522func (m *ListServiceLevelObjectivesRequest) XXX_Merge(src proto.Message) { 523 xxx_messageInfo_ListServiceLevelObjectivesRequest.Merge(m, src) 524} 525func (m *ListServiceLevelObjectivesRequest) XXX_Size() int { 526 return xxx_messageInfo_ListServiceLevelObjectivesRequest.Size(m) 527} 528func (m *ListServiceLevelObjectivesRequest) XXX_DiscardUnknown() { 529 xxx_messageInfo_ListServiceLevelObjectivesRequest.DiscardUnknown(m) 530} 531 532var xxx_messageInfo_ListServiceLevelObjectivesRequest proto.InternalMessageInfo 533 534func (m *ListServiceLevelObjectivesRequest) GetParent() string { 535 if m != nil { 536 return m.Parent 537 } 538 return "" 539} 540 541func (m *ListServiceLevelObjectivesRequest) GetFilter() string { 542 if m != nil { 543 return m.Filter 544 } 545 return "" 546} 547 548func (m *ListServiceLevelObjectivesRequest) GetPageSize() int32 { 549 if m != nil { 550 return m.PageSize 551 } 552 return 0 553} 554 555func (m *ListServiceLevelObjectivesRequest) GetPageToken() string { 556 if m != nil { 557 return m.PageToken 558 } 559 return "" 560} 561 562func (m *ListServiceLevelObjectivesRequest) GetView() ServiceLevelObjective_View { 563 if m != nil { 564 return m.View 565 } 566 return ServiceLevelObjective_VIEW_UNSPECIFIED 567} 568 569// The `ListServiceLevelObjectives` response. 570type ListServiceLevelObjectivesResponse struct { 571 // The `ServiceLevelObjective`s matching the specified filter. 572 ServiceLevelObjectives []*ServiceLevelObjective `protobuf:"bytes,1,rep,name=service_level_objectives,json=serviceLevelObjectives,proto3" json:"service_level_objectives,omitempty"` 573 // If there are more results than have been returned, then this field is set 574 // to a non-empty value. To see the additional results, 575 // use that value as `pageToken` in the next call to this method. 576 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 577 XXX_NoUnkeyedLiteral struct{} `json:"-"` 578 XXX_unrecognized []byte `json:"-"` 579 XXX_sizecache int32 `json:"-"` 580} 581 582func (m *ListServiceLevelObjectivesResponse) Reset() { *m = ListServiceLevelObjectivesResponse{} } 583func (m *ListServiceLevelObjectivesResponse) String() string { return proto.CompactTextString(m) } 584func (*ListServiceLevelObjectivesResponse) ProtoMessage() {} 585func (*ListServiceLevelObjectivesResponse) Descriptor() ([]byte, []int) { 586 return fileDescriptor_a3e551c54e1485b8, []int{9} 587} 588 589func (m *ListServiceLevelObjectivesResponse) XXX_Unmarshal(b []byte) error { 590 return xxx_messageInfo_ListServiceLevelObjectivesResponse.Unmarshal(m, b) 591} 592func (m *ListServiceLevelObjectivesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 593 return xxx_messageInfo_ListServiceLevelObjectivesResponse.Marshal(b, m, deterministic) 594} 595func (m *ListServiceLevelObjectivesResponse) XXX_Merge(src proto.Message) { 596 xxx_messageInfo_ListServiceLevelObjectivesResponse.Merge(m, src) 597} 598func (m *ListServiceLevelObjectivesResponse) XXX_Size() int { 599 return xxx_messageInfo_ListServiceLevelObjectivesResponse.Size(m) 600} 601func (m *ListServiceLevelObjectivesResponse) XXX_DiscardUnknown() { 602 xxx_messageInfo_ListServiceLevelObjectivesResponse.DiscardUnknown(m) 603} 604 605var xxx_messageInfo_ListServiceLevelObjectivesResponse proto.InternalMessageInfo 606 607func (m *ListServiceLevelObjectivesResponse) GetServiceLevelObjectives() []*ServiceLevelObjective { 608 if m != nil { 609 return m.ServiceLevelObjectives 610 } 611 return nil 612} 613 614func (m *ListServiceLevelObjectivesResponse) GetNextPageToken() string { 615 if m != nil { 616 return m.NextPageToken 617 } 618 return "" 619} 620 621// The `UpdateServiceLevelObjective` request. 622type UpdateServiceLevelObjectiveRequest struct { 623 // The `ServiceLevelObjective` to draw updates from. 624 // The given `name` specifies the resource to update. 625 ServiceLevelObjective *ServiceLevelObjective `protobuf:"bytes,1,opt,name=service_level_objective,json=serviceLevelObjective,proto3" json:"service_level_objective,omitempty"` 626 // A set of field paths defining which fields to use for the update. 627 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 628 XXX_NoUnkeyedLiteral struct{} `json:"-"` 629 XXX_unrecognized []byte `json:"-"` 630 XXX_sizecache int32 `json:"-"` 631} 632 633func (m *UpdateServiceLevelObjectiveRequest) Reset() { *m = UpdateServiceLevelObjectiveRequest{} } 634func (m *UpdateServiceLevelObjectiveRequest) String() string { return proto.CompactTextString(m) } 635func (*UpdateServiceLevelObjectiveRequest) ProtoMessage() {} 636func (*UpdateServiceLevelObjectiveRequest) Descriptor() ([]byte, []int) { 637 return fileDescriptor_a3e551c54e1485b8, []int{10} 638} 639 640func (m *UpdateServiceLevelObjectiveRequest) XXX_Unmarshal(b []byte) error { 641 return xxx_messageInfo_UpdateServiceLevelObjectiveRequest.Unmarshal(m, b) 642} 643func (m *UpdateServiceLevelObjectiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 644 return xxx_messageInfo_UpdateServiceLevelObjectiveRequest.Marshal(b, m, deterministic) 645} 646func (m *UpdateServiceLevelObjectiveRequest) XXX_Merge(src proto.Message) { 647 xxx_messageInfo_UpdateServiceLevelObjectiveRequest.Merge(m, src) 648} 649func (m *UpdateServiceLevelObjectiveRequest) XXX_Size() int { 650 return xxx_messageInfo_UpdateServiceLevelObjectiveRequest.Size(m) 651} 652func (m *UpdateServiceLevelObjectiveRequest) XXX_DiscardUnknown() { 653 xxx_messageInfo_UpdateServiceLevelObjectiveRequest.DiscardUnknown(m) 654} 655 656var xxx_messageInfo_UpdateServiceLevelObjectiveRequest proto.InternalMessageInfo 657 658func (m *UpdateServiceLevelObjectiveRequest) GetServiceLevelObjective() *ServiceLevelObjective { 659 if m != nil { 660 return m.ServiceLevelObjective 661 } 662 return nil 663} 664 665func (m *UpdateServiceLevelObjectiveRequest) GetUpdateMask() *field_mask.FieldMask { 666 if m != nil { 667 return m.UpdateMask 668 } 669 return nil 670} 671 672// The `DeleteServiceLevelObjective` request. 673type DeleteServiceLevelObjectiveRequest struct { 674 // Resource name of the `ServiceLevelObjective` to delete. 675 // Of the form 676 // `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`. 677 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 678 XXX_NoUnkeyedLiteral struct{} `json:"-"` 679 XXX_unrecognized []byte `json:"-"` 680 XXX_sizecache int32 `json:"-"` 681} 682 683func (m *DeleteServiceLevelObjectiveRequest) Reset() { *m = DeleteServiceLevelObjectiveRequest{} } 684func (m *DeleteServiceLevelObjectiveRequest) String() string { return proto.CompactTextString(m) } 685func (*DeleteServiceLevelObjectiveRequest) ProtoMessage() {} 686func (*DeleteServiceLevelObjectiveRequest) Descriptor() ([]byte, []int) { 687 return fileDescriptor_a3e551c54e1485b8, []int{11} 688} 689 690func (m *DeleteServiceLevelObjectiveRequest) XXX_Unmarshal(b []byte) error { 691 return xxx_messageInfo_DeleteServiceLevelObjectiveRequest.Unmarshal(m, b) 692} 693func (m *DeleteServiceLevelObjectiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 694 return xxx_messageInfo_DeleteServiceLevelObjectiveRequest.Marshal(b, m, deterministic) 695} 696func (m *DeleteServiceLevelObjectiveRequest) XXX_Merge(src proto.Message) { 697 xxx_messageInfo_DeleteServiceLevelObjectiveRequest.Merge(m, src) 698} 699func (m *DeleteServiceLevelObjectiveRequest) XXX_Size() int { 700 return xxx_messageInfo_DeleteServiceLevelObjectiveRequest.Size(m) 701} 702func (m *DeleteServiceLevelObjectiveRequest) XXX_DiscardUnknown() { 703 xxx_messageInfo_DeleteServiceLevelObjectiveRequest.DiscardUnknown(m) 704} 705 706var xxx_messageInfo_DeleteServiceLevelObjectiveRequest proto.InternalMessageInfo 707 708func (m *DeleteServiceLevelObjectiveRequest) GetName() string { 709 if m != nil { 710 return m.Name 711 } 712 return "" 713} 714 715func init() { 716 proto.RegisterType((*CreateServiceRequest)(nil), "google.monitoring.v3.CreateServiceRequest") 717 proto.RegisterType((*GetServiceRequest)(nil), "google.monitoring.v3.GetServiceRequest") 718 proto.RegisterType((*ListServicesRequest)(nil), "google.monitoring.v3.ListServicesRequest") 719 proto.RegisterType((*ListServicesResponse)(nil), "google.monitoring.v3.ListServicesResponse") 720 proto.RegisterType((*UpdateServiceRequest)(nil), "google.monitoring.v3.UpdateServiceRequest") 721 proto.RegisterType((*DeleteServiceRequest)(nil), "google.monitoring.v3.DeleteServiceRequest") 722 proto.RegisterType((*CreateServiceLevelObjectiveRequest)(nil), "google.monitoring.v3.CreateServiceLevelObjectiveRequest") 723 proto.RegisterType((*GetServiceLevelObjectiveRequest)(nil), "google.monitoring.v3.GetServiceLevelObjectiveRequest") 724 proto.RegisterType((*ListServiceLevelObjectivesRequest)(nil), "google.monitoring.v3.ListServiceLevelObjectivesRequest") 725 proto.RegisterType((*ListServiceLevelObjectivesResponse)(nil), "google.monitoring.v3.ListServiceLevelObjectivesResponse") 726 proto.RegisterType((*UpdateServiceLevelObjectiveRequest)(nil), "google.monitoring.v3.UpdateServiceLevelObjectiveRequest") 727 proto.RegisterType((*DeleteServiceLevelObjectiveRequest)(nil), "google.monitoring.v3.DeleteServiceLevelObjectiveRequest") 728} 729 730func init() { 731 proto.RegisterFile("google/monitoring/v3/service_service.proto", fileDescriptor_a3e551c54e1485b8) 732} 733 734var fileDescriptor_a3e551c54e1485b8 = []byte{ 735 // 1030 bytes of a gzipped FileDescriptorProto 736 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4f, 0x6f, 0xdc, 0x44, 737 0x14, 0xd7, 0xa4, 0x69, 0x68, 0x5e, 0x49, 0x11, 0xc3, 0x92, 0xb8, 0x5e, 0x22, 0x12, 0x83, 0x68, 738 0x31, 0xc5, 0x46, 0xbb, 0xa0, 0x86, 0x44, 0x20, 0xf5, 0x0f, 0x54, 0x45, 0x8d, 0x88, 0x36, 0x90, 739 0x03, 0x8a, 0xb4, 0x72, 0x76, 0x27, 0x5b, 0x13, 0xaf, 0xc7, 0x78, 0x66, 0x77, 0x69, 0xab, 0x1e, 740 0xe0, 0x50, 0x81, 0x84, 0xb8, 0xf0, 0x29, 0x80, 0x23, 0xe2, 0xc2, 0x07, 0xe0, 0x50, 0x6e, 0x20, 741 0x0e, 0x5c, 0x38, 0xc1, 0x07, 0xe0, 0x1b, 0x20, 0x8f, 0xc7, 0x6b, 0x7b, 0x33, 0xb6, 0x63, 0x5a, 742 0x89, 0x53, 0xd6, 0xf3, 0xde, 0x9b, 0xf7, 0xfb, 0xbd, 0xf7, 0x7b, 0x7e, 0x0e, 0x98, 0x03, 0x4a, 743 0x07, 0x1e, 0xb1, 0x87, 0xd4, 0x77, 0x39, 0x0d, 0x5d, 0x7f, 0x60, 0x8f, 0xdb, 0x36, 0x23, 0xe1, 744 0xd8, 0xed, 0x91, 0xae, 0xfc, 0x6b, 0x05, 0x21, 0xe5, 0x14, 0x37, 0x62, 0x5f, 0x2b, 0xf5, 0xb5, 745 0xc6, 0x6d, 0xfd, 0x39, 0x79, 0x83, 0x13, 0xb8, 0xb6, 0xe3, 0xfb, 0x94, 0x3b, 0xdc, 0xa5, 0x3e, 746 0x8b, 0x63, 0xf4, 0x17, 0x32, 0x56, 0x19, 0x47, 0xfa, 0xdd, 0x90, 0x30, 0x3a, 0x0a, 0x93, 0x8b, 747 0x75, 0xa3, 0x0c, 0x84, 0xf4, 0x69, 0x4a, 0x1f, 0xf1, 0x74, 0x30, 0x3a, 0xb4, 0xc9, 0x30, 0xe0, 748 0x77, 0xa4, 0x71, 0x6d, 0xd6, 0x78, 0xe8, 0x12, 0xaf, 0xdf, 0x1d, 0x3a, 0xec, 0x48, 0x7a, 0xac, 749 0x64, 0x70, 0xf4, 0x3c, 0x97, 0xf8, 0x3c, 0x36, 0x18, 0x0f, 0x10, 0x34, 0xae, 0x85, 0xc4, 0xe1, 750 0x64, 0x37, 0xce, 0xd7, 0x21, 0x9f, 0x8c, 0x08, 0xe3, 0x78, 0x19, 0x16, 0x02, 0x27, 0x24, 0x3e, 751 0xd7, 0xd0, 0x1a, 0xba, 0xb8, 0xd8, 0x91, 0x4f, 0x78, 0x15, 0x20, 0x29, 0x8f, 0xdb, 0xd7, 0x4e, 752 0x09, 0xdb, 0xa2, 0x3c, 0xb9, 0xd9, 0xc7, 0x97, 0xe1, 0x09, 0xf9, 0xa0, 0xcd, 0xad, 0xa1, 0x8b, 753 0x67, 0x5b, 0xab, 0x96, 0xaa, 0x6c, 0x56, 0x92, 0x2d, 0xf1, 0x36, 0x2e, 0xc0, 0xd3, 0x37, 0x08, 754 0x9f, 0x01, 0x81, 0x61, 0xde, 0x77, 0x86, 0x44, 0x42, 0x10, 0xbf, 0x8d, 0xcf, 0x10, 0x3c, 0x73, 755 0xcb, 0x65, 0x89, 0x2b, 0xab, 0x02, 0xbc, 0x0c, 0x0b, 0x87, 0xae, 0xc7, 0x49, 0x28, 0x00, 0x2d, 756 0x76, 0xe4, 0x13, 0x6e, 0xc2, 0x62, 0xe0, 0x0c, 0x48, 0x97, 0xb9, 0x77, 0x89, 0xe0, 0x71, 0xba, 757 0x73, 0x26, 0x3a, 0xd8, 0x75, 0xef, 0x92, 0x88, 0xa5, 0x30, 0x72, 0x7a, 0x44, 0x7c, 0x6d, 0x3e, 758 0x66, 0x19, 0x9d, 0x7c, 0x10, 0x1d, 0x18, 0x77, 0xa0, 0x91, 0x87, 0xc0, 0x02, 0xea, 0x33, 0x82, 759 0xdf, 0x84, 0x33, 0x92, 0x0f, 0xd3, 0xd0, 0xda, 0xa9, 0x6a, 0xfa, 0x53, 0x77, 0xfc, 0x12, 0x3c, 760 0xe5, 0x93, 0x4f, 0x79, 0x37, 0x93, 0x36, 0xc6, 0xbb, 0x14, 0x1d, 0xef, 0x4c, 0x53, 0x7f, 0x85, 761 0xa0, 0xf1, 0x61, 0xd0, 0x3f, 0xde, 0xb0, 0x4c, 0xe5, 0x51, 0x9d, 0xca, 0xe3, 0x2d, 0x38, 0x3b, 762 0x12, 0x17, 0x0a, 0xc1, 0xc8, 0xb6, 0xe9, 0x49, 0x70, 0xa2, 0x29, 0xeb, 0xdd, 0x48, 0x53, 0xdb, 763 0x0e, 0x3b, 0xea, 0x40, 0xec, 0x1e, 0xfd, 0x36, 0x4c, 0x68, 0x5c, 0x27, 0x1e, 0x39, 0x86, 0x46, 764 0xd5, 0xb9, 0x3f, 0x11, 0x18, 0x39, 0xad, 0xdd, 0x22, 0x63, 0xe2, 0xbd, 0x7f, 0xf0, 0x31, 0xe9, 765 0x71, 0x77, 0x5c, 0xa9, 0xbc, 0x2d, 0xd0, 0x13, 0xe5, 0x79, 0x51, 0x60, 0x97, 0x26, 0x91, 0xa9, 766 0x12, 0x57, 0x98, 0xea, 0xe6, 0x9b, 0x7d, 0xdc, 0x83, 0x95, 0x82, 0x60, 0x49, 0xf8, 0x95, 0xd2, 767 0x6a, 0xcd, 0x20, 0x7d, 0x56, 0x99, 0xc6, 0xb8, 0x07, 0xcf, 0xa7, 0x1a, 0x56, 0x93, 0x53, 0xd4, 768 0x05, 0x5f, 0x87, 0xf9, 0xb1, 0x4b, 0x26, 0x02, 0xc8, 0xb9, 0xd6, 0x6b, 0x35, 0x80, 0x58, 0x7b, 769 0x2e, 0x99, 0x74, 0x44, 0xb4, 0xf1, 0x3b, 0x82, 0xf5, 0x8c, 0x28, 0xf3, 0x8e, 0xff, 0xc7, 0x94, 770 0x4c, 0x79, 0x9d, 0x7e, 0x24, 0x5e, 0x3f, 0x20, 0x30, 0xca, 0x78, 0xc9, 0xd1, 0x23, 0xa0, 0x15, 771 0x34, 0x38, 0x19, 0xc5, 0x5a, 0x1d, 0x5e, 0x56, 0x76, 0xf8, 0xe4, 0x63, 0xfa, 0x33, 0x02, 0x23, 772 0x37, 0xa6, 0x6a, 0x39, 0x94, 0xc8, 0x12, 0x3d, 0x2e, 0x59, 0x3e, 0xda, 0x80, 0x6f, 0x80, 0x91, 773 0x1b, 0xf0, 0x13, 0xcb, 0xba, 0xf5, 0xf7, 0x39, 0xd0, 0x64, 0xd0, 0xf6, 0x14, 0xbc, 0x3c, 0xc0, 774 0x0f, 0x10, 0x2c, 0xe5, 0xde, 0x05, 0xd8, 0x54, 0x33, 0x55, 0x2d, 0x27, 0xbd, 0xfc, 0xd5, 0x66, 775 0x98, 0x9f, 0xff, 0xf6, 0xd7, 0x37, 0x73, 0x2f, 0x1a, 0xe7, 0xa3, 0x3d, 0x7a, 0x2f, 0x56, 0xf8, 776 0x5b, 0xa6, 0x6d, 0xde, 0x4f, 0x96, 0x2a, 0xdb, 0x9c, 0xbe, 0xfd, 0x26, 0x00, 0xe9, 0xcc, 0xe2, 777 0x0b, 0xea, 0x8b, 0x8f, 0x6d, 0xa6, 0x2a, 0x04, 0xeb, 0x02, 0x41, 0x13, 0xc7, 0x08, 0xa2, 0x72, 778 0x44, 0xf9, 0xa7, 0xe9, 0x6d, 0xf3, 0x3e, 0xfe, 0x02, 0xc1, 0x93, 0xd9, 0x25, 0x82, 0x5f, 0x56, 779 0x5f, 0xa9, 0xd8, 0x75, 0xba, 0x79, 0x12, 0xd7, 0x78, 0x30, 0x66, 0xa0, 0xa8, 0x8a, 0x81, 0xbf, 780 0x46, 0xb0, 0x94, 0x13, 0x6b, 0x51, 0x33, 0x54, 0x8b, 0xa7, 0xaa, 0x14, 0x2d, 0x91, 0xff, 0x52, 781 0x6b, 0x5d, 0xe4, 0x4f, 0xbe, 0x6a, 0x54, 0x25, 0x49, 0x9b, 0x32, 0x86, 0xa5, 0x9c, 0xe8, 0x8a, 782 0xf0, 0xa8, 0x56, 0x8f, 0xbe, 0x7c, 0x4c, 0xd9, 0xef, 0x44, 0xdf, 0x4a, 0x49, 0x21, 0xcc, 0x92, 783 0x9e, 0xfc, 0x81, 0xa0, 0x59, 0xb2, 0xa1, 0xf0, 0xc6, 0x09, 0x34, 0xaa, 0x1c, 0x10, 0xbd, 0xce, 784 0x1c, 0x1b, 0xbb, 0x02, 0xe9, 0xb6, 0xd1, 0x9a, 0x69, 0x59, 0x16, 0xab, 0xad, 0x7e, 0x41, 0x6d, 785 0x16, 0xbd, 0x4f, 0xf0, 0x4f, 0x08, 0xb4, 0xa2, 0xed, 0x84, 0xdf, 0xa8, 0xd2, 0xfd, 0x63, 0x60, 786 0xb5, 0x29, 0x58, 0xbd, 0x8e, 0x5b, 0x45, 0xf5, 0x2f, 0xa0, 0x14, 0x35, 0xe6, 0x17, 0x04, 0x7a, 787 0xf1, 0x12, 0xc0, 0x97, 0x2b, 0xe7, 0x41, 0xbd, 0x0e, 0xf5, 0x8d, 0xfa, 0x81, 0x72, 0xac, 0xf2, 788 0x6c, 0x6a, 0xf5, 0x08, 0xff, 0x83, 0xa0, 0x59, 0xb2, 0x1c, 0x8a, 0x64, 0x56, 0xbd, 0x4f, 0xea, 789 0x35, 0xe4, 0x48, 0x50, 0x20, 0xad, 0xf7, 0xb2, 0x93, 0x39, 0xab, 0x1b, 0xab, 0x56, 0xa3, 0x8a, 790 0xe5, 0xf7, 0x3d, 0x82, 0x66, 0xc9, 0x22, 0x29, 0xe2, 0x5c, 0xbd, 0x7b, 0x0a, 0xe7, 0x5d, 0x76, 791 0xc8, 0xfc, 0x0f, 0x7a, 0xd3, 0xbf, 0x45, 0x0f, 0xaf, 0x9c, 0xcf, 0x20, 0x89, 0x33, 0x38, 0x81, 792 0xcb, 0xac, 0x1e, 0x1d, 0xfe, 0x7a, 0xe5, 0x4b, 0x74, 0x9b, 0xf3, 0x80, 0x6d, 0xda, 0xf6, 0x64, 793 0x32, 0x99, 0xb1, 0xda, 0xce, 0x88, 0xdf, 0xb6, 0x7b, 0x1e, 0x1d, 0xf5, 0x5f, 0x0d, 0x3c, 0x87, 794 0x1f, 0xd2, 0x70, 0x78, 0xa9, 0xca, 0x3d, 0xcd, 0x55, 0xc3, 0xd5, 0x0a, 0x89, 0xd3, 0xbf, 0xfa, 795 0x23, 0x02, 0xad, 0x47, 0x87, 0xca, 0xfa, 0x5d, 0x5d, 0x2d, 0xda, 0xc0, 0x3b, 0x51, 0xb1, 0x76, 796 0xd0, 0x47, 0x6f, 0xcb, 0xb0, 0x01, 0xf5, 0x1c, 0x7f, 0x60, 0xd1, 0x70, 0x60, 0x0f, 0x88, 0x2f, 797 0x4a, 0x69, 0xa7, 0xd9, 0xf3, 0xff, 0x9b, 0x6e, 0xa5, 0x4f, 0xdf, 0xcd, 0xe9, 0x37, 0xe2, 0x0b, 798 0xae, 0x45, 0x84, 0xad, 0x34, 0x8f, 0xb5, 0xd7, 0x7e, 0x98, 0x18, 0xf7, 0x85, 0x71, 0x3f, 0x35, 799 0xee, 0xef, 0xb5, 0x0f, 0x16, 0x44, 0x92, 0xf6, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe1, 0x22, 800 0x03, 0xef, 0x84, 0x0f, 0x00, 0x00, 801} 802 803// Reference imports to suppress errors if they are not otherwise used. 804var _ context.Context 805var _ grpc.ClientConn 806 807// This is a compile-time assertion to ensure that this generated file 808// is compatible with the grpc package it is being compiled against. 809const _ = grpc.SupportPackageIsVersion4 810 811// ServiceMonitoringServiceClient is the client API for ServiceMonitoringService service. 812// 813// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 814type ServiceMonitoringServiceClient interface { 815 // Create a `Service`. 816 CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*Service, error) 817 // Get the named `Service`. 818 GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) 819 // List `Service`s for this workspace. 820 ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) 821 // Update this `Service`. 822 UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*Service, error) 823 // Soft delete this `Service`. 824 DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error) 825 // Create a `ServiceLevelObjective` for the given `Service`. 826 CreateServiceLevelObjective(ctx context.Context, in *CreateServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*ServiceLevelObjective, error) 827 // Get a `ServiceLevelObjective` by name. 828 GetServiceLevelObjective(ctx context.Context, in *GetServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*ServiceLevelObjective, error) 829 // List the `ServiceLevelObjective`s for the given `Service`. 830 ListServiceLevelObjectives(ctx context.Context, in *ListServiceLevelObjectivesRequest, opts ...grpc.CallOption) (*ListServiceLevelObjectivesResponse, error) 831 // Update the given `ServiceLevelObjective`. 832 UpdateServiceLevelObjective(ctx context.Context, in *UpdateServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*ServiceLevelObjective, error) 833 // Delete the given `ServiceLevelObjective`. 834 DeleteServiceLevelObjective(ctx context.Context, in *DeleteServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*empty.Empty, error) 835} 836 837type serviceMonitoringServiceClient struct { 838 cc *grpc.ClientConn 839} 840 841func NewServiceMonitoringServiceClient(cc *grpc.ClientConn) ServiceMonitoringServiceClient { 842 return &serviceMonitoringServiceClient{cc} 843} 844 845func (c *serviceMonitoringServiceClient) CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*Service, error) { 846 out := new(Service) 847 err := c.cc.Invoke(ctx, "/google.monitoring.v3.ServiceMonitoringService/CreateService", in, out, opts...) 848 if err != nil { 849 return nil, err 850 } 851 return out, nil 852} 853 854func (c *serviceMonitoringServiceClient) GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) { 855 out := new(Service) 856 err := c.cc.Invoke(ctx, "/google.monitoring.v3.ServiceMonitoringService/GetService", in, out, opts...) 857 if err != nil { 858 return nil, err 859 } 860 return out, nil 861} 862 863func (c *serviceMonitoringServiceClient) ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) { 864 out := new(ListServicesResponse) 865 err := c.cc.Invoke(ctx, "/google.monitoring.v3.ServiceMonitoringService/ListServices", in, out, opts...) 866 if err != nil { 867 return nil, err 868 } 869 return out, nil 870} 871 872func (c *serviceMonitoringServiceClient) UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*Service, error) { 873 out := new(Service) 874 err := c.cc.Invoke(ctx, "/google.monitoring.v3.ServiceMonitoringService/UpdateService", in, out, opts...) 875 if err != nil { 876 return nil, err 877 } 878 return out, nil 879} 880 881func (c *serviceMonitoringServiceClient) DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 882 out := new(empty.Empty) 883 err := c.cc.Invoke(ctx, "/google.monitoring.v3.ServiceMonitoringService/DeleteService", in, out, opts...) 884 if err != nil { 885 return nil, err 886 } 887 return out, nil 888} 889 890func (c *serviceMonitoringServiceClient) CreateServiceLevelObjective(ctx context.Context, in *CreateServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*ServiceLevelObjective, error) { 891 out := new(ServiceLevelObjective) 892 err := c.cc.Invoke(ctx, "/google.monitoring.v3.ServiceMonitoringService/CreateServiceLevelObjective", in, out, opts...) 893 if err != nil { 894 return nil, err 895 } 896 return out, nil 897} 898 899func (c *serviceMonitoringServiceClient) GetServiceLevelObjective(ctx context.Context, in *GetServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*ServiceLevelObjective, error) { 900 out := new(ServiceLevelObjective) 901 err := c.cc.Invoke(ctx, "/google.monitoring.v3.ServiceMonitoringService/GetServiceLevelObjective", in, out, opts...) 902 if err != nil { 903 return nil, err 904 } 905 return out, nil 906} 907 908func (c *serviceMonitoringServiceClient) ListServiceLevelObjectives(ctx context.Context, in *ListServiceLevelObjectivesRequest, opts ...grpc.CallOption) (*ListServiceLevelObjectivesResponse, error) { 909 out := new(ListServiceLevelObjectivesResponse) 910 err := c.cc.Invoke(ctx, "/google.monitoring.v3.ServiceMonitoringService/ListServiceLevelObjectives", in, out, opts...) 911 if err != nil { 912 return nil, err 913 } 914 return out, nil 915} 916 917func (c *serviceMonitoringServiceClient) UpdateServiceLevelObjective(ctx context.Context, in *UpdateServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*ServiceLevelObjective, error) { 918 out := new(ServiceLevelObjective) 919 err := c.cc.Invoke(ctx, "/google.monitoring.v3.ServiceMonitoringService/UpdateServiceLevelObjective", in, out, opts...) 920 if err != nil { 921 return nil, err 922 } 923 return out, nil 924} 925 926func (c *serviceMonitoringServiceClient) DeleteServiceLevelObjective(ctx context.Context, in *DeleteServiceLevelObjectiveRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 927 out := new(empty.Empty) 928 err := c.cc.Invoke(ctx, "/google.monitoring.v3.ServiceMonitoringService/DeleteServiceLevelObjective", in, out, opts...) 929 if err != nil { 930 return nil, err 931 } 932 return out, nil 933} 934 935// ServiceMonitoringServiceServer is the server API for ServiceMonitoringService service. 936type ServiceMonitoringServiceServer interface { 937 // Create a `Service`. 938 CreateService(context.Context, *CreateServiceRequest) (*Service, error) 939 // Get the named `Service`. 940 GetService(context.Context, *GetServiceRequest) (*Service, error) 941 // List `Service`s for this workspace. 942 ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error) 943 // Update this `Service`. 944 UpdateService(context.Context, *UpdateServiceRequest) (*Service, error) 945 // Soft delete this `Service`. 946 DeleteService(context.Context, *DeleteServiceRequest) (*empty.Empty, error) 947 // Create a `ServiceLevelObjective` for the given `Service`. 948 CreateServiceLevelObjective(context.Context, *CreateServiceLevelObjectiveRequest) (*ServiceLevelObjective, error) 949 // Get a `ServiceLevelObjective` by name. 950 GetServiceLevelObjective(context.Context, *GetServiceLevelObjectiveRequest) (*ServiceLevelObjective, error) 951 // List the `ServiceLevelObjective`s for the given `Service`. 952 ListServiceLevelObjectives(context.Context, *ListServiceLevelObjectivesRequest) (*ListServiceLevelObjectivesResponse, error) 953 // Update the given `ServiceLevelObjective`. 954 UpdateServiceLevelObjective(context.Context, *UpdateServiceLevelObjectiveRequest) (*ServiceLevelObjective, error) 955 // Delete the given `ServiceLevelObjective`. 956 DeleteServiceLevelObjective(context.Context, *DeleteServiceLevelObjectiveRequest) (*empty.Empty, error) 957} 958 959// UnimplementedServiceMonitoringServiceServer can be embedded to have forward compatible implementations. 960type UnimplementedServiceMonitoringServiceServer struct { 961} 962 963func (*UnimplementedServiceMonitoringServiceServer) CreateService(ctx context.Context, req *CreateServiceRequest) (*Service, error) { 964 return nil, status.Errorf(codes.Unimplemented, "method CreateService not implemented") 965} 966func (*UnimplementedServiceMonitoringServiceServer) GetService(ctx context.Context, req *GetServiceRequest) (*Service, error) { 967 return nil, status.Errorf(codes.Unimplemented, "method GetService not implemented") 968} 969func (*UnimplementedServiceMonitoringServiceServer) ListServices(ctx context.Context, req *ListServicesRequest) (*ListServicesResponse, error) { 970 return nil, status.Errorf(codes.Unimplemented, "method ListServices not implemented") 971} 972func (*UnimplementedServiceMonitoringServiceServer) UpdateService(ctx context.Context, req *UpdateServiceRequest) (*Service, error) { 973 return nil, status.Errorf(codes.Unimplemented, "method UpdateService not implemented") 974} 975func (*UnimplementedServiceMonitoringServiceServer) DeleteService(ctx context.Context, req *DeleteServiceRequest) (*empty.Empty, error) { 976 return nil, status.Errorf(codes.Unimplemented, "method DeleteService not implemented") 977} 978func (*UnimplementedServiceMonitoringServiceServer) CreateServiceLevelObjective(ctx context.Context, req *CreateServiceLevelObjectiveRequest) (*ServiceLevelObjective, error) { 979 return nil, status.Errorf(codes.Unimplemented, "method CreateServiceLevelObjective not implemented") 980} 981func (*UnimplementedServiceMonitoringServiceServer) GetServiceLevelObjective(ctx context.Context, req *GetServiceLevelObjectiveRequest) (*ServiceLevelObjective, error) { 982 return nil, status.Errorf(codes.Unimplemented, "method GetServiceLevelObjective not implemented") 983} 984func (*UnimplementedServiceMonitoringServiceServer) ListServiceLevelObjectives(ctx context.Context, req *ListServiceLevelObjectivesRequest) (*ListServiceLevelObjectivesResponse, error) { 985 return nil, status.Errorf(codes.Unimplemented, "method ListServiceLevelObjectives not implemented") 986} 987func (*UnimplementedServiceMonitoringServiceServer) UpdateServiceLevelObjective(ctx context.Context, req *UpdateServiceLevelObjectiveRequest) (*ServiceLevelObjective, error) { 988 return nil, status.Errorf(codes.Unimplemented, "method UpdateServiceLevelObjective not implemented") 989} 990func (*UnimplementedServiceMonitoringServiceServer) DeleteServiceLevelObjective(ctx context.Context, req *DeleteServiceLevelObjectiveRequest) (*empty.Empty, error) { 991 return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceLevelObjective not implemented") 992} 993 994func RegisterServiceMonitoringServiceServer(s *grpc.Server, srv ServiceMonitoringServiceServer) { 995 s.RegisterService(&_ServiceMonitoringService_serviceDesc, srv) 996} 997 998func _ServiceMonitoringService_CreateService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 999 in := new(CreateServiceRequest) 1000 if err := dec(in); err != nil { 1001 return nil, err 1002 } 1003 if interceptor == nil { 1004 return srv.(ServiceMonitoringServiceServer).CreateService(ctx, in) 1005 } 1006 info := &grpc.UnaryServerInfo{ 1007 Server: srv, 1008 FullMethod: "/google.monitoring.v3.ServiceMonitoringService/CreateService", 1009 } 1010 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1011 return srv.(ServiceMonitoringServiceServer).CreateService(ctx, req.(*CreateServiceRequest)) 1012 } 1013 return interceptor(ctx, in, info, handler) 1014} 1015 1016func _ServiceMonitoringService_GetService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1017 in := new(GetServiceRequest) 1018 if err := dec(in); err != nil { 1019 return nil, err 1020 } 1021 if interceptor == nil { 1022 return srv.(ServiceMonitoringServiceServer).GetService(ctx, in) 1023 } 1024 info := &grpc.UnaryServerInfo{ 1025 Server: srv, 1026 FullMethod: "/google.monitoring.v3.ServiceMonitoringService/GetService", 1027 } 1028 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1029 return srv.(ServiceMonitoringServiceServer).GetService(ctx, req.(*GetServiceRequest)) 1030 } 1031 return interceptor(ctx, in, info, handler) 1032} 1033 1034func _ServiceMonitoringService_ListServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1035 in := new(ListServicesRequest) 1036 if err := dec(in); err != nil { 1037 return nil, err 1038 } 1039 if interceptor == nil { 1040 return srv.(ServiceMonitoringServiceServer).ListServices(ctx, in) 1041 } 1042 info := &grpc.UnaryServerInfo{ 1043 Server: srv, 1044 FullMethod: "/google.monitoring.v3.ServiceMonitoringService/ListServices", 1045 } 1046 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1047 return srv.(ServiceMonitoringServiceServer).ListServices(ctx, req.(*ListServicesRequest)) 1048 } 1049 return interceptor(ctx, in, info, handler) 1050} 1051 1052func _ServiceMonitoringService_UpdateService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1053 in := new(UpdateServiceRequest) 1054 if err := dec(in); err != nil { 1055 return nil, err 1056 } 1057 if interceptor == nil { 1058 return srv.(ServiceMonitoringServiceServer).UpdateService(ctx, in) 1059 } 1060 info := &grpc.UnaryServerInfo{ 1061 Server: srv, 1062 FullMethod: "/google.monitoring.v3.ServiceMonitoringService/UpdateService", 1063 } 1064 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1065 return srv.(ServiceMonitoringServiceServer).UpdateService(ctx, req.(*UpdateServiceRequest)) 1066 } 1067 return interceptor(ctx, in, info, handler) 1068} 1069 1070func _ServiceMonitoringService_DeleteService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1071 in := new(DeleteServiceRequest) 1072 if err := dec(in); err != nil { 1073 return nil, err 1074 } 1075 if interceptor == nil { 1076 return srv.(ServiceMonitoringServiceServer).DeleteService(ctx, in) 1077 } 1078 info := &grpc.UnaryServerInfo{ 1079 Server: srv, 1080 FullMethod: "/google.monitoring.v3.ServiceMonitoringService/DeleteService", 1081 } 1082 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1083 return srv.(ServiceMonitoringServiceServer).DeleteService(ctx, req.(*DeleteServiceRequest)) 1084 } 1085 return interceptor(ctx, in, info, handler) 1086} 1087 1088func _ServiceMonitoringService_CreateServiceLevelObjective_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1089 in := new(CreateServiceLevelObjectiveRequest) 1090 if err := dec(in); err != nil { 1091 return nil, err 1092 } 1093 if interceptor == nil { 1094 return srv.(ServiceMonitoringServiceServer).CreateServiceLevelObjective(ctx, in) 1095 } 1096 info := &grpc.UnaryServerInfo{ 1097 Server: srv, 1098 FullMethod: "/google.monitoring.v3.ServiceMonitoringService/CreateServiceLevelObjective", 1099 } 1100 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1101 return srv.(ServiceMonitoringServiceServer).CreateServiceLevelObjective(ctx, req.(*CreateServiceLevelObjectiveRequest)) 1102 } 1103 return interceptor(ctx, in, info, handler) 1104} 1105 1106func _ServiceMonitoringService_GetServiceLevelObjective_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1107 in := new(GetServiceLevelObjectiveRequest) 1108 if err := dec(in); err != nil { 1109 return nil, err 1110 } 1111 if interceptor == nil { 1112 return srv.(ServiceMonitoringServiceServer).GetServiceLevelObjective(ctx, in) 1113 } 1114 info := &grpc.UnaryServerInfo{ 1115 Server: srv, 1116 FullMethod: "/google.monitoring.v3.ServiceMonitoringService/GetServiceLevelObjective", 1117 } 1118 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1119 return srv.(ServiceMonitoringServiceServer).GetServiceLevelObjective(ctx, req.(*GetServiceLevelObjectiveRequest)) 1120 } 1121 return interceptor(ctx, in, info, handler) 1122} 1123 1124func _ServiceMonitoringService_ListServiceLevelObjectives_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1125 in := new(ListServiceLevelObjectivesRequest) 1126 if err := dec(in); err != nil { 1127 return nil, err 1128 } 1129 if interceptor == nil { 1130 return srv.(ServiceMonitoringServiceServer).ListServiceLevelObjectives(ctx, in) 1131 } 1132 info := &grpc.UnaryServerInfo{ 1133 Server: srv, 1134 FullMethod: "/google.monitoring.v3.ServiceMonitoringService/ListServiceLevelObjectives", 1135 } 1136 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1137 return srv.(ServiceMonitoringServiceServer).ListServiceLevelObjectives(ctx, req.(*ListServiceLevelObjectivesRequest)) 1138 } 1139 return interceptor(ctx, in, info, handler) 1140} 1141 1142func _ServiceMonitoringService_UpdateServiceLevelObjective_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1143 in := new(UpdateServiceLevelObjectiveRequest) 1144 if err := dec(in); err != nil { 1145 return nil, err 1146 } 1147 if interceptor == nil { 1148 return srv.(ServiceMonitoringServiceServer).UpdateServiceLevelObjective(ctx, in) 1149 } 1150 info := &grpc.UnaryServerInfo{ 1151 Server: srv, 1152 FullMethod: "/google.monitoring.v3.ServiceMonitoringService/UpdateServiceLevelObjective", 1153 } 1154 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1155 return srv.(ServiceMonitoringServiceServer).UpdateServiceLevelObjective(ctx, req.(*UpdateServiceLevelObjectiveRequest)) 1156 } 1157 return interceptor(ctx, in, info, handler) 1158} 1159 1160func _ServiceMonitoringService_DeleteServiceLevelObjective_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1161 in := new(DeleteServiceLevelObjectiveRequest) 1162 if err := dec(in); err != nil { 1163 return nil, err 1164 } 1165 if interceptor == nil { 1166 return srv.(ServiceMonitoringServiceServer).DeleteServiceLevelObjective(ctx, in) 1167 } 1168 info := &grpc.UnaryServerInfo{ 1169 Server: srv, 1170 FullMethod: "/google.monitoring.v3.ServiceMonitoringService/DeleteServiceLevelObjective", 1171 } 1172 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1173 return srv.(ServiceMonitoringServiceServer).DeleteServiceLevelObjective(ctx, req.(*DeleteServiceLevelObjectiveRequest)) 1174 } 1175 return interceptor(ctx, in, info, handler) 1176} 1177 1178var _ServiceMonitoringService_serviceDesc = grpc.ServiceDesc{ 1179 ServiceName: "google.monitoring.v3.ServiceMonitoringService", 1180 HandlerType: (*ServiceMonitoringServiceServer)(nil), 1181 Methods: []grpc.MethodDesc{ 1182 { 1183 MethodName: "CreateService", 1184 Handler: _ServiceMonitoringService_CreateService_Handler, 1185 }, 1186 { 1187 MethodName: "GetService", 1188 Handler: _ServiceMonitoringService_GetService_Handler, 1189 }, 1190 { 1191 MethodName: "ListServices", 1192 Handler: _ServiceMonitoringService_ListServices_Handler, 1193 }, 1194 { 1195 MethodName: "UpdateService", 1196 Handler: _ServiceMonitoringService_UpdateService_Handler, 1197 }, 1198 { 1199 MethodName: "DeleteService", 1200 Handler: _ServiceMonitoringService_DeleteService_Handler, 1201 }, 1202 { 1203 MethodName: "CreateServiceLevelObjective", 1204 Handler: _ServiceMonitoringService_CreateServiceLevelObjective_Handler, 1205 }, 1206 { 1207 MethodName: "GetServiceLevelObjective", 1208 Handler: _ServiceMonitoringService_GetServiceLevelObjective_Handler, 1209 }, 1210 { 1211 MethodName: "ListServiceLevelObjectives", 1212 Handler: _ServiceMonitoringService_ListServiceLevelObjectives_Handler, 1213 }, 1214 { 1215 MethodName: "UpdateServiceLevelObjective", 1216 Handler: _ServiceMonitoringService_UpdateServiceLevelObjective_Handler, 1217 }, 1218 { 1219 MethodName: "DeleteServiceLevelObjective", 1220 Handler: _ServiceMonitoringService_DeleteServiceLevelObjective_Handler, 1221 }, 1222 }, 1223 Streams: []grpc.StreamDesc{}, 1224 Metadata: "google/monitoring/v3/service_service.proto", 1225} 1226