...

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

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

     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.32.0
    18  // 	protoc        v4.25.2
    19  // source: google/cloud/bigquery/migration/v2alpha/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, points are
    62  	// 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_v2alpha_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_v2alpha_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_v2alpha_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_v2alpha_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_v2alpha_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_v2alpha_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_v2alpha_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_v2alpha_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_v2alpha_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_v2alpha_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_v2alpha_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_v2alpha_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_v2alpha_migration_metrics_proto protoreflect.FileDescriptor
   394  
   395  var file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDesc = []byte{
   396  	0x0a, 0x3f, 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, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74,
   399  	0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   400  	0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
   401  	0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69,
   402  	0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1d, 0x67, 0x6f, 0x6f, 0x67,
   403  	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
   404  	0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   405  	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
   406  	0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67,
   407  	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x70, 0x72,
   408  	0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   409  	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
   410  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x02, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72,
   411  	0x69, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20,
   412  	0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
   413  	0x12, 0x4a, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
   414  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
   415  	0x69, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
   416  	0x6f, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41,
   417  	0x02, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4d, 0x0a, 0x0b,
   418  	0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
   419  	0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d,
   420  	0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e,
   421  	0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
   422  	0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x4b, 0x0a, 0x06, 0x70,
   423  	0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f,
   424  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
   425  	0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32,
   426  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02,
   427  	0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x05, 0x50, 0x6f, 0x69,
   428  	0x6e, 0x74, 0x12, 0x51, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01,
   429  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
   430  	0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67,
   431  	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54,
   432  	0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x08, 0x69, 0x6e, 0x74,
   433  	0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x49, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
   434  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
   435  	0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67,
   436  	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54,
   437  	0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
   438  	0x22, 0x8a, 0x01, 0x0a, 0x0c, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
   439  	0x6c, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
   440  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   441  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   442  	0x70, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d,
   443  	0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20,
   444  	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   445  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42,
   446  	0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xee, 0x01,
   447  	0x0a, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a,
   448  	0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
   449  	0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a,
   450  	0x0b, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
   451  	0x28, 0x03, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65,
   452  	0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
   453  	0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
   454  	0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f,
   455  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73,
   456  	0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x49, 0x0a, 0x12, 0x64, 0x69,
   457  	0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
   458  	0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   459  	0x61, 0x70, 0x69, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e,
   460  	0x48, 0x00, 0x52, 0x11, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e,
   461  	0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0xe5,
   462  	0x01, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
   463  	0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67,
   464  	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x15,
   465  	0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
   466  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
   467  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67,
   468  	0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
   469  	0x61, 0x70, 0x69, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61,
   470  	0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   471  	0x70, 0x62, 0xaa, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75,
   472  	0x64, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61,
   473  	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x27, 0x47,
   474  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x67, 0x51,
   475  	0x75, 0x65, 0x72, 0x79, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56,
   476  	0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   477  }
   478  
   479  var (
   480  	file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescOnce sync.Once
   481  	file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescData = file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDesc
   482  )
   483  
   484  func file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescGZIP() []byte {
   485  	file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescOnce.Do(func() {
   486  		file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescData)
   487  	})
   488  	return file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescData
   489  }
   490  
   491  var file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   492  var file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_goTypes = []interface{}{
   493  	(*TimeSeries)(nil),                      // 0: google.cloud.bigquery.migration.v2alpha.TimeSeries
   494  	(*Point)(nil),                           // 1: google.cloud.bigquery.migration.v2alpha.Point
   495  	(*TimeInterval)(nil),                    // 2: google.cloud.bigquery.migration.v2alpha.TimeInterval
   496  	(*TypedValue)(nil),                      // 3: google.cloud.bigquery.migration.v2alpha.TypedValue
   497  	(metric.MetricDescriptor_ValueType)(0),  // 4: google.api.MetricDescriptor.ValueType
   498  	(metric.MetricDescriptor_MetricKind)(0), // 5: google.api.MetricDescriptor.MetricKind
   499  	(*timestamppb.Timestamp)(nil),           // 6: google.protobuf.Timestamp
   500  	(*distribution.Distribution)(nil),       // 7: google.api.Distribution
   501  }
   502  var file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_depIdxs = []int32{
   503  	4, // 0: google.cloud.bigquery.migration.v2alpha.TimeSeries.value_type:type_name -> google.api.MetricDescriptor.ValueType
   504  	5, // 1: google.cloud.bigquery.migration.v2alpha.TimeSeries.metric_kind:type_name -> google.api.MetricDescriptor.MetricKind
   505  	1, // 2: google.cloud.bigquery.migration.v2alpha.TimeSeries.points:type_name -> google.cloud.bigquery.migration.v2alpha.Point
   506  	2, // 3: google.cloud.bigquery.migration.v2alpha.Point.interval:type_name -> google.cloud.bigquery.migration.v2alpha.TimeInterval
   507  	3, // 4: google.cloud.bigquery.migration.v2alpha.Point.value:type_name -> google.cloud.bigquery.migration.v2alpha.TypedValue
   508  	6, // 5: google.cloud.bigquery.migration.v2alpha.TimeInterval.start_time:type_name -> google.protobuf.Timestamp
   509  	6, // 6: google.cloud.bigquery.migration.v2alpha.TimeInterval.end_time:type_name -> google.protobuf.Timestamp
   510  	7, // 7: google.cloud.bigquery.migration.v2alpha.TypedValue.distribution_value:type_name -> google.api.Distribution
   511  	8, // [8:8] is the sub-list for method output_type
   512  	8, // [8:8] is the sub-list for method input_type
   513  	8, // [8:8] is the sub-list for extension type_name
   514  	8, // [8:8] is the sub-list for extension extendee
   515  	0, // [0:8] is the sub-list for field type_name
   516  }
   517  
   518  func init() { file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_init() }
   519  func file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_init() {
   520  	if File_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto != nil {
   521  		return
   522  	}
   523  	if !protoimpl.UnsafeEnabled {
   524  		file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   525  			switch v := v.(*TimeSeries); i {
   526  			case 0:
   527  				return &v.state
   528  			case 1:
   529  				return &v.sizeCache
   530  			case 2:
   531  				return &v.unknownFields
   532  			default:
   533  				return nil
   534  			}
   535  		}
   536  		file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   537  			switch v := v.(*Point); i {
   538  			case 0:
   539  				return &v.state
   540  			case 1:
   541  				return &v.sizeCache
   542  			case 2:
   543  				return &v.unknownFields
   544  			default:
   545  				return nil
   546  			}
   547  		}
   548  		file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   549  			switch v := v.(*TimeInterval); i {
   550  			case 0:
   551  				return &v.state
   552  			case 1:
   553  				return &v.sizeCache
   554  			case 2:
   555  				return &v.unknownFields
   556  			default:
   557  				return nil
   558  			}
   559  		}
   560  		file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   561  			switch v := v.(*TypedValue); i {
   562  			case 0:
   563  				return &v.state
   564  			case 1:
   565  				return &v.sizeCache
   566  			case 2:
   567  				return &v.unknownFields
   568  			default:
   569  				return nil
   570  			}
   571  		}
   572  	}
   573  	file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[3].OneofWrappers = []interface{}{
   574  		(*TypedValue_BoolValue)(nil),
   575  		(*TypedValue_Int64Value)(nil),
   576  		(*TypedValue_DoubleValue)(nil),
   577  		(*TypedValue_StringValue)(nil),
   578  		(*TypedValue_DistributionValue)(nil),
   579  	}
   580  	type x struct{}
   581  	out := protoimpl.TypeBuilder{
   582  		File: protoimpl.DescBuilder{
   583  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   584  			RawDescriptor: file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDesc,
   585  			NumEnums:      0,
   586  			NumMessages:   4,
   587  			NumExtensions: 0,
   588  			NumServices:   0,
   589  		},
   590  		GoTypes:           file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_goTypes,
   591  		DependencyIndexes: file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_depIdxs,
   592  		MessageInfos:      file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes,
   593  	}.Build()
   594  	File_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto = out.File
   595  	file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDesc = nil
   596  	file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_goTypes = nil
   597  	file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_depIdxs = nil
   598  }
   599  

View as plain text