...

Source file src/cloud.google.com/go/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go

Documentation: cloud.google.com/go/bigquery/migration/apiv2/migrationpb

     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.32.0
    18  // 	protoc        v4.25.2
    19  // source: google/cloud/bigquery/migration/v2/migration_metrics.proto
    20  
    21  package migrationpb
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	distribution "google.golang.org/genproto/googleapis/api/distribution"
    29  	metric "google.golang.org/genproto/googleapis/api/metric"
    30  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    31  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    32  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    33  )
    34  
    35  const (
    36  	// Verify that this generated code is sufficiently up-to-date.
    37  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    38  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    39  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    40  )
    41  
    42  // The metrics object for a SubTask.
    43  type TimeSeries struct {
    44  	state         protoimpl.MessageState
    45  	sizeCache     protoimpl.SizeCache
    46  	unknownFields protoimpl.UnknownFields
    47  
    48  	// Required. The name of the metric.
    49  	//
    50  	// If the metric is not known by the service yet, it will be auto-created.
    51  	Metric string `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
    52  	// Required. The value type of the time series.
    53  	ValueType metric.MetricDescriptor_ValueType `protobuf:"varint,2,opt,name=value_type,json=valueType,proto3,enum=google.api.MetricDescriptor_ValueType" json:"value_type,omitempty"`
    54  	// Optional. The metric kind of the time series.
    55  	//
    56  	// If present, it must be the same as the metric kind of the associated
    57  	// metric. If the associated metric's descriptor must be auto-created, then
    58  	// this field specifies the metric kind of the new descriptor and must be
    59  	// either `GAUGE` (the default) or `CUMULATIVE`.
    60  	MetricKind metric.MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,proto3,enum=google.api.MetricDescriptor_MetricKind" json:"metric_kind,omitempty"`
    61  	// Required. The data points of this time series. When listing time series,
    62  	// points are returned in reverse time order.
    63  	//
    64  	// When creating a time series, this field must contain exactly one point and
    65  	// the point's type must be the same as the value type of the associated
    66  	// metric. If the associated metric's descriptor must be auto-created, then
    67  	// the value type of the descriptor is determined by the point's type, which
    68  	// must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
    69  	Points []*Point `protobuf:"bytes,4,rep,name=points,proto3" json:"points,omitempty"`
    70  }
    71  
    72  func (x *TimeSeries) Reset() {
    73  	*x = TimeSeries{}
    74  	if protoimpl.UnsafeEnabled {
    75  		mi := &file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[0]
    76  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    77  		ms.StoreMessageInfo(mi)
    78  	}
    79  }
    80  
    81  func (x *TimeSeries) String() string {
    82  	return protoimpl.X.MessageStringOf(x)
    83  }
    84  
    85  func (*TimeSeries) ProtoMessage() {}
    86  
    87  func (x *TimeSeries) ProtoReflect() protoreflect.Message {
    88  	mi := &file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[0]
    89  	if protoimpl.UnsafeEnabled && x != nil {
    90  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    91  		if ms.LoadMessageInfo() == nil {
    92  			ms.StoreMessageInfo(mi)
    93  		}
    94  		return ms
    95  	}
    96  	return mi.MessageOf(x)
    97  }
    98  
    99  // Deprecated: Use TimeSeries.ProtoReflect.Descriptor instead.
   100  func (*TimeSeries) Descriptor() ([]byte, []int) {
   101  	return file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescGZIP(), []int{0}
   102  }
   103  
   104  func (x *TimeSeries) GetMetric() string {
   105  	if x != nil {
   106  		return x.Metric
   107  	}
   108  	return ""
   109  }
   110  
   111  func (x *TimeSeries) GetValueType() metric.MetricDescriptor_ValueType {
   112  	if x != nil {
   113  		return x.ValueType
   114  	}
   115  	return metric.MetricDescriptor_ValueType(0)
   116  }
   117  
   118  func (x *TimeSeries) GetMetricKind() metric.MetricDescriptor_MetricKind {
   119  	if x != nil {
   120  		return x.MetricKind
   121  	}
   122  	return metric.MetricDescriptor_MetricKind(0)
   123  }
   124  
   125  func (x *TimeSeries) GetPoints() []*Point {
   126  	if x != nil {
   127  		return x.Points
   128  	}
   129  	return nil
   130  }
   131  
   132  // A single data point in a time series.
   133  type Point struct {
   134  	state         protoimpl.MessageState
   135  	sizeCache     protoimpl.SizeCache
   136  	unknownFields protoimpl.UnknownFields
   137  
   138  	// The time interval to which the data point applies.  For `GAUGE` metrics,
   139  	// the start time does not need to be supplied, but if it is supplied, it must
   140  	// equal the end time.  For `DELTA` metrics, the start and end time should
   141  	// specify a non-zero interval, with subsequent points specifying contiguous
   142  	// and non-overlapping intervals.  For `CUMULATIVE` metrics, the start and end
   143  	// time should specify a non-zero interval, with subsequent points specifying
   144  	// the same start time and increasing end times, until an event resets the
   145  	// cumulative value to zero and sets a new start time for the following
   146  	// points.
   147  	Interval *TimeInterval `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
   148  	// The value of the data point.
   149  	Value *TypedValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
   150  }
   151  
   152  func (x *Point) Reset() {
   153  	*x = Point{}
   154  	if protoimpl.UnsafeEnabled {
   155  		mi := &file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[1]
   156  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   157  		ms.StoreMessageInfo(mi)
   158  	}
   159  }
   160  
   161  func (x *Point) String() string {
   162  	return protoimpl.X.MessageStringOf(x)
   163  }
   164  
   165  func (*Point) ProtoMessage() {}
   166  
   167  func (x *Point) ProtoReflect() protoreflect.Message {
   168  	mi := &file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[1]
   169  	if protoimpl.UnsafeEnabled && x != nil {
   170  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   171  		if ms.LoadMessageInfo() == nil {
   172  			ms.StoreMessageInfo(mi)
   173  		}
   174  		return ms
   175  	}
   176  	return mi.MessageOf(x)
   177  }
   178  
   179  // Deprecated: Use Point.ProtoReflect.Descriptor instead.
   180  func (*Point) Descriptor() ([]byte, []int) {
   181  	return file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescGZIP(), []int{1}
   182  }
   183  
   184  func (x *Point) GetInterval() *TimeInterval {
   185  	if x != nil {
   186  		return x.Interval
   187  	}
   188  	return nil
   189  }
   190  
   191  func (x *Point) GetValue() *TypedValue {
   192  	if x != nil {
   193  		return x.Value
   194  	}
   195  	return nil
   196  }
   197  
   198  // A time interval extending just after a start time through an end time.
   199  // If the start time is the same as the end time, then the interval
   200  // represents a single point in time.
   201  type TimeInterval struct {
   202  	state         protoimpl.MessageState
   203  	sizeCache     protoimpl.SizeCache
   204  	unknownFields protoimpl.UnknownFields
   205  
   206  	// Optional. The beginning of the time interval.  The default value
   207  	// for the start time is the end time. The start time must not be
   208  	// later than the end time.
   209  	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
   210  	// Required. The end of the time interval.
   211  	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
   212  }
   213  
   214  func (x *TimeInterval) Reset() {
   215  	*x = TimeInterval{}
   216  	if protoimpl.UnsafeEnabled {
   217  		mi := &file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[2]
   218  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   219  		ms.StoreMessageInfo(mi)
   220  	}
   221  }
   222  
   223  func (x *TimeInterval) String() string {
   224  	return protoimpl.X.MessageStringOf(x)
   225  }
   226  
   227  func (*TimeInterval) ProtoMessage() {}
   228  
   229  func (x *TimeInterval) ProtoReflect() protoreflect.Message {
   230  	mi := &file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[2]
   231  	if protoimpl.UnsafeEnabled && x != nil {
   232  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   233  		if ms.LoadMessageInfo() == nil {
   234  			ms.StoreMessageInfo(mi)
   235  		}
   236  		return ms
   237  	}
   238  	return mi.MessageOf(x)
   239  }
   240  
   241  // Deprecated: Use TimeInterval.ProtoReflect.Descriptor instead.
   242  func (*TimeInterval) Descriptor() ([]byte, []int) {
   243  	return file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescGZIP(), []int{2}
   244  }
   245  
   246  func (x *TimeInterval) GetStartTime() *timestamppb.Timestamp {
   247  	if x != nil {
   248  		return x.StartTime
   249  	}
   250  	return nil
   251  }
   252  
   253  func (x *TimeInterval) GetEndTime() *timestamppb.Timestamp {
   254  	if x != nil {
   255  		return x.EndTime
   256  	}
   257  	return nil
   258  }
   259  
   260  // A single strongly-typed value.
   261  type TypedValue struct {
   262  	state         protoimpl.MessageState
   263  	sizeCache     protoimpl.SizeCache
   264  	unknownFields protoimpl.UnknownFields
   265  
   266  	// The typed value field.
   267  	//
   268  	// Types that are assignable to Value:
   269  	//
   270  	//	*TypedValue_BoolValue
   271  	//	*TypedValue_Int64Value
   272  	//	*TypedValue_DoubleValue
   273  	//	*TypedValue_StringValue
   274  	//	*TypedValue_DistributionValue
   275  	Value isTypedValue_Value `protobuf_oneof:"value"`
   276  }
   277  
   278  func (x *TypedValue) Reset() {
   279  	*x = TypedValue{}
   280  	if protoimpl.UnsafeEnabled {
   281  		mi := &file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[3]
   282  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   283  		ms.StoreMessageInfo(mi)
   284  	}
   285  }
   286  
   287  func (x *TypedValue) String() string {
   288  	return protoimpl.X.MessageStringOf(x)
   289  }
   290  
   291  func (*TypedValue) ProtoMessage() {}
   292  
   293  func (x *TypedValue) ProtoReflect() protoreflect.Message {
   294  	mi := &file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[3]
   295  	if protoimpl.UnsafeEnabled && x != nil {
   296  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   297  		if ms.LoadMessageInfo() == nil {
   298  			ms.StoreMessageInfo(mi)
   299  		}
   300  		return ms
   301  	}
   302  	return mi.MessageOf(x)
   303  }
   304  
   305  // Deprecated: Use TypedValue.ProtoReflect.Descriptor instead.
   306  func (*TypedValue) Descriptor() ([]byte, []int) {
   307  	return file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescGZIP(), []int{3}
   308  }
   309  
   310  func (m *TypedValue) GetValue() isTypedValue_Value {
   311  	if m != nil {
   312  		return m.Value
   313  	}
   314  	return nil
   315  }
   316  
   317  func (x *TypedValue) GetBoolValue() bool {
   318  	if x, ok := x.GetValue().(*TypedValue_BoolValue); ok {
   319  		return x.BoolValue
   320  	}
   321  	return false
   322  }
   323  
   324  func (x *TypedValue) GetInt64Value() int64 {
   325  	if x, ok := x.GetValue().(*TypedValue_Int64Value); ok {
   326  		return x.Int64Value
   327  	}
   328  	return 0
   329  }
   330  
   331  func (x *TypedValue) GetDoubleValue() float64 {
   332  	if x, ok := x.GetValue().(*TypedValue_DoubleValue); ok {
   333  		return x.DoubleValue
   334  	}
   335  	return 0
   336  }
   337  
   338  func (x *TypedValue) GetStringValue() string {
   339  	if x, ok := x.GetValue().(*TypedValue_StringValue); ok {
   340  		return x.StringValue
   341  	}
   342  	return ""
   343  }
   344  
   345  func (x *TypedValue) GetDistributionValue() *distribution.Distribution {
   346  	if x, ok := x.GetValue().(*TypedValue_DistributionValue); ok {
   347  		return x.DistributionValue
   348  	}
   349  	return nil
   350  }
   351  
   352  type isTypedValue_Value interface {
   353  	isTypedValue_Value()
   354  }
   355  
   356  type TypedValue_BoolValue struct {
   357  	// A Boolean value: `true` or `false`.
   358  	BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
   359  }
   360  
   361  type TypedValue_Int64Value struct {
   362  	// A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
   363  	Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"`
   364  }
   365  
   366  type TypedValue_DoubleValue struct {
   367  	// A 64-bit double-precision floating-point number. Its magnitude
   368  	// is approximately `+/-10^(+/-300)` and it has 16 significant digits of
   369  	// precision.
   370  	DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
   371  }
   372  
   373  type TypedValue_StringValue struct {
   374  	// A variable-length string value.
   375  	StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
   376  }
   377  
   378  type TypedValue_DistributionValue struct {
   379  	// A distribution value.
   380  	DistributionValue *distribution.Distribution `protobuf:"bytes,5,opt,name=distribution_value,json=distributionValue,proto3,oneof"`
   381  }
   382  
   383  func (*TypedValue_BoolValue) isTypedValue_Value() {}
   384  
   385  func (*TypedValue_Int64Value) isTypedValue_Value() {}
   386  
   387  func (*TypedValue_DoubleValue) isTypedValue_Value() {}
   388  
   389  func (*TypedValue_StringValue) isTypedValue_Value() {}
   390  
   391  func (*TypedValue_DistributionValue) isTypedValue_Value() {}
   392  
   393  var File_google_cloud_bigquery_migration_v2_migration_metrics_proto protoreflect.FileDescriptor
   394  
   395  var file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDesc = []byte{
   396  	0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
   397  	0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
   398  	0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d,
   399  	0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f,
   400  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
   401  	0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32,
   402  	0x1a, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73,
   403  	0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   404  	0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
   405  	0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   406  	0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x65, 0x74,
   407  	0x72, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   408  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
   409  	0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x02, 0x0a, 0x0a, 0x54,
   410  	0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x6d, 0x65, 0x74,
   411  	0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06,
   412  	0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x4a, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
   413  	0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f,
   414  	0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65,
   415  	0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79,
   416  	0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79,
   417  	0x70, 0x65, 0x12, 0x4d, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6b, 0x69, 0x6e,
   418  	0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   419  	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72,
   420  	0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64,
   421  	0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e,
   422  	0x64, 0x12, 0x46, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
   423  	0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   424  	0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74,
   425  	0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41,
   426  	0x02, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x05, 0x50, 0x6f,
   427  	0x69, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18,
   428  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   429  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69,
   430  	0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x49,
   431  	0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
   432  	0x6c, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   433  	0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
   434  	0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69,
   435  	0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65,
   436  	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x0c, 0x54, 0x69, 0x6d, 0x65,
   437  	0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72,
   438  	0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
   439  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
   440  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x73,
   441  	0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f,
   442  	0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
   443  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
   444  	0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x65, 0x6e, 0x64,
   445  	0x54, 0x69, 0x6d, 0x65, 0x22, 0xee, 0x01, 0x0a, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61,
   446  	0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75,
   447  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56,
   448  	0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61,
   449  	0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6e, 0x74,
   450  	0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c,
   451  	0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52,
   452  	0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c,
   453  	0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01,
   454  	0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75,
   455  	0x65, 0x12, 0x49, 0x0a, 0x12, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f,
   456  	0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e,
   457  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72,
   458  	0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x11, 0x64, 0x69, 0x73, 0x74, 0x72,
   459  	0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05,
   460  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0xd1, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
   461  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
   462  	0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32,
   463  	0x42, 0x15, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69,
   464  	0x63, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   465  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62,
   466  	0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
   467  	0x6e, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
   468  	0x6e, 0x70, 0x62, 0x3b, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0xaa,
   469  	0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42,
   470  	0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
   471  	0x6e, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
   472  	0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x5c, 0x4d, 0x69, 0x67,
   473  	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   474  	0x33,
   475  }
   476  
   477  var (
   478  	file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescOnce sync.Once
   479  	file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescData = file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDesc
   480  )
   481  
   482  func file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescGZIP() []byte {
   483  	file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescOnce.Do(func() {
   484  		file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescData)
   485  	})
   486  	return file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDescData
   487  }
   488  
   489  var file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   490  var file_google_cloud_bigquery_migration_v2_migration_metrics_proto_goTypes = []interface{}{
   491  	(*TimeSeries)(nil),                      // 0: google.cloud.bigquery.migration.v2.TimeSeries
   492  	(*Point)(nil),                           // 1: google.cloud.bigquery.migration.v2.Point
   493  	(*TimeInterval)(nil),                    // 2: google.cloud.bigquery.migration.v2.TimeInterval
   494  	(*TypedValue)(nil),                      // 3: google.cloud.bigquery.migration.v2.TypedValue
   495  	(metric.MetricDescriptor_ValueType)(0),  // 4: google.api.MetricDescriptor.ValueType
   496  	(metric.MetricDescriptor_MetricKind)(0), // 5: google.api.MetricDescriptor.MetricKind
   497  	(*timestamppb.Timestamp)(nil),           // 6: google.protobuf.Timestamp
   498  	(*distribution.Distribution)(nil),       // 7: google.api.Distribution
   499  }
   500  var file_google_cloud_bigquery_migration_v2_migration_metrics_proto_depIdxs = []int32{
   501  	4, // 0: google.cloud.bigquery.migration.v2.TimeSeries.value_type:type_name -> google.api.MetricDescriptor.ValueType
   502  	5, // 1: google.cloud.bigquery.migration.v2.TimeSeries.metric_kind:type_name -> google.api.MetricDescriptor.MetricKind
   503  	1, // 2: google.cloud.bigquery.migration.v2.TimeSeries.points:type_name -> google.cloud.bigquery.migration.v2.Point
   504  	2, // 3: google.cloud.bigquery.migration.v2.Point.interval:type_name -> google.cloud.bigquery.migration.v2.TimeInterval
   505  	3, // 4: google.cloud.bigquery.migration.v2.Point.value:type_name -> google.cloud.bigquery.migration.v2.TypedValue
   506  	6, // 5: google.cloud.bigquery.migration.v2.TimeInterval.start_time:type_name -> google.protobuf.Timestamp
   507  	6, // 6: google.cloud.bigquery.migration.v2.TimeInterval.end_time:type_name -> google.protobuf.Timestamp
   508  	7, // 7: google.cloud.bigquery.migration.v2.TypedValue.distribution_value:type_name -> google.api.Distribution
   509  	8, // [8:8] is the sub-list for method output_type
   510  	8, // [8:8] is the sub-list for method input_type
   511  	8, // [8:8] is the sub-list for extension type_name
   512  	8, // [8:8] is the sub-list for extension extendee
   513  	0, // [0:8] is the sub-list for field type_name
   514  }
   515  
   516  func init() { file_google_cloud_bigquery_migration_v2_migration_metrics_proto_init() }
   517  func file_google_cloud_bigquery_migration_v2_migration_metrics_proto_init() {
   518  	if File_google_cloud_bigquery_migration_v2_migration_metrics_proto != nil {
   519  		return
   520  	}
   521  	if !protoimpl.UnsafeEnabled {
   522  		file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   523  			switch v := v.(*TimeSeries); i {
   524  			case 0:
   525  				return &v.state
   526  			case 1:
   527  				return &v.sizeCache
   528  			case 2:
   529  				return &v.unknownFields
   530  			default:
   531  				return nil
   532  			}
   533  		}
   534  		file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   535  			switch v := v.(*Point); i {
   536  			case 0:
   537  				return &v.state
   538  			case 1:
   539  				return &v.sizeCache
   540  			case 2:
   541  				return &v.unknownFields
   542  			default:
   543  				return nil
   544  			}
   545  		}
   546  		file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   547  			switch v := v.(*TimeInterval); i {
   548  			case 0:
   549  				return &v.state
   550  			case 1:
   551  				return &v.sizeCache
   552  			case 2:
   553  				return &v.unknownFields
   554  			default:
   555  				return nil
   556  			}
   557  		}
   558  		file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   559  			switch v := v.(*TypedValue); i {
   560  			case 0:
   561  				return &v.state
   562  			case 1:
   563  				return &v.sizeCache
   564  			case 2:
   565  				return &v.unknownFields
   566  			default:
   567  				return nil
   568  			}
   569  		}
   570  	}
   571  	file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes[3].OneofWrappers = []interface{}{
   572  		(*TypedValue_BoolValue)(nil),
   573  		(*TypedValue_Int64Value)(nil),
   574  		(*TypedValue_DoubleValue)(nil),
   575  		(*TypedValue_StringValue)(nil),
   576  		(*TypedValue_DistributionValue)(nil),
   577  	}
   578  	type x struct{}
   579  	out := protoimpl.TypeBuilder{
   580  		File: protoimpl.DescBuilder{
   581  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   582  			RawDescriptor: file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDesc,
   583  			NumEnums:      0,
   584  			NumMessages:   4,
   585  			NumExtensions: 0,
   586  			NumServices:   0,
   587  		},
   588  		GoTypes:           file_google_cloud_bigquery_migration_v2_migration_metrics_proto_goTypes,
   589  		DependencyIndexes: file_google_cloud_bigquery_migration_v2_migration_metrics_proto_depIdxs,
   590  		MessageInfos:      file_google_cloud_bigquery_migration_v2_migration_metrics_proto_msgTypes,
   591  	}.Build()
   592  	File_google_cloud_bigquery_migration_v2_migration_metrics_proto = out.File
   593  	file_google_cloud_bigquery_migration_v2_migration_metrics_proto_rawDesc = nil
   594  	file_google_cloud_bigquery_migration_v2_migration_metrics_proto_goTypes = nil
   595  	file_google_cloud_bigquery_migration_v2_migration_metrics_proto_depIdxs = nil
   596  }
   597  

View as plain text