| 1 |
// Copyright 2022 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 aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package storage aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/bigquery/storage/apiv1/storagepb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package storage |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/bigquery/storage/apiv1/storagepb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 31 |
const ( |
| 32 |
AppendRowsRequest_DEFAULT_VALUE = src.AppendRowsRequest_DEFAULT_VALUE |
| 33 |
AppendRowsRequest_MISSING_VALUE_INTERPRETATION_UNSPECIFIED = src.AppendRowsRequest_MISSING_VALUE_INTERPRETATION_UNSPECIFIED |
| 34 |
AppendRowsRequest_NULL_VALUE = src.AppendRowsRequest_NULL_VALUE |
| 35 |
ArrowSerializationOptions_COMPRESSION_UNSPECIFIED = src.ArrowSerializationOptions_COMPRESSION_UNSPECIFIED |
| 36 |
ArrowSerializationOptions_LZ4_FRAME = src.ArrowSerializationOptions_LZ4_FRAME |
| 37 |
ArrowSerializationOptions_ZSTD = src.ArrowSerializationOptions_ZSTD |
| 38 |
DataFormat_ARROW = src.DataFormat_ARROW |
| 39 |
DataFormat_AVRO = src.DataFormat_AVRO |
| 40 |
DataFormat_DATA_FORMAT_UNSPECIFIED = src.DataFormat_DATA_FORMAT_UNSPECIFIED |
| 41 |
RowError_FIELDS_ERROR = src.RowError_FIELDS_ERROR |
| 42 |
RowError_ROW_ERROR_CODE_UNSPECIFIED = src.RowError_ROW_ERROR_CODE_UNSPECIFIED |
| 43 |
StorageError_INVALID_STREAM_STATE = src.StorageError_INVALID_STREAM_STATE |
| 44 |
StorageError_INVALID_STREAM_TYPE = src.StorageError_INVALID_STREAM_TYPE |
| 45 |
StorageError_OFFSET_ALREADY_EXISTS = src.StorageError_OFFSET_ALREADY_EXISTS |
| 46 |
StorageError_OFFSET_OUT_OF_RANGE = src.StorageError_OFFSET_OUT_OF_RANGE |
| 47 |
StorageError_SCHEMA_MISMATCH_EXTRA_FIELDS = src.StorageError_SCHEMA_MISMATCH_EXTRA_FIELDS |
| 48 |
StorageError_STORAGE_ERROR_CODE_UNSPECIFIED = src.StorageError_STORAGE_ERROR_CODE_UNSPECIFIED |
| 49 |
StorageError_STREAM_ALREADY_COMMITTED = src.StorageError_STREAM_ALREADY_COMMITTED |
| 50 |
StorageError_STREAM_FINALIZED = src.StorageError_STREAM_FINALIZED |
| 51 |
StorageError_STREAM_NOT_FOUND = src.StorageError_STREAM_NOT_FOUND |
| 52 |
StorageError_TABLE_NOT_FOUND = src.StorageError_TABLE_NOT_FOUND |
| 53 |
TableFieldSchema_BIGNUMERIC = src.TableFieldSchema_BIGNUMERIC |
| 54 |
TableFieldSchema_BOOL = src.TableFieldSchema_BOOL |
| 55 |
TableFieldSchema_BYTES = src.TableFieldSchema_BYTES |
| 56 |
TableFieldSchema_DATE = src.TableFieldSchema_DATE |
| 57 |
TableFieldSchema_DATETIME = src.TableFieldSchema_DATETIME |
| 58 |
TableFieldSchema_DOUBLE = src.TableFieldSchema_DOUBLE |
| 59 |
TableFieldSchema_GEOGRAPHY = src.TableFieldSchema_GEOGRAPHY |
| 60 |
TableFieldSchema_INT64 = src.TableFieldSchema_INT64 |
| 61 |
TableFieldSchema_INTERVAL = src.TableFieldSchema_INTERVAL |
| 62 |
TableFieldSchema_JSON = src.TableFieldSchema_JSON |
| 63 |
TableFieldSchema_MODE_UNSPECIFIED = src.TableFieldSchema_MODE_UNSPECIFIED |
| 64 |
TableFieldSchema_NULLABLE = src.TableFieldSchema_NULLABLE |
| 65 |
TableFieldSchema_NUMERIC = src.TableFieldSchema_NUMERIC |
| 66 |
TableFieldSchema_REPEATED = src.TableFieldSchema_REPEATED |
| 67 |
TableFieldSchema_REQUIRED = src.TableFieldSchema_REQUIRED |
| 68 |
TableFieldSchema_STRING = src.TableFieldSchema_STRING |
| 69 |
TableFieldSchema_STRUCT = src.TableFieldSchema_STRUCT |
| 70 |
TableFieldSchema_TIME = src.TableFieldSchema_TIME |
| 71 |
TableFieldSchema_TIMESTAMP = src.TableFieldSchema_TIMESTAMP |
| 72 |
TableFieldSchema_TYPE_UNSPECIFIED = src.TableFieldSchema_TYPE_UNSPECIFIED |
| 73 |
WriteStreamView_BASIC = src.WriteStreamView_BASIC |
| 74 |
WriteStreamView_FULL = src.WriteStreamView_FULL |
| 75 |
WriteStreamView_WRITE_STREAM_VIEW_UNSPECIFIED = src.WriteStreamView_WRITE_STREAM_VIEW_UNSPECIFIED |
| 76 |
WriteStream_BUFFERED = src.WriteStream_BUFFERED |
| 77 |
WriteStream_COMMITTED = src.WriteStream_COMMITTED |
| 78 |
WriteStream_INSERT = src.WriteStream_INSERT |
| 79 |
WriteStream_PENDING = src.WriteStream_PENDING |
| 80 |
WriteStream_TYPE_UNSPECIFIED = src.WriteStream_TYPE_UNSPECIFIED |
| 81 |
WriteStream_WRITE_MODE_UNSPECIFIED = src.WriteStream_WRITE_MODE_UNSPECIFIED |
| 82 |
) |
| 83 |
|
| 84 |
// Deprecated: Please use vars in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 85 |
var ( |
| 86 |
AppendRowsRequest_MissingValueInterpretation_name = src.AppendRowsRequest_MissingValueInterpretation_name |
| 87 |
AppendRowsRequest_MissingValueInterpretation_value = src.AppendRowsRequest_MissingValueInterpretation_value |
| 88 |
ArrowSerializationOptions_CompressionCodec_name = src.ArrowSerializationOptions_CompressionCodec_name |
| 89 |
ArrowSerializationOptions_CompressionCodec_value = src.ArrowSerializationOptions_CompressionCodec_value |
| 90 |
DataFormat_name = src.DataFormat_name |
| 91 |
DataFormat_value = src.DataFormat_value |
| 92 |
E_ColumnName = src.E_ColumnName |
| 93 |
File_google_cloud_bigquery_storage_v1_annotations_proto = src.File_google_cloud_bigquery_storage_v1_annotations_proto |
| 94 |
File_google_cloud_bigquery_storage_v1_arrow_proto = src.File_google_cloud_bigquery_storage_v1_arrow_proto |
| 95 |
File_google_cloud_bigquery_storage_v1_avro_proto = src.File_google_cloud_bigquery_storage_v1_avro_proto |
| 96 |
File_google_cloud_bigquery_storage_v1_protobuf_proto = src.File_google_cloud_bigquery_storage_v1_protobuf_proto |
| 97 |
File_google_cloud_bigquery_storage_v1_storage_proto = src.File_google_cloud_bigquery_storage_v1_storage_proto |
| 98 |
File_google_cloud_bigquery_storage_v1_stream_proto = src.File_google_cloud_bigquery_storage_v1_stream_proto |
| 99 |
File_google_cloud_bigquery_storage_v1_table_proto = src.File_google_cloud_bigquery_storage_v1_table_proto |
| 100 |
RowError_RowErrorCode_name = src.RowError_RowErrorCode_name |
| 101 |
RowError_RowErrorCode_value = src.RowError_RowErrorCode_value |
| 102 |
StorageError_StorageErrorCode_name = src.StorageError_StorageErrorCode_name |
| 103 |
StorageError_StorageErrorCode_value = src.StorageError_StorageErrorCode_value |
| 104 |
TableFieldSchema_Mode_name = src.TableFieldSchema_Mode_name |
| 105 |
TableFieldSchema_Mode_value = src.TableFieldSchema_Mode_value |
| 106 |
TableFieldSchema_Type_name = src.TableFieldSchema_Type_name |
| 107 |
TableFieldSchema_Type_value = src.TableFieldSchema_Type_value |
| 108 |
WriteStreamView_name = src.WriteStreamView_name |
| 109 |
WriteStreamView_value = src.WriteStreamView_value |
| 110 |
WriteStream_Type_name = src.WriteStream_Type_name |
| 111 |
WriteStream_Type_value = src.WriteStream_Type_value |
| 112 |
WriteStream_WriteMode_name = src.WriteStream_WriteMode_name |
| 113 |
WriteStream_WriteMode_value = src.WriteStream_WriteMode_value |
| 114 |
) |
| 115 |
|
| 116 |
// Request message for `AppendRows`. Due to the nature of AppendRows being a |
| 117 |
// bidirectional streaming RPC, certain parts of the AppendRowsRequest need |
| 118 |
// only be specified for the first request sent each time the gRPC network |
| 119 |
// connection is opened/reopened. The size of a single AppendRowsRequest must |
| 120 |
// be less than 10 MB in size. Requests larger than this return an error, |
| 121 |
// typically `INVALID_ARGUMENT`. |
| 122 |
// |
| 123 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 124 |
type AppendRowsRequest = src.AppendRowsRequest |
| 125 |
|
| 126 |
// An enum to indicate how to interpret missing values. Missing values are |
| 127 |
// fields present in user schema but missing in rows. A missing value can |
| 128 |
// represent a NULL or a column default value defined in BigQuery table schema. |
| 129 |
// |
| 130 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 131 |
type AppendRowsRequest_MissingValueInterpretation = src.AppendRowsRequest_MissingValueInterpretation |
| 132 |
|
| 133 |
// ProtoData contains the data rows and schema when constructing append |
| 134 |
// requests. |
| 135 |
// |
| 136 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 137 |
type AppendRowsRequest_ProtoData = src.AppendRowsRequest_ProtoData |
| 138 |
type AppendRowsRequest_ProtoRows = src.AppendRowsRequest_ProtoRows |
| 139 |
|
| 140 |
// Response message for `AppendRows`. |
| 141 |
// |
| 142 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 143 |
type AppendRowsResponse = src.AppendRowsResponse |
| 144 |
|
| 145 |
// AppendResult is returned for successful append requests. |
| 146 |
// |
| 147 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 148 |
type AppendRowsResponse_AppendResult = src.AppendRowsResponse_AppendResult |
| 149 |
type AppendRowsResponse_AppendResult_ = src.AppendRowsResponse_AppendResult_ |
| 150 |
type AppendRowsResponse_Error = src.AppendRowsResponse_Error |
| 151 |
|
| 152 |
// Arrow RecordBatch. |
| 153 |
// |
| 154 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 155 |
type ArrowRecordBatch = src.ArrowRecordBatch |
| 156 |
|
| 157 |
// Arrow schema as specified in |
| 158 |
// https://arrow.apache.org/docs/python/api/datatypes.html and serialized to |
| 159 |
// bytes using IPC: |
| 160 |
// https://arrow.apache.org/docs/format/Columnar.html#serialization-and-interprocess-communication-ipc |
| 161 |
// See code samples on how this message can be deserialized. |
| 162 |
// |
| 163 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 164 |
type ArrowSchema = src.ArrowSchema |
| 165 |
|
| 166 |
// Contains options specific to Arrow Serialization. |
| 167 |
// |
| 168 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 169 |
type ArrowSerializationOptions = src.ArrowSerializationOptions |
| 170 |
|
| 171 |
// Compression codec's supported by Arrow. |
| 172 |
// |
| 173 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 174 |
type ArrowSerializationOptions_CompressionCodec = src.ArrowSerializationOptions_CompressionCodec |
| 175 |
|
| 176 |
// Avro rows. |
| 177 |
// |
| 178 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 179 |
type AvroRows = src.AvroRows |
| 180 |
|
| 181 |
// Avro schema. |
| 182 |
// |
| 183 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 184 |
type AvroSchema = src.AvroSchema |
| 185 |
|
| 186 |
// Contains options specific to Avro Serialization. |
| 187 |
// |
| 188 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 189 |
type AvroSerializationOptions = src.AvroSerializationOptions |
| 190 |
|
| 191 |
// Request message for `BatchCommitWriteStreams`. |
| 192 |
// |
| 193 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 194 |
type BatchCommitWriteStreamsRequest = src.BatchCommitWriteStreamsRequest |
| 195 |
|
| 196 |
// Response message for `BatchCommitWriteStreams`. |
| 197 |
// |
| 198 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 199 |
type BatchCommitWriteStreamsResponse = src.BatchCommitWriteStreamsResponse |
| 200 |
|
| 201 |
// BigQueryReadClient is the client API for BigQueryRead service. For |
| 202 |
// semantics around ctx use and closing/ending streaming RPCs, please refer to |
| 203 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 204 |
// |
| 205 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 206 |
type BigQueryReadClient = src.BigQueryReadClient |
| 207 |
|
| 208 |
// BigQueryReadServer is the server API for BigQueryRead service. |
| 209 |
// |
| 210 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 211 |
type BigQueryReadServer = src.BigQueryReadServer |
| 212 |
type BigQueryRead_ReadRowsClient = src.BigQueryRead_ReadRowsClient |
| 213 |
type BigQueryRead_ReadRowsServer = src.BigQueryRead_ReadRowsServer |
| 214 |
|
| 215 |
// BigQueryWriteClient is the client API for BigQueryWrite service. For |
| 216 |
// semantics around ctx use and closing/ending streaming RPCs, please refer to |
| 217 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 218 |
// |
| 219 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 220 |
type BigQueryWriteClient = src.BigQueryWriteClient |
| 221 |
|
| 222 |
// BigQueryWriteServer is the server API for BigQueryWrite service. |
| 223 |
// |
| 224 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 225 |
type BigQueryWriteServer = src.BigQueryWriteServer |
| 226 |
type BigQueryWrite_AppendRowsClient = src.BigQueryWrite_AppendRowsClient |
| 227 |
type BigQueryWrite_AppendRowsServer = src.BigQueryWrite_AppendRowsServer |
| 228 |
|
| 229 |
// Request message for `CreateReadSession`. |
| 230 |
// |
| 231 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 232 |
type CreateReadSessionRequest = src.CreateReadSessionRequest |
| 233 |
|
| 234 |
// Request message for `CreateWriteStream`. |
| 235 |
// |
| 236 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 237 |
type CreateWriteStreamRequest = src.CreateWriteStreamRequest |
| 238 |
|
| 239 |
// Data format for input or output data. |
| 240 |
// |
| 241 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 242 |
type DataFormat = src.DataFormat |
| 243 |
|
| 244 |
// Request message for invoking `FinalizeWriteStream`. |
| 245 |
// |
| 246 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 247 |
type FinalizeWriteStreamRequest = src.FinalizeWriteStreamRequest |
| 248 |
|
| 249 |
// Response message for `FinalizeWriteStream`. |
| 250 |
// |
| 251 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 252 |
type FinalizeWriteStreamResponse = src.FinalizeWriteStreamResponse |
| 253 |
|
| 254 |
// Request message for `FlushRows`. |
| 255 |
// |
| 256 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 257 |
type FlushRowsRequest = src.FlushRowsRequest |
| 258 |
|
| 259 |
// Respond message for `FlushRows`. |
| 260 |
// |
| 261 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 262 |
type FlushRowsResponse = src.FlushRowsResponse |
| 263 |
|
| 264 |
// Request message for `GetWriteStreamRequest`. |
| 265 |
// |
| 266 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 267 |
type GetWriteStreamRequest = src.GetWriteStreamRequest |
| 268 |
type ProtoRows = src.ProtoRows |
| 269 |
|
| 270 |
// ProtoSchema describes the schema of the serialized protocol buffer data |
| 271 |
// rows. |
| 272 |
// |
| 273 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 274 |
type ProtoSchema = src.ProtoSchema |
| 275 |
|
| 276 |
// Request message for `ReadRows`. |
| 277 |
// |
| 278 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 279 |
type ReadRowsRequest = src.ReadRowsRequest |
| 280 |
|
| 281 |
// Response from calling `ReadRows` may include row data, progress and |
| 282 |
// throttling information. |
| 283 |
// |
| 284 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 285 |
type ReadRowsResponse = src.ReadRowsResponse |
| 286 |
type ReadRowsResponse_ArrowRecordBatch = src.ReadRowsResponse_ArrowRecordBatch |
| 287 |
type ReadRowsResponse_ArrowSchema = src.ReadRowsResponse_ArrowSchema |
| 288 |
type ReadRowsResponse_AvroRows = src.ReadRowsResponse_AvroRows |
| 289 |
type ReadRowsResponse_AvroSchema = src.ReadRowsResponse_AvroSchema |
| 290 |
|
| 291 |
// Information about the ReadSession. |
| 292 |
// |
| 293 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 294 |
type ReadSession = src.ReadSession |
| 295 |
type ReadSession_ArrowSchema = src.ReadSession_ArrowSchema |
| 296 |
type ReadSession_AvroSchema = src.ReadSession_AvroSchema |
| 297 |
|
| 298 |
// Additional attributes when reading a table. |
| 299 |
// |
| 300 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 301 |
type ReadSession_TableModifiers = src.ReadSession_TableModifiers |
| 302 |
|
| 303 |
// Options dictating how we read a table. |
| 304 |
// |
| 305 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 306 |
type ReadSession_TableReadOptions = src.ReadSession_TableReadOptions |
| 307 |
type ReadSession_TableReadOptions_ArrowSerializationOptions = src.ReadSession_TableReadOptions_ArrowSerializationOptions |
| 308 |
type ReadSession_TableReadOptions_AvroSerializationOptions = src.ReadSession_TableReadOptions_AvroSerializationOptions |
| 309 |
|
| 310 |
// Information about a single stream that gets data out of the storage system. |
| 311 |
// Most of the information about `ReadStream` instances is aggregated, making |
| 312 |
// `ReadStream` lightweight. |
| 313 |
// |
| 314 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 315 |
type ReadStream = src.ReadStream |
| 316 |
|
| 317 |
// The message that presents row level error info in a request. |
| 318 |
// |
| 319 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 320 |
type RowError = src.RowError |
| 321 |
|
| 322 |
// Error code for `RowError`. |
| 323 |
// |
| 324 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 325 |
type RowError_RowErrorCode = src.RowError_RowErrorCode |
| 326 |
|
| 327 |
// Request message for `SplitReadStream`. |
| 328 |
// |
| 329 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 330 |
type SplitReadStreamRequest = src.SplitReadStreamRequest |
| 331 |
|
| 332 |
// Response message for `SplitReadStream`. |
| 333 |
// |
| 334 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 335 |
type SplitReadStreamResponse = src.SplitReadStreamResponse |
| 336 |
|
| 337 |
// Structured custom BigQuery Storage error message. The error can be attached |
| 338 |
// as error details in the returned rpc Status. In particular, the use of error |
| 339 |
// codes allows more structured error handling, and reduces the need to |
| 340 |
// evaluate unstructured error text strings. |
| 341 |
// |
| 342 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 343 |
type StorageError = src.StorageError |
| 344 |
|
| 345 |
// Error code for `StorageError`. |
| 346 |
// |
| 347 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 348 |
type StorageError_StorageErrorCode = src.StorageError_StorageErrorCode |
| 349 |
|
| 350 |
// Estimated stream statistics for a given read Stream. |
| 351 |
// |
| 352 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 353 |
type StreamStats = src.StreamStats |
| 354 |
type StreamStats_Progress = src.StreamStats_Progress |
| 355 |
|
| 356 |
// TableFieldSchema defines a single field/column within a table schema. |
| 357 |
// |
| 358 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 359 |
type TableFieldSchema = src.TableFieldSchema |
| 360 |
type TableFieldSchema_Mode = src.TableFieldSchema_Mode |
| 361 |
type TableFieldSchema_Type = src.TableFieldSchema_Type |
| 362 |
|
| 363 |
// Schema of a table. This schema is a subset of |
| 364 |
// google.cloud.bigquery.v2.TableSchema containing information necessary to |
| 365 |
// generate valid message to write to BigQuery. |
| 366 |
// |
| 367 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 368 |
type TableSchema = src.TableSchema |
| 369 |
|
| 370 |
// Information on if the current connection is being throttled. |
| 371 |
// |
| 372 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 373 |
type ThrottleState = src.ThrottleState |
| 374 |
|
| 375 |
// UnimplementedBigQueryReadServer can be embedded to have forward compatible |
| 376 |
// implementations. |
| 377 |
// |
| 378 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 379 |
type UnimplementedBigQueryReadServer = src.UnimplementedBigQueryReadServer |
| 380 |
|
| 381 |
// UnimplementedBigQueryWriteServer can be embedded to have forward compatible |
| 382 |
// implementations. |
| 383 |
// |
| 384 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 385 |
type UnimplementedBigQueryWriteServer = src.UnimplementedBigQueryWriteServer |
| 386 |
|
| 387 |
// Information about a single stream that gets data inside the storage system. |
| 388 |
// |
| 389 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 390 |
type WriteStream = src.WriteStream |
| 391 |
|
| 392 |
// WriteStreamView is a view enum that controls what details about a write |
| 393 |
// stream should be returned. |
| 394 |
// |
| 395 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 396 |
type WriteStreamView = src.WriteStreamView |
| 397 |
|
| 398 |
// Type enum of the stream. |
| 399 |
// |
| 400 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 401 |
type WriteStream_Type = src.WriteStream_Type |
| 402 |
|
| 403 |
// Mode enum of the stream. |
| 404 |
// |
| 405 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 406 |
type WriteStream_WriteMode = src.WriteStream_WriteMode |
| 407 |
|
| 408 |
// Deprecated: Please use funcs in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 409 |
func NewBigQueryReadClient(cc grpc.ClientConnInterface) BigQueryReadClient { |
| 410 |
return src.NewBigQueryReadClient(cc) |
| 411 |
} |
| 412 |
|
| 413 |
// Deprecated: Please use funcs in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 414 |
func NewBigQueryWriteClient(cc grpc.ClientConnInterface) BigQueryWriteClient { |
| 415 |
return src.NewBigQueryWriteClient(cc) |
| 416 |
} |
| 417 |
|
| 418 |
// Deprecated: Please use funcs in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 419 |
func RegisterBigQueryReadServer(s *grpc.Server, srv BigQueryReadServer) { |
| 420 |
src.RegisterBigQueryReadServer(s, srv) |
| 421 |
} |
| 422 |
|
| 423 |
// Deprecated: Please use funcs in: cloud.google.com/go/bigquery/storage/apiv1/storagepb |
| 424 |
func RegisterBigQueryWriteServer(s *grpc.Server, srv BigQueryWriteServer) { |
| 425 |
src.RegisterBigQueryWriteServer(s, srv) |
| 426 |
} |