...

Source file src/cloud.google.com/go/monitoring/apiv3/v2/monitoringpb/metric.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/metric.proto
    20  
    21  package monitoringpb
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	label "google.golang.org/genproto/googleapis/api/label"
    28  	metric "google.golang.org/genproto/googleapis/api/metric"
    29  	monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
    30  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    31  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    32  )
    33  
    34  const (
    35  	// Verify that this generated code is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    37  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    39  )
    40  
    41  // A single data point in a time series.
    42  type Point struct {
    43  	state         protoimpl.MessageState
    44  	sizeCache     protoimpl.SizeCache
    45  	unknownFields protoimpl.UnknownFields
    46  
    47  	// The time interval to which the data point applies.  For `GAUGE` metrics,
    48  	// the start time is optional, but if it is supplied, it must equal the
    49  	// end time.  For `DELTA` metrics, the start
    50  	// and end time should specify a non-zero interval, with subsequent points
    51  	// specifying contiguous and non-overlapping intervals.  For `CUMULATIVE`
    52  	// metrics, the start and end time should specify a non-zero interval, with
    53  	// subsequent points specifying the same start time and increasing end times,
    54  	// until an event resets the cumulative value to zero and sets a new start
    55  	// time for the following points.
    56  	Interval *TimeInterval `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
    57  	// The value of the data point.
    58  	Value *TypedValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    59  }
    60  
    61  func (x *Point) Reset() {
    62  	*x = Point{}
    63  	if protoimpl.UnsafeEnabled {
    64  		mi := &file_google_monitoring_v3_metric_proto_msgTypes[0]
    65  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    66  		ms.StoreMessageInfo(mi)
    67  	}
    68  }
    69  
    70  func (x *Point) String() string {
    71  	return protoimpl.X.MessageStringOf(x)
    72  }
    73  
    74  func (*Point) ProtoMessage() {}
    75  
    76  func (x *Point) ProtoReflect() protoreflect.Message {
    77  	mi := &file_google_monitoring_v3_metric_proto_msgTypes[0]
    78  	if protoimpl.UnsafeEnabled && x != nil {
    79  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    80  		if ms.LoadMessageInfo() == nil {
    81  			ms.StoreMessageInfo(mi)
    82  		}
    83  		return ms
    84  	}
    85  	return mi.MessageOf(x)
    86  }
    87  
    88  // Deprecated: Use Point.ProtoReflect.Descriptor instead.
    89  func (*Point) Descriptor() ([]byte, []int) {
    90  	return file_google_monitoring_v3_metric_proto_rawDescGZIP(), []int{0}
    91  }
    92  
    93  func (x *Point) GetInterval() *TimeInterval {
    94  	if x != nil {
    95  		return x.Interval
    96  	}
    97  	return nil
    98  }
    99  
   100  func (x *Point) GetValue() *TypedValue {
   101  	if x != nil {
   102  		return x.Value
   103  	}
   104  	return nil
   105  }
   106  
   107  // A collection of data points that describes the time-varying values
   108  // of a metric. A time series is identified by a combination of a
   109  // fully-specified monitored resource and a fully-specified metric.
   110  // This type is used for both listing and creating time series.
   111  type TimeSeries struct {
   112  	state         protoimpl.MessageState
   113  	sizeCache     protoimpl.SizeCache
   114  	unknownFields protoimpl.UnknownFields
   115  
   116  	// The associated metric. A fully-specified metric used to identify the time
   117  	// series.
   118  	Metric *metric.Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
   119  	// The associated monitored resource.  Custom metrics can use only certain
   120  	// monitored resource types in their time series data. For more information,
   121  	// see [Monitored resources for custom
   122  	// metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
   123  	Resource *monitoredres.MonitoredResource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
   124  	// Output only. The associated monitored resource metadata. When reading a
   125  	// time series, this field will include metadata labels that are explicitly
   126  	// named in the reduction. When creating a time series, this field is ignored.
   127  	Metadata *monitoredres.MonitoredResourceMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
   128  	// The metric kind of the time series. When listing time series, this metric
   129  	// kind might be different from the metric kind of the associated metric if
   130  	// this time series is an alignment or reduction of other time series.
   131  	//
   132  	// When creating a time series, this field is optional. If present, it must be
   133  	// the same as the metric kind of the associated metric. If the associated
   134  	// metric's descriptor must be auto-created, then this field specifies the
   135  	// metric kind of the new descriptor and must be either `GAUGE` (the default)
   136  	// or `CUMULATIVE`.
   137  	MetricKind metric.MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,proto3,enum=google.api.MetricDescriptor_MetricKind" json:"metric_kind,omitempty"`
   138  	// The value type of the time series. When listing time series, this value
   139  	// type might be different from the value type of the associated metric if
   140  	// this time series is an alignment or reduction of other time series.
   141  	//
   142  	// When creating a time series, this field is optional. If present, it must be
   143  	// the same as the type of the data in the `points` field.
   144  	ValueType metric.MetricDescriptor_ValueType `protobuf:"varint,4,opt,name=value_type,json=valueType,proto3,enum=google.api.MetricDescriptor_ValueType" json:"value_type,omitempty"`
   145  	// The data points of this time series. When listing time series, points are
   146  	// returned in reverse time order.
   147  	//
   148  	// When creating a time series, this field must contain exactly one point and
   149  	// the point's type must be the same as the value type of the associated
   150  	// metric. If the associated metric's descriptor must be auto-created, then
   151  	// the value type of the descriptor is determined by the point's type, which
   152  	// must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
   153  	Points []*Point `protobuf:"bytes,5,rep,name=points,proto3" json:"points,omitempty"`
   154  	// The units in which the metric value is reported. It is only applicable
   155  	// if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
   156  	// defines the representation of the stored metric values.
   157  	Unit string `protobuf:"bytes,8,opt,name=unit,proto3" json:"unit,omitempty"`
   158  }
   159  
   160  func (x *TimeSeries) Reset() {
   161  	*x = TimeSeries{}
   162  	if protoimpl.UnsafeEnabled {
   163  		mi := &file_google_monitoring_v3_metric_proto_msgTypes[1]
   164  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   165  		ms.StoreMessageInfo(mi)
   166  	}
   167  }
   168  
   169  func (x *TimeSeries) String() string {
   170  	return protoimpl.X.MessageStringOf(x)
   171  }
   172  
   173  func (*TimeSeries) ProtoMessage() {}
   174  
   175  func (x *TimeSeries) ProtoReflect() protoreflect.Message {
   176  	mi := &file_google_monitoring_v3_metric_proto_msgTypes[1]
   177  	if protoimpl.UnsafeEnabled && x != nil {
   178  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   179  		if ms.LoadMessageInfo() == nil {
   180  			ms.StoreMessageInfo(mi)
   181  		}
   182  		return ms
   183  	}
   184  	return mi.MessageOf(x)
   185  }
   186  
   187  // Deprecated: Use TimeSeries.ProtoReflect.Descriptor instead.
   188  func (*TimeSeries) Descriptor() ([]byte, []int) {
   189  	return file_google_monitoring_v3_metric_proto_rawDescGZIP(), []int{1}
   190  }
   191  
   192  func (x *TimeSeries) GetMetric() *metric.Metric {
   193  	if x != nil {
   194  		return x.Metric
   195  	}
   196  	return nil
   197  }
   198  
   199  func (x *TimeSeries) GetResource() *monitoredres.MonitoredResource {
   200  	if x != nil {
   201  		return x.Resource
   202  	}
   203  	return nil
   204  }
   205  
   206  func (x *TimeSeries) GetMetadata() *monitoredres.MonitoredResourceMetadata {
   207  	if x != nil {
   208  		return x.Metadata
   209  	}
   210  	return nil
   211  }
   212  
   213  func (x *TimeSeries) GetMetricKind() metric.MetricDescriptor_MetricKind {
   214  	if x != nil {
   215  		return x.MetricKind
   216  	}
   217  	return metric.MetricDescriptor_MetricKind(0)
   218  }
   219  
   220  func (x *TimeSeries) GetValueType() metric.MetricDescriptor_ValueType {
   221  	if x != nil {
   222  		return x.ValueType
   223  	}
   224  	return metric.MetricDescriptor_ValueType(0)
   225  }
   226  
   227  func (x *TimeSeries) GetPoints() []*Point {
   228  	if x != nil {
   229  		return x.Points
   230  	}
   231  	return nil
   232  }
   233  
   234  func (x *TimeSeries) GetUnit() string {
   235  	if x != nil {
   236  		return x.Unit
   237  	}
   238  	return ""
   239  }
   240  
   241  // A descriptor for the labels and points in a time series.
   242  type TimeSeriesDescriptor struct {
   243  	state         protoimpl.MessageState
   244  	sizeCache     protoimpl.SizeCache
   245  	unknownFields protoimpl.UnknownFields
   246  
   247  	// Descriptors for the labels.
   248  	LabelDescriptors []*label.LabelDescriptor `protobuf:"bytes,1,rep,name=label_descriptors,json=labelDescriptors,proto3" json:"label_descriptors,omitempty"`
   249  	// Descriptors for the point data value columns.
   250  	PointDescriptors []*TimeSeriesDescriptor_ValueDescriptor `protobuf:"bytes,5,rep,name=point_descriptors,json=pointDescriptors,proto3" json:"point_descriptors,omitempty"`
   251  }
   252  
   253  func (x *TimeSeriesDescriptor) Reset() {
   254  	*x = TimeSeriesDescriptor{}
   255  	if protoimpl.UnsafeEnabled {
   256  		mi := &file_google_monitoring_v3_metric_proto_msgTypes[2]
   257  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   258  		ms.StoreMessageInfo(mi)
   259  	}
   260  }
   261  
   262  func (x *TimeSeriesDescriptor) String() string {
   263  	return protoimpl.X.MessageStringOf(x)
   264  }
   265  
   266  func (*TimeSeriesDescriptor) ProtoMessage() {}
   267  
   268  func (x *TimeSeriesDescriptor) ProtoReflect() protoreflect.Message {
   269  	mi := &file_google_monitoring_v3_metric_proto_msgTypes[2]
   270  	if protoimpl.UnsafeEnabled && x != nil {
   271  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   272  		if ms.LoadMessageInfo() == nil {
   273  			ms.StoreMessageInfo(mi)
   274  		}
   275  		return ms
   276  	}
   277  	return mi.MessageOf(x)
   278  }
   279  
   280  // Deprecated: Use TimeSeriesDescriptor.ProtoReflect.Descriptor instead.
   281  func (*TimeSeriesDescriptor) Descriptor() ([]byte, []int) {
   282  	return file_google_monitoring_v3_metric_proto_rawDescGZIP(), []int{2}
   283  }
   284  
   285  func (x *TimeSeriesDescriptor) GetLabelDescriptors() []*label.LabelDescriptor {
   286  	if x != nil {
   287  		return x.LabelDescriptors
   288  	}
   289  	return nil
   290  }
   291  
   292  func (x *TimeSeriesDescriptor) GetPointDescriptors() []*TimeSeriesDescriptor_ValueDescriptor {
   293  	if x != nil {
   294  		return x.PointDescriptors
   295  	}
   296  	return nil
   297  }
   298  
   299  // Represents the values of a time series associated with a
   300  // TimeSeriesDescriptor.
   301  type TimeSeriesData struct {
   302  	state         protoimpl.MessageState
   303  	sizeCache     protoimpl.SizeCache
   304  	unknownFields protoimpl.UnknownFields
   305  
   306  	// The values of the labels in the time series identifier, given in the same
   307  	// order as the `label_descriptors` field of the TimeSeriesDescriptor
   308  	// associated with this object. Each value must have a value of the type
   309  	// given in the corresponding entry of `label_descriptors`.
   310  	LabelValues []*LabelValue `protobuf:"bytes,1,rep,name=label_values,json=labelValues,proto3" json:"label_values,omitempty"`
   311  	// The points in the time series.
   312  	PointData []*TimeSeriesData_PointData `protobuf:"bytes,2,rep,name=point_data,json=pointData,proto3" json:"point_data,omitempty"`
   313  }
   314  
   315  func (x *TimeSeriesData) Reset() {
   316  	*x = TimeSeriesData{}
   317  	if protoimpl.UnsafeEnabled {
   318  		mi := &file_google_monitoring_v3_metric_proto_msgTypes[3]
   319  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   320  		ms.StoreMessageInfo(mi)
   321  	}
   322  }
   323  
   324  func (x *TimeSeriesData) String() string {
   325  	return protoimpl.X.MessageStringOf(x)
   326  }
   327  
   328  func (*TimeSeriesData) ProtoMessage() {}
   329  
   330  func (x *TimeSeriesData) ProtoReflect() protoreflect.Message {
   331  	mi := &file_google_monitoring_v3_metric_proto_msgTypes[3]
   332  	if protoimpl.UnsafeEnabled && x != nil {
   333  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   334  		if ms.LoadMessageInfo() == nil {
   335  			ms.StoreMessageInfo(mi)
   336  		}
   337  		return ms
   338  	}
   339  	return mi.MessageOf(x)
   340  }
   341  
   342  // Deprecated: Use TimeSeriesData.ProtoReflect.Descriptor instead.
   343  func (*TimeSeriesData) Descriptor() ([]byte, []int) {
   344  	return file_google_monitoring_v3_metric_proto_rawDescGZIP(), []int{3}
   345  }
   346  
   347  func (x *TimeSeriesData) GetLabelValues() []*LabelValue {
   348  	if x != nil {
   349  		return x.LabelValues
   350  	}
   351  	return nil
   352  }
   353  
   354  func (x *TimeSeriesData) GetPointData() []*TimeSeriesData_PointData {
   355  	if x != nil {
   356  		return x.PointData
   357  	}
   358  	return nil
   359  }
   360  
   361  // A label value.
   362  type LabelValue struct {
   363  	state         protoimpl.MessageState
   364  	sizeCache     protoimpl.SizeCache
   365  	unknownFields protoimpl.UnknownFields
   366  
   367  	// The label value can be a bool, int64, or string.
   368  	//
   369  	// Types that are assignable to Value:
   370  	//
   371  	//	*LabelValue_BoolValue
   372  	//	*LabelValue_Int64Value
   373  	//	*LabelValue_StringValue
   374  	Value isLabelValue_Value `protobuf_oneof:"value"`
   375  }
   376  
   377  func (x *LabelValue) Reset() {
   378  	*x = LabelValue{}
   379  	if protoimpl.UnsafeEnabled {
   380  		mi := &file_google_monitoring_v3_metric_proto_msgTypes[4]
   381  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   382  		ms.StoreMessageInfo(mi)
   383  	}
   384  }
   385  
   386  func (x *LabelValue) String() string {
   387  	return protoimpl.X.MessageStringOf(x)
   388  }
   389  
   390  func (*LabelValue) ProtoMessage() {}
   391  
   392  func (x *LabelValue) ProtoReflect() protoreflect.Message {
   393  	mi := &file_google_monitoring_v3_metric_proto_msgTypes[4]
   394  	if protoimpl.UnsafeEnabled && x != nil {
   395  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   396  		if ms.LoadMessageInfo() == nil {
   397  			ms.StoreMessageInfo(mi)
   398  		}
   399  		return ms
   400  	}
   401  	return mi.MessageOf(x)
   402  }
   403  
   404  // Deprecated: Use LabelValue.ProtoReflect.Descriptor instead.
   405  func (*LabelValue) Descriptor() ([]byte, []int) {
   406  	return file_google_monitoring_v3_metric_proto_rawDescGZIP(), []int{4}
   407  }
   408  
   409  func (m *LabelValue) GetValue() isLabelValue_Value {
   410  	if m != nil {
   411  		return m.Value
   412  	}
   413  	return nil
   414  }
   415  
   416  func (x *LabelValue) GetBoolValue() bool {
   417  	if x, ok := x.GetValue().(*LabelValue_BoolValue); ok {
   418  		return x.BoolValue
   419  	}
   420  	return false
   421  }
   422  
   423  func (x *LabelValue) GetInt64Value() int64 {
   424  	if x, ok := x.GetValue().(*LabelValue_Int64Value); ok {
   425  		return x.Int64Value
   426  	}
   427  	return 0
   428  }
   429  
   430  func (x *LabelValue) GetStringValue() string {
   431  	if x, ok := x.GetValue().(*LabelValue_StringValue); ok {
   432  		return x.StringValue
   433  	}
   434  	return ""
   435  }
   436  
   437  type isLabelValue_Value interface {
   438  	isLabelValue_Value()
   439  }
   440  
   441  type LabelValue_BoolValue struct {
   442  	// A bool label value.
   443  	BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
   444  }
   445  
   446  type LabelValue_Int64Value struct {
   447  	// An int64 label value.
   448  	Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"`
   449  }
   450  
   451  type LabelValue_StringValue struct {
   452  	// A string label value.
   453  	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
   454  }
   455  
   456  func (*LabelValue_BoolValue) isLabelValue_Value() {}
   457  
   458  func (*LabelValue_Int64Value) isLabelValue_Value() {}
   459  
   460  func (*LabelValue_StringValue) isLabelValue_Value() {}
   461  
   462  // An error associated with a query in the time series query language format.
   463  type QueryError struct {
   464  	state         protoimpl.MessageState
   465  	sizeCache     protoimpl.SizeCache
   466  	unknownFields protoimpl.UnknownFields
   467  
   468  	// The location of the time series query language text that this error applies
   469  	// to.
   470  	Locator *TextLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator,omitempty"`
   471  	// The error message.
   472  	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
   473  }
   474  
   475  func (x *QueryError) Reset() {
   476  	*x = QueryError{}
   477  	if protoimpl.UnsafeEnabled {
   478  		mi := &file_google_monitoring_v3_metric_proto_msgTypes[5]
   479  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   480  		ms.StoreMessageInfo(mi)
   481  	}
   482  }
   483  
   484  func (x *QueryError) String() string {
   485  	return protoimpl.X.MessageStringOf(x)
   486  }
   487  
   488  func (*QueryError) ProtoMessage() {}
   489  
   490  func (x *QueryError) ProtoReflect() protoreflect.Message {
   491  	mi := &file_google_monitoring_v3_metric_proto_msgTypes[5]
   492  	if protoimpl.UnsafeEnabled && x != nil {
   493  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   494  		if ms.LoadMessageInfo() == nil {
   495  			ms.StoreMessageInfo(mi)
   496  		}
   497  		return ms
   498  	}
   499  	return mi.MessageOf(x)
   500  }
   501  
   502  // Deprecated: Use QueryError.ProtoReflect.Descriptor instead.
   503  func (*QueryError) Descriptor() ([]byte, []int) {
   504  	return file_google_monitoring_v3_metric_proto_rawDescGZIP(), []int{5}
   505  }
   506  
   507  func (x *QueryError) GetLocator() *TextLocator {
   508  	if x != nil {
   509  		return x.Locator
   510  	}
   511  	return nil
   512  }
   513  
   514  func (x *QueryError) GetMessage() string {
   515  	if x != nil {
   516  		return x.Message
   517  	}
   518  	return ""
   519  }
   520  
   521  // A locator for text. Indicates a particular part of the text of a request or
   522  // of an object referenced in the request.
   523  //
   524  // For example, suppose the request field `text` contains:
   525  //
   526  //	text: "The quick brown fox jumps over the lazy dog."
   527  //
   528  // Then the locator:
   529  //
   530  //	source: "text"
   531  //	start_position {
   532  //	  line: 1
   533  //	  column: 17
   534  //	}
   535  //	end_position {
   536  //	  line: 1
   537  //	  column: 19
   538  //	}
   539  //
   540  // refers to the part of the text: "fox".
   541  type TextLocator struct {
   542  	state         protoimpl.MessageState
   543  	sizeCache     protoimpl.SizeCache
   544  	unknownFields protoimpl.UnknownFields
   545  
   546  	// The source of the text. The source may be a field in the request, in which
   547  	// case its format is the format of the
   548  	// google.rpc.BadRequest.FieldViolation.field field in
   549  	// https://cloud.google.com/apis/design/errors#error_details. It may also be
   550  	// be a source other than the request field (e.g. a macro definition
   551  	// referenced in the text of the query), in which case this is the name of
   552  	// the source (e.g. the macro name).
   553  	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
   554  	// The position of the first byte within the text.
   555  	StartPosition *TextLocator_Position `protobuf:"bytes,2,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
   556  	// The position of the last byte within the text.
   557  	EndPosition *TextLocator_Position `protobuf:"bytes,3,opt,name=end_position,json=endPosition,proto3" json:"end_position,omitempty"`
   558  	// If `source`, `start_position`, and `end_position` describe a call on
   559  	// some object (e.g. a macro in the time series query language text) and a
   560  	// location is to be designated in that object's text, `nested_locator`
   561  	// identifies the location within that object.
   562  	NestedLocator *TextLocator `protobuf:"bytes,4,opt,name=nested_locator,json=nestedLocator,proto3" json:"nested_locator,omitempty"`
   563  	// When `nested_locator` is set, this field gives the reason for the nesting.
   564  	// Usually, the reason is a macro invocation. In that case, the macro name
   565  	// (including the leading '@') signals the location of the macro call
   566  	// in the text and a macro argument name (including the leading '$') signals
   567  	// the location of the macro argument inside the macro body that got
   568  	// substituted away.
   569  	NestingReason string `protobuf:"bytes,5,opt,name=nesting_reason,json=nestingReason,proto3" json:"nesting_reason,omitempty"`
   570  }
   571  
   572  func (x *TextLocator) Reset() {
   573  	*x = TextLocator{}
   574  	if protoimpl.UnsafeEnabled {
   575  		mi := &file_google_monitoring_v3_metric_proto_msgTypes[6]
   576  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   577  		ms.StoreMessageInfo(mi)
   578  	}
   579  }
   580  
   581  func (x *TextLocator) String() string {
   582  	return protoimpl.X.MessageStringOf(x)
   583  }
   584  
   585  func (*TextLocator) ProtoMessage() {}
   586  
   587  func (x *TextLocator) ProtoReflect() protoreflect.Message {
   588  	mi := &file_google_monitoring_v3_metric_proto_msgTypes[6]
   589  	if protoimpl.UnsafeEnabled && x != nil {
   590  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   591  		if ms.LoadMessageInfo() == nil {
   592  			ms.StoreMessageInfo(mi)
   593  		}
   594  		return ms
   595  	}
   596  	return mi.MessageOf(x)
   597  }
   598  
   599  // Deprecated: Use TextLocator.ProtoReflect.Descriptor instead.
   600  func (*TextLocator) Descriptor() ([]byte, []int) {
   601  	return file_google_monitoring_v3_metric_proto_rawDescGZIP(), []int{6}
   602  }
   603  
   604  func (x *TextLocator) GetSource() string {
   605  	if x != nil {
   606  		return x.Source
   607  	}
   608  	return ""
   609  }
   610  
   611  func (x *TextLocator) GetStartPosition() *TextLocator_Position {
   612  	if x != nil {
   613  		return x.StartPosition
   614  	}
   615  	return nil
   616  }
   617  
   618  func (x *TextLocator) GetEndPosition() *TextLocator_Position {
   619  	if x != nil {
   620  		return x.EndPosition
   621  	}
   622  	return nil
   623  }
   624  
   625  func (x *TextLocator) GetNestedLocator() *TextLocator {
   626  	if x != nil {
   627  		return x.NestedLocator
   628  	}
   629  	return nil
   630  }
   631  
   632  func (x *TextLocator) GetNestingReason() string {
   633  	if x != nil {
   634  		return x.NestingReason
   635  	}
   636  	return ""
   637  }
   638  
   639  // A descriptor for the value columns in a data point.
   640  type TimeSeriesDescriptor_ValueDescriptor struct {
   641  	state         protoimpl.MessageState
   642  	sizeCache     protoimpl.SizeCache
   643  	unknownFields protoimpl.UnknownFields
   644  
   645  	// The value key.
   646  	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   647  	// The value type.
   648  	ValueType metric.MetricDescriptor_ValueType `protobuf:"varint,2,opt,name=value_type,json=valueType,proto3,enum=google.api.MetricDescriptor_ValueType" json:"value_type,omitempty"`
   649  	// The value stream kind.
   650  	MetricKind metric.MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,proto3,enum=google.api.MetricDescriptor_MetricKind" json:"metric_kind,omitempty"`
   651  	// The unit in which `time_series` point values are reported. `unit`
   652  	// follows the UCUM format for units as seen in
   653  	// https://unitsofmeasure.org/ucum.html.
   654  	// `unit` is only valid if `value_type` is INTEGER, DOUBLE, DISTRIBUTION.
   655  	Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"`
   656  }
   657  
   658  func (x *TimeSeriesDescriptor_ValueDescriptor) Reset() {
   659  	*x = TimeSeriesDescriptor_ValueDescriptor{}
   660  	if protoimpl.UnsafeEnabled {
   661  		mi := &file_google_monitoring_v3_metric_proto_msgTypes[7]
   662  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   663  		ms.StoreMessageInfo(mi)
   664  	}
   665  }
   666  
   667  func (x *TimeSeriesDescriptor_ValueDescriptor) String() string {
   668  	return protoimpl.X.MessageStringOf(x)
   669  }
   670  
   671  func (*TimeSeriesDescriptor_ValueDescriptor) ProtoMessage() {}
   672  
   673  func (x *TimeSeriesDescriptor_ValueDescriptor) ProtoReflect() protoreflect.Message {
   674  	mi := &file_google_monitoring_v3_metric_proto_msgTypes[7]
   675  	if protoimpl.UnsafeEnabled && x != nil {
   676  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   677  		if ms.LoadMessageInfo() == nil {
   678  			ms.StoreMessageInfo(mi)
   679  		}
   680  		return ms
   681  	}
   682  	return mi.MessageOf(x)
   683  }
   684  
   685  // Deprecated: Use TimeSeriesDescriptor_ValueDescriptor.ProtoReflect.Descriptor instead.
   686  func (*TimeSeriesDescriptor_ValueDescriptor) Descriptor() ([]byte, []int) {
   687  	return file_google_monitoring_v3_metric_proto_rawDescGZIP(), []int{2, 0}
   688  }
   689  
   690  func (x *TimeSeriesDescriptor_ValueDescriptor) GetKey() string {
   691  	if x != nil {
   692  		return x.Key
   693  	}
   694  	return ""
   695  }
   696  
   697  func (x *TimeSeriesDescriptor_ValueDescriptor) GetValueType() metric.MetricDescriptor_ValueType {
   698  	if x != nil {
   699  		return x.ValueType
   700  	}
   701  	return metric.MetricDescriptor_ValueType(0)
   702  }
   703  
   704  func (x *TimeSeriesDescriptor_ValueDescriptor) GetMetricKind() metric.MetricDescriptor_MetricKind {
   705  	if x != nil {
   706  		return x.MetricKind
   707  	}
   708  	return metric.MetricDescriptor_MetricKind(0)
   709  }
   710  
   711  func (x *TimeSeriesDescriptor_ValueDescriptor) GetUnit() string {
   712  	if x != nil {
   713  		return x.Unit
   714  	}
   715  	return ""
   716  }
   717  
   718  // A point's value columns and time interval. Each point has one or more
   719  // point values corresponding to the entries in `point_descriptors` field in
   720  // the TimeSeriesDescriptor associated with this object.
   721  type TimeSeriesData_PointData struct {
   722  	state         protoimpl.MessageState
   723  	sizeCache     protoimpl.SizeCache
   724  	unknownFields protoimpl.UnknownFields
   725  
   726  	// The values that make up the point.
   727  	Values []*TypedValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
   728  	// The time interval associated with the point.
   729  	TimeInterval *TimeInterval `protobuf:"bytes,2,opt,name=time_interval,json=timeInterval,proto3" json:"time_interval,omitempty"`
   730  }
   731  
   732  func (x *TimeSeriesData_PointData) Reset() {
   733  	*x = TimeSeriesData_PointData{}
   734  	if protoimpl.UnsafeEnabled {
   735  		mi := &file_google_monitoring_v3_metric_proto_msgTypes[8]
   736  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   737  		ms.StoreMessageInfo(mi)
   738  	}
   739  }
   740  
   741  func (x *TimeSeriesData_PointData) String() string {
   742  	return protoimpl.X.MessageStringOf(x)
   743  }
   744  
   745  func (*TimeSeriesData_PointData) ProtoMessage() {}
   746  
   747  func (x *TimeSeriesData_PointData) ProtoReflect() protoreflect.Message {
   748  	mi := &file_google_monitoring_v3_metric_proto_msgTypes[8]
   749  	if protoimpl.UnsafeEnabled && x != nil {
   750  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   751  		if ms.LoadMessageInfo() == nil {
   752  			ms.StoreMessageInfo(mi)
   753  		}
   754  		return ms
   755  	}
   756  	return mi.MessageOf(x)
   757  }
   758  
   759  // Deprecated: Use TimeSeriesData_PointData.ProtoReflect.Descriptor instead.
   760  func (*TimeSeriesData_PointData) Descriptor() ([]byte, []int) {
   761  	return file_google_monitoring_v3_metric_proto_rawDescGZIP(), []int{3, 0}
   762  }
   763  
   764  func (x *TimeSeriesData_PointData) GetValues() []*TypedValue {
   765  	if x != nil {
   766  		return x.Values
   767  	}
   768  	return nil
   769  }
   770  
   771  func (x *TimeSeriesData_PointData) GetTimeInterval() *TimeInterval {
   772  	if x != nil {
   773  		return x.TimeInterval
   774  	}
   775  	return nil
   776  }
   777  
   778  // The position of a byte within the text.
   779  type TextLocator_Position struct {
   780  	state         protoimpl.MessageState
   781  	sizeCache     protoimpl.SizeCache
   782  	unknownFields protoimpl.UnknownFields
   783  
   784  	// The line, starting with 1, where the byte is positioned.
   785  	Line int32 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
   786  	// The column within the line, starting with 1, where the byte is
   787  	// positioned. This is a byte index even though the text is UTF-8.
   788  	Column int32 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
   789  }
   790  
   791  func (x *TextLocator_Position) Reset() {
   792  	*x = TextLocator_Position{}
   793  	if protoimpl.UnsafeEnabled {
   794  		mi := &file_google_monitoring_v3_metric_proto_msgTypes[9]
   795  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   796  		ms.StoreMessageInfo(mi)
   797  	}
   798  }
   799  
   800  func (x *TextLocator_Position) String() string {
   801  	return protoimpl.X.MessageStringOf(x)
   802  }
   803  
   804  func (*TextLocator_Position) ProtoMessage() {}
   805  
   806  func (x *TextLocator_Position) ProtoReflect() protoreflect.Message {
   807  	mi := &file_google_monitoring_v3_metric_proto_msgTypes[9]
   808  	if protoimpl.UnsafeEnabled && x != nil {
   809  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   810  		if ms.LoadMessageInfo() == nil {
   811  			ms.StoreMessageInfo(mi)
   812  		}
   813  		return ms
   814  	}
   815  	return mi.MessageOf(x)
   816  }
   817  
   818  // Deprecated: Use TextLocator_Position.ProtoReflect.Descriptor instead.
   819  func (*TextLocator_Position) Descriptor() ([]byte, []int) {
   820  	return file_google_monitoring_v3_metric_proto_rawDescGZIP(), []int{6, 0}
   821  }
   822  
   823  func (x *TextLocator_Position) GetLine() int32 {
   824  	if x != nil {
   825  		return x.Line
   826  	}
   827  	return 0
   828  }
   829  
   830  func (x *TextLocator_Position) GetColumn() int32 {
   831  	if x != nil {
   832  		return x.Column
   833  	}
   834  	return 0
   835  }
   836  
   837  var File_google_monitoring_v3_metric_proto protoreflect.FileDescriptor
   838  
   839  var file_google_monitoring_v3_metric_proto_rawDesc = []byte{
   840  	0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   841  	0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x70, 0x72,
   842  	0x6f, 0x74, 0x6f, 0x12, 0x14, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69,
   843  	0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x1a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   844  	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   845  	0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x65,
   846  	0x74, 0x72, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67,
   847  	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64,
   848  	0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   849  	0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   850  	0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
   851  	0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x05, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x08, 0x69,
   852  	0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e,
   853  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e,
   854  	0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
   855  	0x6c, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x36, 0x0a, 0x05, 0x76,
   856  	0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f,
   857  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   858  	0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61,
   859  	0x6c, 0x75, 0x65, 0x22, 0x90, 0x03, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69,
   860  	0x65, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01,
   861  	0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e,
   862  	0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x39,
   863  	0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   864  	0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f,
   865  	0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52,
   866  	0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x6d, 0x65, 0x74,
   867  	0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f,
   868  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   869  	0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
   870  	0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x48, 0x0a, 0x0b,
   871  	0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
   872  	0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d,
   873  	0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e,
   874  	0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72,
   875  	0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x45, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
   876  	0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f,
   877  	0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65,
   878  	0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79,
   879  	0x70, 0x65, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a,
   880  	0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
   881  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e,
   882  	0x67, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e,
   883  	0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
   884  	0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0x94, 0x03, 0x0a, 0x14, 0x54, 0x69, 0x6d, 0x65, 0x53,
   885  	0x65, 0x72, 0x69, 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12,
   886  	0x48, 0x0a, 0x11, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
   887  	0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f,
   888  	0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x44, 0x65, 0x73,
   889  	0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x10, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x44, 0x65,
   890  	0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x67, 0x0a, 0x11, 0x70, 0x6f, 0x69,
   891  	0x6e, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x05,
   892  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f,
   893  	0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65,
   894  	0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
   895  	0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
   896  	0x52, 0x10, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
   897  	0x72, 0x73, 0x1a, 0xc8, 0x01, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63,
   898  	0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
   899  	0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x45, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75,
   900  	0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67,
   901  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
   902  	0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65,
   903  	0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
   904  	0x48, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03,
   905  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
   906  	0x69, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
   907  	0x6f, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0a, 0x6d,
   908  	0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69,
   909  	0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0xb5, 0x02,
   910  	0x0a, 0x0e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61,
   911  	0x12, 0x43, 0x0a, 0x0c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
   912  	0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   913  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x61,
   914  	0x62, 0x65, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x56,
   915  	0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x64,
   916  	0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   917  	0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33,
   918  	0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, 0x2e,
   919  	0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x70, 0x6f, 0x69, 0x6e, 0x74,
   920  	0x44, 0x61, 0x74, 0x61, 0x1a, 0x8e, 0x01, 0x0a, 0x09, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61,
   921  	0x74, 0x61, 0x12, 0x38, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
   922  	0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69,
   923  	0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56,
   924  	0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x0d,
   925  	0x74, 0x69, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20,
   926  	0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e,
   927  	0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x49,
   928  	0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74,
   929  	0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0x7e, 0x0a, 0x0a, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x56, 0x61,
   930  	0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75,
   931  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56,
   932  	0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61,
   933  	0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6e, 0x74,
   934  	0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e,
   935  	0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
   936  	0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05,
   937  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x63, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x72,
   938  	0x72, 0x6f, 0x72, 0x12, 0x3b, 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01,
   939  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f,
   940  	0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x65, 0x78, 0x74,
   941  	0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72,
   942  	0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   943  	0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xf0, 0x02, 0x0a, 0x0b, 0x54,
   944  	0x65, 0x78, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f,
   945  	0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72,
   946  	0x63, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69,
   947  	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f,
   948  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   949  	0x33, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x50, 0x6f,
   950  	0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x73,
   951  	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x6f, 0x73,
   952  	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f,
   953  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e,
   954  	0x76, 0x33, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x50,
   955  	0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x50, 0x6f, 0x73, 0x69,
   956  	0x74, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x0e, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6c,
   957  	0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67,
   958  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67,
   959  	0x2e, 0x76, 0x33, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x52,
   960  	0x0d, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x25,
   961  	0x0a, 0x0e, 0x6e, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e,
   962  	0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52,
   963  	0x65, 0x61, 0x73, 0x6f, 0x6e, 0x1a, 0x36, 0x0a, 0x08, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
   964  	0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
   965  	0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18,
   966  	0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x42, 0xc6, 0x01,
   967  	0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e,
   968  	0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x42, 0x0b, 0x4d, 0x65, 0x74, 0x72,
   969  	0x69, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   970  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d,
   971  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x33, 0x2f,
   972  	0x76, 0x32, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x70, 0x62, 0x3b,
   973  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47,
   974  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69,
   975  	0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67,
   976  	0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   977  	0x69, 0x6e, 0x67, 0x5c, 0x56, 0x33, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
   978  	0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   979  	0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   980  }
   981  
   982  var (
   983  	file_google_monitoring_v3_metric_proto_rawDescOnce sync.Once
   984  	file_google_monitoring_v3_metric_proto_rawDescData = file_google_monitoring_v3_metric_proto_rawDesc
   985  )
   986  
   987  func file_google_monitoring_v3_metric_proto_rawDescGZIP() []byte {
   988  	file_google_monitoring_v3_metric_proto_rawDescOnce.Do(func() {
   989  		file_google_monitoring_v3_metric_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_v3_metric_proto_rawDescData)
   990  	})
   991  	return file_google_monitoring_v3_metric_proto_rawDescData
   992  }
   993  
   994  var file_google_monitoring_v3_metric_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
   995  var file_google_monitoring_v3_metric_proto_goTypes = []interface{}{
   996  	(*Point)(nil),                                  // 0: google.monitoring.v3.Point
   997  	(*TimeSeries)(nil),                             // 1: google.monitoring.v3.TimeSeries
   998  	(*TimeSeriesDescriptor)(nil),                   // 2: google.monitoring.v3.TimeSeriesDescriptor
   999  	(*TimeSeriesData)(nil),                         // 3: google.monitoring.v3.TimeSeriesData
  1000  	(*LabelValue)(nil),                             // 4: google.monitoring.v3.LabelValue
  1001  	(*QueryError)(nil),                             // 5: google.monitoring.v3.QueryError
  1002  	(*TextLocator)(nil),                            // 6: google.monitoring.v3.TextLocator
  1003  	(*TimeSeriesDescriptor_ValueDescriptor)(nil),   // 7: google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor
  1004  	(*TimeSeriesData_PointData)(nil),               // 8: google.monitoring.v3.TimeSeriesData.PointData
  1005  	(*TextLocator_Position)(nil),                   // 9: google.monitoring.v3.TextLocator.Position
  1006  	(*TimeInterval)(nil),                           // 10: google.monitoring.v3.TimeInterval
  1007  	(*TypedValue)(nil),                             // 11: google.monitoring.v3.TypedValue
  1008  	(*metric.Metric)(nil),                          // 12: google.api.Metric
  1009  	(*monitoredres.MonitoredResource)(nil),         // 13: google.api.MonitoredResource
  1010  	(*monitoredres.MonitoredResourceMetadata)(nil), // 14: google.api.MonitoredResourceMetadata
  1011  	(metric.MetricDescriptor_MetricKind)(0),        // 15: google.api.MetricDescriptor.MetricKind
  1012  	(metric.MetricDescriptor_ValueType)(0),         // 16: google.api.MetricDescriptor.ValueType
  1013  	(*label.LabelDescriptor)(nil),                  // 17: google.api.LabelDescriptor
  1014  }
  1015  var file_google_monitoring_v3_metric_proto_depIdxs = []int32{
  1016  	10, // 0: google.monitoring.v3.Point.interval:type_name -> google.monitoring.v3.TimeInterval
  1017  	11, // 1: google.monitoring.v3.Point.value:type_name -> google.monitoring.v3.TypedValue
  1018  	12, // 2: google.monitoring.v3.TimeSeries.metric:type_name -> google.api.Metric
  1019  	13, // 3: google.monitoring.v3.TimeSeries.resource:type_name -> google.api.MonitoredResource
  1020  	14, // 4: google.monitoring.v3.TimeSeries.metadata:type_name -> google.api.MonitoredResourceMetadata
  1021  	15, // 5: google.monitoring.v3.TimeSeries.metric_kind:type_name -> google.api.MetricDescriptor.MetricKind
  1022  	16, // 6: google.monitoring.v3.TimeSeries.value_type:type_name -> google.api.MetricDescriptor.ValueType
  1023  	0,  // 7: google.monitoring.v3.TimeSeries.points:type_name -> google.monitoring.v3.Point
  1024  	17, // 8: google.monitoring.v3.TimeSeriesDescriptor.label_descriptors:type_name -> google.api.LabelDescriptor
  1025  	7,  // 9: google.monitoring.v3.TimeSeriesDescriptor.point_descriptors:type_name -> google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor
  1026  	4,  // 10: google.monitoring.v3.TimeSeriesData.label_values:type_name -> google.monitoring.v3.LabelValue
  1027  	8,  // 11: google.monitoring.v3.TimeSeriesData.point_data:type_name -> google.monitoring.v3.TimeSeriesData.PointData
  1028  	6,  // 12: google.monitoring.v3.QueryError.locator:type_name -> google.monitoring.v3.TextLocator
  1029  	9,  // 13: google.monitoring.v3.TextLocator.start_position:type_name -> google.monitoring.v3.TextLocator.Position
  1030  	9,  // 14: google.monitoring.v3.TextLocator.end_position:type_name -> google.monitoring.v3.TextLocator.Position
  1031  	6,  // 15: google.monitoring.v3.TextLocator.nested_locator:type_name -> google.monitoring.v3.TextLocator
  1032  	16, // 16: google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.value_type:type_name -> google.api.MetricDescriptor.ValueType
  1033  	15, // 17: google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.metric_kind:type_name -> google.api.MetricDescriptor.MetricKind
  1034  	11, // 18: google.monitoring.v3.TimeSeriesData.PointData.values:type_name -> google.monitoring.v3.TypedValue
  1035  	10, // 19: google.monitoring.v3.TimeSeriesData.PointData.time_interval:type_name -> google.monitoring.v3.TimeInterval
  1036  	20, // [20:20] is the sub-list for method output_type
  1037  	20, // [20:20] is the sub-list for method input_type
  1038  	20, // [20:20] is the sub-list for extension type_name
  1039  	20, // [20:20] is the sub-list for extension extendee
  1040  	0,  // [0:20] is the sub-list for field type_name
  1041  }
  1042  
  1043  func init() { file_google_monitoring_v3_metric_proto_init() }
  1044  func file_google_monitoring_v3_metric_proto_init() {
  1045  	if File_google_monitoring_v3_metric_proto != nil {
  1046  		return
  1047  	}
  1048  	file_google_monitoring_v3_common_proto_init()
  1049  	if !protoimpl.UnsafeEnabled {
  1050  		file_google_monitoring_v3_metric_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1051  			switch v := v.(*Point); i {
  1052  			case 0:
  1053  				return &v.state
  1054  			case 1:
  1055  				return &v.sizeCache
  1056  			case 2:
  1057  				return &v.unknownFields
  1058  			default:
  1059  				return nil
  1060  			}
  1061  		}
  1062  		file_google_monitoring_v3_metric_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1063  			switch v := v.(*TimeSeries); i {
  1064  			case 0:
  1065  				return &v.state
  1066  			case 1:
  1067  				return &v.sizeCache
  1068  			case 2:
  1069  				return &v.unknownFields
  1070  			default:
  1071  				return nil
  1072  			}
  1073  		}
  1074  		file_google_monitoring_v3_metric_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1075  			switch v := v.(*TimeSeriesDescriptor); i {
  1076  			case 0:
  1077  				return &v.state
  1078  			case 1:
  1079  				return &v.sizeCache
  1080  			case 2:
  1081  				return &v.unknownFields
  1082  			default:
  1083  				return nil
  1084  			}
  1085  		}
  1086  		file_google_monitoring_v3_metric_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1087  			switch v := v.(*TimeSeriesData); i {
  1088  			case 0:
  1089  				return &v.state
  1090  			case 1:
  1091  				return &v.sizeCache
  1092  			case 2:
  1093  				return &v.unknownFields
  1094  			default:
  1095  				return nil
  1096  			}
  1097  		}
  1098  		file_google_monitoring_v3_metric_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1099  			switch v := v.(*LabelValue); i {
  1100  			case 0:
  1101  				return &v.state
  1102  			case 1:
  1103  				return &v.sizeCache
  1104  			case 2:
  1105  				return &v.unknownFields
  1106  			default:
  1107  				return nil
  1108  			}
  1109  		}
  1110  		file_google_monitoring_v3_metric_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1111  			switch v := v.(*QueryError); i {
  1112  			case 0:
  1113  				return &v.state
  1114  			case 1:
  1115  				return &v.sizeCache
  1116  			case 2:
  1117  				return &v.unknownFields
  1118  			default:
  1119  				return nil
  1120  			}
  1121  		}
  1122  		file_google_monitoring_v3_metric_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1123  			switch v := v.(*TextLocator); i {
  1124  			case 0:
  1125  				return &v.state
  1126  			case 1:
  1127  				return &v.sizeCache
  1128  			case 2:
  1129  				return &v.unknownFields
  1130  			default:
  1131  				return nil
  1132  			}
  1133  		}
  1134  		file_google_monitoring_v3_metric_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1135  			switch v := v.(*TimeSeriesDescriptor_ValueDescriptor); i {
  1136  			case 0:
  1137  				return &v.state
  1138  			case 1:
  1139  				return &v.sizeCache
  1140  			case 2:
  1141  				return &v.unknownFields
  1142  			default:
  1143  				return nil
  1144  			}
  1145  		}
  1146  		file_google_monitoring_v3_metric_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1147  			switch v := v.(*TimeSeriesData_PointData); i {
  1148  			case 0:
  1149  				return &v.state
  1150  			case 1:
  1151  				return &v.sizeCache
  1152  			case 2:
  1153  				return &v.unknownFields
  1154  			default:
  1155  				return nil
  1156  			}
  1157  		}
  1158  		file_google_monitoring_v3_metric_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1159  			switch v := v.(*TextLocator_Position); i {
  1160  			case 0:
  1161  				return &v.state
  1162  			case 1:
  1163  				return &v.sizeCache
  1164  			case 2:
  1165  				return &v.unknownFields
  1166  			default:
  1167  				return nil
  1168  			}
  1169  		}
  1170  	}
  1171  	file_google_monitoring_v3_metric_proto_msgTypes[4].OneofWrappers = []interface{}{
  1172  		(*LabelValue_BoolValue)(nil),
  1173  		(*LabelValue_Int64Value)(nil),
  1174  		(*LabelValue_StringValue)(nil),
  1175  	}
  1176  	type x struct{}
  1177  	out := protoimpl.TypeBuilder{
  1178  		File: protoimpl.DescBuilder{
  1179  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1180  			RawDescriptor: file_google_monitoring_v3_metric_proto_rawDesc,
  1181  			NumEnums:      0,
  1182  			NumMessages:   10,
  1183  			NumExtensions: 0,
  1184  			NumServices:   0,
  1185  		},
  1186  		GoTypes:           file_google_monitoring_v3_metric_proto_goTypes,
  1187  		DependencyIndexes: file_google_monitoring_v3_metric_proto_depIdxs,
  1188  		MessageInfos:      file_google_monitoring_v3_metric_proto_msgTypes,
  1189  	}.Build()
  1190  	File_google_monitoring_v3_metric_proto = out.File
  1191  	file_google_monitoring_v3_metric_proto_rawDesc = nil
  1192  	file_google_monitoring_v3_metric_proto_goTypes = nil
  1193  	file_google_monitoring_v3_metric_proto_depIdxs = nil
  1194  }
  1195  

View as plain text