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.26.0 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 _ "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 35const ( 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. 43type 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 72func (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 81func (x *TimeSeries) String() string { 82 return protoimpl.X.MessageStringOf(x) 83} 84 85func (*TimeSeries) ProtoMessage() {} 86 87func (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. 100func (*TimeSeries) Descriptor() ([]byte, []int) { 101 return file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescGZIP(), []int{0} 102} 103 104func (x *TimeSeries) GetMetric() string { 105 if x != nil { 106 return x.Metric 107 } 108 return "" 109} 110 111func (x *TimeSeries) GetValueType() metric.MetricDescriptor_ValueType { 112 if x != nil { 113 return x.ValueType 114 } 115 return metric.MetricDescriptor_VALUE_TYPE_UNSPECIFIED 116} 117 118func (x *TimeSeries) GetMetricKind() metric.MetricDescriptor_MetricKind { 119 if x != nil { 120 return x.MetricKind 121 } 122 return metric.MetricDescriptor_METRIC_KIND_UNSPECIFIED 123} 124 125func (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. 133type 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 152func (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 161func (x *Point) String() string { 162 return protoimpl.X.MessageStringOf(x) 163} 164 165func (*Point) ProtoMessage() {} 166 167func (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. 180func (*Point) Descriptor() ([]byte, []int) { 181 return file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescGZIP(), []int{1} 182} 183 184func (x *Point) GetInterval() *TimeInterval { 185 if x != nil { 186 return x.Interval 187 } 188 return nil 189} 190 191func (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. 201type 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 214func (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 223func (x *TimeInterval) String() string { 224 return protoimpl.X.MessageStringOf(x) 225} 226 227func (*TimeInterval) ProtoMessage() {} 228 229func (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. 242func (*TimeInterval) Descriptor() ([]byte, []int) { 243 return file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescGZIP(), []int{2} 244} 245 246func (x *TimeInterval) GetStartTime() *timestamppb.Timestamp { 247 if x != nil { 248 return x.StartTime 249 } 250 return nil 251} 252 253func (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. 261type 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 // *TypedValue_BoolValue 270 // *TypedValue_Int64Value 271 // *TypedValue_DoubleValue 272 // *TypedValue_StringValue 273 // *TypedValue_DistributionValue 274 Value isTypedValue_Value `protobuf_oneof:"value"` 275} 276 277func (x *TypedValue) Reset() { 278 *x = TypedValue{} 279 if protoimpl.UnsafeEnabled { 280 mi := &file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[3] 281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 282 ms.StoreMessageInfo(mi) 283 } 284} 285 286func (x *TypedValue) String() string { 287 return protoimpl.X.MessageStringOf(x) 288} 289 290func (*TypedValue) ProtoMessage() {} 291 292func (x *TypedValue) ProtoReflect() protoreflect.Message { 293 mi := &file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[3] 294 if protoimpl.UnsafeEnabled && x != nil { 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 296 if ms.LoadMessageInfo() == nil { 297 ms.StoreMessageInfo(mi) 298 } 299 return ms 300 } 301 return mi.MessageOf(x) 302} 303 304// Deprecated: Use TypedValue.ProtoReflect.Descriptor instead. 305func (*TypedValue) Descriptor() ([]byte, []int) { 306 return file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescGZIP(), []int{3} 307} 308 309func (m *TypedValue) GetValue() isTypedValue_Value { 310 if m != nil { 311 return m.Value 312 } 313 return nil 314} 315 316func (x *TypedValue) GetBoolValue() bool { 317 if x, ok := x.GetValue().(*TypedValue_BoolValue); ok { 318 return x.BoolValue 319 } 320 return false 321} 322 323func (x *TypedValue) GetInt64Value() int64 { 324 if x, ok := x.GetValue().(*TypedValue_Int64Value); ok { 325 return x.Int64Value 326 } 327 return 0 328} 329 330func (x *TypedValue) GetDoubleValue() float64 { 331 if x, ok := x.GetValue().(*TypedValue_DoubleValue); ok { 332 return x.DoubleValue 333 } 334 return 0 335} 336 337func (x *TypedValue) GetStringValue() string { 338 if x, ok := x.GetValue().(*TypedValue_StringValue); ok { 339 return x.StringValue 340 } 341 return "" 342} 343 344func (x *TypedValue) GetDistributionValue() *distribution.Distribution { 345 if x, ok := x.GetValue().(*TypedValue_DistributionValue); ok { 346 return x.DistributionValue 347 } 348 return nil 349} 350 351type isTypedValue_Value interface { 352 isTypedValue_Value() 353} 354 355type TypedValue_BoolValue struct { 356 // A Boolean value: `true` or `false`. 357 BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"` 358} 359 360type TypedValue_Int64Value struct { 361 // A 64-bit integer. Its range is approximately +/-9.2x10^18. 362 Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"` 363} 364 365type TypedValue_DoubleValue struct { 366 // A 64-bit double-precision floating-point number. Its magnitude 367 // is approximately +/-10^(+/-300) and it has 16 significant digits of 368 // precision. 369 DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` 370} 371 372type TypedValue_StringValue struct { 373 // A variable-length string value. 374 StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"` 375} 376 377type TypedValue_DistributionValue struct { 378 // A distribution value. 379 DistributionValue *distribution.Distribution `protobuf:"bytes,5,opt,name=distribution_value,json=distributionValue,proto3,oneof"` 380} 381 382func (*TypedValue_BoolValue) isTypedValue_Value() {} 383 384func (*TypedValue_Int64Value) isTypedValue_Value() {} 385 386func (*TypedValue_DoubleValue) isTypedValue_Value() {} 387 388func (*TypedValue_StringValue) isTypedValue_Value() {} 389 390func (*TypedValue_DistributionValue) isTypedValue_Value() {} 391 392var File_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto protoreflect.FileDescriptor 393 394var file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDesc = []byte{ 395 0x0a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 396 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 397 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 398 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 399 0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 400 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 401 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 402 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 403 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 404 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 405 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 406 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x70, 0x72, 407 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 408 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 409 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x02, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 410 0x69, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 411 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 412 0x12, 0x4a, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 413 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 414 0x69, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 415 0x6f, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 416 0x02, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4d, 0x0a, 0x0b, 417 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 418 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 419 0x65, 0x74, 0x72, 0x69, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 420 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 421 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x4b, 0x0a, 0x06, 0x70, 422 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 423 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 424 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 425 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 426 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x05, 0x50, 0x6f, 0x69, 427 0x6e, 0x74, 0x12, 0x51, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 428 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 429 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 430 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 431 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x08, 0x69, 0x6e, 0x74, 432 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x49, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 433 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 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 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 437 0x22, 0x8a, 0x01, 0x0a, 0x0c, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 438 0x6c, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 439 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 440 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 441 0x70, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 442 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 443 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 444 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 445 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xee, 0x01, 446 0x0a, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 447 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 448 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 449 0x0b, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 450 0x28, 0x03, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 451 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 452 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 453 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 454 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 455 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x49, 0x0a, 0x12, 0x64, 0x69, 456 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 457 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 458 0x61, 0x70, 0x69, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 459 0x48, 0x00, 0x52, 0x11, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 460 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x98, 461 0x01, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 462 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 463 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x15, 464 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 465 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 466 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 467 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 468 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 469 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 470 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 471 0x33, 472} 473 474var ( 475 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescOnce sync.Once 476 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescData = file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDesc 477) 478 479func file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescGZIP() []byte { 480 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescOnce.Do(func() { 481 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescData) 482 }) 483 return file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDescData 484} 485 486var file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 487var file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_goTypes = []interface{}{ 488 (*TimeSeries)(nil), // 0: google.cloud.bigquery.migration.v2alpha.TimeSeries 489 (*Point)(nil), // 1: google.cloud.bigquery.migration.v2alpha.Point 490 (*TimeInterval)(nil), // 2: google.cloud.bigquery.migration.v2alpha.TimeInterval 491 (*TypedValue)(nil), // 3: google.cloud.bigquery.migration.v2alpha.TypedValue 492 (metric.MetricDescriptor_ValueType)(0), // 4: google.api.MetricDescriptor.ValueType 493 (metric.MetricDescriptor_MetricKind)(0), // 5: google.api.MetricDescriptor.MetricKind 494 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp 495 (*distribution.Distribution)(nil), // 7: google.api.Distribution 496} 497var file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_depIdxs = []int32{ 498 4, // 0: google.cloud.bigquery.migration.v2alpha.TimeSeries.value_type:type_name -> google.api.MetricDescriptor.ValueType 499 5, // 1: google.cloud.bigquery.migration.v2alpha.TimeSeries.metric_kind:type_name -> google.api.MetricDescriptor.MetricKind 500 1, // 2: google.cloud.bigquery.migration.v2alpha.TimeSeries.points:type_name -> google.cloud.bigquery.migration.v2alpha.Point 501 2, // 3: google.cloud.bigquery.migration.v2alpha.Point.interval:type_name -> google.cloud.bigquery.migration.v2alpha.TimeInterval 502 3, // 4: google.cloud.bigquery.migration.v2alpha.Point.value:type_name -> google.cloud.bigquery.migration.v2alpha.TypedValue 503 6, // 5: google.cloud.bigquery.migration.v2alpha.TimeInterval.start_time:type_name -> google.protobuf.Timestamp 504 6, // 6: google.cloud.bigquery.migration.v2alpha.TimeInterval.end_time:type_name -> google.protobuf.Timestamp 505 7, // 7: google.cloud.bigquery.migration.v2alpha.TypedValue.distribution_value:type_name -> google.api.Distribution 506 8, // [8:8] is the sub-list for method output_type 507 8, // [8:8] is the sub-list for method input_type 508 8, // [8:8] is the sub-list for extension type_name 509 8, // [8:8] is the sub-list for extension extendee 510 0, // [0:8] is the sub-list for field type_name 511} 512 513func init() { file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_init() } 514func file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_init() { 515 if File_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto != nil { 516 return 517 } 518 if !protoimpl.UnsafeEnabled { 519 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 520 switch v := v.(*TimeSeries); i { 521 case 0: 522 return &v.state 523 case 1: 524 return &v.sizeCache 525 case 2: 526 return &v.unknownFields 527 default: 528 return nil 529 } 530 } 531 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 532 switch v := v.(*Point); i { 533 case 0: 534 return &v.state 535 case 1: 536 return &v.sizeCache 537 case 2: 538 return &v.unknownFields 539 default: 540 return nil 541 } 542 } 543 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 544 switch v := v.(*TimeInterval); i { 545 case 0: 546 return &v.state 547 case 1: 548 return &v.sizeCache 549 case 2: 550 return &v.unknownFields 551 default: 552 return nil 553 } 554 } 555 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 556 switch v := v.(*TypedValue); i { 557 case 0: 558 return &v.state 559 case 1: 560 return &v.sizeCache 561 case 2: 562 return &v.unknownFields 563 default: 564 return nil 565 } 566 } 567 } 568 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes[3].OneofWrappers = []interface{}{ 569 (*TypedValue_BoolValue)(nil), 570 (*TypedValue_Int64Value)(nil), 571 (*TypedValue_DoubleValue)(nil), 572 (*TypedValue_StringValue)(nil), 573 (*TypedValue_DistributionValue)(nil), 574 } 575 type x struct{} 576 out := protoimpl.TypeBuilder{ 577 File: protoimpl.DescBuilder{ 578 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 579 RawDescriptor: file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDesc, 580 NumEnums: 0, 581 NumMessages: 4, 582 NumExtensions: 0, 583 NumServices: 0, 584 }, 585 GoTypes: file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_goTypes, 586 DependencyIndexes: file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_depIdxs, 587 MessageInfos: file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_msgTypes, 588 }.Build() 589 File_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto = out.File 590 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_rawDesc = nil 591 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_goTypes = nil 592 file_google_cloud_bigquery_migration_v2alpha_migration_metrics_proto_depIdxs = nil 593} 594