...

Source file src/cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.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_scope.proto
    20  
    21  package metricsscopepb
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    31  )
    32  
    33  const (
    34  	// Verify that this generated code is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    36  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    37  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    38  )
    39  
    40  // Represents a [Metrics
    41  // Scope](https://cloud.google.com/monitoring/settings#concept-scope) in Cloud
    42  // Monitoring, which specifies one or more Google projects and zero or more AWS
    43  // accounts to monitor together.
    44  type MetricsScope struct {
    45  	state         protoimpl.MessageState
    46  	sizeCache     protoimpl.SizeCache
    47  	unknownFields protoimpl.UnknownFields
    48  
    49  	// Immutable. The resource name of the Monitoring Metrics Scope.
    50  	// On input, the resource name can be specified with the
    51  	// scoping project ID or number. On output, the resource name is
    52  	// specified with the scoping project number.
    53  	// Example:
    54  	// `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`
    55  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    56  	// Output only. The time when this `Metrics Scope` was created.
    57  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    58  	// Output only. The time when this `Metrics Scope` record was last updated.
    59  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    60  	// Output only. The list of projects monitored by this `Metrics Scope`.
    61  	MonitoredProjects []*MonitoredProject `protobuf:"bytes,4,rep,name=monitored_projects,json=monitoredProjects,proto3" json:"monitored_projects,omitempty"`
    62  }
    63  
    64  func (x *MetricsScope) Reset() {
    65  	*x = MetricsScope{}
    66  	if protoimpl.UnsafeEnabled {
    67  		mi := &file_google_monitoring_metricsscope_v1_metrics_scope_proto_msgTypes[0]
    68  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    69  		ms.StoreMessageInfo(mi)
    70  	}
    71  }
    72  
    73  func (x *MetricsScope) String() string {
    74  	return protoimpl.X.MessageStringOf(x)
    75  }
    76  
    77  func (*MetricsScope) ProtoMessage() {}
    78  
    79  func (x *MetricsScope) ProtoReflect() protoreflect.Message {
    80  	mi := &file_google_monitoring_metricsscope_v1_metrics_scope_proto_msgTypes[0]
    81  	if protoimpl.UnsafeEnabled && x != nil {
    82  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    83  		if ms.LoadMessageInfo() == nil {
    84  			ms.StoreMessageInfo(mi)
    85  		}
    86  		return ms
    87  	}
    88  	return mi.MessageOf(x)
    89  }
    90  
    91  // Deprecated: Use MetricsScope.ProtoReflect.Descriptor instead.
    92  func (*MetricsScope) Descriptor() ([]byte, []int) {
    93  	return file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDescGZIP(), []int{0}
    94  }
    95  
    96  func (x *MetricsScope) GetName() string {
    97  	if x != nil {
    98  		return x.Name
    99  	}
   100  	return ""
   101  }
   102  
   103  func (x *MetricsScope) GetCreateTime() *timestamppb.Timestamp {
   104  	if x != nil {
   105  		return x.CreateTime
   106  	}
   107  	return nil
   108  }
   109  
   110  func (x *MetricsScope) GetUpdateTime() *timestamppb.Timestamp {
   111  	if x != nil {
   112  		return x.UpdateTime
   113  	}
   114  	return nil
   115  }
   116  
   117  func (x *MetricsScope) GetMonitoredProjects() []*MonitoredProject {
   118  	if x != nil {
   119  		return x.MonitoredProjects
   120  	}
   121  	return nil
   122  }
   123  
   124  // A [project being
   125  // monitored](https://cloud.google.com/monitoring/settings/multiple-projects#create-multi)
   126  // by a `Metrics Scope`.
   127  type MonitoredProject struct {
   128  	state         protoimpl.MessageState
   129  	sizeCache     protoimpl.SizeCache
   130  	unknownFields protoimpl.UnknownFields
   131  
   132  	// Immutable. The resource name of the `MonitoredProject`. On input, the resource name
   133  	// includes the scoping project ID and monitored project ID. On output, it
   134  	// contains the equivalent project numbers.
   135  	// Example:
   136  	// `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`
   137  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   138  	// Output only. The time when this `MonitoredProject` was created.
   139  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
   140  }
   141  
   142  func (x *MonitoredProject) Reset() {
   143  	*x = MonitoredProject{}
   144  	if protoimpl.UnsafeEnabled {
   145  		mi := &file_google_monitoring_metricsscope_v1_metrics_scope_proto_msgTypes[1]
   146  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   147  		ms.StoreMessageInfo(mi)
   148  	}
   149  }
   150  
   151  func (x *MonitoredProject) String() string {
   152  	return protoimpl.X.MessageStringOf(x)
   153  }
   154  
   155  func (*MonitoredProject) ProtoMessage() {}
   156  
   157  func (x *MonitoredProject) ProtoReflect() protoreflect.Message {
   158  	mi := &file_google_monitoring_metricsscope_v1_metrics_scope_proto_msgTypes[1]
   159  	if protoimpl.UnsafeEnabled && x != nil {
   160  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   161  		if ms.LoadMessageInfo() == nil {
   162  			ms.StoreMessageInfo(mi)
   163  		}
   164  		return ms
   165  	}
   166  	return mi.MessageOf(x)
   167  }
   168  
   169  // Deprecated: Use MonitoredProject.ProtoReflect.Descriptor instead.
   170  func (*MonitoredProject) Descriptor() ([]byte, []int) {
   171  	return file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDescGZIP(), []int{1}
   172  }
   173  
   174  func (x *MonitoredProject) GetName() string {
   175  	if x != nil {
   176  		return x.Name
   177  	}
   178  	return ""
   179  }
   180  
   181  func (x *MonitoredProject) GetCreateTime() *timestamppb.Timestamp {
   182  	if x != nil {
   183  		return x.CreateTime
   184  	}
   185  	return nil
   186  }
   187  
   188  var File_google_monitoring_metricsscope_v1_metrics_scope_proto protoreflect.FileDescriptor
   189  
   190  var file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDesc = []byte{
   191  	0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   192  	0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65,
   193  	0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x73, 0x63, 0x6f, 0x70,
   194  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   195  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69,
   196  	0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
   197  	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
   198  	0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
   199  	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   200  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
   201  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   202  	0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x02, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72,
   203  	0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   204  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d,
   205  	0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
   206  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   207  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
   208  	0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
   209  	0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
   210  	0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   211  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
   212  	0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
   213  	0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x67, 0x0a, 0x12, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   214  	0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
   215  	0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74,
   216  	0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f,
   217  	0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50,
   218  	0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x6d, 0x6f, 0x6e,
   219  	0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x3a, 0x5a,
   220  	0xea, 0x41, 0x57, 0x0a, 0x26, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e,
   221  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d,
   222  	0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x2d, 0x6c, 0x6f, 0x63,
   223  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x6d, 0x65,
   224  	0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x72,
   225  	0x69, 0x63, 0x73, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x7d, 0x22, 0xe1, 0x01, 0x0a, 0x10, 0x4d,
   226  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,
   227  	0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
   228  	0x41, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61,
   229  	0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
   230  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   231  	0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a,
   232  	0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x3a, 0x72, 0xea, 0x41, 0x6f, 0x0a,
   233  	0x2a, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   234  	0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
   235  	0x6f, 0x72, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x41, 0x6c, 0x6f, 0x63,
   236  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x6d, 0x65,
   237  	0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x6d, 0x65, 0x74,
   238  	0x72, 0x69, 0x63, 0x73, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a,
   239  	0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x42, 0x8f,
   240  	0x02, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f,
   241  	0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
   242  	0x73, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
   243  	0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4f, 0x63,
   244  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   245  	0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65,
   246  	0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31,
   247  	0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x70, 0x62, 0x3b,
   248  	0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x70, 0x62, 0xaa, 0x02,
   249  	0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f,
   250  	0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
   251  	0x53, 0x63, 0x6f, 0x70, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
   252  	0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   253  	0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x5c,
   254  	0x56, 0x31, 0xea, 0x02, 0x2b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f,
   255  	0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a,
   256  	0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3a, 0x3a, 0x56, 0x31,
   257  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   258  }
   259  
   260  var (
   261  	file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDescOnce sync.Once
   262  	file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDescData = file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDesc
   263  )
   264  
   265  func file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDescGZIP() []byte {
   266  	file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDescOnce.Do(func() {
   267  		file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDescData)
   268  	})
   269  	return file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDescData
   270  }
   271  
   272  var file_google_monitoring_metricsscope_v1_metrics_scope_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   273  var file_google_monitoring_metricsscope_v1_metrics_scope_proto_goTypes = []interface{}{
   274  	(*MetricsScope)(nil),          // 0: google.monitoring.metricsscope.v1.MetricsScope
   275  	(*MonitoredProject)(nil),      // 1: google.monitoring.metricsscope.v1.MonitoredProject
   276  	(*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
   277  }
   278  var file_google_monitoring_metricsscope_v1_metrics_scope_proto_depIdxs = []int32{
   279  	2, // 0: google.monitoring.metricsscope.v1.MetricsScope.create_time:type_name -> google.protobuf.Timestamp
   280  	2, // 1: google.monitoring.metricsscope.v1.MetricsScope.update_time:type_name -> google.protobuf.Timestamp
   281  	1, // 2: google.monitoring.metricsscope.v1.MetricsScope.monitored_projects:type_name -> google.monitoring.metricsscope.v1.MonitoredProject
   282  	2, // 3: google.monitoring.metricsscope.v1.MonitoredProject.create_time:type_name -> google.protobuf.Timestamp
   283  	4, // [4:4] is the sub-list for method output_type
   284  	4, // [4:4] is the sub-list for method input_type
   285  	4, // [4:4] is the sub-list for extension type_name
   286  	4, // [4:4] is the sub-list for extension extendee
   287  	0, // [0:4] is the sub-list for field type_name
   288  }
   289  
   290  func init() { file_google_monitoring_metricsscope_v1_metrics_scope_proto_init() }
   291  func file_google_monitoring_metricsscope_v1_metrics_scope_proto_init() {
   292  	if File_google_monitoring_metricsscope_v1_metrics_scope_proto != nil {
   293  		return
   294  	}
   295  	if !protoimpl.UnsafeEnabled {
   296  		file_google_monitoring_metricsscope_v1_metrics_scope_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   297  			switch v := v.(*MetricsScope); i {
   298  			case 0:
   299  				return &v.state
   300  			case 1:
   301  				return &v.sizeCache
   302  			case 2:
   303  				return &v.unknownFields
   304  			default:
   305  				return nil
   306  			}
   307  		}
   308  		file_google_monitoring_metricsscope_v1_metrics_scope_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   309  			switch v := v.(*MonitoredProject); i {
   310  			case 0:
   311  				return &v.state
   312  			case 1:
   313  				return &v.sizeCache
   314  			case 2:
   315  				return &v.unknownFields
   316  			default:
   317  				return nil
   318  			}
   319  		}
   320  	}
   321  	type x struct{}
   322  	out := protoimpl.TypeBuilder{
   323  		File: protoimpl.DescBuilder{
   324  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   325  			RawDescriptor: file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDesc,
   326  			NumEnums:      0,
   327  			NumMessages:   2,
   328  			NumExtensions: 0,
   329  			NumServices:   0,
   330  		},
   331  		GoTypes:           file_google_monitoring_metricsscope_v1_metrics_scope_proto_goTypes,
   332  		DependencyIndexes: file_google_monitoring_metricsscope_v1_metrics_scope_proto_depIdxs,
   333  		MessageInfos:      file_google_monitoring_metricsscope_v1_metrics_scope_proto_msgTypes,
   334  	}.Build()
   335  	File_google_monitoring_metricsscope_v1_metrics_scope_proto = out.File
   336  	file_google_monitoring_metricsscope_v1_metrics_scope_proto_rawDesc = nil
   337  	file_google_monitoring_metricsscope_v1_metrics_scope_proto_goTypes = nil
   338  	file_google_monitoring_metricsscope_v1_metrics_scope_proto_depIdxs = nil
   339  }
   340  

View as plain text