...

Source file src/cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go

Documentation: cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb

     1  // Copyright 2021 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/metricsscope/v1/metrics_scopes.proto
    20  
    21  package metricsscopepb
    22  
    23  import (
    24  	context "context"
    25  	reflect "reflect"
    26  	sync "sync"
    27  
    28  	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    29  	_ "google.golang.org/genproto/googleapis/api/annotations"
    30  	grpc "google.golang.org/grpc"
    31  	codes "google.golang.org/grpc/codes"
    32  	status "google.golang.org/grpc/status"
    33  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    34  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    35  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    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  // Batch operation states.
    46  type OperationMetadata_State int32
    47  
    48  const (
    49  	// Invalid.
    50  	OperationMetadata_STATE_UNSPECIFIED OperationMetadata_State = 0
    51  	// Request has been received.
    52  	OperationMetadata_CREATED OperationMetadata_State = 1
    53  	// Request is actively being processed.
    54  	OperationMetadata_RUNNING OperationMetadata_State = 2
    55  	// The batch processing is done.
    56  	OperationMetadata_DONE OperationMetadata_State = 3
    57  	// The batch processing was cancelled.
    58  	OperationMetadata_CANCELLED OperationMetadata_State = 4
    59  )
    60  
    61  // Enum value maps for OperationMetadata_State.
    62  var (
    63  	OperationMetadata_State_name = map[int32]string{
    64  		0: "STATE_UNSPECIFIED",
    65  		1: "CREATED",
    66  		2: "RUNNING",
    67  		3: "DONE",
    68  		4: "CANCELLED",
    69  	}
    70  	OperationMetadata_State_value = map[string]int32{
    71  		"STATE_UNSPECIFIED": 0,
    72  		"CREATED":           1,
    73  		"RUNNING":           2,
    74  		"DONE":              3,
    75  		"CANCELLED":         4,
    76  	}
    77  )
    78  
    79  func (x OperationMetadata_State) Enum() *OperationMetadata_State {
    80  	p := new(OperationMetadata_State)
    81  	*p = x
    82  	return p
    83  }
    84  
    85  func (x OperationMetadata_State) String() string {
    86  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    87  }
    88  
    89  func (OperationMetadata_State) Descriptor() protoreflect.EnumDescriptor {
    90  	return file_google_monitoring_metricsscope_v1_metrics_scopes_proto_enumTypes[0].Descriptor()
    91  }
    92  
    93  func (OperationMetadata_State) Type() protoreflect.EnumType {
    94  	return &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_enumTypes[0]
    95  }
    96  
    97  func (x OperationMetadata_State) Number() protoreflect.EnumNumber {
    98  	return protoreflect.EnumNumber(x)
    99  }
   100  
   101  // Deprecated: Use OperationMetadata_State.Descriptor instead.
   102  func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) {
   103  	return file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescGZIP(), []int{5, 0}
   104  }
   105  
   106  // Request for the `GetMetricsScope` method.
   107  type GetMetricsScopeRequest struct {
   108  	state         protoimpl.MessageState
   109  	sizeCache     protoimpl.SizeCache
   110  	unknownFields protoimpl.UnknownFields
   111  
   112  	// Required. The resource name of the `Metrics Scope`.
   113  	// Example:
   114  	// `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`
   115  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   116  }
   117  
   118  func (x *GetMetricsScopeRequest) Reset() {
   119  	*x = GetMetricsScopeRequest{}
   120  	if protoimpl.UnsafeEnabled {
   121  		mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[0]
   122  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   123  		ms.StoreMessageInfo(mi)
   124  	}
   125  }
   126  
   127  func (x *GetMetricsScopeRequest) String() string {
   128  	return protoimpl.X.MessageStringOf(x)
   129  }
   130  
   131  func (*GetMetricsScopeRequest) ProtoMessage() {}
   132  
   133  func (x *GetMetricsScopeRequest) ProtoReflect() protoreflect.Message {
   134  	mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[0]
   135  	if protoimpl.UnsafeEnabled && x != nil {
   136  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   137  		if ms.LoadMessageInfo() == nil {
   138  			ms.StoreMessageInfo(mi)
   139  		}
   140  		return ms
   141  	}
   142  	return mi.MessageOf(x)
   143  }
   144  
   145  // Deprecated: Use GetMetricsScopeRequest.ProtoReflect.Descriptor instead.
   146  func (*GetMetricsScopeRequest) Descriptor() ([]byte, []int) {
   147  	return file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescGZIP(), []int{0}
   148  }
   149  
   150  func (x *GetMetricsScopeRequest) GetName() string {
   151  	if x != nil {
   152  		return x.Name
   153  	}
   154  	return ""
   155  }
   156  
   157  // Request for the `ListMetricsScopesByMonitoredProject` method.
   158  type ListMetricsScopesByMonitoredProjectRequest struct {
   159  	state         protoimpl.MessageState
   160  	sizeCache     protoimpl.SizeCache
   161  	unknownFields protoimpl.UnknownFields
   162  
   163  	// Required. The resource name of the `Monitored Project` being requested.
   164  	// Example:
   165  	// `projects/{MONITORED_PROJECT_ID_OR_NUMBER}`
   166  	MonitoredResourceContainer string `protobuf:"bytes,1,opt,name=monitored_resource_container,json=monitoredResourceContainer,proto3" json:"monitored_resource_container,omitempty"`
   167  }
   168  
   169  func (x *ListMetricsScopesByMonitoredProjectRequest) Reset() {
   170  	*x = ListMetricsScopesByMonitoredProjectRequest{}
   171  	if protoimpl.UnsafeEnabled {
   172  		mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[1]
   173  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   174  		ms.StoreMessageInfo(mi)
   175  	}
   176  }
   177  
   178  func (x *ListMetricsScopesByMonitoredProjectRequest) String() string {
   179  	return protoimpl.X.MessageStringOf(x)
   180  }
   181  
   182  func (*ListMetricsScopesByMonitoredProjectRequest) ProtoMessage() {}
   183  
   184  func (x *ListMetricsScopesByMonitoredProjectRequest) ProtoReflect() protoreflect.Message {
   185  	mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[1]
   186  	if protoimpl.UnsafeEnabled && x != nil {
   187  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   188  		if ms.LoadMessageInfo() == nil {
   189  			ms.StoreMessageInfo(mi)
   190  		}
   191  		return ms
   192  	}
   193  	return mi.MessageOf(x)
   194  }
   195  
   196  // Deprecated: Use ListMetricsScopesByMonitoredProjectRequest.ProtoReflect.Descriptor instead.
   197  func (*ListMetricsScopesByMonitoredProjectRequest) Descriptor() ([]byte, []int) {
   198  	return file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescGZIP(), []int{1}
   199  }
   200  
   201  func (x *ListMetricsScopesByMonitoredProjectRequest) GetMonitoredResourceContainer() string {
   202  	if x != nil {
   203  		return x.MonitoredResourceContainer
   204  	}
   205  	return ""
   206  }
   207  
   208  // Response for the `ListMetricsScopesByMonitoredProject` method.
   209  type ListMetricsScopesByMonitoredProjectResponse struct {
   210  	state         protoimpl.MessageState
   211  	sizeCache     protoimpl.SizeCache
   212  	unknownFields protoimpl.UnknownFields
   213  
   214  	// A set of all metrics scopes that the specified monitored project has been
   215  	// added to.
   216  	MetricsScopes []*MetricsScope `protobuf:"bytes,1,rep,name=metrics_scopes,json=metricsScopes,proto3" json:"metrics_scopes,omitempty"`
   217  }
   218  
   219  func (x *ListMetricsScopesByMonitoredProjectResponse) Reset() {
   220  	*x = ListMetricsScopesByMonitoredProjectResponse{}
   221  	if protoimpl.UnsafeEnabled {
   222  		mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[2]
   223  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   224  		ms.StoreMessageInfo(mi)
   225  	}
   226  }
   227  
   228  func (x *ListMetricsScopesByMonitoredProjectResponse) String() string {
   229  	return protoimpl.X.MessageStringOf(x)
   230  }
   231  
   232  func (*ListMetricsScopesByMonitoredProjectResponse) ProtoMessage() {}
   233  
   234  func (x *ListMetricsScopesByMonitoredProjectResponse) ProtoReflect() protoreflect.Message {
   235  	mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[2]
   236  	if protoimpl.UnsafeEnabled && x != nil {
   237  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   238  		if ms.LoadMessageInfo() == nil {
   239  			ms.StoreMessageInfo(mi)
   240  		}
   241  		return ms
   242  	}
   243  	return mi.MessageOf(x)
   244  }
   245  
   246  // Deprecated: Use ListMetricsScopesByMonitoredProjectResponse.ProtoReflect.Descriptor instead.
   247  func (*ListMetricsScopesByMonitoredProjectResponse) Descriptor() ([]byte, []int) {
   248  	return file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescGZIP(), []int{2}
   249  }
   250  
   251  func (x *ListMetricsScopesByMonitoredProjectResponse) GetMetricsScopes() []*MetricsScope {
   252  	if x != nil {
   253  		return x.MetricsScopes
   254  	}
   255  	return nil
   256  }
   257  
   258  // Request for the `CreateMonitoredProject` method.
   259  type CreateMonitoredProjectRequest struct {
   260  	state         protoimpl.MessageState
   261  	sizeCache     protoimpl.SizeCache
   262  	unknownFields protoimpl.UnknownFields
   263  
   264  	// Required. The resource name of the existing `Metrics Scope` that will monitor this
   265  	// project.
   266  	// Example:
   267  	// `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`
   268  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   269  	// Required. The initial `MonitoredProject` configuration.
   270  	// Specify only the `monitored_project.name` field. All other fields are
   271  	// ignored. The `monitored_project.name` must be in the format:
   272  	// `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`
   273  	MonitoredProject *MonitoredProject `protobuf:"bytes,2,opt,name=monitored_project,json=monitoredProject,proto3" json:"monitored_project,omitempty"`
   274  }
   275  
   276  func (x *CreateMonitoredProjectRequest) Reset() {
   277  	*x = CreateMonitoredProjectRequest{}
   278  	if protoimpl.UnsafeEnabled {
   279  		mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[3]
   280  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   281  		ms.StoreMessageInfo(mi)
   282  	}
   283  }
   284  
   285  func (x *CreateMonitoredProjectRequest) String() string {
   286  	return protoimpl.X.MessageStringOf(x)
   287  }
   288  
   289  func (*CreateMonitoredProjectRequest) ProtoMessage() {}
   290  
   291  func (x *CreateMonitoredProjectRequest) ProtoReflect() protoreflect.Message {
   292  	mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[3]
   293  	if protoimpl.UnsafeEnabled && x != nil {
   294  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   295  		if ms.LoadMessageInfo() == nil {
   296  			ms.StoreMessageInfo(mi)
   297  		}
   298  		return ms
   299  	}
   300  	return mi.MessageOf(x)
   301  }
   302  
   303  // Deprecated: Use CreateMonitoredProjectRequest.ProtoReflect.Descriptor instead.
   304  func (*CreateMonitoredProjectRequest) Descriptor() ([]byte, []int) {
   305  	return file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescGZIP(), []int{3}
   306  }
   307  
   308  func (x *CreateMonitoredProjectRequest) GetParent() string {
   309  	if x != nil {
   310  		return x.Parent
   311  	}
   312  	return ""
   313  }
   314  
   315  func (x *CreateMonitoredProjectRequest) GetMonitoredProject() *MonitoredProject {
   316  	if x != nil {
   317  		return x.MonitoredProject
   318  	}
   319  	return nil
   320  }
   321  
   322  // Request for the `DeleteMonitoredProject` method.
   323  type DeleteMonitoredProjectRequest struct {
   324  	state         protoimpl.MessageState
   325  	sizeCache     protoimpl.SizeCache
   326  	unknownFields protoimpl.UnknownFields
   327  
   328  	// Required. The resource name of the `MonitoredProject`.
   329  	// Example:
   330  	// `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`
   331  	//
   332  	// Authorization requires the following [Google
   333  	// IAM](https://cloud.google.com/iam) permissions on both the `Metrics Scope`
   334  	// and on the `MonitoredProject`: `monitoring.metricsScopes.link`
   335  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   336  }
   337  
   338  func (x *DeleteMonitoredProjectRequest) Reset() {
   339  	*x = DeleteMonitoredProjectRequest{}
   340  	if protoimpl.UnsafeEnabled {
   341  		mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[4]
   342  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   343  		ms.StoreMessageInfo(mi)
   344  	}
   345  }
   346  
   347  func (x *DeleteMonitoredProjectRequest) String() string {
   348  	return protoimpl.X.MessageStringOf(x)
   349  }
   350  
   351  func (*DeleteMonitoredProjectRequest) ProtoMessage() {}
   352  
   353  func (x *DeleteMonitoredProjectRequest) ProtoReflect() protoreflect.Message {
   354  	mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[4]
   355  	if protoimpl.UnsafeEnabled && x != nil {
   356  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   357  		if ms.LoadMessageInfo() == nil {
   358  			ms.StoreMessageInfo(mi)
   359  		}
   360  		return ms
   361  	}
   362  	return mi.MessageOf(x)
   363  }
   364  
   365  // Deprecated: Use DeleteMonitoredProjectRequest.ProtoReflect.Descriptor instead.
   366  func (*DeleteMonitoredProjectRequest) Descriptor() ([]byte, []int) {
   367  	return file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescGZIP(), []int{4}
   368  }
   369  
   370  func (x *DeleteMonitoredProjectRequest) GetName() string {
   371  	if x != nil {
   372  		return x.Name
   373  	}
   374  	return ""
   375  }
   376  
   377  // Contains metadata for longrunning operation for the edit Metrics Scope
   378  // endpoints.
   379  type OperationMetadata struct {
   380  	state         protoimpl.MessageState
   381  	sizeCache     protoimpl.SizeCache
   382  	unknownFields protoimpl.UnknownFields
   383  
   384  	// Current state of the batch operation.
   385  	State OperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.monitoring.metricsscope.v1.OperationMetadata_State" json:"state,omitempty"`
   386  	// The time when the batch request was received.
   387  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
   388  	// The time when the operation result was last updated.
   389  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
   390  }
   391  
   392  func (x *OperationMetadata) Reset() {
   393  	*x = OperationMetadata{}
   394  	if protoimpl.UnsafeEnabled {
   395  		mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[5]
   396  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   397  		ms.StoreMessageInfo(mi)
   398  	}
   399  }
   400  
   401  func (x *OperationMetadata) String() string {
   402  	return protoimpl.X.MessageStringOf(x)
   403  }
   404  
   405  func (*OperationMetadata) ProtoMessage() {}
   406  
   407  func (x *OperationMetadata) ProtoReflect() protoreflect.Message {
   408  	mi := &file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[5]
   409  	if protoimpl.UnsafeEnabled && x != nil {
   410  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   411  		if ms.LoadMessageInfo() == nil {
   412  			ms.StoreMessageInfo(mi)
   413  		}
   414  		return ms
   415  	}
   416  	return mi.MessageOf(x)
   417  }
   418  
   419  // Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
   420  func (*OperationMetadata) Descriptor() ([]byte, []int) {
   421  	return file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescGZIP(), []int{5}
   422  }
   423  
   424  func (x *OperationMetadata) GetState() OperationMetadata_State {
   425  	if x != nil {
   426  		return x.State
   427  	}
   428  	return OperationMetadata_STATE_UNSPECIFIED
   429  }
   430  
   431  func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp {
   432  	if x != nil {
   433  		return x.CreateTime
   434  	}
   435  	return nil
   436  }
   437  
   438  func (x *OperationMetadata) GetUpdateTime() *timestamppb.Timestamp {
   439  	if x != nil {
   440  		return x.UpdateTime
   441  	}
   442  	return nil
   443  }
   444  
   445  var File_google_monitoring_metricsscope_v1_metrics_scopes_proto protoreflect.FileDescriptor
   446  
   447  var file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDesc = []byte{
   448  	0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   449  	0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65,
   450  	0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x73, 0x63, 0x6f, 0x70,
   451  	0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   452  	0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72,
   453  	0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
   454  	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
   455  	0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   456  	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
   457  	0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
   458  	0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
   459  	0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
   460  	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23,
   461  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69,
   462  	0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
   463  	0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69,
   464  	0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63,
   465  	0x6f, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x73,
   466  	0x63, 0x6f, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
   467  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
   468  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x16, 0x47,
   469  	0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x65,
   470  	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
   471  	0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x6d, 0x6f, 0x6e,
   472  	0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
   473  	0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63,
   474  	0x6f, 0x70, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x73, 0x0a, 0x2a, 0x4c, 0x69, 0x73,
   475  	0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x42, 0x79,
   476  	0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   477  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x1c, 0x6d, 0x6f, 0x6e, 0x69, 0x74,
   478  	0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f,
   479  	0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
   480  	0x41, 0x02, 0x52, 0x1a, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73,
   481  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0x85,
   482  	0x01, 0x0a, 0x2b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63,
   483  	0x6f, 0x70, 0x65, 0x73, 0x42, 0x79, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50,
   484  	0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56,
   485  	0x0a, 0x0e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73,
   486  	0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   487  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69,
   488  	0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69,
   489  	0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
   490  	0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x22, 0xce, 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74,
   491  	0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
   492  	0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
   493  	0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x28,
   494  	0x0a, 0x26, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f,
   495  	0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x65, 0x74, 0x72,
   496  	0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
   497  	0x12, 0x65, 0x0a, 0x11, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x72,
   498  	0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f,
   499  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e,
   500  	0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e,
   501  	0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   502  	0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64,
   503  	0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x67, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74,
   504  	0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
   505  	0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   506  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a,
   507  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   508  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
   509  	0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   510  	0x22, 0xb2, 0x02, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65,
   511  	0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x50, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
   512  	0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
   513  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
   514  	0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
   515  	0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74,
   516  	0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61,
   517  	0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
   518  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   519  	0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
   520  	0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
   521  	0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
   522  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
   523  	0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
   524  	0x6d, 0x65, 0x22, 0x51, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53,
   525  	0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
   526  	0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12,
   527  	0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04,
   528  	0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c,
   529  	0x4c, 0x45, 0x44, 0x10, 0x04, 0x32, 0xc2, 0x09, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
   530  	0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0xb9, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4d,
   531  	0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x39, 0x2e, 0x67, 0x6f,
   532  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e,
   533  	0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e,
   534  	0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52,
   535  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   536  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69,
   537  	0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69,
   538  	0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x22, 0x3a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   539  	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
   540  	0x65, 0x3d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x62,
   541  	0x61, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73,
   542  	0x2f, 0x2a, 0x7d, 0x12, 0x94, 0x02, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72,
   543  	0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x42, 0x79, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
   544  	0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x4d, 0x2e, 0x67, 0x6f,
   545  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e,
   546  	0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e,
   547  	0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65,
   548  	0x73, 0x42, 0x79, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a,
   549  	0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4e, 0x2e, 0x67, 0x6f, 0x6f,
   550  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d,
   551  	0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
   552  	0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73,
   553  	0x42, 0x79, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65,
   554  	0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x82, 0xd3, 0xe4, 0x93,
   555  	0x02, 0x48, 0x12, 0x46, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   556  	0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
   557  	0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x3a, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69,
   558  	0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x42, 0x79, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
   559  	0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x90, 0x02, 0x0a, 0x16, 0x43,
   560  	0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72,
   561  	0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
   562  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
   563  	0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
   564  	0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   565  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   566  	0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65,
   567  	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, 0xca, 0x41, 0x25, 0x0a, 0x10, 0x4d, 0x6f,
   568  	0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x11,
   569  	0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
   570  	0x61, 0xda, 0x41, 0x18, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6d, 0x6f, 0x6e, 0x69, 0x74,
   571  	0x6f, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x82, 0xd3, 0xe4, 0x93,
   572  	0x02, 0x4b, 0x3a, 0x11, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x72,
   573  	0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
   574  	0x6e, 0x74, 0x3d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6c, 0x6f,
   575  	0x62, 0x61, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65,
   576  	0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0xed, 0x01,
   577  	0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65,
   578  	0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   579  	0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74,
   580  	0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
   581  	0x65, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a,
   582  	0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
   583  	0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
   584  	0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x72, 0xca, 0x41, 0x2a, 0x0a, 0x15,
   585  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   586  	0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   587  	0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,
   588  	0xd3, 0xe4, 0x93, 0x02, 0x38, 0x2a, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
   589  	0x3d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61,
   590  	0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2f,
   591  	0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x1a, 0xda, 0x01,
   592  	0xca, 0x41, 0x19, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f,
   593  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0xba, 0x01,
   594  	0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   595  	0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f,
   596  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68,
   597  	0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   598  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x6d,
   599  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a,
   600  	0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
   601  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
   602  	0x72, 0x69, 0x6e, 0x67, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a,
   603  	0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
   604  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
   605  	0x72, 0x69, 0x6e, 0x67, 0x2e, 0x77, 0x72, 0x69, 0x74, 0x65, 0x42, 0x90, 0x02, 0x0a, 0x25, 0x63,
   606  	0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
   607  	0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70,
   608  	0x65, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f,
   609  	0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4f, 0x63, 0x6c, 0x6f, 0x75,
   610  	0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
   611  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69,
   612  	0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x6d, 0x65,
   613  	0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x70, 0x62, 0x3b, 0x6d, 0x65, 0x74,
   614  	0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x70, 0x62, 0xaa, 0x02, 0x27, 0x47, 0x6f,
   615  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
   616  	0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f,
   617  	0x70, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43,
   618  	0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c,
   619  	0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x5c, 0x56, 0x31, 0xea,
   620  	0x02, 0x2b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
   621  	0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x74,
   622  	0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
   623  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   624  }
   625  
   626  var (
   627  	file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescOnce sync.Once
   628  	file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescData = file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDesc
   629  )
   630  
   631  func file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescGZIP() []byte {
   632  	file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescOnce.Do(func() {
   633  		file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescData)
   634  	})
   635  	return file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDescData
   636  }
   637  
   638  var file_google_monitoring_metricsscope_v1_metrics_scopes_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   639  var file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   640  var file_google_monitoring_metricsscope_v1_metrics_scopes_proto_goTypes = []interface{}{
   641  	(OperationMetadata_State)(0),                        // 0: google.monitoring.metricsscope.v1.OperationMetadata.State
   642  	(*GetMetricsScopeRequest)(nil),                      // 1: google.monitoring.metricsscope.v1.GetMetricsScopeRequest
   643  	(*ListMetricsScopesByMonitoredProjectRequest)(nil),  // 2: google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectRequest
   644  	(*ListMetricsScopesByMonitoredProjectResponse)(nil), // 3: google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectResponse
   645  	(*CreateMonitoredProjectRequest)(nil),               // 4: google.monitoring.metricsscope.v1.CreateMonitoredProjectRequest
   646  	(*DeleteMonitoredProjectRequest)(nil),               // 5: google.monitoring.metricsscope.v1.DeleteMonitoredProjectRequest
   647  	(*OperationMetadata)(nil),                           // 6: google.monitoring.metricsscope.v1.OperationMetadata
   648  	(*MetricsScope)(nil),                                // 7: google.monitoring.metricsscope.v1.MetricsScope
   649  	(*MonitoredProject)(nil),                            // 8: google.monitoring.metricsscope.v1.MonitoredProject
   650  	(*timestamppb.Timestamp)(nil),                       // 9: google.protobuf.Timestamp
   651  	(*longrunningpb.Operation)(nil),                     // 10: google.longrunning.Operation
   652  }
   653  var file_google_monitoring_metricsscope_v1_metrics_scopes_proto_depIdxs = []int32{
   654  	7,  // 0: google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectResponse.metrics_scopes:type_name -> google.monitoring.metricsscope.v1.MetricsScope
   655  	8,  // 1: google.monitoring.metricsscope.v1.CreateMonitoredProjectRequest.monitored_project:type_name -> google.monitoring.metricsscope.v1.MonitoredProject
   656  	0,  // 2: google.monitoring.metricsscope.v1.OperationMetadata.state:type_name -> google.monitoring.metricsscope.v1.OperationMetadata.State
   657  	9,  // 3: google.monitoring.metricsscope.v1.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp
   658  	9,  // 4: google.monitoring.metricsscope.v1.OperationMetadata.update_time:type_name -> google.protobuf.Timestamp
   659  	1,  // 5: google.monitoring.metricsscope.v1.MetricsScopes.GetMetricsScope:input_type -> google.monitoring.metricsscope.v1.GetMetricsScopeRequest
   660  	2,  // 6: google.monitoring.metricsscope.v1.MetricsScopes.ListMetricsScopesByMonitoredProject:input_type -> google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectRequest
   661  	4,  // 7: google.monitoring.metricsscope.v1.MetricsScopes.CreateMonitoredProject:input_type -> google.monitoring.metricsscope.v1.CreateMonitoredProjectRequest
   662  	5,  // 8: google.monitoring.metricsscope.v1.MetricsScopes.DeleteMonitoredProject:input_type -> google.monitoring.metricsscope.v1.DeleteMonitoredProjectRequest
   663  	7,  // 9: google.monitoring.metricsscope.v1.MetricsScopes.GetMetricsScope:output_type -> google.monitoring.metricsscope.v1.MetricsScope
   664  	3,  // 10: google.monitoring.metricsscope.v1.MetricsScopes.ListMetricsScopesByMonitoredProject:output_type -> google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectResponse
   665  	10, // 11: google.monitoring.metricsscope.v1.MetricsScopes.CreateMonitoredProject:output_type -> google.longrunning.Operation
   666  	10, // 12: google.monitoring.metricsscope.v1.MetricsScopes.DeleteMonitoredProject:output_type -> google.longrunning.Operation
   667  	9,  // [9:13] is the sub-list for method output_type
   668  	5,  // [5:9] is the sub-list for method input_type
   669  	5,  // [5:5] is the sub-list for extension type_name
   670  	5,  // [5:5] is the sub-list for extension extendee
   671  	0,  // [0:5] is the sub-list for field type_name
   672  }
   673  
   674  func init() { file_google_monitoring_metricsscope_v1_metrics_scopes_proto_init() }
   675  func file_google_monitoring_metricsscope_v1_metrics_scopes_proto_init() {
   676  	if File_google_monitoring_metricsscope_v1_metrics_scopes_proto != nil {
   677  		return
   678  	}
   679  	file_google_monitoring_metricsscope_v1_metrics_scope_proto_init()
   680  	if !protoimpl.UnsafeEnabled {
   681  		file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   682  			switch v := v.(*GetMetricsScopeRequest); i {
   683  			case 0:
   684  				return &v.state
   685  			case 1:
   686  				return &v.sizeCache
   687  			case 2:
   688  				return &v.unknownFields
   689  			default:
   690  				return nil
   691  			}
   692  		}
   693  		file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   694  			switch v := v.(*ListMetricsScopesByMonitoredProjectRequest); i {
   695  			case 0:
   696  				return &v.state
   697  			case 1:
   698  				return &v.sizeCache
   699  			case 2:
   700  				return &v.unknownFields
   701  			default:
   702  				return nil
   703  			}
   704  		}
   705  		file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   706  			switch v := v.(*ListMetricsScopesByMonitoredProjectResponse); i {
   707  			case 0:
   708  				return &v.state
   709  			case 1:
   710  				return &v.sizeCache
   711  			case 2:
   712  				return &v.unknownFields
   713  			default:
   714  				return nil
   715  			}
   716  		}
   717  		file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   718  			switch v := v.(*CreateMonitoredProjectRequest); i {
   719  			case 0:
   720  				return &v.state
   721  			case 1:
   722  				return &v.sizeCache
   723  			case 2:
   724  				return &v.unknownFields
   725  			default:
   726  				return nil
   727  			}
   728  		}
   729  		file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   730  			switch v := v.(*DeleteMonitoredProjectRequest); i {
   731  			case 0:
   732  				return &v.state
   733  			case 1:
   734  				return &v.sizeCache
   735  			case 2:
   736  				return &v.unknownFields
   737  			default:
   738  				return nil
   739  			}
   740  		}
   741  		file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   742  			switch v := v.(*OperationMetadata); i {
   743  			case 0:
   744  				return &v.state
   745  			case 1:
   746  				return &v.sizeCache
   747  			case 2:
   748  				return &v.unknownFields
   749  			default:
   750  				return nil
   751  			}
   752  		}
   753  	}
   754  	type x struct{}
   755  	out := protoimpl.TypeBuilder{
   756  		File: protoimpl.DescBuilder{
   757  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   758  			RawDescriptor: file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDesc,
   759  			NumEnums:      1,
   760  			NumMessages:   6,
   761  			NumExtensions: 0,
   762  			NumServices:   1,
   763  		},
   764  		GoTypes:           file_google_monitoring_metricsscope_v1_metrics_scopes_proto_goTypes,
   765  		DependencyIndexes: file_google_monitoring_metricsscope_v1_metrics_scopes_proto_depIdxs,
   766  		EnumInfos:         file_google_monitoring_metricsscope_v1_metrics_scopes_proto_enumTypes,
   767  		MessageInfos:      file_google_monitoring_metricsscope_v1_metrics_scopes_proto_msgTypes,
   768  	}.Build()
   769  	File_google_monitoring_metricsscope_v1_metrics_scopes_proto = out.File
   770  	file_google_monitoring_metricsscope_v1_metrics_scopes_proto_rawDesc = nil
   771  	file_google_monitoring_metricsscope_v1_metrics_scopes_proto_goTypes = nil
   772  	file_google_monitoring_metricsscope_v1_metrics_scopes_proto_depIdxs = nil
   773  }
   774  
   775  // Reference imports to suppress errors if they are not otherwise used.
   776  var _ context.Context
   777  var _ grpc.ClientConnInterface
   778  
   779  // This is a compile-time assertion to ensure that this generated file
   780  // is compatible with the grpc package it is being compiled against.
   781  const _ = grpc.SupportPackageIsVersion6
   782  
   783  // MetricsScopesClient is the client API for MetricsScopes service.
   784  //
   785  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   786  type MetricsScopesClient interface {
   787  	// Returns a specific `Metrics Scope`.
   788  	GetMetricsScope(ctx context.Context, in *GetMetricsScopeRequest, opts ...grpc.CallOption) (*MetricsScope, error)
   789  	// Returns a list of every `Metrics Scope` that a specific `MonitoredProject`
   790  	// has been added to. The metrics scope representing the specified monitored
   791  	// project will always be the first entry in the response.
   792  	ListMetricsScopesByMonitoredProject(ctx context.Context, in *ListMetricsScopesByMonitoredProjectRequest, opts ...grpc.CallOption) (*ListMetricsScopesByMonitoredProjectResponse, error)
   793  	// Adds a `MonitoredProject` with the given project ID
   794  	// to the specified `Metrics Scope`.
   795  	CreateMonitoredProject(ctx context.Context, in *CreateMonitoredProjectRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
   796  	// Deletes a `MonitoredProject` from the specified `Metrics Scope`.
   797  	DeleteMonitoredProject(ctx context.Context, in *DeleteMonitoredProjectRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
   798  }
   799  
   800  type metricsScopesClient struct {
   801  	cc grpc.ClientConnInterface
   802  }
   803  
   804  func NewMetricsScopesClient(cc grpc.ClientConnInterface) MetricsScopesClient {
   805  	return &metricsScopesClient{cc}
   806  }
   807  
   808  func (c *metricsScopesClient) GetMetricsScope(ctx context.Context, in *GetMetricsScopeRequest, opts ...grpc.CallOption) (*MetricsScope, error) {
   809  	out := new(MetricsScope)
   810  	err := c.cc.Invoke(ctx, "/google.monitoring.metricsscope.v1.MetricsScopes/GetMetricsScope", in, out, opts...)
   811  	if err != nil {
   812  		return nil, err
   813  	}
   814  	return out, nil
   815  }
   816  
   817  func (c *metricsScopesClient) ListMetricsScopesByMonitoredProject(ctx context.Context, in *ListMetricsScopesByMonitoredProjectRequest, opts ...grpc.CallOption) (*ListMetricsScopesByMonitoredProjectResponse, error) {
   818  	out := new(ListMetricsScopesByMonitoredProjectResponse)
   819  	err := c.cc.Invoke(ctx, "/google.monitoring.metricsscope.v1.MetricsScopes/ListMetricsScopesByMonitoredProject", in, out, opts...)
   820  	if err != nil {
   821  		return nil, err
   822  	}
   823  	return out, nil
   824  }
   825  
   826  func (c *metricsScopesClient) CreateMonitoredProject(ctx context.Context, in *CreateMonitoredProjectRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
   827  	out := new(longrunningpb.Operation)
   828  	err := c.cc.Invoke(ctx, "/google.monitoring.metricsscope.v1.MetricsScopes/CreateMonitoredProject", in, out, opts...)
   829  	if err != nil {
   830  		return nil, err
   831  	}
   832  	return out, nil
   833  }
   834  
   835  func (c *metricsScopesClient) DeleteMonitoredProject(ctx context.Context, in *DeleteMonitoredProjectRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
   836  	out := new(longrunningpb.Operation)
   837  	err := c.cc.Invoke(ctx, "/google.monitoring.metricsscope.v1.MetricsScopes/DeleteMonitoredProject", in, out, opts...)
   838  	if err != nil {
   839  		return nil, err
   840  	}
   841  	return out, nil
   842  }
   843  
   844  // MetricsScopesServer is the server API for MetricsScopes service.
   845  type MetricsScopesServer interface {
   846  	// Returns a specific `Metrics Scope`.
   847  	GetMetricsScope(context.Context, *GetMetricsScopeRequest) (*MetricsScope, error)
   848  	// Returns a list of every `Metrics Scope` that a specific `MonitoredProject`
   849  	// has been added to. The metrics scope representing the specified monitored
   850  	// project will always be the first entry in the response.
   851  	ListMetricsScopesByMonitoredProject(context.Context, *ListMetricsScopesByMonitoredProjectRequest) (*ListMetricsScopesByMonitoredProjectResponse, error)
   852  	// Adds a `MonitoredProject` with the given project ID
   853  	// to the specified `Metrics Scope`.
   854  	CreateMonitoredProject(context.Context, *CreateMonitoredProjectRequest) (*longrunningpb.Operation, error)
   855  	// Deletes a `MonitoredProject` from the specified `Metrics Scope`.
   856  	DeleteMonitoredProject(context.Context, *DeleteMonitoredProjectRequest) (*longrunningpb.Operation, error)
   857  }
   858  
   859  // UnimplementedMetricsScopesServer can be embedded to have forward compatible implementations.
   860  type UnimplementedMetricsScopesServer struct {
   861  }
   862  
   863  func (*UnimplementedMetricsScopesServer) GetMetricsScope(context.Context, *GetMetricsScopeRequest) (*MetricsScope, error) {
   864  	return nil, status.Errorf(codes.Unimplemented, "method GetMetricsScope not implemented")
   865  }
   866  func (*UnimplementedMetricsScopesServer) ListMetricsScopesByMonitoredProject(context.Context, *ListMetricsScopesByMonitoredProjectRequest) (*ListMetricsScopesByMonitoredProjectResponse, error) {
   867  	return nil, status.Errorf(codes.Unimplemented, "method ListMetricsScopesByMonitoredProject not implemented")
   868  }
   869  func (*UnimplementedMetricsScopesServer) CreateMonitoredProject(context.Context, *CreateMonitoredProjectRequest) (*longrunningpb.Operation, error) {
   870  	return nil, status.Errorf(codes.Unimplemented, "method CreateMonitoredProject not implemented")
   871  }
   872  func (*UnimplementedMetricsScopesServer) DeleteMonitoredProject(context.Context, *DeleteMonitoredProjectRequest) (*longrunningpb.Operation, error) {
   873  	return nil, status.Errorf(codes.Unimplemented, "method DeleteMonitoredProject not implemented")
   874  }
   875  
   876  func RegisterMetricsScopesServer(s *grpc.Server, srv MetricsScopesServer) {
   877  	s.RegisterService(&_MetricsScopes_serviceDesc, srv)
   878  }
   879  
   880  func _MetricsScopes_GetMetricsScope_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   881  	in := new(GetMetricsScopeRequest)
   882  	if err := dec(in); err != nil {
   883  		return nil, err
   884  	}
   885  	if interceptor == nil {
   886  		return srv.(MetricsScopesServer).GetMetricsScope(ctx, in)
   887  	}
   888  	info := &grpc.UnaryServerInfo{
   889  		Server:     srv,
   890  		FullMethod: "/google.monitoring.metricsscope.v1.MetricsScopes/GetMetricsScope",
   891  	}
   892  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   893  		return srv.(MetricsScopesServer).GetMetricsScope(ctx, req.(*GetMetricsScopeRequest))
   894  	}
   895  	return interceptor(ctx, in, info, handler)
   896  }
   897  
   898  func _MetricsScopes_ListMetricsScopesByMonitoredProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   899  	in := new(ListMetricsScopesByMonitoredProjectRequest)
   900  	if err := dec(in); err != nil {
   901  		return nil, err
   902  	}
   903  	if interceptor == nil {
   904  		return srv.(MetricsScopesServer).ListMetricsScopesByMonitoredProject(ctx, in)
   905  	}
   906  	info := &grpc.UnaryServerInfo{
   907  		Server:     srv,
   908  		FullMethod: "/google.monitoring.metricsscope.v1.MetricsScopes/ListMetricsScopesByMonitoredProject",
   909  	}
   910  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   911  		return srv.(MetricsScopesServer).ListMetricsScopesByMonitoredProject(ctx, req.(*ListMetricsScopesByMonitoredProjectRequest))
   912  	}
   913  	return interceptor(ctx, in, info, handler)
   914  }
   915  
   916  func _MetricsScopes_CreateMonitoredProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   917  	in := new(CreateMonitoredProjectRequest)
   918  	if err := dec(in); err != nil {
   919  		return nil, err
   920  	}
   921  	if interceptor == nil {
   922  		return srv.(MetricsScopesServer).CreateMonitoredProject(ctx, in)
   923  	}
   924  	info := &grpc.UnaryServerInfo{
   925  		Server:     srv,
   926  		FullMethod: "/google.monitoring.metricsscope.v1.MetricsScopes/CreateMonitoredProject",
   927  	}
   928  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   929  		return srv.(MetricsScopesServer).CreateMonitoredProject(ctx, req.(*CreateMonitoredProjectRequest))
   930  	}
   931  	return interceptor(ctx, in, info, handler)
   932  }
   933  
   934  func _MetricsScopes_DeleteMonitoredProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   935  	in := new(DeleteMonitoredProjectRequest)
   936  	if err := dec(in); err != nil {
   937  		return nil, err
   938  	}
   939  	if interceptor == nil {
   940  		return srv.(MetricsScopesServer).DeleteMonitoredProject(ctx, in)
   941  	}
   942  	info := &grpc.UnaryServerInfo{
   943  		Server:     srv,
   944  		FullMethod: "/google.monitoring.metricsscope.v1.MetricsScopes/DeleteMonitoredProject",
   945  	}
   946  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   947  		return srv.(MetricsScopesServer).DeleteMonitoredProject(ctx, req.(*DeleteMonitoredProjectRequest))
   948  	}
   949  	return interceptor(ctx, in, info, handler)
   950  }
   951  
   952  var _MetricsScopes_serviceDesc = grpc.ServiceDesc{
   953  	ServiceName: "google.monitoring.metricsscope.v1.MetricsScopes",
   954  	HandlerType: (*MetricsScopesServer)(nil),
   955  	Methods: []grpc.MethodDesc{
   956  		{
   957  			MethodName: "GetMetricsScope",
   958  			Handler:    _MetricsScopes_GetMetricsScope_Handler,
   959  		},
   960  		{
   961  			MethodName: "ListMetricsScopesByMonitoredProject",
   962  			Handler:    _MetricsScopes_ListMetricsScopesByMonitoredProject_Handler,
   963  		},
   964  		{
   965  			MethodName: "CreateMonitoredProject",
   966  			Handler:    _MetricsScopes_CreateMonitoredProject_Handler,
   967  		},
   968  		{
   969  			MethodName: "DeleteMonitoredProject",
   970  			Handler:    _MetricsScopes_DeleteMonitoredProject_Handler,
   971  		},
   972  	},
   973  	Streams:  []grpc.StreamDesc{},
   974  	Metadata: "google/monitoring/metricsscope/v1/metrics_scopes.proto",
   975  }
   976  

View as plain text