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