Packages

Google API protobufs for Elixir/gRPC: Datastore, Bigtable, Pub/Sub, Storage, KMS, Tasks, Secret Manager, BigQuery, IAM, Logging, Long-Running Operations and AI Generative Language

Current section

Files

Jump to
googleapis_proto_ex lib google cloud bigquery storage v1 stream.pb.ex
Raw

lib/google/cloud/bigquery/storage/v1/stream.pb.ex

defmodule Google.Cloud.Bigquery.Storage.V1.DataFormat do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:DATA_FORMAT_UNSPECIFIED, 0)
field(:AVRO, 1)
field(:ARROW, 2)
end
defmodule Google.Cloud.Bigquery.Storage.V1.WriteStreamView do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:WRITE_STREAM_VIEW_UNSPECIFIED, 0)
field(:BASIC, 1)
field(:FULL, 2)
end
defmodule Google.Cloud.Bigquery.Storage.V1.ReadSession.TableReadOptions.ResponseCompressionCodec do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:RESPONSE_COMPRESSION_CODEC_UNSPECIFIED, 0)
field(:RESPONSE_COMPRESSION_CODEC_LZ4, 2)
end
defmodule Google.Cloud.Bigquery.Storage.V1.WriteStream.Type do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:TYPE_UNSPECIFIED, 0)
field(:COMMITTED, 1)
field(:PENDING, 2)
field(:BUFFERED, 3)
end
defmodule Google.Cloud.Bigquery.Storage.V1.WriteStream.WriteMode do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:WRITE_MODE_UNSPECIFIED, 0)
field(:INSERT, 1)
end
defmodule Google.Cloud.Bigquery.Storage.V1.ReadSession.TableModifiers do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:snapshot_time, 1, type: Google.Protobuf.Timestamp, json_name: "snapshotTime")
end
defmodule Google.Cloud.Bigquery.Storage.V1.ReadSession.TableReadOptions do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
oneof(:output_format_serialization_options, 0)
field(:selected_fields, 1, repeated: true, type: :string, json_name: "selectedFields")
field(:row_restriction, 2, type: :string, json_name: "rowRestriction")
field(:arrow_serialization_options, 3,
type: Google.Cloud.Bigquery.Storage.V1.ArrowSerializationOptions,
json_name: "arrowSerializationOptions",
oneof: 0,
deprecated: false
)
field(:avro_serialization_options, 4,
type: Google.Cloud.Bigquery.Storage.V1.AvroSerializationOptions,
json_name: "avroSerializationOptions",
oneof: 0,
deprecated: false
)
field(:sample_percentage, 5,
proto3_optional: true,
type: :double,
json_name: "samplePercentage",
deprecated: false
)
field(:response_compression_codec, 6,
proto3_optional: true,
type: Google.Cloud.Bigquery.Storage.V1.ReadSession.TableReadOptions.ResponseCompressionCodec,
json_name: "responseCompressionCodec",
enum: true,
deprecated: false
)
end
defmodule Google.Cloud.Bigquery.Storage.V1.ReadSession do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
oneof(:schema, 0)
field(:name, 1, type: :string, deprecated: false)
field(:expire_time, 2,
type: Google.Protobuf.Timestamp,
json_name: "expireTime",
deprecated: false
)
field(:data_format, 3,
type: Google.Cloud.Bigquery.Storage.V1.DataFormat,
json_name: "dataFormat",
enum: true,
deprecated: false
)
field(:avro_schema, 4,
type: Google.Cloud.Bigquery.Storage.V1.AvroSchema,
json_name: "avroSchema",
oneof: 0,
deprecated: false
)
field(:arrow_schema, 5,
type: Google.Cloud.Bigquery.Storage.V1.ArrowSchema,
json_name: "arrowSchema",
oneof: 0,
deprecated: false
)
field(:table, 6, type: :string, deprecated: false)
field(:table_modifiers, 7,
type: Google.Cloud.Bigquery.Storage.V1.ReadSession.TableModifiers,
json_name: "tableModifiers",
deprecated: false
)
field(:read_options, 8,
type: Google.Cloud.Bigquery.Storage.V1.ReadSession.TableReadOptions,
json_name: "readOptions",
deprecated: false
)
field(:streams, 10,
repeated: true,
type: Google.Cloud.Bigquery.Storage.V1.ReadStream,
deprecated: false
)
field(:estimated_total_bytes_scanned, 12,
type: :int64,
json_name: "estimatedTotalBytesScanned",
deprecated: false
)
field(:estimated_total_physical_file_size, 15,
type: :int64,
json_name: "estimatedTotalPhysicalFileSize",
deprecated: false
)
field(:estimated_row_count, 14, type: :int64, json_name: "estimatedRowCount", deprecated: false)
field(:trace_id, 13, type: :string, json_name: "traceId", deprecated: false)
end
defmodule Google.Cloud.Bigquery.Storage.V1.ReadStream do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:name, 1, type: :string, deprecated: false)
end
defmodule Google.Cloud.Bigquery.Storage.V1.WriteStream do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.15.0", syntax: :proto3
field(:name, 1, type: :string, deprecated: false)
field(:type, 2,
type: Google.Cloud.Bigquery.Storage.V1.WriteStream.Type,
enum: true,
deprecated: false
)
field(:create_time, 3,
type: Google.Protobuf.Timestamp,
json_name: "createTime",
deprecated: false
)
field(:commit_time, 4,
type: Google.Protobuf.Timestamp,
json_name: "commitTime",
deprecated: false
)
field(:table_schema, 5,
type: Google.Cloud.Bigquery.Storage.V1.TableSchema,
json_name: "tableSchema",
deprecated: false
)
field(:write_mode, 7,
type: Google.Cloud.Bigquery.Storage.V1.WriteStream.WriteMode,
json_name: "writeMode",
enum: true,
deprecated: false
)
field(:location, 8, type: :string, deprecated: false)
end