...

Source file src/cloud.google.com/go/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go

Documentation: cloud.google.com/go/monitoring/apiv3/v2/monitoringpb

     1  // Copyright 2023 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.33.0
    18  // 	protoc        v4.25.3
    19  // source: google/monitoring/v3/alert_service.proto
    20  
    21  package monitoringpb
    22  
    23  import (
    24  	context "context"
    25  	reflect "reflect"
    26  	sync "sync"
    27  
    28  	_ "google.golang.org/genproto/googleapis/api/annotations"
    29  	grpc "google.golang.org/grpc"
    30  	codes "google.golang.org/grpc/codes"
    31  	status "google.golang.org/grpc/status"
    32  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    33  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    34  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    35  	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
    36  )
    37  
    38  const (
    39  	// Verify that this generated code is sufficiently up-to-date.
    40  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    41  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    42  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    43  )
    44  
    45  // The protocol for the `CreateAlertPolicy` request.
    46  type CreateAlertPolicyRequest struct {
    47  	state         protoimpl.MessageState
    48  	sizeCache     protoimpl.SizeCache
    49  	unknownFields protoimpl.UnknownFields
    50  
    51  	// Required. The
    52  	// [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
    53  	// to create the alerting policy. The format is:
    54  	//
    55  	//	projects/[PROJECT_ID_OR_NUMBER]
    56  	//
    57  	// Note that this field names the parent container in which the alerting
    58  	// policy will be written, not the name of the created policy. |name| must be
    59  	// a host project of a Metrics Scope, otherwise INVALID_ARGUMENT error will
    60  	// return. The alerting policy that is returned will have a name that contains
    61  	// a normalized representation of this name as a prefix but adds a suffix of
    62  	// the form `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the
    63  	// container.
    64  	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
    65  	// Required. The requested alerting policy. You should omit the `name` field
    66  	// in this policy. The name will be returned in the new policy, including a
    67  	// new `[ALERT_POLICY_ID]` value.
    68  	AlertPolicy *AlertPolicy `protobuf:"bytes,2,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"`
    69  }
    70  
    71  func (x *CreateAlertPolicyRequest) Reset() {
    72  	*x = CreateAlertPolicyRequest{}
    73  	if protoimpl.UnsafeEnabled {
    74  		mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[0]
    75  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    76  		ms.StoreMessageInfo(mi)
    77  	}
    78  }
    79  
    80  func (x *CreateAlertPolicyRequest) String() string {
    81  	return protoimpl.X.MessageStringOf(x)
    82  }
    83  
    84  func (*CreateAlertPolicyRequest) ProtoMessage() {}
    85  
    86  func (x *CreateAlertPolicyRequest) ProtoReflect() protoreflect.Message {
    87  	mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[0]
    88  	if protoimpl.UnsafeEnabled && x != nil {
    89  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    90  		if ms.LoadMessageInfo() == nil {
    91  			ms.StoreMessageInfo(mi)
    92  		}
    93  		return ms
    94  	}
    95  	return mi.MessageOf(x)
    96  }
    97  
    98  // Deprecated: Use CreateAlertPolicyRequest.ProtoReflect.Descriptor instead.
    99  func (*CreateAlertPolicyRequest) Descriptor() ([]byte, []int) {
   100  	return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{0}
   101  }
   102  
   103  func (x *CreateAlertPolicyRequest) GetName() string {
   104  	if x != nil {
   105  		return x.Name
   106  	}
   107  	return ""
   108  }
   109  
   110  func (x *CreateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy {
   111  	if x != nil {
   112  		return x.AlertPolicy
   113  	}
   114  	return nil
   115  }
   116  
   117  // The protocol for the `GetAlertPolicy` request.
   118  type GetAlertPolicyRequest struct {
   119  	state         protoimpl.MessageState
   120  	sizeCache     protoimpl.SizeCache
   121  	unknownFields protoimpl.UnknownFields
   122  
   123  	// Required. The alerting policy to retrieve. The format is:
   124  	//
   125  	//	projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
   126  	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
   127  }
   128  
   129  func (x *GetAlertPolicyRequest) Reset() {
   130  	*x = GetAlertPolicyRequest{}
   131  	if protoimpl.UnsafeEnabled {
   132  		mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[1]
   133  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   134  		ms.StoreMessageInfo(mi)
   135  	}
   136  }
   137  
   138  func (x *GetAlertPolicyRequest) String() string {
   139  	return protoimpl.X.MessageStringOf(x)
   140  }
   141  
   142  func (*GetAlertPolicyRequest) ProtoMessage() {}
   143  
   144  func (x *GetAlertPolicyRequest) ProtoReflect() protoreflect.Message {
   145  	mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[1]
   146  	if protoimpl.UnsafeEnabled && x != nil {
   147  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   148  		if ms.LoadMessageInfo() == nil {
   149  			ms.StoreMessageInfo(mi)
   150  		}
   151  		return ms
   152  	}
   153  	return mi.MessageOf(x)
   154  }
   155  
   156  // Deprecated: Use GetAlertPolicyRequest.ProtoReflect.Descriptor instead.
   157  func (*GetAlertPolicyRequest) Descriptor() ([]byte, []int) {
   158  	return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{1}
   159  }
   160  
   161  func (x *GetAlertPolicyRequest) GetName() string {
   162  	if x != nil {
   163  		return x.Name
   164  	}
   165  	return ""
   166  }
   167  
   168  // The protocol for the `ListAlertPolicies` request.
   169  type ListAlertPoliciesRequest struct {
   170  	state         protoimpl.MessageState
   171  	sizeCache     protoimpl.SizeCache
   172  	unknownFields protoimpl.UnknownFields
   173  
   174  	// Required. The
   175  	// [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
   176  	// alert policies are to be listed. The format is:
   177  	//
   178  	//	projects/[PROJECT_ID_OR_NUMBER]
   179  	//
   180  	// Note that this field names the parent container in which the alerting
   181  	// policies to be listed are stored. To retrieve a single alerting policy
   182  	// by name, use the
   183  	// [GetAlertPolicy][google.monitoring.v3.AlertPolicyService.GetAlertPolicy]
   184  	// operation, instead.
   185  	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
   186  	// If provided, this field specifies the criteria that must be met by
   187  	// alert policies to be included in the response.
   188  	//
   189  	// For more details, see [sorting and
   190  	// filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
   191  	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
   192  	// A comma-separated list of fields by which to sort the result. Supports
   193  	// the same set of field references as the `filter` field. Entries can be
   194  	// prefixed with a minus sign to sort by the field in descending order.
   195  	//
   196  	// For more details, see [sorting and
   197  	// filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
   198  	OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
   199  	// The maximum number of results to return in a single response.
   200  	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
   201  	// If this field is not empty then it must contain the `nextPageToken` value
   202  	// returned by a previous call to this method.  Using this field causes the
   203  	// method to return more results from the previous method call.
   204  	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
   205  }
   206  
   207  func (x *ListAlertPoliciesRequest) Reset() {
   208  	*x = ListAlertPoliciesRequest{}
   209  	if protoimpl.UnsafeEnabled {
   210  		mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[2]
   211  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   212  		ms.StoreMessageInfo(mi)
   213  	}
   214  }
   215  
   216  func (x *ListAlertPoliciesRequest) String() string {
   217  	return protoimpl.X.MessageStringOf(x)
   218  }
   219  
   220  func (*ListAlertPoliciesRequest) ProtoMessage() {}
   221  
   222  func (x *ListAlertPoliciesRequest) ProtoReflect() protoreflect.Message {
   223  	mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[2]
   224  	if protoimpl.UnsafeEnabled && x != nil {
   225  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   226  		if ms.LoadMessageInfo() == nil {
   227  			ms.StoreMessageInfo(mi)
   228  		}
   229  		return ms
   230  	}
   231  	return mi.MessageOf(x)
   232  }
   233  
   234  // Deprecated: Use ListAlertPoliciesRequest.ProtoReflect.Descriptor instead.
   235  func (*ListAlertPoliciesRequest) Descriptor() ([]byte, []int) {
   236  	return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{2}
   237  }
   238  
   239  func (x *ListAlertPoliciesRequest) GetName() string {
   240  	if x != nil {
   241  		return x.Name
   242  	}
   243  	return ""
   244  }
   245  
   246  func (x *ListAlertPoliciesRequest) GetFilter() string {
   247  	if x != nil {
   248  		return x.Filter
   249  	}
   250  	return ""
   251  }
   252  
   253  func (x *ListAlertPoliciesRequest) GetOrderBy() string {
   254  	if x != nil {
   255  		return x.OrderBy
   256  	}
   257  	return ""
   258  }
   259  
   260  func (x *ListAlertPoliciesRequest) GetPageSize() int32 {
   261  	if x != nil {
   262  		return x.PageSize
   263  	}
   264  	return 0
   265  }
   266  
   267  func (x *ListAlertPoliciesRequest) GetPageToken() string {
   268  	if x != nil {
   269  		return x.PageToken
   270  	}
   271  	return ""
   272  }
   273  
   274  // The protocol for the `ListAlertPolicies` response.
   275  type ListAlertPoliciesResponse struct {
   276  	state         protoimpl.MessageState
   277  	sizeCache     protoimpl.SizeCache
   278  	unknownFields protoimpl.UnknownFields
   279  
   280  	// The returned alert policies.
   281  	AlertPolicies []*AlertPolicy `protobuf:"bytes,3,rep,name=alert_policies,json=alertPolicies,proto3" json:"alert_policies,omitempty"`
   282  	// If there might be more results than were returned, then this field is set
   283  	// to a non-empty value. To see the additional results,
   284  	// use that value as `page_token` in the next call to this method.
   285  	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
   286  	// The total number of alert policies in all pages. This number is only an
   287  	// estimate, and may change in subsequent pages. https://aip.dev/158
   288  	TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
   289  }
   290  
   291  func (x *ListAlertPoliciesResponse) Reset() {
   292  	*x = ListAlertPoliciesResponse{}
   293  	if protoimpl.UnsafeEnabled {
   294  		mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[3]
   295  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   296  		ms.StoreMessageInfo(mi)
   297  	}
   298  }
   299  
   300  func (x *ListAlertPoliciesResponse) String() string {
   301  	return protoimpl.X.MessageStringOf(x)
   302  }
   303  
   304  func (*ListAlertPoliciesResponse) ProtoMessage() {}
   305  
   306  func (x *ListAlertPoliciesResponse) ProtoReflect() protoreflect.Message {
   307  	mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[3]
   308  	if protoimpl.UnsafeEnabled && x != nil {
   309  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   310  		if ms.LoadMessageInfo() == nil {
   311  			ms.StoreMessageInfo(mi)
   312  		}
   313  		return ms
   314  	}
   315  	return mi.MessageOf(x)
   316  }
   317  
   318  // Deprecated: Use ListAlertPoliciesResponse.ProtoReflect.Descriptor instead.
   319  func (*ListAlertPoliciesResponse) Descriptor() ([]byte, []int) {
   320  	return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{3}
   321  }
   322  
   323  func (x *ListAlertPoliciesResponse) GetAlertPolicies() []*AlertPolicy {
   324  	if x != nil {
   325  		return x.AlertPolicies
   326  	}
   327  	return nil
   328  }
   329  
   330  func (x *ListAlertPoliciesResponse) GetNextPageToken() string {
   331  	if x != nil {
   332  		return x.NextPageToken
   333  	}
   334  	return ""
   335  }
   336  
   337  func (x *ListAlertPoliciesResponse) GetTotalSize() int32 {
   338  	if x != nil {
   339  		return x.TotalSize
   340  	}
   341  	return 0
   342  }
   343  
   344  // The protocol for the `UpdateAlertPolicy` request.
   345  type UpdateAlertPolicyRequest struct {
   346  	state         protoimpl.MessageState
   347  	sizeCache     protoimpl.SizeCache
   348  	unknownFields protoimpl.UnknownFields
   349  
   350  	// Optional. A list of alerting policy field names. If this field is not
   351  	// empty, each listed field in the existing alerting policy is set to the
   352  	// value of the corresponding field in the supplied policy (`alert_policy`),
   353  	// or to the field's default value if the field is not in the supplied
   354  	// alerting policy.  Fields not listed retain their previous value.
   355  	//
   356  	// Examples of valid field masks include `display_name`, `documentation`,
   357  	// `documentation.content`, `documentation.mime_type`, `user_labels`,
   358  	// `user_label.nameofkey`, `enabled`, `conditions`, `combiner`, etc.
   359  	//
   360  	// If this field is empty, then the supplied alerting policy replaces the
   361  	// existing policy. It is the same as deleting the existing policy and
   362  	// adding the supplied policy, except for the following:
   363  	//
   364  	//   - The new policy will have the same `[ALERT_POLICY_ID]` as the former
   365  	//     policy. This gives you continuity with the former policy in your
   366  	//     notifications and incidents.
   367  	//   - Conditions in the new policy will keep their former `[CONDITION_ID]` if
   368  	//     the supplied condition includes the `name` field with that
   369  	//     `[CONDITION_ID]`. If the supplied condition omits the `name` field,
   370  	//     then a new `[CONDITION_ID]` is created.
   371  	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
   372  	// Required. The updated alerting policy or the updated values for the
   373  	// fields listed in `update_mask`.
   374  	// If `update_mask` is not empty, any fields in this policy that are
   375  	// not in `update_mask` are ignored.
   376  	AlertPolicy *AlertPolicy `protobuf:"bytes,3,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"`
   377  }
   378  
   379  func (x *UpdateAlertPolicyRequest) Reset() {
   380  	*x = UpdateAlertPolicyRequest{}
   381  	if protoimpl.UnsafeEnabled {
   382  		mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[4]
   383  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   384  		ms.StoreMessageInfo(mi)
   385  	}
   386  }
   387  
   388  func (x *UpdateAlertPolicyRequest) String() string {
   389  	return protoimpl.X.MessageStringOf(x)
   390  }
   391  
   392  func (*UpdateAlertPolicyRequest) ProtoMessage() {}
   393  
   394  func (x *UpdateAlertPolicyRequest) ProtoReflect() protoreflect.Message {
   395  	mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[4]
   396  	if protoimpl.UnsafeEnabled && x != nil {
   397  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   398  		if ms.LoadMessageInfo() == nil {
   399  			ms.StoreMessageInfo(mi)
   400  		}
   401  		return ms
   402  	}
   403  	return mi.MessageOf(x)
   404  }
   405  
   406  // Deprecated: Use UpdateAlertPolicyRequest.ProtoReflect.Descriptor instead.
   407  func (*UpdateAlertPolicyRequest) Descriptor() ([]byte, []int) {
   408  	return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{4}
   409  }
   410  
   411  func (x *UpdateAlertPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
   412  	if x != nil {
   413  		return x.UpdateMask
   414  	}
   415  	return nil
   416  }
   417  
   418  func (x *UpdateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy {
   419  	if x != nil {
   420  		return x.AlertPolicy
   421  	}
   422  	return nil
   423  }
   424  
   425  // The protocol for the `DeleteAlertPolicy` request.
   426  type DeleteAlertPolicyRequest struct {
   427  	state         protoimpl.MessageState
   428  	sizeCache     protoimpl.SizeCache
   429  	unknownFields protoimpl.UnknownFields
   430  
   431  	// Required. The alerting policy to delete. The format is:
   432  	//
   433  	//	projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
   434  	//
   435  	// For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
   436  	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
   437  }
   438  
   439  func (x *DeleteAlertPolicyRequest) Reset() {
   440  	*x = DeleteAlertPolicyRequest{}
   441  	if protoimpl.UnsafeEnabled {
   442  		mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[5]
   443  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   444  		ms.StoreMessageInfo(mi)
   445  	}
   446  }
   447  
   448  func (x *DeleteAlertPolicyRequest) String() string {
   449  	return protoimpl.X.MessageStringOf(x)
   450  }
   451  
   452  func (*DeleteAlertPolicyRequest) ProtoMessage() {}
   453  
   454  func (x *DeleteAlertPolicyRequest) ProtoReflect() protoreflect.Message {
   455  	mi := &file_google_monitoring_v3_alert_service_proto_msgTypes[5]
   456  	if protoimpl.UnsafeEnabled && x != nil {
   457  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   458  		if ms.LoadMessageInfo() == nil {
   459  			ms.StoreMessageInfo(mi)
   460  		}
   461  		return ms
   462  	}
   463  	return mi.MessageOf(x)
   464  }
   465  
   466  // Deprecated: Use DeleteAlertPolicyRequest.ProtoReflect.Descriptor instead.
   467  func (*DeleteAlertPolicyRequest) Descriptor() ([]byte, []int) {
   468  	return file_google_monitoring_v3_alert_service_proto_rawDescGZIP(), []int{5}
   469  }
   470  
   471  func (x *DeleteAlertPolicyRequest) GetName() string {
   472  	if x != nil {
   473  		return x.Name
   474  	}
   475  	return ""
   476  }
   477  
   478  var File_google_monitoring_v3_alert_service_proto protoreflect.FileDescriptor
   479  
   480  var file_google_monitoring_v3_alert_service_proto_rawDesc = []byte{
   481  	0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   482  	0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x72,
   483  	0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x67, 0x6f, 0x6f, 0x67,
   484  	0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33,
   485  	0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
   486  	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
   487  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
   488  	0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   489  	0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
   490  	0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   491  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
   492  	0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69,
   493  	0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e,
   494  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
   495  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f,
   496  	0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   497  	0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70,
   498  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41,
   499  	0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   500  	0x74, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,
   501  	0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 0x12, 0x25, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   502  	0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
   503  	0x6f, 0x6d, 0x2f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04,
   504  	0x6e, 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f,
   505  	0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f,
   506  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   507  	0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0,
   508  	0x41, 0x02, 0x52, 0x0b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22,
   509  	0x5a, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   510  	0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   511  	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 0x0a, 0x25,
   512  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   513  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50,
   514  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcc, 0x01, 0x0a, 0x18,
   515  	0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
   516  	0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   517  	0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 0x12, 0x25,
   518  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   519  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50,
   520  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66,
   521  	0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c,
   522  	0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18,
   523  	0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x1b,
   524  	0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   525  	0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
   526  	0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
   527  	0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xac, 0x01, 0x0a, 0x19, 0x4c,
   528  	0x69, 0x73, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
   529  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x61, 0x6c, 0x65, 0x72,
   530  	0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
   531  	0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
   532  	0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c,
   533  	0x69, 0x63, 0x79, 0x52, 0x0d, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
   534  	0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f,
   535  	0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78,
   536  	0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f,
   537  	0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
   538  	0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x18, 0x55, 0x70,
   539  	0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
   540  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
   541  	0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
   542  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
   543  	0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d,
   544  	0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a, 0x0c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c,
   545  	0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   546  	0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33,
   547  	0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41,
   548  	0x02, 0x52, 0x0b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x5d,
   549  	0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c,
   550  	0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61,
   551  	0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27,
   552  	0x0a, 0x25, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f,
   553  	0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6c, 0x65, 0x72,
   554  	0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x9e, 0x08,
   555  	0x0a, 0x12, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x72,
   556  	0x76, 0x69, 0x63, 0x65, 0x12, 0xa8, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x65,
   557  	0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f,
   558  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   559  	0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   560  	0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f,
   561  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   562  	0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   563  	0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0xda, 0x41, 0x04,
   564  	0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x33, 0x2f,
   565  	0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
   566  	0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12,
   567  	0x96, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69,
   568  	0x63, 0x79, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69,
   569  	0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65,
   570  	0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
   571  	0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   572  	0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69,
   573  	0x63, 0x79, 0x22, 0x34, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02,
   574  	0x27, 0x12, 0x25, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,
   575  	0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c,
   576  	0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65,
   577  	0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2e,
   578  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   579  	0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72,
   580  	0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
   581  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   582  	0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   583  	0x79, 0x22, 0x4d, 0xda, 0x41, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x61, 0x6c, 0x65, 0x72, 0x74,
   584  	0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x0c, 0x61,
   585  	0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x23, 0x2f, 0x76, 0x33,
   586  	0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
   587  	0x2a, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
   588  	0x12, 0x91, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74,
   589  	0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   590  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65,
   591  	0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
   592  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   593  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x34,
   594  	0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x2a, 0x25, 0x2f,
   595  	0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   596  	0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
   597  	0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xcb, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41,
   598  	0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f,
   599  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   600  	0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c,
   601  	0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f,
   602  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   603  	0x33, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x63, 0xda,
   604  	0x41, 0x18, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2c, 0x61, 0x6c,
   605  	0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42,
   606  	0x3a, 0x0c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x32, 0x32,
   607  	0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
   608  	0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
   609  	0x2a, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f,
   610  	0x2a, 0x7d, 0x1a, 0xa9, 0x01, 0xca, 0x41, 0x19, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   611  	0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
   612  	0x6d, 0xd2, 0x41, 0x89, 0x01, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77,
   613  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   614  	0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66,
   615  	0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e,
   616  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
   617  	0x75, 0x74, 0x68, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2c, 0x68,
   618  	0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   619  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x6d,
   620  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x42, 0xcc,
   621  	0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f,
   622  	0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x42, 0x11, 0x41, 0x6c, 0x65,
   623  	0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
   624  	0x5a, 0x41, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   625  	0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67,
   626  	0x2f, 0x61, 0x70, 0x69, 0x76, 0x33, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
   627  	0x72, 0x69, 0x6e, 0x67, 0x70, 0x62, 0x3b, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e,
   628  	0x67, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
   629  	0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x33,
   630  	0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
   631  	0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x33, 0xea, 0x02, 0x1d,
   632  	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4d,
   633  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70,
   634  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   635  }
   636  
   637  var (
   638  	file_google_monitoring_v3_alert_service_proto_rawDescOnce sync.Once
   639  	file_google_monitoring_v3_alert_service_proto_rawDescData = file_google_monitoring_v3_alert_service_proto_rawDesc
   640  )
   641  
   642  func file_google_monitoring_v3_alert_service_proto_rawDescGZIP() []byte {
   643  	file_google_monitoring_v3_alert_service_proto_rawDescOnce.Do(func() {
   644  		file_google_monitoring_v3_alert_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_v3_alert_service_proto_rawDescData)
   645  	})
   646  	return file_google_monitoring_v3_alert_service_proto_rawDescData
   647  }
   648  
   649  var file_google_monitoring_v3_alert_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   650  var file_google_monitoring_v3_alert_service_proto_goTypes = []interface{}{
   651  	(*CreateAlertPolicyRequest)(nil),  // 0: google.monitoring.v3.CreateAlertPolicyRequest
   652  	(*GetAlertPolicyRequest)(nil),     // 1: google.monitoring.v3.GetAlertPolicyRequest
   653  	(*ListAlertPoliciesRequest)(nil),  // 2: google.monitoring.v3.ListAlertPoliciesRequest
   654  	(*ListAlertPoliciesResponse)(nil), // 3: google.monitoring.v3.ListAlertPoliciesResponse
   655  	(*UpdateAlertPolicyRequest)(nil),  // 4: google.monitoring.v3.UpdateAlertPolicyRequest
   656  	(*DeleteAlertPolicyRequest)(nil),  // 5: google.monitoring.v3.DeleteAlertPolicyRequest
   657  	(*AlertPolicy)(nil),               // 6: google.monitoring.v3.AlertPolicy
   658  	(*fieldmaskpb.FieldMask)(nil),     // 7: google.protobuf.FieldMask
   659  	(*emptypb.Empty)(nil),             // 8: google.protobuf.Empty
   660  }
   661  var file_google_monitoring_v3_alert_service_proto_depIdxs = []int32{
   662  	6, // 0: google.monitoring.v3.CreateAlertPolicyRequest.alert_policy:type_name -> google.monitoring.v3.AlertPolicy
   663  	6, // 1: google.monitoring.v3.ListAlertPoliciesResponse.alert_policies:type_name -> google.monitoring.v3.AlertPolicy
   664  	7, // 2: google.monitoring.v3.UpdateAlertPolicyRequest.update_mask:type_name -> google.protobuf.FieldMask
   665  	6, // 3: google.monitoring.v3.UpdateAlertPolicyRequest.alert_policy:type_name -> google.monitoring.v3.AlertPolicy
   666  	2, // 4: google.monitoring.v3.AlertPolicyService.ListAlertPolicies:input_type -> google.monitoring.v3.ListAlertPoliciesRequest
   667  	1, // 5: google.monitoring.v3.AlertPolicyService.GetAlertPolicy:input_type -> google.monitoring.v3.GetAlertPolicyRequest
   668  	0, // 6: google.monitoring.v3.AlertPolicyService.CreateAlertPolicy:input_type -> google.monitoring.v3.CreateAlertPolicyRequest
   669  	5, // 7: google.monitoring.v3.AlertPolicyService.DeleteAlertPolicy:input_type -> google.monitoring.v3.DeleteAlertPolicyRequest
   670  	4, // 8: google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy:input_type -> google.monitoring.v3.UpdateAlertPolicyRequest
   671  	3, // 9: google.monitoring.v3.AlertPolicyService.ListAlertPolicies:output_type -> google.monitoring.v3.ListAlertPoliciesResponse
   672  	6, // 10: google.monitoring.v3.AlertPolicyService.GetAlertPolicy:output_type -> google.monitoring.v3.AlertPolicy
   673  	6, // 11: google.monitoring.v3.AlertPolicyService.CreateAlertPolicy:output_type -> google.monitoring.v3.AlertPolicy
   674  	8, // 12: google.monitoring.v3.AlertPolicyService.DeleteAlertPolicy:output_type -> google.protobuf.Empty
   675  	6, // 13: google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy:output_type -> google.monitoring.v3.AlertPolicy
   676  	9, // [9:14] is the sub-list for method output_type
   677  	4, // [4:9] is the sub-list for method input_type
   678  	4, // [4:4] is the sub-list for extension type_name
   679  	4, // [4:4] is the sub-list for extension extendee
   680  	0, // [0:4] is the sub-list for field type_name
   681  }
   682  
   683  func init() { file_google_monitoring_v3_alert_service_proto_init() }
   684  func file_google_monitoring_v3_alert_service_proto_init() {
   685  	if File_google_monitoring_v3_alert_service_proto != nil {
   686  		return
   687  	}
   688  	file_google_monitoring_v3_alert_proto_init()
   689  	if !protoimpl.UnsafeEnabled {
   690  		file_google_monitoring_v3_alert_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   691  			switch v := v.(*CreateAlertPolicyRequest); i {
   692  			case 0:
   693  				return &v.state
   694  			case 1:
   695  				return &v.sizeCache
   696  			case 2:
   697  				return &v.unknownFields
   698  			default:
   699  				return nil
   700  			}
   701  		}
   702  		file_google_monitoring_v3_alert_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   703  			switch v := v.(*GetAlertPolicyRequest); i {
   704  			case 0:
   705  				return &v.state
   706  			case 1:
   707  				return &v.sizeCache
   708  			case 2:
   709  				return &v.unknownFields
   710  			default:
   711  				return nil
   712  			}
   713  		}
   714  		file_google_monitoring_v3_alert_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   715  			switch v := v.(*ListAlertPoliciesRequest); i {
   716  			case 0:
   717  				return &v.state
   718  			case 1:
   719  				return &v.sizeCache
   720  			case 2:
   721  				return &v.unknownFields
   722  			default:
   723  				return nil
   724  			}
   725  		}
   726  		file_google_monitoring_v3_alert_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   727  			switch v := v.(*ListAlertPoliciesResponse); i {
   728  			case 0:
   729  				return &v.state
   730  			case 1:
   731  				return &v.sizeCache
   732  			case 2:
   733  				return &v.unknownFields
   734  			default:
   735  				return nil
   736  			}
   737  		}
   738  		file_google_monitoring_v3_alert_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   739  			switch v := v.(*UpdateAlertPolicyRequest); i {
   740  			case 0:
   741  				return &v.state
   742  			case 1:
   743  				return &v.sizeCache
   744  			case 2:
   745  				return &v.unknownFields
   746  			default:
   747  				return nil
   748  			}
   749  		}
   750  		file_google_monitoring_v3_alert_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   751  			switch v := v.(*DeleteAlertPolicyRequest); i {
   752  			case 0:
   753  				return &v.state
   754  			case 1:
   755  				return &v.sizeCache
   756  			case 2:
   757  				return &v.unknownFields
   758  			default:
   759  				return nil
   760  			}
   761  		}
   762  	}
   763  	type x struct{}
   764  	out := protoimpl.TypeBuilder{
   765  		File: protoimpl.DescBuilder{
   766  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   767  			RawDescriptor: file_google_monitoring_v3_alert_service_proto_rawDesc,
   768  			NumEnums:      0,
   769  			NumMessages:   6,
   770  			NumExtensions: 0,
   771  			NumServices:   1,
   772  		},
   773  		GoTypes:           file_google_monitoring_v3_alert_service_proto_goTypes,
   774  		DependencyIndexes: file_google_monitoring_v3_alert_service_proto_depIdxs,
   775  		MessageInfos:      file_google_monitoring_v3_alert_service_proto_msgTypes,
   776  	}.Build()
   777  	File_google_monitoring_v3_alert_service_proto = out.File
   778  	file_google_monitoring_v3_alert_service_proto_rawDesc = nil
   779  	file_google_monitoring_v3_alert_service_proto_goTypes = nil
   780  	file_google_monitoring_v3_alert_service_proto_depIdxs = nil
   781  }
   782  
   783  // Reference imports to suppress errors if they are not otherwise used.
   784  var _ context.Context
   785  var _ grpc.ClientConnInterface
   786  
   787  // This is a compile-time assertion to ensure that this generated file
   788  // is compatible with the grpc package it is being compiled against.
   789  const _ = grpc.SupportPackageIsVersion6
   790  
   791  // AlertPolicyServiceClient is the client API for AlertPolicyService service.
   792  //
   793  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   794  type AlertPolicyServiceClient interface {
   795  	// Lists the existing alerting policies for the workspace.
   796  	ListAlertPolicies(ctx context.Context, in *ListAlertPoliciesRequest, opts ...grpc.CallOption) (*ListAlertPoliciesResponse, error)
   797  	// Gets a single alerting policy.
   798  	GetAlertPolicy(ctx context.Context, in *GetAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error)
   799  	// Creates a new alerting policy.
   800  	//
   801  	// Design your application to single-thread API calls that modify the state of
   802  	// alerting policies in a single project. This includes calls to
   803  	// CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
   804  	CreateAlertPolicy(ctx context.Context, in *CreateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error)
   805  	// Deletes an alerting policy.
   806  	//
   807  	// Design your application to single-thread API calls that modify the state of
   808  	// alerting policies in a single project. This includes calls to
   809  	// CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
   810  	DeleteAlertPolicy(ctx context.Context, in *DeleteAlertPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
   811  	// Updates an alerting policy. You can either replace the entire policy with
   812  	// a new one or replace only certain fields in the current alerting policy by
   813  	// specifying the fields to be updated via `updateMask`. Returns the
   814  	// updated alerting policy.
   815  	//
   816  	// Design your application to single-thread API calls that modify the state of
   817  	// alerting policies in a single project. This includes calls to
   818  	// CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
   819  	UpdateAlertPolicy(ctx context.Context, in *UpdateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error)
   820  }
   821  
   822  type alertPolicyServiceClient struct {
   823  	cc grpc.ClientConnInterface
   824  }
   825  
   826  func NewAlertPolicyServiceClient(cc grpc.ClientConnInterface) AlertPolicyServiceClient {
   827  	return &alertPolicyServiceClient{cc}
   828  }
   829  
   830  func (c *alertPolicyServiceClient) ListAlertPolicies(ctx context.Context, in *ListAlertPoliciesRequest, opts ...grpc.CallOption) (*ListAlertPoliciesResponse, error) {
   831  	out := new(ListAlertPoliciesResponse)
   832  	err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/ListAlertPolicies", in, out, opts...)
   833  	if err != nil {
   834  		return nil, err
   835  	}
   836  	return out, nil
   837  }
   838  
   839  func (c *alertPolicyServiceClient) GetAlertPolicy(ctx context.Context, in *GetAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) {
   840  	out := new(AlertPolicy)
   841  	err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/GetAlertPolicy", in, out, opts...)
   842  	if err != nil {
   843  		return nil, err
   844  	}
   845  	return out, nil
   846  }
   847  
   848  func (c *alertPolicyServiceClient) CreateAlertPolicy(ctx context.Context, in *CreateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) {
   849  	out := new(AlertPolicy)
   850  	err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/CreateAlertPolicy", in, out, opts...)
   851  	if err != nil {
   852  		return nil, err
   853  	}
   854  	return out, nil
   855  }
   856  
   857  func (c *alertPolicyServiceClient) DeleteAlertPolicy(ctx context.Context, in *DeleteAlertPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
   858  	out := new(emptypb.Empty)
   859  	err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/DeleteAlertPolicy", in, out, opts...)
   860  	if err != nil {
   861  		return nil, err
   862  	}
   863  	return out, nil
   864  }
   865  
   866  func (c *alertPolicyServiceClient) UpdateAlertPolicy(ctx context.Context, in *UpdateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) {
   867  	out := new(AlertPolicy)
   868  	err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/UpdateAlertPolicy", in, out, opts...)
   869  	if err != nil {
   870  		return nil, err
   871  	}
   872  	return out, nil
   873  }
   874  
   875  // AlertPolicyServiceServer is the server API for AlertPolicyService service.
   876  type AlertPolicyServiceServer interface {
   877  	// Lists the existing alerting policies for the workspace.
   878  	ListAlertPolicies(context.Context, *ListAlertPoliciesRequest) (*ListAlertPoliciesResponse, error)
   879  	// Gets a single alerting policy.
   880  	GetAlertPolicy(context.Context, *GetAlertPolicyRequest) (*AlertPolicy, error)
   881  	// Creates a new alerting policy.
   882  	//
   883  	// Design your application to single-thread API calls that modify the state of
   884  	// alerting policies in a single project. This includes calls to
   885  	// CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
   886  	CreateAlertPolicy(context.Context, *CreateAlertPolicyRequest) (*AlertPolicy, error)
   887  	// Deletes an alerting policy.
   888  	//
   889  	// Design your application to single-thread API calls that modify the state of
   890  	// alerting policies in a single project. This includes calls to
   891  	// CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
   892  	DeleteAlertPolicy(context.Context, *DeleteAlertPolicyRequest) (*emptypb.Empty, error)
   893  	// Updates an alerting policy. You can either replace the entire policy with
   894  	// a new one or replace only certain fields in the current alerting policy by
   895  	// specifying the fields to be updated via `updateMask`. Returns the
   896  	// updated alerting policy.
   897  	//
   898  	// Design your application to single-thread API calls that modify the state of
   899  	// alerting policies in a single project. This includes calls to
   900  	// CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
   901  	UpdateAlertPolicy(context.Context, *UpdateAlertPolicyRequest) (*AlertPolicy, error)
   902  }
   903  
   904  // UnimplementedAlertPolicyServiceServer can be embedded to have forward compatible implementations.
   905  type UnimplementedAlertPolicyServiceServer struct {
   906  }
   907  
   908  func (*UnimplementedAlertPolicyServiceServer) ListAlertPolicies(context.Context, *ListAlertPoliciesRequest) (*ListAlertPoliciesResponse, error) {
   909  	return nil, status.Errorf(codes.Unimplemented, "method ListAlertPolicies not implemented")
   910  }
   911  func (*UnimplementedAlertPolicyServiceServer) GetAlertPolicy(context.Context, *GetAlertPolicyRequest) (*AlertPolicy, error) {
   912  	return nil, status.Errorf(codes.Unimplemented, "method GetAlertPolicy not implemented")
   913  }
   914  func (*UnimplementedAlertPolicyServiceServer) CreateAlertPolicy(context.Context, *CreateAlertPolicyRequest) (*AlertPolicy, error) {
   915  	return nil, status.Errorf(codes.Unimplemented, "method CreateAlertPolicy not implemented")
   916  }
   917  func (*UnimplementedAlertPolicyServiceServer) DeleteAlertPolicy(context.Context, *DeleteAlertPolicyRequest) (*emptypb.Empty, error) {
   918  	return nil, status.Errorf(codes.Unimplemented, "method DeleteAlertPolicy not implemented")
   919  }
   920  func (*UnimplementedAlertPolicyServiceServer) UpdateAlertPolicy(context.Context, *UpdateAlertPolicyRequest) (*AlertPolicy, error) {
   921  	return nil, status.Errorf(codes.Unimplemented, "method UpdateAlertPolicy not implemented")
   922  }
   923  
   924  func RegisterAlertPolicyServiceServer(s *grpc.Server, srv AlertPolicyServiceServer) {
   925  	s.RegisterService(&_AlertPolicyService_serviceDesc, srv)
   926  }
   927  
   928  func _AlertPolicyService_ListAlertPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   929  	in := new(ListAlertPoliciesRequest)
   930  	if err := dec(in); err != nil {
   931  		return nil, err
   932  	}
   933  	if interceptor == nil {
   934  		return srv.(AlertPolicyServiceServer).ListAlertPolicies(ctx, in)
   935  	}
   936  	info := &grpc.UnaryServerInfo{
   937  		Server:     srv,
   938  		FullMethod: "/google.monitoring.v3.AlertPolicyService/ListAlertPolicies",
   939  	}
   940  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   941  		return srv.(AlertPolicyServiceServer).ListAlertPolicies(ctx, req.(*ListAlertPoliciesRequest))
   942  	}
   943  	return interceptor(ctx, in, info, handler)
   944  }
   945  
   946  func _AlertPolicyService_GetAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   947  	in := new(GetAlertPolicyRequest)
   948  	if err := dec(in); err != nil {
   949  		return nil, err
   950  	}
   951  	if interceptor == nil {
   952  		return srv.(AlertPolicyServiceServer).GetAlertPolicy(ctx, in)
   953  	}
   954  	info := &grpc.UnaryServerInfo{
   955  		Server:     srv,
   956  		FullMethod: "/google.monitoring.v3.AlertPolicyService/GetAlertPolicy",
   957  	}
   958  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   959  		return srv.(AlertPolicyServiceServer).GetAlertPolicy(ctx, req.(*GetAlertPolicyRequest))
   960  	}
   961  	return interceptor(ctx, in, info, handler)
   962  }
   963  
   964  func _AlertPolicyService_CreateAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   965  	in := new(CreateAlertPolicyRequest)
   966  	if err := dec(in); err != nil {
   967  		return nil, err
   968  	}
   969  	if interceptor == nil {
   970  		return srv.(AlertPolicyServiceServer).CreateAlertPolicy(ctx, in)
   971  	}
   972  	info := &grpc.UnaryServerInfo{
   973  		Server:     srv,
   974  		FullMethod: "/google.monitoring.v3.AlertPolicyService/CreateAlertPolicy",
   975  	}
   976  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   977  		return srv.(AlertPolicyServiceServer).CreateAlertPolicy(ctx, req.(*CreateAlertPolicyRequest))
   978  	}
   979  	return interceptor(ctx, in, info, handler)
   980  }
   981  
   982  func _AlertPolicyService_DeleteAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   983  	in := new(DeleteAlertPolicyRequest)
   984  	if err := dec(in); err != nil {
   985  		return nil, err
   986  	}
   987  	if interceptor == nil {
   988  		return srv.(AlertPolicyServiceServer).DeleteAlertPolicy(ctx, in)
   989  	}
   990  	info := &grpc.UnaryServerInfo{
   991  		Server:     srv,
   992  		FullMethod: "/google.monitoring.v3.AlertPolicyService/DeleteAlertPolicy",
   993  	}
   994  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   995  		return srv.(AlertPolicyServiceServer).DeleteAlertPolicy(ctx, req.(*DeleteAlertPolicyRequest))
   996  	}
   997  	return interceptor(ctx, in, info, handler)
   998  }
   999  
  1000  func _AlertPolicyService_UpdateAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1001  	in := new(UpdateAlertPolicyRequest)
  1002  	if err := dec(in); err != nil {
  1003  		return nil, err
  1004  	}
  1005  	if interceptor == nil {
  1006  		return srv.(AlertPolicyServiceServer).UpdateAlertPolicy(ctx, in)
  1007  	}
  1008  	info := &grpc.UnaryServerInfo{
  1009  		Server:     srv,
  1010  		FullMethod: "/google.monitoring.v3.AlertPolicyService/UpdateAlertPolicy",
  1011  	}
  1012  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1013  		return srv.(AlertPolicyServiceServer).UpdateAlertPolicy(ctx, req.(*UpdateAlertPolicyRequest))
  1014  	}
  1015  	return interceptor(ctx, in, info, handler)
  1016  }
  1017  
  1018  var _AlertPolicyService_serviceDesc = grpc.ServiceDesc{
  1019  	ServiceName: "google.monitoring.v3.AlertPolicyService",
  1020  	HandlerType: (*AlertPolicyServiceServer)(nil),
  1021  	Methods: []grpc.MethodDesc{
  1022  		{
  1023  			MethodName: "ListAlertPolicies",
  1024  			Handler:    _AlertPolicyService_ListAlertPolicies_Handler,
  1025  		},
  1026  		{
  1027  			MethodName: "GetAlertPolicy",
  1028  			Handler:    _AlertPolicyService_GetAlertPolicy_Handler,
  1029  		},
  1030  		{
  1031  			MethodName: "CreateAlertPolicy",
  1032  			Handler:    _AlertPolicyService_CreateAlertPolicy_Handler,
  1033  		},
  1034  		{
  1035  			MethodName: "DeleteAlertPolicy",
  1036  			Handler:    _AlertPolicyService_DeleteAlertPolicy_Handler,
  1037  		},
  1038  		{
  1039  			MethodName: "UpdateAlertPolicy",
  1040  			Handler:    _AlertPolicyService_UpdateAlertPolicy_Handler,
  1041  		},
  1042  	},
  1043  	Streams:  []grpc.StreamDesc{},
  1044  	Metadata: "google/monitoring/v3/alert_service.proto",
  1045  }
  1046  

View as plain text