bigtable_rs/google/
google.cloud.conformance.bigtable.v2.rs

1// This file is @generated by prost-build.
2#[serde_with::serde_as]
3#[derive(serde::Serialize, serde::Deserialize)]
4#[serde(rename_all = "camelCase")]
5#[derive(Clone, PartialEq, ::prost::Message)]
6pub struct TestFile {
7    #[prost(message, repeated, tag = "1")]
8    pub read_rows_tests: ::prost::alloc::vec::Vec<ReadRowsTest>,
9}
10#[serde_with::serde_as]
11#[derive(serde::Serialize, serde::Deserialize)]
12#[serde(rename_all = "camelCase")]
13#[serde(default)]
14#[derive(Clone, PartialEq, ::prost::Message)]
15pub struct ReadRowsTest {
16    #[prost(string, tag = "1")]
17    pub description: ::prost::alloc::string::String,
18    #[prost(message, repeated, tag = "2")]
19    pub chunks: ::prost::alloc::vec::Vec<
20        super::super::super::super::bigtable::v2::read_rows_response::CellChunk,
21    >,
22    #[prost(message, repeated, tag = "3")]
23    pub results: ::prost::alloc::vec::Vec<read_rows_test::Result>,
24}
25/// Nested message and enum types in `ReadRowsTest`.
26pub mod read_rows_test {
27    /// Expected results of reading the row.
28    /// Only the last result can be an error.
29    #[serde_with::serde_as]
30    #[derive(serde::Serialize, serde::Deserialize)]
31    #[serde(rename_all = "camelCase")]
32    #[serde(default)]
33    #[derive(Clone, PartialEq, ::prost::Message)]
34    pub struct Result {
35        #[prost(string, tag = "1")]
36        pub row_key: ::prost::alloc::string::String,
37        #[prost(string, tag = "2")]
38        pub family_name: ::prost::alloc::string::String,
39        #[prost(string, tag = "3")]
40        pub qualifier: ::prost::alloc::string::String,
41        #[prost(int64, tag = "4")]
42        #[serde_as(as = "serde_with::DisplayFromStr")]
43        pub timestamp_micros: i64,
44        #[prost(string, tag = "5")]
45        pub value: ::prost::alloc::string::String,
46        #[prost(string, tag = "6")]
47        pub label: ::prost::alloc::string::String,
48        #[prost(bool, tag = "7")]
49        pub error: bool,
50    }
51}