From a65123bcf2756cf2c6212cb683918c2bd83d692e Mon Sep 17 00:00:00 2001 From: jrconlin Date: Mon, 16 Mar 2020 13:32:38 -0700 Subject: [PATCH 01/21] feat: Add `--abort` and `--user_range` flags * --abort stops copying BSO records after N instances. * --user_range limits copy to offset:limit users. * sorts users by fxa_uid --- tools/user_migration/migrate_node.py | 103 ++++++++++++++++++--------- 1 file changed, 70 insertions(+), 33 deletions(-) diff --git a/tools/user_migration/migrate_node.py b/tools/user_migration/migrate_node.py index cfa7aaa80a..2f3df13a7e 100644 --- a/tools/user_migration/migrate_node.py +++ b/tools/user_migration/migrate_node.py @@ -58,6 +58,9 @@ def __init__(self, fxa_csv_file, args): keys_changed_at, client_state) in csv.reader( csv_file, delimiter="\t"): line += 1 + if args.user: + if int(uid) not in args.user: + continue if uid == 'uid': # skip the header row. continue @@ -263,7 +266,7 @@ def divvy(biglist, count): return lists -def move_user(databases, user, collections, fxa, bso_num, args): +def move_user(databases, user_data, collections, fxa, bso_num, args): """copy user info from original storage to new storage.""" # bso column mapping: # id => bso_id @@ -291,21 +294,7 @@ def move_user(databases, user, collections, fxa, bso_num, args): 'sortindex', ) - # Genereate the Spanner Keys we'll need. - try: - (fxa_kid, fxa_uid) = fxa.get(user) - except TypeError: - logging.error("User not found: {} ".format( - user - )) - return 0 - except Exception as ex: - logging.error( - "Could not move user: {}".format(user), - exc_info=ex - ) - return 0 - + (user, fxa_kid, fxa_uid) = user_data # Fetch the BSO data from the original storage. sql = """ SELECT @@ -405,8 +394,26 @@ def spanner_transact_bso(transaction, data, fxa_kid, fxa_uid, args): user, fxa_uid, fxa_kid)) cursor.execute(sql, (user,)) data = [] + abort_col = None + abort_count = None + col_count = 0 + + if args.abort: + (abort_col, abort_count) = args.abort.split(":") + abort_count = int(abort_count) for row in cursor: + logging.debug("col: {}".format(row[0])) + if abort_col and int(row[1]) == int(abort_col): + col_count += 1 + if col_count > abort_count: + logging.debug("Skipping col: {}: {} of {}".format( + row[0], col_count, abort_count)) + continue data.append(row) + if args.abort: + logging.info("Skipped {} of {} rows for {}".format( + abort_count, col_count, abort_col + )) for bunch in divvy(data, args.readchunk or 1000): # Occasionally, there is a batch fail because a # user collection is not found before a bso is written. @@ -442,7 +449,8 @@ def spanner_transact_bso(transaction, data, fxa_kid, fxa_uid, args): else: raise except Exception as e: - logging.error("### batch failure:", exc_info=e) + logging.error("### batch failure: {}:{}".format( + fxa_uid, fxa_kid), exc_info=e) finally: # cursor may complain about unread data, this should prevent # that warning. @@ -451,34 +459,52 @@ def spanner_transact_bso(transaction, data, fxa_kid, fxa_uid, args): cursor.close() return count +def get_users(args, databases, fxa, bso_num): + users = [] + cursor = databases['mysql'].cursor() + if args.user: + users = args.user + else: + try: + sql = """select distinct userid from bso{} order by userid""".format(bso_num) + if args.user_range: + (offset, limit) = args.user_range.split(':') + sql = "{} limit {} offset {}".format(sql, limit, offset) + cursor.execute(sql) + for (user,) in cursor: + try: + (fxa_kid, fxa_uid) = fxa.get(user) + users.append((user, fxa_kid, fxa_uid)) + except TypeError: + logging.error("⚠️User not found in tokenserver data: {} ".format( + user + )) + users.sort(key=lambda tup: tup[2]) + except Exception as ex: + import pdb; pdb.set_trace() + logging.error("Error moving database:", exc_info=ex) + finally: + cursor.close() + return users + def move_database(databases, collections, bso_num, fxa, args): """iterate over provided users and move their data from old to new""" start = time.time() - cursor = databases['mysql'].cursor() # off chance that someone else might have written # a new collection table since the last time we # fetched. rows = 0 cursor = databases['mysql'].cursor() - users = [] if args.user: - users = [args.user] + users = args.user else: - try: - sql = """select distinct userid from bso{};""".format(bso_num) - cursor.execute(sql) - users = [user for (user,) in cursor] - except Exception as ex: - logging.error("Error moving database:", exc_info=ex) - return rows - finally: - cursor.close() + users = get_users(args, databases, fxa, bso_num) logging.info("Moving {} users".format(len(users))) for user in users: rows += move_user( databases=databases, - user=user, + user_data=user, collections=collections, fxa=fxa, bso_num=bso_num, @@ -551,14 +577,22 @@ def get_args(): parser.add_argument( '--user', type=str, - help="BSO#:userId to move (EXPERIMENTAL)." + help="BSO#:userId[,userid,...] to move (EXPERIMENTAL)." ) parser.add_argument( '--dryrun', action="store_true", help="Do not write user records to spanner." ) - + parser.add_argument( + '--abort', + type=str, + help="abort data in col after #rows (e.g. history:10)" + ) + parser.add_argument( + '--user_range', + help="Range of users to extract (offset:limit)" + ) return parser.parse_args() @@ -582,7 +616,10 @@ def main(): (bso, userid) = args.user.split(':') args.start_bso = int(bso) args.end_bso = int(bso) - args.user = int(userid) + user_list = [] + for id in userid.split(','): + user_list.append(int(id)) + args.user = user_list for line in dsns: dsn = urlparse(line.strip()) scheme = dsn.scheme From be3b18f8799739c42a73b3cf86601b633bb8aa2c Mon Sep 17 00:00:00 2001 From: jrconlin Date: Tue, 17 Mar 2020 16:53:07 -0700 Subject: [PATCH 02/21] f add rust_migration WIP * make user sorting optional * formatting tweaks to dump_mysql.py and sync.avsc --- tools/migration_rs/Cargo.toml | 36 +++++ tools/migration_rs/src/db/mod.rs | 21 +++ tools/migration_rs/src/db/mysql/mod.rs | 15 ++ tools/migration_rs/src/db/spanner/mod.rs | 91 ++++++++++++ tools/migration_rs/src/error.rs | 125 +++++++++++++++++ tools/migration_rs/src/fxa.rs | 67 +++++++++ tools/migration_rs/src/logging.rs | 45 ++++++ tools/migration_rs/src/main.rs | 29 ++++ tools/migration_rs/src/settings.rs | 167 +++++++++++++++++++++++ tools/user_migration/migrate_node.py | 27 ++-- tools/user_migration/old/dump_mysql.py | 4 +- tools/user_migration/old/sync.avsc | 18 +-- 12 files changed, 625 insertions(+), 20 deletions(-) create mode 100644 tools/migration_rs/Cargo.toml create mode 100644 tools/migration_rs/src/db/mod.rs create mode 100644 tools/migration_rs/src/db/mysql/mod.rs create mode 100644 tools/migration_rs/src/db/spanner/mod.rs create mode 100644 tools/migration_rs/src/error.rs create mode 100644 tools/migration_rs/src/fxa.rs create mode 100644 tools/migration_rs/src/logging.rs create mode 100644 tools/migration_rs/src/main.rs create mode 100644 tools/migration_rs/src/settings.rs diff --git a/tools/migration_rs/Cargo.toml b/tools/migration_rs/Cargo.toml new file mode 100644 index 0000000000..13b37a4661 --- /dev/null +++ b/tools/migration_rs/Cargo.toml @@ -0,0 +1,36 @@ +[package] +name = "migration_rs" +version = "0.1.0" +authors = ["jrconlin "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +csv="1.1" +base64="0.12" +# eventually use these +#diesel = {version="1.4", features=["mysql", "r2d2"]} +#diesel_logger = "0.1" +# quick hack: +mysql_async="0.22" +env_logger = "0.7" +failure="0.1" +googleapis-raw={version="0", path="../../vendor/mozilla-rust-sdk/googleapis-raw"} +grpcio={version="0.5"} +log={version="0.4", features=["max_level_info", "release_max_level_info"]} +protobuf = "2.7" +rand="0.7" +serde="1.0" +serde_derive="1.0" +serde_json={version="1.0", features=["arbitrary_precision"]} +slog = { version = "2.5", features = ["max_level_trace", "release_max_level_error"] } +slog-async = "2.4" +slog-envlogger = "2.2.0" +slog-mozlog-json = "0.1" +slog-scope = "4.3" +slog-stdlog = "4.0" +slog-term = "2.5" +time = "0.2" +url="2.1" +structopt="0.3" \ No newline at end of file diff --git a/tools/migration_rs/src/db/mod.rs b/tools/migration_rs/src/db/mod.rs new file mode 100644 index 0000000000..3e55b125a8 --- /dev/null +++ b/tools/migration_rs/src/db/mod.rs @@ -0,0 +1,21 @@ +pub mod mysql; + +use futures::future::LocalBoxFuture; + +use crate::error::{ApiError, Result}; +use crate::settings::Settings; + +pub const DB_THREAD_POOL_SIZE: usize = 50; + +pub struct Dbs { + mysql: mysql::MysqlDb, +} + +impl Dbs { + pub fn connect(settings: &Settings) -> Result(Dbs) { + Ok(Self { + mysql: mysql::MysqlDb::new(&settings), + //TODO: Get spanner db + }) + } +} diff --git a/tools/migration_rs/src/db/mysql/mod.rs b/tools/migration_rs/src/db/mysql/mod.rs new file mode 100644 index 0000000000..5c6f8bab23 --- /dev/null +++ b/tools/migration_rs/src/db/mysql/mod.rs @@ -0,0 +1,15 @@ +use mysql_async; + +use crate::settings::Settings; + +#[derive(Clone)] +pub struct MysqlDb { + pool: mysql_async::Pool, +} + +impl MysqlDb { + pub fn new(settings: &Settings) -> Result { + pool = mysql_async::Pool::new(settings.dsns.mysql); + Ok(Self { pool }) + } +} diff --git a/tools/migration_rs/src/db/spanner/mod.rs b/tools/migration_rs/src/db/spanner/mod.rs new file mode 100644 index 0000000000..c668fa2792 --- /dev/null +++ b/tools/migration_rs/src/db/spanner/mod.rs @@ -0,0 +1,91 @@ +use googleapis_raw::spanner::v1::{ + spanner::{CreateSessionRequest, GetSessionRequest, Session}, + spanner_grpc::SpannerClient, +}; +use grpcio::{ + CallOption, ChannelBuilder, ChannelCredentials, EnvBuilder, Environment, MetadataBuilder, +}; + +use crate::error::{ApiError, ApiErrorKind, ApiResult}; +use crate::settings::Settings; + +#[derive(Clone)] +pub struct SpannerConnectionManager { + pool: mysql_async::Pool, +} + +impl SpannerConnectionManager { + pub fn new(settings: &Settings) -> ApiResult { + let url = &settings.dsns.spanner; + let database_name = url["spanner://".len()..].to_owned(); + let env = Arc::new(EnvBuilder::new().build()); + + pool = mysql_async::Pool::new(settings.dsns.mysql); + Ok(Self { pool }) + } +} + +pub struct SpannerSession { + pub client: SpannerClient, + pub session: Session, + + pub(super) use_test_transactions: bool, +} + +/* +impl ManageConnection for SpannerConnectionManager { + type Connection = SpannerSession; + type Error = grpcio::Error; + + fn connect(&self) -> Result { + // Requires GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json + let creds = ChannelCredentials::google_default_credentials()?; + + // Create a Spanner client. + let chan = ChannelBuilder::new(self.env.clone()) + .max_send_message_len(100 << 20) + .max_receive_message_len(100 << 20) + .secure_connect(SPANNER_ADDRESS, creds); + let client = SpannerClient::new(chan); + + // Connect to the instance and create a Spanner session. + let session = create_session(&client, &self.database_name)?; + + Ok(SpannerSession { + client, + session, + use_test_transactions: false, + }) + } + + fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error> { + let mut req = GetSessionRequest::new(); + req.set_name(conn.session.get_name().to_owned()); + if let Err(e) = conn.client.get_session(&req) { + match e { + grpcio::Error::RpcFailure(ref status) + if status.status == grpcio::RpcStatusCode::NOT_FOUND => + { + conn.session = create_session(&conn.client, &self.database_name)?; + } + _ => return Err(e), + } + } + Ok(()) + } + + fn has_broken(&self, _conn: &mut Self::Connection) -> bool { + false + } +} +*/ + +fn create_session(client: &SpannerClient, database_name: &str) -> Result { + let mut req = CreateSessionRequest::new(); + req.database = database_name.to_owned(); + let mut meta = MetadataBuilder::new(); + meta.add_str("google-cloud-resource-prefix", database_name)?; + meta.add_str("x-goog-api-client", "gcp-grpc-rs")?; + let opt = CallOption::default().headers(meta.build()); + client.create_session_opt(&req, opt) +} diff --git a/tools/migration_rs/src/error.rs b/tools/migration_rs/src/error.rs new file mode 100644 index 0000000000..08f6596e23 --- /dev/null +++ b/tools/migration_rs/src/error.rs @@ -0,0 +1,125 @@ +//! Error types and macros. +// TODO: Currently `Validation(#[cause] ValidationError)` may trigger some +// performance issues. The suggested fix is to Box ValidationError, however +// this cascades into Failure requiring std::error::Error being implemented +// which is out of scope. +#![allow(clippy::single_match, clippy::large_enum_variant)] + +use std::convert::From; +use std::fmt; + +use failure::{Backtrace, Context, Fail}; +use serde::{ + ser::{SerializeMap, SerializeSeq, Serializer}, + Serialize, +}; + +/// Common `Result` type. +pub type ApiResult = Result; + +/// How long the client should wait before retrying a conflicting write. +pub const RETRY_AFTER: u8 = 10; + +/// Top-level error type. +#[derive(Debug)] +pub struct ApiError { + inner: Context, +} + +/// Top-level ErrorKind. +#[derive(Debug, Fail)] +pub enum ApiErrorKind { + #[fail(display = "{}", _0)] + Internal(String), +} + +impl ApiError { + pub fn kind(&self) -> &ApiErrorKind { + self.inner.get_context() + } +} + +impl From for ApiError { + fn from(inner: std::io::Error) -> Self { + ApiErrorKind::Internal(inner.to_string()).into() + } +} + +impl Serialize for ApiError { + fn serialize(&self, serializer: S) -> Result + where + S: Serializer, + { + let mut map = serializer.serialize_map(Some(3))?; + map.end() + } +} + +impl From> for ApiError { + fn from(inner: Context) -> Self { + Self { inner } + } +} + +impl Serialize for ApiErrorKind { + fn serialize(&self, serializer: S) -> Result + where + S: Serializer, + { + match *self { + ApiErrorKind::Internal(ref description) => { + serialize_string_to_array(serializer, description) + } + } + } +} + +fn serialize_string_to_array(serializer: S, value: V) -> Result +where + S: Serializer, + V: fmt::Display, +{ + let mut seq = serializer.serialize_seq(Some(1))?; + seq.serialize_element(&value.to_string())?; + seq.end() +} + +macro_rules! failure_boilerplate { + ($error:ty, $kind:ty) => { + impl Fail for $error { + fn cause(&self) -> Option<&dyn Fail> { + self.inner.cause() + } + + fn backtrace(&self) -> Option<&Backtrace> { + self.inner.backtrace() + } + } + + impl fmt::Display for $error { + fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { + fmt::Display::fmt(&self.inner, formatter) + } + } + + impl From<$kind> for $error { + fn from(kind: $kind) -> Self { + Context::new(kind).into() + } + } + }; +} + +failure_boilerplate!(ApiError, ApiErrorKind); + +/* +macro_rules! from_error { + ($from:ty, $to:ty, $to_kind:expr) => { + impl From<$from> for $to { + fn from(inner: $from) -> $to { + $to_kind(inner).into() + } + } + }; +} +*/ diff --git a/tools/migration_rs/src/fxa.rs b/tools/migration_rs/src/fxa.rs new file mode 100644 index 0000000000..e596d16f96 --- /dev/null +++ b/tools/migration_rs/src/fxa.rs @@ -0,0 +1,67 @@ +use std::collections::HashMap; +use std::fs::File; + +use base64; +use serde::Deserialize; +use serrialize +use csv; + +use crate::error::{APiResult, ApiError, ApiErrorKind}; +use crate::settings::Settings; + +#[derive(Debug, Deserialize)] +pub struct Fxa_CSV_record { + pub uid: u64, + pub email: String, + pub generation: Option, + pub keys_changed_at: Option, + pub client_state: String, +} + +#[derive(Debug, Deserialize, Clone)] +pub struct Fxa_Data { + pub fxa_uid: String, + pub fxa_kid: String, +} + +#[derive(Debug, Deserialize, Clone)] +pub struct Fxa_Info { + pub users: Vec, + pub anon: bool, +} + +impl Fxa_Info { + fn gen_uid(record: &Fxa_CSV_record) -> ApiResult { + Ok(record.email.split('@')[0].to_owned()) + } + + fn gen_kid(record: &Fxa) -> ApiResult { + let key_index = record.keys_changed_at.unwrap_or(record.generation.unwrap_or(0)); + let key_hash = record.client_state.from_hex()?; + Ok(format!("{:013d}-{}", key_index, + base64::encode_config(key_hash, base64::URL_SAFE_NO_PAD))) + } + + pub fn new(settings: &Settings) -> ApiResult { + if settings.deanon == false { + return Ok(Self { + users: Vec::new(), + anon: true, + }); + } + let mut rdr = csv::Reader::from_reader(BufReader::new(File::open(settings.fxa_file)?)); + let mut users = Vec::::new(); + for line in rdr.deserialize() { + if Some(record: Fxa_CSV_record) = line { + users[record.uid] = Fxa_Data{ + fxa_uid: self.gen_uid(&record)?, + fxa_kid: self.gen_kid(&record)? + } + } + }; + Ok(Self{ + users, + anon: false, + }) + } +} diff --git a/tools/migration_rs/src/logging.rs b/tools/migration_rs/src/logging.rs new file mode 100644 index 0000000000..094117f4b0 --- /dev/null +++ b/tools/migration_rs/src/logging.rs @@ -0,0 +1,45 @@ +use std::io; + +use crate::error::{ApiErrorKind, ApiResult}; + +use slog::{self, slog_o, Drain}; +use slog_async; +use slog_mozlog_json::MozLogJson; +use slog_scope; +use slog_stdlog; +use slog_term; + +pub fn init_logging(json: bool) -> ApiResult<()> { + let logger = if json { + let drain = MozLogJson::new(io::stdout()) + .logger_name(format!( + "{}-{}", + env!("CARGO_PKG_NAME"), + env!("CARGO_PKG_VERSION") + )) + .msg_type(format!("{}:log", env!("CARGO_PKG_NAME"))) + .build() + .fuse(); + let drain = slog_envlogger::new(drain); + let drain = slog_async::Async::new(drain).build().fuse(); + slog::Logger::root(drain, slog_o!()) + } else { + let decorator = slog_term::TermDecorator::new().build(); + let drain = slog_term::FullFormat::new(decorator).build().fuse(); + let drain = slog_envlogger::new(drain); + let drain = slog_async::Async::new(drain).build().fuse(); + slog::Logger::root(drain, slog_o!()) + }; + // XXX: cancel slog_scope's NoGlobalLoggerSet for now, it's difficult to + // prevent it from potentially panicing during tests. reset_logging resets + // the global logger during shutdown anyway: + // https://github.com/slog-rs/slog/issues/169 + slog_scope::set_global_logger(logger).cancel_reset(); + slog_stdlog::init().ok(); + Ok(()) +} + +pub fn reset_logging() { + let logger = slog::Logger::root(slog::Discard, slog_o!()); + slog_scope::set_global_logger(logger).cancel_reset(); +} diff --git a/tools/migration_rs/src/main.rs b/tools/migration_rs/src/main.rs new file mode 100644 index 0000000000..c184cf1e5d --- /dev/null +++ b/tools/migration_rs/src/main.rs @@ -0,0 +1,29 @@ +use std::fs::File; +use std::io::{BufReader, Error}; + +use serde::{de::Deserialize, Serialize}; +use std::path::PathBuf; +use structopt::StructOpt; +use url::Url; + +mod db; +mod error; +mod logging; +mod settings; +mod fxa; + +fn main() { + let settings = settings::Settings::from_args(); + + // TODO: set logging level + logging::init_logging(settings.human_logs); + // create the database connections + let dbs = db::Dbs::connect(&settings)?; + // TODO:read in fxa_info file (todo: make db?) + let fxa = fxa::Fxa_Info::new(&settings)?; + // TODO: dbs.reconcile_collections()?.await; + // let users = dbs.get_users(&settings, &fxa)?.await; + // for bso in [start..end] { + // dbs.move_user(&fxa, &users, &bso)?; + // } +} diff --git a/tools/migration_rs/src/settings.rs b/tools/migration_rs/src/settings.rs new file mode 100644 index 0000000000..8e2983424d --- /dev/null +++ b/tools/migration_rs/src/settings.rs @@ -0,0 +1,167 @@ +//! Application settings objects and initialization +use std::fs::File; +use std::io::{BufRead, BufReader}; +use std::str::FromStr; + +use structopt::StructOpt; +use url::Url; + +use crate::error::{ApiError, ApiErrorKind}; + +static DEFAULT_CHUNK_SIZE: u64 = 1_500_000; +static DEFAULT_READ_CHUNK: u64 = 1_000; +static DEFAULT_OFFSET: u64 = 0; +static DEFAULT_START_BSO: u64 = 0; +static DEFAULT_END_BSO: u64 = 19; +static DEFAULT_FXA_FILE: &str = "users.csv"; + +#[derive(Clone, Debug)] +pub struct Dsns { + pub mysql: Option, + pub spanner: Option, +} + +impl Default for Dsns { + fn default() -> Self { + Dsns { + mysql: None, + spanner: None, + } + } +} +impl Dsns { + fn from_str(raw: &str) -> Result { + let mut result = Self::default(); + let buffer = BufReader::new(File::open(raw)?); + for line in buffer.lines().map(|l| l.unwrap()) { + let url = Url::parse(&line).expect("Invalid DSN url"); + match url.scheme() { + "mysql" => result.mysql = Some(line), + "spanner" => result.spanner = Some(line), + _ => {} + } + } + Ok(result) + } +} + +#[derive(Clone, Debug)] +pub struct User { + pub bso: String, + pub user_id: Vec, +} + +impl User { + fn from_str(raw: &str) -> Result { + let parts: Vec<&str> = raw.splitn(2, ':').collect(); + if parts.len() == 1 { + return Err(ApiErrorKind::Internal("bad user option".to_owned()).into()); + } + let bso = String::from(parts[0]); + let s_ids = parts[1].split(',').collect::>(); + let mut user_id: Vec = Vec::new(); + for id in s_ids { + user_id.push(id.to_owned()); + } + + Ok(User { bso, user_id }) + } +} + +#[derive(Clone, Debug)] +pub struct Abort { + pub bso: String, + pub count: u64, +} + +impl Abort { + fn from_str(raw: &str) -> Result { + let parts: Vec<&str> = raw.splitn(2, ':').collect(); + if parts.len() == 1 { + return Err(ApiErrorKind::Internal("Bad abort option".to_owned()).into()); + } + Ok(Abort { + bso: String::from(parts[0]), + count: u64::from_str(parts[1]).expect("Bad count for Abort"), + }) + } +} + +#[derive(Clone, Debug)] +pub struct UserRange { + pub offset: u64, + pub limit: u64, +} + +impl UserRange { + fn from_str(raw: &str) -> Result { + let parts: Vec<&str> = raw.splitn(2, ':').collect(); + if parts.len() == 1 { + return Err(ApiErrorKind::Internal("Bad user range option".to_owned()).into()); + } + Ok(UserRange { + offset: u64::from_str(parts[0]).expect("Bad offset"), + limit: u64::from_str(parts[1]).expect("Bad limit"), + }) + } +} + +#[derive(StructOpt, Clone, Debug)] +#[structopt(name = "env")] +pub struct Settings { + #[structopt(long, parse(try_from_str=Dsns::from_str), env = "MIGRATE_DSNS")] + pub dsns: Dsns, + #[structopt(long, env = "MIGRATE_DEBUG")] + pub debug: bool, + #[structopt(short, env = "MIGRATE_VERBOSE")] + pub verbose: bool, + #[structopt(long)] + pub quiet: bool, + #[structopt(long)] + pub full: bool, + #[structopt(long)] + pub deanon: bool, + #[structopt(long)] + pub skip_collections: bool, + #[structopt(long)] + pub dryrun: bool, + #[structopt(long, parse(from_flag = std::ops::Not::not))] + pub human_logs: bool, + pub fxa_file: String, + pub chunk_limit: Option, + pub offset: Option, + pub start_bso: Option, + pub end_bso: Option, + pub readchunk: Option, + #[structopt(long, parse(try_from_str=User::from_str))] + pub user: Option, + #[structopt(long, parse(try_from_str=Abort::from_str))] + pub abort: Option, + #[structopt(long, parse(try_from_str=UserRange::from_str))] + pub user_range: Option, +} + +impl Default for Settings { + fn default() -> Settings { + Settings { + dsns: Dsns::default(), + debug: false, + verbose: false, + quiet: false, + full: false, + deanon: false, + skip_collections: false, + dryrun: false, + human_logs: true, + chunk_limit: Some(DEFAULT_CHUNK_SIZE), + offset: Some(DEFAULT_OFFSET), + start_bso: Some(DEFAULT_START_BSO), + end_bso: Some(DEFAULT_END_BSO), + readchunk: Some(DEFAULT_READ_CHUNK), + fxa_file: DEFAULT_FXA_FILE.to_owned(), + user: None, + abort: None, + user_range: None, + } + } +} diff --git a/tools/user_migration/migrate_node.py b/tools/user_migration/migrate_node.py index 2f3df13a7e..95f460d668 100644 --- a/tools/user_migration/migrate_node.py +++ b/tools/user_migration/migrate_node.py @@ -338,7 +338,8 @@ def spanner_transact_uc( values=uc_values ) else: - logging.debug("not writing {} => {}".format(uc_columns, uc_values)) + logging.debug("not writing {} => {}".format( + uc_columns, uc_values)) unique_key_filter.add(uc_key) def spanner_transact_bso(transaction, data, fxa_kid, fxa_uid, args): @@ -382,7 +383,8 @@ def spanner_transact_bso(transaction, data, fxa_kid, fxa_uid, args): values=bso_values ) else: - logging.debug("not writing {} => {}".format(bso_columns, bso_values)) + logging.debug("not writing {} => {}".format( + bso_columns, bso_values)) count += 1 return count @@ -459,6 +461,7 @@ def spanner_transact_bso(transaction, data, fxa_kid, fxa_uid, args): cursor.close() return count + def get_users(args, databases, fxa, bso_num): users = [] cursor = databases['mysql'].cursor() @@ -466,20 +469,23 @@ def get_users(args, databases, fxa, bso_num): users = args.user else: try: - sql = """select distinct userid from bso{} order by userid""".format(bso_num) + sql = ("""select distinct userid from bso{}""" + """ order by userid""".format(bso_num)) if args.user_range: (offset, limit) = args.user_range.split(':') - sql = "{} limit {} offset {}".format(sql, limit, offset) + sql = "{} limit {} offset {}".format( + sql, limit, offset) cursor.execute(sql) for (user,) in cursor: try: (fxa_kid, fxa_uid) = fxa.get(user) users.append((user, fxa_kid, fxa_uid)) except TypeError: - logging.error("⚠️User not found in tokenserver data: {} ".format( - user - )) - users.sort(key=lambda tup: tup[2]) + logging.error( + ("⚠️User not found in" + "tokenserver data: {} ".format(user))) + if args.sort_users: + users.sort(key=lambda tup: tup[2]) except Exception as ex: import pdb; pdb.set_trace() logging.error("Error moving database:", exc_info=ex) @@ -495,7 +501,6 @@ def move_database(databases, collections, bso_num, fxa, args): # a new collection table since the last time we # fetched. rows = 0 - cursor = databases['mysql'].cursor() if args.user: users = args.user else: @@ -593,6 +598,10 @@ def get_args(): '--user_range', help="Range of users to extract (offset:limit)" ) + parser.add_argument( + '--sort_users', action="store_true", + help="Sort the user" + ) return parser.parse_args() diff --git a/tools/user_migration/old/dump_mysql.py b/tools/user_migration/old/dump_mysql.py index 57cf8d1651..f23b215bde 100644 --- a/tools/user_migration/old/dump_mysql.py +++ b/tools/user_migration/old/dump_mysql.py @@ -226,9 +226,9 @@ def dump_rows(bso_number, chunk_offset, db, writer, args): (fxa_kid, fxa_uid) = get_fxa_id(userid, args.anon) user = userid writer.append({ - "collection_id": cid, - "fxa_kid": fxa_kid, "fxa_uid": fxa_uid, + "fxa_kid": fxa_kid, + "collection_id": cid, "bso_id": bid, "expiry": exp, "modified": mod, diff --git a/tools/user_migration/old/sync.avsc b/tools/user_migration/old/sync.avsc index 886b3191ee..8fadeadaf4 100644 --- a/tools/user_migration/old/sync.avsc +++ b/tools/user_migration/old/sync.avsc @@ -2,12 +2,12 @@ "type": "record", "name": "bso", "fields": [ - {"name": "collection_id", "type": ["null", "long"]}, - {"name": "fxa_kid", "type": ["null", "string"]}, - {"name": "fxa_uid", "type": ["null", "string"]}, - {"name": "bso_id", "type": "string"}, - {"name": "expiry", "type": "long"}, - {"name": "modified", "type": "long"}, - {"name": "payload", "type": "string"}, - {"name": "sortindex", "type": ["null", "long"]} - ]} + {"name": "fxa_uid", "type": ["null", "string"]}, + {"name": "fxa_kid", "type": ["null", "string"]}, + {"name": "collection_id", "type": ["null", "long"]}, + {"name": "bso_id", "type": "string"}, + {"name": "expiry", "type": "long"}, + {"name": "modified", "type": "long"}, + {"name": "payload", "type": "string"}, + {"name": "sortindex", "type": ["null", "long"]} + ]} \ No newline at end of file From 258cb4c7eba133e0f71d2e57cbac2b7fb38448aa Mon Sep 17 00:00:00 2001 From: jrconlin Date: Wed, 18 Mar 2020 10:30:07 -0700 Subject: [PATCH 03/21] f pjenvey fix --- tools/migration_rs/src/db/spanner/mod.rs | 56 +++--------------------- tools/user_migration/migrate_node.py | 4 +- 2 files changed, 8 insertions(+), 52 deletions(-) diff --git a/tools/migration_rs/src/db/spanner/mod.rs b/tools/migration_rs/src/db/spanner/mod.rs index c668fa2792..0bbe6850e2 100644 --- a/tools/migration_rs/src/db/spanner/mod.rs +++ b/tools/migration_rs/src/db/spanner/mod.rs @@ -14,10 +14,14 @@ pub struct SpannerConnectionManager { pool: mysql_async::Pool, } +fn get_path(raw:&str) -> ApiResult { + let url = url::Url::parse(&settings.dsns.spanner); + format!("{}{}", url.host_str()?, url.path()) +} + impl SpannerConnectionManager { pub fn new(settings: &Settings) -> ApiResult { - let url = &settings.dsns.spanner; - let database_name = url["spanner://".len()..].to_owned(); + let database_name = get_path(&settings.dsns.spanner); let env = Arc::new(EnvBuilder::new().build()); pool = mysql_async::Pool::new(settings.dsns.mysql); @@ -32,54 +36,6 @@ pub struct SpannerSession { pub(super) use_test_transactions: bool, } -/* -impl ManageConnection for SpannerConnectionManager { - type Connection = SpannerSession; - type Error = grpcio::Error; - - fn connect(&self) -> Result { - // Requires GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json - let creds = ChannelCredentials::google_default_credentials()?; - - // Create a Spanner client. - let chan = ChannelBuilder::new(self.env.clone()) - .max_send_message_len(100 << 20) - .max_receive_message_len(100 << 20) - .secure_connect(SPANNER_ADDRESS, creds); - let client = SpannerClient::new(chan); - - // Connect to the instance and create a Spanner session. - let session = create_session(&client, &self.database_name)?; - - Ok(SpannerSession { - client, - session, - use_test_transactions: false, - }) - } - - fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error> { - let mut req = GetSessionRequest::new(); - req.set_name(conn.session.get_name().to_owned()); - if let Err(e) = conn.client.get_session(&req) { - match e { - grpcio::Error::RpcFailure(ref status) - if status.status == grpcio::RpcStatusCode::NOT_FOUND => - { - conn.session = create_session(&conn.client, &self.database_name)?; - } - _ => return Err(e), - } - } - Ok(()) - } - - fn has_broken(&self, _conn: &mut Self::Connection) -> bool { - false - } -} -*/ - fn create_session(client: &SpannerClient, database_name: &str) -> Result { let mut req = CreateSessionRequest::new(); req.database = database_name.to_owned(); diff --git a/tools/user_migration/migrate_node.py b/tools/user_migration/migrate_node.py index 95f460d668..d2ae011311 100644 --- a/tools/user_migration/migrate_node.py +++ b/tools/user_migration/migrate_node.py @@ -308,7 +308,7 @@ def move_user(databases, user_data, collections, fxa, bso_num, args): and collections.collectionid = bso.collection and bso.ttl > unix_timestamp() ORDER BY - modified DESC""".format(bso_num) + bso.collection, bso.id""".format(bso_num) def spanner_transact_uc( transaction, data, fxa_kid, fxa_uid, args): @@ -347,7 +347,7 @@ def spanner_transact_bso(transaction, data, fxa_kid, fxa_uid, args): for (col, cid, bid, exp, mod, pay, sid) in data: collection_id = collections.get(col, cid) if collection_id is None: - next + continue if collection_id != cid: logging.debug( "Remapping collection '{}' from {} to {}".format( From 0a9cf9c650bb24ab05ab0d3091611b746d12542c Mon Sep 17 00:00:00 2001 From: jrconlin Date: Wed, 18 Mar 2020 10:30:07 -0700 Subject: [PATCH 04/21] f pjenvey fix --- tools/migration_rs/src/db/spanner/mod.rs | 56 +++--------------------- tools/user_migration/migrate_node.py | 4 +- 2 files changed, 8 insertions(+), 52 deletions(-) diff --git a/tools/migration_rs/src/db/spanner/mod.rs b/tools/migration_rs/src/db/spanner/mod.rs index c668fa2792..0bbe6850e2 100644 --- a/tools/migration_rs/src/db/spanner/mod.rs +++ b/tools/migration_rs/src/db/spanner/mod.rs @@ -14,10 +14,14 @@ pub struct SpannerConnectionManager { pool: mysql_async::Pool, } +fn get_path(raw:&str) -> ApiResult { + let url = url::Url::parse(&settings.dsns.spanner); + format!("{}{}", url.host_str()?, url.path()) +} + impl SpannerConnectionManager { pub fn new(settings: &Settings) -> ApiResult { - let url = &settings.dsns.spanner; - let database_name = url["spanner://".len()..].to_owned(); + let database_name = get_path(&settings.dsns.spanner); let env = Arc::new(EnvBuilder::new().build()); pool = mysql_async::Pool::new(settings.dsns.mysql); @@ -32,54 +36,6 @@ pub struct SpannerSession { pub(super) use_test_transactions: bool, } -/* -impl ManageConnection for SpannerConnectionManager { - type Connection = SpannerSession; - type Error = grpcio::Error; - - fn connect(&self) -> Result { - // Requires GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json - let creds = ChannelCredentials::google_default_credentials()?; - - // Create a Spanner client. - let chan = ChannelBuilder::new(self.env.clone()) - .max_send_message_len(100 << 20) - .max_receive_message_len(100 << 20) - .secure_connect(SPANNER_ADDRESS, creds); - let client = SpannerClient::new(chan); - - // Connect to the instance and create a Spanner session. - let session = create_session(&client, &self.database_name)?; - - Ok(SpannerSession { - client, - session, - use_test_transactions: false, - }) - } - - fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error> { - let mut req = GetSessionRequest::new(); - req.set_name(conn.session.get_name().to_owned()); - if let Err(e) = conn.client.get_session(&req) { - match e { - grpcio::Error::RpcFailure(ref status) - if status.status == grpcio::RpcStatusCode::NOT_FOUND => - { - conn.session = create_session(&conn.client, &self.database_name)?; - } - _ => return Err(e), - } - } - Ok(()) - } - - fn has_broken(&self, _conn: &mut Self::Connection) -> bool { - false - } -} -*/ - fn create_session(client: &SpannerClient, database_name: &str) -> Result { let mut req = CreateSessionRequest::new(); req.database = database_name.to_owned(); diff --git a/tools/user_migration/migrate_node.py b/tools/user_migration/migrate_node.py index 95f460d668..d2ae011311 100644 --- a/tools/user_migration/migrate_node.py +++ b/tools/user_migration/migrate_node.py @@ -308,7 +308,7 @@ def move_user(databases, user_data, collections, fxa, bso_num, args): and collections.collectionid = bso.collection and bso.ttl > unix_timestamp() ORDER BY - modified DESC""".format(bso_num) + bso.collection, bso.id""".format(bso_num) def spanner_transact_uc( transaction, data, fxa_kid, fxa_uid, args): @@ -347,7 +347,7 @@ def spanner_transact_bso(transaction, data, fxa_kid, fxa_uid, args): for (col, cid, bid, exp, mod, pay, sid) in data: collection_id = collections.get(col, cid) if collection_id is None: - next + continue if collection_id != cid: logging.debug( "Remapping collection '{}' from {} to {}".format( From 3cbc3a1cf1f0137c8d23c8592b5ac805151413e9 Mon Sep 17 00:00:00 2001 From: Amrita Gupta Date: Thu, 19 Mar 2020 00:31:39 +0000 Subject: [PATCH 05/21] chore: remove custom async_test implementation Closes #461 --- Cargo.lock | 67 ++++++++++++++----------------------------- Cargo.toml | 3 +- codegen/Cargo.lock | 46 ----------------------------- codegen/Cargo.toml | 12 -------- codegen/src/lib.rs | 27 ----------------- src/db/tests/batch.rs | 2 +- src/db/tests/db.rs | 2 +- 7 files changed, 25 insertions(+), 134 deletions(-) delete mode 100644 codegen/Cargo.lock delete mode 100644 codegen/Cargo.toml delete mode 100644 codegen/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index f4054783c6..37795afba4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -535,14 +535,6 @@ dependencies = [ "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "codegen" -version = "0.1.0" -dependencies = [ - "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "config" version = "0.9.3" @@ -1001,6 +993,25 @@ dependencies = [ "futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "futures-await-test" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "futures-await-test-macro 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-executor 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "futures-await-test-macro" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "futures-channel" version = "0.3.1" @@ -1865,14 +1876,6 @@ name = "proc-macro-nested" version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "proc-macro2" -version = "0.4.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "proc-macro2" version = "1.0.6" @@ -1903,14 +1906,6 @@ name = "quick-error" version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "quote" -version = "0.6.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "quote" version = "1.0.2" @@ -2554,16 +2549,6 @@ name = "subtle" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "syn" -version = "0.15.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "syn" version = "1.0.11" @@ -2586,7 +2571,6 @@ dependencies = [ "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", "cadence 0.19.1 (registry+https://github.com/rust-lang/crates.io-index)", "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", - "codegen 0.1.0", "config 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", "diesel 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)", "diesel_logger 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2595,6 +2579,7 @@ dependencies = [ "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-await-test 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "googleapis-raw 0.0.1", "grpcio 0.5.0-alpha.5 (registry+https://github.com/rust-lang/crates.io-index)", "hawk 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2625,7 +2610,6 @@ dependencies = [ "slog-stdlog 4.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "slog-term 2.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", "url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "validator 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2961,11 +2945,6 @@ name = "unicode-segmentation" version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "unicode-xid" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "unicode-xid" version = "0.2.0" @@ -3284,6 +3263,8 @@ dependencies = [ "checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" "checksum futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" "checksum futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b6f16056ecbb57525ff698bb955162d0cd03bee84e6241c27ff75c08d8ca5987" +"checksum futures-await-test 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ae0d3d05bce73a572ba581e4f4a7f20164c18150169c3a67f406aada3e48c7e8" +"checksum futures-await-test-macro 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4f150175e6832600500334550e00e4dc563a0b32f58a9d1ad407f6473378c839" "checksum futures-channel 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fcae98ca17d102fd8a3603727b9259fcf7fa4239b603d2142926189bc8999b86" "checksum futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "79564c427afefab1dfb3298535b21eda083ef7935b4f0ecbfcb121f0aec10866" "checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" @@ -3380,12 +3361,10 @@ dependencies = [ "checksum ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b" "checksum proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)" = "ecd45702f76d6d3c75a80564378ae228a85f0b59d2f3ed43c91b4a69eb2ebfc5" "checksum proc-macro-nested 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "369a6ed065f249a159e06c45752c780bda2fb53c995718f9e484d08daa9eb42e" -"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" "checksum proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27" "checksum protobuf 2.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5f00e4a3cb64ecfeac2c0a73c74c68ae3439d7a6bead3870be56ad5dd2620a6f" "checksum publicsuffix 1.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "3bbaa49075179162b49acac1c6aa45fb4dafb5f13cf6794276d77bc7fd95757b" "checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" -"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" "checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" "checksum r2d2 0.8.8 (registry+https://github.com/rust-lang/crates.io-index)" = "1497e40855348e4a8a40767d8e55174bce1e445a3ac9254ad44ad468ee0485af" "checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" @@ -3456,7 +3435,6 @@ dependencies = [ "checksum string 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d24114bfcceb867ca7f71a0d3fe45d45619ec47a6fbfa98cb14e14250bfa5d6d" "checksum strsim 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" "checksum subtle 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" -"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5" "checksum syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)" = "dff0acdb207ae2fe6d5976617f887eb1e35a2ba52c13c7234c790960cdad9238" "checksum synstructure 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545" "checksum take_mut 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" @@ -3489,7 +3467,6 @@ dependencies = [ "checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" "checksum unicode-normalization 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "b561e267b2326bb4cebfc0ef9e68355c7abe6c6f522aeac2f5bf95d56c59bdcf" "checksum unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" -"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" "checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" "checksum untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "55cd1f4b4e96b46aeb8d4855db4a7a9bd96eeeb5c6a1ab54593328761642ce2f" "checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" diff --git a/Cargo.toml b/Cargo.toml index 442a509041..214ddff2d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,6 @@ slog-scope = "4.3" slog-stdlog = "4.0" slog-term = "2.4" time = "0.1.42" -tokio = "0.2.9" url = "2.1.0" uuid = { version = "0.8.1", features = ["serde", "v4"] } validator = "0.10" @@ -68,7 +67,7 @@ validator_derive = "0.10" woothee = "0.10" [dev-dependencies] -codegen = { version = "0.1.0", path = "codegen" } +futures-await-test = "0.3.0" [features] no_auth = [] diff --git a/codegen/Cargo.lock b/codegen/Cargo.lock deleted file mode 100644 index 050362106f..0000000000 --- a/codegen/Cargo.lock +++ /dev/null @@ -1,46 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -[[package]] -name = "codegen" -version = "0.1.0" -dependencies = [ - "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.38 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "proc-macro2" -version = "0.4.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "quote" -version = "0.6.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "syn" -version = "0.15.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "unicode-xid" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[metadata] -"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" -"checksum quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db" -"checksum syn 0.15.38 (registry+https://github.com/rust-lang/crates.io-index)" = "37ea458a750f59ab679b47fef9b6722c586c5742f4cfe18a120bbc807e5e01fd" -"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml deleted file mode 100644 index a32c6d4df1..0000000000 --- a/codegen/Cargo.toml +++ /dev/null @@ -1,12 +0,0 @@ -[package] -name = "codegen" -version = "0.1.0" -authors = ["Philip Jenvey "] -edition = "2018" - -[lib] -proc-macro = true - -[dependencies] -quote = "0.6.12" -syn = { version = "0.15", features = ["full"] } diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs deleted file mode 100644 index d21a1b5901..0000000000 --- a/codegen/src/lib.rs +++ /dev/null @@ -1,27 +0,0 @@ -extern crate proc_macro; -#[macro_use] -extern crate quote; - -use proc_macro::TokenStream; -use syn::{parse_macro_input, ItemFn}; - -/// Run a future as a test, this expands to calling the `async fn` via -/// `futures::executor::block_on`. Based off the `tokio-async-await-test` -/// crate. -#[proc_macro_attribute] -pub fn async_test(_attr: TokenStream, input: TokenStream) -> TokenStream { - let input = parse_macro_input!(input as ItemFn); - let test_case_name = input.ident.clone(); - - let expanded = quote! { - #[test] - fn #test_case_name () { - use futures::{executor::block_on, future::{FutureExt, TryFutureExt}}; - - #input - - block_on(#test_case_name()).unwrap(); - } - }; - expanded.into() -} diff --git a/src/db/tests/batch.rs b/src/db/tests/batch.rs index 18af6be299..b4d04dd744 100644 --- a/src/db/tests/batch.rs +++ b/src/db/tests/batch.rs @@ -1,4 +1,4 @@ -use codegen::async_test; +use futures_await_test::async_test; use log::debug; use super::support::{db, gbso, hid, postbso, Result}; diff --git a/src/db/tests/db.rs b/src/db/tests/db.rs index e8ad3dc649..46736474c4 100644 --- a/src/db/tests/db.rs +++ b/src/db/tests/db.rs @@ -4,7 +4,7 @@ use std::collections::HashMap; use lazy_static::lazy_static; use rand::{distributions::Alphanumeric, thread_rng, Rng}; -use codegen::async_test; +use futures_await_test::async_test; use super::support::{db, dbso, dbsos, gbso, gbsos, hid, pbso, postbso, Result}; use crate::db::{mysql::models::DEFAULT_BSO_TTL, params, util::SyncTimestamp, Sorting}; From 17ff2867442e7600f121976c04af32fc4eb7632a Mon Sep 17 00:00:00 2001 From: Donovan Preston Date: Thu, 19 Mar 2020 15:38:55 -0400 Subject: [PATCH 06/21] fix: Reduce log release_max_levels Set the max_level_ and release_max_level_ to info everywhere, and require each environment to specify an appropriate RUST_LOG environment variable. Fix #489 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 94c32c4856..71a19b13be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,7 @@ serde_json = { version = "1.0", features = ["arbitrary_precision"] } serde_urlencoded = "0.6.1" scheduled-thread-pool = "0.2" sha2 = "0.8.0" -slog = { version = "2.5", features = ["max_level_trace", "release_max_level_error", "dynamic-keys"] } +slog = { version = "2.5", features = ["max_level_info", "release_max_level_info", "dynamic-keys"] } slog-async = "2.3" slog-envlogger = "2.2.0" slog-mozlog-json = "0.1" From b10bad6bc6cbd6182a8d46551e5a452ffce520c2 Mon Sep 17 00:00:00 2001 From: jrconlin Date: Thu, 19 Mar 2020 18:11:14 -0700 Subject: [PATCH 07/21] f broken nightly --- tools/migration_rs/Cargo.toml | 7 +- tools/migration_rs/src/db/mod.rs | 13 +-- tools/migration_rs/src/db/mysql/mod.rs | 42 +++++++- tools/migration_rs/src/db/spanner/mod.rs | 119 ++++++++++++++++++----- tools/migration_rs/src/fxa.rs | 70 +++++++------ tools/migration_rs/src/main.rs | 6 +- tools/migration_rs/src/settings.rs | 3 + 7 files changed, 193 insertions(+), 67 deletions(-) diff --git a/tools/migration_rs/Cargo.toml b/tools/migration_rs/Cargo.toml index 13b37a4661..a0485ff2d9 100644 --- a/tools/migration_rs/Cargo.toml +++ b/tools/migration_rs/Cargo.toml @@ -9,6 +9,9 @@ edition = "2018" [dependencies] csv="1.1" base64="0.12" +hex="0.4" +futures="0.3" +pool = "0.1" # eventually use these #diesel = {version="1.4", features=["mysql", "r2d2"]} #diesel_logger = "0.1" @@ -21,7 +24,7 @@ grpcio={version="0.5"} log={version="0.4", features=["max_level_info", "release_max_level_info"]} protobuf = "2.7" rand="0.7" -serde="1.0" +serde={version="1.0", features=["derive"]} serde_derive="1.0" serde_json={version="1.0", features=["arbitrary_precision"]} slog = { version = "2.5", features = ["max_level_trace", "release_max_level_error"] } @@ -31,6 +34,6 @@ slog-mozlog-json = "0.1" slog-scope = "4.3" slog-stdlog = "4.0" slog-term = "2.5" -time = "0.2" +time = "0.2.9" url="2.1" structopt="0.3" \ No newline at end of file diff --git a/tools/migration_rs/src/db/mod.rs b/tools/migration_rs/src/db/mod.rs index 3e55b125a8..e7a6f820e9 100644 --- a/tools/migration_rs/src/db/mod.rs +++ b/tools/migration_rs/src/db/mod.rs @@ -1,21 +1,22 @@ pub mod mysql; +pub mod spanner; +pub mod collections; -use futures::future::LocalBoxFuture; - -use crate::error::{ApiError, Result}; +use crate::error::{ApiError, ApiResult}; use crate::settings::Settings; pub const DB_THREAD_POOL_SIZE: usize = 50; pub struct Dbs { mysql: mysql::MysqlDb, + spanner: spanner::SpannerPool, } impl Dbs { - pub fn connect(settings: &Settings) -> Result(Dbs) { + pub fn connect(settings: &Settings) -> ApiResult { Ok(Self { - mysql: mysql::MysqlDb::new(&settings), - //TODO: Get spanner db + mysql: mysql::MysqlDb::new(&settings)?, + spanner: spanner::SpannerPool::new(&settings)?, }) } } diff --git a/tools/migration_rs/src/db/mysql/mod.rs b/tools/migration_rs/src/db/mysql/mod.rs index 5c6f8bab23..5738c378a3 100644 --- a/tools/migration_rs/src/db/mysql/mod.rs +++ b/tools/migration_rs/src/db/mysql/mod.rs @@ -1,15 +1,51 @@ use mysql_async; +use mysql_async::prelude::Queryable; + +use futures::executor::block_on; + +use crate::db::collections::Collections; +use crate::error::ApiResult; use crate::settings::Settings; #[derive(Clone)] pub struct MysqlDb { - pool: mysql_async::Pool, + pub pool: mysql_async::Pool, } impl MysqlDb { - pub fn new(settings: &Settings) -> Result { - pool = mysql_async::Pool::new(settings.dsns.mysql); + pub fn new(settings: &Settings) -> ApiResult { + let pool = mysql_async::Pool::new(settings.dsns.mysql.unwrap()); Ok(Self { pool }) } + + pub async fn collections(&self, base: &mut Collections) -> ApiResult { + let conn = self.pool.get_conn().await.unwrap(); + + let cursor = conn + .prep_exec( + "SELECT + DISTINCT uc.collection, cc.name + FROM + user_collections as uc, + collections as cc + WHERE + uc.collection = cc.collectionid + ORDER BY + uc.collection + ", + (), + ).await.unwrap(); + cursor + .map_and_drop(|row| { + let id: u8 = row.get(0).unwrap(); + let collection_name:String = row.get(1).unwrap(); + if base.get(&collection_name).is_none() { + base.set(&collection_name, id); + } + }).await; + self.pool.disconnect().await.unwrap(); + + Ok(base.clone()) + } } diff --git a/tools/migration_rs/src/db/spanner/mod.rs b/tools/migration_rs/src/db/spanner/mod.rs index 0bbe6850e2..e447270f89 100644 --- a/tools/migration_rs/src/db/spanner/mod.rs +++ b/tools/migration_rs/src/db/spanner/mod.rs @@ -1,39 +1,39 @@ +use std::sync::Arc; +use std::ops::Deref; +use std::str::FromStr; + use googleapis_raw::spanner::v1::{ - spanner::{CreateSessionRequest, GetSessionRequest, Session}, + result_set::ResultSet, + spanner::{CreateSessionRequest, ExecuteSqlRequest, GetSessionRequest, Session, BeginTransactionRequest}, + transaction::{TransactionOptions, TransactionSelector}, spanner_grpc::SpannerClient, }; use grpcio::{ CallOption, ChannelBuilder, ChannelCredentials, EnvBuilder, Environment, MetadataBuilder, }; +use pool::Pool; + use crate::error::{ApiError, ApiErrorKind, ApiResult}; use crate::settings::Settings; +use crate::db::collections::Collections; -#[derive(Clone)] -pub struct SpannerConnectionManager { - pool: mysql_async::Pool, -} - -fn get_path(raw:&str) -> ApiResult { - let url = url::Url::parse(&settings.dsns.spanner); - format!("{}{}", url.host_str()?, url.path()) -} +const MAX_MESSAGE_LEN: i32 = 104_857_600; -impl SpannerConnectionManager { - pub fn new(settings: &Settings) -> ApiResult { - let database_name = get_path(&settings.dsns.spanner); - let env = Arc::new(EnvBuilder::new().build()); - - pool = mysql_async::Pool::new(settings.dsns.mysql); - Ok(Self { pool }) - } -} - -pub struct SpannerSession { +#[derive(Clone)] +pub struct SpannerPool { pub client: SpannerClient, - pub session: Session, + pub pool: Arc>, +} - pub(super) use_test_transactions: bool, +fn get_path(raw: &str) -> ApiResult { + let url = match url::Url::parse(raw){ + Ok(v) => v, + Err(e) => { + return Err(ApiErrorKind::Internal(format!("Invalid Spanner DSN {}", e)).into()) + } + }; + Ok(format!("{}{}", url.host_str().unwrap(), url.path())) } fn create_session(client: &SpannerClient, database_name: &str) -> Result { @@ -45,3 +45,76 @@ fn create_session(client: &SpannerClient, database_name: &str) -> Result ApiResult { + if settings.dsns.spanner.is_none() || + settings.dsns.mysql.is_none() { + return Err(ApiErrorKind::Internal("No DSNs set".to_owned()).into()) + } + let spanner_path = &settings.dsns.spanner.clone().unwrap(); + let database_name = get_path(&spanner_path).unwrap(); + let env = Arc::new(EnvBuilder::new().build()); + let creds = ChannelCredentials::google_default_credentials().unwrap(); + let chan = ChannelBuilder::new(env.clone()) + .max_send_message_len(MAX_MESSAGE_LEN) + .max_receive_message_len(MAX_MESSAGE_LEN) + .secure_connect(&spanner_path, creds); + let client = SpannerClient::new(chan); + + let pool = Pool::with_capacity(settings.spanner_pool_size.unwrap_or(1), 0, || { + create_session(&client, &database_name).expect("Could not create session") + }); + Ok(Self { client, pool: Arc::new(pool) }) + } + + pub async fn transaction(mut self, sql: &str) -> ApiResult { + let mut opts = TransactionOptions::new(); + let mut req = BeginTransactionRequest::new(); + let session = self.pool.checkout().unwrap(); + let name = session.get_name().to_owned(); + req.set_session(name.clone()); + req.set_options(opts); + + let mut txn = self.client.begin_transaction(&req).unwrap(); + + let mut txns = TransactionSelector::new(); + txns.set_id(txn.take_id()); + + let mut sreq = ExecuteSqlRequest::new(); + sreq.set_session(name.clone()); + sreq.set_transaction(txns); + + sreq.set_sql(sql.to_owned()); + match self.client.execute_sql(&sreq) { + Ok(v) => Ok(v), + Err(e) => { + Err(ApiErrorKind::Internal(format!("spanner transaction failed: {}", e)).into()) + } + } + } + + pub async fn collections(&mut self) -> ApiResult { + let result = self.transaction( + "SELECT + DISTINCT uc.collection, cc.name + FROM + user_collections as uc, + collections as cc + WHERE + uc.collection = cc.collectionid + ORDER BY + uc.collection" + ).await?; + let mut collections = Collections::default(); + for row in result.get_rows() { + let id: u8 = u8::from_str(row.values[0].get_string_value()).unwrap(); + let name:&str = row.values[1].get_string_value(); + if collections.get(name).is_none(){ + collections.set(name, id); + } + } + Ok(collections) + + } +} diff --git a/tools/migration_rs/src/fxa.rs b/tools/migration_rs/src/fxa.rs index e596d16f96..d7ce60e138 100644 --- a/tools/migration_rs/src/fxa.rs +++ b/tools/migration_rs/src/fxa.rs @@ -1,16 +1,16 @@ use std::collections::HashMap; use std::fs::File; +use std::io::BufReader; use base64; -use serde::Deserialize; -use serrialize use csv; +use serde::{self, Deserialize}; -use crate::error::{APiResult, ApiError, ApiErrorKind}; +use crate::error::{ApiError, ApiErrorKind, ApiResult}; use crate::settings::Settings; #[derive(Debug, Deserialize)] -pub struct Fxa_CSV_record { +pub struct FxaCSVRecord { pub uid: u64, pub email: String, pub generation: Option, @@ -18,50 +18,58 @@ pub struct Fxa_CSV_record { pub client_state: String, } -#[derive(Debug, Deserialize, Clone)] -pub struct Fxa_Data { +#[derive(Debug, Clone, serde::Deserialize)] +pub struct FxaData { pub fxa_uid: String, pub fxa_kid: String, } -#[derive(Debug, Deserialize, Clone)] -pub struct Fxa_Info { - pub users: Vec, +#[derive(Debug, Clone, serde::Deserialize)] +pub struct FxaInfo { + pub users: HashMap, pub anon: bool, } -impl Fxa_Info { - fn gen_uid(record: &Fxa_CSV_record) -> ApiResult { - Ok(record.email.split('@')[0].to_owned()) +impl FxaInfo { + fn gen_uid(record: &FxaCSVRecord) -> ApiResult { + let parts: Vec<&str> = record.email.splitn(2, '@').collect(); + Ok(parts[0].to_owned()) } - fn gen_kid(record: &Fxa) -> ApiResult { - let key_index = record.keys_changed_at.unwrap_or(record.generation.unwrap_or(0)); - let key_hash = record.client_state.from_hex()?; - Ok(format!("{:013d}-{}", key_index, - base64::encode_config(key_hash, base64::URL_SAFE_NO_PAD))) + fn gen_kid(record: &FxaCSVRecord) -> ApiResult { + let key_index = record + .keys_changed_at + .unwrap_or(record.generation.unwrap_or(0)); + let key_hash: Vec = match hex::decode(record.client_state.clone()) { + Ok(v) => v, + Err(e) => { + return Err(ApiErrorKind::Internal(format!("Invalid client state {}", e)).into()) + } + }; + Ok(format!( + "{:013}-{}", + key_index, + base64::encode_config(&key_hash, base64::URL_SAFE_NO_PAD) + )) } pub fn new(settings: &Settings) -> ApiResult { if settings.deanon == false { return Ok(Self { - users: Vec::new(), + users: HashMap::new(), anon: true, }); } - let mut rdr = csv::Reader::from_reader(BufReader::new(File::open(settings.fxa_file)?)); - let mut users = Vec::::new(); - for line in rdr.deserialize() { - if Some(record: Fxa_CSV_record) = line { - users[record.uid] = Fxa_Data{ - fxa_uid: self.gen_uid(&record)?, - fxa_kid: self.gen_kid(&record)? - } + let mut rdr = csv::Reader::from_reader(BufReader::new(File::open(&settings.fxa_file)?)); + let mut users = HashMap::::new(); + for line in rdr.deserialize::() { + if let Ok(record) = line { + users.insert(record.uid, FxaData { + fxa_uid: FxaInfo::gen_uid(&record)?, + fxa_kid: FxaInfo::gen_kid(&record)?, + }); } - }; - Ok(Self{ - users, - anon: false, - }) + } + Ok(Self { users, anon: false }) } } diff --git a/tools/migration_rs/src/main.rs b/tools/migration_rs/src/main.rs index c184cf1e5d..1c16f65de2 100644 --- a/tools/migration_rs/src/main.rs +++ b/tools/migration_rs/src/main.rs @@ -1,6 +1,8 @@ use std::fs::File; use std::io::{BufReader, Error}; +use futures::executor::block_on; + use serde::{de::Deserialize, Serialize}; use std::path::PathBuf; use structopt::StructOpt; @@ -18,9 +20,9 @@ fn main() { // TODO: set logging level logging::init_logging(settings.human_logs); // create the database connections - let dbs = db::Dbs::connect(&settings)?; + let dbs = db::Dbs::connect(&settings).unwrap(); // TODO:read in fxa_info file (todo: make db?) - let fxa = fxa::Fxa_Info::new(&settings)?; + let fxa = fxa::FxaInfo::new(&settings).unwrap(); // TODO: dbs.reconcile_collections()?.await; // let users = dbs.get_users(&settings, &fxa)?.await; // for bso in [start..end] { diff --git a/tools/migration_rs/src/settings.rs b/tools/migration_rs/src/settings.rs index 8e2983424d..dd41821c39 100644 --- a/tools/migration_rs/src/settings.rs +++ b/tools/migration_rs/src/settings.rs @@ -14,6 +14,7 @@ static DEFAULT_OFFSET: u64 = 0; static DEFAULT_START_BSO: u64 = 0; static DEFAULT_END_BSO: u64 = 19; static DEFAULT_FXA_FILE: &str = "users.csv"; +static DEFAULT_SPANNER_POOL_SIZE: usize = 32; #[derive(Clone, Debug)] pub struct Dsns { @@ -133,6 +134,7 @@ pub struct Settings { pub start_bso: Option, pub end_bso: Option, pub readchunk: Option, + pub spanner_pool_size: Option, #[structopt(long, parse(try_from_str=User::from_str))] pub user: Option, #[structopt(long, parse(try_from_str=Abort::from_str))] @@ -158,6 +160,7 @@ impl Default for Settings { start_bso: Some(DEFAULT_START_BSO), end_bso: Some(DEFAULT_END_BSO), readchunk: Some(DEFAULT_READ_CHUNK), + spanner_pool_size: Some(DEFAULT_SPANNER_POOL_SIZE), fxa_file: DEFAULT_FXA_FILE.to_owned(), user: None, abort: None, From f9842af9fc7cc931d40205f5a7668cc1e5828d6b Mon Sep 17 00:00:00 2001 From: Philip Jenvey Date: Fri, 20 Mar 2020 16:52:19 -0700 Subject: [PATCH 08/21] fix: correct the test version of post_bsos to call into the test version of put_bso Closes #533 --- src/db/spanner/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/spanner/models.rs b/src/db/spanner/models.rs index 5ca552f5ea..0f1fd7a97d 100644 --- a/src/db/spanner/models.rs +++ b/src/db/spanner/models.rs @@ -1567,7 +1567,7 @@ impl SpannerDb { for pbso in input.bsos { let id = pbso.id; - self.put_bso_async(params::PutBso { + self.put_bso_async_test(params::PutBso { user_id: input.user_id.clone(), collection: input.collection.clone(), id: id.clone(), From 5d6d7c1a8aef941134aae2ea24a8d3ed0c4a0c15 Mon Sep 17 00:00:00 2001 From: mirefly Date: Sat, 14 Mar 2020 20:54:37 -0600 Subject: [PATCH 09/21] refactor: rewrite purge_ttl in Rust Closes: #385 --- Dockerfile | 3 +- tools/spanner/purge_ttl/Cargo.lock | 405 ++++++++++++++++++++++++++++ tools/spanner/purge_ttl/Cargo.toml | 12 + tools/spanner/purge_ttl/src/main.rs | 155 +++++++++++ 4 files changed, 574 insertions(+), 1 deletion(-) create mode 100644 tools/spanner/purge_ttl/Cargo.lock create mode 100644 tools/spanner/purge_ttl/Cargo.toml create mode 100644 tools/spanner/purge_ttl/src/main.rs diff --git a/Dockerfile b/Dockerfile index bf046f8370..7cc04d701e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ RUN apt-get -q update && \ RUN \ cargo --version && \ rustc --version && \ - cargo install --path . --locked --root /app + cargo install --path . --locked --root /app && \ + cargo install --path tools/spanner/purge_ttl --locked --root /app FROM debian:buster-slim WORKDIR /app diff --git a/tools/spanner/purge_ttl/Cargo.lock b/tools/spanner/purge_ttl/Cargo.lock new file mode 100644 index 0000000000..bae38cd320 --- /dev/null +++ b/tools/spanner/purge_ttl/Cargo.lock @@ -0,0 +1,405 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "aho-corasick" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8716408b8bc624ed7f65d223ddb9ac2d044c0547b6fa4b0d554f3a9540496ada" +dependencies = [ + "memchr", +] + +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi", + "libc", + "winapi", +] + +[[package]] +name = "bindgen" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebd71393f1ec0509b553aa012b9b58e81dadbdff7130bd3b8cba576e69b32f75" +dependencies = [ + "bitflags", + "cexpr", + "cfg-if", + "clang-sys", + "lazy_static", + "peeking_take_while", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex", +] + +[[package]] +name = "bitflags" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" + +[[package]] +name = "cadence" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cc8802110b3a8650896ab9ab0578b5b3057a112ccb0832b5c2ffebfccacc0db" +dependencies = [ + "crossbeam-channel", +] + +[[package]] +name = "cc" +version = "1.0.50" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd" + +[[package]] +name = "cexpr" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce5b5fb86b0c57c20c834c1b412fd09c77c8a59b9473f86272709e78874cd1d" +dependencies = [ + "nom", +] + +[[package]] +name = "cfg-if" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" + +[[package]] +name = "clang-sys" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81de550971c976f176130da4b2978d3b524eaa0fd9ac31f3ceb5ae1231fb4853" +dependencies = [ + "glob", + "libc", + "libloading", +] + +[[package]] +name = "cmake" +version = "0.1.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81fb25b677f8bf1eb325017cb6bb8452f87969db0fedb4f757b297bee78a7c62" +dependencies = [ + "cc", +] + +[[package]] +name = "crossbeam-channel" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ec7fcd21571dc78f96cc96243cab8d8f035247c3efd16c687be154c3fa9efa" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6" +dependencies = [ + "cfg-if", + "lazy_static", +] + +[[package]] +name = "env_logger" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" +dependencies = [ + "atty", + "humantime", + "log", + "regex", + "termcolor", +] + +[[package]] +name = "futures" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" + +[[package]] +name = "glob" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" + +[[package]] +name = "googleapis-raw" +version = "0.0.1" +dependencies = [ + "futures", + "grpcio", + "protobuf", +] + +[[package]] +name = "grpcio" +version = "0.5.0-alpha.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1463096cfc371772d59a48fbfc471e18892e197efc5867b3bd7c2e0428e97824" +dependencies = [ + "futures", + "grpcio-sys", + "libc", + "log", + "protobuf", +] + +[[package]] +name = "grpcio-sys" +version = "0.5.0-alpha.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8aebf59fdf3668edf163c1948ceca64c4ebb733d71c9055a12219d336bd5d51" +dependencies = [ + "bindgen", + "cc", + "cmake", + "libc", + "pkg-config", + "walkdir", +] + +[[package]] +name = "hermit-abi" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1010591b26bbfe835e9faeabeb11866061cc7dcebffd56ad7d0942d0e61aefd8" +dependencies = [ + "libc", +] + +[[package]] +name = "humantime" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" +dependencies = [ + "quick-error", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "libc" +version = "0.2.67" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb147597cdf94ed43ab7a9038716637d2d1bf2bc571da995d0028dec06bd3018" + +[[package]] +name = "libloading" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" +dependencies = [ + "cc", + "winapi", +] + +[[package]] +name = "log" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "memchr" +version = "2.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" + +[[package]] +name = "nom" +version = "4.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6" +dependencies = [ + "memchr", + "version_check", +] + +[[package]] +name = "peeking_take_while" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" + +[[package]] +name = "pkg-config" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677" + +[[package]] +name = "proc-macro2" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c09721c6781493a2a492a96b5a5bf19b65917fe6728884e7c44dd0c60ca3435" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "protobuf" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f00e4a3cb64ecfeac2c0a73c74c68ae3439d7a6bead3870be56ad5dd2620a6f" + +[[package]] +name = "purge_ttl" +version = "0.1.0" +dependencies = [ + "cadence", + "env_logger", + "googleapis-raw", + "grpcio", + "log", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quote" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "regex" +version = "1.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8900ebc1363efa7ea1c399ccc32daed870b4002651e0bed86e72d501ebbe0048" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", + "thread_local", +] + +[[package]] +name = "regex-syntax" +version = "0.6.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fe5bd57d1d7414c6b5ed48563a2c855d995ff777729dcd91c369ec7fea395ae" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "shlex" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" + +[[package]] +name = "termcolor" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thread_local" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "unicode-xid" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" + +[[package]] +name = "version_check" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" + +[[package]] +name = "walkdir" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d" +dependencies = [ + "same-file", + "winapi", + "winapi-util", +] + +[[package]] +name = "winapi" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ccfbf554c6ad11084fb7517daca16cfdcaccbdadba4fc336f032a8b12c2ad80" +dependencies = [ + "winapi", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/tools/spanner/purge_ttl/Cargo.toml b/tools/spanner/purge_ttl/Cargo.toml new file mode 100644 index 0000000000..417783369f --- /dev/null +++ b/tools/spanner/purge_ttl/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "purge_ttl" +version = "0.1.0" +authors = ["mirefly "] +edition = "2018" + +[dependencies] +googleapis-raw = { version = "0", path = "../../../vendor/mozilla-rust-sdk/googleapis-raw" } +grpcio = { version = "0.5.0-alpha.5" } +cadence = "0.19.1" +log = "0.4.8" +env_logger = "0.7.1" diff --git a/tools/spanner/purge_ttl/src/main.rs b/tools/spanner/purge_ttl/src/main.rs new file mode 100644 index 0000000000..0cd83a0a8f --- /dev/null +++ b/tools/spanner/purge_ttl/src/main.rs @@ -0,0 +1,155 @@ +use std::env; +use std::error::Error; +use std::net::{IpAddr, UdpSocket}; +use std::sync::Arc; +use std::time::Instant; + +use cadence::{ + BufferedUdpMetricSink, Metric, QueuingMetricSink, StatsdClient, Timed, DEFAULT_PORT, +}; +use env_logger; +use googleapis_raw::spanner::v1::{ + spanner::{BeginTransactionRequest, CreateSessionRequest, ExecuteSqlRequest, Session}, + spanner_grpc::SpannerClient, + transaction::{TransactionOptions, TransactionOptions_PartitionedDml, TransactionSelector}, +}; +use grpcio::{CallOption, ChannelBuilder, ChannelCredentials, EnvBuilder, MetadataBuilder}; +use log::{info, trace, warn}; + +pub struct MetricTimer { + pub client: StatsdClient, + pub label: String, + pub start: Instant, +} + +impl Drop for MetricTimer { + fn drop(&mut self) { + let lapse = (Instant::now() - self.start).as_millis() as u64; + match self.client.time(&self.label, lapse) { + Err(e) => { + warn!("⚠️ Metric {} error: {:?}", self.label, e); + } + Ok(v) => { + info!("⌚ {:?}", v.as_metric_str()); + } + } + } +} + +pub fn start_timer(client: &StatsdClient, label: &str) -> MetricTimer { + trace!("⌚ Starting timer... {:?}", label); + MetricTimer { + start: Instant::now(), + label: label.to_owned(), + client: client.clone(), + } +} + +pub fn statsd_from_env() -> Result> { + let statsd_host = env::var("STATSD_HOST") + .unwrap_or_else(|_| "127.0.0.1".to_string()) + .parse::()?; + let statsd_port = match env::var("STATSD_PORT") { + Ok(port) => port.parse::()?, + Err(_) => DEFAULT_PORT, + }; + + let socket = UdpSocket::bind("0.0.0.0:0")?; + socket.set_nonblocking(true)?; + let host = (statsd_host, statsd_port); + let udp_sink = BufferedUdpMetricSink::from(host, socket)?; + let sink = QueuingMetricSink::from(udp_sink); + let builder = StatsdClient::builder("syncstorage", sink); + + Ok(builder + .with_error_handler(|err| { + warn!("Metric send error: {:?}", err); + }) + .build()) +} + +fn prepare_request( + client: &SpannerClient, + session: &Session, +) -> Result> { + // Create a transaction + let mut opt = TransactionOptions::new(); + opt.set_partitioned_dml(TransactionOptions_PartitionedDml::new()); + let mut req = BeginTransactionRequest::new(); + req.set_session(session.get_name().to_owned()); + req.set_options(opt); + let mut txn = client.begin_transaction(&req)?; + + let mut ts = TransactionSelector::new(); + ts.set_id(txn.take_id()); + + // Create an SQL request + let mut req = ExecuteSqlRequest::new(); + req.set_session(session.get_name().to_string()); + req.set_transaction(ts); + + Ok(req) +} + +fn main() -> Result<(), Box> { + env_logger::try_init()?; + + let url = env::var("SYNC_DATABASE_URL")?; + if !url.starts_with("spanner://") { + return Err("Invalid SYNC_DAYABASE_URL".into()); + } + + let database = url["spanner://".len()..].to_owned(); + info!("For {}", database); + + let endpoint = "spanner.googleapis.com:443"; + + // Set up the gRPC environment. + let env = Arc::new(EnvBuilder::new().build()); + let creds = ChannelCredentials::google_default_credentials()?; + + // Create a Spanner client. + let chan = ChannelBuilder::new(env) + .max_send_message_len(100 << 20) + .max_receive_message_len(100 << 20) + .secure_connect(&endpoint, creds); + let client = SpannerClient::new(chan); + + // Create a session + let mut req = CreateSessionRequest::new(); + req.set_database(database.to_string()); + let mut meta = MetadataBuilder::new(); + meta.add_str("google-cloud-resource-prefix", &database)?; + meta.add_str("x-goog-api-client", "googleapis-rs")?; + let opt = CallOption::default().headers(meta.build()); + let session = client.create_session_opt(&req, opt)?; + + let statsd = statsd_from_env()?; + + { + let _timer_total = start_timer(&statsd, "purge_ttl.total_duration"); + { + let _timer_batches = start_timer(&statsd, "purge_ttl.batches_duration"); + let mut req = prepare_request(&client, &session)?; + req.set_sql("DELETE FROM batches WHERE expiry < CURRENT_TIMESTAMP()".to_string()); + let result = client.execute_sql(&req)?; + info!( + "batches: removed {} rows", + result.get_stats().get_row_count_lower_bound() + ) + } + { + let _timer_bso = start_timer(&statsd, "purge_ttl.bso_duration"); + let mut req = prepare_request(&client, &session)?; + req.set_sql("DELETE FROM bsos WHERE expiry < CURRENT_TIMESTAMP()".to_string()); + let result = client.execute_sql(&req)?; + info!( + "bso: removed {} rows", + result.get_stats().get_row_count_lower_bound() + ) + } + info!("Completed purge_ttl") + } + + Ok(()) +} From a9cbff72e38c1820e9919c63f277fced04849442 Mon Sep 17 00:00:00 2001 From: jrconlin Date: Mon, 23 Mar 2020 07:11:18 -0700 Subject: [PATCH 10/21] f nightly --- tools/migration_rs/src/db/mod.rs | 61 +++++++++++++++++++- tools/migration_rs/src/db/mysql/mod.rs | 72 ++++++++++++++++++++---- tools/migration_rs/src/db/spanner/mod.rs | 28 ++++----- tools/migration_rs/src/fxa.rs | 15 +++-- tools/migration_rs/src/main.rs | 24 ++++++-- tools/migration_rs/src/settings.rs | 23 +++++--- 6 files changed, 181 insertions(+), 42 deletions(-) diff --git a/tools/migration_rs/src/db/mod.rs b/tools/migration_rs/src/db/mod.rs index e7a6f820e9..35c84a3948 100644 --- a/tools/migration_rs/src/db/mod.rs +++ b/tools/migration_rs/src/db/mod.rs @@ -2,21 +2,78 @@ pub mod mysql; pub mod spanner; pub mod collections; +use futures::executor::block_on; + use crate::error::{ApiError, ApiResult}; use crate::settings::Settings; +use crate::fxa::{FxaInfo, FxaData}; +use crate::db::collections::Collections; pub const DB_THREAD_POOL_SIZE: usize = 50; pub struct Dbs { mysql: mysql::MysqlDb, - spanner: spanner::SpannerPool, + spanner: spanner::Spanner, +} + +pub struct Bso { + col_name: String, + col_id: u64, + bso_id: u64, + expiry: u64, + modify: u64, + payload: Vec, + sort_index: Option, +} + +pub struct User { + uid: u64, + fxa_data: FxaData, +} + +pub struct UserData { + collections: Option, + bsos: Option> } impl Dbs { pub fn connect(settings: &Settings) -> ApiResult { Ok(Self { mysql: mysql::MysqlDb::new(&settings)?, - spanner: spanner::SpannerPool::new(&settings)?, + spanner: spanner::Spanner::new(&settings)?, }) } + + pub fn get_users(&self, bso_num:u8, fxa: &FxaInfo) -> ApiResult> { + let mut result: Vec = Vec::new(); + for uid in block_on(self.mysql.get_user_ids(bso_num)).unwrap() { + if let Some(fxa_data) = fxa.get_fxa_data(&uid) { + result.push(User{ + uid, + fxa_data, + }) + } + }; + Ok(result) + } + + pub fn move_user(&self, user: &User, bso: u8) -> ApiResult<()> { + let userdata = block_on(self.mysql.get_user_data(user, bso)).unwrap(); + for user in userdata { + //TOOD add abort stuff + //TODO add divvy up + // TODO: finish update_user + match block_on(self.spanner.update_user(user)){ + Ok(_) => {}, + /* + Err(ApiError.kind(ApiErrorKind::AlreadyExists)) || + Err(ApiError.kind(ApiErrorKind::InvalidArgument)) => { + // already exists, so skip + }, + */ + Err(e) => {panic!("Unknown Error: {}", e)} + }; + } + Ok(()) + } } diff --git a/tools/migration_rs/src/db/mysql/mod.rs b/tools/migration_rs/src/db/mysql/mod.rs index 5738c378a3..79182a38e7 100644 --- a/tools/migration_rs/src/db/mysql/mod.rs +++ b/tools/migration_rs/src/db/mysql/mod.rs @@ -1,22 +1,23 @@ -use mysql_async; +use std::str::FromStr; +use mysql_async::{self, params}; use mysql_async::prelude::Queryable; - -use futures::executor::block_on; - use crate::db::collections::Collections; -use crate::error::ApiResult; +use crate::error::{ApiErrorKind, ApiResult}; use crate::settings::Settings; +use crate::fxa::FxaInfo; +use crate::db::{User, UserData}; #[derive(Clone)] pub struct MysqlDb { + settings: Settings, pub pool: mysql_async::Pool, } impl MysqlDb { pub fn new(settings: &Settings) -> ApiResult { - let pool = mysql_async::Pool::new(settings.dsns.mysql.unwrap()); - Ok(Self { pool }) + let pool = mysql_async::Pool::new(settings.dsns.mysql.clone().unwrap()); + Ok(Self {settings: settings.clone(), pool}) } pub async fn collections(&self, base: &mut Collections) -> ApiResult { @@ -36,16 +37,65 @@ impl MysqlDb { ", (), ).await.unwrap(); - cursor + match cursor .map_and_drop(|row| { let id: u8 = row.get(0).unwrap(); let collection_name:String = row.get(1).unwrap(); if base.get(&collection_name).is_none() { base.set(&collection_name, id); } - }).await; - self.pool.disconnect().await.unwrap(); + }).await { + Ok(_) => { + Ok(base.clone()) + }, + Err(e) => { + Err(ApiErrorKind::Internal(format!("failed to get collections {}", e)).into()) + } + } + } + + pub async fn get_user_ids(&self, bso_num: u8) -> ApiResult> { + let mut results: Vec = Vec::new(); + // return the list if they're already specified in the options. + if let Some(user) = self.settings.user.clone() { + for uid in user.user_id { + results.push(u64::from_str(&uid).map_err(|e| ApiErrorKind::Internal(format!("Invalid UID option found {} {}", uid, e)))?); + } + return Ok(results) + } + + let sql = "SELECT DISTINCT userid FROM :bso"; + let conn: mysql_async::Conn = match self + .pool + .get_conn() + .await { + Ok(v) => v, + Err(e) => { + return Err(ApiErrorKind::Internal(format!("Could not get connection: {}", e)).into()) + } + }; + let cursor = match conn.prep_exec(sql, params!{ + "bso" => bso_num + }).await { + Ok(v) => v, + Err(e) => { + return Err(ApiErrorKind::Internal(format!("Could not get users: {}",e)).into()) + } + }; + match cursor.map_and_drop(|row| { + let uid:String = mysql_async::from_row(row); + if let Ok(v) = u64::from_str(&uid) { + v + } else { + panic!("Invalid UID found in database {}", uid); + } + }).await { + Ok(_) => {Ok(results)} + Err(e)=> {Err(ApiErrorKind::Internal(format!("Bad UID found in database {}", e)).into())} + } + } - Ok(base.clone()) + pub async fn get_user_data(&self, user: &User, bso: u8) -> ApiResult> { + Err(ApiErrorKind::Internal("TODO".to_owned()).into()) } } diff --git a/tools/migration_rs/src/db/spanner/mod.rs b/tools/migration_rs/src/db/spanner/mod.rs index e447270f89..86fbc0fed6 100644 --- a/tools/migration_rs/src/db/spanner/mod.rs +++ b/tools/migration_rs/src/db/spanner/mod.rs @@ -11,19 +11,18 @@ use googleapis_raw::spanner::v1::{ use grpcio::{ CallOption, ChannelBuilder, ChannelCredentials, EnvBuilder, Environment, MetadataBuilder, }; -use pool::Pool; use crate::error::{ApiError, ApiErrorKind, ApiResult}; use crate::settings::Settings; +use crate::db::UserData; use crate::db::collections::Collections; const MAX_MESSAGE_LEN: i32 = 104_857_600; #[derive(Clone)] -pub struct SpannerPool { +pub struct Spanner { pub client: SpannerClient, - pub pool: Arc>, } fn get_path(raw: &str) -> ApiResult { @@ -46,7 +45,7 @@ fn create_session(client: &SpannerClient, database_name: &str) -> Result ApiResult { if settings.dsns.spanner.is_none() || settings.dsns.mysql.is_none() { @@ -62,18 +61,17 @@ impl SpannerPool { .secure_connect(&spanner_path, creds); let client = SpannerClient::new(chan); - let pool = Pool::with_capacity(settings.spanner_pool_size.unwrap_or(1), 0, || { - create_session(&client, &database_name).expect("Could not create session") - }); - Ok(Self { client, pool: Arc::new(pool) }) + Ok(Self {client}) } pub async fn transaction(mut self, sql: &str) -> ApiResult { let mut opts = TransactionOptions::new(); let mut req = BeginTransactionRequest::new(); - let session = self.pool.checkout().unwrap(); - let name = session.get_name().to_owned(); - req.set_session(name.clone()); + let sreq = CreateSessionRequest::new(); + let mut meta = MetadataBuilder::new(); + let sopt = CallOption::default().headers(meta.build()); + let session = self.client.create_session_opt(&sreq, sopt).unwrap(); + req.set_session(session.name.clone()); req.set_options(opts); let mut txn = self.client.begin_transaction(&req).unwrap(); @@ -82,7 +80,7 @@ impl SpannerPool { txns.set_id(txn.take_id()); let mut sreq = ExecuteSqlRequest::new(); - sreq.set_session(name.clone()); + sreq.set_session(session.name.clone()); sreq.set_transaction(txns); sreq.set_sql(sql.to_owned()); @@ -95,7 +93,7 @@ impl SpannerPool { } pub async fn collections(&mut self) -> ApiResult { - let result = self.transaction( + let result = self.clone().transaction( "SELECT DISTINCT uc.collection, cc.name FROM @@ -117,4 +115,8 @@ impl SpannerPool { Ok(collections) } + + pub async fn update_user(&self, user: UserData) -> ApiResult { + Err(ApiErrorKind::Internal(format!("TODO: Incomplete")).into()) + } } diff --git a/tools/migration_rs/src/fxa.rs b/tools/migration_rs/src/fxa.rs index d7ce60e138..051f43ee57 100644 --- a/tools/migration_rs/src/fxa.rs +++ b/tools/migration_rs/src/fxa.rs @@ -53,6 +53,10 @@ impl FxaInfo { )) } + pub fn get_fxa_data(&self, uid: &u64) -> Option { + self.users.get(uid).map(|d| d.clone()) + } + pub fn new(settings: &Settings) -> ApiResult { if settings.deanon == false { return Ok(Self { @@ -64,10 +68,13 @@ impl FxaInfo { let mut users = HashMap::::new(); for line in rdr.deserialize::() { if let Ok(record) = line { - users.insert(record.uid, FxaData { - fxa_uid: FxaInfo::gen_uid(&record)?, - fxa_kid: FxaInfo::gen_kid(&record)?, - }); + users.insert( + record.uid, + FxaData { + fxa_uid: FxaInfo::gen_uid(&record)?, + fxa_kid: FxaInfo::gen_kid(&record)?, + }, + ); } } Ok(Self { users, anon: false }) diff --git a/tools/migration_rs/src/main.rs b/tools/migration_rs/src/main.rs index 1c16f65de2..390e51589b 100644 --- a/tools/migration_rs/src/main.rs +++ b/tools/migration_rs/src/main.rs @@ -1,5 +1,7 @@ use std::fs::File; use std::io::{BufReader, Error}; +use std::sync::Arc; +use std::ops::Range; use futures::executor::block_on; @@ -20,12 +22,26 @@ fn main() { // TODO: set logging level logging::init_logging(settings.human_logs); // create the database connections - let dbs = db::Dbs::connect(&settings).unwrap(); + let dbs = Arc::new(db::Dbs::connect(&settings).unwrap()); // TODO:read in fxa_info file (todo: make db?) let fxa = fxa::FxaInfo::new(&settings).unwrap(); // TODO: dbs.reconcile_collections()?.await; + let collections = db::collections::Collections::new(&settings, &dbs).unwrap(); // let users = dbs.get_users(&settings, &fxa)?.await; - // for bso in [start..end] { - // dbs.move_user(&fxa, &users, &bso)?; - // } + let mut start_bso = &settings.start_bso.unwrap_or(0); + let mut end_bso = &settings.end_bso.unwrap_or(19); + let suser = &settings.user.clone(); + if let Some(user) = suser { + start_bso = &user.bso; + end_bso = &user.bso; + } + + let range = Range{ start:start_bso.clone(), end:end_bso.clone()}; + for bso in range { + let users = &dbs.get_users(bso, &fxa).unwrap(); + // divvy up users; + for user in users { + dbs.move_user(user, bso).unwrap(); + } + } } diff --git a/tools/migration_rs/src/settings.rs b/tools/migration_rs/src/settings.rs index dd41821c39..3c30aeac0a 100644 --- a/tools/migration_rs/src/settings.rs +++ b/tools/migration_rs/src/settings.rs @@ -11,8 +11,8 @@ use crate::error::{ApiError, ApiErrorKind}; static DEFAULT_CHUNK_SIZE: u64 = 1_500_000; static DEFAULT_READ_CHUNK: u64 = 1_000; static DEFAULT_OFFSET: u64 = 0; -static DEFAULT_START_BSO: u64 = 0; -static DEFAULT_END_BSO: u64 = 19; +static DEFAULT_START_BSO: u8 = 0; +static DEFAULT_END_BSO: u8 = 19; static DEFAULT_FXA_FILE: &str = "users.csv"; static DEFAULT_SPANNER_POOL_SIZE: usize = 32; @@ -48,7 +48,7 @@ impl Dsns { #[derive(Clone, Debug)] pub struct User { - pub bso: String, + pub bso: u8, pub user_id: Vec, } @@ -58,7 +58,10 @@ impl User { if parts.len() == 1 { return Err(ApiErrorKind::Internal("bad user option".to_owned()).into()); } - let bso = String::from(parts[0]); + let bso = match u8::from_str(parts[0]) { + Ok(v) => v, + Err(e) => return Err(ApiErrorKind::Internal(format!("invalid bso: {}", e)).into()), + }; let s_ids = parts[1].split(',').collect::>(); let mut user_id: Vec = Vec::new(); for id in s_ids { @@ -71,7 +74,7 @@ impl User { #[derive(Clone, Debug)] pub struct Abort { - pub bso: String, + pub bso: u8, pub count: u64, } @@ -81,8 +84,12 @@ impl Abort { if parts.len() == 1 { return Err(ApiErrorKind::Internal("Bad abort option".to_owned()).into()); } + let bso = match u8::from_str(parts[0]) { + Ok(v) => v, + Err(e) => return Err(ApiErrorKind::Internal(format!("invalid bso: {}", e)).into()), + }; Ok(Abort { - bso: String::from(parts[0]), + bso, count: u64::from_str(parts[1]).expect("Bad count for Abort"), }) } @@ -131,8 +138,8 @@ pub struct Settings { pub fxa_file: String, pub chunk_limit: Option, pub offset: Option, - pub start_bso: Option, - pub end_bso: Option, + pub start_bso: Option, + pub end_bso: Option, pub readchunk: Option, pub spanner_pool_size: Option, #[structopt(long, parse(try_from_str=User::from_str))] From d8debcc7ac21e03a3818fad05538a96dcbbdbfc0 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2020 15:36:23 +0000 Subject: [PATCH 11/21] build(deps): bump scheduled-thread-pool from 0.2.3 to 0.2.4 (#536) --- Cargo.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f4054783c6..fd098ecb42 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1926,7 +1926,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "scheduled-thread-pool 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "scheduled-thread-pool 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2225,7 +2225,7 @@ dependencies = [ [[package]] name = "scheduled-thread-pool" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2610,7 +2610,7 @@ dependencies = [ "protobuf 2.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "scheduled-thread-pool 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "scheduled-thread-pool 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "sentry 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3419,7 +3419,7 @@ dependencies = [ "checksum ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8" "checksum same-file 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "585e8ddcedc187886a30fa705c47985c3fa88d06624095856b36ca0b82ff4421" "checksum schannel 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "87f550b06b6cba9c8b8be3ee73f391990116bf527450d2556e9b9ce263b9a021" -"checksum scheduled-thread-pool 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f5de7bc31f28f8e6c28df5e1bf3d10610f5fdc14cc95f272853512c70a2bd779" +"checksum scheduled-thread-pool 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "0988d7fdf88d5e5fcf5923a0f1e8ab345f3e98ab4bc6bc45a2d5ff7f7458fbf6" "checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27" "checksum scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d" "checksum security-framework 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8ef2429d7cefe5fd28bd1d2ed41c944547d4ff84776f5935b456da44593a16df" From 1004fc4f5df90cf377a87d1fa88ceecbb024979f Mon Sep 17 00:00:00 2001 From: jrconlin Date: Tue, 24 Mar 2020 18:25:11 -0700 Subject: [PATCH 12/21] f nightly WIP --- tools/migration_rs/src/db/collections.rs | 85 ++++++++++++++++ tools/migration_rs/src/db/mod.rs | 42 ++++---- tools/migration_rs/src/db/mysql/mod.rs | 118 ++++++++++++++++++++--- tools/migration_rs/src/db/spanner/mod.rs | 106 +++++++++++++++++--- tools/migration_rs/src/db/users.rs | 3 + tools/migration_rs/src/fxa.rs | 2 +- tools/migration_rs/src/main.rs | 20 ++-- 7 files changed, 310 insertions(+), 66 deletions(-) create mode 100644 tools/migration_rs/src/db/collections.rs create mode 100644 tools/migration_rs/src/db/users.rs diff --git a/tools/migration_rs/src/db/collections.rs b/tools/migration_rs/src/db/collections.rs new file mode 100644 index 0000000000..6b9c9127fc --- /dev/null +++ b/tools/migration_rs/src/db/collections.rs @@ -0,0 +1,85 @@ +use std::collections::HashMap; + +use futures::executor::block_on; + +use crate::db::Dbs; +use crate::error::ApiResult; +use crate::settings::Settings; + +#[derive(Clone)] +pub struct Collection { + pub name: String, + pub collection: u16, + pub last_modified: i32, +} + +#[derive(Clone)] +pub struct Collections { + by_name: HashMap, +} + +impl Default for Collections { + fn default() -> Self { + let mut names: HashMap = HashMap::new(); + for (name, idx) in &[ + ("clients", 1), + ("crypto", 2), + ("forms", 3), + ("history", 4), + ("keys", 5), + ("meta", 6), + ("bookmarks", 7), + ("prefs", 8), + ("tabs", 9), + ("passwords", 10), + ("addons", 11), + ("addresses", 12), + ("creditcards", 13), + ("reserved", 100), + ] { + names.insert( + name.to_string(), + Collection { + name: name.to_string(), + collection: *idx, + last_modified: 0, + }, + ); + } + Self { by_name: names } + } +} + +impl Collections { + pub fn empty() -> Collections { + // used by db::collections to contain "new", unencountered user collections + // this differs from the "default" set of well-known collections. + Collections { + by_name: HashMap::new(), + } + } + + pub fn new(_settings: &Settings, dbs: &Dbs) -> ApiResult { + let mysql = &dbs.mysql; + let span = dbs.spanner.clone(); + let mut collections = block_on(span.get_collections()).unwrap(); + let new_collections = block_on(mysql.merge_collections(&mut collections)).unwrap(); + block_on(span.add_new_collections(new_collections)).unwrap(); + Ok(collections) + } + + pub fn get(&self, key: &str) -> Option<&Collection> { + self.by_name.get(key) + } + + pub fn set(&mut self, key: &str, col: Collection) { + self.by_name.insert(key.to_owned(), col); + } + + pub fn items(self) -> Vec { + self.by_name + .values() + .map(Clone::clone) + .collect::>() + } +} diff --git a/tools/migration_rs/src/db/mod.rs b/tools/migration_rs/src/db/mod.rs index 35c84a3948..5557b87fac 100644 --- a/tools/migration_rs/src/db/mod.rs +++ b/tools/migration_rs/src/db/mod.rs @@ -4,25 +4,24 @@ pub mod collections; use futures::executor::block_on; -use crate::error::{ApiError, ApiResult}; +use crate::error::{ApiResult}; use crate::settings::Settings; use crate::fxa::{FxaInfo, FxaData}; use crate::db::collections::Collections; -pub const DB_THREAD_POOL_SIZE: usize = 50; - pub struct Dbs { + settings: Settings, mysql: mysql::MysqlDb, spanner: spanner::Spanner, } pub struct Bso { col_name: String, - col_id: u64, + col_id: u16, bso_id: u64, expiry: u64, modify: u64, - payload: Vec, + payload: String, sort_index: Option, } @@ -31,20 +30,16 @@ pub struct User { fxa_data: FxaData, } -pub struct UserData { - collections: Option, - bsos: Option> -} - impl Dbs { pub fn connect(settings: &Settings) -> ApiResult { Ok(Self { + settings: settings.clone(), mysql: mysql::MysqlDb::new(&settings)?, spanner: spanner::Spanner::new(&settings)?, }) } - pub fn get_users(&self, bso_num:u8, fxa: &FxaInfo) -> ApiResult> { + pub fn get_users(&self, bso_num:&u8, fxa: &FxaInfo) -> ApiResult> { let mut result: Vec = Vec::new(); for uid in block_on(self.mysql.get_user_ids(bso_num)).unwrap() { if let Some(fxa_data) = fxa.get_fxa_data(&uid) { @@ -57,20 +52,19 @@ impl Dbs { Ok(result) } - pub fn move_user(&self, user: &User, bso: u8) -> ApiResult<()> { - let userdata = block_on(self.mysql.get_user_data(user, bso)).unwrap(); - for user in userdata { - //TOOD add abort stuff - //TODO add divvy up - // TODO: finish update_user - match block_on(self.spanner.update_user(user)){ + pub fn move_user(&mut self, user: &User, bso_num: &u8, collections: &Collections) -> ApiResult<()> { + // move user collections + let user_collections = block_on(self.mysql.get_user_collections(user, bso_num)).unwrap(); + block_on(self.spanner.load_user_collections(user, user_collections)).unwrap(); + + // fetch and handle the user BSOs + let bsos = block_on(self.mysql.get_user_bsos(user, bso_num)).unwrap(); + // divvy up according to the readchunk + let blocks = bsos.windows(self.settings.readchunk.unwrap_or(1000) as usize); + for block in blocks { + // TODO add abort stuff + match block_on(self.spanner.add_user_bsos(user, block, &collections)){ Ok(_) => {}, - /* - Err(ApiError.kind(ApiErrorKind::AlreadyExists)) || - Err(ApiError.kind(ApiErrorKind::InvalidArgument)) => { - // already exists, so skip - }, - */ Err(e) => {panic!("Unknown Error: {}", e)} }; } diff --git a/tools/migration_rs/src/db/mysql/mod.rs b/tools/migration_rs/src/db/mysql/mod.rs index 79182a38e7..6dce6d37e4 100644 --- a/tools/migration_rs/src/db/mysql/mod.rs +++ b/tools/migration_rs/src/db/mysql/mod.rs @@ -2,11 +2,10 @@ use std::str::FromStr; use mysql_async::{self, params}; use mysql_async::prelude::Queryable; -use crate::db::collections::Collections; +use crate::db::collections::{Collection, Collections}; use crate::error::{ApiErrorKind, ApiResult}; use crate::settings::Settings; -use crate::fxa::FxaInfo; -use crate::db::{User, UserData}; +use crate::db::{User, Bso}; #[derive(Clone)] pub struct MysqlDb { @@ -20,12 +19,15 @@ impl MysqlDb { Ok(Self {settings: settings.clone(), pool}) } - pub async fn collections(&self, base: &mut Collections) -> ApiResult { + // take the existing set of collections, return a list of any "new" + // unrecognized collections. + pub async fn merge_collections(&self, base: &mut Collections) -> ApiResult { let conn = self.pool.get_conn().await.unwrap(); + let mut new_collections = Collections::empty(); let cursor = conn .prep_exec( - "SELECT + "SELECT DISTINCT uc.collection, cc.name FROM user_collections as uc, @@ -39,14 +41,21 @@ impl MysqlDb { ).await.unwrap(); match cursor .map_and_drop(|row| { - let id: u8 = row.get(0).unwrap(); + let id: u16 = row.get(0).unwrap(); + // Only add "new" items let collection_name:String = row.get(1).unwrap(); if base.get(&collection_name).is_none() { - base.set(&collection_name, id); + let new = Collection{ + collection: id, + name: collection_name.clone(), + last_modified: 0, + }; + new_collections.set(&collection_name, new.clone()); + base.set(&collection_name, new.clone()); } }).await { Ok(_) => { - Ok(base.clone()) + Ok(new_collections) }, Err(e) => { Err(ApiErrorKind::Internal(format!("failed to get collections {}", e)).into()) @@ -54,7 +63,7 @@ impl MysqlDb { } } - pub async fn get_user_ids(&self, bso_num: u8) -> ApiResult> { + pub async fn get_user_ids(&self, bso_num: &u8) -> ApiResult> { let mut results: Vec = Vec::new(); // return the list if they're already specified in the options. if let Some(user) = self.settings.user.clone() { @@ -95,7 +104,94 @@ impl MysqlDb { } } - pub async fn get_user_data(&self, user: &User, bso: u8) -> ApiResult> { - Err(ApiErrorKind::Internal("TODO".to_owned()).into()) + pub async fn get_user_collections(&self, user: &User, bso_num: &u8) -> ApiResult> { + // fetch the collections and bso info for a given user.alloc + // COLLECTIONS + let bso_sql = " + SELECT + collections.name, user_collections.collection, user_collections.last_modified + FROM + collections, user_collections + WHERE + user_collections.userid = :userid and collections.collectionid = user_collections.collection; + "; + let conn: mysql_async::Conn = match self + .pool + .get_conn() + .await { + Ok(v) => v, + Err(e) => { + return Err(ApiErrorKind::Internal(format!("Could not get connection: {}", e)).into()) + } + }; + let cursor = match conn.prep_exec(bso_sql, params!{ + "bso_num" => bso_num, + "user_id" => user.uid, + }).await { + Ok(v) => v, + Err(e) => { + return Err(ApiErrorKind::Internal(format!("Could not get users: {}",e)).into()) + } + }; + let (_cursor, result) = cursor.map_and_drop(|row| { + let (name, collection, last_modified) = mysql_async::from_row(row); + Collection { + name, + collection, + last_modified, + } + }).await.unwrap(); + + Ok(result) + } + + pub async fn get_user_bsos(&self, user: &User, bso_num: &u8) -> ApiResult> { + // BSOs + let bso_sql = " + SELECT + collections.name, bso.collection, + bso.id, bso.ttl, bso.modified, bso.payload, bso.sortindex + FROM + :bso_num as bso, + collections + WHERE + bso.userid = :user_id + and collections.collectionid = bso.collection + and bso.ttl > unix_timestamp() + ORDER BY + bso.collection, bso.id"; + let conn: mysql_async::Conn = match self + .pool + .get_conn() + .await { + Ok(v) => v, + Err(e) => { + return Err(ApiErrorKind::Internal(format!("Could not get connection: {}", e)).into()) + } + }; + let cursor = match conn.prep_exec(bso_sql, params!{ + "bso_num" => bso_num, + "user_id" => user.uid, + }).await { + Ok(v) => v, + Err(e) => { + return Err(ApiErrorKind::Internal(format!("Could not get users: {}",e)).into()) + } + }; + let (_cursor, result) = cursor.map_and_drop(|row| { + let (col_name, col_id, bso_id, expiry, modify, payload, sort_index) = mysql_async::from_row(row); + Bso{ + col_name, + col_id, + bso_id, + expiry, + modify, + payload, + sort_index + } + + }).await.unwrap(); + + Ok(result) } } diff --git a/tools/migration_rs/src/db/spanner/mod.rs b/tools/migration_rs/src/db/spanner/mod.rs index 86fbc0fed6..e4ca8e3ce8 100644 --- a/tools/migration_rs/src/db/spanner/mod.rs +++ b/tools/migration_rs/src/db/spanner/mod.rs @@ -1,22 +1,21 @@ use std::sync::Arc; -use std::ops::Deref; use std::str::FromStr; use googleapis_raw::spanner::v1::{ result_set::ResultSet, - spanner::{CreateSessionRequest, ExecuteSqlRequest, GetSessionRequest, Session, BeginTransactionRequest}, + spanner::{CreateSessionRequest, ExecuteSqlRequest, BeginTransactionRequest}, transaction::{TransactionOptions, TransactionSelector}, spanner_grpc::SpannerClient, }; use grpcio::{ - CallOption, ChannelBuilder, ChannelCredentials, EnvBuilder, Environment, MetadataBuilder, + CallOption, ChannelBuilder, ChannelCredentials, EnvBuilder, MetadataBuilder, }; -use crate::error::{ApiError, ApiErrorKind, ApiResult}; +use crate::error::{ApiErrorKind, ApiResult}; use crate::settings::Settings; -use crate::db::UserData; -use crate::db::collections::Collections; +use crate::db::{User, Bso}; +use crate::db::collections::{Collection, Collections}; const MAX_MESSAGE_LEN: i32 = 104_857_600; @@ -25,6 +24,7 @@ pub struct Spanner { pub client: SpannerClient, } +/* Session related fn get_path(raw: &str) -> ApiResult { let url = match url::Url::parse(raw){ Ok(v) => v, @@ -45,6 +45,8 @@ fn create_session(client: &SpannerClient, database_name: &str) -> Result ApiResult { if settings.dsns.spanner.is_none() || @@ -52,23 +54,24 @@ impl Spanner { return Err(ApiErrorKind::Internal("No DSNs set".to_owned()).into()) } let spanner_path = &settings.dsns.spanner.clone().unwrap(); - let database_name = get_path(&spanner_path).unwrap(); + // let database_name = get_path(&spanner_path).unwrap(); let env = Arc::new(EnvBuilder::new().build()); let creds = ChannelCredentials::google_default_credentials().unwrap(); let chan = ChannelBuilder::new(env.clone()) .max_send_message_len(MAX_MESSAGE_LEN) .max_receive_message_len(MAX_MESSAGE_LEN) .secure_connect(&spanner_path, creds); + let client = SpannerClient::new(chan); Ok(Self {client}) } - pub async fn transaction(mut self, sql: &str) -> ApiResult { - let mut opts = TransactionOptions::new(); + pub async fn transaction(&self, sql: &str) -> ApiResult { + let opts = TransactionOptions::new(); let mut req = BeginTransactionRequest::new(); let sreq = CreateSessionRequest::new(); - let mut meta = MetadataBuilder::new(); + let meta = MetadataBuilder::new(); let sopt = CallOption::default().headers(meta.build()); let session = self.client.create_session_opt(&sreq, sopt).unwrap(); req.set_session(session.name.clone()); @@ -92,10 +95,10 @@ impl Spanner { } } - pub async fn collections(&mut self) -> ApiResult { + pub async fn get_collections(&self) -> ApiResult { let result = self.clone().transaction( "SELECT - DISTINCT uc.collection, cc.name + DISTINCT uc.collection, cc.name, FROM user_collections as uc, collections as cc @@ -104,19 +107,90 @@ impl Spanner { ORDER BY uc.collection" ).await?; + // get the default base of collections (in case the original is missing them) let mut collections = Collections::default(); + // back fill with the values from the collection db table, which is our source + // of truth. for row in result.get_rows() { - let id: u8 = u8::from_str(row.values[0].get_string_value()).unwrap(); + let id: u16 = u16::from_str(row.values[0].get_string_value()).unwrap(); let name:&str = row.values[1].get_string_value(); if collections.get(name).is_none(){ - collections.set(name, id); + collections.set(name, + Collection{ + name: name.to_owned(), + collection: id, + last_modified: 0, + }); } } Ok(collections) + } + pub async fn add_new_collections(&self, new_collections: Collections) -> ApiResult { + // TODO: is there a more ORM way to do these rather than build the sql? + let header = "INSERT INTO collections (collection_id, name)"; + let mut values = Vec::::new(); + for collection in new_collections.items() { + values.push(format!("(\"{}\", {})", collection.name, collection.collection)); + }; + self.transaction(&format!("{} VALUES {}", header, values.join(", "))).await + } + + pub async fn load_user_collections(&mut self, user: &User, collections: Vec) -> ApiResult { + let mut values: Vec = Vec::new(); + let header = " + INSERT INTO + user_collections + (collection_id, + fxa_kid, + fxa_uid, + modified)"; + for collection in collections { + values.push(format!("({}, \"{}\", \"{}\", {})", + collection.collection, + user.fxa_data.fxa_kid, + user.fxa_data.fxa_uid, + collection.last_modified, + )); + } + self.transaction(&format!("{} VALUES {}", header, values.join(", "))).await } - pub async fn update_user(&self, user: UserData) -> ApiResult { - Err(ApiErrorKind::Internal(format!("TODO: Incomplete")).into()) + pub async fn add_user_bsos(&mut self, user: &User, bsos: &[Bso], collections: &Collections) -> ApiResult { + let header = " + INSERT INTO + bso ( + collection_id, + fxa_kid, + fxa_uid, + bso_id, + expiry, + modified, + payload, + sortindex + ) + "; + let mut values:Vec = Vec::new(); + for bso in bsos{ + let collection = collections + .get(&bso.col_name) + .unwrap_or( + &Collection{ + collection: bso.col_id, + name: bso.col_name.clone(), + last_modified:0}).clone(); + // blech + values.push(format!("({}, \"{}\", \"{}\", {}, {}, {}, \"{}\", {})", + collection.collection, + user.fxa_data.fxa_kid, + user.fxa_data.fxa_uid, + bso.bso_id, + bso.expiry, + bso.modify, + bso.payload, + bso.sort_index.unwrap_or(0) + )); + }; + self.transaction(&format!("{} VALUES {}", header, values.join(", "))).await } } diff --git a/tools/migration_rs/src/db/users.rs b/tools/migration_rs/src/db/users.rs new file mode 100644 index 0000000000..e88f876700 --- /dev/null +++ b/tools/migration_rs/src/db/users.rs @@ -0,0 +1,3 @@ +use crate::db::mysql; + +struct User {} diff --git a/tools/migration_rs/src/fxa.rs b/tools/migration_rs/src/fxa.rs index 051f43ee57..d7df6497c5 100644 --- a/tools/migration_rs/src/fxa.rs +++ b/tools/migration_rs/src/fxa.rs @@ -6,7 +6,7 @@ use base64; use csv; use serde::{self, Deserialize}; -use crate::error::{ApiError, ApiErrorKind, ApiResult}; +use crate::error::{ApiErrorKind, ApiResult}; use crate::settings::Settings; #[derive(Debug, Deserialize)] diff --git a/tools/migration_rs/src/main.rs b/tools/migration_rs/src/main.rs index 390e51589b..72b16a3cff 100644 --- a/tools/migration_rs/src/main.rs +++ b/tools/migration_rs/src/main.rs @@ -1,14 +1,6 @@ -use std::fs::File; -use std::io::{BufReader, Error}; -use std::sync::Arc; use std::ops::Range; -use futures::executor::block_on; - -use serde::{de::Deserialize, Serialize}; -use std::path::PathBuf; use structopt::StructOpt; -use url::Url; mod db; mod error; @@ -20,12 +12,12 @@ fn main() { let settings = settings::Settings::from_args(); // TODO: set logging level - logging::init_logging(settings.human_logs); + logging::init_logging(settings.human_logs).unwrap(); // create the database connections - let dbs = Arc::new(db::Dbs::connect(&settings).unwrap()); + let mut dbs = db::Dbs::connect(&settings).unwrap(); // TODO:read in fxa_info file (todo: make db?) let fxa = fxa::FxaInfo::new(&settings).unwrap(); - // TODO: dbs.reconcile_collections()?.await; + // reconcile collections let collections = db::collections::Collections::new(&settings, &dbs).unwrap(); // let users = dbs.get_users(&settings, &fxa)?.await; let mut start_bso = &settings.start_bso.unwrap_or(0); @@ -37,11 +29,11 @@ fn main() { } let range = Range{ start:start_bso.clone(), end:end_bso.clone()}; - for bso in range { - let users = &dbs.get_users(bso, &fxa).unwrap(); + for bso_num in range { + let users = &dbs.get_users(&bso_num, &fxa).unwrap(); // divvy up users; for user in users { - dbs.move_user(user, bso).unwrap(); + dbs.move_user(user, &bso_num, &collections).unwrap(); } } } From 7825ead15313c50fcb41d2a48c0f13245a5c6024 Mon Sep 17 00:00:00 2001 From: jrconlin Date: Thu, 26 Mar 2020 08:59:06 -0700 Subject: [PATCH 13/21] chore: Update dependencies 2020-03 * Update vendor libs to use protobuf 2_11_0 * removed unused vendored subcomponents (bigtable, pubsub) * updated README.md to include better instructions on how to do this again in the future * Temporarily disable cargo audit due to sudden spike in package maintenance triggering deployment warnings * updated generate.sh script to only generated needed components, and remind about mod.rs Closes #537 --- .circleci/config.yml | 3 +- .gitmodules | 3 + Cargo.lock | 3220 ++--- Cargo.toml | 37 +- src/web/auth.rs | 11 +- tools/spanner/purge_ttl/Cargo.toml | 2 +- .../googleapis-raw/Cargo.toml | 16 +- .../mozilla-rust-sdk/googleapis-raw/README.md | 28 +- .../googleapis-raw/generate.sh | 34 +- .../src/bigtable/admin/cluster/mod.rs | 1 - .../admin/cluster/v1/bigtable_cluster_data.rs | 855 -- .../cluster/v1/bigtable_cluster_service.rs | 212 - .../v1/bigtable_cluster_service_grpc.rs | 239 - .../v1/bigtable_cluster_service_messages.rs | 2765 ----- .../src/bigtable/admin/cluster/v1/mod.rs | 7 - .../googleapis-raw/src/bigtable/admin/mod.rs | 3 - .../src/bigtable/admin/table/mod.rs | 1 - .../admin/table/v1/bigtable_table_data.rs | 1589 --- .../admin/table/v1/bigtable_table_service.rs | 155 - .../table/v1/bigtable_table_service_grpc.rs | 295 - .../v1/bigtable_table_service_messages.rs | 2137 ---- .../src/bigtable/admin/table/v1/mod.rs | 7 - .../admin/v2/bigtable_instance_admin.rs | 5872 --------- .../admin/v2/bigtable_instance_admin_grpc.rs | 575 - .../bigtable/admin/v2/bigtable_table_admin.rs | 5704 --------- .../admin/v2/bigtable_table_admin_grpc.rs | 407 - .../src/bigtable/admin/v2/common.rs | 142 - .../src/bigtable/admin/v2/instance.rs | 1862 --- .../src/bigtable/admin/v2/mod.rs | 11 - .../src/bigtable/admin/v2/table.rs | 2408 ---- .../googleapis-raw/src/bigtable/mod.rs | 3 - .../src/bigtable/v1/bigtable_data.rs | 6797 ---------- .../src/bigtable/v1/bigtable_service.rs | 142 - .../src/bigtable/v1/bigtable_service_grpc.rs | 195 - .../bigtable/v1/bigtable_service_messages.rs | 3447 ------ .../googleapis-raw/src/bigtable/v1/mod.rs | 7 - .../src/bigtable/v2/bigtable.rs | 4457 ------- .../src/bigtable/v2/bigtable_grpc.rs | 187 - .../googleapis-raw/src/bigtable/v2/data.rs | 7037 ----------- .../googleapis-raw/src/bigtable/v2/mod.rs | 5 - .../googleapis-raw/src/empty.rs | 43 +- .../googleapis-raw/src/iam/v1/iam_policy.rs | 389 +- .../src/iam/v1/iam_policy_grpc.rs | 2 +- .../googleapis-raw/src/iam/v1/mod.rs | 2 +- .../googleapis-raw/src/iam/v1/policy.rs | 328 +- .../googleapis-raw/src/lib.rs | 9 +- .../src/longrunning/operations.rs | 549 +- .../src/longrunning/operations_grpc.rs | 2 +- .../googleapis-raw/src/pubsub/mod.rs | 2 - .../googleapis-raw/src/pubsub/v1/mod.rs | 4 - .../googleapis-raw/src/pubsub/v1/pubsub.rs | 10230 ---------------- .../src/pubsub/v1/pubsub_grpc.rs | 731 -- .../googleapis-raw/src/pubsub/v1beta2/mod.rs | 4 - .../src/pubsub/v1beta2/pubsub.rs | 5284 -------- .../src/pubsub/v1beta2/pubsub_grpc.rs | 459 - .../googleapis-raw/src/rpc/code.rs | 348 +- .../googleapis-raw/src/rpc/error_details.rs | 866 +- .../googleapis-raw/src/rpc/status.rs | 217 +- .../database/v1/spanner_database_admin.rs | 815 +- .../v1/spanner_database_admin_grpc.rs | 2 +- .../src/spanner/admin/instance/v1/mod.rs | 2 +- .../instance/v1/spanner_instance_admin.rs | 824 +- .../v1/spanner_instance_admin_grpc.rs | 2 +- .../googleapis-raw/src/spanner/v1/keys.rs | 356 +- .../googleapis-raw/src/spanner/v1/mod.rs | 2 +- .../googleapis-raw/src/spanner/v1/mutation.rs | 309 +- .../src/spanner/v1/query_plan.rs | 261 +- .../src/spanner/v1/result_set.rs | 183 +- .../googleapis-raw/src/spanner/v1/spanner.rs | 2089 ++-- .../src/spanner/v1/spanner_grpc.rs | 2 +- .../src/spanner/v1/transaction.rs | 716 +- .../googleapis-raw/src/spanner/v1/type_pb.rs | 347 +- .../googleapis/src/spanner.rs | 1 + 73 files changed, 6109 insertions(+), 70149 deletions(-) create mode 100644 .gitmodules delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_data.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service_grpc.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_data.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service_grpc.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service_messages.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_instance_admin.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_instance_admin_grpc.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_table_admin.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_table_admin_grpc.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/common.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/instance.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/table.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_data.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service_grpc.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service_messages.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/bigtable.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/bigtable_grpc.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/data.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/pubsub.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/pubsub_grpc.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/mod.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/pubsub.rs delete mode 100644 vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/pubsub_grpc.rs diff --git a/.circleci/config.yml b/.circleci/config.yml index da9d2312f2..4b4701fb79 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,8 +28,9 @@ commands: - run: name: Core Rust Checks command: | - cargo audit cargo fmt -- --check + echo "Skip audit for now since hawk 3.1.0 -> ring 0.16.11 -> abandoned `spin`" + echo "cargo audit" rust-clippy: steps: - run: diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..c272f4a926 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vendor/mozilla-rust-sdk/googleapis-raw/grpc"] + path = vendor/mozilla-rust-sdk/googleapis-raw/grpc + url = https://github.com/grpc/grpc.git diff --git a/Cargo.lock b/Cargo.lock index 43d3b43c15..6337c2c2ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,3494 +4,3840 @@ name = "actix-codec" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e55f0a5c2ca15795035d90c46bd0e73a5123b72f68f12596d6ba5282051380" dependencies = [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-sink 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-util 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags", + "bytes 0.5.4", + "futures-core", + "futures-sink", + "log", + "tokio 0.2.13", + "tokio-util", ] [[package]] name = "actix-connect" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f2b61480a8d30c94d5c883d79ef026b02ad6809931b0a4bb703f9545cd8c986" dependencies = [ - "actix-codec 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-service 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-utils 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", - "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "trust-dns-proto 0.18.0-alpha.2 (registry+https://github.com/rust-lang/crates.io-index)", - "trust-dns-resolver 0.18.0-alpha.2 (registry+https://github.com/rust-lang/crates.io-index)", + "actix-codec", + "actix-rt", + "actix-service", + "actix-utils", + "derive_more", + "either", + "futures 0.3.4", + "http 0.2.0", + "log", + "trust-dns-proto", + "trust-dns-resolver", ] [[package]] name = "actix-cors" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a6206917d5c0fdd79d81cec9ef02d3e802df4abf276d96241e1f595d971e002" dependencies = [ - "actix-service 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-web 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "actix-service", + "actix-web", + "derive_more", + "futures 0.3.4", ] [[package]] name = "actix-http" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "actix-codec 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-connect 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-service 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-threadpool 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-utils 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "brotli2 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", - "copyless 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", - "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "encoding_rs 0.8.22 (registry+https://github.com/rust-lang/crates.io-index)", - "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "flate2 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-channel 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fxhash 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "h2 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "indexmap 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "mime 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "percent-encoding 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "pin-project 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_urlencoded 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", +checksum = "c16664cc4fdea8030837ad5a845eb231fb93fc3c5c171edfefb52fad92ce9019" +dependencies = [ + "actix-codec", + "actix-connect", + "actix-rt", + "actix-service", + "actix-threadpool", + "actix-utils", + "base64 0.11.0", + "bitflags", + "brotli2", + "bytes 0.5.4", + "chrono", + "copyless", + "derive_more", + "either", + "encoding_rs", + "failure", + "flate2", + "futures-channel", + "futures-core", + "futures-util", + "fxhash", + "h2 0.2.1", + "http 0.2.0", + "httparse", + "indexmap", + "language-tags", + "lazy_static", + "log", + "mime", + "percent-encoding 2.1.0", + "pin-project", + "rand 0.7.3", + "regex", + "serde 1.0.105", + "serde_json", + "serde_urlencoded 0.6.1", + "sha1", + "slab", + "time 0.1.42", ] [[package]] name = "actix-macros" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21705adc76bbe4bc98434890e73a89cd00c6015e5704a60bb6eea6c3b72316b6" dependencies = [ - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "quote", + "syn", ] [[package]] name = "actix-router" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d7a10ca4d94e8c8e7a87c5173aba1b97ba9a6563ca02b0e1cd23531093d3ec8" dependencies = [ - "bytestring 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", + "bytestring", + "http 0.2.0", + "log", + "regex", + "serde 1.0.105", ] [[package]] name = "actix-rt" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f6a0a55507046441a496b2f0d26a84a65e67c8cafffe279072412f624b5fb6d" dependencies = [ - "actix-macros 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-threadpool 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "copyless 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", + "actix-macros", + "actix-threadpool", + "copyless", + "futures 0.3.4", + "tokio 0.2.13", ] [[package]] name = "actix-server" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d3455eaac03ca3e49d7b822eb35c884b861f715627254ccbe4309d08f1841a" dependencies = [ - "actix-codec 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-service 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-utils 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", - "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "actix-codec", + "actix-rt", + "actix-service", + "actix-utils", + "futures 0.3.4", + "log", + "mio", + "mio-uds", + "net2", + "num_cpus", + "slab", ] [[package]] name = "actix-service" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fba4171f1952aa15f3cf410facac388d18110b1e8754f84a407ab7f9d5ac7ee" dependencies = [ - "futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "pin-project 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-util", + "pin-project", ] [[package]] name = "actix-testing" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48494745b72d0ea8ff0cf874aaf9b622a3ee03d7081ee0c04edea4f26d32c911" dependencies = [ - "actix-macros 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-server 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-service 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", + "actix-macros", + "actix-rt", + "actix-server", + "actix-service", + "futures 0.3.4", + "log", + "net2", ] [[package]] name = "actix-threadpool" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4082192601de5f303013709ff84d81ca6a1bc4af7fb24f367a500a23c6e84e" dependencies = [ - "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-channel 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "threadpool 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "derive_more", + "futures-channel", + "lazy_static", + "log", + "num_cpus", + "parking_lot 0.10.0", + "threadpool", ] [[package]] name = "actix-tls" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e5b4faaf105e9a6d389c606c298dcdb033061b00d532af9df56ff3a54995a8" dependencies = [ - "actix-codec 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-service 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-utils 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", - "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", + "actix-codec", + "actix-rt", + "actix-service", + "actix-utils", + "derive_more", + "either", + "futures 0.3.4", + "log", ] [[package]] name = "actix-utils" version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcf8f5631bf01adec2267808f00e228b761c60c0584cc9fa0b5364f41d147f4e" dependencies = [ - "actix-codec 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-service 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "pin-project 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "actix-codec", + "actix-rt", + "actix-service", + "bitflags", + "bytes 0.5.4", + "either", + "futures 0.3.4", + "log", + "pin-project", + "slab", ] [[package]] name = "actix-web" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "actix-codec 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-http 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-macros 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-router 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-server 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-service 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-testing 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-threadpool 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-tls 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-utils 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-web-codegen 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "awc 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", - "encoding_rs 0.8.22 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fxhash 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "mime 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", - "pin-project 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_urlencoded 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", - "url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", +checksum = "3158e822461040822f0dbf1735b9c2ce1f95f93b651d7a7aded00b1efbb1f635" +dependencies = [ + "actix-codec", + "actix-http", + "actix-macros", + "actix-router", + "actix-rt", + "actix-server", + "actix-service", + "actix-testing", + "actix-threadpool", + "actix-tls", + "actix-utils", + "actix-web-codegen", + "awc", + "bytes 0.5.4", + "derive_more", + "encoding_rs", + "futures 0.3.4", + "fxhash", + "log", + "mime", + "net2", + "pin-project", + "regex", + "serde 1.0.105", + "serde_json", + "serde_urlencoded 0.6.1", + "time 0.1.42", + "url 2.1.1", ] [[package]] name = "actix-web-codegen" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de0878b30e62623770a4713a6338329fd0119703bafc211d3e4144f4d4a7bdd5" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "adler32" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d2e7343e7fc9de883d1b0341e0b13970f764c14101234857d2ddafa1cb1cac2" [[package]] name = "aho-corasick" version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d" dependencies = [ - "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "memchr", ] [[package]] name = "arc-swap" version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7b8a9123b8027467bce0099fe556c628a53c8d83df0507084c31e9ba2e39aff" [[package]] name = "arrayref" version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d382e583f07208808f6b1249e60848879ba3543f57c32277bf52d69c2f0f0ee" + +[[package]] +name = "arrayvec" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" +dependencies = [ + "nodrop", +] [[package]] name = "arrayvec" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8" [[package]] name = "async-trait" version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8df72488e87761e772f14ae0c2480396810e51b2c2ade912f97f0f7e5b95e3c" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "atty" version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90" dependencies = [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "libc", + "winapi 0.3.8", ] [[package]] name = "autocfg" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2" + +[[package]] +name = "autocfg" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d" [[package]] name = "awc" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7601d4d1d7ef2335d6597a41b5fe069f6ab799b85f53565ab390e7b7065aac5" dependencies = [ - "actix-codec 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-http 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-service 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "mime 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "percent-encoding 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_urlencoded 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", + "actix-codec", + "actix-http", + "actix-rt", + "actix-service", + "base64 0.11.0", + "bytes 0.5.4", + "derive_more", + "futures-core", + "log", + "mime", + "percent-encoding 2.1.0", + "rand 0.7.3", + "serde 1.0.105", + "serde_json", + "serde_urlencoded 0.6.1", ] [[package]] name = "backtrace" -version = "0.3.40" +version = "0.3.45" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad235dabf00f36301792cfe82499880ba54c6486be094d1047b02bacb67c14e8" dependencies = [ - "backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", + "backtrace-sys", + "cfg-if", + "libc", + "rustc-demangle", ] [[package]] name = "backtrace-sys" -version = "0.1.32" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca797db0057bae1a7aa2eef3283a874695455cecf08a43bfb8507ee0ebc1ed69" dependencies = [ - "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", + "cc", + "libc", ] +[[package]] +name = "base-x" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b20b618342cf9891c292c4f5ac2cde7287cc5c87e87e9c769d617793607dec1" + [[package]] name = "base64" version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e" dependencies = [ - "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder", ] [[package]] name = "base64" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" + +[[package]] +name = "base64" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d5ca2cd0adc3f48f9e9ea5a6bbdf9ccc0bfade884847e484d452414c7ccffb3" [[package]] name = "bindgen" version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebd71393f1ec0509b553aa012b9b58e81dadbdff7130bd3b8cba576e69b32f75" dependencies = [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "cexpr 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "clang-sys 0.28.1 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "shlex 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags", + "cexpr", + "cfg-if", + "clang-sys", + "lazy_static", + "peeking_take_while", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex", ] [[package]] name = "bitflags" version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" + +[[package]] +name = "bitmaps" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81e039a80914325b37fde728ef7693c212f0ac913d5599607d7b95a9484aae0b" +dependencies = [ + "typenum", +] [[package]] name = "blake2b_simd" version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b83b7baab1e671718d78204225800d6b170e648188ac7dc992e9d6bddf87d0c0" dependencies = [ - "arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", - "arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", - "constant_time_eq 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "arrayref", + "arrayvec 0.5.1", + "constant_time_eq", ] [[package]] name = "block-buffer" version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" dependencies = [ - "block-padding 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", + "block-padding", + "byte-tools", + "byteorder", + "generic-array", ] [[package]] name = "block-padding" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" dependencies = [ - "byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "byte-tools", ] [[package]] name = "brotli-sys" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4445dea95f4c2b41cde57cc9fee236ae4dbae88d8fcbdb4750fc1bb5d86aaecd" dependencies = [ - "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", + "cc", + "libc", ] [[package]] name = "brotli2" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cb036c3eade309815c15ddbacec5b22c4d1f3983a774ab2eac2e3e9ea85568e" dependencies = [ - "brotli-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", + "brotli-sys", + "libc", ] +[[package]] +name = "bumpalo" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12ae9db68ad7fac5fe51304d20f016c911539251075a214f8e663babefa35187" + [[package]] name = "byte-tools" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "byteorder" version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5" [[package]] name = "bytes" version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" dependencies = [ - "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder", + "either", + "iovec", ] [[package]] name = "bytes" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "130aac562c0dd69c56b3b1cc8ffd2e17be31d0b6c25b61c96b76231aa23e39e1" [[package]] name = "bytestring" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b24c107a4432e408d2caa58d3f5e763b219236221406ea58a4076b62343a039d" dependencies = [ - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.4", ] [[package]] name = "c2-chacha" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "214238caa1bf3a496ec3392968969cab8549f96ff30652c9e56885329315f6bb" dependencies = [ - "ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", + "ppv-lite86", ] [[package]] name = "cadence" version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cc8802110b3a8650896ab9ab0578b5b3057a112ccb0832b5c2ffebfccacc0db" dependencies = [ - "crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-channel 0.3.9", ] [[package]] name = "cc" version = "1.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52a465a666ca3d838ebbf08b241383421412fe7ebb463527bba275526d89f76" [[package]] name = "cexpr" version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce5b5fb86b0c57c20c834c1b412fd09c77c8a59b9473f86272709e78874cd1d" dependencies = [ - "nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "nom 4.2.3", ] [[package]] name = "cfg-if" version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "chrono" -version = "0.4.10" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80094f509cf8b5ae86a4966a39b3ff66cd7e2a3e594accec3743ff3fabeab5b2" dependencies = [ - "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", - "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", + "num-integer", + "num-traits 0.2.10", + "serde 1.0.105", + "time 0.1.42", ] [[package]] name = "clang-sys" version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81de550971c976f176130da4b2978d3b524eaa0fd9ac31f3ceb5ae1231fb4853" dependencies = [ - "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "libloading 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "glob", + "libc", + "libloading", ] [[package]] name = "cloudabi" version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" dependencies = [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags", ] [[package]] name = "cmake" version = "0.1.42" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81fb25b677f8bf1eb325017cb6bb8452f87969db0fedb4f757b297bee78a7c62" dependencies = [ - "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", + "cc", ] [[package]] name = "config" -version = "0.9.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b076e143e1d9538dde65da30f8481c2a6c44040edb8e02b9bf1351edb92ce3" dependencies = [ - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "rust-ini 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde-hjson 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", - "yaml-rust 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static", + "nom 5.1.1", + "rust-ini", + "serde 1.0.105", + "serde-hjson", + "serde_json", + "toml", + "yaml-rust", ] [[package]] name = "constant_time_eq" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "995a44c877f9212528ccc74b21a232f66ad69001e40ede5bcee2ac9ef2657120" [[package]] name = "cookie" version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "888604f00b3db336d2af898ec3c1d5d0ddf5e6d462220f2ededc33a87ac4bbd5" dependencies = [ - "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", + "time 0.1.42", + "url 1.7.2", ] [[package]] name = "cookie_store" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46750b3f362965f197996c4448e4a0935e791bf7d6631bfce9ee0af3d24c919c" dependencies = [ - "cookie 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", - "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "publicsuffix 1.5.4 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", - "try_from 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", + "cookie", + "failure", + "idna 0.1.5", + "log", + "publicsuffix", + "serde 1.0.105", + "serde_json", + "time 0.1.42", + "try_from", + "url 1.7.2", ] [[package]] name = "copyless" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ff9c56c9fb2a49c05ef0e431485a22400af20d33226dc0764d891d09e724127" [[package]] name = "core-foundation" version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25b9e03f145fd4f2bf705e07b900cd41fc636598fe5dc452fd0db1441c3f496d" dependencies = [ - "core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", + "core-foundation-sys", + "libc", ] [[package]] name = "core-foundation-sys" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7ca8a5221364ef15ce201e8ed2f609fc312682a8f4e0e3d4aa5879764e0fa3b" [[package]] name = "crc32fast" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", ] [[package]] name = "crossbeam" version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-channel 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "crossbeam-channel 0.4.0", + "crossbeam-deque", + "crossbeam-epoch", + "crossbeam-queue 0.2.1", + "crossbeam-utils 0.7.0", ] [[package]] name = "crossbeam-channel" version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ec7fcd21571dc78f96cc96243cab8d8f035247c3efd16c687be154c3fa9efa" dependencies = [ - "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils 0.6.6", ] [[package]] name = "crossbeam-channel" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acec9a3b0b3559f15aee4f90746c4e5e293b701c0f7d3925d24e01645267b68c" dependencies = [ - "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils 0.7.0", ] [[package]] name = "crossbeam-deque" version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3aa945d63861bfe624b55d153a39684da1e8c0bc8fba932f7ee3a3c16cea3ca" dependencies = [ - "crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-epoch", + "crossbeam-utils 0.7.0", ] [[package]] name = "crossbeam-epoch" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5064ebdbf05ce3cb95e45c8b086f72263f4166b29b97f6baff7ef7fe047b55ac" dependencies = [ - "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg 0.1.7", + "cfg-if", + "crossbeam-utils 0.7.0", + "lazy_static", + "memoffset", + "scopeguard", ] [[package]] name = "crossbeam-queue" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b" dependencies = [ - "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils 0.6.6", ] [[package]] name = "crossbeam-queue" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "crossbeam-utils 0.7.0", ] [[package]] name = "crossbeam-utils" version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "lazy_static", ] [[package]] name = "crossbeam-utils" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce446db02cdc3165b94ae73111e570793400d0794e46125cc4056c81cbb039f4" dependencies = [ - "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg 0.1.7", + "cfg-if", + "lazy_static", ] [[package]] name = "crypto-mac" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5" dependencies = [ - "generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", - "subtle 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "generic-array", + "subtle", ] [[package]] name = "curl" version = "0.4.25" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06aa71e9208a54def20792d877bc663d6aae0732b9852e612c4a933177c31283" dependencies = [ - "curl-sys 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", - "schannel 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", - "socket2 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "curl-sys", + "libc", + "openssl-probe", + "openssl-sys", + "schannel", + "socket2", + "winapi 0.3.8", ] [[package]] name = "curl-sys" version = "0.4.24" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f659f3ffac9582d6177bb86d1d2aa649f4eb9d0d4de9d03ccc08b402832ea340" dependencies = [ - "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", - "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", - "vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cc", + "libc", + "libz-sys", + "openssl-sys", + "pkg-config", + "vcpkg", + "winapi 0.3.8", ] [[package]] name = "debugid" -version = "0.4.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c49e2ce8d9607581c6b246ccd1e3ca2185991952e3ac9985291ed61ae668ea4b" dependencies = [ - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static", + "regex", + "serde 1.0.105", + "uuid 0.8.1", ] [[package]] name = "derive_more" version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2159be042979966de68315bce7034bb000c775f22e3e834e1c52ff78f041cae8" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "diesel" -version = "1.4.3" +version = "1.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33d7ca63eb2efea87a7f56a283acc49e2ce4b2bd54adf7465dc1d81fef13d8fc" dependencies = [ - "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "diesel_derives 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)", - "mysqlclient-sys 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", - "r2d2 0.8.8 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder", + "diesel_derives", + "mysqlclient-sys", + "percent-encoding 2.1.0", + "r2d2", + "url 2.1.1", ] [[package]] name = "diesel_derives" version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45f5098f628d02a7a0f68ddba586fb61e80edec3bdc1be3b921f4ceec60858d3" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "diesel_logger" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d73a791d0f0fff4bc6244bd8b70776a45b1140716411efe1364be9a868cbea7" dependencies = [ - "diesel 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", + "diesel", + "log", ] [[package]] name = "diesel_migrations" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf3cde8413353dc7f5d72fa8ce0b99a560a359d2c5ef1e5817ca731cd9008f4c" dependencies = [ - "migrations_internals 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "migrations_macros 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "migrations_internals", + "migrations_macros", ] [[package]] name = "digest" version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" dependencies = [ - "generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", + "generic-array", ] [[package]] name = "dirs" version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "dirs-sys 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "dirs-sys", ] [[package]] name = "dirs-sys" version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afa0b23de8fd801745c471deffa6e12d248f962c9fd4b4c33787b055599bde7b" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_users 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "libc", + "redox_users", + "winapi 0.3.8", ] +[[package]] +name = "discard" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" + [[package]] name = "docopt" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f525a586d310c87df72ebcd98009e57f1cc030c8c268305287a476beb653969" dependencies = [ - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "strsim 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static", + "regex", + "serde 1.0.105", + "strsim", ] [[package]] name = "dtoa" version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea57b42383d091c85abcc2706240b94ab2a8fa1fc81c10ff23c4de06e2a90b5e" [[package]] name = "either" version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3" [[package]] name = "encoding_rs" version = "0.8.22" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd8d03faa7fe0c1431609dfad7bbe827af30f82e1e2ae6f7ee4fca6bd764bc28" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", ] [[package]] name = "enum-as-inner" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "900a6c7fbe523f4c2884eaf26b57b81bb69b6810a01a236390a7ac021d09492e" dependencies = [ - "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "env_logger" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)", - "humantime 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "heck", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "env_logger" version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" dependencies = [ - "atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)", - "humantime 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "atty", + "humantime", + "log", + "regex", + "termcolor", ] [[package]] name = "erased-serde" version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3beee4bc16478a1b26f2e80ad819a52d24745e292f521a63c16eea5f74b7eb60" dependencies = [ - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.105", ] [[package]] name = "error-chain" version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ab49e9dcb602294bc42f9a7dfc9bc6e936fca4418ea300dbfb84fe16de0b7d9" dependencies = [ - "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "version_check 0.1.5", ] [[package]] name = "failure" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8529c2421efa3066a5cbd8063d2244603824daccb6936b079010bb2aa89464b" dependencies = [ - "backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)", - "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "backtrace", + "failure_derive", ] [[package]] name = "failure_derive" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "030a733c8287d6213886dd487564ff5c8f6aae10278b3588ed177f9d18f8d231" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", - "synstructure 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", + "synstructure", ] [[package]] name = "fake-simd" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" [[package]] name = "flate2" version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bd6d6f4752952feb71363cffc9ebac9411b75b87c6ab6058c40c8900cf43c0f" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "crc32fast 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "miniz_oxide 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "crc32fast", + "libc", + "miniz_oxide", ] [[package]] name = "fnv" version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" [[package]] name = "foreign-types" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" dependencies = [ - "foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "foreign-types-shared", ] [[package]] name = "foreign-types-shared" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fuchsia-cprng" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" [[package]] name = "fuchsia-zircon" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" dependencies = [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags", + "fuchsia-zircon-sys", ] [[package]] name = "fuchsia-zircon-sys" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" [[package]] name = "futures" version = "0.1.29" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" [[package]] name = "futures" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c329ae8753502fb44ae4fc2b622fa2a94652c41e795143765ba0927f92ab780" dependencies = [ - "futures-channel 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-executor 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-io 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-sink 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-task 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", ] [[package]] name = "futures-await-test" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae0d3d05bce73a572ba581e4f4a7f20164c18150169c3a67f406aada3e48c7e8" dependencies = [ - "futures-await-test-macro 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-executor 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-await-test-macro", + "futures-executor", ] [[package]] name = "futures-await-test-macro" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f150175e6832600500334550e00e4dc563a0b32f58a9d1ad407f6473378c839" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "futures-channel" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c77d04ce8edd9cb903932b608268b3fffec4163dc053b3b402bf47eac1f1a8" dependencies = [ - "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-sink 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-core", + "futures-sink", ] [[package]] name = "futures-core" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f25592f769825e89b92358db00d26f965761e094951ac44d3663ef25b7ac464a" [[package]] name = "futures-cpupool" version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.29", + "num_cpus", ] [[package]] name = "futures-executor" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f674f3e1bcb15b37284a90cedf55afdba482ab061c407a9c0ebbd0f3109741ba" dependencies = [ - "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-task 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-core", + "futures-task", + "futures-util", ] [[package]] name = "futures-io" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a638959aa96152c7a4cddf50fcb1e3fede0583b27157c26e67d6f99904090dc6" [[package]] name = "futures-macro" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a5081aa3de1f7542a794a397cde100ed903b0630152d0973479018fd85423a7" dependencies = [ - "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro-hack", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "futures-sink" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3466821b4bc114d95b087b850a724c6f83115e929bc88f1fa98a3304a944c8a6" [[package]] name = "futures-task" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b0a34e53cf6cdcd0178aa573aed466b646eb3db769570841fda0c7ede375a27" [[package]] name = "futures-util" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22766cf25d64306bedf0384da004d05c9974ab104fcc4528f1236181c18004c5" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-channel 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-io 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-macro 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-sink 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-task 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "pin-utils 0.1.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro-nested 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.29", + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-utils", + "proc-macro-hack", + "proc-macro-nested", + "slab", ] [[package]] name = "fxhash" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" dependencies = [ - "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder", ] [[package]] name = "generic-array" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec" dependencies = [ - "typenum 1.11.2 (registry+https://github.com/rust-lang/crates.io-index)", + "typenum", ] [[package]] name = "getrandom" version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7db7ca94ed4cd01190ceee0d8a8052f08a247aa1b469a7f68c6a3b71afcf407" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "libc", + "wasi", ] [[package]] name = "glob" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" [[package]] name = "googleapis-raw" version = "0.0.1" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "grpcio 0.5.0-alpha.5 (registry+https://github.com/rust-lang/crates.io-index)", - "protobuf 2.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.29", + "grpcio", + "protobuf", ] [[package]] name = "grpcio" -version = "0.5.0-alpha.5" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0eb5544c0e47a603130f1159773df46eb448c5649f7b4833c51f241c4e9fcbb" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "grpcio-sys 0.5.0-alpha.5 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "protobuf 2.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.29", + "grpcio-sys", + "libc", + "log", + "protobuf", ] [[package]] name = "grpcio-sys" -version = "0.5.0-alpha.5" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48b1b6365d95c795aa3840b19c5364ad0a4bf82bfd48b2f9185719b9f8e614a7" dependencies = [ - "bindgen 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)", - "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", - "cmake 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", - "walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)", + "bindgen", + "cc", + "cmake", + "libc", + "libz-sys", + "pkg-config", + "walkdir", ] [[package]] name = "h2" version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462" dependencies = [ - "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", - "indexmap 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "string 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder", + "bytes 0.4.12", + "fnv", + "futures 0.1.29", + "http 0.1.21", + "indexmap", + "log", + "slab", + "string", + "tokio-io", ] [[package]] name = "h2" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9433d71e471c1736fd5a61b671fc0b148d7a2992f666c958d03cd8feb3b88d1" dependencies = [ - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-sink 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "indexmap 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-util 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.4", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http 0.2.0", + "indexmap", + "log", + "slab", + "tokio 0.2.13", + "tokio-util", ] [[package]] name = "hawk" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2706f480fb19dea88925385f596c870dcd5e30d21cf0e9bd0753f7149e87ca36" dependencies = [ - "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", - "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "once_cell 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", - "ring 0.14.6 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", + "base64 0.11.0", + "failure", + "log", + "once_cell", + "rand 0.7.3", + "ring", + "url 2.1.1", ] [[package]] name = "heck" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" dependencies = [ - "unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-segmentation", ] [[package]] name = "hermit-abi" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f629dc602392d3ec14bfc8a09b5e644d7ffd725102b48b81e59f90f2633621d7" dependencies = [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", + "libc", ] [[package]] name = "hkdf" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fa08a006102488bd9cd5b8013aabe84955cf5ae22e304c2caf655b633aefae3" dependencies = [ - "digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", - "hmac 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "digest", + "hmac", ] [[package]] name = "hmac" version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dcb5e64cda4c23119ab41ba960d1e170a774c8e4b9d9e6a9bc18aabf5e59695" dependencies = [ - "crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "crypto-mac", + "digest", ] [[package]] name = "hostname" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21ceb46a83a85e824ef93669c8b390009623863b5c195d1ba747292c0c72f94e" dependencies = [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "winutil 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "libc", + "winutil", +] + +[[package]] +name = "hostname" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" +dependencies = [ + "libc", + "match_cfg", + "winapi 0.3.8", ] [[package]] name = "http" version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6ccf5ede3a895d8856620237b2f02972c1bbc78d2965ad7fe8838d4a0ed41f0" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12", + "fnv", + "itoa", ] [[package]] name = "http" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b708cc7f06493459026f53b9a61a7a121a5d1ec6238dee58ea4941132b30156b" dependencies = [ - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.4", + "fnv", + "itoa", ] [[package]] name = "http-body" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-buf 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12", + "futures 0.1.29", + "http 0.1.21", + "tokio-buf", +] + +[[package]] +name = "http-body" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" +dependencies = [ + "bytes 0.5.4", + "http 0.2.0", ] [[package]] name = "httparse" version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" [[package]] name = "httpdate" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" [[package]] name = "humantime" version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" dependencies = [ - "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "quick-error", ] [[package]] name = "hyper" version = "0.12.35" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dbe6ed1438e1f8ad955a4701e9a944938e9519f6888d12d8558b645e247d5f6" +dependencies = [ + "bytes 0.4.12", + "futures 0.1.29", + "futures-cpupool", + "h2 0.1.26", + "http 0.1.21", + "http-body 0.1.0", + "httparse", + "iovec", + "itoa", + "log", + "net2", + "rustc_version", + "time 0.1.42", + "tokio 0.1.22", + "tokio-buf", + "tokio-executor", + "tokio-io", + "tokio-reactor", + "tokio-tcp", + "tokio-threadpool", + "tokio-timer", + "want 0.2.0", +] + +[[package]] +name = "hyper" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa1c527bbc634be72aa7ba31e4e4def9bbb020f5416916279b7c705cd838893e" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "h2 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", - "http-body 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-buf 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-reactor 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-threadpool 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)", - "want 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.4", + "futures-channel", + "futures-core", + "futures-util", + "h2 0.2.1", + "http 0.2.0", + "http-body 0.3.1", + "httparse", + "itoa", + "log", + "net2", + "pin-project", + "time 0.1.42", + "tokio 0.2.13", + "tower-service", + "want 0.3.0", ] [[package]] name = "hyper-tls" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a800d6aa50af4b5850b2b0f659625ce9504df908e9733b635720483be26174f" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.12.35 (registry+https://github.com/rust-lang/crates.io-index)", - "native-tls 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12", + "futures 0.1.29", + "hyper 0.12.35", + "native-tls", + "tokio-io", +] + +[[package]] +name = "hyper-tls" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3adcd308402b9553630734e9c36b77a7e48b3821251ca2493e8cd596763aafaa" +dependencies = [ + "bytes 0.5.4", + "hyper 0.13.2", + "native-tls", + "tokio 0.2.13", + "tokio-tls", ] [[package]] name = "idna" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" dependencies = [ - "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-normalization 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", + "matches", + "unicode-bidi", + "unicode-normalization", ] [[package]] name = "idna" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9" dependencies = [ - "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-normalization 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", + "matches", + "unicode-bidi", + "unicode-normalization", ] [[package]] name = "if_chain" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3360c7b59e5ffa2653671fb74b4741a5d343c03f331c0a4aeda42b5c2b0ec7d" [[package]] name = "im" -version = "12.3.4" +version = "14.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "696059c87b83c5a258817ecd67c3af915e3ed141891fc35a1e79908801cf0ce7" dependencies = [ - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "sized-chunks 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "typenum 1.11.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitmaps", + "rand_core 0.5.1", + "rand_xoshiro", + "sized-chunks", + "typenum", + "version_check 0.9.1", ] [[package]] name = "indexmap" version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712d7b3ea5827fcb9d4fda14bf4da5f136f0db2ae9c8f4bd4e2d1c6fde4e6db2" dependencies = [ - "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg 0.1.7", ] [[package]] name = "iovec" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" dependencies = [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", + "libc", ] [[package]] name = "ipconfig" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa79fa216fbe60834a9c0737d7fcd30425b32d1c58854663e24d4c4b328ed83f" dependencies = [ - "socket2 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", - "widestring 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winreg 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", + "socket2", + "widestring", + "winapi 0.3.8", + "winreg", ] [[package]] name = "itertools" -version = "0.8.2" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" dependencies = [ - "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", + "either", ] [[package]] name = "itoa" version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f" + +[[package]] +name = "js-sys" +version = "0.3.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cb931d43e71f560c81badb0191596562bafad2be06a3f9025b845c847c60df5" +dependencies = [ + "wasm-bindgen", +] [[package]] name = "kernel32-sys" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" dependencies = [ - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.2.8", + "winapi-build", ] [[package]] name = "language-tags" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a91d884b6667cd606bb5a69aa0c99ba811a115fc68915e7056ec08a46e93199a" [[package]] name = "lazy_static" -version = "0.2.11" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] -name = "lazy_static" -version = "1.4.0" +name = "lexical-core" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7043aa5c05dd34fb73b47acb8c3708eac428de4545ea3682ed2f11293ebd890" +dependencies = [ + "arrayvec 0.4.12", + "cfg-if", + "rustc_version", + "ryu", + "static_assertions", +] [[package]] name = "libc" version = "0.2.66" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558" [[package]] name = "libloading" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" dependencies = [ - "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cc", + "winapi 0.3.8", ] [[package]] name = "libz-sys" version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe" dependencies = [ - "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", - "vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cc", + "libc", + "pkg-config", + "vcpkg", ] [[package]] name = "linked-hash-map" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d262045c5b87c0861b3f004610afd0e2c851e2908d08b6c870cbb9d5f494ecd" dependencies = [ - "serde 0.8.23 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_test 0.8.23 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 0.8.23", + "serde_test", ] [[package]] name = "linked-hash-map" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "lock_api" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", -] +checksum = "ae91b68aebc4ddb91978b11a1b02ddd8602a05ec19002801c5666000e05e0f83" [[package]] name = "lock_api" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e57b3997725d2b60dbec1297f6c2e2957cc383db1cebd6be812163f969c7d586" dependencies = [ - "scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "scopeguard", ] [[package]] name = "log" version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", ] [[package]] name = "lru-cache" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" dependencies = [ - "linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "linked-hash-map 0.5.2", ] +[[package]] +name = "match_cfg" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" + [[package]] name = "matches" version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" [[package]] name = "maybe-uninit" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" [[package]] name = "memchr" version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e" [[package]] name = "memoffset" version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9" dependencies = [ - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc_version", ] [[package]] name = "migrations_internals" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8089920229070f914b9ce9b07ef60e175b2b9bc2d35c3edd8bf4433604e863b9" dependencies = [ - "diesel 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "diesel", ] [[package]] name = "migrations_macros" version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "719ef0bc7f531428764c9b70661c14abd50a7f3d21f355752d9985aa21251c9e" dependencies = [ - "migrations_internals 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "migrations_internals", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "mime" -version = "0.3.14" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" [[package]] name = "mime_guess" version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a0ed03949aef72dbdf3116a383d7b38b4768e6f960528cd6a6044aa9ed68599" dependencies = [ - "mime 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "unicase 2.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "mime", + "unicase", ] [[package]] name = "miniz_oxide" version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f3f74f726ae935c3f514300cc6773a0c9492abc5e972d42ba0c0ebb88757625" dependencies = [ - "adler32 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "adler32", ] [[package]] name = "mio" version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "fuchsia-zircon", + "fuchsia-zircon-sys", + "iovec", + "kernel32-sys", + "libc", + "log", + "miow", + "net2", + "slab", + "winapi 0.2.8", ] [[package]] name = "mio-uds" version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" dependencies = [ - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", + "iovec", + "libc", + "mio", ] [[package]] name = "miow" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" dependencies = [ - "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "kernel32-sys", + "net2", + "winapi 0.2.8", + "ws2_32-sys", ] [[package]] name = "mozsvc-common" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efdfe5192ed6adb12e2f703d7a5f3facdfc3bda787a004930ee7ed2859aceb2e" dependencies = [ - "hostname 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "reqwest 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", + "hostname 0.1.5", + "lazy_static", + "reqwest 0.9.24", ] [[package]] name = "mysqlclient-sys" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e9637d93448044078aaafea7419aed69d301b4a12bcc4aa0ae856eb169bef85" dependencies = [ - "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", - "vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "pkg-config", + "vcpkg", ] [[package]] name = "native-tls" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b2df1a4c22fd44a62147fd8f13dd0f95c9d8ca7b2610299b2a2f9cf8964274e" dependencies = [ - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl 0.10.26 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", - "schannel 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", - "security-framework 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "security-framework-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static", + "libc", + "log", + "openssl", + "openssl-probe", + "openssl-sys", + "schannel", + "security-framework", + "security-framework-sys", + "tempfile", ] [[package]] name = "net2" version = "0.2.33" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "libc", + "winapi 0.3.8", ] +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + [[package]] name = "nom" version = "4.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6" dependencies = [ - "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "memchr", + "version_check 0.1.5", +] + +[[package]] +name = "nom" +version = "5.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b471253da97532da4b61552249c521e01e736071f71c1a4f7ebbfbf0a06aad6" +dependencies = [ + "lexical-core", + "memchr", + "version_check 0.9.1", ] [[package]] name = "num-integer" version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09" dependencies = [ - "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg 0.1.7", + "num-traits 0.2.10", ] [[package]] name = "num-traits" version = "0.1.43" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31" dependencies = [ - "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "num-traits 0.2.10", ] [[package]] name = "num-traits" version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4c81ffc11c212fa327657cb19dd85eb7419e163b5b076bede2bdb5c974c07e4" dependencies = [ - "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg 0.1.7", ] [[package]] name = "num_cpus" -version = "1.11.1" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46203554f085ff89c235cd12f7075f3233af9b11ed7c9e16dfe2560d03313ce6" dependencies = [ - "hermit-abi 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", + "hermit-abi", + "libc", ] [[package]] name = "once_cell" -version = "0.1.8" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", -] +checksum = "b1c601810575c99596d4afc46f78a678c80105117c379eb3650cf99b8a21ce5b" [[package]] name = "opaque-debug" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" [[package]] name = "openssl" -version = "0.10.26" +version = "0.10.28" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "973293749822d7dd6370d6da1e523b0d1db19f06c459134c658b2a4261378b52" dependencies = [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags", + "cfg-if", + "foreign-types", + "lazy_static", + "libc", + "openssl-sys", ] [[package]] name = "openssl-probe" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" [[package]] name = "openssl-sys" -version = "0.9.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", - "vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "parking_lot" -version = "0.7.1" +version = "0.9.54" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1024c0a59774200a555087a6da3f253a9095a5f344e353b212ac4c8b8e450986" dependencies = [ - "lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "parking_lot_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg 1.0.0", + "cc", + "libc", + "pkg-config", + "vcpkg", ] [[package]] name = "parking_lot" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" dependencies = [ - "lock_api 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "lock_api", + "parking_lot_core 0.6.2", + "rustc_version", ] [[package]] name = "parking_lot" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92e98c49ab0b7ce5b222f2cc9193fc4efe11c6d0bd4f648e374684a6857b1cfc" dependencies = [ - "lock_api 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "parking_lot_core 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "parking_lot_core" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "lock_api", + "parking_lot_core 0.7.0", ] [[package]] name = "parking_lot_core" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "cloudabi", + "libc", + "redox_syscall", + "rustc_version", + "smallvec 0.6.13", + "winapi 0.3.8", ] [[package]] name = "parking_lot_core" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7582838484df45743c8434fbff785e8edf260c28748353d44bc0da32e0ceabf1" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", - "smallvec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "cloudabi", + "libc", + "redox_syscall", + "smallvec 1.1.0", + "winapi 0.3.8", ] [[package]] name = "peeking_take_while" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" [[package]] name = "percent-encoding" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" [[package]] name = "percent-encoding" version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" [[package]] name = "pin-project" version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94b90146c7216e4cb534069fb91366de4ea0ea353105ee45ed297e2d1619e469" dependencies = [ - "pin-project-internal 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "pin-project-internal", ] [[package]] name = "pin-project-internal" version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44ca92f893f0656d3cba8158dd0f2b99b94de256a4a54e870bd6922fcc6c8355" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "pin-project-lite" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8822eb8bb72452f038ebf6048efa02c3fe22bf83f76519c9583e47fc194a422" [[package]] name = "pin-utils" version = "0.1.0-alpha.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5894c618ce612a3fa23881b152b608bafb8c56cfc22f434a3ba3120b40f7b587" [[package]] name = "pkg-config" version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677" [[package]] name = "ppv-lite86" version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b" [[package]] name = "proc-macro-hack" version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecd45702f76d6d3c75a80564378ae228a85f0b59d2f3ed43c91b4a69eb2ebfc5" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "proc-macro-nested" version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "369a6ed065f249a159e06c45752c780bda2fb53c995718f9e484d08daa9eb42e" [[package]] name = "proc-macro2" version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27" dependencies = [ - "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-xid", ] [[package]] name = "protobuf" -version = "2.7.0" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1b4a8efc42cf150049e8a490f618c7c60e82332405065f202a7e33aa5a1f06" [[package]] name = "publicsuffix" version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bbaa49075179162b49acac1c6aa45fb4dafb5f13cf6794276d77bc7fd95757b" dependencies = [ - "error-chain 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", - "idna 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "error-chain", + "idna 0.2.0", + "lazy_static", + "regex", + "url 2.1.1", ] [[package]] name = "quick-error" version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" [[package]] name = "quote" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", ] [[package]] name = "r2d2" version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1497e40855348e4a8a40767d8e55174bce1e445a3ac9254ad44ad468ee0485af" dependencies = [ - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "scheduled-thread-pool 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "parking_lot 0.10.0", + "scheduled-thread-pool", ] [[package]] name = "rand" version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" dependencies = [ - "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_jitter 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg 0.1.7", + "libc", + "rand_chacha 0.1.1", + "rand_core 0.4.2", + "rand_hc 0.1.0", + "rand_isaac", + "rand_jitter", + "rand_os", + "rand_pcg", + "rand_xorshift", + "winapi 0.3.8", ] [[package]] name = "rand" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ - "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "getrandom", + "libc", + "rand_chacha 0.2.1", + "rand_core 0.5.1", + "rand_hc 0.2.0", ] [[package]] name = "rand_chacha" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef" dependencies = [ - "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg 0.1.7", + "rand_core 0.3.1", ] [[package]] name = "rand_chacha" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853" dependencies = [ - "c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "c2-chacha", + "rand_core 0.5.1", ] [[package]] name = "rand_core" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" dependencies = [ - "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.4.2", ] [[package]] name = "rand_core" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" [[package]] name = "rand_core" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" dependencies = [ - "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "getrandom", ] [[package]] name = "rand_hc" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4" dependencies = [ - "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.3.1", ] [[package]] name = "rand_hc" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" dependencies = [ - "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.5.1", ] [[package]] name = "rand_isaac" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08" dependencies = [ - "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.3.1", ] [[package]] name = "rand_jitter" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b" dependencies = [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "libc", + "rand_core 0.4.2", + "winapi 0.3.8", ] [[package]] name = "rand_os" version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071" dependencies = [ - "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cloudabi", + "fuchsia-cprng", + "libc", + "rand_core 0.4.2", + "rdrand", + "winapi 0.3.8", ] [[package]] name = "rand_pcg" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44" dependencies = [ - "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "autocfg 0.1.7", + "rand_core 0.4.2", ] [[package]] name = "rand_xorshift" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c" +dependencies = [ + "rand_core 0.3.1", +] + +[[package]] +name = "rand_xoshiro" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9fcdd2e881d02f1d9390ae47ad8e5696a9e4be7b547a1da2afbc61973217004" dependencies = [ - "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.5.1", ] [[package]] name = "rdrand" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" dependencies = [ - "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.3.1", ] [[package]] name = "redox_syscall" version = "0.1.56" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" [[package]] name = "redox_users" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ecedbca3bf205f8d8f5c2b44d83cd0690e39ee84b951ed649e9f1841132b66d" dependencies = [ - "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", - "rust-argon2 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "failure", + "rand_os", + "redox_syscall", + "rust-argon2", ] [[package]] name = "regex" -version = "1.3.1" +version = "1.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8900ebc1363efa7ea1c399ccc32daed870b4002651e0bed86e72d501ebbe0048" dependencies = [ - "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)", - "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "regex-syntax 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", - "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "aho-corasick", + "memchr", + "regex-syntax", + "thread_local", ] [[package]] name = "regex-syntax" -version = "0.6.12" +version = "0.6.17" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fe5bd57d1d7414c6b5ed48563a2c855d995ff777729dcd91c369ec7fea395ae" [[package]] name = "remove_dir_all" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e" dependencies = [ - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.8", ] [[package]] name = "reqwest" version = "0.9.24" source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "cookie 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cookie_store 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "encoding_rs 0.8.22 (registry+https://github.com/rust-lang/crates.io-index)", - "flate2 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "http 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.12.35 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper-tls 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "mime 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "mime_guess 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "native-tls 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_urlencoded 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-threadpool 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", - "winreg 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", +checksum = "f88643aea3c1343c804950d7bf983bd2067f5ab59db6d613a08e05572f2714ab" +dependencies = [ + "base64 0.10.1", + "bytes 0.4.12", + "cookie", + "cookie_store", + "encoding_rs", + "flate2", + "futures 0.1.29", + "http 0.1.21", + "hyper 0.12.35", + "hyper-tls 0.3.2", + "log", + "mime", + "mime_guess", + "native-tls", + "serde 1.0.105", + "serde_json", + "serde_urlencoded 0.5.5", + "time 0.1.42", + "tokio 0.1.22", + "tokio-executor", + "tokio-io", + "tokio-threadpool", + "tokio-timer", + "url 1.7.2", + "uuid 0.7.4", + "winreg", +] + +[[package]] +name = "reqwest" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9f62f24514117d09a8fc74b803d3d65faa27cea1c7378fb12b0d002913f3831" +dependencies = [ + "base64 0.11.0", + "bytes 0.5.4", + "encoding_rs", + "futures-core", + "futures-util", + "http 0.2.0", + "http-body 0.3.1", + "hyper 0.13.2", + "hyper-tls 0.4.1", + "js-sys", + "lazy_static", + "log", + "mime", + "mime_guess", + "native-tls", + "percent-encoding 2.1.0", + "pin-project-lite", + "serde 1.0.105", + "serde_json", + "serde_urlencoded 0.6.1", + "time 0.1.42", + "tokio 0.2.13", + "tokio-tls", + "url 2.1.1", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "winreg", ] [[package]] name = "resolv-conf" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b263b4aa1b5de9ffc0054a2386f96992058bb6870aab516f8cdeb8a667d56dcb" dependencies = [ - "hostname 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hostname 0.1.5", + "quick-error", ] [[package]] name = "ring" -version = "0.14.6" +version = "0.16.11" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "741ba1704ae21999c00942f9f5944f801e977f54302af346b596287599ad1862" dependencies = [ - "cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cc", + "lazy_static", + "libc", + "spin", + "untrusted", + "web-sys", + "winapi 0.3.8", ] [[package]] name = "rust-argon2" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca4eaef519b494d1f2848fc602d18816fed808a981aedf4f1f00ceb7c9d32cf" dependencies = [ - "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", - "blake2b_simd 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", + "base64 0.10.1", + "blake2b_simd", + "crossbeam-utils 0.6.6", ] [[package]] name = "rust-ini" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e52c148ef37f8c375d49d5a73aa70713125b7f19095948a923f80afdeb22ec2" [[package]] name = "rustc-demangle" version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" [[package]] name = "rustc-hash" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7540fc8b0c49f096ee9c961cda096467dce8084bec6bdca2fc83895fd9b28cb8" dependencies = [ - "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder", ] [[package]] name = "rustc_version" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" +dependencies = [ + "semver", +] + +[[package]] +name = "rustversion" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3bba175698996010c4f6dce5e7f173b6eb781fce25d2cfc45e27091ce0b79f6" dependencies = [ - "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "ryu" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8" [[package]] name = "same-file" version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "585e8ddcedc187886a30fa705c47985c3fa88d06624095856b36ca0b82ff4421" dependencies = [ - "winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-util", ] [[package]] name = "schannel" version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f550b06b6cba9c8b8be3ee73f391990116bf527450d2556e9b9ce263b9a021" dependencies = [ - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static", + "winapi 0.3.8", ] [[package]] name = "scheduled-thread-pool" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0988d7fdf88d5e5fcf5923a0f1e8ab345f3e98ab4bc6bc45a2d5ff7f7458fbf6" dependencies = [ - "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.10.0", ] -[[package]] -name = "scopeguard" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "scopeguard" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d" [[package]] name = "security-framework" version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ef2429d7cefe5fd28bd1d2ed41c944547d4ff84776f5935b456da44593a16df" dependencies = [ - "core-foundation 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", - "core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "security-framework-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", ] [[package]] name = "security-framework-sys" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31493fc37615debb8c5090a7aeb4a9730bc61e77ab10b9af59f1a202284f895" dependencies = [ - "core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", + "core-foundation-sys", ] [[package]] name = "semver" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" dependencies = [ - "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "semver-parser", ] [[package]] name = "semver-parser" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "sentry" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)", - "curl 0.4.25 (registry+https://github.com/rust-lang/crates.io-index)", - "env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "hostname 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "httpdate 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "im 12.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "reqwest 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "sentry-types 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "uname 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efe1c6c258797410d14ef90993e00916318d17461b201538d76fd8d3031cad4e" +dependencies = [ + "backtrace", + "curl", + "failure", + "hostname 0.3.1", + "httpdate", + "im", + "lazy_static", + "libc", + "rand 0.7.3", + "regex", + "reqwest 0.10.3", + "rustc_version", + "sentry-types", + "serde_json", + "uname", + "url 2.1.1", ] [[package]] name = "sentry-types" -version = "0.11.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12ec406c11c060c8a7d5d67fc6f4beb2888338dcb12b9af409451995f124749d" dependencies = [ - "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", - "debugid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", + "chrono", + "debugid", + "failure", + "serde 1.0.105", + "serde_json", + "url 2.1.1", + "uuid 0.8.1", ] [[package]] name = "serde" version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dad3f759919b92c3068c696c15c3d17238234498bbdcc80f2c469606f948ac8" [[package]] name = "serde" -version = "1.0.104" +version = "1.0.105" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e707fbbf255b8fc8c3b99abb91e7257a622caeb20a9818cbadbeeede4e0932ff" dependencies = [ - "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive", ] [[package]] name = "serde-hjson" -version = "0.8.2" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a3a4e0ea8a88553209f6cc6cfe8724ecad22e1acf372793c27d995290fe74f8" dependencies = [ - "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", - "linked-hash-map 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "num-traits 0.1.43 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 0.8.23 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static", + "linked-hash-map 0.3.0", + "num-traits 0.1.43", + "regex", + "serde 0.8.23", ] [[package]] name = "serde_derive" -version = "1.0.104" +version = "1.0.105" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac5d00fc561ba2724df6758a17de23df5914f20e41cb00f94d5b7ae42fffaff8" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "serde_json" -version = "1.0.44" +version = "1.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9371ade75d4c2d6cb154141b9752cf3781ec9c05e0e5cf35060e1e70ee7b9c25" dependencies = [ - "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", + "itoa", + "ryu", + "serde 1.0.105", ] [[package]] name = "serde_test" version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "110b3dbdf8607ec493c22d5d947753282f3bae73c0f56d322af1e8c78e4c23d5" dependencies = [ - "serde 0.8.23 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 0.8.23", ] [[package]] name = "serde_urlencoded" version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "642dd69105886af2efd227f75a520ec9b44a820d65bc133a9131f7d229fd165a" dependencies = [ - "dtoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dtoa", + "itoa", + "serde 1.0.105", + "url 1.7.2", ] [[package]] name = "serde_urlencoded" version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ec5d77e2d4c73717816afac02670d5c4f534ea95ed430442cad02e7a6e32c97" dependencies = [ - "dtoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "dtoa", + "itoa", + "serde 1.0.105", + "url 2.1.1", ] [[package]] name = "sha1" version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" [[package]] name = "sha2" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27044adfd2e1f077f649f59deb9490d3941d674002f7d062870a60ebe9bd47a0" dependencies = [ - "block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", - "digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "block-buffer", + "digest", + "fake-simd", + "opaque-debug", ] [[package]] name = "shlex" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" [[package]] name = "signal-hook-registry" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41" dependencies = [ - "arc-swap 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", + "arc-swap", + "libc", ] [[package]] name = "sized-chunks" -version = "0.1.3" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d59044ea371ad781ff976f7b06480b9f0180e834eda94114f2afb4afc12b7718" dependencies = [ - "typenum 1.11.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bitmaps", + "typenum", ] [[package]] name = "slab" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" [[package]] name = "slog" version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cc9c640a4adbfbcc11ffb95efe5aa7af7309e002adab54b185507dbf2377b99" dependencies = [ - "erased-serde 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "erased-serde", ] [[package]] name = "slog-async" -version = "2.3.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51b3336ce47ce2f96673499fc07eb85e3472727b9a7a2959964b002c2ce8fbbb" dependencies = [ - "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "take_mut 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-channel 0.4.0", + "slog", + "take_mut", + "thread_local", ] [[package]] name = "slog-envlogger" version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "906a1a0bc43fed692df4b82a5e2fbfc3733db8dad8bb514ab27a4f23ad04f5c0" dependencies = [ - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-async 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-scope 4.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-stdlog 4.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-term 2.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "regex", + "slog", + "slog-async", + "slog-scope", + "slog-stdlog", + "slog-term", ] [[package]] name = "slog-mozlog-json" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f400f1c5db96f1f52065e8931ca0c524cceb029f7537c9e6d5424488ca137ca0" dependencies = [ - "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "chrono", + "serde 1.0.105", + "serde_json", + "slog", ] [[package]] name = "slog-scope" version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c44c89dd8b0ae4537d1ae318353eaf7840b4869c536e31c41e963d1ea523ee6" dependencies = [ - "arc-swap 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "arc-swap", + "lazy_static", + "slog", ] [[package]] name = "slog-stdlog" version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be4d87903baf655da2d82bc3ac3f7ef43868c58bf712b3a661fda72009304c23" dependencies = [ - "crossbeam 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-scope 4.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam", + "log", + "slog", + "slog-scope", ] [[package]] name = "slog-term" -version = "2.4.2" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "124501187c410b6a46fe8a47a48435ae462fae4e02d03c558d358f40b17308cb" dependencies = [ - "atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)", - "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", - "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "term 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "atty", + "chrono", + "slog", + "term", + "thread_local", ] [[package]] name = "smallvec" version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6" dependencies = [ - "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "maybe-uninit", ] [[package]] name = "smallvec" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44e59e0c9fa00817912ae6e4e6e3c4fe04455e75699d06eedc7d85917ed8e8f4" [[package]] name = "socket2" version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8b74de517221a2cb01a53349cf54182acdc31a074727d3079068448c0676d85" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "libc", + "redox_syscall", + "winapi 0.3.8", ] [[package]] name = "spin" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + +[[package]] +name = "standback" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4edf667ea8f60afc06d6aeec079d20d5800351109addec1faea678a8663da4e1" + +[[package]] +name = "static_assertions" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f3eb36b47e512f8f1c9e3d10c2c1965bc992bd9cdb024fa581e2194501c83d3" + +[[package]] +name = "stdweb" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5" +dependencies = [ + "discard", + "rustc_version", + "stdweb-derive", + "stdweb-internal-macros", + "stdweb-internal-runtime", + "wasm-bindgen", +] + +[[package]] +name = "stdweb-derive" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" +dependencies = [ + "proc-macro2", + "quote", + "serde 1.0.105", + "serde_derive", + "syn", +] + +[[package]] +name = "stdweb-internal-macros" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" +dependencies = [ + "base-x", + "proc-macro2", + "quote", + "serde 1.0.105", + "serde_derive", + "serde_json", + "sha1", + "syn", +] + +[[package]] +name = "stdweb-internal-runtime" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0" [[package]] name = "string" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d24114bfcceb867ca7f71a0d3fe45d45619ec47a6fbfa98cb14e14250bfa5d6d" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12", ] [[package]] name = "strsim" version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" [[package]] name = "subtle" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" [[package]] name = "syn" version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff0acdb207ae2fe6d5976617f887eb1e35a2ba52c13c7234c790960cdad9238" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "unicode-xid", ] [[package]] name = "syncstorage" version = "0.2.5" dependencies = [ - "actix-cors 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-http 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "actix-web 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "cadence 0.19.1 (registry+https://github.com/rust-lang/crates.io-index)", - "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", - "config 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", - "diesel 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "diesel_logger 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "diesel_migrations 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "docopt 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-await-test 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "googleapis-raw 0.0.1", - "grpcio 0.5.0-alpha.5 (registry+https://github.com/rust-lang/crates.io-index)", - "hawk 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hkdf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hmac 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "mime 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", - "mozsvc-common 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl 0.10.26 (registry+https://github.com/rust-lang/crates.io-index)", - "protobuf 2.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "scheduled-thread-pool 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", - "sentry 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_urlencoded 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", - "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-async 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-envlogger 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-mozlog-json 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-scope 4.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-stdlog 4.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slog-term 2.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", - "url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "uuid 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", - "validator 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "validator_derive 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "woothee 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "actix-cors", + "actix-http", + "actix-rt", + "actix-web", + "base64 0.12.0", + "bumpalo", + "bytes 0.5.4", + "cadence", + "chrono", + "config", + "diesel", + "diesel_logger", + "diesel_migrations", + "docopt", + "env_logger", + "failure", + "futures 0.3.4", + "futures-await-test", + "googleapis-raw", + "grpcio", + "hawk", + "hkdf", + "hmac", + "itertools", + "lazy_static", + "log", + "mime", + "mozsvc-common", + "num_cpus", + "openssl", + "protobuf", + "rand 0.7.3", + "regex", + "scheduled-thread-pool", + "sentry", + "serde 1.0.105", + "serde_derive", + "serde_json", + "serde_urlencoded 0.6.1", + "sha2", + "slog", + "slog-async", + "slog-envlogger", + "slog-mozlog-json", + "slog-scope", + "slog-stdlog", + "slog-term", + "time 0.2.9", + "tokio 0.2.13", + "url 2.1.1", + "uuid 0.8.1", + "validator", + "validator_derive", + "woothee", ] [[package]] name = "synstructure" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545" dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", + "unicode-xid", ] [[package]] name = "take_mut" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" [[package]] name = "tempfile" version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", - "remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "libc", + "rand 0.7.3", + "redox_syscall", + "remove_dir_all", + "winapi 0.3.8", ] [[package]] name = "term" version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0863a3345e70f61d613eab32ee046ccd1bcc5f9105fe402c61fcd0c13eeb8b5" dependencies = [ - "dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "dirs", + "winapi 0.3.8", ] [[package]] name = "termcolor" version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96d6098003bde162e4277c70665bd87c326f5a0c3f3fbfb285787fa482d54e6e" dependencies = [ - "wincolor 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "wincolor", ] [[package]] name = "thread_local" -version = "0.3.6" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14" dependencies = [ - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static", ] [[package]] name = "threadpool" version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2f0c90a5f3459330ac8bc0d2f879c693bb7a2f59689c1083fc4ef83834da865" dependencies = [ - "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)", + "num_cpus", ] [[package]] name = "time" version = "0.1.42" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f" +dependencies = [ + "libc", + "redox_syscall", + "winapi 0.3.8", +] + +[[package]] +name = "time" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6329a7835505d46f5f3a9a2c237f8d6bf5ca6f0015decb3698ba57fcdbb609ba" dependencies = [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "libc", + "rustversion", + "standback", + "stdweb", + "time-macros", + "winapi 0.3.8", +] + +[[package]] +name = "time-macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ae9b6e9f095bc105e183e3cd493d72579be3181ad4004fceb01adbe9eecab2d" +dependencies = [ + "proc-macro-hack", + "time-macros-impl", +] + +[[package]] +name = "time-macros-impl" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e987cfe0537f575b5fc99909de6185f6c19c3ad8889e2275e686a873d0869ba1" +dependencies = [ + "proc-macro-hack", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "tokio" version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-current-thread 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-reactor 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-threadpool 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12", + "futures 0.1.29", + "mio", + "num_cpus", + "tokio-current-thread", + "tokio-executor", + "tokio-io", + "tokio-reactor", + "tokio-tcp", + "tokio-threadpool", + "tokio-timer", ] [[package]] name = "tokio" -version = "0.2.9" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa5e81d6bc4e67fe889d5783bd2a128ab2e0cfa487e0be16b6a8d177b101616" dependencies = [ - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", - "pin-project-lite 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "signal-hook-registry 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.4", + "fnv", + "futures-core", + "iovec", + "lazy_static", + "libc", + "memchr", + "mio", + "mio-uds", + "num_cpus", + "pin-project-lite", + "signal-hook-registry", + "slab", + "winapi 0.3.8", ] [[package]] name = "tokio-buf" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12", + "either", + "futures 0.1.29", ] [[package]] name = "tokio-current-thread" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d16217cad7f1b840c5a97dfb3c43b0c871fef423a6e8d2118c604e843662a443" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.29", + "tokio-executor", ] [[package]] name = "tokio-executor" version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca6df436c42b0c3330a82d855d2ef017cd793090ad550a6bc2184f4b933532ab" dependencies = [ - "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils 0.6.6", + "futures 0.1.29", ] [[package]] name = "tokio-io" version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5090db468dad16e1a7a54c8c67280c5e4b544f3d3e018f0b913b400261f85926" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12", + "futures 0.1.29", + "log", ] [[package]] name = "tokio-reactor" version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6732fe6b53c8d11178dcb77ac6d9682af27fc6d4cb87789449152e5377377146" dependencies = [ - "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-sync 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils 0.6.6", + "futures 0.1.29", + "lazy_static", + "log", + "mio", + "num_cpus", + "parking_lot 0.9.0", + "slab", + "tokio-executor", + "tokio-io", + "tokio-sync", ] [[package]] name = "tokio-sync" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d06554cce1ae4a50f42fba8023918afa931413aded705b560e29600ccf7c6d76" dependencies = [ - "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", + "fnv", + "futures 0.1.29", ] [[package]] name = "tokio-tcp" version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d14b10654be682ac43efee27401d792507e30fd8d26389e1da3b185de2e4119" dependencies = [ - "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-reactor 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12", + "futures 0.1.29", + "iovec", + "mio", + "tokio-io", + "tokio-reactor", ] [[package]] name = "tokio-threadpool" version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c32ffea4827978e9aa392d2f743d973c1dfa3730a2ed3f22ce1e6984da848c" dependencies = [ - "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-deque", + "crossbeam-queue 0.1.2", + "crossbeam-utils 0.6.6", + "futures 0.1.29", + "lazy_static", + "log", + "num_cpus", + "slab", + "tokio-executor", ] [[package]] name = "tokio-timer" version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1739638e364e558128461fc1ad84d997702c8e31c2e6b18fb99842268199e827" dependencies = [ - "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils 0.6.6", + "futures 0.1.29", + "slab", + "tokio-executor", +] + +[[package]] +name = "tokio-tls" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bde02a3a5291395f59b06ec6945a3077602fac2b07eeeaf0dee2122f3619828" +dependencies = [ + "native-tls", + "tokio 0.2.13", ] [[package]] name = "tokio-util" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "571da51182ec208780505a32528fc5512a8fe1443ab960b3f2f3ef093cd16930" dependencies = [ - "bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures-sink 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "pin-project-lite 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.4", + "futures-core", + "futures-sink", + "log", + "pin-project-lite", + "tokio 0.2.13", ] [[package]] name = "toml" -version = "0.4.10" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a" dependencies = [ - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.105", ] +[[package]] +name = "tower-service" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" + [[package]] name = "trust-dns-proto" version = "0.18.0-alpha.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a7f3a2ab8a919f5eca52a468866a67ed7d3efa265d48a652a9a3452272b413f" dependencies = [ - "async-trait 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", - "enum-as-inner 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "idna 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "smallvec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "socket2 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", - "url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "async-trait", + "enum-as-inner", + "failure", + "futures 0.3.4", + "idna 0.2.0", + "lazy_static", + "log", + "rand 0.7.3", + "smallvec 1.1.0", + "socket2", + "tokio 0.2.13", + "url 2.1.1", ] [[package]] name = "trust-dns-resolver" version = "0.18.0-alpha.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f90b1502b226f8b2514c6d5b37bafa8c200d7ca4102d57dc36ee0f3b7a04a2f" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "ipconfig 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "lru-cache 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "resolv-conf 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "smallvec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", - "trust-dns-proto 0.18.0-alpha.2 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", + "failure", + "futures 0.3.4", + "ipconfig", + "lazy_static", + "log", + "lru-cache", + "resolv-conf", + "smallvec 1.1.0", + "tokio 0.2.13", + "trust-dns-proto", ] [[package]] name = "try-lock" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "try_from" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "283d3b89e1368717881a9d51dad843cc435380d8109c9e47d38780a324698d8b" dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if", ] [[package]] name = "typenum" version = "1.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d2783fe2d6b8c1101136184eb41be8b1ad379e4657050b8aaff0c79ee7575f9" [[package]] name = "uname" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b72f89f0ca32e4db1c04e2a72f5345d59796d4866a1ee0609084569f73683dc8" dependencies = [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", + "libc", ] [[package]] name = "unicase" version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" dependencies = [ - "version_check 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "version_check 0.9.1", ] [[package]] name = "unicode-bidi" version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" dependencies = [ - "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "matches", ] [[package]] name = "unicode-normalization" version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b561e267b2326bb4cebfc0ef9e68355c7abe6c6f522aeac2f5bf95d56c59bdcf" dependencies = [ - "smallvec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 1.1.0", ] [[package]] name = "unicode-segmentation" version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" [[package]] name = "unicode-xid" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" [[package]] name = "untrusted" -version = "0.6.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60369ef7a31de49bcb3f6ca728d4ba7300d9a1658f94c727d4cab8c8d9f4aece" [[package]] name = "url" version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" dependencies = [ - "idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "idna 0.1.5", + "matches", + "percent-encoding 1.0.1", ] [[package]] name = "url" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "idna 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "percent-encoding 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "url_serde" -version = "0.2.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "829d4a8476c35c9bf0bbce5a3b23f4106f79728039b726d292bb93bc106787cb" dependencies = [ - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", + "idna 0.2.0", + "matches", + "percent-encoding 2.1.0", + "serde 1.0.105", ] [[package]] name = "uuid" version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a" dependencies = [ - "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5", ] [[package]] name = "uuid" version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fde2f6a4bea1d6e007c4ad38c6839fa71cbb63b6dbf5b595aa38dc9b1093c11" dependencies = [ - "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.7.3", + "serde 1.0.105", ] [[package]] name = "validator" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ab5990ba09102e1ddc954d294f09b9ea00fc7831a5813bbe84bfdbcae44051e" dependencies = [ - "idna 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", - "url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "idna 0.2.0", + "lazy_static", + "regex", + "serde 1.0.105", + "serde_derive", + "serde_json", + "url 2.1.1", ] [[package]] name = "validator_derive" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e668e9cd05c5009b833833aa1147e5727b5396ea401f22dd1167618eed4a10c9" dependencies = [ - "if_chain 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", - "validator 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "if_chain", + "lazy_static", + "proc-macro2", + "quote", + "regex", + "syn", + "validator", ] [[package]] name = "vcpkg" version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fc439f2794e98976c88a2a2dafce96b930fe8010b0a256b3c2199a773933168" [[package]] name = "version_check" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" [[package]] name = "version_check" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "078775d0255232fb988e6fccf26ddc9d1ac274299aaedcedce21c6f72cc533ce" [[package]] name = "walkdir" version = "2.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9658c94fa8b940eab2250bd5a457f9c48b748420d71293b165c8cdbe2f55f71e" dependencies = [ - "same-file 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "same-file", + "winapi 0.3.8", + "winapi-util", ] [[package]] name = "want" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230" +dependencies = [ + "futures 0.1.29", + "log", + "try-lock", +] + +[[package]] +name = "want" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" dependencies = [ - "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "try-lock 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "log", + "try-lock", ] [[package]] name = "wasi" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d" + +[[package]] +name = "wasm-bindgen" +version = "0.2.59" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3557c397ab5a8e347d434782bcd31fc1483d927a6826804cec05cc792ee2519d" +dependencies = [ + "cfg-if", + "serde 1.0.105", + "serde_json", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.59" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0da9c9a19850d3af6df1cb9574970b566d617ecfaf36eb0b706b6f3ef9bd2f8" +dependencies = [ + "bumpalo", + "lazy_static", + "log", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "457414a91863c0ec00090dba537f88ab955d93ca6555862c29b6d860990b8a8a" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.59" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f6fde1d36e75a714b5fe0cffbb78978f222ea6baebb726af13c78869fdb4205" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.59" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25bda4168030a6412ea8a047e27238cadf56f0e53516e1e83fec0a8b7c786f6d" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.59" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc9f36ad51f25b0219a3d4d13b90eb44cd075dff8b6280cca015775d7acaddd8" + +[[package]] +name = "web-sys" +version = "0.3.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "721c6263e2c66fd44501cc5efbfa2b7dfa775d13e4ea38c46299646ed1f9c70a" +dependencies = [ + "js-sys", + "wasm-bindgen", +] [[package]] name = "widestring" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "effc0e4ff8085673ea7b9b2e3c73f6bd4d118810c9009ed8f1e16bd96c331db6" [[package]] name = "winapi" version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" [[package]] name = "winapi" version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" dependencies = [ - "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", ] [[package]] name = "winapi-build" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" [[package]] name = "winapi-i686-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7168bab6e1daee33b4557efd0e95d5ca70a03706d39fa5f3fe7a236f584b03c9" dependencies = [ - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.8", ] [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "wincolor" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96f5016b18804d24db43cebf3c77269e7569b8954a8464501c216cc5e070eaa9" dependencies = [ - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.8", + "winapi-util", ] [[package]] name = "winreg" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2986deb581c4fe11b621998a5e53361efe6b48a151178d0cd9eeffa4dc6acc9" dependencies = [ - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.8", ] [[package]] name = "winutil" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7daf138b6b14196e3830a588acf1e86966c694d3e8fb026fb105b8b5dca07e6e" dependencies = [ - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.8", ] [[package]] name = "woothee" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89d5a45c5d9c772e577c263597681448fd91a46aed911783394eec396e45d4ee" dependencies = [ - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static", + "regex", ] [[package]] name = "ws2_32-sys" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" dependencies = [ - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.2.8", + "winapi-build", ] [[package]] name = "yaml-rust" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65923dd1784f44da1d2c3dbbc5e822045628c590ba72123e1c73d3c230c4434d" dependencies = [ - "linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[metadata] -"checksum actix-codec 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "09e55f0a5c2ca15795035d90c46bd0e73a5123b72f68f12596d6ba5282051380" -"checksum actix-connect 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1f2b61480a8d30c94d5c883d79ef026b02ad6809931b0a4bb703f9545cd8c986" -"checksum actix-cors 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0a6206917d5c0fdd79d81cec9ef02d3e802df4abf276d96241e1f595d971e002" -"checksum actix-http 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c16664cc4fdea8030837ad5a845eb231fb93fc3c5c171edfefb52fad92ce9019" -"checksum actix-macros 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "21705adc76bbe4bc98434890e73a89cd00c6015e5704a60bb6eea6c3b72316b6" -"checksum actix-router 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "9d7a10ca4d94e8c8e7a87c5173aba1b97ba9a6563ca02b0e1cd23531093d3ec8" -"checksum actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3f6a0a55507046441a496b2f0d26a84a65e67c8cafffe279072412f624b5fb6d" -"checksum actix-server 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "51d3455eaac03ca3e49d7b822eb35c884b861f715627254ccbe4309d08f1841a" -"checksum actix-service 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9fba4171f1952aa15f3cf410facac388d18110b1e8754f84a407ab7f9d5ac7ee" -"checksum actix-testing 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "48494745b72d0ea8ff0cf874aaf9b622a3ee03d7081ee0c04edea4f26d32c911" -"checksum actix-threadpool 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf4082192601de5f303013709ff84d81ca6a1bc4af7fb24f367a500a23c6e84e" -"checksum actix-tls 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a4e5b4faaf105e9a6d389c606c298dcdb033061b00d532af9df56ff3a54995a8" -"checksum actix-utils 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "fcf8f5631bf01adec2267808f00e228b761c60c0584cc9fa0b5364f41d147f4e" -"checksum actix-web 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3158e822461040822f0dbf1735b9c2ce1f95f93b651d7a7aded00b1efbb1f635" -"checksum actix-web-codegen 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "de0878b30e62623770a4713a6338329fd0119703bafc211d3e4144f4d4a7bdd5" -"checksum adler32 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5d2e7343e7fc9de883d1b0341e0b13970f764c14101234857d2ddafa1cb1cac2" -"checksum aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d" -"checksum arc-swap 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "d7b8a9123b8027467bce0099fe556c628a53c8d83df0507084c31e9ba2e39aff" -"checksum arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0d382e583f07208808f6b1249e60848879ba3543f57c32277bf52d69c2f0f0ee" -"checksum arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8" -"checksum async-trait 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "c8df72488e87761e772f14ae0c2480396810e51b2c2ade912f97f0f7e5b95e3c" -"checksum atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90" -"checksum autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2" -"checksum awc 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d7601d4d1d7ef2335d6597a41b5fe069f6ab799b85f53565ab390e7b7065aac5" -"checksum backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)" = "924c76597f0d9ca25d762c25a4d369d51267536465dc5064bdf0eb073ed477ea" -"checksum backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491" -"checksum base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e" -"checksum base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" -"checksum bindgen 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ebd71393f1ec0509b553aa012b9b58e81dadbdff7130bd3b8cba576e69b32f75" -"checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" -"checksum blake2b_simd 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b83b7baab1e671718d78204225800d6b170e648188ac7dc992e9d6bddf87d0c0" -"checksum block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -"checksum block-padding 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -"checksum brotli-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4445dea95f4c2b41cde57cc9fee236ae4dbae88d8fcbdb4750fc1bb5d86aaecd" -"checksum brotli2 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0cb036c3eade309815c15ddbacec5b22c4d1f3983a774ab2eac2e3e9ea85568e" -"checksum byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" -"checksum byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5" -"checksum bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" -"checksum bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "10004c15deb332055f7a4a208190aed362cf9a7c2f6ab70a305fba50e1105f38" -"checksum bytestring 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b24c107a4432e408d2caa58d3f5e763b219236221406ea58a4076b62343a039d" -"checksum c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "214238caa1bf3a496ec3392968969cab8549f96ff30652c9e56885329315f6bb" -"checksum cadence 0.19.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4cc8802110b3a8650896ab9ab0578b5b3057a112ccb0832b5c2ffebfccacc0db" -"checksum cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)" = "f52a465a666ca3d838ebbf08b241383421412fe7ebb463527bba275526d89f76" -"checksum cexpr 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "fce5b5fb86b0c57c20c834c1b412fd09c77c8a59b9473f86272709e78874cd1d" -"checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" -"checksum chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "31850b4a4d6bae316f7a09e691c944c28299298837edc0a03f755618c23cbc01" -"checksum clang-sys 0.28.1 (registry+https://github.com/rust-lang/crates.io-index)" = "81de550971c976f176130da4b2978d3b524eaa0fd9ac31f3ceb5ae1231fb4853" -"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" -"checksum cmake 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "81fb25b677f8bf1eb325017cb6bb8452f87969db0fedb4f757b297bee78a7c62" -"checksum config 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f9107d78ed62b3fa5a86e7d18e647abed48cfd8f8fab6c72f4cdb982d196f7e6" -"checksum constant_time_eq 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "995a44c877f9212528ccc74b21a232f66ad69001e40ede5bcee2ac9ef2657120" -"checksum cookie 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "888604f00b3db336d2af898ec3c1d5d0ddf5e6d462220f2ededc33a87ac4bbd5" -"checksum cookie_store 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "46750b3f362965f197996c4448e4a0935e791bf7d6631bfce9ee0af3d24c919c" -"checksum copyless 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6ff9c56c9fb2a49c05ef0e431485a22400af20d33226dc0764d891d09e724127" -"checksum core-foundation 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)" = "25b9e03f145fd4f2bf705e07b900cd41fc636598fe5dc452fd0db1441c3f496d" -"checksum core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e7ca8a5221364ef15ce201e8ed2f609fc312682a8f4e0e3d4aa5879764e0fa3b" -"checksum crc32fast 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1" -"checksum crossbeam 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e" -"checksum crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c8ec7fcd21571dc78f96cc96243cab8d8f035247c3efd16c687be154c3fa9efa" -"checksum crossbeam-channel 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "acec9a3b0b3559f15aee4f90746c4e5e293b701c0f7d3925d24e01645267b68c" -"checksum crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3aa945d63861bfe624b55d153a39684da1e8c0bc8fba932f7ee3a3c16cea3ca" -"checksum crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5064ebdbf05ce3cb95e45c8b086f72263f4166b29b97f6baff7ef7fe047b55ac" -"checksum crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b" -"checksum crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db" -"checksum crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6" -"checksum crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ce446db02cdc3165b94ae73111e570793400d0794e46125cc4056c81cbb039f4" -"checksum crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5" -"checksum curl 0.4.25 (registry+https://github.com/rust-lang/crates.io-index)" = "06aa71e9208a54def20792d877bc663d6aae0732b9852e612c4a933177c31283" -"checksum curl-sys 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)" = "f659f3ffac9582d6177bb86d1d2aa649f4eb9d0d4de9d03ccc08b402832ea340" -"checksum debugid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "088c9627adec1e494ff9dea77377f1e69893023d631254a0ec68b16ee20be3e9" -"checksum derive_more 0.99.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2159be042979966de68315bce7034bb000c775f22e3e834e1c52ff78f041cae8" -"checksum diesel 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "9d7cc03b910de9935007861dce440881f69102aaaedfd4bc5a6f40340ca5840c" -"checksum diesel_derives 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "45f5098f628d02a7a0f68ddba586fb61e80edec3bdc1be3b921f4ceec60858d3" -"checksum diesel_logger 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d73a791d0f0fff4bc6244bd8b70776a45b1140716411efe1364be9a868cbea7" -"checksum diesel_migrations 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bf3cde8413353dc7f5d72fa8ce0b99a560a359d2c5ef1e5817ca731cd9008f4c" -"checksum digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" -"checksum dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3" -"checksum dirs-sys 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "afa0b23de8fd801745c471deffa6e12d248f962c9fd4b4c33787b055599bde7b" -"checksum docopt 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7f525a586d310c87df72ebcd98009e57f1cc030c8c268305287a476beb653969" -"checksum dtoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "ea57b42383d091c85abcc2706240b94ab2a8fa1fc81c10ff23c4de06e2a90b5e" -"checksum either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3" -"checksum encoding_rs 0.8.22 (registry+https://github.com/rust-lang/crates.io-index)" = "cd8d03faa7fe0c1431609dfad7bbe827af30f82e1e2ae6f7ee4fca6bd764bc28" -"checksum enum-as-inner 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "900a6c7fbe523f4c2884eaf26b57b81bb69b6810a01a236390a7ac021d09492e" -"checksum env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "aafcde04e90a5226a6443b7aabdb016ba2f8307c847d524724bd9b346dd1a2d3" -"checksum env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" -"checksum erased-serde 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "3beee4bc16478a1b26f2e80ad819a52d24745e292f521a63c16eea5f74b7eb60" -"checksum error-chain 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3ab49e9dcb602294bc42f9a7dfc9bc6e936fca4418ea300dbfb84fe16de0b7d9" -"checksum failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "f8273f13c977665c5db7eb2b99ae520952fe5ac831ae4cd09d80c4c7042b5ed9" -"checksum failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0bc225b78e0391e4b8683440bf2e63c2deeeb2ce5189eab46e2b68c6d3725d08" -"checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" -"checksum flate2 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6bd6d6f4752952feb71363cffc9ebac9411b75b87c6ab6058c40c8900cf43c0f" -"checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" -"checksum foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -"checksum foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" -"checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" -"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" -"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" -"checksum futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" -"checksum futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b6f16056ecbb57525ff698bb955162d0cd03bee84e6241c27ff75c08d8ca5987" -"checksum futures-await-test 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ae0d3d05bce73a572ba581e4f4a7f20164c18150169c3a67f406aada3e48c7e8" -"checksum futures-await-test-macro 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4f150175e6832600500334550e00e4dc563a0b32f58a9d1ad407f6473378c839" -"checksum futures-channel 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fcae98ca17d102fd8a3603727b9259fcf7fa4239b603d2142926189bc8999b86" -"checksum futures-core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "79564c427afefab1dfb3298535b21eda083ef7935b4f0ecbfcb121f0aec10866" -"checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" -"checksum futures-executor 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1e274736563f686a837a0568b478bdabfeaec2dca794b5649b04e2fe1627c231" -"checksum futures-io 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e676577d229e70952ab25f3945795ba5b16d63ca794ca9d2c860e5595d20b5ff" -"checksum futures-macro 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "52e7c56c15537adb4f76d0b7a76ad131cb4d2f4f32d3b0bcabcbe1c7c5e87764" -"checksum futures-sink 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "171be33efae63c2d59e6dbba34186fe0d6394fb378069a76dfd80fdcffd43c16" -"checksum futures-task 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0bae52d6b29cf440e298856fec3965ee6fa71b06aa7495178615953fd669e5f9" -"checksum futures-util 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c0d66274fb76985d3c62c886d1da7ac4c0903a8c9f754e8fe0f35a6a6cc39e76" -"checksum fxhash 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" -"checksum generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec" -"checksum getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "e7db7ca94ed4cd01190ceee0d8a8052f08a247aa1b469a7f68c6a3b71afcf407" -"checksum glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" -"checksum grpcio 0.5.0-alpha.5 (registry+https://github.com/rust-lang/crates.io-index)" = "1463096cfc371772d59a48fbfc471e18892e197efc5867b3bd7c2e0428e97824" -"checksum grpcio-sys 0.5.0-alpha.5 (registry+https://github.com/rust-lang/crates.io-index)" = "c8aebf59fdf3668edf163c1948ceca64c4ebb733d71c9055a12219d336bd5d51" -"checksum h2 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)" = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462" -"checksum h2 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b9433d71e471c1736fd5a61b671fc0b148d7a2992f666c958d03cd8feb3b88d1" -"checksum hawk 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7afdba594720e9250e3d3609ec309f8adb26fa18ce39834aeb6724a30bc2431c" -"checksum heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" -"checksum hermit-abi 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f629dc602392d3ec14bfc8a09b5e644d7ffd725102b48b81e59f90f2633621d7" -"checksum hkdf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3fa08a006102488bd9cd5b8013aabe84955cf5ae22e304c2caf655b633aefae3" -"checksum hmac 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5dcb5e64cda4c23119ab41ba960d1e170a774c8e4b9d9e6a9bc18aabf5e59695" -"checksum hostname 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "21ceb46a83a85e824ef93669c8b390009623863b5c195d1ba747292c0c72f94e" -"checksum http 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)" = "d6ccf5ede3a895d8856620237b2f02972c1bbc78d2965ad7fe8838d4a0ed41f0" -"checksum http 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b708cc7f06493459026f53b9a61a7a121a5d1ec6238dee58ea4941132b30156b" -"checksum http-body 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d" -"checksum httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" -"checksum httpdate 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" -"checksum humantime 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" -"checksum hyper 0.12.35 (registry+https://github.com/rust-lang/crates.io-index)" = "9dbe6ed1438e1f8ad955a4701e9a944938e9519f6888d12d8558b645e247d5f6" -"checksum hyper-tls 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3a800d6aa50af4b5850b2b0f659625ce9504df908e9733b635720483be26174f" -"checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" -"checksum idna 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9" -"checksum if_chain 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c3360c7b59e5ffa2653671fb74b4741a5d343c03f331c0a4aeda42b5c2b0ec7d" -"checksum im 12.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "de38d1511a0ce7677538acb1e31b5df605147c458e061b2cdb89858afb1cd182" -"checksum indexmap 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712d7b3ea5827fcb9d4fda14bf4da5f136f0db2ae9c8f4bd4e2d1c6fde4e6db2" -"checksum iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" -"checksum ipconfig 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "aa79fa216fbe60834a9c0737d7fcd30425b32d1c58854663e24d4c4b328ed83f" -"checksum itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484" -"checksum itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f" -"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" -"checksum language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a91d884b6667cd606bb5a69aa0c99ba811a115fc68915e7056ec08a46e93199a" -"checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" -"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -"checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558" -"checksum libloading 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" -"checksum libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe" -"checksum linked-hash-map 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6d262045c5b87c0861b3f004610afd0e2c851e2908d08b6c870cbb9d5f494ecd" -"checksum linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "ae91b68aebc4ddb91978b11a1b02ddd8602a05ec19002801c5666000e05e0f83" -"checksum lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "62ebf1391f6acad60e5c8b43706dde4582df75c06698ab44511d15016bc2442c" -"checksum lock_api 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e57b3997725d2b60dbec1297f6c2e2957cc383db1cebd6be812163f969c7d586" -"checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" -"checksum lru-cache 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" -"checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" -"checksum maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" -"checksum memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e" -"checksum memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9" -"checksum migrations_internals 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8089920229070f914b9ce9b07ef60e175b2b9bc2d35c3edd8bf4433604e863b9" -"checksum migrations_macros 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "719ef0bc7f531428764c9b70661c14abd50a7f3d21f355752d9985aa21251c9e" -"checksum mime 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "dd1d63acd1b78403cc0c325605908475dd9b9a3acbf65ed8bcab97e27014afcf" -"checksum mime_guess 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1a0ed03949aef72dbdf3116a383d7b38b4768e6f960528cd6a6044aa9ed68599" -"checksum miniz_oxide 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6f3f74f726ae935c3f514300cc6773a0c9492abc5e972d42ba0c0ebb88757625" -"checksum mio 0.6.21 (registry+https://github.com/rust-lang/crates.io-index)" = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f" -"checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" -"checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" -"checksum mozsvc-common 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "efdfe5192ed6adb12e2f703d7a5f3facdfc3bda787a004930ee7ed2859aceb2e" -"checksum mysqlclient-sys 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7e9637d93448044078aaafea7419aed69d301b4a12bcc4aa0ae856eb169bef85" -"checksum native-tls 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "4b2df1a4c22fd44a62147fd8f13dd0f95c9d8ca7b2610299b2a2f9cf8964274e" -"checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" -"checksum nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6" -"checksum num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)" = "b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09" -"checksum num-traits 0.1.43 (registry+https://github.com/rust-lang/crates.io-index)" = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31" -"checksum num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c81ffc11c212fa327657cb19dd85eb7419e163b5b076bede2bdb5c974c07e4" -"checksum num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)" = "76dac5ed2a876980778b8b85f75a71b6cbf0db0b1232ee12f826bccb00d09d72" -"checksum once_cell 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "532c29a261168a45ce28948f9537ddd7a5dd272cc513b3017b1e82a88f962c37" -"checksum opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" -"checksum openssl 0.10.26 (registry+https://github.com/rust-lang/crates.io-index)" = "3a3cc5799d98e1088141b8e01ff760112bbd9f19d850c124500566ca6901a585" -"checksum openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" -"checksum openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)" = "465d16ae7fc0e313318f7de5cecf57b2fbe7511fd213978b457e1c96ff46736f" -"checksum parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "92e98c49ab0b7ce5b222f2cc9193fc4efe11c6d0bd4f648e374684a6857b1cfc" -"checksum parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ab41b4aed082705d1056416ae4468b6ea99d52599ecf3169b00088d43113e337" -"checksum parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" -"checksum parking_lot_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "94c8c7923936b28d546dfd14d4472eaf34c99b14e1c973a32b3e6d4eb04298c9" -"checksum parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" -"checksum parking_lot_core 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7582838484df45743c8434fbff785e8edf260c28748353d44bc0da32e0ceabf1" -"checksum peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" -"checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" -"checksum percent-encoding 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" -"checksum pin-project 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "94b90146c7216e4cb534069fb91366de4ea0ea353105ee45ed297e2d1619e469" -"checksum pin-project-internal 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "44ca92f893f0656d3cba8158dd0f2b99b94de256a4a54e870bd6922fcc6c8355" -"checksum pin-project-lite 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e8822eb8bb72452f038ebf6048efa02c3fe22bf83f76519c9583e47fc194a422" -"checksum pin-utils 0.1.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5894c618ce612a3fa23881b152b608bafb8c56cfc22f434a3ba3120b40f7b587" -"checksum pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)" = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677" -"checksum ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b" -"checksum proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)" = "ecd45702f76d6d3c75a80564378ae228a85f0b59d2f3ed43c91b4a69eb2ebfc5" -"checksum proc-macro-nested 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "369a6ed065f249a159e06c45752c780bda2fb53c995718f9e484d08daa9eb42e" -"checksum proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27" -"checksum protobuf 2.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5f00e4a3cb64ecfeac2c0a73c74c68ae3439d7a6bead3870be56ad5dd2620a6f" -"checksum publicsuffix 1.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "3bbaa49075179162b49acac1c6aa45fb4dafb5f13cf6794276d77bc7fd95757b" -"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" -"checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" -"checksum r2d2 0.8.8 (registry+https://github.com/rust-lang/crates.io-index)" = "1497e40855348e4a8a40767d8e55174bce1e445a3ac9254ad44ad468ee0485af" -"checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" -"checksum rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3ae1b169243eaf61759b8475a998f0a385e42042370f3a7dbaf35246eacc8412" -"checksum rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef" -"checksum rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853" -"checksum rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" -"checksum rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" -"checksum rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -"checksum rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4" -"checksum rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -"checksum rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08" -"checksum rand_jitter 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b" -"checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071" -"checksum rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44" -"checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c" -"checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" -"checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" -"checksum redox_users 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4ecedbca3bf205f8d8f5c2b44d83cd0690e39ee84b951ed649e9f1841132b66d" -"checksum regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dc220bd33bdce8f093101afe22a037b8eb0e5af33592e6a9caafff0d4cb81cbd" -"checksum regex-syntax 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "11a7e20d1cce64ef2fed88b66d347f88bd9babb82845b2b858f3edbf59a4f716" -"checksum remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e" -"checksum reqwest 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)" = "f88643aea3c1343c804950d7bf983bd2067f5ab59db6d613a08e05572f2714ab" -"checksum resolv-conf 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b263b4aa1b5de9ffc0054a2386f96992058bb6870aab516f8cdeb8a667d56dcb" -"checksum ring 0.14.6 (registry+https://github.com/rust-lang/crates.io-index)" = "426bc186e3e95cac1e4a4be125a4aca7e84c2d616ffc02244eef36e2a60a093c" -"checksum rust-argon2 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4ca4eaef519b494d1f2848fc602d18816fed808a981aedf4f1f00ceb7c9d32cf" -"checksum rust-ini 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3e52c148ef37f8c375d49d5a73aa70713125b7f19095948a923f80afdeb22ec2" -"checksum rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" -"checksum rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7540fc8b0c49f096ee9c961cda096467dce8084bec6bdca2fc83895fd9b28cb8" -"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -"checksum ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8" -"checksum same-file 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "585e8ddcedc187886a30fa705c47985c3fa88d06624095856b36ca0b82ff4421" -"checksum schannel 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "87f550b06b6cba9c8b8be3ee73f391990116bf527450d2556e9b9ce263b9a021" -"checksum scheduled-thread-pool 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "0988d7fdf88d5e5fcf5923a0f1e8ab345f3e98ab4bc6bc45a2d5ff7f7458fbf6" -"checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27" -"checksum scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d" -"checksum security-framework 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8ef2429d7cefe5fd28bd1d2ed41c944547d4ff84776f5935b456da44593a16df" -"checksum security-framework-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e31493fc37615debb8c5090a7aeb4a9730bc61e77ab10b9af59f1a202284f895" -"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" -"checksum sentry 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fe4ea18f306c959be49f1bea8f3911a454e5d09d2dc43307215729e636bfbf4b" -"checksum sentry-types 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b23e3d9c8c6e4a1523f24df6753c4088bfe16c44a73c8881c1d23c70f28ae280" -"checksum serde 0.8.23 (registry+https://github.com/rust-lang/crates.io-index)" = "9dad3f759919b92c3068c696c15c3d17238234498bbdcc80f2c469606f948ac8" -"checksum serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)" = "414115f25f818d7dfccec8ee535d76949ae78584fc4f79a6f45a904bf8ab4449" -"checksum serde-hjson 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0b833c5ad67d52ced5f5938b2980f32a9c1c5ef047f0b4fb3127e7a423c76153" -"checksum serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)" = "128f9e303a5a29922045a830221b8f78ec74a5f544944f3d5984f8ec3895ef64" -"checksum serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)" = "48c575e0cc52bdd09b47f330f646cf59afc586e9c4e3ccd6fc1f625b8ea1dad7" -"checksum serde_test 0.8.23 (registry+https://github.com/rust-lang/crates.io-index)" = "110b3dbdf8607ec493c22d5d947753282f3bae73c0f56d322af1e8c78e4c23d5" -"checksum serde_urlencoded 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "642dd69105886af2efd227f75a520ec9b44a820d65bc133a9131f7d229fd165a" -"checksum serde_urlencoded 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9ec5d77e2d4c73717816afac02670d5c4f534ea95ed430442cad02e7a6e32c97" -"checksum sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" -"checksum sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b4d8bfd0e469f417657573d8451fb33d16cfe0989359b93baf3a1ffc639543d" -"checksum shlex 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" -"checksum signal-hook-registry 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41" -"checksum sized-chunks 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "9d3e7f23bad2d6694e0f46f5e470ec27eb07b8f3e8b309a4b0dc17501928b9f2" -"checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" -"checksum slog 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1cc9c640a4adbfbcc11ffb95efe5aa7af7309e002adab54b185507dbf2377b99" -"checksum slog-async 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e544d16c6b230d84c866662fe55e31aacfca6ae71e6fc49ae9a311cb379bfc2f" -"checksum slog-envlogger 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "906a1a0bc43fed692df4b82a5e2fbfc3733db8dad8bb514ab27a4f23ad04f5c0" -"checksum slog-mozlog-json 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f400f1c5db96f1f52065e8931ca0c524cceb029f7537c9e6d5424488ca137ca0" -"checksum slog-scope 4.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7c44c89dd8b0ae4537d1ae318353eaf7840b4869c536e31c41e963d1ea523ee6" -"checksum slog-stdlog 4.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "be4d87903baf655da2d82bc3ac3f7ef43868c58bf712b3a661fda72009304c23" -"checksum slog-term 2.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "54b50e85b73c2bd42ceb97b6ded235576d405bd1e974242ccfe634fa269f6da7" -"checksum smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6" -"checksum smallvec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "44e59e0c9fa00817912ae6e4e6e3c4fe04455e75699d06eedc7d85917ed8e8f4" -"checksum socket2 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)" = "e8b74de517221a2cb01a53349cf54182acdc31a074727d3079068448c0676d85" -"checksum spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" -"checksum string 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d24114bfcceb867ca7f71a0d3fe45d45619ec47a6fbfa98cb14e14250bfa5d6d" -"checksum strsim 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" -"checksum subtle 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" -"checksum syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)" = "dff0acdb207ae2fe6d5976617f887eb1e35a2ba52c13c7234c790960cdad9238" -"checksum synstructure 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545" -"checksum take_mut 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" -"checksum tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" -"checksum term 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c0863a3345e70f61d613eab32ee046ccd1bcc5f9105fe402c61fcd0c13eeb8b5" -"checksum termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "96d6098003bde162e4277c70665bd87c326f5a0c3f3fbfb285787fa482d54e6e" -"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b" -"checksum threadpool 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e2f0c90a5f3459330ac8bc0d2f879c693bb7a2f59689c1083fc4ef83834da865" -"checksum time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f" -"checksum tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" -"checksum tokio 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)" = "ffa2fdcfa937b20cb3c822a635ceecd5fc1a27a6a474527e5516aa24b8c8820a" -"checksum tokio-buf 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46" -"checksum tokio-current-thread 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "d16217cad7f1b840c5a97dfb3c43b0c871fef423a6e8d2118c604e843662a443" -"checksum tokio-executor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "ca6df436c42b0c3330a82d855d2ef017cd793090ad550a6bc2184f4b933532ab" -"checksum tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "5090db468dad16e1a7a54c8c67280c5e4b544f3d3e018f0b913b400261f85926" -"checksum tokio-reactor 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "6732fe6b53c8d11178dcb77ac6d9682af27fc6d4cb87789449152e5377377146" -"checksum tokio-sync 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "d06554cce1ae4a50f42fba8023918afa931413aded705b560e29600ccf7c6d76" -"checksum tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1d14b10654be682ac43efee27401d792507e30fd8d26389e1da3b185de2e4119" -"checksum tokio-threadpool 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)" = "f0c32ffea4827978e9aa392d2f743d973c1dfa3730a2ed3f22ce1e6984da848c" -"checksum tokio-timer 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)" = "1739638e364e558128461fc1ad84d997702c8e31c2e6b18fb99842268199e827" -"checksum tokio-util 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "571da51182ec208780505a32528fc5512a8fe1443ab960b3f2f3ef093cd16930" -"checksum toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f" -"checksum trust-dns-proto 0.18.0-alpha.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2a7f3a2ab8a919f5eca52a468866a67ed7d3efa265d48a652a9a3452272b413f" -"checksum trust-dns-resolver 0.18.0-alpha.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6f90b1502b226f8b2514c6d5b37bafa8c200d7ca4102d57dc36ee0f3b7a04a2f" -"checksum try-lock 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" -"checksum try_from 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "283d3b89e1368717881a9d51dad843cc435380d8109c9e47d38780a324698d8b" -"checksum typenum 1.11.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6d2783fe2d6b8c1101136184eb41be8b1ad379e4657050b8aaff0c79ee7575f9" -"checksum uname 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b72f89f0ca32e4db1c04e2a72f5345d59796d4866a1ee0609084569f73683dc8" -"checksum unicase 2.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" -"checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" -"checksum unicode-normalization 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "b561e267b2326bb4cebfc0ef9e68355c7abe6c6f522aeac2f5bf95d56c59bdcf" -"checksum unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" -"checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" -"checksum untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "55cd1f4b4e96b46aeb8d4855db4a7a9bd96eeeb5c6a1ab54593328761642ce2f" -"checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" -"checksum url 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "75b414f6c464c879d7f9babf951f23bc3743fb7313c081b2e6ca719067ea9d61" -"checksum url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "74e7d099f1ee52f823d4bdd60c93c3602043c728f5db3b97bdb548467f7bddea" -"checksum uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a" -"checksum uuid 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9fde2f6a4bea1d6e007c4ad38c6839fa71cbb63b6dbf5b595aa38dc9b1093c11" -"checksum validator 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7ab5990ba09102e1ddc954d294f09b9ea00fc7831a5813bbe84bfdbcae44051e" -"checksum validator_derive 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e668e9cd05c5009b833833aa1147e5727b5396ea401f22dd1167618eed4a10c9" -"checksum vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3fc439f2794e98976c88a2a2dafce96b930fe8010b0a256b3c2199a773933168" -"checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" -"checksum version_check 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "078775d0255232fb988e6fccf26ddc9d1ac274299aaedcedce21c6f72cc533ce" -"checksum walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)" = "9658c94fa8b940eab2250bd5a457f9c48b748420d71293b165c8cdbe2f55f71e" -"checksum want 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230" -"checksum wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d" -"checksum widestring 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "effc0e4ff8085673ea7b9b2e3c73f6bd4d118810c9009ed8f1e16bd96c331db6" -"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" -"checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" -"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" -"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" -"checksum winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7168bab6e1daee33b4557efd0e95d5ca70a03706d39fa5f3fe7a236f584b03c9" -"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -"checksum wincolor 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "96f5016b18804d24db43cebf3c77269e7569b8954a8464501c216cc5e070eaa9" -"checksum winreg 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b2986deb581c4fe11b621998a5e53361efe6b48a151178d0cd9eeffa4dc6acc9" -"checksum winutil 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7daf138b6b14196e3830a588acf1e86966c694d3e8fb026fb105b8b5dca07e6e" -"checksum woothee 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e0743ef75769346589559a512f388a0166f93e9432ab93707e99ac42d4d8ae52" -"checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" -"checksum yaml-rust 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "65923dd1784f44da1d2c3dbbc5e822045628c590ba72123e1c73d3c230c4434d" + "linked-hash-map 0.5.2", +] diff --git a/Cargo.toml b/Cargo.toml index 622125b756..57a80546b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ license = "MPL-2.0" authors = [ "Ben Bangert ", "Phil Jenvey ", + "Mozilla Services Engineering " ] edition = "2018" @@ -17,54 +18,56 @@ actix-http = "1" actix-web = "2" actix-rt = "1" actix-cors = "0.2" -base64 = "0.11.0" +base64 = "0.12" +bumpalo = "3.2.1" bytes = "0.5" cadence = "0.19.1" chrono = "0.4" -config = "0.9.3" -diesel = { version = "1.4.3", features = ["mysql", "r2d2"] } +config = "0.10" +diesel = { version = "1.4.4", features = ["mysql", "r2d2"] } diesel_logger = "0.1.0" diesel_migrations = { version = "1.4.0", features = ["mysql"] } docopt = "1.1.0" env_logger = "0.7.1" -failure = "0.1.6" +failure = "0.1.7" futures = { version = "0.3", features = ["compat"] } googleapis-raw = { version = "0", path = "vendor/mozilla-rust-sdk/googleapis-raw" } -grpcio = { version = "0.5.0-alpha.5" } +grpcio = { version = "0.5.0" } lazy_static = "1.4.0" -hawk = "3.0.0" +hawk = "3.1.0" hkdf = "0.8.0" hmac = "0.7" -itertools = "0.8.2" +itertools = "0.9.0" log = { version = "0.4.8", features = ["max_level_info", "release_max_level_info"] } mime = "0.3" mozsvc-common = "0.1" -num_cpus = "1.11" +num_cpus = "1.12" # must match what's used by googleapis-raw -protobuf = "2.7.0" +protobuf = "2.11" openssl ="0.10" rand = "0.7" regex = "1.3" -sentry = { version = "0.17.0", features = ["with_curl_transport"] } +sentry = { version = "0.18", features = ["with_curl_transport"] } serde = "1.0" serde_derive = "1.0" serde_json = { version = "1.0", features = ["arbitrary_precision"] } serde_urlencoded = "0.6.1" scheduled-thread-pool = "0.2" -sha2 = "0.8.0" -slog = { version = "2.5", features = ["max_level_info", "release_max_level_info", "dynamic-keys"] } -slog-async = "2.3" +sha2 = "0.8" +slog = { version = "2.5", features = ["max_level_trace", "release_max_level_error", "dynamic-keys"] } +slog-async = "2.4" slog-envlogger = "2.2.0" slog-mozlog-json = "0.1" slog-scope = "4.3" slog-stdlog = "4.0" -slog-term = "2.4" -time = "0.1.42" -url = "2.1.0" +slog-term = "2.5" +time = "0.2" +tokio = "0.2" +url = "2.1" uuid = { version = "0.8.1", features = ["serde", "v4"] } validator = "0.10" validator_derive = "0.10" -woothee = "0.10" +woothee = "0.11" [dev-dependencies] futures-await-test = "0.3.0" diff --git a/src/web/auth.rs b/src/web/auth.rs index 6f7a5cb971..522752a5f1 100644 --- a/src/web/auth.rs +++ b/src/web/auth.rs @@ -1,7 +1,12 @@ //! Types for parsing and authenticating HAWK headers. //! Matches the [Python logic](https://github.com/mozilla-services/tokenlib). //! We may want to extract this to its own repo/crate in due course. -#![cfg_attr(feature = "no_auth", allow(dead_code, unused_imports, unused_variables))] +#![cfg_attr( + feature = "no_auth", + allow(dead_code, unused_imports, unused_variables) +)] + +use std::convert::TryInto; use base64; use chrono::offset::Utc; @@ -95,8 +100,8 @@ impl HawkPayload { #[cfg(not(feature = "no_auth"))] { - let mut duration = Duration::weeks(52) - .to_std() + let mut duration: std::time::Duration = Duration::weeks(52) + .try_into() .map_err(|_| ApiErrorKind::Internal("Duration::weeks".to_owned()))?; if cfg!(test) { // test cases are valid until 3018. Add millenia as required. diff --git a/tools/spanner/purge_ttl/Cargo.toml b/tools/spanner/purge_ttl/Cargo.toml index 417783369f..fae06416e9 100644 --- a/tools/spanner/purge_ttl/Cargo.toml +++ b/tools/spanner/purge_ttl/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] googleapis-raw = { version = "0", path = "../../../vendor/mozilla-rust-sdk/googleapis-raw" } -grpcio = { version = "0.5.0-alpha.5" } +grpcio = { version = "0.5.0" } cadence = "0.19.1" log = "0.4.8" env_logger = "0.7.1" diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/Cargo.toml b/vendor/mozilla-rust-sdk/googleapis-raw/Cargo.toml index 6843caab35..cb8797a116 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/Cargo.toml +++ b/vendor/mozilla-rust-sdk/googleapis-raw/Cargo.toml @@ -6,13 +6,13 @@ edition = "2018" [dependencies] futures = "0.1.28" -grpcio = "0.5.0-alpha.1" -protobuf = "= 2.7.0" +grpcio = "0.5.0" +protobuf = "2.11.0" [dev-dependencies] -slog = "2.5.0" -slog-scope = "4.1.1" -slog-term = "2.4.1" -slog-stdlog = "3.0.2" -slog-async = "2.3.0" -log = "0.4.7" +slog = "2.5" +slog-scope = "4.3" +slog-term = "2.5" +slog-stdlog = "4.0" +slog-async = "2.5" +log = "0.4" diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/README.md b/vendor/mozilla-rust-sdk/googleapis-raw/README.md index c10ff7bad7..c218c18678 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/README.md +++ b/vendor/mozilla-rust-sdk/googleapis-raw/README.md @@ -46,13 +46,8 @@ Useful links for setting up specific Google services: ## Generating Rust bindings from `.proto` files -**NOTE:** You do not need to do this step. Rust bindings are already included in this repository. - -But if you still want to regenerate them from scratch, run: - -``` -./generate.sh -``` +**NOTE:** You may need to update these bindings after protobuf updates. +The process requires an update to the `protobuf-codegen` cargo plugin. This requires the installation of [protobuf](https://google.github.io/proto-lens/installing-protoc.html) library and [protoc-gen-rust](https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-codegen), a plugin @@ -62,9 +57,26 @@ Installation of the protoc-gen-rust plugin is done via `cargo`: ``` cargo install protobuf-codegen ``` - Make sure the `protoc-gen-rust` binary is available in your `$PATH` env variable. +Then: + +1) In the `/src` directory, remove all the `*.rs` that are not `mod.rs` [1] +2) Run the `./generate.sh` script + +ensure that a proper build works by running `cargo build`. + +_[1] The `generate.sh` script will NOT generate the required `mod.rs` files for the directories. In addition, the generated rust modules will look for several modules that are `super` to their package. `protoc` may not overwrite an existing, generated rust file which could lead to complications. It's easiest if you simily leave the `mod.rs` files in place and remove the other rust files, or copy the `mod.rs` files from a backup. Running a `cargo build` will definitely identify the modules that may be missing and that you'll have to add via a line like:_ + +``` +pub(crate) use crate::{ + empty, + iam::v1::{iam_policy, policy}, + longrunning::operations, +}; +``` +_(which was taken from `src/rpc/spanner/admin/instance/v1/mod.rs`)_ + ## Google Cloud Console diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/generate.sh b/vendor/mozilla-rust-sdk/googleapis-raw/generate.sh index 1d77ce62c2..bf981f2a60 100755 --- a/vendor/mozilla-rust-sdk/googleapis-raw/generate.sh +++ b/vendor/mozilla-rust-sdk/googleapis-raw/generate.sh @@ -1,5 +1,11 @@ #!/bin/bash +# *NOTE*: Make sure to update cargo plugins after protobuf updates +# cargo install grpcio-compiler +# cargo install protobuf-codegen +# May need to delete the ./src/*/[^(mod)].rs to force regeneration of files +# (deleting the mod.rs files will require adding `pub (crate)mod crate::*` +# cross referencing.) set -e cd "$(dirname "$0")" @@ -29,7 +35,7 @@ for proto in $proto_files; do $proto done -proto_dirs=" +old_proto_dirs=" bigtable/admin/cluster/v1 bigtable/admin/table/v1 bigtable/admin/v2 @@ -45,16 +51,32 @@ spanner/admin/instance/v1 spanner/v1 " +proto_dirs=" +iam/v1 +longrunning +rpc +spanner/admin/database/v1 +spanner/admin/instance/v1 +spanner/v1 +" +SRC_ROOT=$PWD + for dir in $proto_dirs; do - mkdir -p "$PWD/src/$dir" + mkdir -p "$SRC_ROOT/src/$dir" + echo "Processing: $dir..." for proto in `find $apis/google/$dir/*.proto`; do - echo "Processing: $proto" + echo "Processing: $proto ..." protoc \ - --rust_out="$PWD/src/$dir" \ - --grpc_out="$PWD/src/$dir" \ + --rust_out="$SRC_ROOT/src/$dir" \ + --grpc_out="$SRC_ROOT/src/$dir" \ --plugin=protoc-gen-grpc="`which grpc_rust_plugin`" \ - --proto_path="$apis" \ + --proto_path="$apis:grpc/third_party/upb:grpc/third_party/protobuf/src/:" \ $proto done done + +echo "Make sure you generate the mod.rs files!" + +# ls -1 --color=never . |grep -v mod |sed "s/\.rs//" |sed "s/^/pub mod /" | sed "s/$/;/" > mod.rs \; --print +# echo "pub(crate) use crate::empty;" >> */v1/mod.rs diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/mod.rs deleted file mode 100644 index a3a6d96c3f..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/mod.rs +++ /dev/null @@ -1 +0,0 @@ -pub mod v1; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_data.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_data.rs deleted file mode 100644 index 02b42a7700..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_data.rs +++ /dev/null @@ -1,855 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct Zone { - // message fields - pub name: ::std::string::String, - pub display_name: ::std::string::String, - pub status: Zone_Status, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Zone { - fn default() -> &'a Zone { - ::default_instance() - } -} - -impl Zone { - pub fn new() -> Zone { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string display_name = 2; - - - pub fn get_display_name(&self) -> &str { - &self.display_name - } - pub fn clear_display_name(&mut self) { - self.display_name.clear(); - } - - // Param is passed by value, moved - pub fn set_display_name(&mut self, v: ::std::string::String) { - self.display_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_display_name(&mut self) -> &mut ::std::string::String { - &mut self.display_name - } - - // Take field - pub fn take_display_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.display_name, ::std::string::String::new()) - } - - // .google.bigtable.admin.cluster.v1.Zone.Status status = 3; - - - pub fn get_status(&self) -> Zone_Status { - self.status - } - pub fn clear_status(&mut self) { - self.status = Zone_Status::UNKNOWN; - } - - // Param is passed by value, moved - pub fn set_status(&mut self, v: Zone_Status) { - self.status = v; - } -} - -impl ::protobuf::Message for Zone { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.display_name)?; - }, - 3 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.status, 3, &mut self.unknown_fields)? - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.display_name.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.display_name); - } - if self.status != Zone_Status::UNKNOWN { - my_size += ::protobuf::rt::enum_size(3, self.status); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.display_name.is_empty() { - os.write_string(2, &self.display_name)?; - } - if self.status != Zone_Status::UNKNOWN { - os.write_enum(3, self.status.value())?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Zone { - Zone::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Zone| { &m.name }, - |m: &mut Zone| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "display_name", - |m: &Zone| { &m.display_name }, - |m: &mut Zone| { &mut m.display_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "status", - |m: &Zone| { &m.status }, - |m: &mut Zone| { &mut m.status }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Zone", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Zone { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Zone, - }; - unsafe { - instance.get(Zone::new) - } - } -} - -impl ::protobuf::Clear for Zone { - fn clear(&mut self) { - self.name.clear(); - self.display_name.clear(); - self.status = Zone_Status::UNKNOWN; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Zone { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Zone { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum Zone_Status { - UNKNOWN = 0, - OK = 1, - PLANNED_MAINTENANCE = 2, - EMERGENCY_MAINENANCE = 3, -} - -impl ::protobuf::ProtobufEnum for Zone_Status { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(Zone_Status::UNKNOWN), - 1 => ::std::option::Option::Some(Zone_Status::OK), - 2 => ::std::option::Option::Some(Zone_Status::PLANNED_MAINTENANCE), - 3 => ::std::option::Option::Some(Zone_Status::EMERGENCY_MAINENANCE), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [Zone_Status] = &[ - Zone_Status::UNKNOWN, - Zone_Status::OK, - Zone_Status::PLANNED_MAINTENANCE, - Zone_Status::EMERGENCY_MAINENANCE, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Zone_Status", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for Zone_Status { -} - -impl ::std::default::Default for Zone_Status { - fn default() -> Self { - Zone_Status::UNKNOWN - } -} - -impl ::protobuf::reflect::ProtobufValue for Zone_Status { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Cluster { - // message fields - pub name: ::std::string::String, - pub current_operation: ::protobuf::SingularPtrField, - pub display_name: ::std::string::String, - pub serve_nodes: i32, - pub default_storage_type: StorageType, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Cluster { - fn default() -> &'a Cluster { - ::default_instance() - } -} - -impl Cluster { - pub fn new() -> Cluster { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // .google.longrunning.Operation current_operation = 3; - - - pub fn get_current_operation(&self) -> &super::operations::Operation { - self.current_operation.as_ref().unwrap_or_else(|| super::operations::Operation::default_instance()) - } - pub fn clear_current_operation(&mut self) { - self.current_operation.clear(); - } - - pub fn has_current_operation(&self) -> bool { - self.current_operation.is_some() - } - - // Param is passed by value, moved - pub fn set_current_operation(&mut self, v: super::operations::Operation) { - self.current_operation = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_current_operation(&mut self) -> &mut super::operations::Operation { - if self.current_operation.is_none() { - self.current_operation.set_default(); - } - self.current_operation.as_mut().unwrap() - } - - // Take field - pub fn take_current_operation(&mut self) -> super::operations::Operation { - self.current_operation.take().unwrap_or_else(|| super::operations::Operation::new()) - } - - // string display_name = 4; - - - pub fn get_display_name(&self) -> &str { - &self.display_name - } - pub fn clear_display_name(&mut self) { - self.display_name.clear(); - } - - // Param is passed by value, moved - pub fn set_display_name(&mut self, v: ::std::string::String) { - self.display_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_display_name(&mut self) -> &mut ::std::string::String { - &mut self.display_name - } - - // Take field - pub fn take_display_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.display_name, ::std::string::String::new()) - } - - // int32 serve_nodes = 5; - - - pub fn get_serve_nodes(&self) -> i32 { - self.serve_nodes - } - pub fn clear_serve_nodes(&mut self) { - self.serve_nodes = 0; - } - - // Param is passed by value, moved - pub fn set_serve_nodes(&mut self, v: i32) { - self.serve_nodes = v; - } - - // .google.bigtable.admin.cluster.v1.StorageType default_storage_type = 8; - - - pub fn get_default_storage_type(&self) -> StorageType { - self.default_storage_type - } - pub fn clear_default_storage_type(&mut self) { - self.default_storage_type = StorageType::STORAGE_UNSPECIFIED; - } - - // Param is passed by value, moved - pub fn set_default_storage_type(&mut self, v: StorageType) { - self.default_storage_type = v; - } -} - -impl ::protobuf::Message for Cluster { - fn is_initialized(&self) -> bool { - for v in &self.current_operation { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.current_operation)?; - }, - 4 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.display_name)?; - }, - 5 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.serve_nodes = tmp; - }, - 8 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.default_storage_type, 8, &mut self.unknown_fields)? - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if let Some(ref v) = self.current_operation.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if !self.display_name.is_empty() { - my_size += ::protobuf::rt::string_size(4, &self.display_name); - } - if self.serve_nodes != 0 { - my_size += ::protobuf::rt::value_size(5, self.serve_nodes, ::protobuf::wire_format::WireTypeVarint); - } - if self.default_storage_type != StorageType::STORAGE_UNSPECIFIED { - my_size += ::protobuf::rt::enum_size(8, self.default_storage_type); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if let Some(ref v) = self.current_operation.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if !self.display_name.is_empty() { - os.write_string(4, &self.display_name)?; - } - if self.serve_nodes != 0 { - os.write_int32(5, self.serve_nodes)?; - } - if self.default_storage_type != StorageType::STORAGE_UNSPECIFIED { - os.write_enum(8, self.default_storage_type.value())?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Cluster { - Cluster::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Cluster| { &m.name }, - |m: &mut Cluster| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "current_operation", - |m: &Cluster| { &m.current_operation }, - |m: &mut Cluster| { &mut m.current_operation }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "display_name", - |m: &Cluster| { &m.display_name }, - |m: &mut Cluster| { &mut m.display_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "serve_nodes", - |m: &Cluster| { &m.serve_nodes }, - |m: &mut Cluster| { &mut m.serve_nodes }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "default_storage_type", - |m: &Cluster| { &m.default_storage_type }, - |m: &mut Cluster| { &mut m.default_storage_type }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Cluster", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Cluster { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Cluster, - }; - unsafe { - instance.get(Cluster::new) - } - } -} - -impl ::protobuf::Clear for Cluster { - fn clear(&mut self) { - self.name.clear(); - self.current_operation.clear(); - self.display_name.clear(); - self.serve_nodes = 0; - self.default_storage_type = StorageType::STORAGE_UNSPECIFIED; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Cluster { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Cluster { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum StorageType { - STORAGE_UNSPECIFIED = 0, - STORAGE_SSD = 1, - STORAGE_HDD = 2, -} - -impl ::protobuf::ProtobufEnum for StorageType { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(StorageType::STORAGE_UNSPECIFIED), - 1 => ::std::option::Option::Some(StorageType::STORAGE_SSD), - 2 => ::std::option::Option::Some(StorageType::STORAGE_HDD), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [StorageType] = &[ - StorageType::STORAGE_UNSPECIFIED, - StorageType::STORAGE_SSD, - StorageType::STORAGE_HDD, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("StorageType", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for StorageType { -} - -impl ::std::default::Default for StorageType { - fn default() -> Self { - StorageType::STORAGE_UNSPECIFIED - } -} - -impl ::protobuf::reflect::ProtobufValue for StorageType { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n/zones/[a-z][-a-z0-9]*\n\n\r\n\x05\x04\0\x02\0\x04\x12\x040\ - \x02,\x03\n\x0c\n\x05\x04\0\x02\0\x05\x12\x030\x02\x08\n\x0c\n\x05\x04\0\ - \x02\0\x01\x12\x030\t\r\n\x0c\n\x05\x04\0\x02\0\x03\x12\x030\x10\x11\n:\ - \n\x04\x04\0\x02\x01\x12\x033\x02\x1a\x1a-\x20The\x20name\x20of\x20this\ - \x20zone\x20as\x20it\x20appears\x20in\x20UIs.\n\n\r\n\x05\x04\0\x02\x01\ - \x04\x12\x043\x020\x12\n\x0c\n\x05\x04\0\x02\x01\x05\x12\x033\x02\x08\n\ - \x0c\n\x05\x04\0\x02\x01\x01\x12\x033\t\x15\n\x0c\n\x05\x04\0\x02\x01\ - \x03\x12\x033\x18\x19\n.\n\x04\x04\0\x02\x02\x12\x036\x02\x14\x1a!\x20Th\ - e\x20current\x20state\x20of\x20this\x20zone.\n\n\r\n\x05\x04\0\x02\x02\ - \x04\x12\x046\x023\x1a\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x036\x02\x08\n\ - \x0c\n\x05\x04\0\x02\x02\x01\x12\x036\t\x0f\n\x0c\n\x05\x04\0\x02\x02\ - \x03\x12\x036\x12\x13\nX\n\x02\x04\x01\x12\x04:\0Q\x01\x1aL\x20An\x20iso\ - lated\x20set\x20of\x20Cloud\x20BigTable\x20resources\x20on\x20which\x20t\ - ables\x20can\x20be\x20hosted.\n\n\n\n\x03\x04\x01\x01\x12\x03:\x08\x0f\n\ - \xe0\x01\n\x04\x04\x01\x02\0\x12\x03?\x02\x12\x1a\xd2\x01\x20A\x20perman\ - ent\x20unique\x20identifier\x20for\x20the\x20cluster.\x20For\x20technica\ - l\x20reasons,\x20the\n\x20zone\x20in\x20which\x20the\x20cluster\x20resid\ - es\x20is\x20included\x20here.\n\x20Values\x20are\x20of\x20the\x20form\n\ - \x20projects//zones//clusters/[a-z][-a-z0-9]*\n\n\r\n\x05\ - \x04\x01\x02\0\x04\x12\x04?\x02:\x11\n\x0c\n\x05\x04\x01\x02\0\x05\x12\ - \x03?\x02\x08\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03?\t\r\n\x0c\n\x05\x04\ - \x01\x02\0\x03\x12\x03?\x10\x11\n\xf5\x01\n\x04\x04\x01\x02\x01\x12\x03E\ - \x025\x1a\xe7\x01\x20The\x20operation\x20currently\x20running\x20on\x20t\ - he\x20cluster,\x20if\x20any.\n\x20This\x20cannot\x20be\x20set\x20directl\ - y,\x20only\x20through\x20CreateCluster,\x20UpdateCluster,\n\x20or\x20Und\ - eleteCluster.\x20Calls\x20to\x20these\x20methods\x20will\x20be\x20reject\ - ed\x20if\n\x20\"current_operation\"\x20is\x20already\x20set.\n\n\r\n\x05\ - \x04\x01\x02\x01\x04\x12\x04E\x02?\x12\n\x0c\n\x05\x04\x01\x02\x01\x06\ - \x12\x03E\x02\x1e\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x03E\x1f0\n\x0c\n\ - \x05\x04\x01\x02\x01\x03\x12\x03E34\nd\n\x04\x04\x01\x02\x02\x12\x03I\ - \x02\x1a\x1aW\x20The\x20descriptive\x20name\x20for\x20this\x20cluster\ - \x20as\x20it\x20appears\x20in\x20UIs.\n\x20Must\x20be\x20unique\x20per\ - \x20zone.\n\n\r\n\x05\x04\x01\x02\x02\x04\x12\x04I\x02E5\n\x0c\n\x05\x04\ - \x01\x02\x02\x05\x12\x03I\x02\x08\n\x0c\n\x05\x04\x01\x02\x02\x01\x12\ - \x03I\t\x15\n\x0c\n\x05\x04\x01\x02\x02\x03\x12\x03I\x18\x19\nC\n\x04\ - \x04\x01\x02\x03\x12\x03L\x02\x18\x1a6\x20The\x20number\x20of\x20serve\ - \x20nodes\x20allocated\x20to\x20this\x20cluster.\n\n\r\n\x05\x04\x01\x02\ - \x03\x04\x12\x04L\x02I\x1a\n\x0c\n\x05\x04\x01\x02\x03\x05\x12\x03L\x02\ - \x07\n\x0c\n\x05\x04\x01\x02\x03\x01\x12\x03L\x08\x13\n\x0c\n\x05\x04\ - \x01\x02\x03\x03\x12\x03L\x16\x17\n\x9b\x01\n\x04\x04\x01\x02\x04\x12\ - \x03P\x02'\x1a\x8d\x01\x20What\x20storage\x20type\x20to\x20use\x20for\ - \x20tables\x20in\x20this\x20cluster.\x20Only\x20configurable\x20at\n\x20\ - cluster\x20creation\x20time.\x20If\x20unspecified,\x20STORAGE_SSD\x20wil\ - l\x20be\x20used.\n\n\r\n\x05\x04\x01\x02\x04\x04\x12\x04P\x02L\x18\n\x0c\ - \n\x05\x04\x01\x02\x04\x06\x12\x03P\x02\r\n\x0c\n\x05\x04\x01\x02\x04\ - \x01\x12\x03P\x0e\"\n\x0c\n\x05\x04\x01\x02\x04\x03\x12\x03P%&\n\n\n\x02\ - \x05\0\x12\x04S\0]\x01\n\n\n\x03\x05\0\x01\x12\x03S\x05\x10\n4\n\x04\x05\ - \0\x02\0\x12\x03U\x02\x1a\x1a'\x20The\x20storage\x20type\x20used\x20is\ - \x20unspecified.\n\n\x0c\n\x05\x05\0\x02\0\x01\x12\x03U\x02\x15\n\x0c\n\ - \x05\x05\0\x02\0\x02\x12\x03U\x18\x19\nR\n\x04\x05\0\x02\x01\x12\x03X\ - \x02\x12\x1aE\x20Data\x20will\x20be\x20stored\x20in\x20SSD,\x20providing\ - \x20low\x20and\x20consistent\x20latencies.\n\n\x0c\n\x05\x05\0\x02\x01\ - \x01\x12\x03X\x02\r\n\x0c\n\x05\x05\0\x02\x01\x02\x12\x03X\x10\x11\nZ\n\ - \x04\x05\0\x02\x02\x12\x03\\\x02\x12\x1aM\x20Data\x20will\x20be\x20store\ - d\x20in\x20HDD,\x20providing\x20high\x20and\x20less\x20predictable\n\x20\ - latencies.\n\n\x0c\n\x05\x05\0\x02\x02\x01\x12\x03\\\x02\r\n\x0c\n\x05\ - \x05\0\x02\x02\x02\x12\x03\\\x10\x11b\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service.rs deleted file mode 100644 index e9acc35016..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service.rs +++ /dev/null @@ -1,212 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n?google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto\x12\ - \x20google.bigtable.admin.cluster.v1\x1a\x1cgoogle/api/annotations.proto\ - \x1a = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service_grpc.rs deleted file mode 100644 index 0e4580559f..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service_grpc.rs +++ /dev/null @@ -1,239 +0,0 @@ -// This file is generated. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] - -const METHOD_BIGTABLE_CLUSTER_SERVICE_LIST_ZONES: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListZones", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_CLUSTER_SERVICE_GET_CLUSTER: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.cluster.v1.BigtableClusterService/GetCluster", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_CLUSTER_SERVICE_LIST_CLUSTERS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListClusters", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_CLUSTER_SERVICE_CREATE_CLUSTER: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.cluster.v1.BigtableClusterService/CreateCluster", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_CLUSTER_SERVICE_UPDATE_CLUSTER: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.cluster.v1.BigtableClusterService/UpdateCluster", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_CLUSTER_SERVICE_DELETE_CLUSTER: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.cluster.v1.BigtableClusterService/DeleteCluster", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_CLUSTER_SERVICE_UNDELETE_CLUSTER: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.cluster.v1.BigtableClusterService/UndeleteCluster", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -#[derive(Clone)] -pub struct BigtableClusterServiceClient { - client: ::grpcio::Client, -} - -impl BigtableClusterServiceClient { - pub fn new(channel: ::grpcio::Channel) -> Self { - BigtableClusterServiceClient { - client: ::grpcio::Client::new(channel), - } - } - - pub fn list_zones_opt(&self, req: &super::bigtable_cluster_service_messages::ListZonesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_CLUSTER_SERVICE_LIST_ZONES, req, opt) - } - - pub fn list_zones(&self, req: &super::bigtable_cluster_service_messages::ListZonesRequest) -> ::grpcio::Result { - self.list_zones_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_zones_async_opt(&self, req: &super::bigtable_cluster_service_messages::ListZonesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_CLUSTER_SERVICE_LIST_ZONES, req, opt) - } - - pub fn list_zones_async(&self, req: &super::bigtable_cluster_service_messages::ListZonesRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_zones_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_cluster_opt(&self, req: &super::bigtable_cluster_service_messages::GetClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_CLUSTER_SERVICE_GET_CLUSTER, req, opt) - } - - pub fn get_cluster(&self, req: &super::bigtable_cluster_service_messages::GetClusterRequest) -> ::grpcio::Result { - self.get_cluster_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_cluster_async_opt(&self, req: &super::bigtable_cluster_service_messages::GetClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_CLUSTER_SERVICE_GET_CLUSTER, req, opt) - } - - pub fn get_cluster_async(&self, req: &super::bigtable_cluster_service_messages::GetClusterRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_cluster_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_clusters_opt(&self, req: &super::bigtable_cluster_service_messages::ListClustersRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_CLUSTER_SERVICE_LIST_CLUSTERS, req, opt) - } - - pub fn list_clusters(&self, req: &super::bigtable_cluster_service_messages::ListClustersRequest) -> ::grpcio::Result { - self.list_clusters_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_clusters_async_opt(&self, req: &super::bigtable_cluster_service_messages::ListClustersRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_CLUSTER_SERVICE_LIST_CLUSTERS, req, opt) - } - - pub fn list_clusters_async(&self, req: &super::bigtable_cluster_service_messages::ListClustersRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_clusters_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_cluster_opt(&self, req: &super::bigtable_cluster_service_messages::CreateClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_CLUSTER_SERVICE_CREATE_CLUSTER, req, opt) - } - - pub fn create_cluster(&self, req: &super::bigtable_cluster_service_messages::CreateClusterRequest) -> ::grpcio::Result { - self.create_cluster_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_cluster_async_opt(&self, req: &super::bigtable_cluster_service_messages::CreateClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_CLUSTER_SERVICE_CREATE_CLUSTER, req, opt) - } - - pub fn create_cluster_async(&self, req: &super::bigtable_cluster_service_messages::CreateClusterRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_cluster_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_cluster_opt(&self, req: &super::bigtable_cluster_data::Cluster, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_CLUSTER_SERVICE_UPDATE_CLUSTER, req, opt) - } - - pub fn update_cluster(&self, req: &super::bigtable_cluster_data::Cluster) -> ::grpcio::Result { - self.update_cluster_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_cluster_async_opt(&self, req: &super::bigtable_cluster_data::Cluster, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_CLUSTER_SERVICE_UPDATE_CLUSTER, req, opt) - } - - pub fn update_cluster_async(&self, req: &super::bigtable_cluster_data::Cluster) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.update_cluster_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_cluster_opt(&self, req: &super::bigtable_cluster_service_messages::DeleteClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_CLUSTER_SERVICE_DELETE_CLUSTER, req, opt) - } - - pub fn delete_cluster(&self, req: &super::bigtable_cluster_service_messages::DeleteClusterRequest) -> ::grpcio::Result { - self.delete_cluster_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_cluster_async_opt(&self, req: &super::bigtable_cluster_service_messages::DeleteClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_CLUSTER_SERVICE_DELETE_CLUSTER, req, opt) - } - - pub fn delete_cluster_async(&self, req: &super::bigtable_cluster_service_messages::DeleteClusterRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_cluster_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn undelete_cluster_opt(&self, req: &super::bigtable_cluster_service_messages::UndeleteClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_CLUSTER_SERVICE_UNDELETE_CLUSTER, req, opt) - } - - pub fn undelete_cluster(&self, req: &super::bigtable_cluster_service_messages::UndeleteClusterRequest) -> ::grpcio::Result { - self.undelete_cluster_opt(req, ::grpcio::CallOption::default()) - } - - pub fn undelete_cluster_async_opt(&self, req: &super::bigtable_cluster_service_messages::UndeleteClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_CLUSTER_SERVICE_UNDELETE_CLUSTER, req, opt) - } - - pub fn undelete_cluster_async(&self, req: &super::bigtable_cluster_service_messages::UndeleteClusterRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.undelete_cluster_async_opt(req, ::grpcio::CallOption::default()) - } - pub fn spawn(&self, f: F) where F: ::futures::Future + Send + 'static { - self.client.spawn(f) - } -} - -pub trait BigtableClusterService { - fn list_zones(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_cluster_service_messages::ListZonesRequest, sink: ::grpcio::UnarySink); - fn get_cluster(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_cluster_service_messages::GetClusterRequest, sink: ::grpcio::UnarySink); - fn list_clusters(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_cluster_service_messages::ListClustersRequest, sink: ::grpcio::UnarySink); - fn create_cluster(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_cluster_service_messages::CreateClusterRequest, sink: ::grpcio::UnarySink); - fn update_cluster(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_cluster_data::Cluster, sink: ::grpcio::UnarySink); - fn delete_cluster(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_cluster_service_messages::DeleteClusterRequest, sink: ::grpcio::UnarySink); - fn undelete_cluster(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_cluster_service_messages::UndeleteClusterRequest, sink: ::grpcio::UnarySink); -} - -pub fn create_bigtable_cluster_service(s: S) -> ::grpcio::Service { - let mut builder = ::grpcio::ServiceBuilder::new(); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_CLUSTER_SERVICE_LIST_ZONES, move |ctx, req, resp| { - instance.list_zones(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_CLUSTER_SERVICE_GET_CLUSTER, move |ctx, req, resp| { - instance.get_cluster(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_CLUSTER_SERVICE_LIST_CLUSTERS, move |ctx, req, resp| { - instance.list_clusters(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_CLUSTER_SERVICE_CREATE_CLUSTER, move |ctx, req, resp| { - instance.create_cluster(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_CLUSTER_SERVICE_UPDATE_CLUSTER, move |ctx, req, resp| { - instance.update_cluster(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_CLUSTER_SERVICE_DELETE_CLUSTER, move |ctx, req, resp| { - instance.delete_cluster(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_CLUSTER_SERVICE_UNDELETE_CLUSTER, move |ctx, req, resp| { - instance.undelete_cluster(ctx, req, resp) - }); - builder.build() -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.rs deleted file mode 100644 index 2b870d441f..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.rs +++ /dev/null @@ -1,2765 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct ListZonesRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListZonesRequest { - fn default() -> &'a ListZonesRequest { - ::default_instance() - } -} - -impl ListZonesRequest { - pub fn new() -> ListZonesRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListZonesRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListZonesRequest { - ListZonesRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &ListZonesRequest| { &m.name }, - |m: &mut ListZonesRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListZonesRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListZonesRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListZonesRequest, - }; - unsafe { - instance.get(ListZonesRequest::new) - } - } -} - -impl ::protobuf::Clear for ListZonesRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListZonesRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListZonesRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListZonesResponse { - // message fields - pub zones: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListZonesResponse { - fn default() -> &'a ListZonesResponse { - ::default_instance() - } -} - -impl ListZonesResponse { - pub fn new() -> ListZonesResponse { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.cluster.v1.Zone zones = 1; - - - pub fn get_zones(&self) -> &[super::bigtable_cluster_data::Zone] { - &self.zones - } - pub fn clear_zones(&mut self) { - self.zones.clear(); - } - - // Param is passed by value, moved - pub fn set_zones(&mut self, v: ::protobuf::RepeatedField) { - self.zones = v; - } - - // Mutable pointer to the field. - pub fn mut_zones(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.zones - } - - // Take field - pub fn take_zones(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.zones, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for ListZonesResponse { - fn is_initialized(&self) -> bool { - for v in &self.zones { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.zones)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.zones { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.zones { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListZonesResponse { - ListZonesResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "zones", - |m: &ListZonesResponse| { &m.zones }, - |m: &mut ListZonesResponse| { &mut m.zones }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListZonesResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListZonesResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListZonesResponse, - }; - unsafe { - instance.get(ListZonesResponse::new) - } - } -} - -impl ::protobuf::Clear for ListZonesResponse { - fn clear(&mut self) { - self.zones.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListZonesResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListZonesResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetClusterRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetClusterRequest { - fn default() -> &'a GetClusterRequest { - ::default_instance() - } -} - -impl GetClusterRequest { - pub fn new() -> GetClusterRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetClusterRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetClusterRequest { - GetClusterRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &GetClusterRequest| { &m.name }, - |m: &mut GetClusterRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetClusterRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetClusterRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetClusterRequest, - }; - unsafe { - instance.get(GetClusterRequest::new) - } - } -} - -impl ::protobuf::Clear for GetClusterRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetClusterRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetClusterRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListClustersRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListClustersRequest { - fn default() -> &'a ListClustersRequest { - ::default_instance() - } -} - -impl ListClustersRequest { - pub fn new() -> ListClustersRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListClustersRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListClustersRequest { - ListClustersRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &ListClustersRequest| { &m.name }, - |m: &mut ListClustersRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListClustersRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListClustersRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListClustersRequest, - }; - unsafe { - instance.get(ListClustersRequest::new) - } - } -} - -impl ::protobuf::Clear for ListClustersRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListClustersRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListClustersRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListClustersResponse { - // message fields - pub clusters: ::protobuf::RepeatedField, - pub failed_zones: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListClustersResponse { - fn default() -> &'a ListClustersResponse { - ::default_instance() - } -} - -impl ListClustersResponse { - pub fn new() -> ListClustersResponse { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.cluster.v1.Cluster clusters = 1; - - - pub fn get_clusters(&self) -> &[super::bigtable_cluster_data::Cluster] { - &self.clusters - } - pub fn clear_clusters(&mut self) { - self.clusters.clear(); - } - - // Param is passed by value, moved - pub fn set_clusters(&mut self, v: ::protobuf::RepeatedField) { - self.clusters = v; - } - - // Mutable pointer to the field. - pub fn mut_clusters(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.clusters - } - - // Take field - pub fn take_clusters(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.clusters, ::protobuf::RepeatedField::new()) - } - - // repeated .google.bigtable.admin.cluster.v1.Zone failed_zones = 2; - - - pub fn get_failed_zones(&self) -> &[super::bigtable_cluster_data::Zone] { - &self.failed_zones - } - pub fn clear_failed_zones(&mut self) { - self.failed_zones.clear(); - } - - // Param is passed by value, moved - pub fn set_failed_zones(&mut self, v: ::protobuf::RepeatedField) { - self.failed_zones = v; - } - - // Mutable pointer to the field. - pub fn mut_failed_zones(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.failed_zones - } - - // Take field - pub fn take_failed_zones(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.failed_zones, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for ListClustersResponse { - fn is_initialized(&self) -> bool { - for v in &self.clusters { - if !v.is_initialized() { - return false; - } - }; - for v in &self.failed_zones { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.clusters)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.failed_zones)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.clusters { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - for value in &self.failed_zones { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.clusters { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - for v in &self.failed_zones { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListClustersResponse { - ListClustersResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "clusters", - |m: &ListClustersResponse| { &m.clusters }, - |m: &mut ListClustersResponse| { &mut m.clusters }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "failed_zones", - |m: &ListClustersResponse| { &m.failed_zones }, - |m: &mut ListClustersResponse| { &mut m.failed_zones }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListClustersResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListClustersResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListClustersResponse, - }; - unsafe { - instance.get(ListClustersResponse::new) - } - } -} - -impl ::protobuf::Clear for ListClustersResponse { - fn clear(&mut self) { - self.clusters.clear(); - self.failed_zones.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListClustersResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListClustersResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateClusterRequest { - // message fields - pub name: ::std::string::String, - pub cluster_id: ::std::string::String, - pub cluster: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateClusterRequest { - fn default() -> &'a CreateClusterRequest { - ::default_instance() - } -} - -impl CreateClusterRequest { - pub fn new() -> CreateClusterRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string cluster_id = 2; - - - pub fn get_cluster_id(&self) -> &str { - &self.cluster_id - } - pub fn clear_cluster_id(&mut self) { - self.cluster_id.clear(); - } - - // Param is passed by value, moved - pub fn set_cluster_id(&mut self, v: ::std::string::String) { - self.cluster_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_cluster_id(&mut self) -> &mut ::std::string::String { - &mut self.cluster_id - } - - // Take field - pub fn take_cluster_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.cluster_id, ::std::string::String::new()) - } - - // .google.bigtable.admin.cluster.v1.Cluster cluster = 3; - - - pub fn get_cluster(&self) -> &super::bigtable_cluster_data::Cluster { - self.cluster.as_ref().unwrap_or_else(|| super::bigtable_cluster_data::Cluster::default_instance()) - } - pub fn clear_cluster(&mut self) { - self.cluster.clear(); - } - - pub fn has_cluster(&self) -> bool { - self.cluster.is_some() - } - - // Param is passed by value, moved - pub fn set_cluster(&mut self, v: super::bigtable_cluster_data::Cluster) { - self.cluster = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_cluster(&mut self) -> &mut super::bigtable_cluster_data::Cluster { - if self.cluster.is_none() { - self.cluster.set_default(); - } - self.cluster.as_mut().unwrap() - } - - // Take field - pub fn take_cluster(&mut self) -> super::bigtable_cluster_data::Cluster { - self.cluster.take().unwrap_or_else(|| super::bigtable_cluster_data::Cluster::new()) - } -} - -impl ::protobuf::Message for CreateClusterRequest { - fn is_initialized(&self) -> bool { - for v in &self.cluster { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.cluster_id)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.cluster)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.cluster_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.cluster_id); - } - if let Some(ref v) = self.cluster.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.cluster_id.is_empty() { - os.write_string(2, &self.cluster_id)?; - } - if let Some(ref v) = self.cluster.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateClusterRequest { - CreateClusterRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &CreateClusterRequest| { &m.name }, - |m: &mut CreateClusterRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "cluster_id", - |m: &CreateClusterRequest| { &m.cluster_id }, - |m: &mut CreateClusterRequest| { &mut m.cluster_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "cluster", - |m: &CreateClusterRequest| { &m.cluster }, - |m: &mut CreateClusterRequest| { &mut m.cluster }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateClusterRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateClusterRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateClusterRequest, - }; - unsafe { - instance.get(CreateClusterRequest::new) - } - } -} - -impl ::protobuf::Clear for CreateClusterRequest { - fn clear(&mut self) { - self.name.clear(); - self.cluster_id.clear(); - self.cluster.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateClusterRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateClusterRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateClusterMetadata { - // message fields - pub original_request: ::protobuf::SingularPtrField, - pub request_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub finish_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateClusterMetadata { - fn default() -> &'a CreateClusterMetadata { - ::default_instance() - } -} - -impl CreateClusterMetadata { - pub fn new() -> CreateClusterMetadata { - ::std::default::Default::default() - } - - // .google.bigtable.admin.cluster.v1.CreateClusterRequest original_request = 1; - - - pub fn get_original_request(&self) -> &CreateClusterRequest { - self.original_request.as_ref().unwrap_or_else(|| CreateClusterRequest::default_instance()) - } - pub fn clear_original_request(&mut self) { - self.original_request.clear(); - } - - pub fn has_original_request(&self) -> bool { - self.original_request.is_some() - } - - // Param is passed by value, moved - pub fn set_original_request(&mut self, v: CreateClusterRequest) { - self.original_request = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_original_request(&mut self) -> &mut CreateClusterRequest { - if self.original_request.is_none() { - self.original_request.set_default(); - } - self.original_request.as_mut().unwrap() - } - - // Take field - pub fn take_original_request(&mut self) -> CreateClusterRequest { - self.original_request.take().unwrap_or_else(|| CreateClusterRequest::new()) - } - - // .google.protobuf.Timestamp request_time = 2; - - - pub fn get_request_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.request_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_request_time(&mut self) { - self.request_time.clear(); - } - - pub fn has_request_time(&self) -> bool { - self.request_time.is_some() - } - - // Param is passed by value, moved - pub fn set_request_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.request_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_request_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.request_time.is_none() { - self.request_time.set_default(); - } - self.request_time.as_mut().unwrap() - } - - // Take field - pub fn take_request_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.request_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp finish_time = 3; - - - pub fn get_finish_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.finish_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_finish_time(&mut self) { - self.finish_time.clear(); - } - - pub fn has_finish_time(&self) -> bool { - self.finish_time.is_some() - } - - // Param is passed by value, moved - pub fn set_finish_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.finish_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_finish_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.finish_time.is_none() { - self.finish_time.set_default(); - } - self.finish_time.as_mut().unwrap() - } - - // Take field - pub fn take_finish_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.finish_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } -} - -impl ::protobuf::Message for CreateClusterMetadata { - fn is_initialized(&self) -> bool { - for v in &self.original_request { - if !v.is_initialized() { - return false; - } - }; - for v in &self.request_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.finish_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.original_request)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.request_time)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.finish_time)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.original_request.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.request_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.finish_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.original_request.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.request_time.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.finish_time.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateClusterMetadata { - CreateClusterMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "original_request", - |m: &CreateClusterMetadata| { &m.original_request }, - |m: &mut CreateClusterMetadata| { &mut m.original_request }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "request_time", - |m: &CreateClusterMetadata| { &m.request_time }, - |m: &mut CreateClusterMetadata| { &mut m.request_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "finish_time", - |m: &CreateClusterMetadata| { &m.finish_time }, - |m: &mut CreateClusterMetadata| { &mut m.finish_time }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateClusterMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateClusterMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateClusterMetadata, - }; - unsafe { - instance.get(CreateClusterMetadata::new) - } - } -} - -impl ::protobuf::Clear for CreateClusterMetadata { - fn clear(&mut self) { - self.original_request.clear(); - self.request_time.clear(); - self.finish_time.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateClusterMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateClusterMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct UpdateClusterMetadata { - // message fields - pub original_request: ::protobuf::SingularPtrField, - pub request_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub cancel_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub finish_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a UpdateClusterMetadata { - fn default() -> &'a UpdateClusterMetadata { - ::default_instance() - } -} - -impl UpdateClusterMetadata { - pub fn new() -> UpdateClusterMetadata { - ::std::default::Default::default() - } - - // .google.bigtable.admin.cluster.v1.Cluster original_request = 1; - - - pub fn get_original_request(&self) -> &super::bigtable_cluster_data::Cluster { - self.original_request.as_ref().unwrap_or_else(|| super::bigtable_cluster_data::Cluster::default_instance()) - } - pub fn clear_original_request(&mut self) { - self.original_request.clear(); - } - - pub fn has_original_request(&self) -> bool { - self.original_request.is_some() - } - - // Param is passed by value, moved - pub fn set_original_request(&mut self, v: super::bigtable_cluster_data::Cluster) { - self.original_request = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_original_request(&mut self) -> &mut super::bigtable_cluster_data::Cluster { - if self.original_request.is_none() { - self.original_request.set_default(); - } - self.original_request.as_mut().unwrap() - } - - // Take field - pub fn take_original_request(&mut self) -> super::bigtable_cluster_data::Cluster { - self.original_request.take().unwrap_or_else(|| super::bigtable_cluster_data::Cluster::new()) - } - - // .google.protobuf.Timestamp request_time = 2; - - - pub fn get_request_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.request_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_request_time(&mut self) { - self.request_time.clear(); - } - - pub fn has_request_time(&self) -> bool { - self.request_time.is_some() - } - - // Param is passed by value, moved - pub fn set_request_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.request_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_request_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.request_time.is_none() { - self.request_time.set_default(); - } - self.request_time.as_mut().unwrap() - } - - // Take field - pub fn take_request_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.request_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp cancel_time = 3; - - - pub fn get_cancel_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.cancel_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_cancel_time(&mut self) { - self.cancel_time.clear(); - } - - pub fn has_cancel_time(&self) -> bool { - self.cancel_time.is_some() - } - - // Param is passed by value, moved - pub fn set_cancel_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.cancel_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_cancel_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.cancel_time.is_none() { - self.cancel_time.set_default(); - } - self.cancel_time.as_mut().unwrap() - } - - // Take field - pub fn take_cancel_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.cancel_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp finish_time = 4; - - - pub fn get_finish_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.finish_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_finish_time(&mut self) { - self.finish_time.clear(); - } - - pub fn has_finish_time(&self) -> bool { - self.finish_time.is_some() - } - - // Param is passed by value, moved - pub fn set_finish_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.finish_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_finish_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.finish_time.is_none() { - self.finish_time.set_default(); - } - self.finish_time.as_mut().unwrap() - } - - // Take field - pub fn take_finish_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.finish_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } -} - -impl ::protobuf::Message for UpdateClusterMetadata { - fn is_initialized(&self) -> bool { - for v in &self.original_request { - if !v.is_initialized() { - return false; - } - }; - for v in &self.request_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.cancel_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.finish_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.original_request)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.request_time)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.cancel_time)?; - }, - 4 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.finish_time)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.original_request.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.request_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.cancel_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.finish_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.original_request.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.request_time.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.cancel_time.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.finish_time.as_ref() { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> UpdateClusterMetadata { - UpdateClusterMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "original_request", - |m: &UpdateClusterMetadata| { &m.original_request }, - |m: &mut UpdateClusterMetadata| { &mut m.original_request }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "request_time", - |m: &UpdateClusterMetadata| { &m.request_time }, - |m: &mut UpdateClusterMetadata| { &mut m.request_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "cancel_time", - |m: &UpdateClusterMetadata| { &m.cancel_time }, - |m: &mut UpdateClusterMetadata| { &mut m.cancel_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "finish_time", - |m: &UpdateClusterMetadata| { &m.finish_time }, - |m: &mut UpdateClusterMetadata| { &mut m.finish_time }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "UpdateClusterMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static UpdateClusterMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateClusterMetadata, - }; - unsafe { - instance.get(UpdateClusterMetadata::new) - } - } -} - -impl ::protobuf::Clear for UpdateClusterMetadata { - fn clear(&mut self) { - self.original_request.clear(); - self.request_time.clear(); - self.cancel_time.clear(); - self.finish_time.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for UpdateClusterMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for UpdateClusterMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteClusterRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteClusterRequest { - fn default() -> &'a DeleteClusterRequest { - ::default_instance() - } -} - -impl DeleteClusterRequest { - pub fn new() -> DeleteClusterRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteClusterRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteClusterRequest { - DeleteClusterRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &DeleteClusterRequest| { &m.name }, - |m: &mut DeleteClusterRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteClusterRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteClusterRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteClusterRequest, - }; - unsafe { - instance.get(DeleteClusterRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteClusterRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteClusterRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteClusterRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct UndeleteClusterRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a UndeleteClusterRequest { - fn default() -> &'a UndeleteClusterRequest { - ::default_instance() - } -} - -impl UndeleteClusterRequest { - pub fn new() -> UndeleteClusterRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for UndeleteClusterRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> UndeleteClusterRequest { - UndeleteClusterRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &UndeleteClusterRequest| { &m.name }, - |m: &mut UndeleteClusterRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "UndeleteClusterRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static UndeleteClusterRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UndeleteClusterRequest, - }; - unsafe { - instance.get(UndeleteClusterRequest::new) - } - } -} - -impl ::protobuf::Clear for UndeleteClusterRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for UndeleteClusterRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for UndeleteClusterRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct UndeleteClusterMetadata { - // message fields - pub request_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub finish_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a UndeleteClusterMetadata { - fn default() -> &'a UndeleteClusterMetadata { - ::default_instance() - } -} - -impl UndeleteClusterMetadata { - pub fn new() -> UndeleteClusterMetadata { - ::std::default::Default::default() - } - - // .google.protobuf.Timestamp request_time = 1; - - - pub fn get_request_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.request_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_request_time(&mut self) { - self.request_time.clear(); - } - - pub fn has_request_time(&self) -> bool { - self.request_time.is_some() - } - - // Param is passed by value, moved - pub fn set_request_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.request_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_request_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.request_time.is_none() { - self.request_time.set_default(); - } - self.request_time.as_mut().unwrap() - } - - // Take field - pub fn take_request_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.request_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp finish_time = 2; - - - pub fn get_finish_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.finish_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_finish_time(&mut self) { - self.finish_time.clear(); - } - - pub fn has_finish_time(&self) -> bool { - self.finish_time.is_some() - } - - // Param is passed by value, moved - pub fn set_finish_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.finish_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_finish_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.finish_time.is_none() { - self.finish_time.set_default(); - } - self.finish_time.as_mut().unwrap() - } - - // Take field - pub fn take_finish_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.finish_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } -} - -impl ::protobuf::Message for UndeleteClusterMetadata { - fn is_initialized(&self) -> bool { - for v in &self.request_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.finish_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.request_time)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.finish_time)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.request_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.finish_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.request_time.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.finish_time.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> UndeleteClusterMetadata { - UndeleteClusterMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "request_time", - |m: &UndeleteClusterMetadata| { &m.request_time }, - |m: &mut UndeleteClusterMetadata| { &mut m.request_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "finish_time", - |m: &UndeleteClusterMetadata| { &m.finish_time }, - |m: &mut UndeleteClusterMetadata| { &mut m.finish_time }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "UndeleteClusterMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static UndeleteClusterMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UndeleteClusterMetadata, - }; - unsafe { - instance.get(UndeleteClusterMetadata::new) - } - } -} - -impl ::protobuf::Clear for UndeleteClusterMetadata { - fn clear(&mut self) { - self.request_time.clear(); - self.finish_time.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for UndeleteClusterMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for UndeleteClusterMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct V2OperationMetadata { - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a V2OperationMetadata { - fn default() -> &'a V2OperationMetadata { - ::default_instance() - } -} - -impl V2OperationMetadata { - pub fn new() -> V2OperationMetadata { - ::std::default::Default::default() - } -} - -impl ::protobuf::Message for V2OperationMetadata { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> V2OperationMetadata { - V2OperationMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let fields = ::std::vec::Vec::new(); - ::protobuf::reflect::MessageDescriptor::new::( - "V2OperationMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static V2OperationMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const V2OperationMetadata, - }; - unsafe { - instance.get(V2OperationMetadata::new) - } - } -} - -impl ::protobuf::Clear for V2OperationMetadata { - fn clear(&mut self) { - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for V2OperationMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for V2OperationMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \nHgoogle/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.pr\ - oto\x12\x20google.bigtable.admin.cluster.v1\x1a\n\n\r\n\ - \x05\x04\0\x02\0\x04\x12\x04\x20\x02\x1c\x1a\n\x0c\n\x05\x04\0\x02\0\x05\ - \x12\x03\x20\x02\x08\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03\x20\t\r\n\x0c\n\ - \x05\x04\0\x02\0\x03\x12\x03\x20\x10\x11\nD\n\x02\x04\x01\x12\x04$\0'\ - \x01\x1a8\x20Response\x20message\x20for\x20BigtableClusterService.ListZo\ - nes.\n\n\n\n\x03\x04\x01\x01\x12\x03$\x08\x19\n+\n\x04\x04\x01\x02\0\x12\ - \x03&\x02\x1a\x1a\x1e\x20The\x20list\x20of\x20requested\x20zones.\n\n\ - \x0c\n\x05\x04\x01\x02\0\x04\x12\x03&\x02\n\n\x0c\n\x05\x04\x01\x02\0\ - \x06\x12\x03&\x0b\x0f\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03&\x10\x15\n\ - \x0c\n\x05\x04\x01\x02\0\x03\x12\x03&\x18\x19\nD\n\x02\x04\x02\x12\x04*\ - \0.\x01\x1a8\x20Request\x20message\x20for\x20BigtableClusterService.GetC\ - luster.\n\n\n\n\x03\x04\x02\x01\x12\x03*\x08\x19\n\x83\x01\n\x04\x04\x02\ - \x02\0\x12\x03-\x02\x12\x1av\x20The\x20unique\x20name\x20of\x20the\x20re\ - quested\x20cluster.\n\x20Values\x20are\x20of\x20the\x20form\x20projects/\ - /zones//clusters/\n\n\r\n\x05\x04\x02\x02\0\x04\ - \x12\x04-\x02*\x1b\n\x0c\n\x05\x04\x02\x02\0\x05\x12\x03-\x02\x08\n\x0c\ - \n\x05\x04\x02\x02\0\x01\x12\x03-\t\r\n\x0c\n\x05\x04\x02\x02\0\x03\x12\ - \x03-\x10\x11\nF\n\x02\x04\x03\x12\x041\05\x01\x1a:\x20Request\x20messag\ - e\x20for\x20BigtableClusterService.ListClusters.\n\n\n\n\x03\x04\x03\x01\ - \x12\x031\x08\x1b\n\x83\x01\n\x04\x04\x03\x02\0\x12\x034\x02\x12\x1av\ - \x20The\x20unique\x20name\x20of\x20the\x20project\x20for\x20which\x20a\ - \x20list\x20of\x20clusters\x20is\x20requested.\n\x20Values\x20are\x20of\ - \x20the\x20form\x20projects/\n\n\r\n\x05\x04\x03\x02\0\x04\x12\ - \x044\x021\x1d\n\x0c\n\x05\x04\x03\x02\0\x05\x12\x034\x02\x08\n\x0c\n\ - \x05\x04\x03\x02\0\x01\x12\x034\t\r\n\x0c\n\x05\x04\x03\x02\0\x03\x12\ - \x034\x10\x11\nG\n\x02\x04\x04\x12\x048\0>\x01\x1a;\x20Response\x20messa\ - ge\x20for\x20BigtableClusterService.ListClusters.\n\n\n\n\x03\x04\x04\ - \x01\x12\x038\x08\x1c\n.\n\x04\x04\x04\x02\0\x12\x03:\x02\x20\x1a!\x20Th\ - e\x20list\x20of\x20requested\x20Clusters.\n\n\x0c\n\x05\x04\x04\x02\0\ - \x04\x12\x03:\x02\n\n\x0c\n\x05\x04\x04\x02\0\x06\x12\x03:\x0b\x12\n\x0c\ - \n\x05\x04\x04\x02\0\x01\x12\x03:\x13\x1b\n\x0c\n\x05\x04\x04\x02\0\x03\ - \x12\x03:\x1e\x1f\nC\n\x04\x04\x04\x02\x01\x12\x03=\x02!\x1a6\x20The\x20\ - zones\x20for\x20which\x20clusters\x20could\x20not\x20be\x20retrieved.\n\ - \n\x0c\n\x05\x04\x04\x02\x01\x04\x12\x03=\x02\n\n\x0c\n\x05\x04\x04\x02\ - \x01\x06\x12\x03=\x0b\x0f\n\x0c\n\x05\x04\x04\x02\x01\x01\x12\x03=\x10\ - \x1c\n\x0c\n\x05\x04\x04\x02\x01\x03\x12\x03=\x1f\x20\nG\n\x02\x04\x05\ - \x12\x04A\0O\x01\x1a;\x20Request\x20message\x20for\x20BigtableClusterSer\ - vice.CreateCluster.\n\n\n\n\x03\x04\x05\x01\x12\x03A\x08\x1c\n\x82\x01\n\ - \x04\x04\x05\x02\0\x12\x03D\x02\x12\x1au\x20The\x20unique\x20name\x20of\ - \x20the\x20zone\x20in\x20which\x20to\x20create\x20the\x20cluster.\n\x20V\ - alues\x20are\x20of\x20the\x20form\x20projects//zones/\n\n\ - \r\n\x05\x04\x05\x02\0\x04\x12\x04D\x02A\x1e\n\x0c\n\x05\x04\x05\x02\0\ - \x05\x12\x03D\x02\x08\n\x0c\n\x05\x04\x05\x02\0\x01\x12\x03D\t\r\n\x0c\n\ - \x05\x04\x05\x02\0\x03\x12\x03D\x10\x11\n\xc5\x01\n\x04\x04\x05\x02\x01\ - \x12\x03I\x02\x18\x1a\xb7\x01\x20The\x20id\x20to\x20be\x20used\x20when\ - \x20referring\x20to\x20the\x20new\x20cluster\x20within\x20its\x20zone,\n\ - \x20e.g.\x20just\x20the\x20\"test-cluster\"\x20section\x20of\x20the\x20f\ - ull\x20name\n\x20\"projects//zones//clusters/test-cluster\ - \".\n\n\r\n\x05\x04\x05\x02\x01\x04\x12\x04I\x02D\x12\n\x0c\n\x05\x04\ - \x05\x02\x01\x05\x12\x03I\x02\x08\n\x0c\n\x05\x04\x05\x02\x01\x01\x12\ - \x03I\t\x13\n\x0c\n\x05\x04\x05\x02\x01\x03\x12\x03I\x16\x17\nu\n\x04\ - \x04\x05\x02\x02\x12\x03N\x02\x16\x1ah\x20The\x20cluster\x20to\x20create\ - .\n\x20The\x20\"name\",\x20\"delete_time\",\x20and\x20\"current_operatio\ - n\"\x20fields\x20must\x20be\x20left\n\x20blank.\n\n\r\n\x05\x04\x05\x02\ - \x02\x04\x12\x04N\x02I\x18\n\x0c\n\x05\x04\x05\x02\x02\x06\x12\x03N\x02\ - \t\n\x0c\n\x05\x04\x05\x02\x02\x01\x12\x03N\n\x11\n\x0c\n\x05\x04\x05\ - \x02\x02\x03\x12\x03N\x14\x15\n`\n\x02\x04\x06\x12\x04S\0\\\x01\x1aT\x20\ - Metadata\x20type\x20for\x20the\x20operation\x20returned\x20by\n\x20Bigta\ - bleClusterService.CreateCluster.\n\n\n\n\x03\x04\x06\x01\x12\x03S\x08\ - \x1d\nI\n\x04\x04\x06\x02\0\x12\x03U\x02,\x1a<\x20The\x20request\x20whic\ - h\x20prompted\x20the\x20creation\x20of\x20this\x20operation.\n\n\r\n\x05\ - \x04\x06\x02\0\x04\x12\x04U\x02S\x1f\n\x0c\n\x05\x04\x06\x02\0\x06\x12\ - \x03U\x02\x16\n\x0c\n\x05\x04\x06\x02\0\x01\x12\x03U\x17'\n\x0c\n\x05\ - \x04\x06\x02\0\x03\x12\x03U*+\n?\n\x04\x04\x06\x02\x01\x12\x03X\x02-\x1a\ - 2\x20The\x20time\x20at\x20which\x20original_request\x20was\x20received.\ - \n\n\r\n\x05\x04\x06\x02\x01\x04\x12\x04X\x02U,\n\x0c\n\x05\x04\x06\x02\ - \x01\x06\x12\x03X\x02\x1b\n\x0c\n\x05\x04\x06\x02\x01\x01\x12\x03X\x1c(\ - \n\x0c\n\x05\x04\x06\x02\x01\x03\x12\x03X+,\nU\n\x04\x04\x06\x02\x02\x12\ - \x03[\x02,\x1aH\x20The\x20time\x20at\x20which\x20this\x20operation\x20fa\ - iled\x20or\x20was\x20completed\x20successfully.\n\n\r\n\x05\x04\x06\x02\ - \x02\x04\x12\x04[\x02X-\n\x0c\n\x05\x04\x06\x02\x02\x06\x12\x03[\x02\x1b\ - \n\x0c\n\x05\x04\x06\x02\x02\x01\x12\x03[\x1c'\n\x0c\n\x05\x04\x06\x02\ - \x02\x03\x12\x03[*+\n`\n\x02\x04\x07\x12\x04`\0n\x01\x1aT\x20Metadata\ - \x20type\x20for\x20the\x20operation\x20returned\x20by\n\x20BigtableClust\ - erService.UpdateCluster.\n\n\n\n\x03\x04\x07\x01\x12\x03`\x08\x1d\nI\n\ - \x04\x04\x07\x02\0\x12\x03b\x02\x1f\x1a<\x20The\x20request\x20which\x20p\ - rompted\x20the\x20creation\x20of\x20this\x20operation.\n\n\r\n\x05\x04\ - \x07\x02\0\x04\x12\x04b\x02`\x1f\n\x0c\n\x05\x04\x07\x02\0\x06\x12\x03b\ - \x02\t\n\x0c\n\x05\x04\x07\x02\0\x01\x12\x03b\n\x1a\n\x0c\n\x05\x04\x07\ - \x02\0\x03\x12\x03b\x1d\x1e\n?\n\x04\x04\x07\x02\x01\x12\x03e\x02-\x1a2\ - \x20The\x20time\x20at\x20which\x20original_request\x20was\x20received.\n\ - \n\r\n\x05\x04\x07\x02\x01\x04\x12\x04e\x02b\x1f\n\x0c\n\x05\x04\x07\x02\ - \x01\x06\x12\x03e\x02\x1b\n\x0c\n\x05\x04\x07\x02\x01\x01\x12\x03e\x1c(\ - \n\x0c\n\x05\x04\x07\x02\x01\x03\x12\x03e+,\n\xbc\x01\n\x04\x04\x07\x02\ - \x02\x12\x03j\x02,\x1a\xae\x01\x20The\x20time\x20at\x20which\x20this\x20\ - operation\x20was\x20cancelled.\x20If\x20set,\x20this\x20operation\x20is\ - \n\x20in\x20the\x20process\x20of\x20undoing\x20itself\x20(which\x20is\ - \x20guaranteed\x20to\x20succeed)\x20and\n\x20cannot\x20be\x20cancelled\ - \x20again.\n\n\r\n\x05\x04\x07\x02\x02\x04\x12\x04j\x02e-\n\x0c\n\x05\ - \x04\x07\x02\x02\x06\x12\x03j\x02\x1b\n\x0c\n\x05\x04\x07\x02\x02\x01\ - \x12\x03j\x1c'\n\x0c\n\x05\x04\x07\x02\x02\x03\x12\x03j*+\nU\n\x04\x04\ - \x07\x02\x03\x12\x03m\x02,\x1aH\x20The\x20time\x20at\x20which\x20this\ - \x20operation\x20failed\x20or\x20was\x20completed\x20successfully.\n\n\r\ - \n\x05\x04\x07\x02\x03\x04\x12\x04m\x02j,\n\x0c\n\x05\x04\x07\x02\x03\ - \x06\x12\x03m\x02\x1b\n\x0c\n\x05\x04\x07\x02\x03\x01\x12\x03m\x1c'\n\ - \x0c\n\x05\x04\x07\x02\x03\x03\x12\x03m*+\nG\n\x02\x04\x08\x12\x04q\0u\ - \x01\x1a;\x20Request\x20message\x20for\x20BigtableClusterService.DeleteC\ - luster.\n\n\n\n\x03\x04\x08\x01\x12\x03q\x08\x1c\n\x87\x01\n\x04\x04\x08\ - \x02\0\x12\x03t\x02\x12\x1az\x20The\x20unique\x20name\x20of\x20the\x20cl\ - uster\x20to\x20be\x20deleted.\n\x20Values\x20are\x20of\x20the\x20form\ - \x20projects//zones//clusters/\n\n\r\n\x05\x04\ - \x08\x02\0\x04\x12\x04t\x02q\x1e\n\x0c\n\x05\x04\x08\x02\0\x05\x12\x03t\ - \x02\x08\n\x0c\n\x05\x04\x08\x02\0\x01\x12\x03t\t\r\n\x0c\n\x05\x04\x08\ - \x02\0\x03\x12\x03t\x10\x11\nI\n\x02\x04\t\x12\x04x\0|\x01\x1a=\x20Reque\ - st\x20message\x20for\x20BigtableClusterService.UndeleteCluster.\n\n\n\n\ - \x03\x04\t\x01\x12\x03x\x08\x1e\n\x8a\x01\n\x04\x04\t\x02\0\x12\x03{\x02\ - \x12\x1a}\x20The\x20unique\x20name\x20of\x20the\x20cluster\x20to\x20be\ - \x20un-deleted.\n\x20Values\x20are\x20of\x20the\x20form\x20projects//zones//clusters/\n\n\r\n\x05\x04\t\x02\0\x04\x12\ - \x04{\x02x\x20\n\x0c\n\x05\x04\t\x02\0\x05\x12\x03{\x02\x08\n\x0c\n\x05\ - \x04\t\x02\0\x01\x12\x03{\t\r\n\x0c\n\x05\x04\t\x02\0\x03\x12\x03{\x10\ - \x11\nd\n\x02\x04\n\x12\x06\x80\x01\0\x86\x01\x01\x1aV\x20Metadata\x20ty\ - pe\x20for\x20the\x20operation\x20returned\x20by\n\x20BigtableClusterServ\ - ice.UndeleteCluster.\n\n\x0b\n\x03\x04\n\x01\x12\x04\x80\x01\x08\x1f\nD\ - \n\x04\x04\n\x02\0\x12\x04\x82\x01\x02-\x1a6\x20The\x20time\x20at\x20whi\ - ch\x20the\x20original\x20request\x20was\x20received.\n\n\x0f\n\x05\x04\n\ - \x02\0\x04\x12\x06\x82\x01\x02\x80\x01!\n\r\n\x05\x04\n\x02\0\x06\x12\ - \x04\x82\x01\x02\x1b\n\r\n\x05\x04\n\x02\0\x01\x12\x04\x82\x01\x1c(\n\r\ - \n\x05\x04\n\x02\0\x03\x12\x04\x82\x01+,\nV\n\x04\x04\n\x02\x01\x12\x04\ - \x85\x01\x02,\x1aH\x20The\x20time\x20at\x20which\x20this\x20operation\ - \x20failed\x20or\x20was\x20completed\x20successfully.\n\n\x0f\n\x05\x04\ - \n\x02\x01\x04\x12\x06\x85\x01\x02\x82\x01-\n\r\n\x05\x04\n\x02\x01\x06\ - \x12\x04\x85\x01\x02\x1b\n\r\n\x05\x04\n\x02\x01\x01\x12\x04\x85\x01\x1c\ - '\n\r\n\x05\x04\n\x02\x01\x03\x12\x04\x85\x01*+\n\xa4\x01\n\x02\x04\x0b\ - \x12\x06\x8a\x01\0\x8c\x01\x01\x1a\x95\x01\x20Metadata\x20type\x20for\ - \x20operations\x20initiated\x20by\x20the\x20V2\x20BigtableAdmin\x20servi\ - ce.\n\x20More\x20complete\x20information\x20for\x20such\x20operations\ - \x20is\x20available\x20via\x20the\x20V2\x20API.\n\n\x0b\n\x03\x04\x0b\ - \x01\x12\x04\x8a\x01\x08\x1bb\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/mod.rs deleted file mode 100644 index c1ff85692c..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/cluster/v1/mod.rs +++ /dev/null @@ -1,7 +0,0 @@ -pub mod bigtable_cluster_data; -pub mod bigtable_cluster_service; -pub mod bigtable_cluster_service_grpc; -pub mod bigtable_cluster_service_messages; - -pub(crate) use crate::empty; -pub(crate) use crate::longrunning::operations; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/mod.rs deleted file mode 100644 index e0bf5b5332..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub mod cluster; -pub mod table; -pub mod v2; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/mod.rs deleted file mode 100644 index a3a6d96c3f..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/mod.rs +++ /dev/null @@ -1 +0,0 @@ -pub mod v1; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_data.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_data.rs deleted file mode 100644 index a47c3969df..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_data.rs +++ /dev/null @@ -1,1589 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/table/v1/bigtable_table_data.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct Table { - // message fields - pub name: ::std::string::String, - pub current_operation: ::protobuf::SingularPtrField, - pub column_families: ::std::collections::HashMap<::std::string::String, ColumnFamily>, - pub granularity: Table_TimestampGranularity, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Table { - fn default() -> &'a Table { - ::default_instance() - } -} - -impl Table { - pub fn new() -> Table { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // .google.longrunning.Operation current_operation = 2; - - - pub fn get_current_operation(&self) -> &super::operations::Operation { - self.current_operation.as_ref().unwrap_or_else(|| super::operations::Operation::default_instance()) - } - pub fn clear_current_operation(&mut self) { - self.current_operation.clear(); - } - - pub fn has_current_operation(&self) -> bool { - self.current_operation.is_some() - } - - // Param is passed by value, moved - pub fn set_current_operation(&mut self, v: super::operations::Operation) { - self.current_operation = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_current_operation(&mut self) -> &mut super::operations::Operation { - if self.current_operation.is_none() { - self.current_operation.set_default(); - } - self.current_operation.as_mut().unwrap() - } - - // Take field - pub fn take_current_operation(&mut self) -> super::operations::Operation { - self.current_operation.take().unwrap_or_else(|| super::operations::Operation::new()) - } - - // repeated .google.bigtable.admin.table.v1.Table.ColumnFamiliesEntry column_families = 3; - - - pub fn get_column_families(&self) -> &::std::collections::HashMap<::std::string::String, ColumnFamily> { - &self.column_families - } - pub fn clear_column_families(&mut self) { - self.column_families.clear(); - } - - // Param is passed by value, moved - pub fn set_column_families(&mut self, v: ::std::collections::HashMap<::std::string::String, ColumnFamily>) { - self.column_families = v; - } - - // Mutable pointer to the field. - pub fn mut_column_families(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ColumnFamily> { - &mut self.column_families - } - - // Take field - pub fn take_column_families(&mut self) -> ::std::collections::HashMap<::std::string::String, ColumnFamily> { - ::std::mem::replace(&mut self.column_families, ::std::collections::HashMap::new()) - } - - // .google.bigtable.admin.table.v1.Table.TimestampGranularity granularity = 4; - - - pub fn get_granularity(&self) -> Table_TimestampGranularity { - self.granularity - } - pub fn clear_granularity(&mut self) { - self.granularity = Table_TimestampGranularity::MILLIS; - } - - // Param is passed by value, moved - pub fn set_granularity(&mut self, v: Table_TimestampGranularity) { - self.granularity = v; - } -} - -impl ::protobuf::Message for Table { - fn is_initialized(&self) -> bool { - for v in &self.current_operation { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.current_operation)?; - }, - 3 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(wire_type, is, &mut self.column_families)?; - }, - 4 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.granularity, 4, &mut self.unknown_fields)? - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if let Some(ref v) = self.current_operation.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(3, &self.column_families); - if self.granularity != Table_TimestampGranularity::MILLIS { - my_size += ::protobuf::rt::enum_size(4, self.granularity); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if let Some(ref v) = self.current_operation.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(3, &self.column_families, os)?; - if self.granularity != Table_TimestampGranularity::MILLIS { - os.write_enum(4, self.granularity.value())?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Table { - Table::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Table| { &m.name }, - |m: &mut Table| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "current_operation", - |m: &Table| { &m.current_operation }, - |m: &mut Table| { &mut m.current_operation }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>( - "column_families", - |m: &Table| { &m.column_families }, - |m: &mut Table| { &mut m.column_families }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "granularity", - |m: &Table| { &m.granularity }, - |m: &mut Table| { &mut m.granularity }, - )); - ::protobuf::reflect::MessageDescriptor::new::
( - "Table", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Table { - static mut instance: ::protobuf::lazy::Lazy
= ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Table, - }; - unsafe { - instance.get(Table::new) - } - } -} - -impl ::protobuf::Clear for Table { - fn clear(&mut self) { - self.name.clear(); - self.current_operation.clear(); - self.column_families.clear(); - self.granularity = Table_TimestampGranularity::MILLIS; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Table { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Table { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum Table_TimestampGranularity { - MILLIS = 0, -} - -impl ::protobuf::ProtobufEnum for Table_TimestampGranularity { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(Table_TimestampGranularity::MILLIS), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [Table_TimestampGranularity] = &[ - Table_TimestampGranularity::MILLIS, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Table_TimestampGranularity", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for Table_TimestampGranularity { -} - -impl ::std::default::Default for Table_TimestampGranularity { - fn default() -> Self { - Table_TimestampGranularity::MILLIS - } -} - -impl ::protobuf::reflect::ProtobufValue for Table_TimestampGranularity { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ColumnFamily { - // message fields - pub name: ::std::string::String, - pub gc_expression: ::std::string::String, - pub gc_rule: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ColumnFamily { - fn default() -> &'a ColumnFamily { - ::default_instance() - } -} - -impl ColumnFamily { - pub fn new() -> ColumnFamily { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string gc_expression = 2; - - - pub fn get_gc_expression(&self) -> &str { - &self.gc_expression - } - pub fn clear_gc_expression(&mut self) { - self.gc_expression.clear(); - } - - // Param is passed by value, moved - pub fn set_gc_expression(&mut self, v: ::std::string::String) { - self.gc_expression = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_gc_expression(&mut self) -> &mut ::std::string::String { - &mut self.gc_expression - } - - // Take field - pub fn take_gc_expression(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.gc_expression, ::std::string::String::new()) - } - - // .google.bigtable.admin.table.v1.GcRule gc_rule = 3; - - - pub fn get_gc_rule(&self) -> &GcRule { - self.gc_rule.as_ref().unwrap_or_else(|| GcRule::default_instance()) - } - pub fn clear_gc_rule(&mut self) { - self.gc_rule.clear(); - } - - pub fn has_gc_rule(&self) -> bool { - self.gc_rule.is_some() - } - - // Param is passed by value, moved - pub fn set_gc_rule(&mut self, v: GcRule) { - self.gc_rule = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_gc_rule(&mut self) -> &mut GcRule { - if self.gc_rule.is_none() { - self.gc_rule.set_default(); - } - self.gc_rule.as_mut().unwrap() - } - - // Take field - pub fn take_gc_rule(&mut self) -> GcRule { - self.gc_rule.take().unwrap_or_else(|| GcRule::new()) - } -} - -impl ::protobuf::Message for ColumnFamily { - fn is_initialized(&self) -> bool { - for v in &self.gc_rule { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.gc_expression)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.gc_rule)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.gc_expression.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.gc_expression); - } - if let Some(ref v) = self.gc_rule.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.gc_expression.is_empty() { - os.write_string(2, &self.gc_expression)?; - } - if let Some(ref v) = self.gc_rule.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ColumnFamily { - ColumnFamily::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &ColumnFamily| { &m.name }, - |m: &mut ColumnFamily| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "gc_expression", - |m: &ColumnFamily| { &m.gc_expression }, - |m: &mut ColumnFamily| { &mut m.gc_expression }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "gc_rule", - |m: &ColumnFamily| { &m.gc_rule }, - |m: &mut ColumnFamily| { &mut m.gc_rule }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ColumnFamily", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ColumnFamily { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ColumnFamily, - }; - unsafe { - instance.get(ColumnFamily::new) - } - } -} - -impl ::protobuf::Clear for ColumnFamily { - fn clear(&mut self) { - self.name.clear(); - self.gc_expression.clear(); - self.gc_rule.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ColumnFamily { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ColumnFamily { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GcRule { - // message oneof groups - pub rule: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GcRule { - fn default() -> &'a GcRule { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum GcRule_oneof_rule { - max_num_versions(i32), - max_age(::protobuf::well_known_types::Duration), - intersection(GcRule_Intersection), - union(GcRule_Union), -} - -impl GcRule { - pub fn new() -> GcRule { - ::std::default::Default::default() - } - - // int32 max_num_versions = 1; - - - pub fn get_max_num_versions(&self) -> i32 { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::max_num_versions(v)) => v, - _ => 0, - } - } - pub fn clear_max_num_versions(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_max_num_versions(&self) -> bool { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::max_num_versions(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_max_num_versions(&mut self, v: i32) { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::max_num_versions(v)) - } - - // .google.protobuf.Duration max_age = 2; - - - pub fn get_max_age(&self) -> &::protobuf::well_known_types::Duration { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::max_age(ref v)) => v, - _ => ::protobuf::well_known_types::Duration::default_instance(), - } - } - pub fn clear_max_age(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_max_age(&self) -> bool { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::max_age(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_max_age(&mut self, v: ::protobuf::well_known_types::Duration) { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::max_age(v)) - } - - // Mutable pointer to the field. - pub fn mut_max_age(&mut self) -> &mut ::protobuf::well_known_types::Duration { - if let ::std::option::Option::Some(GcRule_oneof_rule::max_age(_)) = self.rule { - } else { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::max_age(::protobuf::well_known_types::Duration::new())); - } - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::max_age(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_max_age(&mut self) -> ::protobuf::well_known_types::Duration { - if self.has_max_age() { - match self.rule.take() { - ::std::option::Option::Some(GcRule_oneof_rule::max_age(v)) => v, - _ => panic!(), - } - } else { - ::protobuf::well_known_types::Duration::new() - } - } - - // .google.bigtable.admin.table.v1.GcRule.Intersection intersection = 3; - - - pub fn get_intersection(&self) -> &GcRule_Intersection { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::intersection(ref v)) => v, - _ => GcRule_Intersection::default_instance(), - } - } - pub fn clear_intersection(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_intersection(&self) -> bool { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::intersection(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_intersection(&mut self, v: GcRule_Intersection) { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::intersection(v)) - } - - // Mutable pointer to the field. - pub fn mut_intersection(&mut self) -> &mut GcRule_Intersection { - if let ::std::option::Option::Some(GcRule_oneof_rule::intersection(_)) = self.rule { - } else { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::intersection(GcRule_Intersection::new())); - } - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::intersection(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_intersection(&mut self) -> GcRule_Intersection { - if self.has_intersection() { - match self.rule.take() { - ::std::option::Option::Some(GcRule_oneof_rule::intersection(v)) => v, - _ => panic!(), - } - } else { - GcRule_Intersection::new() - } - } - - // .google.bigtable.admin.table.v1.GcRule.Union union = 4; - - - pub fn get_union(&self) -> &GcRule_Union { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::union(ref v)) => v, - _ => GcRule_Union::default_instance(), - } - } - pub fn clear_union(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_union(&self) -> bool { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::union(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_union(&mut self, v: GcRule_Union) { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::union(v)) - } - - // Mutable pointer to the field. - pub fn mut_union(&mut self) -> &mut GcRule_Union { - if let ::std::option::Option::Some(GcRule_oneof_rule::union(_)) = self.rule { - } else { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::union(GcRule_Union::new())); - } - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::union(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_union(&mut self) -> GcRule_Union { - if self.has_union() { - match self.rule.take() { - ::std::option::Option::Some(GcRule_oneof_rule::union(v)) => v, - _ => panic!(), - } - } else { - GcRule_Union::new() - } - } -} - -impl ::protobuf::Message for GcRule { - fn is_initialized(&self) -> bool { - if let Some(GcRule_oneof_rule::max_age(ref v)) = self.rule { - if !v.is_initialized() { - return false; - } - } - if let Some(GcRule_oneof_rule::intersection(ref v)) = self.rule { - if !v.is_initialized() { - return false; - } - } - if let Some(GcRule_oneof_rule::union(ref v)) = self.rule { - if !v.is_initialized() { - return false; - } - } - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::max_num_versions(is.read_int32()?)); - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::max_age(is.read_message()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::intersection(is.read_message()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::union(is.read_message()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let ::std::option::Option::Some(ref v) = self.rule { - match v { - &GcRule_oneof_rule::max_num_versions(v) => { - my_size += ::protobuf::rt::value_size(1, v, ::protobuf::wire_format::WireTypeVarint); - }, - &GcRule_oneof_rule::max_age(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &GcRule_oneof_rule::intersection(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &GcRule_oneof_rule::union(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let ::std::option::Option::Some(ref v) = self.rule { - match v { - &GcRule_oneof_rule::max_num_versions(v) => { - os.write_int32(1, v)?; - }, - &GcRule_oneof_rule::max_age(ref v) => { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &GcRule_oneof_rule::intersection(ref v) => { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &GcRule_oneof_rule::union(ref v) => { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GcRule { - GcRule::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor::<_>( - "max_num_versions", - GcRule::has_max_num_versions, - GcRule::get_max_num_versions, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ::protobuf::well_known_types::Duration>( - "max_age", - GcRule::has_max_age, - GcRule::get_max_age, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, GcRule_Intersection>( - "intersection", - GcRule::has_intersection, - GcRule::get_intersection, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, GcRule_Union>( - "union", - GcRule::has_union, - GcRule::get_union, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GcRule", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GcRule { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GcRule, - }; - unsafe { - instance.get(GcRule::new) - } - } -} - -impl ::protobuf::Clear for GcRule { - fn clear(&mut self) { - self.rule = ::std::option::Option::None; - self.rule = ::std::option::Option::None; - self.rule = ::std::option::Option::None; - self.rule = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GcRule { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GcRule { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GcRule_Intersection { - // message fields - pub rules: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GcRule_Intersection { - fn default() -> &'a GcRule_Intersection { - ::default_instance() - } -} - -impl GcRule_Intersection { - pub fn new() -> GcRule_Intersection { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.table.v1.GcRule rules = 1; - - - pub fn get_rules(&self) -> &[GcRule] { - &self.rules - } - pub fn clear_rules(&mut self) { - self.rules.clear(); - } - - // Param is passed by value, moved - pub fn set_rules(&mut self, v: ::protobuf::RepeatedField) { - self.rules = v; - } - - // Mutable pointer to the field. - pub fn mut_rules(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.rules - } - - // Take field - pub fn take_rules(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.rules, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for GcRule_Intersection { - fn is_initialized(&self) -> bool { - for v in &self.rules { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.rules)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.rules { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.rules { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GcRule_Intersection { - GcRule_Intersection::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "rules", - |m: &GcRule_Intersection| { &m.rules }, - |m: &mut GcRule_Intersection| { &mut m.rules }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GcRule_Intersection", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GcRule_Intersection { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GcRule_Intersection, - }; - unsafe { - instance.get(GcRule_Intersection::new) - } - } -} - -impl ::protobuf::Clear for GcRule_Intersection { - fn clear(&mut self) { - self.rules.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GcRule_Intersection { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GcRule_Intersection { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GcRule_Union { - // message fields - pub rules: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GcRule_Union { - fn default() -> &'a GcRule_Union { - ::default_instance() - } -} - -impl GcRule_Union { - pub fn new() -> GcRule_Union { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.table.v1.GcRule rules = 1; - - - pub fn get_rules(&self) -> &[GcRule] { - &self.rules - } - pub fn clear_rules(&mut self) { - self.rules.clear(); - } - - // Param is passed by value, moved - pub fn set_rules(&mut self, v: ::protobuf::RepeatedField) { - self.rules = v; - } - - // Mutable pointer to the field. - pub fn mut_rules(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.rules - } - - // Take field - pub fn take_rules(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.rules, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for GcRule_Union { - fn is_initialized(&self) -> bool { - for v in &self.rules { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.rules)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.rules { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.rules { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GcRule_Union { - GcRule_Union::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "rules", - |m: &GcRule_Union| { &m.rules }, - |m: &mut GcRule_Union| { &mut m.rules }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GcRule_Union", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GcRule_Union { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GcRule_Union, - }; - unsafe { - instance.get(GcRule_Union::new) - } - } -} - -impl ::protobuf::Clear for GcRule_Union { - fn clear(&mut self) { - self.rules.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GcRule_Union { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GcRule_Union { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n8google/bigtable/admin/table/v1/bigtable_table_data.proto\x12\x1egoogl\ - e.bigtable.admin.table.v1\x1a#google/longrunning/operations.proto\x1a\ - \x1egoogle/protobuf/duration.proto\"\xbe\x03\n\x05Table\x12\x12\n\x04nam\ - e\x18\x01\x20\x01(\tR\x04name\x12J\n\x11current_operation\x18\x02\x20\ - \x01(\x0b2\x1d.google.longrunning.OperationR\x10currentOperation\x12b\n\ - \x0fcolumn_families\x18\x03\x20\x03(\x0b29.google.bigtable.admin.table.v\ - 1.Table.ColumnFamiliesEntryR\x0ecolumnFamilies\x12\\\n\x0bgranularity\ - \x18\x04\x20\x01(\x0e2:.google.bigtable.admin.table.v1.Table.TimestampGr\ - anularityR\x0bgranularity\x1ao\n\x13ColumnFamiliesEntry\x12\x10\n\x03key\ - \x18\x01\x20\x01(\tR\x03key\x12B\n\x05value\x18\x02\x20\x01(\x0b2,.googl\ - e.bigtable.admin.table.v1.ColumnFamilyR\x05value:\x028\x01\"\"\n\x14Time\ - stampGranularity\x12\n\n\x06MILLIS\x10\0\"\x88\x01\n\x0cColumnFamily\x12\ - \x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x12#\n\rgc_expression\x18\x02\ - \x20\x01(\tR\x0cgcExpression\x12?\n\x07gc_rule\x18\x03\x20\x01(\x0b2&.go\ - ogle.bigtable.admin.table.v1.GcRuleR\x06gcRule\"\xa8\x03\n\x06GcRule\x12\ - *\n\x10max_num_versions\x18\x01\x20\x01(\x05H\0R\x0emaxNumVersions\x124\ - \n\x07max_age\x18\x02\x20\x01(\x0b2\x19.google.protobuf.DurationH\0R\x06\ - maxAge\x12Y\n\x0cintersection\x18\x03\x20\x01(\x0b23.google.bigtable.adm\ - in.table.v1.GcRule.IntersectionH\0R\x0cintersection\x12D\n\x05union\x18\ - \x04\x20\x01(\x0b2,.google.bigtable.admin.table.v1.GcRule.UnionH\0R\x05u\ - nion\x1aL\n\x0cIntersection\x12<\n\x05rules\x18\x01\x20\x03(\x0b2&.googl\ - e.bigtable.admin.table.v1.GcRuleR\x05rules\x1aE\n\x05Union\x12<\n\x05rul\ - es\x18\x01\x20\x03(\x0b2&.google.bigtable.admin.table.v1.GcRuleR\x05rule\ - sB\x06\n\x04ruleB\x83\x01\n\"com.google.bigtable.admin.table.v1B\x16Bigt\ - ableTableDataProtoP\x01ZCgoogle.golang.org/genproto/googleapis/bigtable/\ - admin/table/v1;tableJ\x80&\n\x06\x12\x04\x0e\0}\x01\n\xbd\x04\n\x01\x0c\ - \x12\x03\x0e\0\x122\xb2\x04\x20Copyright\x202017\x20Google\x20Inc.\n\n\ - \x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20\ - (the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20e\ - xcept\x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20may\x20\ - obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\x20\ - \x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20required\ - \x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\x20s\ - oftware\n\x20distributed\x20under\x20the\x20License\x20is\x20distributed\ - \x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\ - \x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20impli\ - ed.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20language\x20\ - governing\x20permissions\x20and\n\x20limitations\x20under\x20the\x20Lice\ - nse.\n\n\x08\n\x01\x02\x12\x03\x10\0'\n\t\n\x02\x03\0\x12\x03\x12\0-\n\t\ - \n\x02\x03\x01\x12\x03\x13\0(\n\x08\n\x01\x08\x12\x03\x15\0Z\n\t\n\x02\ - \x08\x0b\x12\x03\x15\0Z\n\x08\n\x01\x08\x12\x03\x16\0\"\n\t\n\x02\x08\n\ - \x12\x03\x16\0\"\n\x08\n\x01\x08\x12\x03\x17\07\n\t\n\x02\x08\x08\x12\ - \x03\x17\07\n\x08\n\x01\x08\x12\x03\x18\0;\n\t\n\x02\x08\x01\x12\x03\x18\ - \0;\n\x90\x01\n\x02\x04\0\x12\x04\x1d\02\x01\x1a\x83\x01\x20A\x20collect\ - ion\x20of\x20user\x20data\x20indexed\x20by\x20row,\x20column,\x20and\x20\ - timestamp.\n\x20Each\x20table\x20is\x20served\x20using\x20the\x20resourc\ - es\x20of\x20its\x20parent\x20cluster.\n\n\n\n\x03\x04\0\x01\x12\x03\x1d\ - \x08\r\n\x0c\n\x04\x04\0\x04\0\x12\x04\x1e\x02\x20\x03\n\x0c\n\x05\x04\0\ - \x04\0\x01\x12\x03\x1e\x07\x1b\n\r\n\x06\x04\0\x04\0\x02\0\x12\x03\x1f\ - \x04\x0f\n\x0e\n\x07\x04\0\x04\0\x02\0\x01\x12\x03\x1f\x04\n\n\x0e\n\x07\ - \x04\0\x04\0\x02\0\x02\x12\x03\x1f\r\x0e\na\n\x04\x04\0\x02\0\x12\x03$\ - \x02\x12\x1aT\x20A\x20unique\x20identifier\x20of\x20the\x20form\n\x20/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*\n\n\r\n\x05\x04\0\x02\0\ - \x04\x12\x04$\x02\x20\x03\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03$\x02\x08\n\ - \x0c\n\x05\x04\0\x02\0\x01\x12\x03$\t\r\n\x0c\n\x05\x04\0\x02\0\x03\x12\ - \x03$\x10\x11\n\xd5\x01\n\x04\x04\0\x02\x01\x12\x03)\x025\x1a\xc7\x01\ - \x20If\x20this\x20Table\x20is\x20in\x20the\x20process\x20of\x20being\x20\ - created,\x20the\x20Operation\x20used\x20to\n\x20track\x20its\x20progress\ - .\x20As\x20long\x20as\x20this\x20operation\x20is\x20present,\x20the\x20T\ - able\x20will\n\x20not\x20accept\x20any\x20Table\x20Admin\x20or\x20Read/W\ - rite\x20requests.\n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04)\x02$\x12\n\x0c\ - \n\x05\x04\0\x02\x01\x06\x12\x03)\x02\x1e\n\x0c\n\x05\x04\0\x02\x01\x01\ - \x12\x03)\x1f0\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03)34\nY\n\x04\x04\0\ - \x02\x02\x12\x03,\x020\x1aL\x20The\x20column\x20families\x20configured\ - \x20for\x20this\x20table,\x20mapped\x20by\x20column\x20family\x20id.\n\n\ - \r\n\x05\x04\0\x02\x02\x04\x12\x04,\x02)5\n\x0c\n\x05\x04\0\x02\x02\x06\ - \x12\x03,\x02\x1b\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03,\x1c+\n\x0c\n\ - \x05\x04\0\x02\x02\x03\x12\x03,./\n\xcc\x01\n\x04\x04\0\x02\x03\x12\x031\ - \x02'\x1a\xbe\x01\x20The\x20granularity\x20(e.g.\x20MILLIS,\x20MICROS)\ - \x20at\x20which\x20timestamps\x20are\x20stored\x20in\n\x20this\x20table.\ - \x20Timestamps\x20not\x20matching\x20the\x20granularity\x20will\x20be\ - \x20rejected.\n\x20Cannot\x20be\x20changed\x20once\x20the\x20table\x20is\ - \x20created.\n\n\r\n\x05\x04\0\x02\x03\x04\x12\x041\x02,0\n\x0c\n\x05\ - \x04\0\x02\x03\x06\x12\x031\x02\x16\n\x0c\n\x05\x04\0\x02\x03\x01\x12\ - \x031\x17\"\n\x0c\n\x05\x04\0\x02\x03\x03\x12\x031%&\nQ\n\x02\x04\x01\ - \x12\x045\0^\x01\x1aE\x20A\x20set\x20of\x20columns\x20within\x20a\x20tab\ - le\x20which\x20share\x20a\x20common\x20configuration.\n\n\n\n\x03\x04\ - \x01\x01\x12\x035\x08\x14\n\xac\x01\n\x04\x04\x01\x02\0\x12\x039\x02\x12\ - \x1a\x9e\x01\x20A\x20unique\x20identifier\x20of\x20the\x20form\x20/columnFamilies/[-_.a-zA-Z0-9]+\n\x20The\x20last\x20segment\x20is\ - \x20the\x20same\x20as\x20the\x20\"name\"\x20field\x20in\n\x20google.bigt\ - able.v1.Family.\n\n\r\n\x05\x04\x01\x02\0\x04\x12\x049\x025\x16\n\x0c\n\ - \x05\x04\x01\x02\0\x05\x12\x039\x02\x08\n\x0c\n\x05\x04\x01\x02\0\x01\ - \x12\x039\t\r\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x039\x10\x11\n\x97\t\n\ - \x04\x04\x01\x02\x01\x12\x03T\x02\x1b\x1a\x89\t\x20Garbage\x20collection\ - \x20expression\x20specified\x20by\x20the\x20following\x20grammar:\n\x20\ - \x20\x20GC\x20=\x20EXPR\n\x20\x20\x20\x20\x20\x20|\x20\"\"\x20;\n\x20\ - \x20\x20EXPR\x20=\x20EXPR,\x20\"||\",\x20EXPR\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20(*\x20lowest\x20precedence\x20*)\n\x20\ - \x20\x20\x20\x20\x20\x20\x20|\x20EXPR,\x20\"&&\",\x20EXPR\n\x20\x20\x20\ - \x20\x20\x20\x20\x20|\x20\"(\",\x20EXPR,\x20\")\"\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(*\x20highest\x20precedence\ - \x20*)\n\x20\x20\x20\x20\x20\x20\x20\x20|\x20PROP\x20;\n\x20\x20\x20PROP\ - \x20=\x20\"version()\x20>\",\x20NUM32\n\x20\x20\x20\x20\x20\x20\x20\x20|\ - \x20\"age()\x20>\",\x20NUM64,\x20[\x20UNIT\x20]\x20;\n\x20\x20\x20NUM32\ - \x20=\x20non-zero-digit\x20{\x20digit\x20}\x20;\x20\x20\x20\x20(*\x20#\ - \x20NUM32\x20<=\x202^32\x20-\x201\x20*)\n\x20\x20\x20NUM64\x20=\x20non-z\ - ero-digit\x20{\x20digit\x20}\x20;\x20\x20\x20\x20(*\x20#\x20NUM64\x20<=\ - \x202^63\x20-\x201\x20*)\n\x20\x20\x20UNIT\x20=\x20\x20\"d\"\x20|\x20\"h\ - \"\x20|\x20\"m\"\x20\x20(*\x20d=days,\x20h=hours,\x20m=minutes,\x20else\ - \x20micros\x20*)\n\x20GC\x20expressions\x20can\x20be\x20up\x20to\x20500\ - \x20characters\x20in\x20length\n\n\x20The\x20different\x20types\x20of\ - \x20PROP\x20are\x20defined\x20as\x20follows:\n\x20\x20\x20version()\x20-\ - \x20cell\x20index,\x20counting\x20from\x20most\x20recent\x20and\x20start\ - ing\x20at\x201\n\x20\x20\x20age()\x20-\x20age\x20of\x20the\x20cell\x20(c\ - urrent\x20time\x20minus\x20cell\x20timestamp)\n\n\x20Example:\x20\"versi\ - on()\x20>\x203\x20||\x20(age()\x20>\x203d\x20&&\x20version()\x20>\x201)\ - \"\n\x20\x20\x20drop\x20cells\x20beyond\x20the\x20most\x20recent\x20thre\ - e,\x20and\x20drop\x20cells\x20older\x20than\x20three\n\x20\x20\x20days\ - \x20unless\x20they're\x20the\x20most\x20recent\x20cell\x20in\x20the\x20r\ - ow/column\n\n\x20Garbage\x20collection\x20executes\x20opportunistically\ - \x20in\x20the\x20background,\x20and\x20so\n\x20it's\x20possible\x20for\ - \x20reads\x20to\x20return\x20a\x20cell\x20even\x20if\x20it\x20matches\ - \x20the\x20active\x20GC\n\x20expression\x20for\x20its\x20family.\n\n\r\n\ - \x05\x04\x01\x02\x01\x04\x12\x04T\x029\x12\n\x0c\n\x05\x04\x01\x02\x01\ - \x05\x12\x03T\x02\x08\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x03T\t\x16\n\ - \x0c\n\x05\x04\x01\x02\x01\x03\x12\x03T\x19\x1a\n\xba\x02\n\x04\x04\x01\ - \x02\x02\x12\x03]\x02\x15\x1a\xac\x02\x20Garbage\x20collection\x20rule\ - \x20specified\x20as\x20a\x20protobuf.\n\x20Supersedes\x20`gc_expression`\ - .\n\x20Must\x20serialize\x20to\x20at\x20most\x20500\x20bytes.\n\n\x20NOT\ - E:\x20Garbage\x20collection\x20executes\x20opportunistically\x20in\x20th\ - e\x20background,\x20and\n\x20so\x20it's\x20possible\x20for\x20reads\x20t\ - o\x20return\x20a\x20cell\x20even\x20if\x20it\x20matches\x20the\x20active\ - \n\x20GC\x20expression\x20for\x20its\x20family.\n\n\r\n\x05\x04\x01\x02\ - \x02\x04\x12\x04]\x02T\x1b\n\x0c\n\x05\x04\x01\x02\x02\x06\x12\x03]\x02\ - \x08\n\x0c\n\x05\x04\x01\x02\x02\x01\x12\x03]\t\x10\n\x0c\n\x05\x04\x01\ - \x02\x02\x03\x12\x03]\x13\x14\nS\n\x02\x04\x02\x12\x04a\0}\x01\x1aG\x20R\ - ule\x20for\x20determining\x20which\x20cells\x20to\x20delete\x20during\ - \x20garbage\x20collection.\n\n\n\n\x03\x04\x02\x01\x12\x03a\x08\x0e\nM\n\ - \x04\x04\x02\x03\0\x12\x04c\x02f\x03\x1a?\x20A\x20GcRule\x20which\x20del\ - etes\x20cells\x20matching\x20all\x20of\x20the\x20given\x20rules.\n\n\x0c\ - \n\x05\x04\x02\x03\0\x01\x12\x03c\n\x16\nV\n\x06\x04\x02\x03\0\x02\0\x12\ - \x03e\x04\x1e\x1aG\x20Only\x20delete\x20cells\x20which\x20would\x20be\ - \x20deleted\x20by\x20every\x20element\x20of\x20`rules`.\n\n\x0e\n\x07\ - \x04\x02\x03\0\x02\0\x04\x12\x03e\x04\x0c\n\x0e\n\x07\x04\x02\x03\0\x02\ - \0\x06\x12\x03e\r\x13\n\x0e\n\x07\x04\x02\x03\0\x02\0\x01\x12\x03e\x14\ - \x19\n\x0e\n\x07\x04\x02\x03\0\x02\0\x03\x12\x03e\x1c\x1d\nM\n\x04\x04\ - \x02\x03\x01\x12\x04i\x02l\x03\x1a?\x20A\x20GcRule\x20which\x20deletes\ - \x20cells\x20matching\x20any\x20of\x20the\x20given\x20rules.\n\n\x0c\n\ - \x05\x04\x02\x03\x01\x01\x12\x03i\n\x0f\nO\n\x06\x04\x02\x03\x01\x02\0\ - \x12\x03k\x04\x1e\x1a@\x20Delete\x20cells\x20which\x20would\x20be\x20del\ - eted\x20by\x20any\x20element\x20of\x20`rules`.\n\n\x0e\n\x07\x04\x02\x03\ - \x01\x02\0\x04\x12\x03k\x04\x0c\n\x0e\n\x07\x04\x02\x03\x01\x02\0\x06\ - \x12\x03k\r\x13\n\x0e\n\x07\x04\x02\x03\x01\x02\0\x01\x12\x03k\x14\x19\n\ - \x0e\n\x07\x04\x02\x03\x01\x02\0\x03\x12\x03k\x1c\x1d\n\x0c\n\x04\x04\ - \x02\x08\0\x12\x04n\x02|\x03\n\x0c\n\x05\x04\x02\x08\0\x01\x12\x03n\x08\ - \x0c\nE\n\x04\x04\x02\x02\0\x12\x03p\x04\x1f\x1a8\x20Delete\x20all\x20ce\ - lls\x20in\x20a\x20column\x20except\x20the\x20most\x20recent\x20N.\n\n\ - \x0c\n\x05\x04\x02\x02\0\x05\x12\x03p\x04\t\n\x0c\n\x05\x04\x02\x02\0\ - \x01\x12\x03p\n\x1a\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03p\x1d\x1e\n\x9f\ - \x01\n\x04\x04\x02\x02\x01\x12\x03u\x04)\x1a\x91\x01\x20Delete\x20cells\ - \x20in\x20a\x20column\x20older\x20than\x20the\x20given\x20age.\n\x20Valu\ - es\x20must\x20be\x20at\x20least\x20one\x20millisecond,\x20and\x20will\ - \x20be\x20truncated\x20to\n\x20microsecond\x20granularity.\n\n\x0c\n\x05\ - \x04\x02\x02\x01\x06\x12\x03u\x04\x1c\n\x0c\n\x05\x04\x02\x02\x01\x01\ - \x12\x03u\x1d$\n\x0c\n\x05\x04\x02\x02\x01\x03\x12\x03u'(\nG\n\x04\x04\ - \x02\x02\x02\x12\x03x\x04\"\x1a:\x20Delete\x20cells\x20that\x20would\x20\ - be\x20deleted\x20by\x20every\x20nested\x20rule.\n\n\x0c\n\x05\x04\x02\ - \x02\x02\x06\x12\x03x\x04\x10\n\x0c\n\x05\x04\x02\x02\x02\x01\x12\x03x\ - \x11\x1d\n\x0c\n\x05\x04\x02\x02\x02\x03\x12\x03x\x20!\nE\n\x04\x04\x02\ - \x02\x03\x12\x03{\x04\x14\x1a8\x20Delete\x20cells\x20that\x20would\x20be\ - \x20deleted\x20by\x20any\x20nested\x20rule.\n\n\x0c\n\x05\x04\x02\x02\ - \x03\x06\x12\x03{\x04\t\n\x0c\n\x05\x04\x02\x02\x03\x01\x12\x03{\n\x0f\n\ - \x0c\n\x05\x04\x02\x02\x03\x03\x12\x03{\x12\x13b\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service.rs deleted file mode 100644 index 2e3e081612..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service.rs +++ /dev/null @@ -1,155 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/table/v1/bigtable_table_service.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n;google/bigtable/admin/table/v1/bigtable_table_service.proto\x12\x1ego\ - ogle.bigtable.admin.table.v1\x1a\x1cgoogle/api/annotations.proto\x1a8goo\ - gle/bigtable/admin/table/v1/bigtable_table_data.proto\x1aDgoogle/bigtabl\ - e/admin/table/v1/bigtable_table_service_messages.proto\x1a\x1bgoogle/pro\ - tobuf/empty.proto2\xbe\x0c\n\x14BigtableTableService\x12\xa4\x01\n\x0bCr\ - eateTable\x122.google.bigtable.admin.table.v1.CreateTableRequest\x1a%.go\ - ogle.bigtable.admin.table.v1.Table\":\x82\xd3\xe4\x93\x024\"//v1/{name=p\ - rojects/*/zones/*/clusters/*}/tables:\x01*\x12\xac\x01\n\nListTables\x12\ - 1.google.bigtable.admin.table.v1.ListTablesRequest\x1a2.google.bigtable.\ - admin.table.v1.ListTablesResponse\"7\x82\xd3\xe4\x93\x021\x12//v1/{name=\ - projects/*/zones/*/clusters/*}/tables\x12\x9d\x01\n\x08GetTable\x12/.goo\ - gle.bigtable.admin.table.v1.GetTableRequest\x1a%.google.bigtable.admin.t\ - able.v1.Table\"9\x82\xd3\xe4\x93\x023\x121/v1/{name=projects/*/zones/*/c\ - lusters/*/tables/*}\x12\x94\x01\n\x0bDeleteTable\x122.google.bigtable.ad\ - min.table.v1.DeleteTableRequest\x1a\x16.google.protobuf.Empty\"9\x82\xd3\ - \xe4\x93\x023*1/v1/{name=projects/*/zones/*/clusters/*/tables/*}\x12\x9e\ - \x01\n\x0bRenameTable\x122.google.bigtable.admin.table.v1.RenameTableReq\ - uest\x1a\x16.google.protobuf.Empty\"C\x82\xd3\xe4\x93\x02=\"8/v1/{name=p\ - rojects/*/zones/*/clusters/*/tables/*}:rename:\x01*\x12\xca\x01\n\x12Cre\ - ateColumnFamily\x129.google.bigtable.admin.table.v1.CreateColumnFamilyRe\ - quest\x1a,.google.bigtable.admin.table.v1.ColumnFamily\"K\x82\xd3\xe4\ - \x93\x02E\"@/v1/{name=projects/*/zones/*/clusters/*/tables/*}/columnFami\ - lies:\x01*\x12\xbf\x01\n\x12UpdateColumnFamily\x12,.google.bigtable.admi\ - n.table.v1.ColumnFamily\x1a,.google.bigtable.admin.table.v1.ColumnFamily\ - \"M\x82\xd3\xe4\x93\x02G\x1aB/v1/{name=projects/*/zones/*/clusters/*/tab\ - les/*/columnFamilies/*}:\x01*\x12\xb3\x01\n\x12DeleteColumnFamily\x129.g\ - oogle.bigtable.admin.table.v1.DeleteColumnFamilyRequest\x1a\x16.google.p\ - rotobuf.Empty\"J\x82\xd3\xe4\x93\x02D*B/v1/{name=projects/*/zones/*/clus\ - ters/*/tables/*/columnFamilies/*}\x12\xb2\x01\n\x0eBulkDeleteRows\x125.g\ - oogle.bigtable.admin.table.v1.BulkDeleteRowsRequest\x1a\x16.google.proto\ - buf.Empty\"Q\x82\xd3\xe4\x93\x02K\"F/v1/{table_name=projects/*/zones/*/c\ - lusters/*/tables/*}:bulkDeleteRows:\x01*B\x87\x01\n\"com.google.bigtable\ - .admin.table.v1B\x1aBigtableTableServicesProtoP\x01ZCgoogle.golang.org/g\ - enproto/googleapis/bigtable/admin/table/v1;tableJ\xf9\x12\n\x06\x12\x04\ - \x0e\0O\x01\n\xbd\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb2\x04\x20Copyright\ - \x202017\x20Google\x20Inc.\n\n\x20Licensed\x20under\x20the\x20Apache\x20\ - License,\x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20n\ - ot\x20use\x20this\x20file\x20except\x20in\x20compliance\x20with\x20the\ - \x20License.\n\x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20Lice\ - nse\x20at\n\n\x20\x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-\ - 2.0\n\n\x20Unless\x20required\x20by\x20applicable\x20law\x20or\x20agreed\ - \x20to\x20in\x20writing,\x20software\n\x20distributed\x20under\x20the\ - \x20License\x20is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\ - \x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20e\ - ither\x20express\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20\ - the\x20specific\x20language\x20governing\x20permissions\x20and\n\x20limi\ - tations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0'\n\t\ - \n\x02\x03\0\x12\x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\0B\n\t\n\x02\ - \x03\x02\x12\x03\x14\0N\n\t\n\x02\x03\x03\x12\x03\x15\0%\n\x08\n\x01\x08\ - \x12\x03\x17\0Z\n\t\n\x02\x08\x0b\x12\x03\x17\0Z\n\x08\n\x01\x08\x12\x03\ - \x18\0\"\n\t\n\x02\x08\n\x12\x03\x18\0\"\n\x08\n\x01\x08\x12\x03\x19\0;\ - \n\t\n\x02\x08\x08\x12\x03\x19\0;\n\x08\n\x01\x08\x12\x03\x1a\0;\n\t\n\ - \x02\x08\x01\x12\x03\x1a\0;\n\xa8\x01\n\x02\x06\0\x12\x04\x1f\0O\x01\x1a\ - \x9b\x01\x20Service\x20for\x20creating,\x20configuring,\x20and\x20deleti\ - ng\x20Cloud\x20Bigtable\x20tables.\n\x20Provides\x20access\x20to\x20the\ - \x20table\x20schemas\x20only,\x20not\x20the\x20data\x20stored\x20within\ - \x20the\x20tables.\n\n\n\n\x03\x06\0\x01\x12\x03\x1f\x08\x1c\n\xad\x01\n\ - \x04\x06\0\x02\0\x12\x04#\x02%\x03\x1a\x9e\x01\x20Creates\x20a\x20new\ - \x20table,\x20to\x20be\x20served\x20from\x20a\x20specified\x20cluster.\n\ - \x20The\x20table\x20can\x20be\x20created\x20with\x20a\x20full\x20set\x20\ - of\x20initial\x20column\x20families,\n\x20specified\x20in\x20the\x20requ\ - est.\n\n\x0c\n\x05\x06\0\x02\0\x01\x12\x03#\x06\x11\n\x0c\n\x05\x06\0\ - \x02\0\x02\x12\x03#\x12$\n\x0c\n\x05\x06\0\x02\0\x03\x12\x03#/4\n\x0c\n\ - \x05\x06\0\x02\0\x04\x12\x03$\x04e\n\x10\n\t\x06\0\x02\0\x04\xb0\xca\xbc\ - \"\x12\x03$\x04e\nN\n\x04\x06\0\x02\x01\x12\x04(\x02*\x03\x1a@\x20Lists\ - \x20the\x20names\x20of\x20all\x20tables\x20served\x20from\x20a\x20specif\ - ied\x20cluster.\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\x03(\x06\x10\n\x0c\n\ - \x05\x06\0\x02\x01\x02\x12\x03(\x11\"\n\x0c\n\x05\x06\0\x02\x01\x03\x12\ - \x03(-?\n\x0c\n\x05\x06\0\x02\x01\x04\x12\x03)\x04Z\n\x10\n\t\x06\0\x02\ - \x01\x04\xb0\xca\xbc\"\x12\x03)\x04Z\nV\n\x04\x06\0\x02\x02\x12\x04-\x02\ - /\x03\x1aH\x20Gets\x20the\x20schema\x20of\x20the\x20specified\x20table,\ - \x20including\x20its\x20column\x20families.\n\n\x0c\n\x05\x06\0\x02\x02\ - \x01\x12\x03-\x06\x0e\n\x0c\n\x05\x06\0\x02\x02\x02\x12\x03-\x0f\x1e\n\ - \x0c\n\x05\x06\0\x02\x02\x03\x12\x03-).\n\x0c\n\x05\x06\0\x02\x02\x04\ - \x12\x03.\x04\\\n\x10\n\t\x06\0\x02\x02\x04\xb0\xca\xbc\"\x12\x03.\x04\\\ - \nJ\n\x04\x06\0\x02\x03\x12\x042\x024\x03\x1a<\x20Permanently\x20deletes\ - \x20a\x20specified\x20table\x20and\x20all\x20of\x20its\x20data.\n\n\x0c\ - \n\x05\x06\0\x02\x03\x01\x12\x032\x06\x11\n\x0c\n\x05\x06\0\x02\x03\x02\ - \x12\x032\x12$\n\x0c\n\x05\x06\0\x02\x03\x03\x12\x032/D\n\x0c\n\x05\x06\ - \0\x02\x03\x04\x12\x033\x04_\n\x10\n\t\x06\0\x02\x03\x04\xb0\xca\xbc\"\ - \x12\x033\x04_\n{\n\x04\x06\0\x02\x04\x12\x048\x02:\x03\x1am\x20Changes\ - \x20the\x20name\x20of\x20a\x20specified\x20table.\n\x20Cannot\x20be\x20u\ - sed\x20to\x20move\x20tables\x20between\x20clusters,\x20zones,\x20or\x20p\ - rojects.\n\n\x0c\n\x05\x06\0\x02\x04\x01\x12\x038\x06\x11\n\x0c\n\x05\ - \x06\0\x02\x04\x02\x12\x038\x12$\n\x0c\n\x05\x06\0\x02\x04\x03\x12\x038/\ - D\n\x0c\n\x05\x06\0\x02\x04\x04\x12\x039\x04n\n\x10\n\t\x06\0\x02\x04\ - \x04\xb0\xca\xbc\"\x12\x039\x04n\nE\n\x04\x06\0\x02\x05\x12\x04=\x02?\ - \x03\x1a7\x20Creates\x20a\x20new\x20column\x20family\x20within\x20a\x20s\ - pecified\x20table.\n\n\x0c\n\x05\x06\0\x02\x05\x01\x12\x03=\x06\x18\n\ - \x0c\n\x05\x06\0\x02\x05\x02\x12\x03=\x192\n\x0c\n\x05\x06\0\x02\x05\x03\ - \x12\x03==I\n\x0c\n\x05\x06\0\x02\x05\x04\x12\x03>\x04v\n\x10\n\t\x06\0\ - \x02\x05\x04\xb0\xca\xbc\"\x12\x03>\x04v\nG\n\x04\x06\0\x02\x06\x12\x04B\ - \x02D\x03\x1a9\x20Changes\x20the\x20configuration\x20of\x20a\x20specifie\ - d\x20column\x20family.\n\n\x0c\n\x05\x06\0\x02\x06\x01\x12\x03B\x06\x18\ - \n\x0c\n\x05\x06\0\x02\x06\x02\x12\x03B\x19%\n\x0c\n\x05\x06\0\x02\x06\ - \x03\x12\x03B0<\n\x0c\n\x05\x06\0\x02\x06\x04\x12\x03C\x04w\n\x10\n\t\ - \x06\0\x02\x06\x04\xb0\xca\xbc\"\x12\x03C\x04w\nR\n\x04\x06\0\x02\x07\ - \x12\x04G\x02I\x03\x1aD\x20Permanently\x20deletes\x20a\x20specified\x20c\ - olumn\x20family\x20and\x20all\x20of\x20its\x20data.\n\n\x0c\n\x05\x06\0\ - \x02\x07\x01\x12\x03G\x06\x18\n\x0c\n\x05\x06\0\x02\x07\x02\x12\x03G\x19\ - 2\n\x0c\n\x05\x06\0\x02\x07\x03\x12\x03G=R\n\x0c\n\x05\x06\0\x02\x07\x04\ - \x12\x03H\x04p\n\x10\n\t\x06\0\x02\x07\x04\xb0\xca\xbc\"\x12\x03H\x04p\n\ - O\n\x04\x06\0\x02\x08\x12\x04L\x02N\x03\x1aA\x20Delete\x20all\x20rows\ - \x20in\x20a\x20table\x20corresponding\x20to\x20a\x20particular\x20prefix\ - \n\n\x0c\n\x05\x06\0\x02\x08\x01\x12\x03L\x06\x14\n\x0c\n\x05\x06\0\x02\ - \x08\x02\x12\x03L\x15*\n\x0c\n\x05\x06\0\x02\x08\x03\x12\x03L5J\n\x0c\n\ - \x05\x06\0\x02\x08\x04\x12\x03M\x04|\n\x10\n\t\x06\0\x02\x08\x04\xb0\xca\ - \xbc\"\x12\x03M\x04|b\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service_grpc.rs deleted file mode 100644 index fdd6807b72..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service_grpc.rs +++ /dev/null @@ -1,295 +0,0 @@ -// This file is generated. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] - -const METHOD_BIGTABLE_TABLE_SERVICE_CREATE_TABLE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.table.v1.BigtableTableService/CreateTable", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_SERVICE_LIST_TABLES: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.table.v1.BigtableTableService/ListTables", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_SERVICE_GET_TABLE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.table.v1.BigtableTableService/GetTable", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_SERVICE_DELETE_TABLE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.table.v1.BigtableTableService/DeleteTable", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_SERVICE_RENAME_TABLE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.table.v1.BigtableTableService/RenameTable", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_SERVICE_CREATE_COLUMN_FAMILY: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.table.v1.BigtableTableService/CreateColumnFamily", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_SERVICE_UPDATE_COLUMN_FAMILY: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.table.v1.BigtableTableService/UpdateColumnFamily", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_SERVICE_DELETE_COLUMN_FAMILY: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.table.v1.BigtableTableService/DeleteColumnFamily", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_SERVICE_BULK_DELETE_ROWS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.table.v1.BigtableTableService/BulkDeleteRows", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -#[derive(Clone)] -pub struct BigtableTableServiceClient { - client: ::grpcio::Client, -} - -impl BigtableTableServiceClient { - pub fn new(channel: ::grpcio::Channel) -> Self { - BigtableTableServiceClient { - client: ::grpcio::Client::new(channel), - } - } - - pub fn create_table_opt(&self, req: &super::bigtable_table_service_messages::CreateTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_SERVICE_CREATE_TABLE, req, opt) - } - - pub fn create_table(&self, req: &super::bigtable_table_service_messages::CreateTableRequest) -> ::grpcio::Result { - self.create_table_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_table_async_opt(&self, req: &super::bigtable_table_service_messages::CreateTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_SERVICE_CREATE_TABLE, req, opt) - } - - pub fn create_table_async(&self, req: &super::bigtable_table_service_messages::CreateTableRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_table_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_tables_opt(&self, req: &super::bigtable_table_service_messages::ListTablesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_SERVICE_LIST_TABLES, req, opt) - } - - pub fn list_tables(&self, req: &super::bigtable_table_service_messages::ListTablesRequest) -> ::grpcio::Result { - self.list_tables_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_tables_async_opt(&self, req: &super::bigtable_table_service_messages::ListTablesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_SERVICE_LIST_TABLES, req, opt) - } - - pub fn list_tables_async(&self, req: &super::bigtable_table_service_messages::ListTablesRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_tables_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_table_opt(&self, req: &super::bigtable_table_service_messages::GetTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_SERVICE_GET_TABLE, req, opt) - } - - pub fn get_table(&self, req: &super::bigtable_table_service_messages::GetTableRequest) -> ::grpcio::Result { - self.get_table_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_table_async_opt(&self, req: &super::bigtable_table_service_messages::GetTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_SERVICE_GET_TABLE, req, opt) - } - - pub fn get_table_async(&self, req: &super::bigtable_table_service_messages::GetTableRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_table_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_table_opt(&self, req: &super::bigtable_table_service_messages::DeleteTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_SERVICE_DELETE_TABLE, req, opt) - } - - pub fn delete_table(&self, req: &super::bigtable_table_service_messages::DeleteTableRequest) -> ::grpcio::Result { - self.delete_table_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_table_async_opt(&self, req: &super::bigtable_table_service_messages::DeleteTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_SERVICE_DELETE_TABLE, req, opt) - } - - pub fn delete_table_async(&self, req: &super::bigtable_table_service_messages::DeleteTableRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_table_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn rename_table_opt(&self, req: &super::bigtable_table_service_messages::RenameTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_SERVICE_RENAME_TABLE, req, opt) - } - - pub fn rename_table(&self, req: &super::bigtable_table_service_messages::RenameTableRequest) -> ::grpcio::Result { - self.rename_table_opt(req, ::grpcio::CallOption::default()) - } - - pub fn rename_table_async_opt(&self, req: &super::bigtable_table_service_messages::RenameTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_SERVICE_RENAME_TABLE, req, opt) - } - - pub fn rename_table_async(&self, req: &super::bigtable_table_service_messages::RenameTableRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.rename_table_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_column_family_opt(&self, req: &super::bigtable_table_service_messages::CreateColumnFamilyRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_SERVICE_CREATE_COLUMN_FAMILY, req, opt) - } - - pub fn create_column_family(&self, req: &super::bigtable_table_service_messages::CreateColumnFamilyRequest) -> ::grpcio::Result { - self.create_column_family_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_column_family_async_opt(&self, req: &super::bigtable_table_service_messages::CreateColumnFamilyRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_SERVICE_CREATE_COLUMN_FAMILY, req, opt) - } - - pub fn create_column_family_async(&self, req: &super::bigtable_table_service_messages::CreateColumnFamilyRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_column_family_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_column_family_opt(&self, req: &super::bigtable_table_data::ColumnFamily, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_SERVICE_UPDATE_COLUMN_FAMILY, req, opt) - } - - pub fn update_column_family(&self, req: &super::bigtable_table_data::ColumnFamily) -> ::grpcio::Result { - self.update_column_family_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_column_family_async_opt(&self, req: &super::bigtable_table_data::ColumnFamily, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_SERVICE_UPDATE_COLUMN_FAMILY, req, opt) - } - - pub fn update_column_family_async(&self, req: &super::bigtable_table_data::ColumnFamily) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.update_column_family_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_column_family_opt(&self, req: &super::bigtable_table_service_messages::DeleteColumnFamilyRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_SERVICE_DELETE_COLUMN_FAMILY, req, opt) - } - - pub fn delete_column_family(&self, req: &super::bigtable_table_service_messages::DeleteColumnFamilyRequest) -> ::grpcio::Result { - self.delete_column_family_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_column_family_async_opt(&self, req: &super::bigtable_table_service_messages::DeleteColumnFamilyRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_SERVICE_DELETE_COLUMN_FAMILY, req, opt) - } - - pub fn delete_column_family_async(&self, req: &super::bigtable_table_service_messages::DeleteColumnFamilyRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_column_family_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn bulk_delete_rows_opt(&self, req: &super::bigtable_table_service_messages::BulkDeleteRowsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_SERVICE_BULK_DELETE_ROWS, req, opt) - } - - pub fn bulk_delete_rows(&self, req: &super::bigtable_table_service_messages::BulkDeleteRowsRequest) -> ::grpcio::Result { - self.bulk_delete_rows_opt(req, ::grpcio::CallOption::default()) - } - - pub fn bulk_delete_rows_async_opt(&self, req: &super::bigtable_table_service_messages::BulkDeleteRowsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_SERVICE_BULK_DELETE_ROWS, req, opt) - } - - pub fn bulk_delete_rows_async(&self, req: &super::bigtable_table_service_messages::BulkDeleteRowsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.bulk_delete_rows_async_opt(req, ::grpcio::CallOption::default()) - } - pub fn spawn(&self, f: F) where F: ::futures::Future + Send + 'static { - self.client.spawn(f) - } -} - -pub trait BigtableTableService { - fn create_table(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_service_messages::CreateTableRequest, sink: ::grpcio::UnarySink); - fn list_tables(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_service_messages::ListTablesRequest, sink: ::grpcio::UnarySink); - fn get_table(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_service_messages::GetTableRequest, sink: ::grpcio::UnarySink); - fn delete_table(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_service_messages::DeleteTableRequest, sink: ::grpcio::UnarySink); - fn rename_table(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_service_messages::RenameTableRequest, sink: ::grpcio::UnarySink); - fn create_column_family(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_service_messages::CreateColumnFamilyRequest, sink: ::grpcio::UnarySink); - fn update_column_family(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_data::ColumnFamily, sink: ::grpcio::UnarySink); - fn delete_column_family(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_service_messages::DeleteColumnFamilyRequest, sink: ::grpcio::UnarySink); - fn bulk_delete_rows(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_service_messages::BulkDeleteRowsRequest, sink: ::grpcio::UnarySink); -} - -pub fn create_bigtable_table_service(s: S) -> ::grpcio::Service { - let mut builder = ::grpcio::ServiceBuilder::new(); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_SERVICE_CREATE_TABLE, move |ctx, req, resp| { - instance.create_table(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_SERVICE_LIST_TABLES, move |ctx, req, resp| { - instance.list_tables(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_SERVICE_GET_TABLE, move |ctx, req, resp| { - instance.get_table(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_SERVICE_DELETE_TABLE, move |ctx, req, resp| { - instance.delete_table(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_SERVICE_RENAME_TABLE, move |ctx, req, resp| { - instance.rename_table(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_SERVICE_CREATE_COLUMN_FAMILY, move |ctx, req, resp| { - instance.create_column_family(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_SERVICE_UPDATE_COLUMN_FAMILY, move |ctx, req, resp| { - instance.update_column_family(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_SERVICE_DELETE_COLUMN_FAMILY, move |ctx, req, resp| { - instance.delete_column_family(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_SERVICE_BULK_DELETE_ROWS, move |ctx, req, resp| { - instance.bulk_delete_rows(ctx, req, resp) - }); - builder.build() -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service_messages.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service_messages.rs deleted file mode 100644 index fd59a98de9..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/bigtable_table_service_messages.rs +++ /dev/null @@ -1,2137 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/table/v1/bigtable_table_service_messages.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct CreateTableRequest { - // message fields - pub name: ::std::string::String, - pub table_id: ::std::string::String, - pub table: ::protobuf::SingularPtrField, - pub initial_split_keys: ::protobuf::RepeatedField<::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateTableRequest { - fn default() -> &'a CreateTableRequest { - ::default_instance() - } -} - -impl CreateTableRequest { - pub fn new() -> CreateTableRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string table_id = 2; - - - pub fn get_table_id(&self) -> &str { - &self.table_id - } - pub fn clear_table_id(&mut self) { - self.table_id.clear(); - } - - // Param is passed by value, moved - pub fn set_table_id(&mut self, v: ::std::string::String) { - self.table_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_id(&mut self) -> &mut ::std::string::String { - &mut self.table_id - } - - // Take field - pub fn take_table_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_id, ::std::string::String::new()) - } - - // .google.bigtable.admin.table.v1.Table table = 3; - - - pub fn get_table(&self) -> &super::bigtable_table_data::Table { - self.table.as_ref().unwrap_or_else(|| super::bigtable_table_data::Table::default_instance()) - } - pub fn clear_table(&mut self) { - self.table.clear(); - } - - pub fn has_table(&self) -> bool { - self.table.is_some() - } - - // Param is passed by value, moved - pub fn set_table(&mut self, v: super::bigtable_table_data::Table) { - self.table = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table(&mut self) -> &mut super::bigtable_table_data::Table { - if self.table.is_none() { - self.table.set_default(); - } - self.table.as_mut().unwrap() - } - - // Take field - pub fn take_table(&mut self) -> super::bigtable_table_data::Table { - self.table.take().unwrap_or_else(|| super::bigtable_table_data::Table::new()) - } - - // repeated string initial_split_keys = 4; - - - pub fn get_initial_split_keys(&self) -> &[::std::string::String] { - &self.initial_split_keys - } - pub fn clear_initial_split_keys(&mut self) { - self.initial_split_keys.clear(); - } - - // Param is passed by value, moved - pub fn set_initial_split_keys(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.initial_split_keys = v; - } - - // Mutable pointer to the field. - pub fn mut_initial_split_keys(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.initial_split_keys - } - - // Take field - pub fn take_initial_split_keys(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.initial_split_keys, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for CreateTableRequest { - fn is_initialized(&self) -> bool { - for v in &self.table { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_id)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.table)?; - }, - 4 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.initial_split_keys)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.table_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.table_id); - } - if let Some(ref v) = self.table.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - for value in &self.initial_split_keys { - my_size += ::protobuf::rt::string_size(4, &value); - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.table_id.is_empty() { - os.write_string(2, &self.table_id)?; - } - if let Some(ref v) = self.table.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - for v in &self.initial_split_keys { - os.write_string(4, &v)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateTableRequest { - CreateTableRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &CreateTableRequest| { &m.name }, - |m: &mut CreateTableRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_id", - |m: &CreateTableRequest| { &m.table_id }, - |m: &mut CreateTableRequest| { &mut m.table_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "table", - |m: &CreateTableRequest| { &m.table }, - |m: &mut CreateTableRequest| { &mut m.table }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "initial_split_keys", - |m: &CreateTableRequest| { &m.initial_split_keys }, - |m: &mut CreateTableRequest| { &mut m.initial_split_keys }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateTableRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateTableRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateTableRequest, - }; - unsafe { - instance.get(CreateTableRequest::new) - } - } -} - -impl ::protobuf::Clear for CreateTableRequest { - fn clear(&mut self) { - self.name.clear(); - self.table_id.clear(); - self.table.clear(); - self.initial_split_keys.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateTableRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateTableRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTablesRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTablesRequest { - fn default() -> &'a ListTablesRequest { - ::default_instance() - } -} - -impl ListTablesRequest { - pub fn new() -> ListTablesRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTablesRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTablesRequest { - ListTablesRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &ListTablesRequest| { &m.name }, - |m: &mut ListTablesRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTablesRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTablesRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTablesRequest, - }; - unsafe { - instance.get(ListTablesRequest::new) - } - } -} - -impl ::protobuf::Clear for ListTablesRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTablesRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTablesRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTablesResponse { - // message fields - pub tables: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTablesResponse { - fn default() -> &'a ListTablesResponse { - ::default_instance() - } -} - -impl ListTablesResponse { - pub fn new() -> ListTablesResponse { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.table.v1.Table tables = 1; - - - pub fn get_tables(&self) -> &[super::bigtable_table_data::Table] { - &self.tables - } - pub fn clear_tables(&mut self) { - self.tables.clear(); - } - - // Param is passed by value, moved - pub fn set_tables(&mut self, v: ::protobuf::RepeatedField) { - self.tables = v; - } - - // Mutable pointer to the field. - pub fn mut_tables(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.tables - } - - // Take field - pub fn take_tables(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.tables, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for ListTablesResponse { - fn is_initialized(&self) -> bool { - for v in &self.tables { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.tables)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.tables { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.tables { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTablesResponse { - ListTablesResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "tables", - |m: &ListTablesResponse| { &m.tables }, - |m: &mut ListTablesResponse| { &mut m.tables }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTablesResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTablesResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTablesResponse, - }; - unsafe { - instance.get(ListTablesResponse::new) - } - } -} - -impl ::protobuf::Clear for ListTablesResponse { - fn clear(&mut self) { - self.tables.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTablesResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTablesResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetTableRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetTableRequest { - fn default() -> &'a GetTableRequest { - ::default_instance() - } -} - -impl GetTableRequest { - pub fn new() -> GetTableRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetTableRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetTableRequest { - GetTableRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &GetTableRequest| { &m.name }, - |m: &mut GetTableRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetTableRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetTableRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetTableRequest, - }; - unsafe { - instance.get(GetTableRequest::new) - } - } -} - -impl ::protobuf::Clear for GetTableRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetTableRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetTableRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteTableRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteTableRequest { - fn default() -> &'a DeleteTableRequest { - ::default_instance() - } -} - -impl DeleteTableRequest { - pub fn new() -> DeleteTableRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteTableRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteTableRequest { - DeleteTableRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &DeleteTableRequest| { &m.name }, - |m: &mut DeleteTableRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteTableRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteTableRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteTableRequest, - }; - unsafe { - instance.get(DeleteTableRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteTableRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteTableRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteTableRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RenameTableRequest { - // message fields - pub name: ::std::string::String, - pub new_id: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RenameTableRequest { - fn default() -> &'a RenameTableRequest { - ::default_instance() - } -} - -impl RenameTableRequest { - pub fn new() -> RenameTableRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string new_id = 2; - - - pub fn get_new_id(&self) -> &str { - &self.new_id - } - pub fn clear_new_id(&mut self) { - self.new_id.clear(); - } - - // Param is passed by value, moved - pub fn set_new_id(&mut self, v: ::std::string::String) { - self.new_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_new_id(&mut self) -> &mut ::std::string::String { - &mut self.new_id - } - - // Take field - pub fn take_new_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.new_id, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for RenameTableRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.new_id)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.new_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.new_id); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.new_id.is_empty() { - os.write_string(2, &self.new_id)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RenameTableRequest { - RenameTableRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &RenameTableRequest| { &m.name }, - |m: &mut RenameTableRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "new_id", - |m: &RenameTableRequest| { &m.new_id }, - |m: &mut RenameTableRequest| { &mut m.new_id }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RenameTableRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RenameTableRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RenameTableRequest, - }; - unsafe { - instance.get(RenameTableRequest::new) - } - } -} - -impl ::protobuf::Clear for RenameTableRequest { - fn clear(&mut self) { - self.name.clear(); - self.new_id.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RenameTableRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RenameTableRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateColumnFamilyRequest { - // message fields - pub name: ::std::string::String, - pub column_family_id: ::std::string::String, - pub column_family: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateColumnFamilyRequest { - fn default() -> &'a CreateColumnFamilyRequest { - ::default_instance() - } -} - -impl CreateColumnFamilyRequest { - pub fn new() -> CreateColumnFamilyRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string column_family_id = 2; - - - pub fn get_column_family_id(&self) -> &str { - &self.column_family_id - } - pub fn clear_column_family_id(&mut self) { - self.column_family_id.clear(); - } - - // Param is passed by value, moved - pub fn set_column_family_id(&mut self, v: ::std::string::String) { - self.column_family_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_column_family_id(&mut self) -> &mut ::std::string::String { - &mut self.column_family_id - } - - // Take field - pub fn take_column_family_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.column_family_id, ::std::string::String::new()) - } - - // .google.bigtable.admin.table.v1.ColumnFamily column_family = 3; - - - pub fn get_column_family(&self) -> &super::bigtable_table_data::ColumnFamily { - self.column_family.as_ref().unwrap_or_else(|| super::bigtable_table_data::ColumnFamily::default_instance()) - } - pub fn clear_column_family(&mut self) { - self.column_family.clear(); - } - - pub fn has_column_family(&self) -> bool { - self.column_family.is_some() - } - - // Param is passed by value, moved - pub fn set_column_family(&mut self, v: super::bigtable_table_data::ColumnFamily) { - self.column_family = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_column_family(&mut self) -> &mut super::bigtable_table_data::ColumnFamily { - if self.column_family.is_none() { - self.column_family.set_default(); - } - self.column_family.as_mut().unwrap() - } - - // Take field - pub fn take_column_family(&mut self) -> super::bigtable_table_data::ColumnFamily { - self.column_family.take().unwrap_or_else(|| super::bigtable_table_data::ColumnFamily::new()) - } -} - -impl ::protobuf::Message for CreateColumnFamilyRequest { - fn is_initialized(&self) -> bool { - for v in &self.column_family { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.column_family_id)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.column_family)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.column_family_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.column_family_id); - } - if let Some(ref v) = self.column_family.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.column_family_id.is_empty() { - os.write_string(2, &self.column_family_id)?; - } - if let Some(ref v) = self.column_family.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateColumnFamilyRequest { - CreateColumnFamilyRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &CreateColumnFamilyRequest| { &m.name }, - |m: &mut CreateColumnFamilyRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "column_family_id", - |m: &CreateColumnFamilyRequest| { &m.column_family_id }, - |m: &mut CreateColumnFamilyRequest| { &mut m.column_family_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "column_family", - |m: &CreateColumnFamilyRequest| { &m.column_family }, - |m: &mut CreateColumnFamilyRequest| { &mut m.column_family }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateColumnFamilyRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateColumnFamilyRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateColumnFamilyRequest, - }; - unsafe { - instance.get(CreateColumnFamilyRequest::new) - } - } -} - -impl ::protobuf::Clear for CreateColumnFamilyRequest { - fn clear(&mut self) { - self.name.clear(); - self.column_family_id.clear(); - self.column_family.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateColumnFamilyRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateColumnFamilyRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteColumnFamilyRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteColumnFamilyRequest { - fn default() -> &'a DeleteColumnFamilyRequest { - ::default_instance() - } -} - -impl DeleteColumnFamilyRequest { - pub fn new() -> DeleteColumnFamilyRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteColumnFamilyRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteColumnFamilyRequest { - DeleteColumnFamilyRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &DeleteColumnFamilyRequest| { &m.name }, - |m: &mut DeleteColumnFamilyRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteColumnFamilyRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteColumnFamilyRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteColumnFamilyRequest, - }; - unsafe { - instance.get(DeleteColumnFamilyRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteColumnFamilyRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteColumnFamilyRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteColumnFamilyRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct BulkDeleteRowsRequest { - // message fields - pub table_name: ::std::string::String, - // message oneof groups - pub target: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a BulkDeleteRowsRequest { - fn default() -> &'a BulkDeleteRowsRequest { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum BulkDeleteRowsRequest_oneof_target { - row_key_prefix(::std::vec::Vec), - delete_all_data_from_table(bool), -} - -impl BulkDeleteRowsRequest { - pub fn new() -> BulkDeleteRowsRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // bytes row_key_prefix = 2; - - - pub fn get_row_key_prefix(&self) -> &[u8] { - match self.target { - ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::row_key_prefix(ref v)) => v, - _ => &[], - } - } - pub fn clear_row_key_prefix(&mut self) { - self.target = ::std::option::Option::None; - } - - pub fn has_row_key_prefix(&self) -> bool { - match self.target { - ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::row_key_prefix(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_row_key_prefix(&mut self, v: ::std::vec::Vec) { - self.target = ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::row_key_prefix(v)) - } - - // Mutable pointer to the field. - pub fn mut_row_key_prefix(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::row_key_prefix(_)) = self.target { - } else { - self.target = ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::row_key_prefix(::std::vec::Vec::new())); - } - match self.target { - ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::row_key_prefix(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_row_key_prefix(&mut self) -> ::std::vec::Vec { - if self.has_row_key_prefix() { - match self.target.take() { - ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::row_key_prefix(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bool delete_all_data_from_table = 3; - - - pub fn get_delete_all_data_from_table(&self) -> bool { - match self.target { - ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::delete_all_data_from_table(v)) => v, - _ => false, - } - } - pub fn clear_delete_all_data_from_table(&mut self) { - self.target = ::std::option::Option::None; - } - - pub fn has_delete_all_data_from_table(&self) -> bool { - match self.target { - ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::delete_all_data_from_table(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_delete_all_data_from_table(&mut self, v: bool) { - self.target = ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::delete_all_data_from_table(v)) - } -} - -impl ::protobuf::Message for BulkDeleteRowsRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.target = ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::row_key_prefix(is.read_bytes()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.target = ::std::option::Option::Some(BulkDeleteRowsRequest_oneof_target::delete_all_data_from_table(is.read_bool()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if let ::std::option::Option::Some(ref v) = self.target { - match v { - &BulkDeleteRowsRequest_oneof_target::row_key_prefix(ref v) => { - my_size += ::protobuf::rt::bytes_size(2, &v); - }, - &BulkDeleteRowsRequest_oneof_target::delete_all_data_from_table(v) => { - my_size += 2; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if let ::std::option::Option::Some(ref v) = self.target { - match v { - &BulkDeleteRowsRequest_oneof_target::row_key_prefix(ref v) => { - os.write_bytes(2, v)?; - }, - &BulkDeleteRowsRequest_oneof_target::delete_all_data_from_table(v) => { - os.write_bool(3, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> BulkDeleteRowsRequest { - BulkDeleteRowsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &BulkDeleteRowsRequest| { &m.table_name }, - |m: &mut BulkDeleteRowsRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "row_key_prefix", - BulkDeleteRowsRequest::has_row_key_prefix, - BulkDeleteRowsRequest::get_row_key_prefix, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "delete_all_data_from_table", - BulkDeleteRowsRequest::has_delete_all_data_from_table, - BulkDeleteRowsRequest::get_delete_all_data_from_table, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "BulkDeleteRowsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static BulkDeleteRowsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const BulkDeleteRowsRequest, - }; - unsafe { - instance.get(BulkDeleteRowsRequest::new) - } - } -} - -impl ::protobuf::Clear for BulkDeleteRowsRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.target = ::std::option::Option::None; - self.target = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for BulkDeleteRowsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for BulkDeleteRowsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \nDgoogle/bigtable/admin/table/v1/bigtable_table_service_messages.proto\ - \x12\x1egoogle.bigtable.admin.table.v1\x1a8google/bigtable/admin/table/v\ - 1/bigtable_table_data.proto\"\xae\x01\n\x12CreateTableRequest\x12\x12\n\ - \x04name\x18\x01\x20\x01(\tR\x04name\x12\x19\n\x08table_id\x18\x02\x20\ - \x01(\tR\x07tableId\x12;\n\x05table\x18\x03\x20\x01(\x0b2%.google.bigtab\ - le.admin.table.v1.TableR\x05table\x12,\n\x12initial_split_keys\x18\x04\ - \x20\x03(\tR\x10initialSplitKeys\"'\n\x11ListTablesRequest\x12\x12\n\x04\ - name\x18\x01\x20\x01(\tR\x04name\"S\n\x12ListTablesResponse\x12=\n\x06ta\ - bles\x18\x01\x20\x03(\x0b2%.google.bigtable.admin.table.v1.TableR\x06tab\ - les\"%\n\x0fGetTableRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04nam\ - e\"(\n\x12DeleteTableRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04na\ - me\"?\n\x12RenameTableRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04n\ - ame\x12\x15\n\x06new_id\x18\x02\x20\x01(\tR\x05newId\"\xac\x01\n\x19Crea\ - teColumnFamilyRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x12(\ - \n\x10column_family_id\x18\x02\x20\x01(\tR\x0ecolumnFamilyId\x12Q\n\rcol\ - umn_family\x18\x03\x20\x01(\x0b2,.google.bigtable.admin.table.v1.ColumnF\ - amilyR\x0ccolumnFamily\"/\n\x19DeleteColumnFamilyRequest\x12\x12\n\x04na\ - me\x18\x01\x20\x01(\tR\x04name\"\xa6\x01\n\x15BulkDeleteRowsRequest\x12\ - \x1d\n\ntable_name\x18\x01\x20\x01(\tR\ttableName\x12&\n\x0erow_key_pref\ - ix\x18\x02\x20\x01(\x0cH\0R\x0crowKeyPrefix\x12<\n\x1adelete_all_data_fr\ - om_table\x18\x03\x20\x01(\x08H\0R\x16deleteAllDataFromTableB\x08\n\x06ta\ - rgetB\x8e\x01\n\"com.google.bigtable.admin.table.v1B!BigtableTableServic\ - eMessagesProtoP\x01ZCgoogle.golang.org/genproto/googleapis/bigtable/admi\ - n/table/v1;tableJ\x85!\n\x06\x12\x04\x0e\0s\x01\n\xbd\x04\n\x01\x0c\x12\ - \x03\x0e\0\x122\xb2\x04\x20Copyright\x202017\x20Google\x20Inc.\n\n\x20Li\ - censed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20(the\ - \x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20excep\ - t\x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20may\x20obta\ - in\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\x20\x20htt\ - p://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20required\x20by\ - \x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\x20softwar\ - e\n\x20distributed\x20under\x20the\x20License\x20is\x20distributed\x20on\ - \x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\x20CON\ - DITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20implied.\n\ - \x20See\x20the\x20License\x20for\x20the\x20specific\x20language\x20gover\ - ning\x20permissions\x20and\n\x20limitations\x20under\x20the\x20License.\ - \n\n\x08\n\x01\x02\x12\x03\x10\0'\n\t\n\x02\x03\0\x12\x03\x12\0B\n\x08\n\ - \x01\x08\x12\x03\x14\0Z\n\t\n\x02\x08\x0b\x12\x03\x14\0Z\n\x08\n\x01\x08\ - \x12\x03\x15\0\"\n\t\n\x02\x08\n\x12\x03\x15\0\"\n\x08\n\x01\x08\x12\x03\ - \x16\0B\n\t\n\x02\x08\x08\x12\x03\x16\0B\n\x08\n\x01\x08\x12\x03\x17\0;\ - \n\t\n\x02\x08\x01\x12\x03\x17\0;\n\n\n\x02\x04\0\x12\x04\x1a\06\x01\n\n\ - \n\x03\x04\0\x01\x12\x03\x1a\x08\x1a\nO\n\x04\x04\0\x02\0\x12\x03\x1c\ - \x02\x12\x1aB\x20The\x20unique\x20name\x20of\x20the\x20cluster\x20in\x20\ - which\x20to\x20create\x20the\x20new\x20table.\n\n\r\n\x05\x04\0\x02\0\ - \x04\x12\x04\x1c\x02\x1a\x1c\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03\x1c\x02\ - \x08\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03\x1c\t\r\n\x0c\n\x05\x04\0\x02\0\ - \x03\x12\x03\x1c\x10\x11\n\x94\x01\n\x04\x04\0\x02\x01\x12\x03\x20\x02\ - \x16\x1a\x86\x01\x20The\x20name\x20by\x20which\x20the\x20new\x20table\ - \x20should\x20be\x20referred\x20to\x20within\x20the\x20cluster,\n\x20e.g\ - .\x20\"foobar\"\x20rather\x20than\x20\"/tables/foobar\".\n\ - \n\r\n\x05\x04\0\x02\x01\x04\x12\x04\x20\x02\x1c\x12\n\x0c\n\x05\x04\0\ - \x02\x01\x05\x12\x03\x20\x02\x08\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03\ - \x20\t\x11\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03\x20\x14\x15\n\x9c\x01\n\ - \x04\x04\0\x02\x02\x12\x03$\x02\x12\x1a\x8e\x01\x20The\x20Table\x20to\ - \x20create.\x20The\x20`name`\x20field\x20of\x20the\x20Table\x20and\x20al\ - l\x20of\x20its\n\x20ColumnFamilies\x20must\x20be\x20left\x20blank,\x20an\ - d\x20will\x20be\x20populated\x20in\x20the\x20response.\n\n\r\n\x05\x04\0\ - \x02\x02\x04\x12\x04$\x02\x20\x16\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x03$\ - \x02\x07\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03$\x08\r\n\x0c\n\x05\x04\0\ - \x02\x02\x03\x12\x03$\x10\x11\n\x84\x06\n\x04\x04\0\x02\x03\x12\x035\x02\ - )\x1a\xf6\x05\x20The\x20optional\x20list\x20of\x20row\x20keys\x20that\ - \x20will\x20be\x20used\x20to\x20initially\x20split\x20the\n\x20table\x20\ - into\x20several\x20tablets\x20(Tablets\x20are\x20similar\x20to\x20HBase\ - \x20regions).\n\x20Given\x20two\x20split\x20keys,\x20\"s1\"\x20and\x20\"\ - s2\",\x20three\x20tablets\x20will\x20be\x20created,\n\x20spanning\x20the\ - \x20key\x20ranges:\x20[,\x20s1),\x20[s1,\x20s2),\x20[s2,\x20).\n\n\x20Ex\ - ample:\n\x20\x20*\x20Row\x20keys\x20:=\x20[\"a\",\x20\"apple\",\x20\"cus\ - tom\",\x20\"customer_1\",\x20\"customer_2\",\n\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\"other\",\x20\"zz\"]\n\x20\ - \x20*\x20initial_split_keys\x20:=\x20[\"apple\",\x20\"customer_1\",\x20\ - \"customer_2\",\x20\"other\"]\n\x20\x20*\x20Key\x20assignment:\n\x20\x20\ - \x20\x20-\x20Tablet\x201\x20[,\x20apple)\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20=>\x20{\"a\"}.\n\x20\x20\x20\x20-\x20Tab\ - let\x202\x20[apple,\x20customer_1)\x20\x20\x20\x20\x20\x20=>\x20{\"apple\ - \",\x20\"custom\"}.\n\x20\x20\x20\x20-\x20Tablet\x203\x20[customer_1,\ - \x20customer_2)\x20=>\x20{\"customer_1\"}.\n\x20\x20\x20\x20-\x20Tablet\ - \x204\x20[customer_2,\x20other)\x20\x20\x20\x20\x20\x20=>\x20{\"customer\ - _2\"}.\n\x20\x20\x20\x20-\x20Tablet\x205\x20[other,\x20)\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20=>\x20{\"other\",\x20\"z\ - z\"}.\n\n\x0c\n\x05\x04\0\x02\x03\x04\x12\x035\x02\n\n\x0c\n\x05\x04\0\ - \x02\x03\x05\x12\x035\x0b\x11\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x035\x12\ - $\n\x0c\n\x05\x04\0\x02\x03\x03\x12\x035'(\n\n\n\x02\x04\x01\x12\x048\0;\ - \x01\n\n\n\x03\x04\x01\x01\x12\x038\x08\x19\nP\n\x04\x04\x01\x02\0\x12\ - \x03:\x02\x12\x1aC\x20The\x20unique\x20name\x20of\x20the\x20cluster\x20f\ - or\x20which\x20tables\x20should\x20be\x20listed.\n\n\r\n\x05\x04\x01\x02\ - \0\x04\x12\x04:\x028\x1b\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03:\x02\x08\ - \n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03:\t\r\n\x0c\n\x05\x04\x01\x02\0\ - \x03\x12\x03:\x10\x11\n\n\n\x02\x04\x02\x12\x04=\0A\x01\n\n\n\x03\x04\ - \x02\x01\x12\x03=\x08\x1a\nt\n\x04\x04\x02\x02\0\x12\x03@\x02\x1c\x1ag\ - \x20The\x20tables\x20present\x20in\x20the\x20requested\x20cluster.\n\x20\ - At\x20present,\x20only\x20the\x20names\x20of\x20the\x20tables\x20are\x20\ - populated.\n\n\x0c\n\x05\x04\x02\x02\0\x04\x12\x03@\x02\n\n\x0c\n\x05\ - \x04\x02\x02\0\x06\x12\x03@\x0b\x10\n\x0c\n\x05\x04\x02\x02\0\x01\x12\ - \x03@\x11\x17\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03@\x1a\x1b\n\n\n\x02\ - \x04\x03\x12\x04C\0F\x01\n\n\n\x03\x04\x03\x01\x12\x03C\x08\x17\n6\n\x04\ - \x04\x03\x02\0\x12\x03E\x02\x12\x1a)\x20The\x20unique\x20name\x20of\x20t\ - he\x20requested\x20table.\n\n\r\n\x05\x04\x03\x02\0\x04\x12\x04E\x02C\ - \x19\n\x0c\n\x05\x04\x03\x02\0\x05\x12\x03E\x02\x08\n\x0c\n\x05\x04\x03\ - \x02\0\x01\x12\x03E\t\r\n\x0c\n\x05\x04\x03\x02\0\x03\x12\x03E\x10\x11\n\ - \n\n\x02\x04\x04\x12\x04H\0K\x01\n\n\n\x03\x04\x04\x01\x12\x03H\x08\x1a\ - \n:\n\x04\x04\x04\x02\0\x12\x03J\x02\x12\x1a-\x20The\x20unique\x20name\ - \x20of\x20the\x20table\x20to\x20be\x20deleted.\n\n\r\n\x05\x04\x04\x02\0\ - \x04\x12\x04J\x02H\x1c\n\x0c\n\x05\x04\x04\x02\0\x05\x12\x03J\x02\x08\n\ - \x0c\n\x05\x04\x04\x02\0\x01\x12\x03J\t\r\n\x0c\n\x05\x04\x04\x02\0\x03\ - \x12\x03J\x10\x11\n\n\n\x02\x04\x05\x12\x04M\0T\x01\n\n\n\x03\x04\x05\ - \x01\x12\x03M\x08\x1a\n4\n\x04\x04\x05\x02\0\x12\x03O\x02\x12\x1a'\x20Th\ - e\x20current\x20unique\x20name\x20of\x20the\x20table.\n\n\r\n\x05\x04\ - \x05\x02\0\x04\x12\x04O\x02M\x1c\n\x0c\n\x05\x04\x05\x02\0\x05\x12\x03O\ - \x02\x08\n\x0c\n\x05\x04\x05\x02\0\x01\x12\x03O\t\r\n\x0c\n\x05\x04\x05\ - \x02\0\x03\x12\x03O\x10\x11\n\x9f\x01\n\x04\x04\x05\x02\x01\x12\x03S\x02\ - \x14\x1a\x91\x01\x20The\x20new\x20name\x20by\x20which\x20the\x20table\ - \x20should\x20be\x20referred\x20to\x20within\x20its\x20containing\n\x20c\ - luster,\x20e.g.\x20\"foobar\"\x20rather\x20than\x20\"/tabl\ - es/foobar\".\n\n\r\n\x05\x04\x05\x02\x01\x04\x12\x04S\x02O\x12\n\x0c\n\ - \x05\x04\x05\x02\x01\x05\x12\x03S\x02\x08\n\x0c\n\x05\x04\x05\x02\x01\ - \x01\x12\x03S\t\x0f\n\x0c\n\x05\x04\x05\x02\x01\x03\x12\x03S\x12\x13\n\n\ - \n\x02\x04\x06\x12\x04V\0`\x01\n\n\n\x03\x04\x06\x01\x12\x03V\x08!\nU\n\ - \x04\x04\x06\x02\0\x12\x03X\x02\x12\x1aH\x20The\x20unique\x20name\x20of\ - \x20the\x20table\x20in\x20which\x20to\x20create\x20the\x20new\x20column\ - \x20family.\n\n\r\n\x05\x04\x06\x02\0\x04\x12\x04X\x02V#\n\x0c\n\x05\x04\ - \x06\x02\0\x05\x12\x03X\x02\x08\n\x0c\n\x05\x04\x06\x02\0\x01\x12\x03X\t\ - \r\n\x0c\n\x05\x04\x06\x02\0\x03\x12\x03X\x10\x11\n\xa0\x01\n\x04\x04\ - \x06\x02\x01\x12\x03\\\x02\x1e\x1a\x92\x01\x20The\x20name\x20by\x20which\ - \x20the\x20new\x20column\x20family\x20should\x20be\x20referred\x20to\x20\ - within\x20the\n\x20table,\x20e.g.\x20\"foobar\"\x20rather\x20than\x20\"<\ - table_name>/columnFamilies/foobar\".\n\n\r\n\x05\x04\x06\x02\x01\x04\x12\ - \x04\\\x02X\x12\n\x0c\n\x05\x04\x06\x02\x01\x05\x12\x03\\\x02\x08\n\x0c\ - \n\x05\x04\x06\x02\x01\x01\x12\x03\\\t\x19\n\x0c\n\x05\x04\x06\x02\x01\ - \x03\x12\x03\\\x1c\x1d\nP\n\x04\x04\x06\x02\x02\x12\x03_\x02!\x1aC\x20Th\ - e\x20column\x20family\x20to\x20create.\x20The\x20`name`\x20field\x20must\ - \x20be\x20left\x20blank.\n\n\r\n\x05\x04\x06\x02\x02\x04\x12\x04_\x02\\\ - \x1e\n\x0c\n\x05\x04\x06\x02\x02\x06\x12\x03_\x02\x0e\n\x0c\n\x05\x04\ - \x06\x02\x02\x01\x12\x03_\x0f\x1c\n\x0c\n\x05\x04\x06\x02\x02\x03\x12\ - \x03_\x1f\x20\n\n\n\x02\x04\x07\x12\x04b\0e\x01\n\n\n\x03\x04\x07\x01\ - \x12\x03b\x08!\nB\n\x04\x04\x07\x02\0\x12\x03d\x02\x12\x1a5\x20The\x20un\ - ique\x20name\x20of\x20the\x20column\x20family\x20to\x20be\x20deleted.\n\ - \n\r\n\x05\x04\x07\x02\0\x04\x12\x04d\x02b#\n\x0c\n\x05\x04\x07\x02\0\ - \x05\x12\x03d\x02\x08\n\x0c\n\x05\x04\x07\x02\0\x01\x12\x03d\t\r\n\x0c\n\ - \x05\x04\x07\x02\0\x03\x12\x03d\x10\x11\n\n\n\x02\x04\x08\x12\x04g\0s\ - \x01\n\n\n\x03\x04\x08\x01\x12\x03g\x08\x1d\nO\n\x04\x04\x08\x02\0\x12\ - \x03i\x02\x18\x1aB\x20The\x20unique\x20name\x20of\x20the\x20table\x20on\ - \x20which\x20to\x20perform\x20the\x20bulk\x20delete\n\n\r\n\x05\x04\x08\ - \x02\0\x04\x12\x04i\x02g\x1f\n\x0c\n\x05\x04\x08\x02\0\x05\x12\x03i\x02\ - \x08\n\x0c\n\x05\x04\x08\x02\0\x01\x12\x03i\t\x13\n\x0c\n\x05\x04\x08\ - \x02\0\x03\x12\x03i\x16\x17\n\x0c\n\x04\x04\x08\x08\0\x12\x04k\x02r\x03\ - \n\x0c\n\x05\x04\x08\x08\0\x01\x12\x03k\x08\x0e\nb\n\x04\x04\x08\x02\x01\ - \x12\x03n\x04\x1d\x1aU\x20Delete\x20all\x20rows\x20that\x20start\x20with\ - \x20this\x20row\x20key\x20prefix.\x20Prefix\x20cannot\x20be\n\x20zero\ - \x20length.\n\n\x0c\n\x05\x04\x08\x02\x01\x05\x12\x03n\x04\t\n\x0c\n\x05\ - \x04\x08\x02\x01\x01\x12\x03n\n\x18\n\x0c\n\x05\x04\x08\x02\x01\x03\x12\ - \x03n\x1b\x1c\nN\n\x04\x04\x08\x02\x02\x12\x03q\x04(\x1aA\x20Delete\x20a\ - ll\x20rows\x20in\x20the\x20table.\x20Setting\x20this\x20to\x20false\x20i\ - s\x20a\x20no-op.\n\n\x0c\n\x05\x04\x08\x02\x02\x05\x12\x03q\x04\x08\n\ - \x0c\n\x05\x04\x08\x02\x02\x01\x12\x03q\t#\n\x0c\n\x05\x04\x08\x02\x02\ - \x03\x12\x03q&'b\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/mod.rs deleted file mode 100644 index aff0a6bbc2..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/table/v1/mod.rs +++ /dev/null @@ -1,7 +0,0 @@ -pub mod bigtable_table_data; -pub mod bigtable_table_service; -pub mod bigtable_table_service_grpc; -pub mod bigtable_table_service_messages; - -pub(crate) use crate::empty; -pub(crate) use crate::longrunning::operations; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_instance_admin.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_instance_admin.rs deleted file mode 100644 index ec9b808dd3..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_instance_admin.rs +++ /dev/null @@ -1,5872 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/v2/bigtable_instance_admin.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct CreateInstanceRequest { - // message fields - pub parent: ::std::string::String, - pub instance_id: ::std::string::String, - pub instance: ::protobuf::SingularPtrField, - pub clusters: ::std::collections::HashMap<::std::string::String, super::instance::Cluster>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateInstanceRequest { - fn default() -> &'a CreateInstanceRequest { - ::default_instance() - } -} - -impl CreateInstanceRequest { - pub fn new() -> CreateInstanceRequest { - ::std::default::Default::default() - } - - // string parent = 1; - - - pub fn get_parent(&self) -> &str { - &self.parent - } - pub fn clear_parent(&mut self) { - self.parent.clear(); - } - - // Param is passed by value, moved - pub fn set_parent(&mut self, v: ::std::string::String) { - self.parent = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_parent(&mut self) -> &mut ::std::string::String { - &mut self.parent - } - - // Take field - pub fn take_parent(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.parent, ::std::string::String::new()) - } - - // string instance_id = 2; - - - pub fn get_instance_id(&self) -> &str { - &self.instance_id - } - pub fn clear_instance_id(&mut self) { - self.instance_id.clear(); - } - - // Param is passed by value, moved - pub fn set_instance_id(&mut self, v: ::std::string::String) { - self.instance_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_instance_id(&mut self) -> &mut ::std::string::String { - &mut self.instance_id - } - - // Take field - pub fn take_instance_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.instance_id, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.Instance instance = 3; - - - pub fn get_instance(&self) -> &super::instance::Instance { - self.instance.as_ref().unwrap_or_else(|| super::instance::Instance::default_instance()) - } - pub fn clear_instance(&mut self) { - self.instance.clear(); - } - - pub fn has_instance(&self) -> bool { - self.instance.is_some() - } - - // Param is passed by value, moved - pub fn set_instance(&mut self, v: super::instance::Instance) { - self.instance = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_instance(&mut self) -> &mut super::instance::Instance { - if self.instance.is_none() { - self.instance.set_default(); - } - self.instance.as_mut().unwrap() - } - - // Take field - pub fn take_instance(&mut self) -> super::instance::Instance { - self.instance.take().unwrap_or_else(|| super::instance::Instance::new()) - } - - // repeated .google.bigtable.admin.v2.CreateInstanceRequest.ClustersEntry clusters = 4; - - - pub fn get_clusters(&self) -> &::std::collections::HashMap<::std::string::String, super::instance::Cluster> { - &self.clusters - } - pub fn clear_clusters(&mut self) { - self.clusters.clear(); - } - - // Param is passed by value, moved - pub fn set_clusters(&mut self, v: ::std::collections::HashMap<::std::string::String, super::instance::Cluster>) { - self.clusters = v; - } - - // Mutable pointer to the field. - pub fn mut_clusters(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, super::instance::Cluster> { - &mut self.clusters - } - - // Take field - pub fn take_clusters(&mut self) -> ::std::collections::HashMap<::std::string::String, super::instance::Cluster> { - ::std::mem::replace(&mut self.clusters, ::std::collections::HashMap::new()) - } -} - -impl ::protobuf::Message for CreateInstanceRequest { - fn is_initialized(&self) -> bool { - for v in &self.instance { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.instance_id)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.instance)?; - }, - 4 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(wire_type, is, &mut self.clusters)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.parent.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.parent); - } - if !self.instance_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.instance_id); - } - if let Some(ref v) = self.instance.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(4, &self.clusters); - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.parent.is_empty() { - os.write_string(1, &self.parent)?; - } - if !self.instance_id.is_empty() { - os.write_string(2, &self.instance_id)?; - } - if let Some(ref v) = self.instance.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(4, &self.clusters, os)?; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateInstanceRequest { - CreateInstanceRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "parent", - |m: &CreateInstanceRequest| { &m.parent }, - |m: &mut CreateInstanceRequest| { &mut m.parent }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "instance_id", - |m: &CreateInstanceRequest| { &m.instance_id }, - |m: &mut CreateInstanceRequest| { &mut m.instance_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "instance", - |m: &CreateInstanceRequest| { &m.instance }, - |m: &mut CreateInstanceRequest| { &mut m.instance }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>( - "clusters", - |m: &CreateInstanceRequest| { &m.clusters }, - |m: &mut CreateInstanceRequest| { &mut m.clusters }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateInstanceRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateInstanceRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateInstanceRequest, - }; - unsafe { - instance.get(CreateInstanceRequest::new) - } - } -} - -impl ::protobuf::Clear for CreateInstanceRequest { - fn clear(&mut self) { - self.parent.clear(); - self.instance_id.clear(); - self.instance.clear(); - self.clusters.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateInstanceRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateInstanceRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetInstanceRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetInstanceRequest { - fn default() -> &'a GetInstanceRequest { - ::default_instance() - } -} - -impl GetInstanceRequest { - pub fn new() -> GetInstanceRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetInstanceRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetInstanceRequest { - GetInstanceRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &GetInstanceRequest| { &m.name }, - |m: &mut GetInstanceRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetInstanceRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetInstanceRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetInstanceRequest, - }; - unsafe { - instance.get(GetInstanceRequest::new) - } - } -} - -impl ::protobuf::Clear for GetInstanceRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetInstanceRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetInstanceRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListInstancesRequest { - // message fields - pub parent: ::std::string::String, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListInstancesRequest { - fn default() -> &'a ListInstancesRequest { - ::default_instance() - } -} - -impl ListInstancesRequest { - pub fn new() -> ListInstancesRequest { - ::std::default::Default::default() - } - - // string parent = 1; - - - pub fn get_parent(&self) -> &str { - &self.parent - } - pub fn clear_parent(&mut self) { - self.parent.clear(); - } - - // Param is passed by value, moved - pub fn set_parent(&mut self, v: ::std::string::String) { - self.parent = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_parent(&mut self) -> &mut ::std::string::String { - &mut self.parent - } - - // Take field - pub fn take_parent(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.parent, ::std::string::String::new()) - } - - // string page_token = 2; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListInstancesRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.parent.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.parent); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.parent.is_empty() { - os.write_string(1, &self.parent)?; - } - if !self.page_token.is_empty() { - os.write_string(2, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListInstancesRequest { - ListInstancesRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "parent", - |m: &ListInstancesRequest| { &m.parent }, - |m: &mut ListInstancesRequest| { &mut m.parent }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListInstancesRequest| { &m.page_token }, - |m: &mut ListInstancesRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListInstancesRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListInstancesRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListInstancesRequest, - }; - unsafe { - instance.get(ListInstancesRequest::new) - } - } -} - -impl ::protobuf::Clear for ListInstancesRequest { - fn clear(&mut self) { - self.parent.clear(); - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListInstancesRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListInstancesRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListInstancesResponse { - // message fields - pub instances: ::protobuf::RepeatedField, - pub failed_locations: ::protobuf::RepeatedField<::std::string::String>, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListInstancesResponse { - fn default() -> &'a ListInstancesResponse { - ::default_instance() - } -} - -impl ListInstancesResponse { - pub fn new() -> ListInstancesResponse { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.v2.Instance instances = 1; - - - pub fn get_instances(&self) -> &[super::instance::Instance] { - &self.instances - } - pub fn clear_instances(&mut self) { - self.instances.clear(); - } - - // Param is passed by value, moved - pub fn set_instances(&mut self, v: ::protobuf::RepeatedField) { - self.instances = v; - } - - // Mutable pointer to the field. - pub fn mut_instances(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.instances - } - - // Take field - pub fn take_instances(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.instances, ::protobuf::RepeatedField::new()) - } - - // repeated string failed_locations = 2; - - - pub fn get_failed_locations(&self) -> &[::std::string::String] { - &self.failed_locations - } - pub fn clear_failed_locations(&mut self) { - self.failed_locations.clear(); - } - - // Param is passed by value, moved - pub fn set_failed_locations(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.failed_locations = v; - } - - // Mutable pointer to the field. - pub fn mut_failed_locations(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.failed_locations - } - - // Take field - pub fn take_failed_locations(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.failed_locations, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 3; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListInstancesResponse { - fn is_initialized(&self) -> bool { - for v in &self.instances { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.instances)?; - }, - 2 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.failed_locations)?; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.instances { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - for value in &self.failed_locations { - my_size += ::protobuf::rt::string_size(2, &value); - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.instances { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - for v in &self.failed_locations { - os.write_string(2, &v)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(3, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListInstancesResponse { - ListInstancesResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "instances", - |m: &ListInstancesResponse| { &m.instances }, - |m: &mut ListInstancesResponse| { &mut m.instances }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "failed_locations", - |m: &ListInstancesResponse| { &m.failed_locations }, - |m: &mut ListInstancesResponse| { &mut m.failed_locations }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListInstancesResponse| { &m.next_page_token }, - |m: &mut ListInstancesResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListInstancesResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListInstancesResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListInstancesResponse, - }; - unsafe { - instance.get(ListInstancesResponse::new) - } - } -} - -impl ::protobuf::Clear for ListInstancesResponse { - fn clear(&mut self) { - self.instances.clear(); - self.failed_locations.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListInstancesResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListInstancesResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PartialUpdateInstanceRequest { - // message fields - pub instance: ::protobuf::SingularPtrField, - pub update_mask: ::protobuf::SingularPtrField<::protobuf::well_known_types::FieldMask>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PartialUpdateInstanceRequest { - fn default() -> &'a PartialUpdateInstanceRequest { - ::default_instance() - } -} - -impl PartialUpdateInstanceRequest { - pub fn new() -> PartialUpdateInstanceRequest { - ::std::default::Default::default() - } - - // .google.bigtable.admin.v2.Instance instance = 1; - - - pub fn get_instance(&self) -> &super::instance::Instance { - self.instance.as_ref().unwrap_or_else(|| super::instance::Instance::default_instance()) - } - pub fn clear_instance(&mut self) { - self.instance.clear(); - } - - pub fn has_instance(&self) -> bool { - self.instance.is_some() - } - - // Param is passed by value, moved - pub fn set_instance(&mut self, v: super::instance::Instance) { - self.instance = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_instance(&mut self) -> &mut super::instance::Instance { - if self.instance.is_none() { - self.instance.set_default(); - } - self.instance.as_mut().unwrap() - } - - // Take field - pub fn take_instance(&mut self) -> super::instance::Instance { - self.instance.take().unwrap_or_else(|| super::instance::Instance::new()) - } - - // .google.protobuf.FieldMask update_mask = 2; - - - pub fn get_update_mask(&self) -> &::protobuf::well_known_types::FieldMask { - self.update_mask.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::default_instance()) - } - pub fn clear_update_mask(&mut self) { - self.update_mask.clear(); - } - - pub fn has_update_mask(&self) -> bool { - self.update_mask.is_some() - } - - // Param is passed by value, moved - pub fn set_update_mask(&mut self, v: ::protobuf::well_known_types::FieldMask) { - self.update_mask = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_update_mask(&mut self) -> &mut ::protobuf::well_known_types::FieldMask { - if self.update_mask.is_none() { - self.update_mask.set_default(); - } - self.update_mask.as_mut().unwrap() - } - - // Take field - pub fn take_update_mask(&mut self) -> ::protobuf::well_known_types::FieldMask { - self.update_mask.take().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::new()) - } -} - -impl ::protobuf::Message for PartialUpdateInstanceRequest { - fn is_initialized(&self) -> bool { - for v in &self.instance { - if !v.is_initialized() { - return false; - } - }; - for v in &self.update_mask { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.instance)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.update_mask)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.instance.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.update_mask.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.instance.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.update_mask.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PartialUpdateInstanceRequest { - PartialUpdateInstanceRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "instance", - |m: &PartialUpdateInstanceRequest| { &m.instance }, - |m: &mut PartialUpdateInstanceRequest| { &mut m.instance }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::FieldMask>>( - "update_mask", - |m: &PartialUpdateInstanceRequest| { &m.update_mask }, - |m: &mut PartialUpdateInstanceRequest| { &mut m.update_mask }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PartialUpdateInstanceRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PartialUpdateInstanceRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PartialUpdateInstanceRequest, - }; - unsafe { - instance.get(PartialUpdateInstanceRequest::new) - } - } -} - -impl ::protobuf::Clear for PartialUpdateInstanceRequest { - fn clear(&mut self) { - self.instance.clear(); - self.update_mask.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PartialUpdateInstanceRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PartialUpdateInstanceRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteInstanceRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteInstanceRequest { - fn default() -> &'a DeleteInstanceRequest { - ::default_instance() - } -} - -impl DeleteInstanceRequest { - pub fn new() -> DeleteInstanceRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteInstanceRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteInstanceRequest { - DeleteInstanceRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &DeleteInstanceRequest| { &m.name }, - |m: &mut DeleteInstanceRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteInstanceRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteInstanceRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteInstanceRequest, - }; - unsafe { - instance.get(DeleteInstanceRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteInstanceRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteInstanceRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteInstanceRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateClusterRequest { - // message fields - pub parent: ::std::string::String, - pub cluster_id: ::std::string::String, - pub cluster: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateClusterRequest { - fn default() -> &'a CreateClusterRequest { - ::default_instance() - } -} - -impl CreateClusterRequest { - pub fn new() -> CreateClusterRequest { - ::std::default::Default::default() - } - - // string parent = 1; - - - pub fn get_parent(&self) -> &str { - &self.parent - } - pub fn clear_parent(&mut self) { - self.parent.clear(); - } - - // Param is passed by value, moved - pub fn set_parent(&mut self, v: ::std::string::String) { - self.parent = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_parent(&mut self) -> &mut ::std::string::String { - &mut self.parent - } - - // Take field - pub fn take_parent(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.parent, ::std::string::String::new()) - } - - // string cluster_id = 2; - - - pub fn get_cluster_id(&self) -> &str { - &self.cluster_id - } - pub fn clear_cluster_id(&mut self) { - self.cluster_id.clear(); - } - - // Param is passed by value, moved - pub fn set_cluster_id(&mut self, v: ::std::string::String) { - self.cluster_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_cluster_id(&mut self) -> &mut ::std::string::String { - &mut self.cluster_id - } - - // Take field - pub fn take_cluster_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.cluster_id, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.Cluster cluster = 3; - - - pub fn get_cluster(&self) -> &super::instance::Cluster { - self.cluster.as_ref().unwrap_or_else(|| super::instance::Cluster::default_instance()) - } - pub fn clear_cluster(&mut self) { - self.cluster.clear(); - } - - pub fn has_cluster(&self) -> bool { - self.cluster.is_some() - } - - // Param is passed by value, moved - pub fn set_cluster(&mut self, v: super::instance::Cluster) { - self.cluster = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_cluster(&mut self) -> &mut super::instance::Cluster { - if self.cluster.is_none() { - self.cluster.set_default(); - } - self.cluster.as_mut().unwrap() - } - - // Take field - pub fn take_cluster(&mut self) -> super::instance::Cluster { - self.cluster.take().unwrap_or_else(|| super::instance::Cluster::new()) - } -} - -impl ::protobuf::Message for CreateClusterRequest { - fn is_initialized(&self) -> bool { - for v in &self.cluster { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.cluster_id)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.cluster)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.parent.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.parent); - } - if !self.cluster_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.cluster_id); - } - if let Some(ref v) = self.cluster.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.parent.is_empty() { - os.write_string(1, &self.parent)?; - } - if !self.cluster_id.is_empty() { - os.write_string(2, &self.cluster_id)?; - } - if let Some(ref v) = self.cluster.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateClusterRequest { - CreateClusterRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "parent", - |m: &CreateClusterRequest| { &m.parent }, - |m: &mut CreateClusterRequest| { &mut m.parent }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "cluster_id", - |m: &CreateClusterRequest| { &m.cluster_id }, - |m: &mut CreateClusterRequest| { &mut m.cluster_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "cluster", - |m: &CreateClusterRequest| { &m.cluster }, - |m: &mut CreateClusterRequest| { &mut m.cluster }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateClusterRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateClusterRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateClusterRequest, - }; - unsafe { - instance.get(CreateClusterRequest::new) - } - } -} - -impl ::protobuf::Clear for CreateClusterRequest { - fn clear(&mut self) { - self.parent.clear(); - self.cluster_id.clear(); - self.cluster.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateClusterRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateClusterRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetClusterRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetClusterRequest { - fn default() -> &'a GetClusterRequest { - ::default_instance() - } -} - -impl GetClusterRequest { - pub fn new() -> GetClusterRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetClusterRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetClusterRequest { - GetClusterRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &GetClusterRequest| { &m.name }, - |m: &mut GetClusterRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetClusterRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetClusterRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetClusterRequest, - }; - unsafe { - instance.get(GetClusterRequest::new) - } - } -} - -impl ::protobuf::Clear for GetClusterRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetClusterRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetClusterRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListClustersRequest { - // message fields - pub parent: ::std::string::String, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListClustersRequest { - fn default() -> &'a ListClustersRequest { - ::default_instance() - } -} - -impl ListClustersRequest { - pub fn new() -> ListClustersRequest { - ::std::default::Default::default() - } - - // string parent = 1; - - - pub fn get_parent(&self) -> &str { - &self.parent - } - pub fn clear_parent(&mut self) { - self.parent.clear(); - } - - // Param is passed by value, moved - pub fn set_parent(&mut self, v: ::std::string::String) { - self.parent = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_parent(&mut self) -> &mut ::std::string::String { - &mut self.parent - } - - // Take field - pub fn take_parent(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.parent, ::std::string::String::new()) - } - - // string page_token = 2; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListClustersRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.parent.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.parent); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.parent.is_empty() { - os.write_string(1, &self.parent)?; - } - if !self.page_token.is_empty() { - os.write_string(2, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListClustersRequest { - ListClustersRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "parent", - |m: &ListClustersRequest| { &m.parent }, - |m: &mut ListClustersRequest| { &mut m.parent }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListClustersRequest| { &m.page_token }, - |m: &mut ListClustersRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListClustersRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListClustersRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListClustersRequest, - }; - unsafe { - instance.get(ListClustersRequest::new) - } - } -} - -impl ::protobuf::Clear for ListClustersRequest { - fn clear(&mut self) { - self.parent.clear(); - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListClustersRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListClustersRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListClustersResponse { - // message fields - pub clusters: ::protobuf::RepeatedField, - pub failed_locations: ::protobuf::RepeatedField<::std::string::String>, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListClustersResponse { - fn default() -> &'a ListClustersResponse { - ::default_instance() - } -} - -impl ListClustersResponse { - pub fn new() -> ListClustersResponse { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.v2.Cluster clusters = 1; - - - pub fn get_clusters(&self) -> &[super::instance::Cluster] { - &self.clusters - } - pub fn clear_clusters(&mut self) { - self.clusters.clear(); - } - - // Param is passed by value, moved - pub fn set_clusters(&mut self, v: ::protobuf::RepeatedField) { - self.clusters = v; - } - - // Mutable pointer to the field. - pub fn mut_clusters(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.clusters - } - - // Take field - pub fn take_clusters(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.clusters, ::protobuf::RepeatedField::new()) - } - - // repeated string failed_locations = 2; - - - pub fn get_failed_locations(&self) -> &[::std::string::String] { - &self.failed_locations - } - pub fn clear_failed_locations(&mut self) { - self.failed_locations.clear(); - } - - // Param is passed by value, moved - pub fn set_failed_locations(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.failed_locations = v; - } - - // Mutable pointer to the field. - pub fn mut_failed_locations(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.failed_locations - } - - // Take field - pub fn take_failed_locations(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.failed_locations, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 3; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListClustersResponse { - fn is_initialized(&self) -> bool { - for v in &self.clusters { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.clusters)?; - }, - 2 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.failed_locations)?; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.clusters { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - for value in &self.failed_locations { - my_size += ::protobuf::rt::string_size(2, &value); - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.clusters { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - for v in &self.failed_locations { - os.write_string(2, &v)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(3, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListClustersResponse { - ListClustersResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "clusters", - |m: &ListClustersResponse| { &m.clusters }, - |m: &mut ListClustersResponse| { &mut m.clusters }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "failed_locations", - |m: &ListClustersResponse| { &m.failed_locations }, - |m: &mut ListClustersResponse| { &mut m.failed_locations }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListClustersResponse| { &m.next_page_token }, - |m: &mut ListClustersResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListClustersResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListClustersResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListClustersResponse, - }; - unsafe { - instance.get(ListClustersResponse::new) - } - } -} - -impl ::protobuf::Clear for ListClustersResponse { - fn clear(&mut self) { - self.clusters.clear(); - self.failed_locations.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListClustersResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListClustersResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteClusterRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteClusterRequest { - fn default() -> &'a DeleteClusterRequest { - ::default_instance() - } -} - -impl DeleteClusterRequest { - pub fn new() -> DeleteClusterRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteClusterRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteClusterRequest { - DeleteClusterRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &DeleteClusterRequest| { &m.name }, - |m: &mut DeleteClusterRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteClusterRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteClusterRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteClusterRequest, - }; - unsafe { - instance.get(DeleteClusterRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteClusterRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteClusterRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteClusterRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateInstanceMetadata { - // message fields - pub original_request: ::protobuf::SingularPtrField, - pub request_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub finish_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateInstanceMetadata { - fn default() -> &'a CreateInstanceMetadata { - ::default_instance() - } -} - -impl CreateInstanceMetadata { - pub fn new() -> CreateInstanceMetadata { - ::std::default::Default::default() - } - - // .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - - - pub fn get_original_request(&self) -> &CreateInstanceRequest { - self.original_request.as_ref().unwrap_or_else(|| CreateInstanceRequest::default_instance()) - } - pub fn clear_original_request(&mut self) { - self.original_request.clear(); - } - - pub fn has_original_request(&self) -> bool { - self.original_request.is_some() - } - - // Param is passed by value, moved - pub fn set_original_request(&mut self, v: CreateInstanceRequest) { - self.original_request = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_original_request(&mut self) -> &mut CreateInstanceRequest { - if self.original_request.is_none() { - self.original_request.set_default(); - } - self.original_request.as_mut().unwrap() - } - - // Take field - pub fn take_original_request(&mut self) -> CreateInstanceRequest { - self.original_request.take().unwrap_or_else(|| CreateInstanceRequest::new()) - } - - // .google.protobuf.Timestamp request_time = 2; - - - pub fn get_request_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.request_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_request_time(&mut self) { - self.request_time.clear(); - } - - pub fn has_request_time(&self) -> bool { - self.request_time.is_some() - } - - // Param is passed by value, moved - pub fn set_request_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.request_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_request_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.request_time.is_none() { - self.request_time.set_default(); - } - self.request_time.as_mut().unwrap() - } - - // Take field - pub fn take_request_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.request_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp finish_time = 3; - - - pub fn get_finish_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.finish_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_finish_time(&mut self) { - self.finish_time.clear(); - } - - pub fn has_finish_time(&self) -> bool { - self.finish_time.is_some() - } - - // Param is passed by value, moved - pub fn set_finish_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.finish_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_finish_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.finish_time.is_none() { - self.finish_time.set_default(); - } - self.finish_time.as_mut().unwrap() - } - - // Take field - pub fn take_finish_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.finish_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } -} - -impl ::protobuf::Message for CreateInstanceMetadata { - fn is_initialized(&self) -> bool { - for v in &self.original_request { - if !v.is_initialized() { - return false; - } - }; - for v in &self.request_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.finish_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.original_request)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.request_time)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.finish_time)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.original_request.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.request_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.finish_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.original_request.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.request_time.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.finish_time.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateInstanceMetadata { - CreateInstanceMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "original_request", - |m: &CreateInstanceMetadata| { &m.original_request }, - |m: &mut CreateInstanceMetadata| { &mut m.original_request }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "request_time", - |m: &CreateInstanceMetadata| { &m.request_time }, - |m: &mut CreateInstanceMetadata| { &mut m.request_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "finish_time", - |m: &CreateInstanceMetadata| { &m.finish_time }, - |m: &mut CreateInstanceMetadata| { &mut m.finish_time }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateInstanceMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateInstanceMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateInstanceMetadata, - }; - unsafe { - instance.get(CreateInstanceMetadata::new) - } - } -} - -impl ::protobuf::Clear for CreateInstanceMetadata { - fn clear(&mut self) { - self.original_request.clear(); - self.request_time.clear(); - self.finish_time.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateInstanceMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateInstanceMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct UpdateInstanceMetadata { - // message fields - pub original_request: ::protobuf::SingularPtrField, - pub request_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub finish_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a UpdateInstanceMetadata { - fn default() -> &'a UpdateInstanceMetadata { - ::default_instance() - } -} - -impl UpdateInstanceMetadata { - pub fn new() -> UpdateInstanceMetadata { - ::std::default::Default::default() - } - - // .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - - - pub fn get_original_request(&self) -> &PartialUpdateInstanceRequest { - self.original_request.as_ref().unwrap_or_else(|| PartialUpdateInstanceRequest::default_instance()) - } - pub fn clear_original_request(&mut self) { - self.original_request.clear(); - } - - pub fn has_original_request(&self) -> bool { - self.original_request.is_some() - } - - // Param is passed by value, moved - pub fn set_original_request(&mut self, v: PartialUpdateInstanceRequest) { - self.original_request = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_original_request(&mut self) -> &mut PartialUpdateInstanceRequest { - if self.original_request.is_none() { - self.original_request.set_default(); - } - self.original_request.as_mut().unwrap() - } - - // Take field - pub fn take_original_request(&mut self) -> PartialUpdateInstanceRequest { - self.original_request.take().unwrap_or_else(|| PartialUpdateInstanceRequest::new()) - } - - // .google.protobuf.Timestamp request_time = 2; - - - pub fn get_request_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.request_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_request_time(&mut self) { - self.request_time.clear(); - } - - pub fn has_request_time(&self) -> bool { - self.request_time.is_some() - } - - // Param is passed by value, moved - pub fn set_request_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.request_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_request_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.request_time.is_none() { - self.request_time.set_default(); - } - self.request_time.as_mut().unwrap() - } - - // Take field - pub fn take_request_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.request_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp finish_time = 3; - - - pub fn get_finish_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.finish_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_finish_time(&mut self) { - self.finish_time.clear(); - } - - pub fn has_finish_time(&self) -> bool { - self.finish_time.is_some() - } - - // Param is passed by value, moved - pub fn set_finish_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.finish_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_finish_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.finish_time.is_none() { - self.finish_time.set_default(); - } - self.finish_time.as_mut().unwrap() - } - - // Take field - pub fn take_finish_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.finish_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } -} - -impl ::protobuf::Message for UpdateInstanceMetadata { - fn is_initialized(&self) -> bool { - for v in &self.original_request { - if !v.is_initialized() { - return false; - } - }; - for v in &self.request_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.finish_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.original_request)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.request_time)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.finish_time)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.original_request.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.request_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.finish_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.original_request.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.request_time.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.finish_time.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> UpdateInstanceMetadata { - UpdateInstanceMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "original_request", - |m: &UpdateInstanceMetadata| { &m.original_request }, - |m: &mut UpdateInstanceMetadata| { &mut m.original_request }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "request_time", - |m: &UpdateInstanceMetadata| { &m.request_time }, - |m: &mut UpdateInstanceMetadata| { &mut m.request_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "finish_time", - |m: &UpdateInstanceMetadata| { &m.finish_time }, - |m: &mut UpdateInstanceMetadata| { &mut m.finish_time }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "UpdateInstanceMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static UpdateInstanceMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateInstanceMetadata, - }; - unsafe { - instance.get(UpdateInstanceMetadata::new) - } - } -} - -impl ::protobuf::Clear for UpdateInstanceMetadata { - fn clear(&mut self) { - self.original_request.clear(); - self.request_time.clear(); - self.finish_time.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for UpdateInstanceMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for UpdateInstanceMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateClusterMetadata { - // message fields - pub original_request: ::protobuf::SingularPtrField, - pub request_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub finish_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateClusterMetadata { - fn default() -> &'a CreateClusterMetadata { - ::default_instance() - } -} - -impl CreateClusterMetadata { - pub fn new() -> CreateClusterMetadata { - ::std::default::Default::default() - } - - // .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - - - pub fn get_original_request(&self) -> &CreateClusterRequest { - self.original_request.as_ref().unwrap_or_else(|| CreateClusterRequest::default_instance()) - } - pub fn clear_original_request(&mut self) { - self.original_request.clear(); - } - - pub fn has_original_request(&self) -> bool { - self.original_request.is_some() - } - - // Param is passed by value, moved - pub fn set_original_request(&mut self, v: CreateClusterRequest) { - self.original_request = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_original_request(&mut self) -> &mut CreateClusterRequest { - if self.original_request.is_none() { - self.original_request.set_default(); - } - self.original_request.as_mut().unwrap() - } - - // Take field - pub fn take_original_request(&mut self) -> CreateClusterRequest { - self.original_request.take().unwrap_or_else(|| CreateClusterRequest::new()) - } - - // .google.protobuf.Timestamp request_time = 2; - - - pub fn get_request_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.request_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_request_time(&mut self) { - self.request_time.clear(); - } - - pub fn has_request_time(&self) -> bool { - self.request_time.is_some() - } - - // Param is passed by value, moved - pub fn set_request_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.request_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_request_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.request_time.is_none() { - self.request_time.set_default(); - } - self.request_time.as_mut().unwrap() - } - - // Take field - pub fn take_request_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.request_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp finish_time = 3; - - - pub fn get_finish_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.finish_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_finish_time(&mut self) { - self.finish_time.clear(); - } - - pub fn has_finish_time(&self) -> bool { - self.finish_time.is_some() - } - - // Param is passed by value, moved - pub fn set_finish_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.finish_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_finish_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.finish_time.is_none() { - self.finish_time.set_default(); - } - self.finish_time.as_mut().unwrap() - } - - // Take field - pub fn take_finish_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.finish_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } -} - -impl ::protobuf::Message for CreateClusterMetadata { - fn is_initialized(&self) -> bool { - for v in &self.original_request { - if !v.is_initialized() { - return false; - } - }; - for v in &self.request_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.finish_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.original_request)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.request_time)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.finish_time)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.original_request.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.request_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.finish_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.original_request.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.request_time.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.finish_time.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateClusterMetadata { - CreateClusterMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "original_request", - |m: &CreateClusterMetadata| { &m.original_request }, - |m: &mut CreateClusterMetadata| { &mut m.original_request }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "request_time", - |m: &CreateClusterMetadata| { &m.request_time }, - |m: &mut CreateClusterMetadata| { &mut m.request_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "finish_time", - |m: &CreateClusterMetadata| { &m.finish_time }, - |m: &mut CreateClusterMetadata| { &mut m.finish_time }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateClusterMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateClusterMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateClusterMetadata, - }; - unsafe { - instance.get(CreateClusterMetadata::new) - } - } -} - -impl ::protobuf::Clear for CreateClusterMetadata { - fn clear(&mut self) { - self.original_request.clear(); - self.request_time.clear(); - self.finish_time.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateClusterMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateClusterMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct UpdateClusterMetadata { - // message fields - pub original_request: ::protobuf::SingularPtrField, - pub request_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub finish_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a UpdateClusterMetadata { - fn default() -> &'a UpdateClusterMetadata { - ::default_instance() - } -} - -impl UpdateClusterMetadata { - pub fn new() -> UpdateClusterMetadata { - ::std::default::Default::default() - } - - // .google.bigtable.admin.v2.Cluster original_request = 1; - - - pub fn get_original_request(&self) -> &super::instance::Cluster { - self.original_request.as_ref().unwrap_or_else(|| super::instance::Cluster::default_instance()) - } - pub fn clear_original_request(&mut self) { - self.original_request.clear(); - } - - pub fn has_original_request(&self) -> bool { - self.original_request.is_some() - } - - // Param is passed by value, moved - pub fn set_original_request(&mut self, v: super::instance::Cluster) { - self.original_request = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_original_request(&mut self) -> &mut super::instance::Cluster { - if self.original_request.is_none() { - self.original_request.set_default(); - } - self.original_request.as_mut().unwrap() - } - - // Take field - pub fn take_original_request(&mut self) -> super::instance::Cluster { - self.original_request.take().unwrap_or_else(|| super::instance::Cluster::new()) - } - - // .google.protobuf.Timestamp request_time = 2; - - - pub fn get_request_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.request_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_request_time(&mut self) { - self.request_time.clear(); - } - - pub fn has_request_time(&self) -> bool { - self.request_time.is_some() - } - - // Param is passed by value, moved - pub fn set_request_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.request_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_request_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.request_time.is_none() { - self.request_time.set_default(); - } - self.request_time.as_mut().unwrap() - } - - // Take field - pub fn take_request_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.request_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp finish_time = 3; - - - pub fn get_finish_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.finish_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_finish_time(&mut self) { - self.finish_time.clear(); - } - - pub fn has_finish_time(&self) -> bool { - self.finish_time.is_some() - } - - // Param is passed by value, moved - pub fn set_finish_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.finish_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_finish_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.finish_time.is_none() { - self.finish_time.set_default(); - } - self.finish_time.as_mut().unwrap() - } - - // Take field - pub fn take_finish_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.finish_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } -} - -impl ::protobuf::Message for UpdateClusterMetadata { - fn is_initialized(&self) -> bool { - for v in &self.original_request { - if !v.is_initialized() { - return false; - } - }; - for v in &self.request_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.finish_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.original_request)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.request_time)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.finish_time)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.original_request.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.request_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.finish_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.original_request.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.request_time.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.finish_time.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> UpdateClusterMetadata { - UpdateClusterMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "original_request", - |m: &UpdateClusterMetadata| { &m.original_request }, - |m: &mut UpdateClusterMetadata| { &mut m.original_request }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "request_time", - |m: &UpdateClusterMetadata| { &m.request_time }, - |m: &mut UpdateClusterMetadata| { &mut m.request_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "finish_time", - |m: &UpdateClusterMetadata| { &m.finish_time }, - |m: &mut UpdateClusterMetadata| { &mut m.finish_time }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "UpdateClusterMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static UpdateClusterMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateClusterMetadata, - }; - unsafe { - instance.get(UpdateClusterMetadata::new) - } - } -} - -impl ::protobuf::Clear for UpdateClusterMetadata { - fn clear(&mut self) { - self.original_request.clear(); - self.request_time.clear(); - self.finish_time.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for UpdateClusterMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for UpdateClusterMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateAppProfileRequest { - // message fields - pub parent: ::std::string::String, - pub app_profile_id: ::std::string::String, - pub app_profile: ::protobuf::SingularPtrField, - pub ignore_warnings: bool, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateAppProfileRequest { - fn default() -> &'a CreateAppProfileRequest { - ::default_instance() - } -} - -impl CreateAppProfileRequest { - pub fn new() -> CreateAppProfileRequest { - ::std::default::Default::default() - } - - // string parent = 1; - - - pub fn get_parent(&self) -> &str { - &self.parent - } - pub fn clear_parent(&mut self) { - self.parent.clear(); - } - - // Param is passed by value, moved - pub fn set_parent(&mut self, v: ::std::string::String) { - self.parent = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_parent(&mut self) -> &mut ::std::string::String { - &mut self.parent - } - - // Take field - pub fn take_parent(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.parent, ::std::string::String::new()) - } - - // string app_profile_id = 2; - - - pub fn get_app_profile_id(&self) -> &str { - &self.app_profile_id - } - pub fn clear_app_profile_id(&mut self) { - self.app_profile_id.clear(); - } - - // Param is passed by value, moved - pub fn set_app_profile_id(&mut self, v: ::std::string::String) { - self.app_profile_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_app_profile_id(&mut self) -> &mut ::std::string::String { - &mut self.app_profile_id - } - - // Take field - pub fn take_app_profile_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.app_profile_id, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.AppProfile app_profile = 3; - - - pub fn get_app_profile(&self) -> &super::instance::AppProfile { - self.app_profile.as_ref().unwrap_or_else(|| super::instance::AppProfile::default_instance()) - } - pub fn clear_app_profile(&mut self) { - self.app_profile.clear(); - } - - pub fn has_app_profile(&self) -> bool { - self.app_profile.is_some() - } - - // Param is passed by value, moved - pub fn set_app_profile(&mut self, v: super::instance::AppProfile) { - self.app_profile = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_app_profile(&mut self) -> &mut super::instance::AppProfile { - if self.app_profile.is_none() { - self.app_profile.set_default(); - } - self.app_profile.as_mut().unwrap() - } - - // Take field - pub fn take_app_profile(&mut self) -> super::instance::AppProfile { - self.app_profile.take().unwrap_or_else(|| super::instance::AppProfile::new()) - } - - // bool ignore_warnings = 4; - - - pub fn get_ignore_warnings(&self) -> bool { - self.ignore_warnings - } - pub fn clear_ignore_warnings(&mut self) { - self.ignore_warnings = false; - } - - // Param is passed by value, moved - pub fn set_ignore_warnings(&mut self, v: bool) { - self.ignore_warnings = v; - } -} - -impl ::protobuf::Message for CreateAppProfileRequest { - fn is_initialized(&self) -> bool { - for v in &self.app_profile { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.app_profile_id)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.app_profile)?; - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.ignore_warnings = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.parent.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.parent); - } - if !self.app_profile_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.app_profile_id); - } - if let Some(ref v) = self.app_profile.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if self.ignore_warnings != false { - my_size += 2; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.parent.is_empty() { - os.write_string(1, &self.parent)?; - } - if !self.app_profile_id.is_empty() { - os.write_string(2, &self.app_profile_id)?; - } - if let Some(ref v) = self.app_profile.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if self.ignore_warnings != false { - os.write_bool(4, self.ignore_warnings)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateAppProfileRequest { - CreateAppProfileRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "parent", - |m: &CreateAppProfileRequest| { &m.parent }, - |m: &mut CreateAppProfileRequest| { &mut m.parent }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "app_profile_id", - |m: &CreateAppProfileRequest| { &m.app_profile_id }, - |m: &mut CreateAppProfileRequest| { &mut m.app_profile_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "app_profile", - |m: &CreateAppProfileRequest| { &m.app_profile }, - |m: &mut CreateAppProfileRequest| { &mut m.app_profile }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "ignore_warnings", - |m: &CreateAppProfileRequest| { &m.ignore_warnings }, - |m: &mut CreateAppProfileRequest| { &mut m.ignore_warnings }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateAppProfileRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateAppProfileRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateAppProfileRequest, - }; - unsafe { - instance.get(CreateAppProfileRequest::new) - } - } -} - -impl ::protobuf::Clear for CreateAppProfileRequest { - fn clear(&mut self) { - self.parent.clear(); - self.app_profile_id.clear(); - self.app_profile.clear(); - self.ignore_warnings = false; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateAppProfileRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateAppProfileRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetAppProfileRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetAppProfileRequest { - fn default() -> &'a GetAppProfileRequest { - ::default_instance() - } -} - -impl GetAppProfileRequest { - pub fn new() -> GetAppProfileRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetAppProfileRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetAppProfileRequest { - GetAppProfileRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &GetAppProfileRequest| { &m.name }, - |m: &mut GetAppProfileRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetAppProfileRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetAppProfileRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetAppProfileRequest, - }; - unsafe { - instance.get(GetAppProfileRequest::new) - } - } -} - -impl ::protobuf::Clear for GetAppProfileRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetAppProfileRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetAppProfileRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListAppProfilesRequest { - // message fields - pub parent: ::std::string::String, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListAppProfilesRequest { - fn default() -> &'a ListAppProfilesRequest { - ::default_instance() - } -} - -impl ListAppProfilesRequest { - pub fn new() -> ListAppProfilesRequest { - ::std::default::Default::default() - } - - // string parent = 1; - - - pub fn get_parent(&self) -> &str { - &self.parent - } - pub fn clear_parent(&mut self) { - self.parent.clear(); - } - - // Param is passed by value, moved - pub fn set_parent(&mut self, v: ::std::string::String) { - self.parent = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_parent(&mut self) -> &mut ::std::string::String { - &mut self.parent - } - - // Take field - pub fn take_parent(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.parent, ::std::string::String::new()) - } - - // int32 page_size = 3; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 2; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListAppProfilesRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.parent.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.parent); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(3, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.parent.is_empty() { - os.write_string(1, &self.parent)?; - } - if self.page_size != 0 { - os.write_int32(3, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(2, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListAppProfilesRequest { - ListAppProfilesRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "parent", - |m: &ListAppProfilesRequest| { &m.parent }, - |m: &mut ListAppProfilesRequest| { &mut m.parent }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListAppProfilesRequest| { &m.page_size }, - |m: &mut ListAppProfilesRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListAppProfilesRequest| { &m.page_token }, - |m: &mut ListAppProfilesRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListAppProfilesRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListAppProfilesRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListAppProfilesRequest, - }; - unsafe { - instance.get(ListAppProfilesRequest::new) - } - } -} - -impl ::protobuf::Clear for ListAppProfilesRequest { - fn clear(&mut self) { - self.parent.clear(); - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListAppProfilesRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListAppProfilesRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListAppProfilesResponse { - // message fields - pub app_profiles: ::protobuf::RepeatedField, - pub next_page_token: ::std::string::String, - pub failed_locations: ::protobuf::RepeatedField<::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListAppProfilesResponse { - fn default() -> &'a ListAppProfilesResponse { - ::default_instance() - } -} - -impl ListAppProfilesResponse { - pub fn new() -> ListAppProfilesResponse { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; - - - pub fn get_app_profiles(&self) -> &[super::instance::AppProfile] { - &self.app_profiles - } - pub fn clear_app_profiles(&mut self) { - self.app_profiles.clear(); - } - - // Param is passed by value, moved - pub fn set_app_profiles(&mut self, v: ::protobuf::RepeatedField) { - self.app_profiles = v; - } - - // Mutable pointer to the field. - pub fn mut_app_profiles(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.app_profiles - } - - // Take field - pub fn take_app_profiles(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.app_profiles, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } - - // repeated string failed_locations = 3; - - - pub fn get_failed_locations(&self) -> &[::std::string::String] { - &self.failed_locations - } - pub fn clear_failed_locations(&mut self) { - self.failed_locations.clear(); - } - - // Param is passed by value, moved - pub fn set_failed_locations(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.failed_locations = v; - } - - // Mutable pointer to the field. - pub fn mut_failed_locations(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.failed_locations - } - - // Take field - pub fn take_failed_locations(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.failed_locations, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for ListAppProfilesResponse { - fn is_initialized(&self) -> bool { - for v in &self.app_profiles { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.app_profiles)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - 3 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.failed_locations)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.app_profiles { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - for value in &self.failed_locations { - my_size += ::protobuf::rt::string_size(3, &value); - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.app_profiles { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - for v in &self.failed_locations { - os.write_string(3, &v)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListAppProfilesResponse { - ListAppProfilesResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "app_profiles", - |m: &ListAppProfilesResponse| { &m.app_profiles }, - |m: &mut ListAppProfilesResponse| { &mut m.app_profiles }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListAppProfilesResponse| { &m.next_page_token }, - |m: &mut ListAppProfilesResponse| { &mut m.next_page_token }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "failed_locations", - |m: &ListAppProfilesResponse| { &m.failed_locations }, - |m: &mut ListAppProfilesResponse| { &mut m.failed_locations }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListAppProfilesResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListAppProfilesResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListAppProfilesResponse, - }; - unsafe { - instance.get(ListAppProfilesResponse::new) - } - } -} - -impl ::protobuf::Clear for ListAppProfilesResponse { - fn clear(&mut self) { - self.app_profiles.clear(); - self.next_page_token.clear(); - self.failed_locations.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListAppProfilesResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListAppProfilesResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct UpdateAppProfileRequest { - // message fields - pub app_profile: ::protobuf::SingularPtrField, - pub update_mask: ::protobuf::SingularPtrField<::protobuf::well_known_types::FieldMask>, - pub ignore_warnings: bool, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a UpdateAppProfileRequest { - fn default() -> &'a UpdateAppProfileRequest { - ::default_instance() - } -} - -impl UpdateAppProfileRequest { - pub fn new() -> UpdateAppProfileRequest { - ::std::default::Default::default() - } - - // .google.bigtable.admin.v2.AppProfile app_profile = 1; - - - pub fn get_app_profile(&self) -> &super::instance::AppProfile { - self.app_profile.as_ref().unwrap_or_else(|| super::instance::AppProfile::default_instance()) - } - pub fn clear_app_profile(&mut self) { - self.app_profile.clear(); - } - - pub fn has_app_profile(&self) -> bool { - self.app_profile.is_some() - } - - // Param is passed by value, moved - pub fn set_app_profile(&mut self, v: super::instance::AppProfile) { - self.app_profile = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_app_profile(&mut self) -> &mut super::instance::AppProfile { - if self.app_profile.is_none() { - self.app_profile.set_default(); - } - self.app_profile.as_mut().unwrap() - } - - // Take field - pub fn take_app_profile(&mut self) -> super::instance::AppProfile { - self.app_profile.take().unwrap_or_else(|| super::instance::AppProfile::new()) - } - - // .google.protobuf.FieldMask update_mask = 2; - - - pub fn get_update_mask(&self) -> &::protobuf::well_known_types::FieldMask { - self.update_mask.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::default_instance()) - } - pub fn clear_update_mask(&mut self) { - self.update_mask.clear(); - } - - pub fn has_update_mask(&self) -> bool { - self.update_mask.is_some() - } - - // Param is passed by value, moved - pub fn set_update_mask(&mut self, v: ::protobuf::well_known_types::FieldMask) { - self.update_mask = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_update_mask(&mut self) -> &mut ::protobuf::well_known_types::FieldMask { - if self.update_mask.is_none() { - self.update_mask.set_default(); - } - self.update_mask.as_mut().unwrap() - } - - // Take field - pub fn take_update_mask(&mut self) -> ::protobuf::well_known_types::FieldMask { - self.update_mask.take().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::new()) - } - - // bool ignore_warnings = 3; - - - pub fn get_ignore_warnings(&self) -> bool { - self.ignore_warnings - } - pub fn clear_ignore_warnings(&mut self) { - self.ignore_warnings = false; - } - - // Param is passed by value, moved - pub fn set_ignore_warnings(&mut self, v: bool) { - self.ignore_warnings = v; - } -} - -impl ::protobuf::Message for UpdateAppProfileRequest { - fn is_initialized(&self) -> bool { - for v in &self.app_profile { - if !v.is_initialized() { - return false; - } - }; - for v in &self.update_mask { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.app_profile)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.update_mask)?; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.ignore_warnings = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.app_profile.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.update_mask.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if self.ignore_warnings != false { - my_size += 2; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.app_profile.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.update_mask.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if self.ignore_warnings != false { - os.write_bool(3, self.ignore_warnings)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> UpdateAppProfileRequest { - UpdateAppProfileRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "app_profile", - |m: &UpdateAppProfileRequest| { &m.app_profile }, - |m: &mut UpdateAppProfileRequest| { &mut m.app_profile }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::FieldMask>>( - "update_mask", - |m: &UpdateAppProfileRequest| { &m.update_mask }, - |m: &mut UpdateAppProfileRequest| { &mut m.update_mask }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "ignore_warnings", - |m: &UpdateAppProfileRequest| { &m.ignore_warnings }, - |m: &mut UpdateAppProfileRequest| { &mut m.ignore_warnings }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "UpdateAppProfileRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static UpdateAppProfileRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateAppProfileRequest, - }; - unsafe { - instance.get(UpdateAppProfileRequest::new) - } - } -} - -impl ::protobuf::Clear for UpdateAppProfileRequest { - fn clear(&mut self) { - self.app_profile.clear(); - self.update_mask.clear(); - self.ignore_warnings = false; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for UpdateAppProfileRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for UpdateAppProfileRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteAppProfileRequest { - // message fields - pub name: ::std::string::String, - pub ignore_warnings: bool, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteAppProfileRequest { - fn default() -> &'a DeleteAppProfileRequest { - ::default_instance() - } -} - -impl DeleteAppProfileRequest { - pub fn new() -> DeleteAppProfileRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // bool ignore_warnings = 2; - - - pub fn get_ignore_warnings(&self) -> bool { - self.ignore_warnings - } - pub fn clear_ignore_warnings(&mut self) { - self.ignore_warnings = false; - } - - // Param is passed by value, moved - pub fn set_ignore_warnings(&mut self, v: bool) { - self.ignore_warnings = v; - } -} - -impl ::protobuf::Message for DeleteAppProfileRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.ignore_warnings = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if self.ignore_warnings != false { - my_size += 2; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if self.ignore_warnings != false { - os.write_bool(2, self.ignore_warnings)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteAppProfileRequest { - DeleteAppProfileRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &DeleteAppProfileRequest| { &m.name }, - |m: &mut DeleteAppProfileRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "ignore_warnings", - |m: &DeleteAppProfileRequest| { &m.ignore_warnings }, - |m: &mut DeleteAppProfileRequest| { &mut m.ignore_warnings }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteAppProfileRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteAppProfileRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteAppProfileRequest, - }; - unsafe { - instance.get(DeleteAppProfileRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteAppProfileRequest { - fn clear(&mut self) { - self.name.clear(); - self.ignore_warnings = false; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteAppProfileRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteAppProfileRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct UpdateAppProfileMetadata { - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a UpdateAppProfileMetadata { - fn default() -> &'a UpdateAppProfileMetadata { - ::default_instance() - } -} - -impl UpdateAppProfileMetadata { - pub fn new() -> UpdateAppProfileMetadata { - ::std::default::Default::default() - } -} - -impl ::protobuf::Message for UpdateAppProfileMetadata { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> UpdateAppProfileMetadata { - UpdateAppProfileMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let fields = ::std::vec::Vec::new(); - ::protobuf::reflect::MessageDescriptor::new::( - "UpdateAppProfileMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static UpdateAppProfileMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateAppProfileMetadata, - }; - unsafe { - instance.get(UpdateAppProfileMetadata::new) - } - } -} - -impl ::protobuf::Clear for UpdateAppProfileMetadata { - fn clear(&mut self) { - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for UpdateAppProfileMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for UpdateAppProfileMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n6google/bigtable/admin/v2/bigtable_instance_admin.proto\x12\x18google.\ - bigtable.admin.v2\x1a\x1cgoogle/api/annotations.proto\x1a'google/bigtabl\ - e/admin/v2/instance.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1ag\ - oogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\ - \x1bgoogle/protobuf/empty.proto\x1a\x20google/protobuf/field_mask.proto\ - \x1a\x1fgoogle/protobuf/timestamp.proto\"\xcb\x02\n\x15CreateInstanceReq\ - uest\x12\x16\n\x06parent\x18\x01\x20\x01(\tR\x06parent\x12\x1f\n\x0binst\ - ance_id\x18\x02\x20\x01(\tR\ninstanceId\x12>\n\x08instance\x18\x03\x20\ - \x01(\x0b2\".google.bigtable.admin.v2.InstanceR\x08instance\x12Y\n\x08cl\ - usters\x18\x04\x20\x03(\x0b2=.google.bigtable.admin.v2.CreateInstanceReq\ - uest.ClustersEntryR\x08clusters\x1a^\n\rClustersEntry\x12\x10\n\x03key\ - \x18\x01\x20\x01(\tR\x03key\x127\n\x05value\x18\x02\x20\x01(\x0b2!.googl\ - e.bigtable.admin.v2.ClusterR\x05value:\x028\x01\"(\n\x12GetInstanceReque\ - st\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\"M\n\x14ListInstancesRe\ - quest\x12\x16\n\x06parent\x18\x01\x20\x01(\tR\x06parent\x12\x1d\n\npage_\ - token\x18\x02\x20\x01(\tR\tpageToken\"\xac\x01\n\x15ListInstancesRespons\ - e\x12@\n\tinstances\x18\x01\x20\x03(\x0b2\".google.bigtable.admin.v2.Ins\ - tanceR\tinstances\x12)\n\x10failed_locations\x18\x02\x20\x03(\tR\x0ffail\ - edLocations\x12&\n\x0fnext_page_token\x18\x03\x20\x01(\tR\rnextPageToken\ - \"\x9b\x01\n\x1cPartialUpdateInstanceRequest\x12>\n\x08instance\x18\x01\ - \x20\x01(\x0b2\".google.bigtable.admin.v2.InstanceR\x08instance\x12;\n\ - \x0bupdate_mask\x18\x02\x20\x01(\x0b2\x1a.google.protobuf.FieldMaskR\nup\ - dateMask\"+\n\x15DeleteInstanceRequest\x12\x12\n\x04name\x18\x01\x20\x01\ - (\tR\x04name\"\x8a\x01\n\x14CreateClusterRequest\x12\x16\n\x06parent\x18\ - \x01\x20\x01(\tR\x06parent\x12\x1d\n\ncluster_id\x18\x02\x20\x01(\tR\tcl\ - usterId\x12;\n\x07cluster\x18\x03\x20\x01(\x0b2!.google.bigtable.admin.v\ - 2.ClusterR\x07cluster\"'\n\x11GetClusterRequest\x12\x12\n\x04name\x18\ - \x01\x20\x01(\tR\x04name\"L\n\x13ListClustersRequest\x12\x16\n\x06parent\ - \x18\x01\x20\x01(\tR\x06parent\x12\x1d\n\npage_token\x18\x02\x20\x01(\tR\ - \tpageToken\"\xa8\x01\n\x14ListClustersResponse\x12=\n\x08clusters\x18\ - \x01\x20\x03(\x0b2!.google.bigtable.admin.v2.ClusterR\x08clusters\x12)\n\ - \x10failed_locations\x18\x02\x20\x03(\tR\x0ffailedLocations\x12&\n\x0fne\ - xt_page_token\x18\x03\x20\x01(\tR\rnextPageToken\"*\n\x14DeleteClusterRe\ - quest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\"\xf0\x01\n\x16Creat\ - eInstanceMetadata\x12Z\n\x10original_request\x18\x01\x20\x01(\x0b2/.goog\ - le.bigtable.admin.v2.CreateInstanceRequestR\x0foriginalRequest\x12=\n\ - \x0crequest_time\x18\x02\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\ - \x0brequestTime\x12;\n\x0bfinish_time\x18\x03\x20\x01(\x0b2\x1a.google.p\ - rotobuf.TimestampR\nfinishTime\"\xf7\x01\n\x16UpdateInstanceMetadata\x12\ - a\n\x10original_request\x18\x01\x20\x01(\x0b26.google.bigtable.admin.v2.\ - PartialUpdateInstanceRequestR\x0foriginalRequest\x12=\n\x0crequest_time\ - \x18\x02\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\x0brequestTime\x12\ - ;\n\x0bfinish_time\x18\x03\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\ - \nfinishTime\"\xee\x01\n\x15CreateClusterMetadata\x12Y\n\x10original_req\ - uest\x18\x01\x20\x01(\x0b2..google.bigtable.admin.v2.CreateClusterReques\ - tR\x0foriginalRequest\x12=\n\x0crequest_time\x18\x02\x20\x01(\x0b2\x1a.g\ - oogle.protobuf.TimestampR\x0brequestTime\x12;\n\x0bfinish_time\x18\x03\ - \x20\x01(\x0b2\x1a.google.protobuf.TimestampR\nfinishTime\"\xe1\x01\n\ - \x15UpdateClusterMetadata\x12L\n\x10original_request\x18\x01\x20\x01(\ - \x0b2!.google.bigtable.admin.v2.ClusterR\x0foriginalRequest\x12=\n\x0cre\ - quest_time\x18\x02\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\x0breque\ - stTime\x12;\n\x0bfinish_time\x18\x03\x20\x01(\x0b2\x1a.google.protobuf.T\ - imestampR\nfinishTime\"\xc7\x01\n\x17CreateAppProfileRequest\x12\x16\n\ - \x06parent\x18\x01\x20\x01(\tR\x06parent\x12$\n\x0eapp_profile_id\x18\ - \x02\x20\x01(\tR\x0cappProfileId\x12E\n\x0bapp_profile\x18\x03\x20\x01(\ - \x0b2$.google.bigtable.admin.v2.AppProfileR\nappProfile\x12'\n\x0fignore\ - _warnings\x18\x04\x20\x01(\x08R\x0eignoreWarnings\"*\n\x14GetAppProfileR\ - equest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\"l\n\x16ListAppProf\ - ilesRequest\x12\x16\n\x06parent\x18\x01\x20\x01(\tR\x06parent\x12\x1b\n\ - \tpage_size\x18\x03\x20\x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\ - \x02\x20\x01(\tR\tpageToken\"\xb5\x01\n\x17ListAppProfilesResponse\x12G\ - \n\x0capp_profiles\x18\x01\x20\x03(\x0b2$.google.bigtable.admin.v2.AppPr\ - ofileR\x0bappProfiles\x12&\n\x0fnext_page_token\x18\x02\x20\x01(\tR\rnex\ - tPageToken\x12)\n\x10failed_locations\x18\x03\x20\x03(\tR\x0ffailedLocat\ - ions\"\xc6\x01\n\x17UpdateAppProfileRequest\x12E\n\x0bapp_profile\x18\ - \x01\x20\x01(\x0b2$.google.bigtable.admin.v2.AppProfileR\nappProfile\x12\ - ;\n\x0bupdate_mask\x18\x02\x20\x01(\x0b2\x1a.google.protobuf.FieldMaskR\ - \nupdateMask\x12'\n\x0fignore_warnings\x18\x03\x20\x01(\x08R\x0eignoreWa\ - rnings\"V\n\x17DeleteAppProfileRequest\x12\x12\n\x04name\x18\x01\x20\x01\ - (\tR\x04name\x12'\n\x0fignore_warnings\x18\x02\x20\x01(\x08R\x0eignoreWa\ - rnings\"\x1a\n\x18UpdateAppProfileMetadata2\xaa\x17\n\x15BigtableInstanc\ - eAdmin\x12\x8e\x01\n\x0eCreateInstance\x12/.google.bigtable.admin.v2.Cre\ - ateInstanceRequest\x1a\x1d.google.longrunning.Operation\",\x82\xd3\xe4\ - \x93\x02&\"!/v2/{parent=projects/*}/instances:\x01*\x12\x8a\x01\n\x0bGet\ - Instance\x12,.google.bigtable.admin.v2.GetInstanceRequest\x1a\".google.b\ - igtable.admin.v2.Instance\")\x82\xd3\xe4\x93\x02#\x12!/v2/{name=projects\ - /*/instances/*}\x12\x9b\x01\n\rListInstances\x12..google.bigtable.admin.\ - v2.ListInstancesRequest\x1a/.google.bigtable.admin.v2.ListInstancesRespo\ - nse\")\x82\xd3\xe4\x93\x02#\x12!/v2/{parent=projects/*}/instances\x12\ - \x86\x01\n\x0eUpdateInstance\x12\".google.bigtable.admin.v2.Instance\x1a\ - \".google.bigtable.admin.v2.Instance\",\x82\xd3\xe4\x93\x02&\x1a!/v2/{na\ - me=projects/*/instances/*}:\x01*\x12\xac\x01\n\x15PartialUpdateInstance\ - \x126.google.bigtable.admin.v2.PartialUpdateInstanceRequest\x1a\x1d.goog\ - le.longrunning.Operation\"<\x82\xd3\xe4\x93\x0262*/v2/{instance.name=pro\ - jects/*/instances/*}:\x08instance\x12\x84\x01\n\x0eDeleteInstance\x12/.g\ - oogle.bigtable.admin.v2.DeleteInstanceRequest\x1a\x16.google.protobuf.Em\ - pty\")\x82\xd3\xe4\x93\x02#*!/v2/{name=projects/*/instances/*}\x12\x9d\ - \x01\n\rCreateCluster\x12..google.bigtable.admin.v2.CreateClusterRequest\ - \x1a\x1d.google.longrunning.Operation\"=\x82\xd3\xe4\x93\x027\",/v2/{par\ - ent=projects/*/instances/*}/clusters:\x07cluster\x12\x92\x01\n\nGetClust\ - er\x12+.google.bigtable.admin.v2.GetClusterRequest\x1a!.google.bigtable.\ - admin.v2.Cluster\"4\x82\xd3\xe4\x93\x02.\x12,/v2/{name=projects/*/instan\ - ces/*/clusters/*}\x12\xa3\x01\n\x0cListClusters\x12-.google.bigtable.adm\ - in.v2.ListClustersRequest\x1a..google.bigtable.admin.v2.ListClustersResp\ - onse\"4\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=projects/*/instances/*}/clu\ - sters\x12\x8a\x01\n\rUpdateCluster\x12!.google.bigtable.admin.v2.Cluster\ - \x1a\x1d.google.longrunning.Operation\"7\x82\xd3\xe4\x93\x021\x1a,/v2/{n\ - ame=projects/*/instances/*/clusters/*}:\x01*\x12\x8d\x01\n\rDeleteCluste\ - r\x12..google.bigtable.admin.v2.DeleteClusterRequest\x1a\x16.google.prot\ - obuf.Empty\"4\x82\xd3\xe4\x93\x02.*,/v2/{name=projects/*/instances/*/clu\ - sters/*}\x12\xb1\x01\n\x10CreateAppProfile\x121.google.bigtable.admin.v2\ - .CreateAppProfileRequest\x1a$.google.bigtable.admin.v2.AppProfile\"D\x82\ - \xd3\xe4\x93\x02>\"//v2/{parent=projects/*/instances/*}/appProfiles:\x0b\ - app_profile\x12\x9e\x01\n\rGetAppProfile\x12..google.bigtable.admin.v2.G\ - etAppProfileRequest\x1a$.google.bigtable.admin.v2.AppProfile\"7\x82\xd3\ - \xe4\x93\x021\x12//v2/{name=projects/*/instances/*/appProfiles/*}\x12\ - \xaf\x01\n\x0fListAppProfiles\x120.google.bigtable.admin.v2.ListAppProfi\ - lesRequest\x1a1.google.bigtable.admin.v2.ListAppProfilesResponse\"7\x82\ - \xd3\xe4\x93\x021\x12//v2/{parent=projects/*/instances/*}/appProfiles\ - \x12\xb6\x01\n\x10UpdateAppProfile\x121.google.bigtable.admin.v2.UpdateA\ - ppProfileRequest\x1a\x1d.google.longrunning.Operation\"P\x82\xd3\xe4\x93\ - \x02J2;/v2/{app_profile.name=projects/*/instances/*/appProfiles/*}:\x0ba\ - pp_profile\x12\x96\x01\n\x10DeleteAppProfile\x121.google.bigtable.admin.\ - v2.DeleteAppProfileRequest\x1a\x16.google.protobuf.Empty\"7\x82\xd3\xe4\ - \x93\x021*//v2/{name=projects/*/instances/*/appProfiles/*}\x12\x88\x01\n\ - \x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.\ - iam.v1.Policy\"=\x82\xd3\xe4\x93\x027\"2/v2/{resource=projects/*/instanc\ - es/*}:getIamPolicy:\x01*\x12\x88\x01\n\x0cSetIamPolicy\x12\".google.iam.\ - v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"=\x82\xd3\xe4\x93\ - \x027\"2/v2/{resource=projects/*/instances/*}:setIamPolicy:\x01*\x12\xae\ - \x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsReques\ - t\x1a).google.iam.v1.TestIamPermissionsResponse\"C\x82\xd3\xe4\x93\x02=\ - \"8/v2/{resource=projects/*/instances/*}:testIamPermissions:\x01*B\xbd\ - \x01\n\x1ccom.google.bigtable.admin.v2B\x1aBigtableInstanceAdminProtoP\ - \x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\ - \x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtabl\ - e\\Admin\\V2J\xbex\n\x07\x12\x05\x0f\0\xc7\x03\x01\n\xbe\x04\n\x01\x0c\ - \x12\x03\x0f\0\x122\xb3\x04\x20Copyright\x202018\x20Google\x20LLC.\n\n\ - \x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20\ - (the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20e\ - xcept\x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20may\x20\ - obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\x20\ - \x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20required\ - \x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\x20s\ - oftware\n\x20distributed\x20under\x20the\x20License\x20is\x20distributed\ - \x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\ - \x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20impli\ - ed.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20language\x20\ - governing\x20permissions\x20and\n\x20limitations\x20under\x20the\x20Lice\ - nse.\n\n\n\x08\n\x01\x02\x12\x03\x11\0!\n\t\n\x02\x03\0\x12\x03\x13\0&\n\ - \t\n\x02\x03\x01\x12\x03\x14\01\n\t\n\x02\x03\x02\x12\x03\x15\0(\n\t\n\ - \x02\x03\x03\x12\x03\x16\0$\n\t\n\x02\x03\x04\x12\x03\x17\0-\n\t\n\x02\ - \x03\x05\x12\x03\x18\0%\n\t\n\x02\x03\x06\x12\x03\x19\0*\n\t\n\x02\x03\ - \x07\x12\x03\x1a\0)\n\x08\n\x01\x08\x12\x03\x1c\0;\n\t\n\x02\x08%\x12\ - \x03\x1c\0;\n\x08\n\x01\x08\x12\x03\x1d\0T\n\t\n\x02\x08\x0b\x12\x03\x1d\ - \0T\n\x08\n\x01\x08\x12\x03\x1e\0\"\n\t\n\x02\x08\n\x12\x03\x1e\0\"\n\ - \x08\n\x01\x08\x12\x03\x1f\0;\n\t\n\x02\x08\x08\x12\x03\x1f\0;\n\x08\n\ - \x01\x08\x12\x03\x20\05\n\t\n\x02\x08\x01\x12\x03\x20\05\n\x08\n\x01\x08\ - \x12\x03!\0<\n\t\n\x02\x08)\x12\x03!\0<\n\xdb\x01\n\x02\x06\0\x12\x05'\0\ - \xb8\x01\x01\x1a\xcd\x01\x20Service\x20for\x20creating,\x20configuring,\ - \x20and\x20deleting\x20Cloud\x20Bigtable\x20Instances\x20and\n\x20Cluste\ - rs.\x20Provides\x20access\x20to\x20the\x20Instance\x20and\x20Cluster\x20\ - schemas\x20only,\x20not\x20the\n\x20tables'\x20metadata\x20or\x20data\ - \x20stored\x20in\x20those\x20tables.\n\n\n\n\x03\x06\0\x01\x12\x03'\x08\ - \x1d\n4\n\x04\x06\0\x02\0\x12\x04)\x02.\x03\x1a&\x20Create\x20an\x20inst\ - ance\x20within\x20a\x20project.\n\n\x0c\n\x05\x06\0\x02\0\x01\x12\x03)\ - \x06\x14\n\x0c\n\x05\x06\0\x02\0\x02\x12\x03)\x15*\n\x0c\n\x05\x06\0\x02\ - \0\x03\x12\x03)5Q\n\r\n\x05\x06\0\x02\0\x04\x12\x04*\x04-\x06\n\x11\n\t\ - \x06\0\x02\0\x04\xb0\xca\xbc\"\x12\x04*\x04-\x06\n3\n\x04\x06\0\x02\x01\ - \x12\x041\x025\x03\x1a%\x20Gets\x20information\x20about\x20an\x20instanc\ - e.\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\x031\x06\x11\n\x0c\n\x05\x06\0\ - \x02\x01\x02\x12\x031\x12$\n\x0c\n\x05\x06\0\x02\x01\x03\x12\x031/7\n\r\ - \n\x05\x06\0\x02\x01\x04\x12\x042\x044\x06\n\x11\n\t\x06\0\x02\x01\x04\ - \xb0\xca\xbc\"\x12\x042\x044\x06\n?\n\x04\x06\0\x02\x02\x12\x048\x02<\ - \x03\x1a1\x20Lists\x20information\x20about\x20instances\x20in\x20a\x20pr\ - oject.\n\n\x0c\n\x05\x06\0\x02\x02\x01\x12\x038\x06\x13\n\x0c\n\x05\x06\ - \0\x02\x02\x02\x12\x038\x14(\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x0383H\n\ - \r\n\x05\x06\0\x02\x02\x04\x12\x049\x04;\x06\n\x11\n\t\x06\0\x02\x02\x04\ - \xb0\xca\xbc\"\x12\x049\x04;\x06\n5\n\x04\x06\0\x02\x03\x12\x04?\x02D\ - \x03\x1a'\x20Updates\x20an\x20instance\x20within\x20a\x20project.\n\n\ - \x0c\n\x05\x06\0\x02\x03\x01\x12\x03?\x06\x14\n\x0c\n\x05\x06\0\x02\x03\ - \x02\x12\x03?\x15\x1d\n\x0c\n\x05\x06\0\x02\x03\x03\x12\x03?(0\n\r\n\x05\ - \x06\0\x02\x03\x04\x12\x04@\x04C\x06\n\x11\n\t\x06\0\x02\x03\x04\xb0\xca\ - \xbc\"\x12\x04@\x04C\x06\n?\n\x04\x06\0\x02\x04\x12\x04G\x02L\x03\x1a1\ - \x20Partially\x20updates\x20an\x20instance\x20within\x20a\x20project.\n\ - \n\x0c\n\x05\x06\0\x02\x04\x01\x12\x03G\x06\x1b\n\x0c\n\x05\x06\0\x02\ - \x04\x02\x12\x03G\x1c8\n\x0c\n\x05\x06\0\x02\x04\x03\x12\x03GC_\n\r\n\ - \x05\x06\0\x02\x04\x04\x12\x04H\x04K\x06\n\x11\n\t\x06\0\x02\x04\x04\xb0\ - \xca\xbc\"\x12\x04H\x04K\x06\n2\n\x04\x06\0\x02\x05\x12\x04O\x02S\x03\ - \x1a$\x20Delete\x20an\x20instance\x20from\x20a\x20project.\n\n\x0c\n\x05\ - \x06\0\x02\x05\x01\x12\x03O\x06\x14\n\x0c\n\x05\x06\0\x02\x05\x02\x12\ - \x03O\x15*\n\x0c\n\x05\x06\0\x02\x05\x03\x12\x03O5J\n\r\n\x05\x06\0\x02\ - \x05\x04\x12\x04P\x04R\x06\n\x11\n\t\x06\0\x02\x05\x04\xb0\xca\xbc\"\x12\ - \x04P\x04R\x06\n5\n\x04\x06\0\x02\x06\x12\x04V\x02[\x03\x1a'\x20Creates\ - \x20a\x20cluster\x20within\x20an\x20instance.\n\n\x0c\n\x05\x06\0\x02\ - \x06\x01\x12\x03V\x06\x13\n\x0c\n\x05\x06\0\x02\x06\x02\x12\x03V\x14(\n\ - \x0c\n\x05\x06\0\x02\x06\x03\x12\x03V3O\n\r\n\x05\x06\0\x02\x06\x04\x12\ - \x04W\x04Z\x06\n\x11\n\t\x06\0\x02\x06\x04\xb0\xca\xbc\"\x12\x04W\x04Z\ - \x06\n1\n\x04\x06\0\x02\x07\x12\x04^\x02b\x03\x1a#\x20Gets\x20informatio\ - n\x20about\x20a\x20cluster.\n\n\x0c\n\x05\x06\0\x02\x07\x01\x12\x03^\x06\ - \x10\n\x0c\n\x05\x06\0\x02\x07\x02\x12\x03^\x11\"\n\x0c\n\x05\x06\0\x02\ - \x07\x03\x12\x03^-4\n\r\n\x05\x06\0\x02\x07\x04\x12\x04_\x04a\x06\n\x11\ - \n\t\x06\0\x02\x07\x04\xb0\xca\xbc\"\x12\x04_\x04a\x06\n@\n\x04\x06\0\ - \x02\x08\x12\x04e\x02i\x03\x1a2\x20Lists\x20information\x20about\x20clus\ - ters\x20in\x20an\x20instance.\n\n\x0c\n\x05\x06\0\x02\x08\x01\x12\x03e\ - \x06\x12\n\x0c\n\x05\x06\0\x02\x08\x02\x12\x03e\x13&\n\x0c\n\x05\x06\0\ - \x02\x08\x03\x12\x03e1E\n\r\n\x05\x06\0\x02\x08\x04\x12\x04f\x04h\x06\n\ - \x11\n\t\x06\0\x02\x08\x04\xb0\xca\xbc\"\x12\x04f\x04h\x06\n5\n\x04\x06\ - \0\x02\t\x12\x04l\x02q\x03\x1a'\x20Updates\x20a\x20cluster\x20within\x20\ - an\x20instance.\n\n\x0c\n\x05\x06\0\x02\t\x01\x12\x03l\x06\x13\n\x0c\n\ - \x05\x06\0\x02\t\x02\x12\x03l\x14\x1b\n\x0c\n\x05\x06\0\x02\t\x03\x12\ - \x03l&B\n\r\n\x05\x06\0\x02\t\x04\x12\x04m\x04p\x06\n\x11\n\t\x06\0\x02\ - \t\x04\xb0\xca\xbc\"\x12\x04m\x04p\x06\n3\n\x04\x06\0\x02\n\x12\x04t\x02\ - x\x03\x1a%\x20Deletes\x20a\x20cluster\x20from\x20an\x20instance.\n\n\x0c\ - \n\x05\x06\0\x02\n\x01\x12\x03t\x06\x13\n\x0c\n\x05\x06\0\x02\n\x02\x12\ - \x03t\x14(\n\x0c\n\x05\x06\0\x02\n\x03\x12\x03t3H\n\r\n\x05\x06\0\x02\n\ - \x04\x12\x04u\x04w\x06\n\x11\n\t\x06\0\x02\n\x04\xb0\xca\xbc\"\x12\x04u\ - \x04w\x06\n;\n\x04\x06\0\x02\x0b\x12\x05{\x02\x80\x01\x03\x1a,\x20Create\ - s\x20an\x20app\x20profile\x20within\x20an\x20instance.\n\n\x0c\n\x05\x06\ - \0\x02\x0b\x01\x12\x03{\x06\x16\n\x0c\n\x05\x06\0\x02\x0b\x02\x12\x03{\ - \x17.\n\x0c\n\x05\x06\0\x02\x0b\x03\x12\x03{9C\n\r\n\x05\x06\0\x02\x0b\ - \x04\x12\x04|\x04\x7f\x06\n\x11\n\t\x06\0\x02\x0b\x04\xb0\xca\xbc\"\x12\ - \x04|\x04\x7f\x06\n8\n\x04\x06\0\x02\x0c\x12\x06\x83\x01\x02\x87\x01\x03\ - \x1a(\x20Gets\x20information\x20about\x20an\x20app\x20profile.\n\n\r\n\ - \x05\x06\0\x02\x0c\x01\x12\x04\x83\x01\x06\x13\n\r\n\x05\x06\0\x02\x0c\ - \x02\x12\x04\x83\x01\x14(\n\r\n\x05\x06\0\x02\x0c\x03\x12\x04\x83\x013=\ - \n\x0f\n\x05\x06\0\x02\x0c\x04\x12\x06\x84\x01\x04\x86\x01\x06\n\x13\n\t\ - \x06\0\x02\x0c\x04\xb0\xca\xbc\"\x12\x06\x84\x01\x04\x86\x01\x06\nF\n\ - \x04\x06\0\x02\r\x12\x06\x8a\x01\x02\x8e\x01\x03\x1a6\x20Lists\x20inform\ - ation\x20about\x20app\x20profiles\x20in\x20an\x20instance.\n\n\r\n\x05\ - \x06\0\x02\r\x01\x12\x04\x8a\x01\x06\x15\n\r\n\x05\x06\0\x02\r\x02\x12\ - \x04\x8a\x01\x16,\n\r\n\x05\x06\0\x02\r\x03\x12\x04\x8a\x017N\n\x0f\n\ - \x05\x06\0\x02\r\x04\x12\x06\x8b\x01\x04\x8d\x01\x06\n\x13\n\t\x06\0\x02\ - \r\x04\xb0\xca\xbc\"\x12\x06\x8b\x01\x04\x8d\x01\x06\n<\n\x04\x06\0\x02\ - \x0e\x12\x06\x91\x01\x02\x96\x01\x03\x1a,\x20Updates\x20an\x20app\x20pro\ - file\x20within\x20an\x20instance.\n\n\r\n\x05\x06\0\x02\x0e\x01\x12\x04\ - \x91\x01\x06\x16\n\r\n\x05\x06\0\x02\x0e\x02\x12\x04\x91\x01\x17.\n\r\n\ - \x05\x06\0\x02\x0e\x03\x12\x04\x91\x019U\n\x0f\n\x05\x06\0\x02\x0e\x04\ - \x12\x06\x92\x01\x04\x95\x01\x06\n\x13\n\t\x06\0\x02\x0e\x04\xb0\xca\xbc\ - \"\x12\x06\x92\x01\x04\x95\x01\x06\n:\n\x04\x06\0\x02\x0f\x12\x06\x99\ - \x01\x02\x9d\x01\x03\x1a*\x20Deletes\x20an\x20app\x20profile\x20from\x20\ - an\x20instance.\n\n\r\n\x05\x06\0\x02\x0f\x01\x12\x04\x99\x01\x06\x16\n\ - \r\n\x05\x06\0\x02\x0f\x02\x12\x04\x99\x01\x17.\n\r\n\x05\x06\0\x02\x0f\ - \x03\x12\x04\x99\x019N\n\x0f\n\x05\x06\0\x02\x0f\x04\x12\x06\x9a\x01\x04\ - \x9c\x01\x06\n\x13\n\t\x06\0\x02\x0f\x04\xb0\xca\xbc\"\x12\x06\x9a\x01\ - \x04\x9c\x01\x06\n\x9a\x01\n\x04\x06\0\x02\x10\x12\x06\xa1\x01\x02\xa6\ - \x01\x03\x1a\x89\x01\x20Gets\x20the\x20access\x20control\x20policy\x20fo\ - r\x20an\x20instance\x20resource.\x20Returns\x20an\x20empty\n\x20policy\ - \x20if\x20an\x20instance\x20exists\x20but\x20does\x20not\x20have\x20a\ - \x20policy\x20set.\n\n\r\n\x05\x06\0\x02\x10\x01\x12\x04\xa1\x01\x06\x12\ - \n\r\n\x05\x06\0\x02\x10\x02\x12\x04\xa1\x01\x134\n\r\n\x05\x06\0\x02\ - \x10\x03\x12\x04\xa1\x01?S\n\x0f\n\x05\x06\0\x02\x10\x04\x12\x06\xa2\x01\ - \x04\xa5\x01\x06\n\x13\n\t\x06\0\x02\x10\x04\xb0\xca\xbc\"\x12\x06\xa2\ - \x01\x04\xa5\x01\x06\nh\n\x04\x06\0\x02\x11\x12\x06\xaa\x01\x02\xaf\x01\ - \x03\x1aX\x20Sets\x20the\x20access\x20control\x20policy\x20on\x20an\x20i\ - nstance\x20resource.\x20Replaces\x20any\n\x20existing\x20policy.\n\n\r\n\ - \x05\x06\0\x02\x11\x01\x12\x04\xaa\x01\x06\x12\n\r\n\x05\x06\0\x02\x11\ - \x02\x12\x04\xaa\x01\x134\n\r\n\x05\x06\0\x02\x11\x03\x12\x04\xaa\x01?S\ - \n\x0f\n\x05\x06\0\x02\x11\x04\x12\x06\xab\x01\x04\xae\x01\x06\n\x13\n\t\ - \x06\0\x02\x11\x04\xb0\xca\xbc\"\x12\x06\xab\x01\x04\xae\x01\x06\n]\n\ - \x04\x06\0\x02\x12\x12\x06\xb2\x01\x02\xb7\x01\x03\x1aM\x20Returns\x20pe\ - rmissions\x20that\x20the\x20caller\x20has\x20on\x20the\x20specified\x20i\ - nstance\x20resource.\n\n\r\n\x05\x06\0\x02\x12\x01\x12\x04\xb2\x01\x06\ - \x18\n\r\n\x05\x06\0\x02\x12\x02\x12\x04\xb2\x01\x19@\n\r\n\x05\x06\0\ - \x02\x12\x03\x12\x04\xb2\x01Ks\n\x0f\n\x05\x06\0\x02\x12\x04\x12\x06\xb3\ - \x01\x04\xb6\x01\x06\n\x13\n\t\x06\0\x02\x12\x04\xb0\xca\xbc\"\x12\x06\ - \xb3\x01\x04\xb6\x01\x06\nI\n\x02\x04\0\x12\x06\xbb\x01\0\xcf\x01\x01\ - \x1a;\x20Request\x20message\x20for\x20BigtableInstanceAdmin.CreateInstan\ - ce.\n\n\x0b\n\x03\x04\0\x01\x12\x04\xbb\x01\x08\x1d\n\x81\x01\n\x04\x04\ - \0\x02\0\x12\x04\xbe\x01\x02\x14\x1as\x20The\x20unique\x20name\x20of\x20\ - the\x20project\x20in\x20which\x20to\x20create\x20the\x20new\x20instance.\ - \n\x20Values\x20are\x20of\x20the\x20form\x20`projects/`.\n\n\ - \x0f\n\x05\x04\0\x02\0\x04\x12\x06\xbe\x01\x02\xbb\x01\x1f\n\r\n\x05\x04\ - \0\x02\0\x05\x12\x04\xbe\x01\x02\x08\n\r\n\x05\x04\0\x02\0\x01\x12\x04\ - \xbe\x01\t\x0f\n\r\n\x05\x04\0\x02\0\x03\x12\x04\xbe\x01\x12\x13\n\xaa\ - \x01\n\x04\x04\0\x02\x01\x12\x04\xc3\x01\x02\x19\x1a\x9b\x01\x20The\x20I\ - D\x20to\x20be\x20used\x20when\x20referring\x20to\x20the\x20new\x20instan\ - ce\x20within\x20its\x20project,\n\x20e.g.,\x20just\x20`myinstance`\x20ra\ - ther\x20than\n\x20`projects/myproject/instances/myinstance`.\n\n\x0f\n\ - \x05\x04\0\x02\x01\x04\x12\x06\xc3\x01\x02\xbe\x01\x14\n\r\n\x05\x04\0\ - \x02\x01\x05\x12\x04\xc3\x01\x02\x08\n\r\n\x05\x04\0\x02\x01\x01\x12\x04\ - \xc3\x01\t\x14\n\r\n\x05\x04\0\x02\x01\x03\x12\x04\xc3\x01\x17\x18\nW\n\ - \x04\x04\0\x02\x02\x12\x04\xc7\x01\x02\x18\x1aI\x20The\x20instance\x20to\ - \x20create.\n\x20Fields\x20marked\x20`OutputOnly`\x20must\x20be\x20left\ - \x20blank.\n\n\x0f\n\x05\x04\0\x02\x02\x04\x12\x06\xc7\x01\x02\xc3\x01\ - \x19\n\r\n\x05\x04\0\x02\x02\x06\x12\x04\xc7\x01\x02\n\n\r\n\x05\x04\0\ - \x02\x02\x01\x12\x04\xc7\x01\x0b\x13\n\r\n\x05\x04\0\x02\x02\x03\x12\x04\ - \xc7\x01\x16\x17\n\xa4\x02\n\x04\x04\0\x02\x03\x12\x04\xce\x01\x02$\x1a\ - \x95\x02\x20The\x20clusters\x20to\x20be\x20created\x20within\x20the\x20i\ - nstance,\x20mapped\x20by\x20desired\n\x20cluster\x20ID,\x20e.g.,\x20just\ - \x20`mycluster`\x20rather\x20than\n\x20`projects/myproject/instances/myi\ - nstance/clusters/mycluster`.\n\x20Fields\x20marked\x20`OutputOnly`\x20mu\ - st\x20be\x20left\x20blank.\n\x20Currently,\x20at\x20most\x20two\x20clust\ - ers\x20can\x20be\x20specified.\n\n\x0f\n\x05\x04\0\x02\x03\x04\x12\x06\ - \xce\x01\x02\xc7\x01\x18\n\r\n\x05\x04\0\x02\x03\x06\x12\x04\xce\x01\x02\ - \x16\n\r\n\x05\x04\0\x02\x03\x01\x12\x04\xce\x01\x17\x1f\n\r\n\x05\x04\0\ - \x02\x03\x03\x12\x04\xce\x01\"#\nF\n\x02\x04\x01\x12\x06\xd2\x01\0\xd6\ - \x01\x01\x1a8\x20Request\x20message\x20for\x20BigtableInstanceAdmin.GetI\ - nstance.\n\n\x0b\n\x03\x04\x01\x01\x12\x04\xd2\x01\x08\x1a\n}\n\x04\x04\ - \x01\x02\0\x12\x04\xd5\x01\x02\x12\x1ao\x20The\x20unique\x20name\x20of\ - \x20the\x20requested\x20instance.\x20Values\x20are\x20of\x20the\x20form\ - \n\x20`projects//instances/`.\n\n\x0f\n\x05\x04\x01\ - \x02\0\x04\x12\x06\xd5\x01\x02\xd2\x01\x1c\n\r\n\x05\x04\x01\x02\0\x05\ - \x12\x04\xd5\x01\x02\x08\n\r\n\x05\x04\x01\x02\0\x01\x12\x04\xd5\x01\t\r\ - \n\r\n\x05\x04\x01\x02\0\x03\x12\x04\xd5\x01\x10\x11\nH\n\x02\x04\x02\ - \x12\x06\xd9\x01\0\xe0\x01\x01\x1a:\x20Request\x20message\x20for\x20Bigt\ - ableInstanceAdmin.ListInstances.\n\n\x0b\n\x03\x04\x02\x01\x12\x04\xd9\ - \x01\x08\x1c\n\x88\x01\n\x04\x04\x02\x02\0\x12\x04\xdc\x01\x02\x14\x1az\ - \x20The\x20unique\x20name\x20of\x20the\x20project\x20for\x20which\x20a\ - \x20list\x20of\x20instances\x20is\x20requested.\n\x20Values\x20are\x20of\ - \x20the\x20form\x20`projects/`.\n\n\x0f\n\x05\x04\x02\x02\0\x04\ - \x12\x06\xdc\x01\x02\xd9\x01\x1e\n\r\n\x05\x04\x02\x02\0\x05\x12\x04\xdc\ - \x01\x02\x08\n\r\n\x05\x04\x02\x02\0\x01\x12\x04\xdc\x01\t\x0f\n\r\n\x05\ - \x04\x02\x02\0\x03\x12\x04\xdc\x01\x12\x13\n=\n\x04\x04\x02\x02\x01\x12\ - \x04\xdf\x01\x02\x18\x1a/\x20DEPRECATED:\x20This\x20field\x20is\x20unuse\ - d\x20and\x20ignored.\n\n\x0f\n\x05\x04\x02\x02\x01\x04\x12\x06\xdf\x01\ - \x02\xdc\x01\x14\n\r\n\x05\x04\x02\x02\x01\x05\x12\x04\xdf\x01\x02\x08\n\ - \r\n\x05\x04\x02\x02\x01\x01\x12\x04\xdf\x01\t\x13\n\r\n\x05\x04\x02\x02\ - \x01\x03\x12\x04\xdf\x01\x16\x17\nI\n\x02\x04\x03\x12\x06\xe3\x01\0\xf1\ - \x01\x01\x1a;\x20Response\x20message\x20for\x20BigtableInstanceAdmin.Lis\ - tInstances.\n\n\x0b\n\x03\x04\x03\x01\x12\x04\xe3\x01\x08\x1d\n0\n\x04\ - \x04\x03\x02\0\x12\x04\xe5\x01\x02\"\x1a\"\x20The\x20list\x20of\x20reque\ - sted\x20instances.\n\n\r\n\x05\x04\x03\x02\0\x04\x12\x04\xe5\x01\x02\n\n\ - \r\n\x05\x04\x03\x02\0\x06\x12\x04\xe5\x01\x0b\x13\n\r\n\x05\x04\x03\x02\ - \0\x01\x12\x04\xe5\x01\x14\x1d\n\r\n\x05\x04\x03\x02\0\x03\x12\x04\xe5\ - \x01\x20!\n\x95\x03\n\x04\x04\x03\x02\x01\x12\x04\xed\x01\x02'\x1a\x86\ - \x03\x20Locations\x20from\x20which\x20Instance\x20information\x20could\ - \x20not\x20be\x20retrieved,\n\x20due\x20to\x20an\x20outage\x20or\x20some\ - \x20other\x20transient\x20condition.\n\x20Instances\x20whose\x20Clusters\ - \x20are\x20all\x20in\x20one\x20of\x20the\x20failed\x20locations\n\x20may\ - \x20be\x20missing\x20from\x20`instances`,\x20and\x20Instances\x20with\ - \x20at\x20least\x20one\n\x20Cluster\x20in\x20a\x20failed\x20location\x20\ - may\x20only\x20have\x20partial\x20information\x20returned.\n\x20Values\ - \x20are\x20of\x20the\x20form\x20`projects//locations/`\ - \n\n\r\n\x05\x04\x03\x02\x01\x04\x12\x04\xed\x01\x02\n\n\r\n\x05\x04\x03\ - \x02\x01\x05\x12\x04\xed\x01\x0b\x11\n\r\n\x05\x04\x03\x02\x01\x01\x12\ - \x04\xed\x01\x12\"\n\r\n\x05\x04\x03\x02\x01\x03\x12\x04\xed\x01%&\n=\n\ - \x04\x04\x03\x02\x02\x12\x04\xf0\x01\x02\x1d\x1a/\x20DEPRECATED:\x20This\ - \x20field\x20is\x20unused\x20and\x20ignored.\n\n\x0f\n\x05\x04\x03\x02\ - \x02\x04\x12\x06\xf0\x01\x02\xed\x01'\n\r\n\x05\x04\x03\x02\x02\x05\x12\ - \x04\xf0\x01\x02\x08\n\r\n\x05\x04\x03\x02\x02\x01\x12\x04\xf0\x01\t\x18\ - \n\r\n\x05\x04\x03\x02\x02\x03\x12\x04\xf0\x01\x1b\x1c\nP\n\x02\x04\x04\ - \x12\x06\xf4\x01\0\xfb\x01\x01\x1aB\x20Request\x20message\x20for\x20Bigt\ - ableInstanceAdmin.PartialUpdateInstance.\n\n\x0b\n\x03\x04\x04\x01\x12\ - \x04\xf4\x01\x08$\nN\n\x04\x04\x04\x02\0\x12\x04\xf6\x01\x02\x18\x1a@\ - \x20The\x20Instance\x20which\x20will\x20(partially)\x20replace\x20the\ - \x20current\x20value.\n\n\x0f\n\x05\x04\x04\x02\0\x04\x12\x06\xf6\x01\ - \x02\xf4\x01&\n\r\n\x05\x04\x04\x02\0\x06\x12\x04\xf6\x01\x02\n\n\r\n\ - \x05\x04\x04\x02\0\x01\x12\x04\xf6\x01\x0b\x13\n\r\n\x05\x04\x04\x02\0\ - \x03\x12\x04\xf6\x01\x16\x17\n`\n\x04\x04\x04\x02\x01\x12\x04\xfa\x01\ - \x02,\x1aR\x20The\x20subset\x20of\x20Instance\x20fields\x20which\x20shou\ - ld\x20be\x20replaced.\n\x20Must\x20be\x20explicitly\x20set.\n\n\x0f\n\ - \x05\x04\x04\x02\x01\x04\x12\x06\xfa\x01\x02\xf6\x01\x18\n\r\n\x05\x04\ - \x04\x02\x01\x06\x12\x04\xfa\x01\x02\x1b\n\r\n\x05\x04\x04\x02\x01\x01\ - \x12\x04\xfa\x01\x1c'\n\r\n\x05\x04\x04\x02\x01\x03\x12\x04\xfa\x01*+\nI\ - \n\x02\x04\x05\x12\x06\xfe\x01\0\x82\x02\x01\x1a;\x20Request\x20message\ - \x20for\x20BigtableInstanceAdmin.DeleteInstance.\n\n\x0b\n\x03\x04\x05\ - \x01\x12\x04\xfe\x01\x08\x1d\n\x81\x01\n\x04\x04\x05\x02\0\x12\x04\x81\ - \x02\x02\x12\x1as\x20The\x20unique\x20name\x20of\x20the\x20instance\x20t\ - o\x20be\x20deleted.\n\x20Values\x20are\x20of\x20the\x20form\x20`projects\ - //instances/`.\n\n\x0f\n\x05\x04\x05\x02\0\x04\x12\ - \x06\x81\x02\x02\xfe\x01\x1f\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\x81\x02\ - \x02\x08\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\x81\x02\t\r\n\r\n\x05\x04\ - \x05\x02\0\x03\x12\x04\x81\x02\x10\x11\nH\n\x02\x04\x06\x12\x06\x85\x02\ - \0\x93\x02\x01\x1a:\x20Request\x20message\x20for\x20BigtableInstanceAdmi\ - n.CreateCluster.\n\n\x0b\n\x03\x04\x06\x01\x12\x04\x85\x02\x08\x1c\n\x98\ - \x01\n\x04\x04\x06\x02\0\x12\x04\x89\x02\x02\x14\x1a\x89\x01\x20The\x20u\ - nique\x20name\x20of\x20the\x20instance\x20in\x20which\x20to\x20create\ - \x20the\x20new\x20cluster.\n\x20Values\x20are\x20of\x20the\x20form\n\x20\ - `projects//instances/`.\n\n\x0f\n\x05\x04\x06\x02\0\ - \x04\x12\x06\x89\x02\x02\x85\x02\x1e\n\r\n\x05\x04\x06\x02\0\x05\x12\x04\ - \x89\x02\x02\x08\n\r\n\x05\x04\x06\x02\0\x01\x12\x04\x89\x02\t\x0f\n\r\n\ - \x05\x04\x06\x02\0\x03\x12\x04\x89\x02\x12\x13\n\xbc\x01\n\x04\x04\x06\ - \x02\x01\x12\x04\x8e\x02\x02\x18\x1a\xad\x01\x20The\x20ID\x20to\x20be\ - \x20used\x20when\x20referring\x20to\x20the\x20new\x20cluster\x20within\ - \x20its\x20instance,\n\x20e.g.,\x20just\x20`mycluster`\x20rather\x20than\ - \n\x20`projects/myproject/instances/myinstance/clusters/mycluster`.\n\n\ - \x0f\n\x05\x04\x06\x02\x01\x04\x12\x06\x8e\x02\x02\x89\x02\x14\n\r\n\x05\ - \x04\x06\x02\x01\x05\x12\x04\x8e\x02\x02\x08\n\r\n\x05\x04\x06\x02\x01\ - \x01\x12\x04\x8e\x02\t\x13\n\r\n\x05\x04\x06\x02\x01\x03\x12\x04\x8e\x02\ - \x16\x17\nZ\n\x04\x04\x06\x02\x02\x12\x04\x92\x02\x02\x16\x1aL\x20The\ - \x20cluster\x20to\x20be\x20created.\n\x20Fields\x20marked\x20`OutputOnly\ - `\x20must\x20be\x20left\x20blank.\n\n\x0f\n\x05\x04\x06\x02\x02\x04\x12\ - \x06\x92\x02\x02\x8e\x02\x18\n\r\n\x05\x04\x06\x02\x02\x06\x12\x04\x92\ - \x02\x02\t\n\r\n\x05\x04\x06\x02\x02\x01\x12\x04\x92\x02\n\x11\n\r\n\x05\ - \x04\x06\x02\x02\x03\x12\x04\x92\x02\x14\x15\nE\n\x02\x04\x07\x12\x06\ - \x96\x02\0\x9a\x02\x01\x1a7\x20Request\x20message\x20for\x20BigtableInst\ - anceAdmin.GetCluster.\n\n\x0b\n\x03\x04\x07\x01\x12\x04\x96\x02\x08\x19\ - \n\x90\x01\n\x04\x04\x07\x02\0\x12\x04\x99\x02\x02\x12\x1a\x81\x01\x20Th\ - e\x20unique\x20name\x20of\x20the\x20requested\x20cluster.\x20Values\x20a\ - re\x20of\x20the\x20form\n\x20`projects//instances//cl\ - usters/`.\n\n\x0f\n\x05\x04\x07\x02\0\x04\x12\x06\x99\x02\x02\ - \x96\x02\x1b\n\r\n\x05\x04\x07\x02\0\x05\x12\x04\x99\x02\x02\x08\n\r\n\ - \x05\x04\x07\x02\0\x01\x12\x04\x99\x02\t\r\n\r\n\x05\x04\x07\x02\0\x03\ - \x12\x04\x99\x02\x10\x11\nG\n\x02\x04\x08\x12\x06\x9d\x02\0\xa6\x02\x01\ - \x1a9\x20Request\x20message\x20for\x20BigtableInstanceAdmin.ListClusters\ - .\n\n\x0b\n\x03\x04\x08\x01\x12\x04\x9d\x02\x08\x1b\n\x90\x02\n\x04\x04\ - \x08\x02\0\x12\x04\xa2\x02\x02\x14\x1a\x81\x02\x20The\x20unique\x20name\ - \x20of\x20the\x20instance\x20for\x20which\x20a\x20list\x20of\x20clusters\ - \x20is\x20requested.\n\x20Values\x20are\x20of\x20the\x20form\x20`project\ - s//instances/`.\n\x20Use\x20`\x20=\x20'-'`\ - \x20to\x20list\x20Clusters\x20for\x20all\x20Instances\x20in\x20a\x20proj\ - ect,\n\x20e.g.,\x20`projects/myproject/instances/-`.\n\n\x0f\n\x05\x04\ - \x08\x02\0\x04\x12\x06\xa2\x02\x02\x9d\x02\x1d\n\r\n\x05\x04\x08\x02\0\ - \x05\x12\x04\xa2\x02\x02\x08\n\r\n\x05\x04\x08\x02\0\x01\x12\x04\xa2\x02\ - \t\x0f\n\r\n\x05\x04\x08\x02\0\x03\x12\x04\xa2\x02\x12\x13\n=\n\x04\x04\ - \x08\x02\x01\x12\x04\xa5\x02\x02\x18\x1a/\x20DEPRECATED:\x20This\x20fiel\ - d\x20is\x20unused\x20and\x20ignored.\n\n\x0f\n\x05\x04\x08\x02\x01\x04\ - \x12\x06\xa5\x02\x02\xa2\x02\x14\n\r\n\x05\x04\x08\x02\x01\x05\x12\x04\ - \xa5\x02\x02\x08\n\r\n\x05\x04\x08\x02\x01\x01\x12\x04\xa5\x02\t\x13\n\r\ - \n\x05\x04\x08\x02\x01\x03\x12\x04\xa5\x02\x16\x17\nH\n\x02\x04\t\x12\ - \x06\xa9\x02\0\xb6\x02\x01\x1a:\x20Response\x20message\x20for\x20Bigtabl\ - eInstanceAdmin.ListClusters.\n\n\x0b\n\x03\x04\t\x01\x12\x04\xa9\x02\x08\ - \x1c\n/\n\x04\x04\t\x02\0\x12\x04\xab\x02\x02\x20\x1a!\x20The\x20list\ - \x20of\x20requested\x20clusters.\n\n\r\n\x05\x04\t\x02\0\x04\x12\x04\xab\ - \x02\x02\n\n\r\n\x05\x04\t\x02\0\x06\x12\x04\xab\x02\x0b\x12\n\r\n\x05\ - \x04\t\x02\0\x01\x12\x04\xab\x02\x13\x1b\n\r\n\x05\x04\t\x02\0\x03\x12\ - \x04\xab\x02\x1e\x1f\n\xb6\x02\n\x04\x04\t\x02\x01\x12\x04\xb2\x02\x02'\ - \x1a\xa7\x02\x20Locations\x20from\x20which\x20Cluster\x20information\x20\ - could\x20not\x20be\x20retrieved,\n\x20due\x20to\x20an\x20outage\x20or\ - \x20some\x20other\x20transient\x20condition.\n\x20Clusters\x20from\x20th\ - ese\x20locations\x20may\x20be\x20missing\x20from\x20`clusters`,\n\x20or\ - \x20may\x20only\x20have\x20partial\x20information\x20returned.\n\x20Valu\ - es\x20are\x20of\x20the\x20form\x20`projects//locations/`\n\n\r\n\x05\x04\t\x02\x01\x04\x12\x04\xb2\x02\x02\n\n\r\n\x05\x04\t\ - \x02\x01\x05\x12\x04\xb2\x02\x0b\x11\n\r\n\x05\x04\t\x02\x01\x01\x12\x04\ - \xb2\x02\x12\"\n\r\n\x05\x04\t\x02\x01\x03\x12\x04\xb2\x02%&\n=\n\x04\ - \x04\t\x02\x02\x12\x04\xb5\x02\x02\x1d\x1a/\x20DEPRECATED:\x20This\x20fi\ - eld\x20is\x20unused\x20and\x20ignored.\n\n\x0f\n\x05\x04\t\x02\x02\x04\ - \x12\x06\xb5\x02\x02\xb2\x02'\n\r\n\x05\x04\t\x02\x02\x05\x12\x04\xb5\ - \x02\x02\x08\n\r\n\x05\x04\t\x02\x02\x01\x12\x04\xb5\x02\t\x18\n\r\n\x05\ - \x04\t\x02\x02\x03\x12\x04\xb5\x02\x1b\x1c\nH\n\x02\x04\n\x12\x06\xb9\ - \x02\0\xbd\x02\x01\x1a:\x20Request\x20message\x20for\x20BigtableInstance\ - Admin.DeleteCluster.\n\n\x0b\n\x03\x04\n\x01\x12\x04\xb9\x02\x08\x1c\n\ - \x94\x01\n\x04\x04\n\x02\0\x12\x04\xbc\x02\x02\x12\x1a\x85\x01\x20The\ - \x20unique\x20name\x20of\x20the\x20cluster\x20to\x20be\x20deleted.\x20Va\ - lues\x20are\x20of\x20the\x20form\n\x20`projects//instances//clusters/`.\n\n\x0f\n\x05\x04\n\x02\0\x04\x12\x06\xbc\ - \x02\x02\xb9\x02\x1e\n\r\n\x05\x04\n\x02\0\x05\x12\x04\xbc\x02\x02\x08\n\ - \r\n\x05\x04\n\x02\0\x01\x12\x04\xbc\x02\t\r\n\r\n\x05\x04\n\x02\0\x03\ - \x12\x04\xbc\x02\x10\x11\nJ\n\x02\x04\x0b\x12\x06\xc0\x02\0\xc9\x02\x01\ - \x1a<\x20The\x20metadata\x20for\x20the\x20Operation\x20returned\x20by\ - \x20CreateInstance.\n\n\x0b\n\x03\x04\x0b\x01\x12\x04\xc0\x02\x08\x1e\nZ\ - \n\x04\x04\x0b\x02\0\x12\x04\xc2\x02\x02-\x1aL\x20The\x20request\x20that\ - \x20prompted\x20the\x20initiation\x20of\x20this\x20CreateInstance\x20ope\ - ration.\n\n\x0f\n\x05\x04\x0b\x02\0\x04\x12\x06\xc2\x02\x02\xc0\x02\x20\ - \n\r\n\x05\x04\x0b\x02\0\x06\x12\x04\xc2\x02\x02\x17\n\r\n\x05\x04\x0b\ - \x02\0\x01\x12\x04\xc2\x02\x18(\n\r\n\x05\x04\x0b\x02\0\x03\x12\x04\xc2\ - \x02+,\nD\n\x04\x04\x0b\x02\x01\x12\x04\xc5\x02\x02-\x1a6\x20The\x20time\ - \x20at\x20which\x20the\x20original\x20request\x20was\x20received.\n\n\ - \x0f\n\x05\x04\x0b\x02\x01\x04\x12\x06\xc5\x02\x02\xc2\x02-\n\r\n\x05\ - \x04\x0b\x02\x01\x06\x12\x04\xc5\x02\x02\x1b\n\r\n\x05\x04\x0b\x02\x01\ - \x01\x12\x04\xc5\x02\x1c(\n\r\n\x05\x04\x0b\x02\x01\x03\x12\x04\xc5\x02+\ - ,\nU\n\x04\x04\x0b\x02\x02\x12\x04\xc8\x02\x02,\x1aG\x20The\x20time\x20a\ - t\x20which\x20the\x20operation\x20failed\x20or\x20was\x20completed\x20su\ - ccessfully.\n\n\x0f\n\x05\x04\x0b\x02\x02\x04\x12\x06\xc8\x02\x02\xc5\ - \x02-\n\r\n\x05\x04\x0b\x02\x02\x06\x12\x04\xc8\x02\x02\x1b\n\r\n\x05\ - \x04\x0b\x02\x02\x01\x12\x04\xc8\x02\x1c'\n\r\n\x05\x04\x0b\x02\x02\x03\ - \x12\x04\xc8\x02*+\nJ\n\x02\x04\x0c\x12\x06\xcc\x02\0\xd5\x02\x01\x1a<\ - \x20The\x20metadata\x20for\x20the\x20Operation\x20returned\x20by\x20Upda\ - teInstance.\n\n\x0b\n\x03\x04\x0c\x01\x12\x04\xcc\x02\x08\x1e\nZ\n\x04\ - \x04\x0c\x02\0\x12\x04\xce\x02\x024\x1aL\x20The\x20request\x20that\x20pr\ - ompted\x20the\x20initiation\x20of\x20this\x20UpdateInstance\x20operation\ - .\n\n\x0f\n\x05\x04\x0c\x02\0\x04\x12\x06\xce\x02\x02\xcc\x02\x20\n\r\n\ - \x05\x04\x0c\x02\0\x06\x12\x04\xce\x02\x02\x1e\n\r\n\x05\x04\x0c\x02\0\ - \x01\x12\x04\xce\x02\x1f/\n\r\n\x05\x04\x0c\x02\0\x03\x12\x04\xce\x0223\ - \nD\n\x04\x04\x0c\x02\x01\x12\x04\xd1\x02\x02-\x1a6\x20The\x20time\x20at\ - \x20which\x20the\x20original\x20request\x20was\x20received.\n\n\x0f\n\ - \x05\x04\x0c\x02\x01\x04\x12\x06\xd1\x02\x02\xce\x024\n\r\n\x05\x04\x0c\ - \x02\x01\x06\x12\x04\xd1\x02\x02\x1b\n\r\n\x05\x04\x0c\x02\x01\x01\x12\ - \x04\xd1\x02\x1c(\n\r\n\x05\x04\x0c\x02\x01\x03\x12\x04\xd1\x02+,\nU\n\ - \x04\x04\x0c\x02\x02\x12\x04\xd4\x02\x02,\x1aG\x20The\x20time\x20at\x20w\ - hich\x20the\x20operation\x20failed\x20or\x20was\x20completed\x20successf\ - ully.\n\n\x0f\n\x05\x04\x0c\x02\x02\x04\x12\x06\xd4\x02\x02\xd1\x02-\n\r\ - \n\x05\x04\x0c\x02\x02\x06\x12\x04\xd4\x02\x02\x1b\n\r\n\x05\x04\x0c\x02\ - \x02\x01\x12\x04\xd4\x02\x1c'\n\r\n\x05\x04\x0c\x02\x02\x03\x12\x04\xd4\ - \x02*+\nI\n\x02\x04\r\x12\x06\xd8\x02\0\xe1\x02\x01\x1a;\x20The\x20metad\ - ata\x20for\x20the\x20Operation\x20returned\x20by\x20CreateCluster.\n\n\ - \x0b\n\x03\x04\r\x01\x12\x04\xd8\x02\x08\x1d\nY\n\x04\x04\r\x02\0\x12\ - \x04\xda\x02\x02,\x1aK\x20The\x20request\x20that\x20prompted\x20the\x20i\ - nitiation\x20of\x20this\x20CreateCluster\x20operation.\n\n\x0f\n\x05\x04\ - \r\x02\0\x04\x12\x06\xda\x02\x02\xd8\x02\x1f\n\r\n\x05\x04\r\x02\0\x06\ - \x12\x04\xda\x02\x02\x16\n\r\n\x05\x04\r\x02\0\x01\x12\x04\xda\x02\x17'\ - \n\r\n\x05\x04\r\x02\0\x03\x12\x04\xda\x02*+\nD\n\x04\x04\r\x02\x01\x12\ - \x04\xdd\x02\x02-\x1a6\x20The\x20time\x20at\x20which\x20the\x20original\ - \x20request\x20was\x20received.\n\n\x0f\n\x05\x04\r\x02\x01\x04\x12\x06\ - \xdd\x02\x02\xda\x02,\n\r\n\x05\x04\r\x02\x01\x06\x12\x04\xdd\x02\x02\ - \x1b\n\r\n\x05\x04\r\x02\x01\x01\x12\x04\xdd\x02\x1c(\n\r\n\x05\x04\r\ - \x02\x01\x03\x12\x04\xdd\x02+,\nU\n\x04\x04\r\x02\x02\x12\x04\xe0\x02\ - \x02,\x1aG\x20The\x20time\x20at\x20which\x20the\x20operation\x20failed\ - \x20or\x20was\x20completed\x20successfully.\n\n\x0f\n\x05\x04\r\x02\x02\ - \x04\x12\x06\xe0\x02\x02\xdd\x02-\n\r\n\x05\x04\r\x02\x02\x06\x12\x04\ - \xe0\x02\x02\x1b\n\r\n\x05\x04\r\x02\x02\x01\x12\x04\xe0\x02\x1c'\n\r\n\ - \x05\x04\r\x02\x02\x03\x12\x04\xe0\x02*+\nI\n\x02\x04\x0e\x12\x06\xe4\ - \x02\0\xed\x02\x01\x1a;\x20The\x20metadata\x20for\x20the\x20Operation\ - \x20returned\x20by\x20UpdateCluster.\n\n\x0b\n\x03\x04\x0e\x01\x12\x04\ - \xe4\x02\x08\x1d\nY\n\x04\x04\x0e\x02\0\x12\x04\xe6\x02\x02\x1f\x1aK\x20\ - The\x20request\x20that\x20prompted\x20the\x20initiation\x20of\x20this\ - \x20UpdateCluster\x20operation.\n\n\x0f\n\x05\x04\x0e\x02\0\x04\x12\x06\ - \xe6\x02\x02\xe4\x02\x1f\n\r\n\x05\x04\x0e\x02\0\x06\x12\x04\xe6\x02\x02\ - \t\n\r\n\x05\x04\x0e\x02\0\x01\x12\x04\xe6\x02\n\x1a\n\r\n\x05\x04\x0e\ - \x02\0\x03\x12\x04\xe6\x02\x1d\x1e\nD\n\x04\x04\x0e\x02\x01\x12\x04\xe9\ - \x02\x02-\x1a6\x20The\x20time\x20at\x20which\x20the\x20original\x20reque\ - st\x20was\x20received.\n\n\x0f\n\x05\x04\x0e\x02\x01\x04\x12\x06\xe9\x02\ - \x02\xe6\x02\x1f\n\r\n\x05\x04\x0e\x02\x01\x06\x12\x04\xe9\x02\x02\x1b\n\ - \r\n\x05\x04\x0e\x02\x01\x01\x12\x04\xe9\x02\x1c(\n\r\n\x05\x04\x0e\x02\ - \x01\x03\x12\x04\xe9\x02+,\nU\n\x04\x04\x0e\x02\x02\x12\x04\xec\x02\x02,\ - \x1aG\x20The\x20time\x20at\x20which\x20the\x20operation\x20failed\x20or\ - \x20was\x20completed\x20successfully.\n\n\x0f\n\x05\x04\x0e\x02\x02\x04\ - \x12\x06\xec\x02\x02\xe9\x02-\n\r\n\x05\x04\x0e\x02\x02\x06\x12\x04\xec\ - \x02\x02\x1b\n\r\n\x05\x04\x0e\x02\x02\x01\x12\x04\xec\x02\x1c'\n\r\n\ - \x05\x04\x0e\x02\x02\x03\x12\x04\xec\x02*+\nK\n\x02\x04\x0f\x12\x06\xf0\ - \x02\0\x81\x03\x01\x1a=\x20Request\x20message\x20for\x20BigtableInstance\ - Admin.CreateAppProfile.\n\n\x0b\n\x03\x04\x0f\x01\x12\x04\xf0\x02\x08\ - \x1f\n\x9c\x01\n\x04\x04\x0f\x02\0\x12\x04\xf4\x02\x02\x14\x1a\x8d\x01\ - \x20The\x20unique\x20name\x20of\x20the\x20instance\x20in\x20which\x20to\ - \x20create\x20the\x20new\x20app\x20profile.\n\x20Values\x20are\x20of\x20\ - the\x20form\n\x20`projects//instances/`.\n\n\x0f\n\ - \x05\x04\x0f\x02\0\x04\x12\x06\xf4\x02\x02\xf0\x02!\n\r\n\x05\x04\x0f\ - \x02\0\x05\x12\x04\xf4\x02\x02\x08\n\r\n\x05\x04\x0f\x02\0\x01\x12\x04\ - \xf4\x02\t\x0f\n\r\n\x05\x04\x0f\x02\0\x03\x12\x04\xf4\x02\x12\x13\n\xc3\ - \x01\n\x04\x04\x0f\x02\x01\x12\x04\xf9\x02\x02\x1c\x1a\xb4\x01\x20The\ - \x20ID\x20to\x20be\x20used\x20when\x20referring\x20to\x20the\x20new\x20a\ - pp\x20profile\x20within\x20its\n\x20instance,\x20e.g.,\x20just\x20`mypro\ - file`\x20rather\x20than\n\x20`projects/myproject/instances/myinstance/ap\ - pProfiles/myprofile`.\n\n\x0f\n\x05\x04\x0f\x02\x01\x04\x12\x06\xf9\x02\ - \x02\xf4\x02\x14\n\r\n\x05\x04\x0f\x02\x01\x05\x12\x04\xf9\x02\x02\x08\n\ - \r\n\x05\x04\x0f\x02\x01\x01\x12\x04\xf9\x02\t\x17\n\r\n\x05\x04\x0f\x02\ - \x01\x03\x12\x04\xf9\x02\x1a\x1b\n[\n\x04\x04\x0f\x02\x02\x12\x04\xfd\ - \x02\x02\x1d\x1aM\x20The\x20app\x20profile\x20to\x20be\x20created.\n\x20\ - Fields\x20marked\x20`OutputOnly`\x20will\x20be\x20ignored.\n\n\x0f\n\x05\ - \x04\x0f\x02\x02\x04\x12\x06\xfd\x02\x02\xf9\x02\x1c\n\r\n\x05\x04\x0f\ - \x02\x02\x06\x12\x04\xfd\x02\x02\x0c\n\r\n\x05\x04\x0f\x02\x02\x01\x12\ - \x04\xfd\x02\r\x18\n\r\n\x05\x04\x0f\x02\x02\x03\x12\x04\xfd\x02\x1b\x1c\ - \nL\n\x04\x04\x0f\x02\x03\x12\x04\x80\x03\x02\x1b\x1a>\x20If\x20true,\ - \x20ignore\x20safety\x20checks\x20when\x20creating\x20the\x20app\x20prof\ - ile.\n\n\x0f\n\x05\x04\x0f\x02\x03\x04\x12\x06\x80\x03\x02\xfd\x02\x1d\n\ - \r\n\x05\x04\x0f\x02\x03\x05\x12\x04\x80\x03\x02\x06\n\r\n\x05\x04\x0f\ - \x02\x03\x01\x12\x04\x80\x03\x07\x16\n\r\n\x05\x04\x0f\x02\x03\x03\x12\ - \x04\x80\x03\x19\x1a\nH\n\x02\x04\x10\x12\x06\x84\x03\0\x88\x03\x01\x1a:\ - \x20Request\x20message\x20for\x20BigtableInstanceAdmin.GetAppProfile.\n\ - \n\x0b\n\x03\x04\x10\x01\x12\x04\x84\x03\x08\x1c\n\x9b\x01\n\x04\x04\x10\ - \x02\0\x12\x04\x87\x03\x02\x12\x1a\x8c\x01\x20The\x20unique\x20name\x20o\ - f\x20the\x20requested\x20app\x20profile.\x20Values\x20are\x20of\x20the\ - \x20form\n\x20`projects//instances//appProfiles/`.\n\n\x0f\n\x05\x04\x10\x02\0\x04\x12\x06\x87\x03\x02\x84\x03\ - \x1e\n\r\n\x05\x04\x10\x02\0\x05\x12\x04\x87\x03\x02\x08\n\r\n\x05\x04\ - \x10\x02\0\x01\x12\x04\x87\x03\t\r\n\r\n\x05\x04\x10\x02\0\x03\x12\x04\ - \x87\x03\x10\x11\nJ\n\x02\x04\x11\x12\x06\x8b\x03\0\x99\x03\x01\x1a<\x20\ - Request\x20message\x20for\x20BigtableInstanceAdmin.ListAppProfiles.\n\n\ - \x0b\n\x03\x04\x11\x01\x12\x04\x8b\x03\x08\x1e\n\x98\x02\n\x04\x04\x11\ - \x02\0\x12\x04\x91\x03\x02\x14\x1a\x89\x02\x20The\x20unique\x20name\x20o\ - f\x20the\x20instance\x20for\x20which\x20a\x20list\x20of\x20app\x20profil\ - es\x20is\n\x20requested.\x20Values\x20are\x20of\x20the\x20form\n\x20`pro\ - jects//instances/`.\n\x20Use\x20`\x20=\x20'\ - -'`\x20to\x20list\x20AppProfiles\x20for\x20all\x20Instances\x20in\x20a\ - \x20project,\n\x20e.g.,\x20`projects/myproject/instances/-`.\n\n\x0f\n\ - \x05\x04\x11\x02\0\x04\x12\x06\x91\x03\x02\x8b\x03\x20\n\r\n\x05\x04\x11\ - \x02\0\x05\x12\x04\x91\x03\x02\x08\n\r\n\x05\x04\x11\x02\0\x01\x12\x04\ - \x91\x03\t\x0f\n\r\n\x05\x04\x11\x02\0\x03\x12\x04\x91\x03\x12\x13\nY\n\ - \x04\x04\x11\x02\x01\x12\x04\x95\x03\x02\x16\x1aK\x20Maximum\x20number\ - \x20of\x20results\x20per\x20page.\n\x20CURRENTLY\x20UNIMPLEMENTED\x20AND\ - \x20IGNORED.\n\n\x0f\n\x05\x04\x11\x02\x01\x04\x12\x06\x95\x03\x02\x91\ - \x03\x14\n\r\n\x05\x04\x11\x02\x01\x05\x12\x04\x95\x03\x02\x07\n\r\n\x05\ - \x04\x11\x02\x01\x01\x12\x04\x95\x03\x08\x11\n\r\n\x05\x04\x11\x02\x01\ - \x03\x12\x04\x95\x03\x14\x15\nK\n\x04\x04\x11\x02\x02\x12\x04\x98\x03\ - \x02\x18\x1a=\x20The\x20value\x20of\x20`next_page_token`\x20returned\x20\ - by\x20a\x20previous\x20call.\n\n\x0f\n\x05\x04\x11\x02\x02\x04\x12\x06\ - \x98\x03\x02\x95\x03\x16\n\r\n\x05\x04\x11\x02\x02\x05\x12\x04\x98\x03\ - \x02\x08\n\r\n\x05\x04\x11\x02\x02\x01\x12\x04\x98\x03\t\x13\n\r\n\x05\ - \x04\x11\x02\x02\x03\x12\x04\x98\x03\x16\x17\nK\n\x02\x04\x12\x12\x06\ - \x9c\x03\0\xaa\x03\x01\x1a=\x20Response\x20message\x20for\x20BigtableIns\ - tanceAdmin.ListAppProfiles.\n\n\x0b\n\x03\x04\x12\x01\x12\x04\x9c\x03\ - \x08\x1f\n3\n\x04\x04\x12\x02\0\x12\x04\x9e\x03\x02'\x1a%\x20The\x20list\ - \x20of\x20requested\x20app\x20profiles.\n\n\r\n\x05\x04\x12\x02\0\x04\ - \x12\x04\x9e\x03\x02\n\n\r\n\x05\x04\x12\x02\0\x06\x12\x04\x9e\x03\x0b\ - \x15\n\r\n\x05\x04\x12\x02\0\x01\x12\x04\x9e\x03\x16\"\n\r\n\x05\x04\x12\ - \x02\0\x03\x12\x04\x9e\x03%&\n\xaa\x01\n\x04\x04\x12\x02\x01\x12\x04\xa3\ - \x03\x02\x1d\x1a\x9b\x01\x20Set\x20if\x20not\x20all\x20app\x20profiles\ - \x20could\x20be\x20returned\x20in\x20a\x20single\x20response.\n\x20Pass\ - \x20this\x20value\x20to\x20`page_token`\x20in\x20another\x20request\x20t\ - o\x20get\x20the\x20next\n\x20page\x20of\x20results.\n\n\x0f\n\x05\x04\ - \x12\x02\x01\x04\x12\x06\xa3\x03\x02\x9e\x03'\n\r\n\x05\x04\x12\x02\x01\ - \x05\x12\x04\xa3\x03\x02\x08\n\r\n\x05\x04\x12\x02\x01\x01\x12\x04\xa3\ - \x03\t\x18\n\r\n\x05\x04\x12\x02\x01\x03\x12\x04\xa3\x03\x1b\x1c\n\x90\ - \x02\n\x04\x04\x12\x02\x02\x12\x04\xa9\x03\x02'\x1a\x81\x02\x20Locations\ - \x20from\x20which\x20AppProfile\x20information\x20could\x20not\x20be\x20\ - retrieved,\n\x20due\x20to\x20an\x20outage\x20or\x20some\x20other\x20tran\ - sient\x20condition.\n\x20AppProfiles\x20from\x20these\x20locations\x20ma\ - y\x20be\x20missing\x20from\x20`app_profiles`.\n\x20Values\x20are\x20of\ - \x20the\x20form\x20`projects//locations/`\n\n\r\n\x05\ - \x04\x12\x02\x02\x04\x12\x04\xa9\x03\x02\n\n\r\n\x05\x04\x12\x02\x02\x05\ - \x12\x04\xa9\x03\x0b\x11\n\r\n\x05\x04\x12\x02\x02\x01\x12\x04\xa9\x03\ - \x12\"\n\r\n\x05\x04\x12\x02\x02\x03\x12\x04\xa9\x03%&\nK\n\x02\x04\x13\ - \x12\x06\xad\x03\0\xb7\x03\x01\x1a=\x20Request\x20message\x20for\x20Bigt\ - ableInstanceAdmin.UpdateAppProfile.\n\n\x0b\n\x03\x04\x13\x01\x12\x04\ - \xad\x03\x08\x1f\nQ\n\x04\x04\x13\x02\0\x12\x04\xaf\x03\x02\x1d\x1aC\x20\ - The\x20app\x20profile\x20which\x20will\x20(partially)\x20replace\x20the\ - \x20current\x20value.\n\n\x0f\n\x05\x04\x13\x02\0\x04\x12\x06\xaf\x03\ - \x02\xad\x03!\n\r\n\x05\x04\x13\x02\0\x06\x12\x04\xaf\x03\x02\x0c\n\r\n\ - \x05\x04\x13\x02\0\x01\x12\x04\xaf\x03\r\x18\n\r\n\x05\x04\x13\x02\0\x03\ - \x12\x04\xaf\x03\x1b\x1c\nr\n\x04\x04\x13\x02\x01\x12\x04\xb3\x03\x02,\ - \x1ad\x20The\x20subset\x20of\x20app\x20profile\x20fields\x20which\x20sho\ - uld\x20be\x20replaced.\n\x20If\x20unset,\x20all\x20fields\x20will\x20be\ - \x20replaced.\n\n\x0f\n\x05\x04\x13\x02\x01\x04\x12\x06\xb3\x03\x02\xaf\ - \x03\x1d\n\r\n\x05\x04\x13\x02\x01\x06\x12\x04\xb3\x03\x02\x1b\n\r\n\x05\ - \x04\x13\x02\x01\x01\x12\x04\xb3\x03\x1c'\n\r\n\x05\x04\x13\x02\x01\x03\ - \x12\x04\xb3\x03*+\nL\n\x04\x04\x13\x02\x02\x12\x04\xb6\x03\x02\x1b\x1a>\ - \x20If\x20true,\x20ignore\x20safety\x20checks\x20when\x20updating\x20the\ - \x20app\x20profile.\n\n\x0f\n\x05\x04\x13\x02\x02\x04\x12\x06\xb6\x03\ - \x02\xb3\x03,\n\r\n\x05\x04\x13\x02\x02\x05\x12\x04\xb6\x03\x02\x06\n\r\ - \n\x05\x04\x13\x02\x02\x01\x12\x04\xb6\x03\x07\x16\n\r\n\x05\x04\x13\x02\ - \x02\x03\x12\x04\xb6\x03\x19\x1a\nK\n\x02\x04\x14\x12\x06\xbb\x03\0\xc2\ - \x03\x01\x1a=\x20Request\x20message\x20for\x20BigtableInstanceAdmin.Dele\ - teAppProfile.\n\n\x0b\n\x03\x04\x14\x01\x12\x04\xbb\x03\x08\x1f\n\x9f\ - \x01\n\x04\x04\x14\x02\0\x12\x04\xbe\x03\x02\x12\x1a\x90\x01\x20The\x20u\ - nique\x20name\x20of\x20the\x20app\x20profile\x20to\x20be\x20deleted.\x20\ - Values\x20are\x20of\x20the\x20form\n\x20`projects//instances//appProfiles/`.\n\n\x0f\n\x05\x04\x14\x02\0\x04\x12\ - \x06\xbe\x03\x02\xbb\x03!\n\r\n\x05\x04\x14\x02\0\x05\x12\x04\xbe\x03\ - \x02\x08\n\r\n\x05\x04\x14\x02\0\x01\x12\x04\xbe\x03\t\r\n\r\n\x05\x04\ - \x14\x02\0\x03\x12\x04\xbe\x03\x10\x11\nL\n\x04\x04\x14\x02\x01\x12\x04\ - \xc1\x03\x02\x1b\x1a>\x20If\x20true,\x20ignore\x20safety\x20checks\x20wh\ - en\x20deleting\x20the\x20app\x20profile.\n\n\x0f\n\x05\x04\x14\x02\x01\ - \x04\x12\x06\xc1\x03\x02\xbe\x03\x12\n\r\n\x05\x04\x14\x02\x01\x05\x12\ - \x04\xc1\x03\x02\x06\n\r\n\x05\x04\x14\x02\x01\x01\x12\x04\xc1\x03\x07\ - \x16\n\r\n\x05\x04\x14\x02\x01\x03\x12\x04\xc1\x03\x19\x1a\nL\n\x02\x04\ - \x15\x12\x06\xc5\x03\0\xc7\x03\x01\x1a>\x20The\x20metadata\x20for\x20the\ - \x20Operation\x20returned\x20by\x20UpdateAppProfile.\n\n\x0b\n\x03\x04\ - \x15\x01\x12\x04\xc5\x03\x08\x20b\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_instance_admin_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_instance_admin_grpc.rs deleted file mode 100644 index c4a8d9bb67..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_instance_admin_grpc.rs +++ /dev/null @@ -1,575 +0,0 @@ -// This file is generated. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] - -const METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_INSTANCE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateInstance", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_GET_INSTANCE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetInstance", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_INSTANCES: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListInstances", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_INSTANCE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateInstance", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_PARTIAL_UPDATE_INSTANCE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateInstance", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_INSTANCE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteInstance", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_CLUSTER: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateCluster", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_GET_CLUSTER: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetCluster", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_CLUSTERS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListClusters", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_CLUSTER: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateCluster", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_CLUSTER: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteCluster", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_APP_PROFILE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateAppProfile", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_GET_APP_PROFILE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetAppProfile", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_APP_PROFILES: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListAppProfiles", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_APP_PROFILE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateAppProfile", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_APP_PROFILE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteAppProfile", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_GET_IAM_POLICY: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetIamPolicy", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_SET_IAM_POLICY: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/SetIamPolicy", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_INSTANCE_ADMIN_TEST_IAM_PERMISSIONS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableInstanceAdmin/TestIamPermissions", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -#[derive(Clone)] -pub struct BigtableInstanceAdminClient { - client: ::grpcio::Client, -} - -impl BigtableInstanceAdminClient { - pub fn new(channel: ::grpcio::Channel) -> Self { - BigtableInstanceAdminClient { - client: ::grpcio::Client::new(channel), - } - } - - pub fn create_instance_opt(&self, req: &super::bigtable_instance_admin::CreateInstanceRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_INSTANCE, req, opt) - } - - pub fn create_instance(&self, req: &super::bigtable_instance_admin::CreateInstanceRequest) -> ::grpcio::Result { - self.create_instance_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_instance_async_opt(&self, req: &super::bigtable_instance_admin::CreateInstanceRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_INSTANCE, req, opt) - } - - pub fn create_instance_async(&self, req: &super::bigtable_instance_admin::CreateInstanceRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_instance_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_instance_opt(&self, req: &super::bigtable_instance_admin::GetInstanceRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_INSTANCE, req, opt) - } - - pub fn get_instance(&self, req: &super::bigtable_instance_admin::GetInstanceRequest) -> ::grpcio::Result { - self.get_instance_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_instance_async_opt(&self, req: &super::bigtable_instance_admin::GetInstanceRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_INSTANCE, req, opt) - } - - pub fn get_instance_async(&self, req: &super::bigtable_instance_admin::GetInstanceRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_instance_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_instances_opt(&self, req: &super::bigtable_instance_admin::ListInstancesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_INSTANCES, req, opt) - } - - pub fn list_instances(&self, req: &super::bigtable_instance_admin::ListInstancesRequest) -> ::grpcio::Result { - self.list_instances_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_instances_async_opt(&self, req: &super::bigtable_instance_admin::ListInstancesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_INSTANCES, req, opt) - } - - pub fn list_instances_async(&self, req: &super::bigtable_instance_admin::ListInstancesRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_instances_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_instance_opt(&self, req: &super::instance::Instance, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_INSTANCE, req, opt) - } - - pub fn update_instance(&self, req: &super::instance::Instance) -> ::grpcio::Result { - self.update_instance_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_instance_async_opt(&self, req: &super::instance::Instance, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_INSTANCE, req, opt) - } - - pub fn update_instance_async(&self, req: &super::instance::Instance) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.update_instance_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn partial_update_instance_opt(&self, req: &super::bigtable_instance_admin::PartialUpdateInstanceRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_PARTIAL_UPDATE_INSTANCE, req, opt) - } - - pub fn partial_update_instance(&self, req: &super::bigtable_instance_admin::PartialUpdateInstanceRequest) -> ::grpcio::Result { - self.partial_update_instance_opt(req, ::grpcio::CallOption::default()) - } - - pub fn partial_update_instance_async_opt(&self, req: &super::bigtable_instance_admin::PartialUpdateInstanceRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_PARTIAL_UPDATE_INSTANCE, req, opt) - } - - pub fn partial_update_instance_async(&self, req: &super::bigtable_instance_admin::PartialUpdateInstanceRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.partial_update_instance_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_instance_opt(&self, req: &super::bigtable_instance_admin::DeleteInstanceRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_INSTANCE, req, opt) - } - - pub fn delete_instance(&self, req: &super::bigtable_instance_admin::DeleteInstanceRequest) -> ::grpcio::Result { - self.delete_instance_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_instance_async_opt(&self, req: &super::bigtable_instance_admin::DeleteInstanceRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_INSTANCE, req, opt) - } - - pub fn delete_instance_async(&self, req: &super::bigtable_instance_admin::DeleteInstanceRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_instance_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_cluster_opt(&self, req: &super::bigtable_instance_admin::CreateClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_CLUSTER, req, opt) - } - - pub fn create_cluster(&self, req: &super::bigtable_instance_admin::CreateClusterRequest) -> ::grpcio::Result { - self.create_cluster_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_cluster_async_opt(&self, req: &super::bigtable_instance_admin::CreateClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_CLUSTER, req, opt) - } - - pub fn create_cluster_async(&self, req: &super::bigtable_instance_admin::CreateClusterRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_cluster_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_cluster_opt(&self, req: &super::bigtable_instance_admin::GetClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_CLUSTER, req, opt) - } - - pub fn get_cluster(&self, req: &super::bigtable_instance_admin::GetClusterRequest) -> ::grpcio::Result { - self.get_cluster_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_cluster_async_opt(&self, req: &super::bigtable_instance_admin::GetClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_CLUSTER, req, opt) - } - - pub fn get_cluster_async(&self, req: &super::bigtable_instance_admin::GetClusterRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_cluster_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_clusters_opt(&self, req: &super::bigtable_instance_admin::ListClustersRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_CLUSTERS, req, opt) - } - - pub fn list_clusters(&self, req: &super::bigtable_instance_admin::ListClustersRequest) -> ::grpcio::Result { - self.list_clusters_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_clusters_async_opt(&self, req: &super::bigtable_instance_admin::ListClustersRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_CLUSTERS, req, opt) - } - - pub fn list_clusters_async(&self, req: &super::bigtable_instance_admin::ListClustersRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_clusters_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_cluster_opt(&self, req: &super::instance::Cluster, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_CLUSTER, req, opt) - } - - pub fn update_cluster(&self, req: &super::instance::Cluster) -> ::grpcio::Result { - self.update_cluster_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_cluster_async_opt(&self, req: &super::instance::Cluster, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_CLUSTER, req, opt) - } - - pub fn update_cluster_async(&self, req: &super::instance::Cluster) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.update_cluster_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_cluster_opt(&self, req: &super::bigtable_instance_admin::DeleteClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_CLUSTER, req, opt) - } - - pub fn delete_cluster(&self, req: &super::bigtable_instance_admin::DeleteClusterRequest) -> ::grpcio::Result { - self.delete_cluster_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_cluster_async_opt(&self, req: &super::bigtable_instance_admin::DeleteClusterRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_CLUSTER, req, opt) - } - - pub fn delete_cluster_async(&self, req: &super::bigtable_instance_admin::DeleteClusterRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_cluster_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_app_profile_opt(&self, req: &super::bigtable_instance_admin::CreateAppProfileRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_APP_PROFILE, req, opt) - } - - pub fn create_app_profile(&self, req: &super::bigtable_instance_admin::CreateAppProfileRequest) -> ::grpcio::Result { - self.create_app_profile_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_app_profile_async_opt(&self, req: &super::bigtable_instance_admin::CreateAppProfileRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_APP_PROFILE, req, opt) - } - - pub fn create_app_profile_async(&self, req: &super::bigtable_instance_admin::CreateAppProfileRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_app_profile_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_app_profile_opt(&self, req: &super::bigtable_instance_admin::GetAppProfileRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_APP_PROFILE, req, opt) - } - - pub fn get_app_profile(&self, req: &super::bigtable_instance_admin::GetAppProfileRequest) -> ::grpcio::Result { - self.get_app_profile_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_app_profile_async_opt(&self, req: &super::bigtable_instance_admin::GetAppProfileRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_APP_PROFILE, req, opt) - } - - pub fn get_app_profile_async(&self, req: &super::bigtable_instance_admin::GetAppProfileRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_app_profile_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_app_profiles_opt(&self, req: &super::bigtable_instance_admin::ListAppProfilesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_APP_PROFILES, req, opt) - } - - pub fn list_app_profiles(&self, req: &super::bigtable_instance_admin::ListAppProfilesRequest) -> ::grpcio::Result { - self.list_app_profiles_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_app_profiles_async_opt(&self, req: &super::bigtable_instance_admin::ListAppProfilesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_APP_PROFILES, req, opt) - } - - pub fn list_app_profiles_async(&self, req: &super::bigtable_instance_admin::ListAppProfilesRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_app_profiles_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_app_profile_opt(&self, req: &super::bigtable_instance_admin::UpdateAppProfileRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_APP_PROFILE, req, opt) - } - - pub fn update_app_profile(&self, req: &super::bigtable_instance_admin::UpdateAppProfileRequest) -> ::grpcio::Result { - self.update_app_profile_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_app_profile_async_opt(&self, req: &super::bigtable_instance_admin::UpdateAppProfileRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_APP_PROFILE, req, opt) - } - - pub fn update_app_profile_async(&self, req: &super::bigtable_instance_admin::UpdateAppProfileRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.update_app_profile_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_app_profile_opt(&self, req: &super::bigtable_instance_admin::DeleteAppProfileRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_APP_PROFILE, req, opt) - } - - pub fn delete_app_profile(&self, req: &super::bigtable_instance_admin::DeleteAppProfileRequest) -> ::grpcio::Result { - self.delete_app_profile_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_app_profile_async_opt(&self, req: &super::bigtable_instance_admin::DeleteAppProfileRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_APP_PROFILE, req, opt) - } - - pub fn delete_app_profile_async(&self, req: &super::bigtable_instance_admin::DeleteAppProfileRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_app_profile_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_iam_policy_opt(&self, req: &super::iam_policy::GetIamPolicyRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_IAM_POLICY, req, opt) - } - - pub fn get_iam_policy(&self, req: &super::iam_policy::GetIamPolicyRequest) -> ::grpcio::Result { - self.get_iam_policy_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_iam_policy_async_opt(&self, req: &super::iam_policy::GetIamPolicyRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_IAM_POLICY, req, opt) - } - - pub fn get_iam_policy_async(&self, req: &super::iam_policy::GetIamPolicyRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_iam_policy_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn set_iam_policy_opt(&self, req: &super::iam_policy::SetIamPolicyRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_SET_IAM_POLICY, req, opt) - } - - pub fn set_iam_policy(&self, req: &super::iam_policy::SetIamPolicyRequest) -> ::grpcio::Result { - self.set_iam_policy_opt(req, ::grpcio::CallOption::default()) - } - - pub fn set_iam_policy_async_opt(&self, req: &super::iam_policy::SetIamPolicyRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_SET_IAM_POLICY, req, opt) - } - - pub fn set_iam_policy_async(&self, req: &super::iam_policy::SetIamPolicyRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.set_iam_policy_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn test_iam_permissions_opt(&self, req: &super::iam_policy::TestIamPermissionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_INSTANCE_ADMIN_TEST_IAM_PERMISSIONS, req, opt) - } - - pub fn test_iam_permissions(&self, req: &super::iam_policy::TestIamPermissionsRequest) -> ::grpcio::Result { - self.test_iam_permissions_opt(req, ::grpcio::CallOption::default()) - } - - pub fn test_iam_permissions_async_opt(&self, req: &super::iam_policy::TestIamPermissionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_INSTANCE_ADMIN_TEST_IAM_PERMISSIONS, req, opt) - } - - pub fn test_iam_permissions_async(&self, req: &super::iam_policy::TestIamPermissionsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.test_iam_permissions_async_opt(req, ::grpcio::CallOption::default()) - } - pub fn spawn(&self, f: F) where F: ::futures::Future + Send + 'static { - self.client.spawn(f) - } -} - -pub trait BigtableInstanceAdmin { - fn create_instance(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::CreateInstanceRequest, sink: ::grpcio::UnarySink); - fn get_instance(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::GetInstanceRequest, sink: ::grpcio::UnarySink); - fn list_instances(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::ListInstancesRequest, sink: ::grpcio::UnarySink); - fn update_instance(&mut self, ctx: ::grpcio::RpcContext, req: super::instance::Instance, sink: ::grpcio::UnarySink); - fn partial_update_instance(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::PartialUpdateInstanceRequest, sink: ::grpcio::UnarySink); - fn delete_instance(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::DeleteInstanceRequest, sink: ::grpcio::UnarySink); - fn create_cluster(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::CreateClusterRequest, sink: ::grpcio::UnarySink); - fn get_cluster(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::GetClusterRequest, sink: ::grpcio::UnarySink); - fn list_clusters(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::ListClustersRequest, sink: ::grpcio::UnarySink); - fn update_cluster(&mut self, ctx: ::grpcio::RpcContext, req: super::instance::Cluster, sink: ::grpcio::UnarySink); - fn delete_cluster(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::DeleteClusterRequest, sink: ::grpcio::UnarySink); - fn create_app_profile(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::CreateAppProfileRequest, sink: ::grpcio::UnarySink); - fn get_app_profile(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::GetAppProfileRequest, sink: ::grpcio::UnarySink); - fn list_app_profiles(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::ListAppProfilesRequest, sink: ::grpcio::UnarySink); - fn update_app_profile(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::UpdateAppProfileRequest, sink: ::grpcio::UnarySink); - fn delete_app_profile(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_instance_admin::DeleteAppProfileRequest, sink: ::grpcio::UnarySink); - fn get_iam_policy(&mut self, ctx: ::grpcio::RpcContext, req: super::iam_policy::GetIamPolicyRequest, sink: ::grpcio::UnarySink); - fn set_iam_policy(&mut self, ctx: ::grpcio::RpcContext, req: super::iam_policy::SetIamPolicyRequest, sink: ::grpcio::UnarySink); - fn test_iam_permissions(&mut self, ctx: ::grpcio::RpcContext, req: super::iam_policy::TestIamPermissionsRequest, sink: ::grpcio::UnarySink); -} - -pub fn create_bigtable_instance_admin(s: S) -> ::grpcio::Service { - let mut builder = ::grpcio::ServiceBuilder::new(); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_INSTANCE, move |ctx, req, resp| { - instance.create_instance(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_INSTANCE, move |ctx, req, resp| { - instance.get_instance(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_INSTANCES, move |ctx, req, resp| { - instance.list_instances(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_INSTANCE, move |ctx, req, resp| { - instance.update_instance(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_PARTIAL_UPDATE_INSTANCE, move |ctx, req, resp| { - instance.partial_update_instance(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_INSTANCE, move |ctx, req, resp| { - instance.delete_instance(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_CLUSTER, move |ctx, req, resp| { - instance.create_cluster(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_CLUSTER, move |ctx, req, resp| { - instance.get_cluster(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_CLUSTERS, move |ctx, req, resp| { - instance.list_clusters(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_CLUSTER, move |ctx, req, resp| { - instance.update_cluster(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_CLUSTER, move |ctx, req, resp| { - instance.delete_cluster(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_CREATE_APP_PROFILE, move |ctx, req, resp| { - instance.create_app_profile(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_APP_PROFILE, move |ctx, req, resp| { - instance.get_app_profile(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_LIST_APP_PROFILES, move |ctx, req, resp| { - instance.list_app_profiles(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_UPDATE_APP_PROFILE, move |ctx, req, resp| { - instance.update_app_profile(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_DELETE_APP_PROFILE, move |ctx, req, resp| { - instance.delete_app_profile(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_GET_IAM_POLICY, move |ctx, req, resp| { - instance.get_iam_policy(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_SET_IAM_POLICY, move |ctx, req, resp| { - instance.set_iam_policy(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_INSTANCE_ADMIN_TEST_IAM_PERMISSIONS, move |ctx, req, resp| { - instance.test_iam_permissions(ctx, req, resp) - }); - builder.build() -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_table_admin.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_table_admin.rs deleted file mode 100644 index 0282feae08..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_table_admin.rs +++ /dev/null @@ -1,5704 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/v2/bigtable_table_admin.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct CreateTableRequest { - // message fields - pub parent: ::std::string::String, - pub table_id: ::std::string::String, - pub table: ::protobuf::SingularPtrField, - pub initial_splits: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateTableRequest { - fn default() -> &'a CreateTableRequest { - ::default_instance() - } -} - -impl CreateTableRequest { - pub fn new() -> CreateTableRequest { - ::std::default::Default::default() - } - - // string parent = 1; - - - pub fn get_parent(&self) -> &str { - &self.parent - } - pub fn clear_parent(&mut self) { - self.parent.clear(); - } - - // Param is passed by value, moved - pub fn set_parent(&mut self, v: ::std::string::String) { - self.parent = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_parent(&mut self) -> &mut ::std::string::String { - &mut self.parent - } - - // Take field - pub fn take_parent(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.parent, ::std::string::String::new()) - } - - // string table_id = 2; - - - pub fn get_table_id(&self) -> &str { - &self.table_id - } - pub fn clear_table_id(&mut self) { - self.table_id.clear(); - } - - // Param is passed by value, moved - pub fn set_table_id(&mut self, v: ::std::string::String) { - self.table_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_id(&mut self) -> &mut ::std::string::String { - &mut self.table_id - } - - // Take field - pub fn take_table_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_id, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.Table table = 3; - - - pub fn get_table(&self) -> &super::table::Table { - self.table.as_ref().unwrap_or_else(|| super::table::Table::default_instance()) - } - pub fn clear_table(&mut self) { - self.table.clear(); - } - - pub fn has_table(&self) -> bool { - self.table.is_some() - } - - // Param is passed by value, moved - pub fn set_table(&mut self, v: super::table::Table) { - self.table = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table(&mut self) -> &mut super::table::Table { - if self.table.is_none() { - self.table.set_default(); - } - self.table.as_mut().unwrap() - } - - // Take field - pub fn take_table(&mut self) -> super::table::Table { - self.table.take().unwrap_or_else(|| super::table::Table::new()) - } - - // repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4; - - - pub fn get_initial_splits(&self) -> &[CreateTableRequest_Split] { - &self.initial_splits - } - pub fn clear_initial_splits(&mut self) { - self.initial_splits.clear(); - } - - // Param is passed by value, moved - pub fn set_initial_splits(&mut self, v: ::protobuf::RepeatedField) { - self.initial_splits = v; - } - - // Mutable pointer to the field. - pub fn mut_initial_splits(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.initial_splits - } - - // Take field - pub fn take_initial_splits(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.initial_splits, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for CreateTableRequest { - fn is_initialized(&self) -> bool { - for v in &self.table { - if !v.is_initialized() { - return false; - } - }; - for v in &self.initial_splits { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_id)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.table)?; - }, - 4 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.initial_splits)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.parent.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.parent); - } - if !self.table_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.table_id); - } - if let Some(ref v) = self.table.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - for value in &self.initial_splits { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.parent.is_empty() { - os.write_string(1, &self.parent)?; - } - if !self.table_id.is_empty() { - os.write_string(2, &self.table_id)?; - } - if let Some(ref v) = self.table.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - for v in &self.initial_splits { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateTableRequest { - CreateTableRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "parent", - |m: &CreateTableRequest| { &m.parent }, - |m: &mut CreateTableRequest| { &mut m.parent }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_id", - |m: &CreateTableRequest| { &m.table_id }, - |m: &mut CreateTableRequest| { &mut m.table_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "table", - |m: &CreateTableRequest| { &m.table }, - |m: &mut CreateTableRequest| { &mut m.table }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "initial_splits", - |m: &CreateTableRequest| { &m.initial_splits }, - |m: &mut CreateTableRequest| { &mut m.initial_splits }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateTableRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateTableRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateTableRequest, - }; - unsafe { - instance.get(CreateTableRequest::new) - } - } -} - -impl ::protobuf::Clear for CreateTableRequest { - fn clear(&mut self) { - self.parent.clear(); - self.table_id.clear(); - self.table.clear(); - self.initial_splits.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateTableRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateTableRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateTableRequest_Split { - // message fields - pub key: ::std::vec::Vec, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateTableRequest_Split { - fn default() -> &'a CreateTableRequest_Split { - ::default_instance() - } -} - -impl CreateTableRequest_Split { - pub fn new() -> CreateTableRequest_Split { - ::std::default::Default::default() - } - - // bytes key = 1; - - - pub fn get_key(&self) -> &[u8] { - &self.key - } - pub fn clear_key(&mut self) { - self.key.clear(); - } - - // Param is passed by value, moved - pub fn set_key(&mut self, v: ::std::vec::Vec) { - self.key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.key - } - - // Take field - pub fn take_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.key, ::std::vec::Vec::new()) - } -} - -impl ::protobuf::Message for CreateTableRequest_Split { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.key)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.key.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.key); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.key.is_empty() { - os.write_bytes(1, &self.key)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateTableRequest_Split { - CreateTableRequest_Split::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "key", - |m: &CreateTableRequest_Split| { &m.key }, - |m: &mut CreateTableRequest_Split| { &mut m.key }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateTableRequest_Split", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateTableRequest_Split { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateTableRequest_Split, - }; - unsafe { - instance.get(CreateTableRequest_Split::new) - } - } -} - -impl ::protobuf::Clear for CreateTableRequest_Split { - fn clear(&mut self) { - self.key.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateTableRequest_Split { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateTableRequest_Split { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateTableFromSnapshotRequest { - // message fields - pub parent: ::std::string::String, - pub table_id: ::std::string::String, - pub source_snapshot: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateTableFromSnapshotRequest { - fn default() -> &'a CreateTableFromSnapshotRequest { - ::default_instance() - } -} - -impl CreateTableFromSnapshotRequest { - pub fn new() -> CreateTableFromSnapshotRequest { - ::std::default::Default::default() - } - - // string parent = 1; - - - pub fn get_parent(&self) -> &str { - &self.parent - } - pub fn clear_parent(&mut self) { - self.parent.clear(); - } - - // Param is passed by value, moved - pub fn set_parent(&mut self, v: ::std::string::String) { - self.parent = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_parent(&mut self) -> &mut ::std::string::String { - &mut self.parent - } - - // Take field - pub fn take_parent(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.parent, ::std::string::String::new()) - } - - // string table_id = 2; - - - pub fn get_table_id(&self) -> &str { - &self.table_id - } - pub fn clear_table_id(&mut self) { - self.table_id.clear(); - } - - // Param is passed by value, moved - pub fn set_table_id(&mut self, v: ::std::string::String) { - self.table_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_id(&mut self) -> &mut ::std::string::String { - &mut self.table_id - } - - // Take field - pub fn take_table_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_id, ::std::string::String::new()) - } - - // string source_snapshot = 3; - - - pub fn get_source_snapshot(&self) -> &str { - &self.source_snapshot - } - pub fn clear_source_snapshot(&mut self) { - self.source_snapshot.clear(); - } - - // Param is passed by value, moved - pub fn set_source_snapshot(&mut self, v: ::std::string::String) { - self.source_snapshot = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_source_snapshot(&mut self) -> &mut ::std::string::String { - &mut self.source_snapshot - } - - // Take field - pub fn take_source_snapshot(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.source_snapshot, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for CreateTableFromSnapshotRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_id)?; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.source_snapshot)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.parent.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.parent); - } - if !self.table_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.table_id); - } - if !self.source_snapshot.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.source_snapshot); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.parent.is_empty() { - os.write_string(1, &self.parent)?; - } - if !self.table_id.is_empty() { - os.write_string(2, &self.table_id)?; - } - if !self.source_snapshot.is_empty() { - os.write_string(3, &self.source_snapshot)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateTableFromSnapshotRequest { - CreateTableFromSnapshotRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "parent", - |m: &CreateTableFromSnapshotRequest| { &m.parent }, - |m: &mut CreateTableFromSnapshotRequest| { &mut m.parent }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_id", - |m: &CreateTableFromSnapshotRequest| { &m.table_id }, - |m: &mut CreateTableFromSnapshotRequest| { &mut m.table_id }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "source_snapshot", - |m: &CreateTableFromSnapshotRequest| { &m.source_snapshot }, - |m: &mut CreateTableFromSnapshotRequest| { &mut m.source_snapshot }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateTableFromSnapshotRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateTableFromSnapshotRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateTableFromSnapshotRequest, - }; - unsafe { - instance.get(CreateTableFromSnapshotRequest::new) - } - } -} - -impl ::protobuf::Clear for CreateTableFromSnapshotRequest { - fn clear(&mut self) { - self.parent.clear(); - self.table_id.clear(); - self.source_snapshot.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateTableFromSnapshotRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateTableFromSnapshotRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DropRowRangeRequest { - // message fields - pub name: ::std::string::String, - // message oneof groups - pub target: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DropRowRangeRequest { - fn default() -> &'a DropRowRangeRequest { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum DropRowRangeRequest_oneof_target { - row_key_prefix(::std::vec::Vec), - delete_all_data_from_table(bool), -} - -impl DropRowRangeRequest { - pub fn new() -> DropRowRangeRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // bytes row_key_prefix = 2; - - - pub fn get_row_key_prefix(&self) -> &[u8] { - match self.target { - ::std::option::Option::Some(DropRowRangeRequest_oneof_target::row_key_prefix(ref v)) => v, - _ => &[], - } - } - pub fn clear_row_key_prefix(&mut self) { - self.target = ::std::option::Option::None; - } - - pub fn has_row_key_prefix(&self) -> bool { - match self.target { - ::std::option::Option::Some(DropRowRangeRequest_oneof_target::row_key_prefix(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_row_key_prefix(&mut self, v: ::std::vec::Vec) { - self.target = ::std::option::Option::Some(DropRowRangeRequest_oneof_target::row_key_prefix(v)) - } - - // Mutable pointer to the field. - pub fn mut_row_key_prefix(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(DropRowRangeRequest_oneof_target::row_key_prefix(_)) = self.target { - } else { - self.target = ::std::option::Option::Some(DropRowRangeRequest_oneof_target::row_key_prefix(::std::vec::Vec::new())); - } - match self.target { - ::std::option::Option::Some(DropRowRangeRequest_oneof_target::row_key_prefix(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_row_key_prefix(&mut self) -> ::std::vec::Vec { - if self.has_row_key_prefix() { - match self.target.take() { - ::std::option::Option::Some(DropRowRangeRequest_oneof_target::row_key_prefix(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bool delete_all_data_from_table = 3; - - - pub fn get_delete_all_data_from_table(&self) -> bool { - match self.target { - ::std::option::Option::Some(DropRowRangeRequest_oneof_target::delete_all_data_from_table(v)) => v, - _ => false, - } - } - pub fn clear_delete_all_data_from_table(&mut self) { - self.target = ::std::option::Option::None; - } - - pub fn has_delete_all_data_from_table(&self) -> bool { - match self.target { - ::std::option::Option::Some(DropRowRangeRequest_oneof_target::delete_all_data_from_table(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_delete_all_data_from_table(&mut self, v: bool) { - self.target = ::std::option::Option::Some(DropRowRangeRequest_oneof_target::delete_all_data_from_table(v)) - } -} - -impl ::protobuf::Message for DropRowRangeRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.target = ::std::option::Option::Some(DropRowRangeRequest_oneof_target::row_key_prefix(is.read_bytes()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.target = ::std::option::Option::Some(DropRowRangeRequest_oneof_target::delete_all_data_from_table(is.read_bool()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if let ::std::option::Option::Some(ref v) = self.target { - match v { - &DropRowRangeRequest_oneof_target::row_key_prefix(ref v) => { - my_size += ::protobuf::rt::bytes_size(2, &v); - }, - &DropRowRangeRequest_oneof_target::delete_all_data_from_table(v) => { - my_size += 2; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if let ::std::option::Option::Some(ref v) = self.target { - match v { - &DropRowRangeRequest_oneof_target::row_key_prefix(ref v) => { - os.write_bytes(2, v)?; - }, - &DropRowRangeRequest_oneof_target::delete_all_data_from_table(v) => { - os.write_bool(3, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DropRowRangeRequest { - DropRowRangeRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &DropRowRangeRequest| { &m.name }, - |m: &mut DropRowRangeRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "row_key_prefix", - DropRowRangeRequest::has_row_key_prefix, - DropRowRangeRequest::get_row_key_prefix, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "delete_all_data_from_table", - DropRowRangeRequest::has_delete_all_data_from_table, - DropRowRangeRequest::get_delete_all_data_from_table, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DropRowRangeRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DropRowRangeRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DropRowRangeRequest, - }; - unsafe { - instance.get(DropRowRangeRequest::new) - } - } -} - -impl ::protobuf::Clear for DropRowRangeRequest { - fn clear(&mut self) { - self.name.clear(); - self.target = ::std::option::Option::None; - self.target = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DropRowRangeRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DropRowRangeRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTablesRequest { - // message fields - pub parent: ::std::string::String, - pub view: super::table::Table_View, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTablesRequest { - fn default() -> &'a ListTablesRequest { - ::default_instance() - } -} - -impl ListTablesRequest { - pub fn new() -> ListTablesRequest { - ::std::default::Default::default() - } - - // string parent = 1; - - - pub fn get_parent(&self) -> &str { - &self.parent - } - pub fn clear_parent(&mut self) { - self.parent.clear(); - } - - // Param is passed by value, moved - pub fn set_parent(&mut self, v: ::std::string::String) { - self.parent = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_parent(&mut self) -> &mut ::std::string::String { - &mut self.parent - } - - // Take field - pub fn take_parent(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.parent, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.Table.View view = 2; - - - pub fn get_view(&self) -> super::table::Table_View { - self.view - } - pub fn clear_view(&mut self) { - self.view = super::table::Table_View::VIEW_UNSPECIFIED; - } - - // Param is passed by value, moved - pub fn set_view(&mut self, v: super::table::Table_View) { - self.view = v; - } - - // int32 page_size = 4; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 3; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTablesRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?; - }, - 2 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.view, 2, &mut self.unknown_fields)? - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.parent.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.parent); - } - if self.view != super::table::Table_View::VIEW_UNSPECIFIED { - my_size += ::protobuf::rt::enum_size(2, self.view); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(4, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.parent.is_empty() { - os.write_string(1, &self.parent)?; - } - if self.view != super::table::Table_View::VIEW_UNSPECIFIED { - os.write_enum(2, self.view.value())?; - } - if self.page_size != 0 { - os.write_int32(4, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(3, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTablesRequest { - ListTablesRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "parent", - |m: &ListTablesRequest| { &m.parent }, - |m: &mut ListTablesRequest| { &mut m.parent }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "view", - |m: &ListTablesRequest| { &m.view }, - |m: &mut ListTablesRequest| { &mut m.view }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListTablesRequest| { &m.page_size }, - |m: &mut ListTablesRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListTablesRequest| { &m.page_token }, - |m: &mut ListTablesRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTablesRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTablesRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTablesRequest, - }; - unsafe { - instance.get(ListTablesRequest::new) - } - } -} - -impl ::protobuf::Clear for ListTablesRequest { - fn clear(&mut self) { - self.parent.clear(); - self.view = super::table::Table_View::VIEW_UNSPECIFIED; - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTablesRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTablesRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTablesResponse { - // message fields - pub tables: ::protobuf::RepeatedField, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTablesResponse { - fn default() -> &'a ListTablesResponse { - ::default_instance() - } -} - -impl ListTablesResponse { - pub fn new() -> ListTablesResponse { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.v2.Table tables = 1; - - - pub fn get_tables(&self) -> &[super::table::Table] { - &self.tables - } - pub fn clear_tables(&mut self) { - self.tables.clear(); - } - - // Param is passed by value, moved - pub fn set_tables(&mut self, v: ::protobuf::RepeatedField) { - self.tables = v; - } - - // Mutable pointer to the field. - pub fn mut_tables(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.tables - } - - // Take field - pub fn take_tables(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.tables, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTablesResponse { - fn is_initialized(&self) -> bool { - for v in &self.tables { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.tables)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.tables { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.tables { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTablesResponse { - ListTablesResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "tables", - |m: &ListTablesResponse| { &m.tables }, - |m: &mut ListTablesResponse| { &mut m.tables }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListTablesResponse| { &m.next_page_token }, - |m: &mut ListTablesResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTablesResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTablesResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTablesResponse, - }; - unsafe { - instance.get(ListTablesResponse::new) - } - } -} - -impl ::protobuf::Clear for ListTablesResponse { - fn clear(&mut self) { - self.tables.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTablesResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTablesResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetTableRequest { - // message fields - pub name: ::std::string::String, - pub view: super::table::Table_View, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetTableRequest { - fn default() -> &'a GetTableRequest { - ::default_instance() - } -} - -impl GetTableRequest { - pub fn new() -> GetTableRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.Table.View view = 2; - - - pub fn get_view(&self) -> super::table::Table_View { - self.view - } - pub fn clear_view(&mut self) { - self.view = super::table::Table_View::VIEW_UNSPECIFIED; - } - - // Param is passed by value, moved - pub fn set_view(&mut self, v: super::table::Table_View) { - self.view = v; - } -} - -impl ::protobuf::Message for GetTableRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.view, 2, &mut self.unknown_fields)? - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if self.view != super::table::Table_View::VIEW_UNSPECIFIED { - my_size += ::protobuf::rt::enum_size(2, self.view); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if self.view != super::table::Table_View::VIEW_UNSPECIFIED { - os.write_enum(2, self.view.value())?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetTableRequest { - GetTableRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &GetTableRequest| { &m.name }, - |m: &mut GetTableRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "view", - |m: &GetTableRequest| { &m.view }, - |m: &mut GetTableRequest| { &mut m.view }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetTableRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetTableRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetTableRequest, - }; - unsafe { - instance.get(GetTableRequest::new) - } - } -} - -impl ::protobuf::Clear for GetTableRequest { - fn clear(&mut self) { - self.name.clear(); - self.view = super::table::Table_View::VIEW_UNSPECIFIED; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetTableRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetTableRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteTableRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteTableRequest { - fn default() -> &'a DeleteTableRequest { - ::default_instance() - } -} - -impl DeleteTableRequest { - pub fn new() -> DeleteTableRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteTableRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteTableRequest { - DeleteTableRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &DeleteTableRequest| { &m.name }, - |m: &mut DeleteTableRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteTableRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteTableRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteTableRequest, - }; - unsafe { - instance.get(DeleteTableRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteTableRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteTableRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteTableRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ModifyColumnFamiliesRequest { - // message fields - pub name: ::std::string::String, - pub modifications: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ModifyColumnFamiliesRequest { - fn default() -> &'a ModifyColumnFamiliesRequest { - ::default_instance() - } -} - -impl ModifyColumnFamiliesRequest { - pub fn new() -> ModifyColumnFamiliesRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2; - - - pub fn get_modifications(&self) -> &[ModifyColumnFamiliesRequest_Modification] { - &self.r#modifications - } - pub fn clear_modifications(&mut self) { - self.r#modifications.clear(); - } - - // Param is passed by value, moved - pub fn set_modifications(&mut self, v: ::protobuf::RepeatedField) { - self.r#modifications = v; - } - - // Mutable pointer to the field. - pub fn mut_modifications(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.r#modifications - } - - // Take field - pub fn take_modifications(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.r#modifications, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for ModifyColumnFamiliesRequest { - fn is_initialized(&self) -> bool { - for v in &self.r#modifications { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.r#modifications)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - for value in &self.r#modifications { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - for v in &self.r#modifications { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ModifyColumnFamiliesRequest { - ModifyColumnFamiliesRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &ModifyColumnFamiliesRequest| { &m.name }, - |m: &mut ModifyColumnFamiliesRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "modifications", - |m: &ModifyColumnFamiliesRequest| { &m.modifications }, - |m: &mut ModifyColumnFamiliesRequest| { &mut m.modifications }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ModifyColumnFamiliesRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ModifyColumnFamiliesRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ModifyColumnFamiliesRequest, - }; - unsafe { - instance.get(ModifyColumnFamiliesRequest::new) - } - } -} - -impl ::protobuf::Clear for ModifyColumnFamiliesRequest { - fn clear(&mut self) { - self.name.clear(); - self.r#modifications.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ModifyColumnFamiliesRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ModifyColumnFamiliesRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ModifyColumnFamiliesRequest_Modification { - // message fields - pub id: ::std::string::String, - // message oneof groups - pub r#mod: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ModifyColumnFamiliesRequest_Modification { - fn default() -> &'a ModifyColumnFamiliesRequest_Modification { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ModifyColumnFamiliesRequest_Modification_oneof_mod { - create(super::table::ColumnFamily), - update(super::table::ColumnFamily), - drop(bool), -} - -impl ModifyColumnFamiliesRequest_Modification { - pub fn new() -> ModifyColumnFamiliesRequest_Modification { - ::std::default::Default::default() - } - - // string id = 1; - - - pub fn get_id(&self) -> &str { - &self.id - } - pub fn clear_id(&mut self) { - self.id.clear(); - } - - // Param is passed by value, moved - pub fn set_id(&mut self, v: ::std::string::String) { - self.id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_id(&mut self) -> &mut ::std::string::String { - &mut self.id - } - - // Take field - pub fn take_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.id, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.ColumnFamily create = 2; - - - pub fn get_create(&self) -> &super::table::ColumnFamily { - match self.r#mod { - ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::create(ref v)) => v, - _ => super::table::ColumnFamily::default_instance(), - } - } - pub fn clear_create(&mut self) { - self.r#mod = ::std::option::Option::None; - } - - pub fn has_create(&self) -> bool { - match self.r#mod { - ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::create(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_create(&mut self, v: super::table::ColumnFamily) { - self.r#mod = ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::create(v)) - } - - // Mutable pointer to the field. - pub fn mut_create(&mut self) -> &mut super::table::ColumnFamily { - if let ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::create(_)) = self.r#mod { - } else { - self.r#mod = ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::create(super::table::ColumnFamily::new())); - } - match self.r#mod { - ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::create(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_create(&mut self) -> super::table::ColumnFamily { - if self.has_create() { - match self.r#mod.take() { - ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::create(v)) => v, - _ => panic!(), - } - } else { - super::table::ColumnFamily::new() - } - } - - // .google.bigtable.admin.v2.ColumnFamily update = 3; - - - pub fn get_update(&self) -> &super::table::ColumnFamily { - match self.r#mod { - ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::update(ref v)) => v, - _ => super::table::ColumnFamily::default_instance(), - } - } - pub fn clear_update(&mut self) { - self.r#mod = ::std::option::Option::None; - } - - pub fn has_update(&self) -> bool { - match self.r#mod { - ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::update(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_update(&mut self, v: super::table::ColumnFamily) { - self.r#mod = ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::update(v)) - } - - // Mutable pointer to the field. - pub fn mut_update(&mut self) -> &mut super::table::ColumnFamily { - if let ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::update(_)) = self.r#mod { - } else { - self.r#mod = ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::update(super::table::ColumnFamily::new())); - } - match self.r#mod { - ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::update(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_update(&mut self) -> super::table::ColumnFamily { - if self.has_update() { - match self.r#mod.take() { - ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::update(v)) => v, - _ => panic!(), - } - } else { - super::table::ColumnFamily::new() - } - } - - // bool drop = 4; - - - pub fn get_drop(&self) -> bool { - match self.r#mod { - ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::drop(v)) => v, - _ => false, - } - } - pub fn clear_drop(&mut self) { - self.r#mod = ::std::option::Option::None; - } - - pub fn has_drop(&self) -> bool { - match self.r#mod { - ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::drop(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_drop(&mut self, v: bool) { - self.r#mod = ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::drop(v)) - } -} - -impl ::protobuf::Message for ModifyColumnFamiliesRequest_Modification { - fn is_initialized(&self) -> bool { - if let Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::create(ref v)) = self.r#mod { - if !v.is_initialized() { - return false; - } - } - if let Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::update(ref v)) = self.r#mod { - if !v.is_initialized() { - return false; - } - } - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.id)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.r#mod = ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::create(is.read_message()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.r#mod = ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::update(is.read_message()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.r#mod = ::std::option::Option::Some(ModifyColumnFamiliesRequest_Modification_oneof_mod::drop(is.read_bool()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.id.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.id); - } - if let ::std::option::Option::Some(ref v) = self.r#mod { - match v { - &ModifyColumnFamiliesRequest_Modification_oneof_mod::create(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &ModifyColumnFamiliesRequest_Modification_oneof_mod::update(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &ModifyColumnFamiliesRequest_Modification_oneof_mod::drop(v) => { - my_size += 2; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.id.is_empty() { - os.write_string(1, &self.id)?; - } - if let ::std::option::Option::Some(ref v) = self.r#mod { - match v { - &ModifyColumnFamiliesRequest_Modification_oneof_mod::create(ref v) => { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &ModifyColumnFamiliesRequest_Modification_oneof_mod::update(ref v) => { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &ModifyColumnFamiliesRequest_Modification_oneof_mod::drop(v) => { - os.write_bool(4, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ModifyColumnFamiliesRequest_Modification { - ModifyColumnFamiliesRequest_Modification::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "id", - |m: &ModifyColumnFamiliesRequest_Modification| { &m.id }, - |m: &mut ModifyColumnFamiliesRequest_Modification| { &mut m.id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, super::table::ColumnFamily>( - "create", - ModifyColumnFamiliesRequest_Modification::has_create, - ModifyColumnFamiliesRequest_Modification::get_create, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, super::table::ColumnFamily>( - "update", - ModifyColumnFamiliesRequest_Modification::has_update, - ModifyColumnFamiliesRequest_Modification::get_update, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "drop", - ModifyColumnFamiliesRequest_Modification::has_drop, - ModifyColumnFamiliesRequest_Modification::get_drop, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ModifyColumnFamiliesRequest_Modification", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ModifyColumnFamiliesRequest_Modification { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ModifyColumnFamiliesRequest_Modification, - }; - unsafe { - instance.get(ModifyColumnFamiliesRequest_Modification::new) - } - } -} - -impl ::protobuf::Clear for ModifyColumnFamiliesRequest_Modification { - fn clear(&mut self) { - self.id.clear(); - self.r#mod = ::std::option::Option::None; - self.r#mod = ::std::option::Option::None; - self.r#mod = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ModifyColumnFamiliesRequest_Modification { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ModifyColumnFamiliesRequest_Modification { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GenerateConsistencyTokenRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GenerateConsistencyTokenRequest { - fn default() -> &'a GenerateConsistencyTokenRequest { - ::default_instance() - } -} - -impl GenerateConsistencyTokenRequest { - pub fn new() -> GenerateConsistencyTokenRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GenerateConsistencyTokenRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GenerateConsistencyTokenRequest { - GenerateConsistencyTokenRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &GenerateConsistencyTokenRequest| { &m.name }, - |m: &mut GenerateConsistencyTokenRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GenerateConsistencyTokenRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GenerateConsistencyTokenRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GenerateConsistencyTokenRequest, - }; - unsafe { - instance.get(GenerateConsistencyTokenRequest::new) - } - } -} - -impl ::protobuf::Clear for GenerateConsistencyTokenRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GenerateConsistencyTokenRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GenerateConsistencyTokenRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GenerateConsistencyTokenResponse { - // message fields - pub consistency_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GenerateConsistencyTokenResponse { - fn default() -> &'a GenerateConsistencyTokenResponse { - ::default_instance() - } -} - -impl GenerateConsistencyTokenResponse { - pub fn new() -> GenerateConsistencyTokenResponse { - ::std::default::Default::default() - } - - // string consistency_token = 1; - - - pub fn get_consistency_token(&self) -> &str { - &self.consistency_token - } - pub fn clear_consistency_token(&mut self) { - self.consistency_token.clear(); - } - - // Param is passed by value, moved - pub fn set_consistency_token(&mut self, v: ::std::string::String) { - self.consistency_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_consistency_token(&mut self) -> &mut ::std::string::String { - &mut self.consistency_token - } - - // Take field - pub fn take_consistency_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.consistency_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GenerateConsistencyTokenResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.consistency_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.consistency_token.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.consistency_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.consistency_token.is_empty() { - os.write_string(1, &self.consistency_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GenerateConsistencyTokenResponse { - GenerateConsistencyTokenResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "consistency_token", - |m: &GenerateConsistencyTokenResponse| { &m.consistency_token }, - |m: &mut GenerateConsistencyTokenResponse| { &mut m.consistency_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GenerateConsistencyTokenResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GenerateConsistencyTokenResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GenerateConsistencyTokenResponse, - }; - unsafe { - instance.get(GenerateConsistencyTokenResponse::new) - } - } -} - -impl ::protobuf::Clear for GenerateConsistencyTokenResponse { - fn clear(&mut self) { - self.consistency_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GenerateConsistencyTokenResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GenerateConsistencyTokenResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CheckConsistencyRequest { - // message fields - pub name: ::std::string::String, - pub consistency_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CheckConsistencyRequest { - fn default() -> &'a CheckConsistencyRequest { - ::default_instance() - } -} - -impl CheckConsistencyRequest { - pub fn new() -> CheckConsistencyRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string consistency_token = 2; - - - pub fn get_consistency_token(&self) -> &str { - &self.consistency_token - } - pub fn clear_consistency_token(&mut self) { - self.consistency_token.clear(); - } - - // Param is passed by value, moved - pub fn set_consistency_token(&mut self, v: ::std::string::String) { - self.consistency_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_consistency_token(&mut self) -> &mut ::std::string::String { - &mut self.consistency_token - } - - // Take field - pub fn take_consistency_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.consistency_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for CheckConsistencyRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.consistency_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.consistency_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.consistency_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.consistency_token.is_empty() { - os.write_string(2, &self.consistency_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CheckConsistencyRequest { - CheckConsistencyRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &CheckConsistencyRequest| { &m.name }, - |m: &mut CheckConsistencyRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "consistency_token", - |m: &CheckConsistencyRequest| { &m.consistency_token }, - |m: &mut CheckConsistencyRequest| { &mut m.consistency_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CheckConsistencyRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CheckConsistencyRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CheckConsistencyRequest, - }; - unsafe { - instance.get(CheckConsistencyRequest::new) - } - } -} - -impl ::protobuf::Clear for CheckConsistencyRequest { - fn clear(&mut self) { - self.name.clear(); - self.consistency_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CheckConsistencyRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CheckConsistencyRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CheckConsistencyResponse { - // message fields - pub consistent: bool, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CheckConsistencyResponse { - fn default() -> &'a CheckConsistencyResponse { - ::default_instance() - } -} - -impl CheckConsistencyResponse { - pub fn new() -> CheckConsistencyResponse { - ::std::default::Default::default() - } - - // bool consistent = 1; - - - pub fn get_consistent(&self) -> bool { - self.consistent - } - pub fn clear_consistent(&mut self) { - self.consistent = false; - } - - // Param is passed by value, moved - pub fn set_consistent(&mut self, v: bool) { - self.consistent = v; - } -} - -impl ::protobuf::Message for CheckConsistencyResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.consistent = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if self.consistent != false { - my_size += 2; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if self.consistent != false { - os.write_bool(1, self.consistent)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CheckConsistencyResponse { - CheckConsistencyResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "consistent", - |m: &CheckConsistencyResponse| { &m.consistent }, - |m: &mut CheckConsistencyResponse| { &mut m.consistent }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CheckConsistencyResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CheckConsistencyResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CheckConsistencyResponse, - }; - unsafe { - instance.get(CheckConsistencyResponse::new) - } - } -} - -impl ::protobuf::Clear for CheckConsistencyResponse { - fn clear(&mut self) { - self.consistent = false; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CheckConsistencyResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CheckConsistencyResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct SnapshotTableRequest { - // message fields - pub name: ::std::string::String, - pub cluster: ::std::string::String, - pub snapshot_id: ::std::string::String, - pub ttl: ::protobuf::SingularPtrField<::protobuf::well_known_types::Duration>, - pub description: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a SnapshotTableRequest { - fn default() -> &'a SnapshotTableRequest { - ::default_instance() - } -} - -impl SnapshotTableRequest { - pub fn new() -> SnapshotTableRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string cluster = 2; - - - pub fn get_cluster(&self) -> &str { - &self.cluster - } - pub fn clear_cluster(&mut self) { - self.cluster.clear(); - } - - // Param is passed by value, moved - pub fn set_cluster(&mut self, v: ::std::string::String) { - self.cluster = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_cluster(&mut self) -> &mut ::std::string::String { - &mut self.cluster - } - - // Take field - pub fn take_cluster(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.cluster, ::std::string::String::new()) - } - - // string snapshot_id = 3; - - - pub fn get_snapshot_id(&self) -> &str { - &self.snapshot_id - } - pub fn clear_snapshot_id(&mut self) { - self.snapshot_id.clear(); - } - - // Param is passed by value, moved - pub fn set_snapshot_id(&mut self, v: ::std::string::String) { - self.snapshot_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_snapshot_id(&mut self) -> &mut ::std::string::String { - &mut self.snapshot_id - } - - // Take field - pub fn take_snapshot_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.snapshot_id, ::std::string::String::new()) - } - - // .google.protobuf.Duration ttl = 4; - - - pub fn get_ttl(&self) -> &::protobuf::well_known_types::Duration { - self.ttl.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Duration::default_instance()) - } - pub fn clear_ttl(&mut self) { - self.ttl.clear(); - } - - pub fn has_ttl(&self) -> bool { - self.ttl.is_some() - } - - // Param is passed by value, moved - pub fn set_ttl(&mut self, v: ::protobuf::well_known_types::Duration) { - self.ttl = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_ttl(&mut self) -> &mut ::protobuf::well_known_types::Duration { - if self.ttl.is_none() { - self.ttl.set_default(); - } - self.ttl.as_mut().unwrap() - } - - // Take field - pub fn take_ttl(&mut self) -> ::protobuf::well_known_types::Duration { - self.ttl.take().unwrap_or_else(|| ::protobuf::well_known_types::Duration::new()) - } - - // string description = 5; - - - pub fn get_description(&self) -> &str { - &self.description - } - pub fn clear_description(&mut self) { - self.description.clear(); - } - - // Param is passed by value, moved - pub fn set_description(&mut self, v: ::std::string::String) { - self.description = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_description(&mut self) -> &mut ::std::string::String { - &mut self.description - } - - // Take field - pub fn take_description(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.description, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for SnapshotTableRequest { - fn is_initialized(&self) -> bool { - for v in &self.ttl { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.cluster)?; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.snapshot_id)?; - }, - 4 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.ttl)?; - }, - 5 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.cluster.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.cluster); - } - if !self.snapshot_id.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.snapshot_id); - } - if let Some(ref v) = self.ttl.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if !self.description.is_empty() { - my_size += ::protobuf::rt::string_size(5, &self.description); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.cluster.is_empty() { - os.write_string(2, &self.cluster)?; - } - if !self.snapshot_id.is_empty() { - os.write_string(3, &self.snapshot_id)?; - } - if let Some(ref v) = self.ttl.as_ref() { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if !self.description.is_empty() { - os.write_string(5, &self.description)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> SnapshotTableRequest { - SnapshotTableRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &SnapshotTableRequest| { &m.name }, - |m: &mut SnapshotTableRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "cluster", - |m: &SnapshotTableRequest| { &m.cluster }, - |m: &mut SnapshotTableRequest| { &mut m.cluster }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "snapshot_id", - |m: &SnapshotTableRequest| { &m.snapshot_id }, - |m: &mut SnapshotTableRequest| { &mut m.snapshot_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Duration>>( - "ttl", - |m: &SnapshotTableRequest| { &m.ttl }, - |m: &mut SnapshotTableRequest| { &mut m.ttl }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "description", - |m: &SnapshotTableRequest| { &m.description }, - |m: &mut SnapshotTableRequest| { &mut m.description }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "SnapshotTableRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static SnapshotTableRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const SnapshotTableRequest, - }; - unsafe { - instance.get(SnapshotTableRequest::new) - } - } -} - -impl ::protobuf::Clear for SnapshotTableRequest { - fn clear(&mut self) { - self.name.clear(); - self.cluster.clear(); - self.snapshot_id.clear(); - self.ttl.clear(); - self.description.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for SnapshotTableRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for SnapshotTableRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetSnapshotRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetSnapshotRequest { - fn default() -> &'a GetSnapshotRequest { - ::default_instance() - } -} - -impl GetSnapshotRequest { - pub fn new() -> GetSnapshotRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetSnapshotRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetSnapshotRequest { - GetSnapshotRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &GetSnapshotRequest| { &m.name }, - |m: &mut GetSnapshotRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetSnapshotRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetSnapshotRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetSnapshotRequest, - }; - unsafe { - instance.get(GetSnapshotRequest::new) - } - } -} - -impl ::protobuf::Clear for GetSnapshotRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetSnapshotRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetSnapshotRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListSnapshotsRequest { - // message fields - pub parent: ::std::string::String, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListSnapshotsRequest { - fn default() -> &'a ListSnapshotsRequest { - ::default_instance() - } -} - -impl ListSnapshotsRequest { - pub fn new() -> ListSnapshotsRequest { - ::std::default::Default::default() - } - - // string parent = 1; - - - pub fn get_parent(&self) -> &str { - &self.parent - } - pub fn clear_parent(&mut self) { - self.parent.clear(); - } - - // Param is passed by value, moved - pub fn set_parent(&mut self, v: ::std::string::String) { - self.parent = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_parent(&mut self) -> &mut ::std::string::String { - &mut self.parent - } - - // Take field - pub fn take_parent(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.parent, ::std::string::String::new()) - } - - // int32 page_size = 2; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 3; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListSnapshotsRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.parent.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.parent); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.parent.is_empty() { - os.write_string(1, &self.parent)?; - } - if self.page_size != 0 { - os.write_int32(2, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(3, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListSnapshotsRequest { - ListSnapshotsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "parent", - |m: &ListSnapshotsRequest| { &m.parent }, - |m: &mut ListSnapshotsRequest| { &mut m.parent }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListSnapshotsRequest| { &m.page_size }, - |m: &mut ListSnapshotsRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListSnapshotsRequest| { &m.page_token }, - |m: &mut ListSnapshotsRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListSnapshotsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListSnapshotsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListSnapshotsRequest, - }; - unsafe { - instance.get(ListSnapshotsRequest::new) - } - } -} - -impl ::protobuf::Clear for ListSnapshotsRequest { - fn clear(&mut self) { - self.parent.clear(); - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListSnapshotsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListSnapshotsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListSnapshotsResponse { - // message fields - pub snapshots: ::protobuf::RepeatedField, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListSnapshotsResponse { - fn default() -> &'a ListSnapshotsResponse { - ::default_instance() - } -} - -impl ListSnapshotsResponse { - pub fn new() -> ListSnapshotsResponse { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; - - - pub fn get_snapshots(&self) -> &[super::table::Snapshot] { - &self.snapshots - } - pub fn clear_snapshots(&mut self) { - self.snapshots.clear(); - } - - // Param is passed by value, moved - pub fn set_snapshots(&mut self, v: ::protobuf::RepeatedField) { - self.snapshots = v; - } - - // Mutable pointer to the field. - pub fn mut_snapshots(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.snapshots - } - - // Take field - pub fn take_snapshots(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.snapshots, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListSnapshotsResponse { - fn is_initialized(&self) -> bool { - for v in &self.snapshots { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.snapshots)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.snapshots { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.snapshots { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListSnapshotsResponse { - ListSnapshotsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "snapshots", - |m: &ListSnapshotsResponse| { &m.snapshots }, - |m: &mut ListSnapshotsResponse| { &mut m.snapshots }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListSnapshotsResponse| { &m.next_page_token }, - |m: &mut ListSnapshotsResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListSnapshotsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListSnapshotsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListSnapshotsResponse, - }; - unsafe { - instance.get(ListSnapshotsResponse::new) - } - } -} - -impl ::protobuf::Clear for ListSnapshotsResponse { - fn clear(&mut self) { - self.snapshots.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListSnapshotsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListSnapshotsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteSnapshotRequest { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteSnapshotRequest { - fn default() -> &'a DeleteSnapshotRequest { - ::default_instance() - } -} - -impl DeleteSnapshotRequest { - pub fn new() -> DeleteSnapshotRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteSnapshotRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteSnapshotRequest { - DeleteSnapshotRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &DeleteSnapshotRequest| { &m.name }, - |m: &mut DeleteSnapshotRequest| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteSnapshotRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteSnapshotRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteSnapshotRequest, - }; - unsafe { - instance.get(DeleteSnapshotRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteSnapshotRequest { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteSnapshotRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteSnapshotRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct SnapshotTableMetadata { - // message fields - pub original_request: ::protobuf::SingularPtrField, - pub request_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub finish_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a SnapshotTableMetadata { - fn default() -> &'a SnapshotTableMetadata { - ::default_instance() - } -} - -impl SnapshotTableMetadata { - pub fn new() -> SnapshotTableMetadata { - ::std::default::Default::default() - } - - // .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - - - pub fn get_original_request(&self) -> &SnapshotTableRequest { - self.original_request.as_ref().unwrap_or_else(|| SnapshotTableRequest::default_instance()) - } - pub fn clear_original_request(&mut self) { - self.original_request.clear(); - } - - pub fn has_original_request(&self) -> bool { - self.original_request.is_some() - } - - // Param is passed by value, moved - pub fn set_original_request(&mut self, v: SnapshotTableRequest) { - self.original_request = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_original_request(&mut self) -> &mut SnapshotTableRequest { - if self.original_request.is_none() { - self.original_request.set_default(); - } - self.original_request.as_mut().unwrap() - } - - // Take field - pub fn take_original_request(&mut self) -> SnapshotTableRequest { - self.original_request.take().unwrap_or_else(|| SnapshotTableRequest::new()) - } - - // .google.protobuf.Timestamp request_time = 2; - - - pub fn get_request_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.request_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_request_time(&mut self) { - self.request_time.clear(); - } - - pub fn has_request_time(&self) -> bool { - self.request_time.is_some() - } - - // Param is passed by value, moved - pub fn set_request_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.request_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_request_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.request_time.is_none() { - self.request_time.set_default(); - } - self.request_time.as_mut().unwrap() - } - - // Take field - pub fn take_request_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.request_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp finish_time = 3; - - - pub fn get_finish_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.finish_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_finish_time(&mut self) { - self.finish_time.clear(); - } - - pub fn has_finish_time(&self) -> bool { - self.finish_time.is_some() - } - - // Param is passed by value, moved - pub fn set_finish_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.finish_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_finish_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.finish_time.is_none() { - self.finish_time.set_default(); - } - self.finish_time.as_mut().unwrap() - } - - // Take field - pub fn take_finish_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.finish_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } -} - -impl ::protobuf::Message for SnapshotTableMetadata { - fn is_initialized(&self) -> bool { - for v in &self.original_request { - if !v.is_initialized() { - return false; - } - }; - for v in &self.request_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.finish_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.original_request)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.request_time)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.finish_time)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.original_request.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.request_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.finish_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.original_request.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.request_time.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.finish_time.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> SnapshotTableMetadata { - SnapshotTableMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "original_request", - |m: &SnapshotTableMetadata| { &m.original_request }, - |m: &mut SnapshotTableMetadata| { &mut m.original_request }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "request_time", - |m: &SnapshotTableMetadata| { &m.request_time }, - |m: &mut SnapshotTableMetadata| { &mut m.request_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "finish_time", - |m: &SnapshotTableMetadata| { &m.finish_time }, - |m: &mut SnapshotTableMetadata| { &mut m.finish_time }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "SnapshotTableMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static SnapshotTableMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const SnapshotTableMetadata, - }; - unsafe { - instance.get(SnapshotTableMetadata::new) - } - } -} - -impl ::protobuf::Clear for SnapshotTableMetadata { - fn clear(&mut self) { - self.original_request.clear(); - self.request_time.clear(); - self.finish_time.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for SnapshotTableMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for SnapshotTableMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateTableFromSnapshotMetadata { - // message fields - pub original_request: ::protobuf::SingularPtrField, - pub request_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub finish_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateTableFromSnapshotMetadata { - fn default() -> &'a CreateTableFromSnapshotMetadata { - ::default_instance() - } -} - -impl CreateTableFromSnapshotMetadata { - pub fn new() -> CreateTableFromSnapshotMetadata { - ::std::default::Default::default() - } - - // .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - - - pub fn get_original_request(&self) -> &CreateTableFromSnapshotRequest { - self.original_request.as_ref().unwrap_or_else(|| CreateTableFromSnapshotRequest::default_instance()) - } - pub fn clear_original_request(&mut self) { - self.original_request.clear(); - } - - pub fn has_original_request(&self) -> bool { - self.original_request.is_some() - } - - // Param is passed by value, moved - pub fn set_original_request(&mut self, v: CreateTableFromSnapshotRequest) { - self.original_request = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_original_request(&mut self) -> &mut CreateTableFromSnapshotRequest { - if self.original_request.is_none() { - self.original_request.set_default(); - } - self.original_request.as_mut().unwrap() - } - - // Take field - pub fn take_original_request(&mut self) -> CreateTableFromSnapshotRequest { - self.original_request.take().unwrap_or_else(|| CreateTableFromSnapshotRequest::new()) - } - - // .google.protobuf.Timestamp request_time = 2; - - - pub fn get_request_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.request_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_request_time(&mut self) { - self.request_time.clear(); - } - - pub fn has_request_time(&self) -> bool { - self.request_time.is_some() - } - - // Param is passed by value, moved - pub fn set_request_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.request_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_request_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.request_time.is_none() { - self.request_time.set_default(); - } - self.request_time.as_mut().unwrap() - } - - // Take field - pub fn take_request_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.request_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp finish_time = 3; - - - pub fn get_finish_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.finish_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_finish_time(&mut self) { - self.finish_time.clear(); - } - - pub fn has_finish_time(&self) -> bool { - self.finish_time.is_some() - } - - // Param is passed by value, moved - pub fn set_finish_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.finish_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_finish_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.finish_time.is_none() { - self.finish_time.set_default(); - } - self.finish_time.as_mut().unwrap() - } - - // Take field - pub fn take_finish_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.finish_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } -} - -impl ::protobuf::Message for CreateTableFromSnapshotMetadata { - fn is_initialized(&self) -> bool { - for v in &self.original_request { - if !v.is_initialized() { - return false; - } - }; - for v in &self.request_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.finish_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.original_request)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.request_time)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.finish_time)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.original_request.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.request_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.finish_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.original_request.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.request_time.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.finish_time.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateTableFromSnapshotMetadata { - CreateTableFromSnapshotMetadata::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "original_request", - |m: &CreateTableFromSnapshotMetadata| { &m.original_request }, - |m: &mut CreateTableFromSnapshotMetadata| { &mut m.original_request }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "request_time", - |m: &CreateTableFromSnapshotMetadata| { &m.request_time }, - |m: &mut CreateTableFromSnapshotMetadata| { &mut m.request_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "finish_time", - |m: &CreateTableFromSnapshotMetadata| { &m.finish_time }, - |m: &mut CreateTableFromSnapshotMetadata| { &mut m.finish_time }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateTableFromSnapshotMetadata", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateTableFromSnapshotMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateTableFromSnapshotMetadata, - }; - unsafe { - instance.get(CreateTableFromSnapshotMetadata::new) - } - } -} - -impl ::protobuf::Clear for CreateTableFromSnapshotMetadata { - fn clear(&mut self) { - self.original_request.clear(); - self.request_time.clear(); - self.finish_time.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateTableFromSnapshotMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateTableFromSnapshotMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n3google/bigtable/admin/v2/bigtable_table_admin.proto\x12\x18google.big\ - table.admin.v2\x1a\x1cgoogle/api/annotations.proto\x1a$google/bigtable/a\ - dmin/v2/table.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogl\ - e/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoog\ - le/protobuf/timestamp.proto\"\xf4\x01\n\x12CreateTableRequest\x12\x16\n\ - \x06parent\x18\x01\x20\x01(\tR\x06parent\x12\x19\n\x08table_id\x18\x02\ - \x20\x01(\tR\x07tableId\x125\n\x05table\x18\x03\x20\x01(\x0b2\x1f.google\ - .bigtable.admin.v2.TableR\x05table\x12Y\n\x0einitial_splits\x18\x04\x20\ - \x03(\x0b22.google.bigtable.admin.v2.CreateTableRequest.SplitR\rinitialS\ - plits\x1a\x19\n\x05Split\x12\x10\n\x03key\x18\x01\x20\x01(\x0cR\x03key\"\ - |\n\x1eCreateTableFromSnapshotRequest\x12\x16\n\x06parent\x18\x01\x20\ - \x01(\tR\x06parent\x12\x19\n\x08table_id\x18\x02\x20\x01(\tR\x07tableId\ - \x12'\n\x0fsource_snapshot\x18\x03\x20\x01(\tR\x0esourceSnapshot\"\x99\ - \x01\n\x13DropRowRangeRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04n\ - ame\x12&\n\x0erow_key_prefix\x18\x02\x20\x01(\x0cH\0R\x0crowKeyPrefix\ - \x12<\n\x1adelete_all_data_from_table\x18\x03\x20\x01(\x08H\0R\x16delete\ - AllDataFromTableB\x08\n\x06target\"\xa1\x01\n\x11ListTablesRequest\x12\ - \x16\n\x06parent\x18\x01\x20\x01(\tR\x06parent\x128\n\x04view\x18\x02\ - \x20\x01(\x0e2$.google.bigtable.admin.v2.Table.ViewR\x04view\x12\x1b\n\t\ - page_size\x18\x04\x20\x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\ - \x03\x20\x01(\tR\tpageToken\"u\n\x12ListTablesResponse\x127\n\x06tables\ - \x18\x01\x20\x03(\x0b2\x1f.google.bigtable.admin.v2.TableR\x06tables\x12\ - &\n\x0fnext_page_token\x18\x02\x20\x01(\tR\rnextPageToken\"_\n\x0fGetTab\ - leRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x128\n\x04view\ - \x18\x02\x20\x01(\x0e2$.google.bigtable.admin.v2.Table.ViewR\x04view\"(\ - \n\x12DeleteTableRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\"\ - \xdd\x02\n\x1bModifyColumnFamiliesRequest\x12\x12\n\x04name\x18\x01\x20\ - \x01(\tR\x04name\x12h\n\rmodifications\x18\x02\x20\x03(\x0b2B.google.big\ - table.admin.v2.ModifyColumnFamiliesRequest.ModificationR\rmodifications\ - \x1a\xbf\x01\n\x0cModification\x12\x0e\n\x02id\x18\x01\x20\x01(\tR\x02id\ - \x12@\n\x06create\x18\x02\x20\x01(\x0b2&.google.bigtable.admin.v2.Column\ - FamilyH\0R\x06create\x12@\n\x06update\x18\x03\x20\x01(\x0b2&.google.bigt\ - able.admin.v2.ColumnFamilyH\0R\x06update\x12\x14\n\x04drop\x18\x04\x20\ - \x01(\x08H\0R\x04dropB\x05\n\x03mod\"5\n\x1fGenerateConsistencyTokenRequ\ - est\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\"O\n\x20GenerateConsis\ - tencyTokenResponse\x12+\n\x11consistency_token\x18\x01\x20\x01(\tR\x10co\ - nsistencyToken\"Z\n\x17CheckConsistencyRequest\x12\x12\n\x04name\x18\x01\ - \x20\x01(\tR\x04name\x12+\n\x11consistency_token\x18\x02\x20\x01(\tR\x10\ - consistencyToken\":\n\x18CheckConsistencyResponse\x12\x1e\n\nconsistent\ - \x18\x01\x20\x01(\x08R\nconsistent\"\xb4\x01\n\x14SnapshotTableRequest\ - \x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x12\x18\n\x07cluster\x18\ - \x02\x20\x01(\tR\x07cluster\x12\x1f\n\x0bsnapshot_id\x18\x03\x20\x01(\tR\ - \nsnapshotId\x12+\n\x03ttl\x18\x04\x20\x01(\x0b2\x19.google.protobuf.Dur\ - ationR\x03ttl\x12\x20\n\x0bdescription\x18\x05\x20\x01(\tR\x0bdescriptio\ - n\"(\n\x12GetSnapshotRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04na\ - me\"j\n\x14ListSnapshotsRequest\x12\x16\n\x06parent\x18\x01\x20\x01(\tR\ - \x06parent\x12\x1b\n\tpage_size\x18\x02\x20\x01(\x05R\x08pageSize\x12\ - \x1d\n\npage_token\x18\x03\x20\x01(\tR\tpageToken\"\x81\x01\n\x15ListSna\ - pshotsResponse\x12@\n\tsnapshots\x18\x01\x20\x03(\x0b2\".google.bigtable\ - .admin.v2.SnapshotR\tsnapshots\x12&\n\x0fnext_page_token\x18\x02\x20\x01\ - (\tR\rnextPageToken\"+\n\x15DeleteSnapshotRequest\x12\x12\n\x04name\x18\ - \x01\x20\x01(\tR\x04name\"\xee\x01\n\x15SnapshotTableMetadata\x12Y\n\x10\ - original_request\x18\x01\x20\x01(\x0b2..google.bigtable.admin.v2.Snapsho\ - tTableRequestR\x0foriginalRequest\x12=\n\x0crequest_time\x18\x02\x20\x01\ - (\x0b2\x1a.google.protobuf.TimestampR\x0brequestTime\x12;\n\x0bfinish_ti\ - me\x18\x03\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\nfinishTime\"\ - \x82\x02\n\x1fCreateTableFromSnapshotMetadata\x12c\n\x10original_request\ - \x18\x01\x20\x01(\x0b28.google.bigtable.admin.v2.CreateTableFromSnapshot\ - RequestR\x0foriginalRequest\x12=\n\x0crequest_time\x18\x02\x20\x01(\x0b2\ - \x1a.google.protobuf.TimestampR\x0brequestTime\x12;\n\x0bfinish_time\x18\ - \x03\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\nfinishTime2\xb7\x11\n\ - \x12BigtableTableAdmin\x12\x93\x01\n\x0bCreateTable\x12,.google.bigtable\ - .admin.v2.CreateTableRequest\x1a\x1f.google.bigtable.admin.v2.Table\"5\ - \x82\xd3\xe4\x93\x02/\"*/v2/{parent=projects/*/instances/*}/tables:\x01*\ - \x12\xbc\x01\n\x17CreateTableFromSnapshot\x128.google.bigtable.admin.v2.\ - CreateTableFromSnapshotRequest\x1a\x1d.google.longrunning.Operation\"H\ - \x82\xd3\xe4\x93\x02B\"=/v2/{parent=projects/*/instances/*}/tables:creat\ - eFromSnapshot:\x01*\x12\x9b\x01\n\nListTables\x12+.google.bigtable.admin\ - .v2.ListTablesRequest\x1a,.google.bigtable.admin.v2.ListTablesResponse\"\ - 2\x82\xd3\xe4\x93\x02,\x12*/v2/{parent=projects/*/instances/*}/tables\ - \x12\x8a\x01\n\x08GetTable\x12).google.bigtable.admin.v2.GetTableRequest\ - \x1a\x1f.google.bigtable.admin.v2.Table\"2\x82\xd3\xe4\x93\x02,\x12*/v2/\ - {name=projects/*/instances/*/tables/*}\x12\x87\x01\n\x0bDeleteTable\x12,\ - .google.bigtable.admin.v2.DeleteTableRequest\x1a\x16.google.protobuf.Emp\ - ty\"2\x82\xd3\xe4\x93\x02,**/v2/{name=projects/*/instances/*/tables/*}\ - \x12\xba\x01\n\x14ModifyColumnFamilies\x125.google.bigtable.admin.v2.Mod\ - ifyColumnFamiliesRequest\x1a\x1f.google.bigtable.admin.v2.Table\"J\x82\ - \xd3\xe4\x93\x02D\"?/v2/{name=projects/*/instances/*/tables/*}:modifyCol\ - umnFamilies:\x01*\x12\x99\x01\n\x0cDropRowRange\x12-.google.bigtable.adm\ - in.v2.DropRowRangeRequest\x1a\x16.google.protobuf.Empty\"B\x82\xd3\xe4\ - \x93\x02<\"7/v2/{name=projects/*/instances/*/tables/*}:dropRowRange:\x01\ - *\x12\xe1\x01\n\x18GenerateConsistencyToken\x129.google.bigtable.admin.v\ - 2.GenerateConsistencyTokenRequest\x1a:.google.bigtable.admin.v2.Generate\ - ConsistencyTokenResponse\"N\x82\xd3\xe4\x93\x02H\"C/v2/{name=projects/*/\ - instances/*/tables/*}:generateConsistencyToken:\x01*\x12\xc1\x01\n\x10Ch\ - eckConsistency\x121.google.bigtable.admin.v2.CheckConsistencyRequest\x1a\ - 2.google.bigtable.admin.v2.CheckConsistencyResponse\"F\x82\xd3\xe4\x93\ - \x02@\";/v2/{name=projects/*/instances/*/tables/*}:checkConsistency:\x01\ - *\x12\x9e\x01\n\rSnapshotTable\x12..google.bigtable.admin.v2.SnapshotTab\ - leRequest\x1a\x1d.google.longrunning.Operation\">\x82\xd3\xe4\x93\x028\"\ - 3/v2/{name=projects/*/instances/*/tables/*}:snapshot:\x01*\x12\xa1\x01\n\ - \x0bGetSnapshot\x12,.google.bigtable.admin.v2.GetSnapshotRequest\x1a\".g\ - oogle.bigtable.admin.v2.Snapshot\"@\x82\xd3\xe4\x93\x02:\x128/v2/{name=p\ - rojects/*/instances/*/clusters/*/snapshots/*}\x12\xb2\x01\n\rListSnapsho\ - ts\x12..google.bigtable.admin.v2.ListSnapshotsRequest\x1a/.google.bigtab\ - le.admin.v2.ListSnapshotsResponse\"@\x82\xd3\xe4\x93\x02:\x128/v2/{paren\ - t=projects/*/instances/*/clusters/*}/snapshots\x12\x9b\x01\n\x0eDeleteSn\ - apshot\x12/.google.bigtable.admin.v2.DeleteSnapshotRequest\x1a\x16.googl\ - e.protobuf.Empty\"@\x82\xd3\xe4\x93\x02:*8/v2/{name=projects/*/instances\ - /*/clusters/*/snapshots/*}B\xba\x01\n\x1ccom.google.bigtable.admin.v2B\ - \x17BigtableTableAdminProtoP\x01Z=google.golang.org/genproto/googleapis/\ - bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\ - \x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2J\x8c\xa7\x01\n\x07\x12\x05\ - \x0f\0\x8c\x04\x01\n\xbe\x04\n\x01\x0c\x12\x03\x0f\0\x122\xb3\x04\x20Cop\ - yright\x202018\x20Google\x20LLC.\n\n\x20Licensed\x20under\x20the\x20Apac\ - he\x20License,\x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20ma\ - y\x20not\x20use\x20this\x20file\x20except\x20in\x20compliance\x20with\ - \x20the\x20License.\n\x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\ - \x20License\x20at\n\n\x20\x20\x20\x20\x20http://www.apache.org/licenses/\ - LICENSE-2.0\n\n\x20Unless\x20required\x20by\x20applicable\x20law\x20or\ - \x20agreed\x20to\x20in\x20writing,\x20software\n\x20distributed\x20under\ - \x20the\x20License\x20is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20B\ - ASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIN\ - D,\x20either\x20express\x20or\x20implied.\n\x20See\x20the\x20License\x20\ - for\x20the\x20specific\x20language\x20governing\x20permissions\x20and\n\ - \x20limitations\x20under\x20the\x20License.\n\n\n\x08\n\x01\x02\x12\x03\ - \x11\0!\n\t\n\x02\x03\0\x12\x03\x13\0&\n\t\n\x02\x03\x01\x12\x03\x14\0.\ - \n\t\n\x02\x03\x02\x12\x03\x15\0-\n\t\n\x02\x03\x03\x12\x03\x16\0(\n\t\n\ - \x02\x03\x04\x12\x03\x17\0%\n\t\n\x02\x03\x05\x12\x03\x18\0)\n\x08\n\x01\ - \x08\x12\x03\x1a\0;\n\t\n\x02\x08%\x12\x03\x1a\0;\n\x08\n\x01\x08\x12\ - \x03\x1b\0T\n\t\n\x02\x08\x0b\x12\x03\x1b\0T\n\x08\n\x01\x08\x12\x03\x1c\ - \0\"\n\t\n\x02\x08\n\x12\x03\x1c\0\"\n\x08\n\x01\x08\x12\x03\x1d\08\n\t\ - \n\x02\x08\x08\x12\x03\x1d\08\n\x08\n\x01\x08\x12\x03\x1e\05\n\t\n\x02\ - \x08\x01\x12\x03\x1e\05\n\x08\n\x01\x08\x12\x03\x1f\0<\n\t\n\x02\x08)\ - \x12\x03\x1f\0<\n\xac\x01\n\x02\x06\0\x12\x05'\0\xb5\x01\x01\x1a\x9e\x01\ - \x20Service\x20for\x20creating,\x20configuring,\x20and\x20deleting\x20Cl\ - oud\x20Bigtable\x20tables.\n\n\n\x20Provides\x20access\x20to\x20the\x20t\ - able\x20schemas\x20only,\x20not\x20the\x20data\x20stored\x20within\n\x20\ - the\x20tables.\n\n\n\n\x03\x06\0\x01\x12\x03'\x08\x1a\n\xa0\x01\n\x04\ - \x06\0\x02\0\x12\x04+\x020\x03\x1a\x91\x01\x20Creates\x20a\x20new\x20tab\ - le\x20in\x20the\x20specified\x20instance.\n\x20The\x20table\x20can\x20be\ - \x20created\x20with\x20a\x20full\x20set\x20of\x20initial\x20column\x20fa\ - milies,\n\x20specified\x20in\x20the\x20request.\n\n\x0c\n\x05\x06\0\x02\ - \0\x01\x12\x03+\x06\x11\n\x0c\n\x05\x06\0\x02\0\x02\x12\x03+\x12$\n\x0c\ - \n\x05\x06\0\x02\0\x03\x12\x03+/4\n\r\n\x05\x06\0\x02\0\x04\x12\x04,\x04\ - /\x06\n\x11\n\t\x06\0\x02\0\x04\xb0\xca\xbc\"\x12\x04,\x04/\x06\n\xca\ - \x03\n\x04\x06\0\x02\x01\x12\x04:\x02?\x03\x1a\xbb\x03\x20Creates\x20a\ - \x20new\x20table\x20from\x20the\x20specified\x20snapshot.\x20The\x20targ\ - et\x20table\x20must\n\x20not\x20exist.\x20The\x20snapshot\x20and\x20the\ - \x20table\x20must\x20be\x20in\x20the\x20same\x20instance.\n\n\x20Note:\ - \x20This\x20is\x20a\x20private\x20alpha\x20release\x20of\x20Cloud\x20Big\ - table\x20snapshots.\x20This\n\x20feature\x20is\x20not\x20currently\x20av\ - ailable\x20to\x20most\x20Cloud\x20Bigtable\x20customers.\x20This\n\x20fe\ - ature\x20might\x20be\x20changed\x20in\x20backward-incompatible\x20ways\ - \x20and\x20is\x20not\n\x20recommended\x20for\x20production\x20use.\x20It\ - \x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\n\x20p\ - olicy.\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\x03:\x06\x1d\n\x0c\n\x05\x06\ - \0\x02\x01\x02\x12\x03:\x1e<\n\x0c\n\x05\x06\0\x02\x01\x03\x12\x03:Gc\n\ - \r\n\x05\x06\0\x02\x01\x04\x12\x04;\x04>\x06\n\x11\n\t\x06\0\x02\x01\x04\ - \xb0\xca\xbc\"\x12\x04;\x04>\x06\nB\n\x04\x06\0\x02\x02\x12\x04B\x02F\ - \x03\x1a4\x20Lists\x20all\x20tables\x20served\x20from\x20a\x20specified\ - \x20instance.\n\n\x0c\n\x05\x06\0\x02\x02\x01\x12\x03B\x06\x10\n\x0c\n\ - \x05\x06\0\x02\x02\x02\x12\x03B\x11\"\n\x0c\n\x05\x06\0\x02\x02\x03\x12\ - \x03B-?\n\r\n\x05\x06\0\x02\x02\x04\x12\x04C\x04E\x06\n\x11\n\t\x06\0\ - \x02\x02\x04\xb0\xca\xbc\"\x12\x04C\x04E\x06\nD\n\x04\x06\0\x02\x03\x12\ - \x04I\x02M\x03\x1a6\x20Gets\x20metadata\x20information\x20about\x20the\ - \x20specified\x20table.\n\n\x0c\n\x05\x06\0\x02\x03\x01\x12\x03I\x06\x0e\ - \n\x0c\n\x05\x06\0\x02\x03\x02\x12\x03I\x0f\x1e\n\x0c\n\x05\x06\0\x02\ - \x03\x03\x12\x03I).\n\r\n\x05\x06\0\x02\x03\x04\x12\x04J\x04L\x06\n\x11\ - \n\t\x06\0\x02\x03\x04\xb0\xca\xbc\"\x12\x04J\x04L\x06\nJ\n\x04\x06\0\ - \x02\x04\x12\x04P\x02T\x03\x1a<\x20Permanently\x20deletes\x20a\x20specif\ - ied\x20table\x20and\x20all\x20of\x20its\x20data.\n\n\x0c\n\x05\x06\0\x02\ - \x04\x01\x12\x03P\x06\x11\n\x0c\n\x05\x06\0\x02\x04\x02\x12\x03P\x12$\n\ - \x0c\n\x05\x06\0\x02\x04\x03\x12\x03P/D\n\r\n\x05\x06\0\x02\x04\x04\x12\ - \x04Q\x04S\x06\n\x11\n\t\x06\0\x02\x04\x04\xb0\xca\xbc\"\x12\x04Q\x04S\ - \x06\n\x9b\x02\n\x04\x06\0\x02\x05\x12\x04Z\x02_\x03\x1a\x8c\x02\x20Perf\ - orms\x20a\x20series\x20of\x20column\x20family\x20modifications\x20on\x20\ - the\x20specified\x20table.\n\x20Either\x20all\x20or\x20none\x20of\x20the\ - \x20modifications\x20will\x20occur\x20before\x20this\x20method\n\x20retu\ - rns,\x20but\x20data\x20requests\x20received\x20prior\x20to\x20that\x20po\ - int\x20may\x20see\x20a\x20table\n\x20where\x20only\x20some\x20modificati\ - ons\x20have\x20taken\x20effect.\n\n\x0c\n\x05\x06\0\x02\x05\x01\x12\x03Z\ - \x06\x1a\n\x0c\n\x05\x06\0\x02\x05\x02\x12\x03Z\x1b6\n\x0c\n\x05\x06\0\ - \x02\x05\x03\x12\x03ZAF\n\r\n\x05\x06\0\x02\x05\x04\x12\x04[\x04^\x06\n\ - \x11\n\t\x06\0\x02\x05\x04\xb0\xca\xbc\"\x12\x04[\x04^\x06\n\xbb\x01\n\ - \x04\x06\0\x02\x06\x12\x04d\x02i\x03\x1a\xac\x01\x20Permanently\x20drop/\ - delete\x20a\x20row\x20range\x20from\x20a\x20specified\x20table.\x20The\ - \x20request\x20can\n\x20specify\x20whether\x20to\x20delete\x20all\x20row\ - s\x20in\x20a\x20table,\x20or\x20only\x20those\x20that\x20match\x20a\n\ - \x20particular\x20prefix.\n\n\x0c\n\x05\x06\0\x02\x06\x01\x12\x03d\x06\ - \x12\n\x0c\n\x05\x06\0\x02\x06\x02\x12\x03d\x13&\n\x0c\n\x05\x06\0\x02\ - \x06\x03\x12\x03d1F\n\r\n\x05\x06\0\x02\x06\x04\x12\x04e\x04h\x06\n\x11\ - \n\t\x06\0\x02\x06\x04\xb0\xca\xbc\"\x12\x04e\x04h\x06\n\xf3\x01\n\x04\ - \x06\0\x02\x07\x12\x04o\x02t\x03\x1a\xe4\x01\x20Generates\x20a\x20consis\ - tency\x20token\x20for\x20a\x20Table,\x20which\x20can\x20be\x20used\x20in\ - \n\x20CheckConsistency\x20to\x20check\x20whether\x20mutations\x20to\x20t\ - he\x20table\x20that\x20finished\n\x20before\x20this\x20call\x20started\ - \x20have\x20been\x20replicated.\x20The\x20tokens\x20will\x20be\x20availa\ - ble\n\x20for\x2090\x20days.\n\n\x0c\n\x05\x06\0\x02\x07\x01\x12\x03o\x06\ - \x1e\n\x0c\n\x05\x06\0\x02\x07\x02\x12\x03o\x1f>\n\x0c\n\x05\x06\0\x02\ - \x07\x03\x12\x03oIi\n\r\n\x05\x06\0\x02\x07\x04\x12\x04p\x04s\x06\n\x11\ - \n\t\x06\0\x02\x07\x04\xb0\xca\xbc\"\x12\x04p\x04s\x06\n\xbb\x01\n\x04\ - \x06\0\x02\x08\x12\x04y\x02~\x03\x1a\xac\x01\x20Checks\x20replication\ - \x20consistency\x20based\x20on\x20a\x20consistency\x20token,\x20that\x20\ - is,\x20if\n\x20replication\x20has\x20caught\x20up\x20based\x20on\x20the\ - \x20conditions\x20specified\x20in\x20the\x20token\n\x20and\x20the\x20che\ - ck\x20request.\n\n\x0c\n\x05\x06\0\x02\x08\x01\x12\x03y\x06\x16\n\x0c\n\ - \x05\x06\0\x02\x08\x02\x12\x03y\x17.\n\x0c\n\x05\x06\0\x02\x08\x03\x12\ - \x03y9Q\n\r\n\x05\x06\0\x02\x08\x04\x12\x04z\x04}\x06\n\x11\n\t\x06\0\ - \x02\x08\x04\xb0\xca\xbc\"\x12\x04z\x04}\x06\n\xca\x03\n\x04\x06\0\x02\t\ - \x12\x06\x88\x01\x02\x8d\x01\x03\x1a\xb9\x03\x20Creates\x20a\x20new\x20s\ - napshot\x20in\x20the\x20specified\x20cluster\x20from\x20the\x20specified\ - \n\x20source\x20table.\x20The\x20cluster\x20and\x20the\x20table\x20must\ - \x20be\x20in\x20the\x20same\x20instance.\n\n\x20Note:\x20This\x20is\x20a\ - \x20private\x20alpha\x20release\x20of\x20Cloud\x20Bigtable\x20snapshots.\ - \x20This\n\x20feature\x20is\x20not\x20currently\x20available\x20to\x20mo\ - st\x20Cloud\x20Bigtable\x20customers.\x20This\n\x20feature\x20might\x20b\ - e\x20changed\x20in\x20backward-incompatible\x20ways\x20and\x20is\x20not\ - \n\x20recommended\x20for\x20production\x20use.\x20It\x20is\x20not\x20sub\ - ject\x20to\x20any\x20SLA\x20or\x20deprecation\n\x20policy.\n\n\r\n\x05\ - \x06\0\x02\t\x01\x12\x04\x88\x01\x06\x13\n\r\n\x05\x06\0\x02\t\x02\x12\ - \x04\x88\x01\x14(\n\r\n\x05\x06\0\x02\t\x03\x12\x04\x88\x013O\n\x0f\n\ - \x05\x06\0\x02\t\x04\x12\x06\x89\x01\x04\x8c\x01\x06\n\x13\n\t\x06\0\x02\ - \t\x04\xb0\xca\xbc\"\x12\x06\x89\x01\x04\x8c\x01\x06\n\xf8\x02\n\x04\x06\ - \0\x02\n\x12\x06\x96\x01\x02\x9a\x01\x03\x1a\xe7\x02\x20Gets\x20metadata\ - \x20information\x20about\x20the\x20specified\x20snapshot.\n\n\x20Note:\ - \x20This\x20is\x20a\x20private\x20alpha\x20release\x20of\x20Cloud\x20Big\ - table\x20snapshots.\x20This\n\x20feature\x20is\x20not\x20currently\x20av\ - ailable\x20to\x20most\x20Cloud\x20Bigtable\x20customers.\x20This\n\x20fe\ - ature\x20might\x20be\x20changed\x20in\x20backward-incompatible\x20ways\ - \x20and\x20is\x20not\n\x20recommended\x20for\x20production\x20use.\x20It\ - \x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\n\x20p\ - olicy.\n\n\r\n\x05\x06\0\x02\n\x01\x12\x04\x96\x01\x06\x11\n\r\n\x05\x06\ - \0\x02\n\x02\x12\x04\x96\x01\x12$\n\r\n\x05\x06\0\x02\n\x03\x12\x04\x96\ - \x01/7\n\x0f\n\x05\x06\0\x02\n\x04\x12\x06\x97\x01\x04\x99\x01\x06\n\x13\ - \n\t\x06\0\x02\n\x04\xb0\xca\xbc\"\x12\x06\x97\x01\x04\x99\x01\x06\n\xfb\ - \x02\n\x04\x06\0\x02\x0b\x12\x06\xa3\x01\x02\xa7\x01\x03\x1a\xea\x02\x20\ - Lists\x20all\x20snapshots\x20associated\x20with\x20the\x20specified\x20c\ - luster.\n\n\x20Note:\x20This\x20is\x20a\x20private\x20alpha\x20release\ - \x20of\x20Cloud\x20Bigtable\x20snapshots.\x20This\n\x20feature\x20is\x20\ - not\x20currently\x20available\x20to\x20most\x20Cloud\x20Bigtable\x20cust\ - omers.\x20This\n\x20feature\x20might\x20be\x20changed\x20in\x20backward-\ - incompatible\x20ways\x20and\x20is\x20not\n\x20recommended\x20for\x20prod\ - uction\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\ - \x20deprecation\n\x20policy.\n\n\r\n\x05\x06\0\x02\x0b\x01\x12\x04\xa3\ - \x01\x06\x13\n\r\n\x05\x06\0\x02\x0b\x02\x12\x04\xa3\x01\x14(\n\r\n\x05\ - \x06\0\x02\x0b\x03\x12\x04\xa3\x013H\n\x0f\n\x05\x06\0\x02\x0b\x04\x12\ - \x06\xa4\x01\x04\xa6\x01\x06\n\x13\n\t\x06\0\x02\x0b\x04\xb0\xca\xbc\"\ - \x12\x06\xa4\x01\x04\xa6\x01\x06\n\xec\x02\n\x04\x06\0\x02\x0c\x12\x06\ - \xb0\x01\x02\xb4\x01\x03\x1a\xdb\x02\x20Permanently\x20deletes\x20the\ - \x20specified\x20snapshot.\n\n\x20Note:\x20This\x20is\x20a\x20private\ - \x20alpha\x20release\x20of\x20Cloud\x20Bigtable\x20snapshots.\x20This\n\ - \x20feature\x20is\x20not\x20currently\x20available\x20to\x20most\x20Clou\ - d\x20Bigtable\x20customers.\x20This\n\x20feature\x20might\x20be\x20chang\ - ed\x20in\x20backward-incompatible\x20ways\x20and\x20is\x20not\n\x20recom\ - mended\x20for\x20production\x20use.\x20It\x20is\x20not\x20subject\x20to\ - \x20any\x20SLA\x20or\x20deprecation\n\x20policy.\n\n\r\n\x05\x06\0\x02\ - \x0c\x01\x12\x04\xb0\x01\x06\x14\n\r\n\x05\x06\0\x02\x0c\x02\x12\x04\xb0\ - \x01\x15*\n\r\n\x05\x06\0\x02\x0c\x03\x12\x04\xb0\x015J\n\x0f\n\x05\x06\ - \0\x02\x0c\x04\x12\x06\xb1\x01\x04\xb3\x01\x06\n\x13\n\t\x06\0\x02\x0c\ - \x04\xb0\xca\xbc\"\x12\x06\xb1\x01\x04\xb3\x01\x06\n\x98\x01\n\x02\x04\0\ - \x12\x06\xb9\x01\0\xdc\x01\x01\x1a\x89\x01\x20Request\x20message\x20for\ - \n\x20[google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.b\ - igtable.admin.v2.BigtableTableAdmin.CreateTable]\n\n\x0b\n\x03\x04\0\x01\ - \x12\x04\xb9\x01\x08\x1a\nC\n\x04\x04\0\x03\0\x12\x06\xbb\x01\x02\xbe\ - \x01\x03\x1a3\x20An\x20initial\x20split\x20point\x20for\x20a\x20newly\ - \x20created\x20table.\n\n\r\n\x05\x04\0\x03\0\x01\x12\x04\xbb\x01\n\x0f\ - \n?\n\x06\x04\0\x03\0\x02\0\x12\x04\xbd\x01\x04\x12\x1a/\x20Row\x20key\ - \x20to\x20use\x20as\x20an\x20initial\x20tablet\x20boundary.\n\n\x11\n\ - \x07\x04\0\x03\0\x02\0\x04\x12\x06\xbd\x01\x04\xbb\x01\x11\n\x0f\n\x07\ - \x04\0\x03\0\x02\0\x05\x12\x04\xbd\x01\x04\t\n\x0f\n\x07\x04\0\x03\0\x02\ - \0\x01\x12\x04\xbd\x01\n\r\n\x0f\n\x07\x04\0\x03\0\x02\0\x03\x12\x04\xbd\ - \x01\x10\x11\n\x91\x01\n\x04\x04\0\x02\0\x12\x04\xc2\x01\x02\x14\x1a\x82\ - \x01\x20The\x20unique\x20name\x20of\x20the\x20instance\x20in\x20which\ - \x20to\x20create\x20the\x20table.\n\x20Values\x20are\x20of\x20the\x20for\ - m\x20`projects//instances/`.\n\n\x0f\n\x05\x04\0\x02\ - \0\x04\x12\x06\xc2\x01\x02\xbe\x01\x03\n\r\n\x05\x04\0\x02\0\x05\x12\x04\ - \xc2\x01\x02\x08\n\r\n\x05\x04\0\x02\0\x01\x12\x04\xc2\x01\t\x0f\n\r\n\ - \x05\x04\0\x02\0\x03\x12\x04\xc2\x01\x12\x13\n\x98\x01\n\x04\x04\0\x02\ - \x01\x12\x04\xc6\x01\x02\x16\x1a\x89\x01\x20The\x20name\x20by\x20which\ - \x20the\x20new\x20table\x20should\x20be\x20referred\x20to\x20within\x20t\ - he\x20parent\n\x20instance,\x20e.g.,\x20`foobar`\x20rather\x20than\x20`<\ - parent>/tables/foobar`.\n\n\x0f\n\x05\x04\0\x02\x01\x04\x12\x06\xc6\x01\ - \x02\xc2\x01\x14\n\r\n\x05\x04\0\x02\x01\x05\x12\x04\xc6\x01\x02\x08\n\r\ - \n\x05\x04\0\x02\x01\x01\x12\x04\xc6\x01\t\x11\n\r\n\x05\x04\0\x02\x01\ - \x03\x12\x04\xc6\x01\x14\x15\n$\n\x04\x04\0\x02\x02\x12\x04\xc9\x01\x02\ - \x12\x1a\x16\x20The\x20Table\x20to\x20create.\n\n\x0f\n\x05\x04\0\x02\ - \x02\x04\x12\x06\xc9\x01\x02\xc6\x01\x16\n\r\n\x05\x04\0\x02\x02\x06\x12\ - \x04\xc9\x01\x02\x07\n\r\n\x05\x04\0\x02\x02\x01\x12\x04\xc9\x01\x08\r\n\ - \r\n\x05\x04\0\x02\x02\x03\x12\x04\xc9\x01\x10\x11\n\x99\x06\n\x04\x04\0\ - \x02\x03\x12\x04\xdb\x01\x02$\x1a\x8a\x06\x20The\x20optional\x20list\x20\ - of\x20row\x20keys\x20that\x20will\x20be\x20used\x20to\x20initially\x20sp\ - lit\x20the\n\x20table\x20into\x20several\x20tablets\x20(tablets\x20are\ - \x20similar\x20to\x20HBase\x20regions).\n\x20Given\x20two\x20split\x20ke\ - ys,\x20`s1`\x20and\x20`s2`,\x20three\x20tablets\x20will\x20be\x20created\ - ,\n\x20spanning\x20the\x20key\x20ranges:\x20`[,\x20s1),\x20[s1,\x20s2),\ - \x20[s2,\x20)`.\n\n\x20Example:\n\n\x20*\x20Row\x20keys\x20:=\x20`[\"a\"\ - ,\x20\"apple\",\x20\"custom\",\x20\"customer_1\",\x20\"customer_2\",`\n\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20`\"other\ - \",\x20\"zz\"]`\n\x20*\x20initial_split_keys\x20:=\x20`[\"apple\",\x20\"\ - customer_1\",\x20\"customer_2\",\x20\"other\"]`\n\x20*\x20Key\x20assignm\ - ent:\n\x20\x20\x20\x20\x20-\x20Tablet\x201\x20`[,\x20apple)\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20=>\x20{\"a\"}.`\n\ - \x20\x20\x20\x20\x20-\x20Tablet\x202\x20`[apple,\x20customer_1)\x20\x20\ - \x20\x20\x20\x20=>\x20{\"apple\",\x20\"custom\"}.`\n\x20\x20\x20\x20\x20\ - -\x20Tablet\x203\x20`[customer_1,\x20customer_2)\x20=>\x20{\"customer_1\ - \"}.`\n\x20\x20\x20\x20\x20-\x20Tablet\x204\x20`[customer_2,\x20other)\ - \x20\x20\x20\x20\x20\x20=>\x20{\"customer_2\"}.`\n\x20\x20\x20\x20\x20-\ - \x20Tablet\x205\x20`[other,\x20)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20=>\x20{\"other\",\x20\"zz\"}.`\n\n\r\n\x05\x04\0\ - \x02\x03\x04\x12\x04\xdb\x01\x02\n\n\r\n\x05\x04\0\x02\x03\x06\x12\x04\ - \xdb\x01\x0b\x10\n\r\n\x05\x04\0\x02\x03\x01\x12\x04\xdb\x01\x11\x1f\n\r\ - \n\x05\x04\0\x02\x03\x03\x12\x04\xdb\x01\"#\n\xdd\x03\n\x02\x04\x01\x12\ - \x06\xe5\x01\0\xf3\x01\x01\x1a\xce\x03\x20Request\x20message\x20for\n\ - \x20[google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot\ - ][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]\n\ - \n\x20Note:\x20This\x20is\x20a\x20private\x20alpha\x20release\x20of\x20C\ - loud\x20Bigtable\x20snapshots.\x20This\n\x20feature\x20is\x20not\x20curr\ - ently\x20available\x20to\x20most\x20Cloud\x20Bigtable\x20customers.\x20T\ - his\n\x20feature\x20might\x20be\x20changed\x20in\x20backward-incompatibl\ - e\x20ways\x20and\x20is\x20not\x20recommended\n\x20for\x20production\x20u\ - se.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecati\ - on\x20policy.\n\n\x0b\n\x03\x04\x01\x01\x12\x04\xe5\x01\x08&\n\x91\x01\n\ - \x04\x04\x01\x02\0\x12\x04\xe8\x01\x02\x14\x1a\x82\x01\x20The\x20unique\ - \x20name\x20of\x20the\x20instance\x20in\x20which\x20to\x20create\x20the\ - \x20table.\n\x20Values\x20are\x20of\x20the\x20form\x20`projects//instances/`.\n\n\x0f\n\x05\x04\x01\x02\0\x04\x12\x06\xe8\x01\ - \x02\xe5\x01(\n\r\n\x05\x04\x01\x02\0\x05\x12\x04\xe8\x01\x02\x08\n\r\n\ - \x05\x04\x01\x02\0\x01\x12\x04\xe8\x01\t\x0f\n\r\n\x05\x04\x01\x02\0\x03\ - \x12\x04\xe8\x01\x12\x13\n\x98\x01\n\x04\x04\x01\x02\x01\x12\x04\xec\x01\ - \x02\x16\x1a\x89\x01\x20The\x20name\x20by\x20which\x20the\x20new\x20tabl\ - e\x20should\x20be\x20referred\x20to\x20within\x20the\x20parent\n\x20inst\ - ance,\x20e.g.,\x20`foobar`\x20rather\x20than\x20`/tables/foobar`\ - .\n\n\x0f\n\x05\x04\x01\x02\x01\x04\x12\x06\xec\x01\x02\xe8\x01\x14\n\r\ - \n\x05\x04\x01\x02\x01\x05\x12\x04\xec\x01\x02\x08\n\r\n\x05\x04\x01\x02\ - \x01\x01\x12\x04\xec\x01\t\x11\n\r\n\x05\x04\x01\x02\x01\x03\x12\x04\xec\ - \x01\x14\x15\n\xf7\x01\n\x04\x04\x01\x02\x02\x12\x04\xf2\x01\x02\x1d\x1a\ - \xe8\x01\x20The\x20unique\x20name\x20of\x20the\x20snapshot\x20from\x20wh\ - ich\x20to\x20restore\x20the\x20table.\x20The\n\x20snapshot\x20and\x20the\ - \x20table\x20must\x20be\x20in\x20the\x20same\x20instance.\n\x20Values\ - \x20are\x20of\x20the\x20form\n\x20`projects//instances//clusters//snapshots/`.\n\n\x0f\n\x05\x04\x01\x02\ - \x02\x04\x12\x06\xf2\x01\x02\xec\x01\x16\n\r\n\x05\x04\x01\x02\x02\x05\ - \x12\x04\xf2\x01\x02\x08\n\r\n\x05\x04\x01\x02\x02\x01\x12\x04\xf2\x01\t\ - \x18\n\r\n\x05\x04\x01\x02\x02\x03\x12\x04\xf2\x01\x1b\x1c\n\x9a\x01\n\ - \x02\x04\x02\x12\x06\xf7\x01\0\x86\x02\x01\x1a\x8b\x01\x20Request\x20mes\ - sage\x20for\n\x20[google.bigtable.admin.v2.BigtableTableAdmin.DropRowRan\ - ge][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]\n\n\x0b\n\ - \x03\x04\x02\x01\x12\x04\xf7\x01\x08\x1b\n\xa2\x01\n\x04\x04\x02\x02\0\ - \x12\x04\xfb\x01\x02\x12\x1a\x93\x01\x20The\x20unique\x20name\x20of\x20t\ - he\x20table\x20on\x20which\x20to\x20drop\x20a\x20range\x20of\x20rows.\n\ - \x20Values\x20are\x20of\x20the\x20form\n\x20`projects//instance\ - s//tables/
`.\n\n\x0f\n\x05\x04\x02\x02\0\x04\x12\x06\ - \xfb\x01\x02\xf7\x01\x1d\n\r\n\x05\x04\x02\x02\0\x05\x12\x04\xfb\x01\x02\ - \x08\n\r\n\x05\x04\x02\x02\0\x01\x12\x04\xfb\x01\t\r\n\r\n\x05\x04\x02\ - \x02\0\x03\x12\x04\xfb\x01\x10\x11\n/\n\x04\x04\x02\x08\0\x12\x06\xfe\ - \x01\x02\x85\x02\x03\x1a\x1f\x20Delete\x20all\x20rows\x20or\x20by\x20pre\ - fix.\n\n\r\n\x05\x04\x02\x08\0\x01\x12\x04\xfe\x01\x08\x0e\nc\n\x04\x04\ - \x02\x02\x01\x12\x04\x81\x02\x04\x1d\x1aU\x20Delete\x20all\x20rows\x20th\ - at\x20start\x20with\x20this\x20row\x20key\x20prefix.\x20Prefix\x20cannot\ - \x20be\n\x20zero\x20length.\n\n\r\n\x05\x04\x02\x02\x01\x05\x12\x04\x81\ - \x02\x04\t\n\r\n\x05\x04\x02\x02\x01\x01\x12\x04\x81\x02\n\x18\n\r\n\x05\ - \x04\x02\x02\x01\x03\x12\x04\x81\x02\x1b\x1c\nO\n\x04\x04\x02\x02\x02\ - \x12\x04\x84\x02\x04(\x1aA\x20Delete\x20all\x20rows\x20in\x20the\x20tabl\ - e.\x20Setting\x20this\x20to\x20false\x20is\x20a\x20no-op.\n\n\r\n\x05\ - \x04\x02\x02\x02\x05\x12\x04\x84\x02\x04\x08\n\r\n\x05\x04\x02\x02\x02\ - \x01\x12\x04\x84\x02\t#\n\r\n\x05\x04\x02\x02\x02\x03\x12\x04\x84\x02&'\ - \n\x96\x01\n\x02\x04\x03\x12\x06\x8a\x02\0\x99\x02\x01\x1a\x87\x01\x20Re\ - quest\x20message\x20for\n\x20[google.bigtable.admin.v2.BigtableTableAdmi\ - n.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]\n\ - \n\x0b\n\x03\x04\x03\x01\x12\x04\x8a\x02\x08\x19\n\x96\x01\n\x04\x04\x03\ - \x02\0\x12\x04\x8d\x02\x02\x14\x1a\x87\x01\x20The\x20unique\x20name\x20o\ - f\x20the\x20instance\x20for\x20which\x20tables\x20should\x20be\x20listed\ - .\n\x20Values\x20are\x20of\x20the\x20form\x20`projects//instanc\ - es/`.\n\n\x0f\n\x05\x04\x03\x02\0\x04\x12\x06\x8d\x02\x02\x8a\ - \x02\x1b\n\r\n\x05\x04\x03\x02\0\x05\x12\x04\x8d\x02\x02\x08\n\r\n\x05\ - \x04\x03\x02\0\x01\x12\x04\x8d\x02\t\x0f\n\r\n\x05\x04\x03\x02\0\x03\x12\ - \x04\x8d\x02\x12\x13\n\x93\x01\n\x04\x04\x03\x02\x01\x12\x04\x91\x02\x02\ - \x16\x1a\x84\x01\x20The\x20view\x20to\x20be\x20applied\x20to\x20the\x20r\ - eturned\x20tables'\x20fields.\n\x20Defaults\x20to\x20`NAME_ONLY`\x20if\ - \x20unspecified;\x20no\x20others\x20are\x20currently\x20supported.\n\n\ - \x0f\n\x05\x04\x03\x02\x01\x04\x12\x06\x91\x02\x02\x8d\x02\x14\n\r\n\x05\ - \x04\x03\x02\x01\x06\x12\x04\x91\x02\x02\x0c\n\r\n\x05\x04\x03\x02\x01\ - \x01\x12\x04\x91\x02\r\x11\n\r\n\x05\x04\x03\x02\x01\x03\x12\x04\x91\x02\ - \x14\x15\nY\n\x04\x04\x03\x02\x02\x12\x04\x95\x02\x02\x16\x1aK\x20Maximu\ - m\x20number\x20of\x20results\x20per\x20page.\n\x20CURRENTLY\x20UNIMPLEME\ - NTED\x20AND\x20IGNORED.\n\n\x0f\n\x05\x04\x03\x02\x02\x04\x12\x06\x95\ - \x02\x02\x91\x02\x16\n\r\n\x05\x04\x03\x02\x02\x05\x12\x04\x95\x02\x02\ - \x07\n\r\n\x05\x04\x03\x02\x02\x01\x12\x04\x95\x02\x08\x11\n\r\n\x05\x04\ - \x03\x02\x02\x03\x12\x04\x95\x02\x14\x15\nK\n\x04\x04\x03\x02\x03\x12\ - \x04\x98\x02\x02\x18\x1a=\x20The\x20value\x20of\x20`next_page_token`\x20\ - returned\x20by\x20a\x20previous\x20call.\n\n\x0f\n\x05\x04\x03\x02\x03\ - \x04\x12\x06\x98\x02\x02\x95\x02\x16\n\r\n\x05\x04\x03\x02\x03\x05\x12\ - \x04\x98\x02\x02\x08\n\r\n\x05\x04\x03\x02\x03\x01\x12\x04\x98\x02\t\x13\ - \n\r\n\x05\x04\x03\x02\x03\x03\x12\x04\x98\x02\x16\x17\n\x97\x01\n\x02\ - \x04\x04\x12\x06\x9d\x02\0\xa5\x02\x01\x1a\x88\x01\x20Response\x20messag\ - e\x20for\n\x20[google.bigtable.admin.v2.BigtableTableAdmin.ListTables][g\ - oogle.bigtable.admin.v2.BigtableTableAdmin.ListTables]\n\n\x0b\n\x03\x04\ - \x04\x01\x12\x04\x9d\x02\x08\x1a\n=\n\x04\x04\x04\x02\0\x12\x04\x9f\x02\ - \x02\x1c\x1a/\x20The\x20tables\x20present\x20in\x20the\x20requested\x20i\ - nstance.\n\n\r\n\x05\x04\x04\x02\0\x04\x12\x04\x9f\x02\x02\n\n\r\n\x05\ - \x04\x04\x02\0\x06\x12\x04\x9f\x02\x0b\x10\n\r\n\x05\x04\x04\x02\0\x01\ - \x12\x04\x9f\x02\x11\x17\n\r\n\x05\x04\x04\x02\0\x03\x12\x04\x9f\x02\x1a\ - \x1b\n\xa4\x01\n\x04\x04\x04\x02\x01\x12\x04\xa4\x02\x02\x1d\x1a\x95\x01\ - \x20Set\x20if\x20not\x20all\x20tables\x20could\x20be\x20returned\x20in\ - \x20a\x20single\x20response.\n\x20Pass\x20this\x20value\x20to\x20`page_t\ - oken`\x20in\x20another\x20request\x20to\x20get\x20the\x20next\n\x20page\ - \x20of\x20results.\n\n\x0f\n\x05\x04\x04\x02\x01\x04\x12\x06\xa4\x02\x02\ - \x9f\x02\x1c\n\r\n\x05\x04\x04\x02\x01\x05\x12\x04\xa4\x02\x02\x08\n\r\n\ - \x05\x04\x04\x02\x01\x01\x12\x04\xa4\x02\t\x18\n\r\n\x05\x04\x04\x02\x01\ - \x03\x12\x04\xa4\x02\x1b\x1c\n\x92\x01\n\x02\x04\x05\x12\x06\xa9\x02\0\ - \xb2\x02\x01\x1a\x83\x01\x20Request\x20message\x20for\n\x20[google.bigta\ - ble.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.Bigta\ - bleTableAdmin.GetTable]\n\n\x0b\n\x03\x04\x05\x01\x12\x04\xa9\x02\x08\ - \x17\n\x8a\x01\n\x04\x04\x05\x02\0\x12\x04\xad\x02\x02\x12\x1a|\x20The\ - \x20unique\x20name\x20of\x20the\x20requested\x20table.\n\x20Values\x20ar\ - e\x20of\x20the\x20form\n\x20`projects//instances//tab\ - les/
`.\n\n\x0f\n\x05\x04\x05\x02\0\x04\x12\x06\xad\x02\x02\xa9\ - \x02\x19\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\xad\x02\x02\x08\n\r\n\x05\ - \x04\x05\x02\0\x01\x12\x04\xad\x02\t\r\n\r\n\x05\x04\x05\x02\0\x03\x12\ - \x04\xad\x02\x10\x11\nq\n\x04\x04\x05\x02\x01\x12\x04\xb1\x02\x02\x16\ - \x1ac\x20The\x20view\x20to\x20be\x20applied\x20to\x20the\x20returned\x20\ - table's\x20fields.\n\x20Defaults\x20to\x20`SCHEMA_VIEW`\x20if\x20unspeci\ - fied.\n\n\x0f\n\x05\x04\x05\x02\x01\x04\x12\x06\xb1\x02\x02\xad\x02\x12\ - \n\r\n\x05\x04\x05\x02\x01\x06\x12\x04\xb1\x02\x02\x0c\n\r\n\x05\x04\x05\ - \x02\x01\x01\x12\x04\xb1\x02\r\x11\n\r\n\x05\x04\x05\x02\x01\x03\x12\x04\ - \xb1\x02\x14\x15\n\x98\x01\n\x02\x04\x06\x12\x06\xb6\x02\0\xbb\x02\x01\ - \x1a\x89\x01\x20Request\x20message\x20for\n\x20[google.bigtable.admin.v2\ - .BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableA\ - dmin.DeleteTable]\n\n\x0b\n\x03\x04\x06\x01\x12\x04\xb6\x02\x08\x1a\n\ - \x8f\x01\n\x04\x04\x06\x02\0\x12\x04\xba\x02\x02\x12\x1a\x80\x01\x20The\ - \x20unique\x20name\x20of\x20the\x20table\x20to\x20be\x20deleted.\n\x20Va\ - lues\x20are\x20of\x20the\x20form\n\x20`projects//instances//tables/
`.\n\n\x0f\n\x05\x04\x06\x02\0\x04\x12\x06\xba\x02\ - \x02\xb6\x02\x1c\n\r\n\x05\x04\x06\x02\0\x05\x12\x04\xba\x02\x02\x08\n\r\ - \n\x05\x04\x06\x02\0\x01\x12\x04\xba\x02\t\r\n\r\n\x05\x04\x06\x02\0\x03\ - \x12\x04\xba\x02\x10\x11\n\xaa\x01\n\x02\x04\x07\x12\x06\xbf\x02\0\xdf\ - \x02\x01\x1a\x9b\x01\x20Request\x20message\x20for\n\x20[google.bigtable.\ - admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.\ - v2.BigtableTableAdmin.ModifyColumnFamilies]\n\n\x0b\n\x03\x04\x07\x01\ - \x12\x04\xbf\x02\x08#\nL\n\x04\x04\x07\x03\0\x12\x06\xc1\x02\x02\xd3\x02\ - \x03\x1a<\x20A\x20create,\x20update,\x20or\x20delete\x20of\x20a\x20parti\ - cular\x20column\x20family.\n\n\r\n\x05\x04\x07\x03\0\x01\x12\x04\xc1\x02\ - \n\x16\n=\n\x06\x04\x07\x03\0\x02\0\x12\x04\xc3\x02\x04\x12\x1a-\x20The\ - \x20ID\x20of\x20the\x20column\x20family\x20to\x20be\x20modified.\n\n\x11\ - \n\x07\x04\x07\x03\0\x02\0\x04\x12\x06\xc3\x02\x04\xc1\x02\x18\n\x0f\n\ - \x07\x04\x07\x03\0\x02\0\x05\x12\x04\xc3\x02\x04\n\n\x0f\n\x07\x04\x07\ - \x03\0\x02\0\x01\x12\x04\xc3\x02\x0b\r\n\x0f\n\x07\x04\x07\x03\0\x02\0\ - \x03\x12\x04\xc3\x02\x10\x11\n1\n\x06\x04\x07\x03\0\x08\0\x12\x06\xc6\ - \x02\x04\xd2\x02\x05\x1a\x1f\x20Column\x20familiy\x20modifications.\n\n\ - \x0f\n\x07\x04\x07\x03\0\x08\0\x01\x12\x04\xc6\x02\n\r\ny\n\x06\x04\x07\ - \x03\0\x02\x01\x12\x04\xc9\x02\x06\x1e\x1ai\x20Create\x20a\x20new\x20col\ - umn\x20family\x20with\x20the\x20specified\x20schema,\x20or\x20fail\x20if\ - \n\x20one\x20already\x20exists\x20with\x20the\x20given\x20ID.\n\n\x0f\n\ - \x07\x04\x07\x03\0\x02\x01\x06\x12\x04\xc9\x02\x06\x12\n\x0f\n\x07\x04\ - \x07\x03\0\x02\x01\x01\x12\x04\xc9\x02\x13\x19\n\x0f\n\x07\x04\x07\x03\0\ - \x02\x01\x03\x12\x04\xc9\x02\x1c\x1d\n\x82\x01\n\x06\x04\x07\x03\0\x02\ - \x02\x12\x04\xcd\x02\x06\x1e\x1ar\x20Update\x20an\x20existing\x20column\ - \x20family\x20to\x20the\x20specified\x20schema,\x20or\x20fail\n\x20if\ - \x20no\x20column\x20family\x20exists\x20with\x20the\x20given\x20ID.\n\n\ - \x0f\n\x07\x04\x07\x03\0\x02\x02\x06\x12\x04\xcd\x02\x06\x12\n\x0f\n\x07\ - \x04\x07\x03\0\x02\x02\x01\x12\x04\xcd\x02\x13\x19\n\x0f\n\x07\x04\x07\ - \x03\0\x02\x02\x03\x12\x04\xcd\x02\x1c\x1d\ng\n\x06\x04\x07\x03\0\x02\ - \x03\x12\x04\xd1\x02\x06\x14\x1aW\x20Drop\x20(delete)\x20the\x20column\ - \x20family\x20with\x20the\x20given\x20ID,\x20or\x20fail\x20if\x20no\x20s\ - uch\n\x20family\x20exists.\n\n\x0f\n\x07\x04\x07\x03\0\x02\x03\x05\x12\ - \x04\xd1\x02\x06\n\n\x0f\n\x07\x04\x07\x03\0\x02\x03\x01\x12\x04\xd1\x02\ - \x0b\x0f\n\x0f\n\x07\x04\x07\x03\0\x02\x03\x03\x12\x04\xd1\x02\x12\x13\n\ - \xa3\x01\n\x04\x04\x07\x02\0\x12\x04\xd8\x02\x02\x12\x1a\x94\x01\x20The\ - \x20unique\x20name\x20of\x20the\x20table\x20whose\x20families\x20should\ - \x20be\x20modified.\n\x20Values\x20are\x20of\x20the\x20form\n\x20`projec\ - ts//instances//tables/
`.\n\n\x0f\n\x05\x04\x07\ - \x02\0\x04\x12\x06\xd8\x02\x02\xd3\x02\x03\n\r\n\x05\x04\x07\x02\0\x05\ - \x12\x04\xd8\x02\x02\x08\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\xd8\x02\t\r\ - \n\r\n\x05\x04\x07\x02\0\x03\x12\x04\xd8\x02\x10\x11\n\xfd\x01\n\x04\x04\ - \x07\x02\x01\x12\x04\xde\x02\x02*\x1a\xee\x01\x20Modifications\x20to\x20\ - be\x20atomically\x20applied\x20to\x20the\x20specified\x20table's\x20fami\ - lies.\n\x20Entries\x20are\x20applied\x20in\x20order,\x20meaning\x20that\ - \x20earlier\x20modifications\x20can\x20be\n\x20masked\x20by\x20later\x20\ - ones\x20(in\x20the\x20case\x20of\x20repeated\x20updates\x20to\x20the\x20\ - same\x20family,\n\x20for\x20example).\n\n\r\n\x05\x04\x07\x02\x01\x04\ - \x12\x04\xde\x02\x02\n\n\r\n\x05\x04\x07\x02\x01\x06\x12\x04\xde\x02\x0b\ - \x17\n\r\n\x05\x04\x07\x02\x01\x01\x12\x04\xde\x02\x18%\n\r\n\x05\x04\ - \x07\x02\x01\x03\x12\x04\xde\x02()\n\xb2\x01\n\x02\x04\x08\x12\x06\xe3\ - \x02\0\xe8\x02\x01\x1a\xa3\x01\x20Request\x20message\x20for\n\x20[google\ - .bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.b\ - igtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]\n\n\x0b\n\ - \x03\x04\x08\x01\x12\x04\xe3\x02\x08'\n\xa9\x01\n\x04\x04\x08\x02\0\x12\ - \x04\xe7\x02\x02\x12\x1a\x9a\x01\x20The\x20unique\x20name\x20of\x20the\ - \x20Table\x20for\x20which\x20to\x20create\x20a\x20consistency\x20token.\ - \n\x20Values\x20are\x20of\x20the\x20form\n\x20`projects//instan\ - ces//tables/
`.\n\n\x0f\n\x05\x04\x08\x02\0\x04\x12\x06\ - \xe7\x02\x02\xe3\x02)\n\r\n\x05\x04\x08\x02\0\x05\x12\x04\xe7\x02\x02\ - \x08\n\r\n\x05\x04\x08\x02\0\x01\x12\x04\xe7\x02\t\r\n\r\n\x05\x04\x08\ - \x02\0\x03\x12\x04\xe7\x02\x10\x11\n\xb3\x01\n\x02\x04\t\x12\x06\xec\x02\ - \0\xef\x02\x01\x1a\xa4\x01\x20Response\x20message\x20for\n\x20[google.bi\ - gtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigt\ - able.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]\n\n\x0b\n\x03\ - \x04\t\x01\x12\x04\xec\x02\x08(\n0\n\x04\x04\t\x02\0\x12\x04\xee\x02\x02\ - \x1f\x1a\"\x20The\x20generated\x20consistency\x20token.\n\n\x0f\n\x05\ - \x04\t\x02\0\x04\x12\x06\xee\x02\x02\xec\x02*\n\r\n\x05\x04\t\x02\0\x05\ - \x12\x04\xee\x02\x02\x08\n\r\n\x05\x04\t\x02\0\x01\x12\x04\xee\x02\t\x1a\ - \n\r\n\x05\x04\t\x02\0\x03\x12\x04\xee\x02\x1d\x1e\n\xa2\x01\n\x02\x04\n\ - \x12\x06\xf3\x02\0\xfb\x02\x01\x1a\x93\x01\x20Request\x20message\x20for\ - \n\x20[google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][goo\ - gle.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]\n\n\x0b\n\x03\ - \x04\n\x01\x12\x04\xf3\x02\x08\x1f\n\xac\x01\n\x04\x04\n\x02\0\x12\x04\ - \xf7\x02\x02\x12\x1a\x9d\x01\x20The\x20unique\x20name\x20of\x20the\x20Ta\ - ble\x20for\x20which\x20to\x20check\x20replication\x20consistency.\n\x20V\ - alues\x20are\x20of\x20the\x20form\n\x20`projects//instances//tables/
`.\n\n\x0f\n\x05\x04\n\x02\0\x04\x12\x06\xf7\x02\ - \x02\xf3\x02!\n\r\n\x05\x04\n\x02\0\x05\x12\x04\xf7\x02\x02\x08\n\r\n\ - \x05\x04\n\x02\0\x01\x12\x04\xf7\x02\t\r\n\r\n\x05\x04\n\x02\0\x03\x12\ - \x04\xf7\x02\x10\x11\nO\n\x04\x04\n\x02\x01\x12\x04\xfa\x02\x02\x1f\x1aA\ - \x20The\x20token\x20created\x20using\x20GenerateConsistencyToken\x20for\ - \x20the\x20Table.\n\n\x0f\n\x05\x04\n\x02\x01\x04\x12\x06\xfa\x02\x02\ - \xf7\x02\x12\n\r\n\x05\x04\n\x02\x01\x05\x12\x04\xfa\x02\x02\x08\n\r\n\ - \x05\x04\n\x02\x01\x01\x12\x04\xfa\x02\t\x1a\n\r\n\x05\x04\n\x02\x01\x03\ - \x12\x04\xfa\x02\x1d\x1e\n\xa3\x01\n\x02\x04\x0b\x12\x06\xff\x02\0\x83\ - \x03\x01\x1a\x94\x01\x20Response\x20message\x20for\n\x20[google.bigtable\ - .admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.\ - BigtableTableAdmin.CheckConsistency]\n\n\x0b\n\x03\x04\x0b\x01\x12\x04\ - \xff\x02\x08\x20\n\x9a\x01\n\x04\x04\x0b\x02\0\x12\x04\x82\x03\x02\x16\ - \x1a\x8b\x01\x20True\x20only\x20if\x20the\x20token\x20is\x20consistent.\ - \x20A\x20token\x20is\x20consistent\x20if\x20replication\n\x20has\x20caug\ - ht\x20up\x20with\x20the\x20restrictions\x20specified\x20in\x20the\x20req\ - uest.\n\n\x0f\n\x05\x04\x0b\x02\0\x04\x12\x06\x82\x03\x02\xff\x02\"\n\r\ - \n\x05\x04\x0b\x02\0\x05\x12\x04\x82\x03\x02\x06\n\r\n\x05\x04\x0b\x02\0\ - \x01\x12\x04\x82\x03\x07\x11\n\r\n\x05\x04\x0b\x02\0\x03\x12\x04\x82\x03\ - \x14\x15\n\xc9\x03\n\x02\x04\x0c\x12\x06\x8c\x03\0\xa5\x03\x01\x1a\xba\ - \x03\x20Request\x20message\x20for\n\x20[google.bigtable.admin.v2.Bigtabl\ - eTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.S\ - napshotTable]\n\n\x20Note:\x20This\x20is\x20a\x20private\x20alpha\x20rel\ - ease\x20of\x20Cloud\x20Bigtable\x20snapshots.\x20This\n\x20feature\x20is\ - \x20not\x20currently\x20available\x20to\x20most\x20Cloud\x20Bigtable\x20\ - customers.\x20This\n\x20feature\x20might\x20be\x20changed\x20in\x20backw\ - ard-incompatible\x20ways\x20and\x20is\x20not\x20recommended\n\x20for\x20\ - production\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20\ - or\x20deprecation\x20policy.\n\n\x0b\n\x03\x04\x0c\x01\x12\x04\x8c\x03\ - \x08\x1c\n\x9c\x01\n\x04\x04\x0c\x02\0\x12\x04\x90\x03\x02\x12\x1a\x8d\ - \x01\x20The\x20unique\x20name\x20of\x20the\x20table\x20to\x20have\x20the\ - \x20snapshot\x20taken.\n\x20Values\x20are\x20of\x20the\x20form\n\x20`pro\ - jects//instances//tables/
`.\n\n\x0f\n\x05\x04\ - \x0c\x02\0\x04\x12\x06\x90\x03\x02\x8c\x03\x1e\n\r\n\x05\x04\x0c\x02\0\ - \x05\x12\x04\x90\x03\x02\x08\n\r\n\x05\x04\x0c\x02\0\x01\x12\x04\x90\x03\ - \t\r\n\r\n\x05\x04\x0c\x02\0\x03\x12\x04\x90\x03\x10\x11\n\xa6\x01\n\x04\ - \x04\x0c\x02\x01\x12\x04\x95\x03\x02\x15\x1a\x97\x01\x20The\x20name\x20o\ - f\x20the\x20cluster\x20where\x20the\x20snapshot\x20will\x20be\x20created\ - \x20in.\n\x20Values\x20are\x20of\x20the\x20form\n\x20`projects/\ - /instances//clusters/`.\n\n\x0f\n\x05\x04\x0c\x02\x01\ - \x04\x12\x06\x95\x03\x02\x90\x03\x12\n\r\n\x05\x04\x0c\x02\x01\x05\x12\ - \x04\x95\x03\x02\x08\n\r\n\x05\x04\x0c\x02\x01\x01\x12\x04\x95\x03\t\x10\ - \n\r\n\x05\x04\x0c\x02\x01\x03\x12\x04\x95\x03\x13\x14\n\x82\x02\n\x04\ - \x04\x0c\x02\x02\x12\x04\x9b\x03\x02\x19\x1a\xf3\x01\x20The\x20ID\x20by\ - \x20which\x20the\x20new\x20snapshot\x20should\x20be\x20referred\x20to\ - \x20within\x20the\x20parent\n\x20cluster,\x20e.g.,\x20`mysnapshot`\x20of\ - \x20the\x20form:\x20`[_a-zA-Z0-9][-_.a-zA-Z0-9]*`\n\x20rather\x20than\n\ - \x20`projects//instances//clusters//snapshot\ - s/mysnapshot`.\n\n\x0f\n\x05\x04\x0c\x02\x02\x04\x12\x06\x9b\x03\x02\x95\ - \x03\x15\n\r\n\x05\x04\x0c\x02\x02\x05\x12\x04\x9b\x03\x02\x08\n\r\n\x05\ - \x04\x0c\x02\x02\x01\x12\x04\x9b\x03\t\x14\n\r\n\x05\x04\x0c\x02\x02\x03\ - \x12\x04\x9b\x03\x17\x18\n\x9c\x02\n\x04\x04\x0c\x02\x03\x12\x04\xa1\x03\ - \x02#\x1a\x8d\x02\x20The\x20amount\x20of\x20time\x20that\x20the\x20new\ - \x20snapshot\x20can\x20stay\x20active\x20after\x20it\x20is\n\x20created.\ - \x20Once\x20'ttl'\x20expires,\x20the\x20snapshot\x20will\x20get\x20delet\ - ed.\x20The\x20maximum\n\x20amount\x20of\x20time\x20a\x20snapshot\x20can\ - \x20stay\x20active\x20is\x207\x20days.\x20If\x20'ttl'\x20is\x20not\n\x20\ - specified,\x20the\x20default\x20value\x20of\x2024\x20hours\x20will\x20be\ - \x20used.\n\n\x0f\n\x05\x04\x0c\x02\x03\x04\x12\x06\xa1\x03\x02\x9b\x03\ - \x19\n\r\n\x05\x04\x0c\x02\x03\x06\x12\x04\xa1\x03\x02\x1a\n\r\n\x05\x04\ - \x0c\x02\x03\x01\x12\x04\xa1\x03\x1b\x1e\n\r\n\x05\x04\x0c\x02\x03\x03\ - \x12\x04\xa1\x03!\"\n,\n\x04\x04\x0c\x02\x04\x12\x04\xa4\x03\x02\x19\x1a\ - \x1e\x20Description\x20of\x20the\x20snapshot.\n\n\x0f\n\x05\x04\x0c\x02\ - \x04\x04\x12\x06\xa4\x03\x02\xa1\x03#\n\r\n\x05\x04\x0c\x02\x04\x05\x12\ - \x04\xa4\x03\x02\x08\n\r\n\x05\x04\x0c\x02\x04\x01\x12\x04\xa4\x03\t\x14\ - \n\r\n\x05\x04\x0c\x02\x04\x03\x12\x04\xa4\x03\x17\x18\n\xc5\x03\n\x02\ - \x04\r\x12\x06\xae\x03\0\xb3\x03\x01\x1a\xb6\x03\x20Request\x20message\ - \x20for\n\x20[google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][g\ - oogle.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]\n\n\x20Note:\x20\ - This\x20is\x20a\x20private\x20alpha\x20release\x20of\x20Cloud\x20Bigtabl\ - e\x20snapshots.\x20This\n\x20feature\x20is\x20not\x20currently\x20availa\ - ble\x20to\x20most\x20Cloud\x20Bigtable\x20customers.\x20This\n\x20featur\ - e\x20might\x20be\x20changed\x20in\x20backward-incompatible\x20ways\x20an\ - d\x20is\x20not\x20recommended\n\x20for\x20production\x20use.\x20It\x20is\ - \x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.\n\ - \n\x0b\n\x03\x04\r\x01\x12\x04\xae\x03\x08\x1a\n\xa7\x01\n\x04\x04\r\x02\ - \0\x12\x04\xb2\x03\x02\x12\x1a\x98\x01\x20The\x20unique\x20name\x20of\ - \x20the\x20requested\x20snapshot.\n\x20Values\x20are\x20of\x20the\x20for\ - m\n\x20`projects//instances//clusters//snaps\ - hots/`.\n\n\x0f\n\x05\x04\r\x02\0\x04\x12\x06\xb2\x03\x02\xae\ - \x03\x1c\n\r\n\x05\x04\r\x02\0\x05\x12\x04\xb2\x03\x02\x08\n\r\n\x05\x04\ - \r\x02\0\x01\x12\x04\xb2\x03\t\r\n\r\n\x05\x04\r\x02\0\x03\x12\x04\xb2\ - \x03\x10\x11\n\xc9\x03\n\x02\x04\x0e\x12\x06\xbc\x03\0\xca\x03\x01\x1a\ - \xba\x03\x20Request\x20message\x20for\n\x20[google.bigtable.admin.v2.Big\ - tableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdm\ - in.ListSnapshots]\n\n\x20Note:\x20This\x20is\x20a\x20private\x20alpha\ - \x20release\x20of\x20Cloud\x20Bigtable\x20snapshots.\x20This\n\x20featur\ - e\x20is\x20not\x20currently\x20available\x20to\x20most\x20Cloud\x20Bigta\ - ble\x20customers.\x20This\n\x20feature\x20might\x20be\x20changed\x20in\ - \x20backward-incompatible\x20ways\x20and\x20is\x20not\x20recommended\n\ - \x20for\x20production\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\ - \x20SLA\x20or\x20deprecation\x20policy.\n\n\x0b\n\x03\x04\x0e\x01\x12\ - \x04\xbc\x03\x08\x1c\n\xb3\x02\n\x04\x04\x0e\x02\0\x12\x04\xc2\x03\x02\ - \x14\x1a\xa4\x02\x20The\x20unique\x20name\x20of\x20the\x20cluster\x20for\ - \x20which\x20snapshots\x20should\x20be\x20listed.\n\x20Values\x20are\x20\ - of\x20the\x20form\n\x20`projects//instances//clusters\ - /`.\n\x20Use\x20`\x20=\x20'-'`\x20to\x20list\x20snapsh\ - ots\x20for\x20all\x20clusters\x20in\x20an\x20instance,\n\x20e.g.,\x20`pr\ - ojects//instances//clusters/-`.\n\n\x0f\n\x05\x04\x0e\ - \x02\0\x04\x12\x06\xc2\x03\x02\xbc\x03\x1e\n\r\n\x05\x04\x0e\x02\0\x05\ - \x12\x04\xc2\x03\x02\x08\n\r\n\x05\x04\x0e\x02\0\x01\x12\x04\xc2\x03\t\ - \x0f\n\r\n\x05\x04\x0e\x02\0\x03\x12\x04\xc2\x03\x12\x13\ni\n\x04\x04\ - \x0e\x02\x01\x12\x04\xc6\x03\x02\x16\x1a[\x20The\x20maximum\x20number\ - \x20of\x20snapshots\x20to\x20return\x20per\x20page.\n\x20CURRENTLY\x20UN\ - IMPLEMENTED\x20AND\x20IGNORED.\n\n\x0f\n\x05\x04\x0e\x02\x01\x04\x12\x06\ - \xc6\x03\x02\xc2\x03\x14\n\r\n\x05\x04\x0e\x02\x01\x05\x12\x04\xc6\x03\ - \x02\x07\n\r\n\x05\x04\x0e\x02\x01\x01\x12\x04\xc6\x03\x08\x11\n\r\n\x05\ - \x04\x0e\x02\x01\x03\x12\x04\xc6\x03\x14\x15\nK\n\x04\x04\x0e\x02\x02\ - \x12\x04\xc9\x03\x02\x18\x1a=\x20The\x20value\x20of\x20`next_page_token`\ - \x20returned\x20by\x20a\x20previous\x20call.\n\n\x0f\n\x05\x04\x0e\x02\ - \x02\x04\x12\x06\xc9\x03\x02\xc6\x03\x16\n\r\n\x05\x04\x0e\x02\x02\x05\ - \x12\x04\xc9\x03\x02\x08\n\r\n\x05\x04\x0e\x02\x02\x01\x12\x04\xc9\x03\t\ - \x13\n\r\n\x05\x04\x0e\x02\x02\x03\x12\x04\xc9\x03\x16\x17\n\xca\x03\n\ - \x02\x04\x0f\x12\x06\xd3\x03\0\xdb\x03\x01\x1a\xbb\x03\x20Response\x20me\ - ssage\x20for\n\x20[google.bigtable.admin.v2.BigtableTableAdmin.ListSnaps\ - hots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]\n\n\x20\ - Note:\x20This\x20is\x20a\x20private\x20alpha\x20release\x20of\x20Cloud\ - \x20Bigtable\x20snapshots.\x20This\n\x20feature\x20is\x20not\x20currentl\ - y\x20available\x20to\x20most\x20Cloud\x20Bigtable\x20customers.\x20This\ - \n\x20feature\x20might\x20be\x20changed\x20in\x20backward-incompatible\ - \x20ways\x20and\x20is\x20not\x20recommended\n\x20for\x20production\x20us\ - e.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecatio\ - n\x20policy.\n\n\x0b\n\x03\x04\x0f\x01\x12\x04\xd3\x03\x08\x1d\n?\n\x04\ - \x04\x0f\x02\0\x12\x04\xd5\x03\x02\"\x1a1\x20The\x20snapshots\x20present\ - \x20in\x20the\x20requested\x20cluster.\n\n\r\n\x05\x04\x0f\x02\0\x04\x12\ - \x04\xd5\x03\x02\n\n\r\n\x05\x04\x0f\x02\0\x06\x12\x04\xd5\x03\x0b\x13\n\ - \r\n\x05\x04\x0f\x02\0\x01\x12\x04\xd5\x03\x14\x1d\n\r\n\x05\x04\x0f\x02\ - \0\x03\x12\x04\xd5\x03\x20!\n\xa7\x01\n\x04\x04\x0f\x02\x01\x12\x04\xda\ - \x03\x02\x1d\x1a\x98\x01\x20Set\x20if\x20not\x20all\x20snapshots\x20coul\ - d\x20be\x20returned\x20in\x20a\x20single\x20response.\n\x20Pass\x20this\ - \x20value\x20to\x20`page_token`\x20in\x20another\x20request\x20to\x20get\ - \x20the\x20next\n\x20page\x20of\x20results.\n\n\x0f\n\x05\x04\x0f\x02\ - \x01\x04\x12\x06\xda\x03\x02\xd5\x03\"\n\r\n\x05\x04\x0f\x02\x01\x05\x12\ - \x04\xda\x03\x02\x08\n\r\n\x05\x04\x0f\x02\x01\x01\x12\x04\xda\x03\t\x18\ - \n\r\n\x05\x04\x0f\x02\x01\x03\x12\x04\xda\x03\x1b\x1c\n\xcb\x03\n\x02\ - \x04\x10\x12\x06\xe4\x03\0\xe9\x03\x01\x1a\xbc\x03\x20Request\x20message\ - \x20for\n\x20[google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot\ - ][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]\n\n\x20Not\ - e:\x20This\x20is\x20a\x20private\x20alpha\x20release\x20of\x20Cloud\x20B\ - igtable\x20snapshots.\x20This\n\x20feature\x20is\x20not\x20currently\x20\ - available\x20to\x20most\x20Cloud\x20Bigtable\x20customers.\x20This\n\x20\ - feature\x20might\x20be\x20changed\x20in\x20backward-incompatible\x20ways\ - \x20and\x20is\x20not\x20recommended\n\x20for\x20production\x20use.\x20It\ - \x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\x20pol\ - icy.\n\n\x0b\n\x03\x04\x10\x01\x12\x04\xe4\x03\x08\x1d\n\xab\x01\n\x04\ - \x04\x10\x02\0\x12\x04\xe8\x03\x02\x12\x1a\x9c\x01\x20The\x20unique\x20n\ - ame\x20of\x20the\x20snapshot\x20to\x20be\x20deleted.\n\x20Values\x20are\ - \x20of\x20the\x20form\n\x20`projects//instances//clus\ - ters//snapshots/`.\n\n\x0f\n\x05\x04\x10\x02\0\x04\ - \x12\x06\xe8\x03\x02\xe4\x03\x1f\n\r\n\x05\x04\x10\x02\0\x05\x12\x04\xe8\ - \x03\x02\x08\n\r\n\x05\x04\x10\x02\0\x01\x12\x04\xe8\x03\t\r\n\r\n\x05\ - \x04\x10\x02\0\x03\x12\x04\xe8\x03\x10\x11\n\xf7\x02\n\x02\x04\x11\x12\ - \x06\xf1\x03\0\xfa\x03\x01\x1a\xe8\x02\x20The\x20metadata\x20for\x20the\ - \x20Operation\x20returned\x20by\x20SnapshotTable.\n\n\x20Note:\x20This\ - \x20is\x20a\x20private\x20alpha\x20release\x20of\x20Cloud\x20Bigtable\ - \x20snapshots.\x20This\n\x20feature\x20is\x20not\x20currently\x20availab\ - le\x20to\x20most\x20Cloud\x20Bigtable\x20customers.\x20This\n\x20feature\ - \x20might\x20be\x20changed\x20in\x20backward-incompatible\x20ways\x20and\ - \x20is\x20not\x20recommended\n\x20for\x20production\x20use.\x20It\x20is\ - \x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.\n\ - \n\x0b\n\x03\x04\x11\x01\x12\x04\xf1\x03\x08\x1d\nY\n\x04\x04\x11\x02\0\ - \x12\x04\xf3\x03\x02,\x1aK\x20The\x20request\x20that\x20prompted\x20the\ - \x20initiation\x20of\x20this\x20SnapshotTable\x20operation.\n\n\x0f\n\ - \x05\x04\x11\x02\0\x04\x12\x06\xf3\x03\x02\xf1\x03\x1f\n\r\n\x05\x04\x11\ - \x02\0\x06\x12\x04\xf3\x03\x02\x16\n\r\n\x05\x04\x11\x02\0\x01\x12\x04\ - \xf3\x03\x17'\n\r\n\x05\x04\x11\x02\0\x03\x12\x04\xf3\x03*+\nD\n\x04\x04\ - \x11\x02\x01\x12\x04\xf6\x03\x02-\x1a6\x20The\x20time\x20at\x20which\x20\ - the\x20original\x20request\x20was\x20received.\n\n\x0f\n\x05\x04\x11\x02\ - \x01\x04\x12\x06\xf6\x03\x02\xf3\x03,\n\r\n\x05\x04\x11\x02\x01\x06\x12\ - \x04\xf6\x03\x02\x1b\n\r\n\x05\x04\x11\x02\x01\x01\x12\x04\xf6\x03\x1c(\ - \n\r\n\x05\x04\x11\x02\x01\x03\x12\x04\xf6\x03+,\nU\n\x04\x04\x11\x02\ - \x02\x12\x04\xf9\x03\x02,\x1aG\x20The\x20time\x20at\x20which\x20the\x20o\ - peration\x20failed\x20or\x20was\x20completed\x20successfully.\n\n\x0f\n\ - \x05\x04\x11\x02\x02\x04\x12\x06\xf9\x03\x02\xf6\x03-\n\r\n\x05\x04\x11\ - \x02\x02\x06\x12\x04\xf9\x03\x02\x1b\n\r\n\x05\x04\x11\x02\x02\x01\x12\ - \x04\xf9\x03\x1c'\n\r\n\x05\x04\x11\x02\x02\x03\x12\x04\xf9\x03*+\n\x81\ - \x03\n\x02\x04\x12\x12\x06\x82\x04\0\x8c\x04\x01\x1a\xf2\x02\x20The\x20m\ - etadata\x20for\x20the\x20Operation\x20returned\x20by\x20CreateTableFromS\ - napshot.\n\n\x20Note:\x20This\x20is\x20a\x20private\x20alpha\x20release\ - \x20of\x20Cloud\x20Bigtable\x20snapshots.\x20This\n\x20feature\x20is\x20\ - not\x20currently\x20available\x20to\x20most\x20Cloud\x20Bigtable\x20cust\ - omers.\x20This\n\x20feature\x20might\x20be\x20changed\x20in\x20backward-\ - incompatible\x20ways\x20and\x20is\x20not\x20recommended\n\x20for\x20prod\ - uction\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\ - \x20deprecation\x20policy.\n\n\x0b\n\x03\x04\x12\x01\x12\x04\x82\x04\x08\ - '\nd\n\x04\x04\x12\x02\0\x12\x04\x85\x04\x026\x1aV\x20The\x20request\x20\ - that\x20prompted\x20the\x20initiation\x20of\x20this\x20CreateTableFromSn\ - apshot\n\x20operation.\n\n\x0f\n\x05\x04\x12\x02\0\x04\x12\x06\x85\x04\ - \x02\x82\x04)\n\r\n\x05\x04\x12\x02\0\x06\x12\x04\x85\x04\x02\x20\n\r\n\ - \x05\x04\x12\x02\0\x01\x12\x04\x85\x04!1\n\r\n\x05\x04\x12\x02\0\x03\x12\ - \x04\x85\x0445\nD\n\x04\x04\x12\x02\x01\x12\x04\x88\x04\x02-\x1a6\x20The\ - \x20time\x20at\x20which\x20the\x20original\x20request\x20was\x20received\ - .\n\n\x0f\n\x05\x04\x12\x02\x01\x04\x12\x06\x88\x04\x02\x85\x046\n\r\n\ - \x05\x04\x12\x02\x01\x06\x12\x04\x88\x04\x02\x1b\n\r\n\x05\x04\x12\x02\ - \x01\x01\x12\x04\x88\x04\x1c(\n\r\n\x05\x04\x12\x02\x01\x03\x12\x04\x88\ - \x04+,\nU\n\x04\x04\x12\x02\x02\x12\x04\x8b\x04\x02,\x1aG\x20The\x20time\ - \x20at\x20which\x20the\x20operation\x20failed\x20or\x20was\x20completed\ - \x20successfully.\n\n\x0f\n\x05\x04\x12\x02\x02\x04\x12\x06\x8b\x04\x02\ - \x88\x04-\n\r\n\x05\x04\x12\x02\x02\x06\x12\x04\x8b\x04\x02\x1b\n\r\n\ - \x05\x04\x12\x02\x02\x01\x12\x04\x8b\x04\x1c'\n\r\n\x05\x04\x12\x02\x02\ - \x03\x12\x04\x8b\x04*+b\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_table_admin_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_table_admin_grpc.rs deleted file mode 100644 index eb7e660bfe..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/bigtable_table_admin_grpc.rs +++ /dev/null @@ -1,407 +0,0 @@ -// This file is generated. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] - -const METHOD_BIGTABLE_TABLE_ADMIN_CREATE_TABLE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/CreateTable", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_CREATE_TABLE_FROM_SNAPSHOT: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/CreateTableFromSnapshot", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_LIST_TABLES: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/ListTables", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_GET_TABLE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/GetTable", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_DELETE_TABLE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteTable", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_MODIFY_COLUMN_FAMILIES: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/ModifyColumnFamilies", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_DROP_ROW_RANGE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/DropRowRange", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_GENERATE_CONSISTENCY_TOKEN: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/GenerateConsistencyToken", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_CHECK_CONSISTENCY: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/CheckConsistency", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_SNAPSHOT_TABLE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/SnapshotTable", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_GET_SNAPSHOT: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/GetSnapshot", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_LIST_SNAPSHOTS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/ListSnapshots", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_TABLE_ADMIN_DELETE_SNAPSHOT: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteSnapshot", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -#[derive(Clone)] -pub struct BigtableTableAdminClient { - client: ::grpcio::Client, -} - -impl BigtableTableAdminClient { - pub fn new(channel: ::grpcio::Channel) -> Self { - BigtableTableAdminClient { - client: ::grpcio::Client::new(channel), - } - } - - pub fn create_table_opt(&self, req: &super::bigtable_table_admin::CreateTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_CREATE_TABLE, req, opt) - } - - pub fn create_table(&self, req: &super::bigtable_table_admin::CreateTableRequest) -> ::grpcio::Result { - self.create_table_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_table_async_opt(&self, req: &super::bigtable_table_admin::CreateTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_CREATE_TABLE, req, opt) - } - - pub fn create_table_async(&self, req: &super::bigtable_table_admin::CreateTableRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_table_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_table_from_snapshot_opt(&self, req: &super::bigtable_table_admin::CreateTableFromSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_CREATE_TABLE_FROM_SNAPSHOT, req, opt) - } - - pub fn create_table_from_snapshot(&self, req: &super::bigtable_table_admin::CreateTableFromSnapshotRequest) -> ::grpcio::Result { - self.create_table_from_snapshot_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_table_from_snapshot_async_opt(&self, req: &super::bigtable_table_admin::CreateTableFromSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_CREATE_TABLE_FROM_SNAPSHOT, req, opt) - } - - pub fn create_table_from_snapshot_async(&self, req: &super::bigtable_table_admin::CreateTableFromSnapshotRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_table_from_snapshot_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_tables_opt(&self, req: &super::bigtable_table_admin::ListTablesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_LIST_TABLES, req, opt) - } - - pub fn list_tables(&self, req: &super::bigtable_table_admin::ListTablesRequest) -> ::grpcio::Result { - self.list_tables_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_tables_async_opt(&self, req: &super::bigtable_table_admin::ListTablesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_LIST_TABLES, req, opt) - } - - pub fn list_tables_async(&self, req: &super::bigtable_table_admin::ListTablesRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_tables_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_table_opt(&self, req: &super::bigtable_table_admin::GetTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_GET_TABLE, req, opt) - } - - pub fn get_table(&self, req: &super::bigtable_table_admin::GetTableRequest) -> ::grpcio::Result { - self.get_table_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_table_async_opt(&self, req: &super::bigtable_table_admin::GetTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_GET_TABLE, req, opt) - } - - pub fn get_table_async(&self, req: &super::bigtable_table_admin::GetTableRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_table_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_table_opt(&self, req: &super::bigtable_table_admin::DeleteTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_DELETE_TABLE, req, opt) - } - - pub fn delete_table(&self, req: &super::bigtable_table_admin::DeleteTableRequest) -> ::grpcio::Result { - self.delete_table_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_table_async_opt(&self, req: &super::bigtable_table_admin::DeleteTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_DELETE_TABLE, req, opt) - } - - pub fn delete_table_async(&self, req: &super::bigtable_table_admin::DeleteTableRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_table_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn modify_column_families_opt(&self, req: &super::bigtable_table_admin::ModifyColumnFamiliesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_MODIFY_COLUMN_FAMILIES, req, opt) - } - - pub fn modify_column_families(&self, req: &super::bigtable_table_admin::ModifyColumnFamiliesRequest) -> ::grpcio::Result { - self.modify_column_families_opt(req, ::grpcio::CallOption::default()) - } - - pub fn modify_column_families_async_opt(&self, req: &super::bigtable_table_admin::ModifyColumnFamiliesRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_MODIFY_COLUMN_FAMILIES, req, opt) - } - - pub fn modify_column_families_async(&self, req: &super::bigtable_table_admin::ModifyColumnFamiliesRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.modify_column_families_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn drop_row_range_opt(&self, req: &super::bigtable_table_admin::DropRowRangeRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_DROP_ROW_RANGE, req, opt) - } - - pub fn drop_row_range(&self, req: &super::bigtable_table_admin::DropRowRangeRequest) -> ::grpcio::Result { - self.drop_row_range_opt(req, ::grpcio::CallOption::default()) - } - - pub fn drop_row_range_async_opt(&self, req: &super::bigtable_table_admin::DropRowRangeRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_DROP_ROW_RANGE, req, opt) - } - - pub fn drop_row_range_async(&self, req: &super::bigtable_table_admin::DropRowRangeRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.drop_row_range_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn generate_consistency_token_opt(&self, req: &super::bigtable_table_admin::GenerateConsistencyTokenRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_GENERATE_CONSISTENCY_TOKEN, req, opt) - } - - pub fn generate_consistency_token(&self, req: &super::bigtable_table_admin::GenerateConsistencyTokenRequest) -> ::grpcio::Result { - self.generate_consistency_token_opt(req, ::grpcio::CallOption::default()) - } - - pub fn generate_consistency_token_async_opt(&self, req: &super::bigtable_table_admin::GenerateConsistencyTokenRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_GENERATE_CONSISTENCY_TOKEN, req, opt) - } - - pub fn generate_consistency_token_async(&self, req: &super::bigtable_table_admin::GenerateConsistencyTokenRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.generate_consistency_token_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn check_consistency_opt(&self, req: &super::bigtable_table_admin::CheckConsistencyRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_CHECK_CONSISTENCY, req, opt) - } - - pub fn check_consistency(&self, req: &super::bigtable_table_admin::CheckConsistencyRequest) -> ::grpcio::Result { - self.check_consistency_opt(req, ::grpcio::CallOption::default()) - } - - pub fn check_consistency_async_opt(&self, req: &super::bigtable_table_admin::CheckConsistencyRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_CHECK_CONSISTENCY, req, opt) - } - - pub fn check_consistency_async(&self, req: &super::bigtable_table_admin::CheckConsistencyRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.check_consistency_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn snapshot_table_opt(&self, req: &super::bigtable_table_admin::SnapshotTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_SNAPSHOT_TABLE, req, opt) - } - - pub fn snapshot_table(&self, req: &super::bigtable_table_admin::SnapshotTableRequest) -> ::grpcio::Result { - self.snapshot_table_opt(req, ::grpcio::CallOption::default()) - } - - pub fn snapshot_table_async_opt(&self, req: &super::bigtable_table_admin::SnapshotTableRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_SNAPSHOT_TABLE, req, opt) - } - - pub fn snapshot_table_async(&self, req: &super::bigtable_table_admin::SnapshotTableRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.snapshot_table_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_snapshot_opt(&self, req: &super::bigtable_table_admin::GetSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_GET_SNAPSHOT, req, opt) - } - - pub fn get_snapshot(&self, req: &super::bigtable_table_admin::GetSnapshotRequest) -> ::grpcio::Result { - self.get_snapshot_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_snapshot_async_opt(&self, req: &super::bigtable_table_admin::GetSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_GET_SNAPSHOT, req, opt) - } - - pub fn get_snapshot_async(&self, req: &super::bigtable_table_admin::GetSnapshotRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_snapshot_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_snapshots_opt(&self, req: &super::bigtable_table_admin::ListSnapshotsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_LIST_SNAPSHOTS, req, opt) - } - - pub fn list_snapshots(&self, req: &super::bigtable_table_admin::ListSnapshotsRequest) -> ::grpcio::Result { - self.list_snapshots_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_snapshots_async_opt(&self, req: &super::bigtable_table_admin::ListSnapshotsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_LIST_SNAPSHOTS, req, opt) - } - - pub fn list_snapshots_async(&self, req: &super::bigtable_table_admin::ListSnapshotsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_snapshots_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_snapshot_opt(&self, req: &super::bigtable_table_admin::DeleteSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_TABLE_ADMIN_DELETE_SNAPSHOT, req, opt) - } - - pub fn delete_snapshot(&self, req: &super::bigtable_table_admin::DeleteSnapshotRequest) -> ::grpcio::Result { - self.delete_snapshot_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_snapshot_async_opt(&self, req: &super::bigtable_table_admin::DeleteSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_TABLE_ADMIN_DELETE_SNAPSHOT, req, opt) - } - - pub fn delete_snapshot_async(&self, req: &super::bigtable_table_admin::DeleteSnapshotRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_snapshot_async_opt(req, ::grpcio::CallOption::default()) - } - pub fn spawn(&self, f: F) where F: ::futures::Future + Send + 'static { - self.client.spawn(f) - } -} - -pub trait BigtableTableAdmin { - fn create_table(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::CreateTableRequest, sink: ::grpcio::UnarySink); - fn create_table_from_snapshot(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::CreateTableFromSnapshotRequest, sink: ::grpcio::UnarySink); - fn list_tables(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::ListTablesRequest, sink: ::grpcio::UnarySink); - fn get_table(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::GetTableRequest, sink: ::grpcio::UnarySink); - fn delete_table(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::DeleteTableRequest, sink: ::grpcio::UnarySink); - fn modify_column_families(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::ModifyColumnFamiliesRequest, sink: ::grpcio::UnarySink); - fn drop_row_range(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::DropRowRangeRequest, sink: ::grpcio::UnarySink); - fn generate_consistency_token(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::GenerateConsistencyTokenRequest, sink: ::grpcio::UnarySink); - fn check_consistency(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::CheckConsistencyRequest, sink: ::grpcio::UnarySink); - fn snapshot_table(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::SnapshotTableRequest, sink: ::grpcio::UnarySink); - fn get_snapshot(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::GetSnapshotRequest, sink: ::grpcio::UnarySink); - fn list_snapshots(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::ListSnapshotsRequest, sink: ::grpcio::UnarySink); - fn delete_snapshot(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_table_admin::DeleteSnapshotRequest, sink: ::grpcio::UnarySink); -} - -pub fn create_bigtable_table_admin(s: S) -> ::grpcio::Service { - let mut builder = ::grpcio::ServiceBuilder::new(); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_CREATE_TABLE, move |ctx, req, resp| { - instance.create_table(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_CREATE_TABLE_FROM_SNAPSHOT, move |ctx, req, resp| { - instance.create_table_from_snapshot(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_LIST_TABLES, move |ctx, req, resp| { - instance.list_tables(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_GET_TABLE, move |ctx, req, resp| { - instance.get_table(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_DELETE_TABLE, move |ctx, req, resp| { - instance.delete_table(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_MODIFY_COLUMN_FAMILIES, move |ctx, req, resp| { - instance.modify_column_families(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_DROP_ROW_RANGE, move |ctx, req, resp| { - instance.drop_row_range(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_GENERATE_CONSISTENCY_TOKEN, move |ctx, req, resp| { - instance.generate_consistency_token(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_CHECK_CONSISTENCY, move |ctx, req, resp| { - instance.check_consistency(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_SNAPSHOT_TABLE, move |ctx, req, resp| { - instance.snapshot_table(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_GET_SNAPSHOT, move |ctx, req, resp| { - instance.get_snapshot(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_LIST_SNAPSHOTS, move |ctx, req, resp| { - instance.list_snapshots(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_TABLE_ADMIN_DELETE_SNAPSHOT, move |ctx, req, resp| { - instance.delete_snapshot(ctx, req, resp) - }); - builder.build() -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/common.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/common.rs deleted file mode 100644 index d2942ece3d..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/common.rs +++ /dev/null @@ -1,142 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/v2/common.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum StorageType { - STORAGE_TYPE_UNSPECIFIED = 0, - SSD = 1, - HDD = 2, -} - -impl ::protobuf::ProtobufEnum for StorageType { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(StorageType::STORAGE_TYPE_UNSPECIFIED), - 1 => ::std::option::Option::Some(StorageType::SSD), - 2 => ::std::option::Option::Some(StorageType::HDD), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [StorageType] = &[ - StorageType::STORAGE_TYPE_UNSPECIFIED, - StorageType::SSD, - StorageType::HDD, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("StorageType", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for StorageType { -} - -impl ::std::default::Default for StorageType { - fn default() -> Self { - StorageType::STORAGE_TYPE_UNSPECIFIED - } -} - -impl ::protobuf::reflect::ProtobufValue for StorageType { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n%google/bigtable/admin/v2/common.proto\x12\x18google.bigtable.admin.v2\ - \x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.pr\ - oto*=\n\x0bStorageType\x12\x1c\n\x18STORAGE_TYPE_UNSPECIFIED\x10\0\x12\ - \x07\n\x03SSD\x10\x01\x12\x07\n\x03HDD\x10\x02B\xae\x01\n\x1ccom.google.\ - bigtable.admin.v2B\x0bCommonProtoP\x01Z=google.golang.org/genproto/googl\ - eapis/bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\ - \xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2J\xb2\x08\n\x06\x12\x04\ - \x0f\0(\x01\n\xbe\x04\n\x01\x0c\x12\x03\x0f\0\x122\xb3\x04\x20Copyright\ - \x202018\x20Google\x20LLC.\n\n\x20Licensed\x20under\x20the\x20Apache\x20\ - License,\x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20n\ - ot\x20use\x20this\x20file\x20except\x20in\x20compliance\x20with\x20the\ - \x20License.\n\x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20Lice\ - nse\x20at\n\n\x20\x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-\ - 2.0\n\n\x20Unless\x20required\x20by\x20applicable\x20law\x20or\x20agreed\ - \x20to\x20in\x20writing,\x20software\n\x20distributed\x20under\x20the\ - \x20License\x20is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\ - \x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20e\ - ither\x20express\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20\ - the\x20specific\x20language\x20governing\x20permissions\x20and\n\x20limi\ - tations\x20under\x20the\x20License.\n\n\n\x08\n\x01\x02\x12\x03\x11\0!\n\ - \t\n\x02\x03\0\x12\x03\x13\0&\n\t\n\x02\x03\x01\x12\x03\x14\0)\n\x08\n\ - \x01\x08\x12\x03\x16\0;\n\t\n\x02\x08%\x12\x03\x16\0;\n\x08\n\x01\x08\ - \x12\x03\x17\0T\n\t\n\x02\x08\x0b\x12\x03\x17\0T\n\x08\n\x01\x08\x12\x03\ - \x18\0\"\n\t\n\x02\x08\n\x12\x03\x18\0\"\n\x08\n\x01\x08\x12\x03\x19\0,\ - \n\t\n\x02\x08\x08\x12\x03\x19\0,\n\x08\n\x01\x08\x12\x03\x1a\05\n\t\n\ - \x02\x08\x01\x12\x03\x1a\05\n\x08\n\x01\x08\x12\x03\x1b\0<\n\t\n\x02\x08\ - )\x12\x03\x1b\0<\n?\n\x02\x05\0\x12\x04\x1f\0(\x01\x1a3\x20Storage\x20me\ - dia\x20types\x20for\x20persisting\x20Bigtable\x20data.\n\n\n\n\x03\x05\0\ - \x01\x12\x03\x1f\x05\x10\n7\n\x04\x05\0\x02\0\x12\x03!\x02\x1f\x1a*\x20T\ - he\x20user\x20did\x20not\x20specify\x20a\x20storage\x20type.\n\n\x0c\n\ - \x05\x05\0\x02\0\x01\x12\x03!\x02\x1a\n\x0c\n\x05\x05\0\x02\0\x02\x12\ - \x03!\x1d\x1e\n2\n\x04\x05\0\x02\x01\x12\x03$\x02\n\x1a%\x20Flash\x20(SS\ - D)\x20storage\x20should\x20be\x20used.\n\n\x0c\n\x05\x05\0\x02\x01\x01\ - \x12\x03$\x02\x05\n\x0c\n\x05\x05\0\x02\x01\x02\x12\x03$\x08\t\n;\n\x04\ - \x05\0\x02\x02\x12\x03'\x02\n\x1a.\x20Magnetic\x20drive\x20(HDD)\x20stor\ - age\x20should\x20be\x20used.\n\n\x0c\n\x05\x05\0\x02\x02\x01\x12\x03'\ - \x02\x05\n\x0c\n\x05\x05\0\x02\x02\x02\x12\x03'\x08\tb\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/instance.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/instance.rs deleted file mode 100644 index 779a252e92..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/instance.rs +++ /dev/null @@ -1,1862 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/v2/instance.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct Instance { - // message fields - pub name: ::std::string::String, - pub display_name: ::std::string::String, - pub state: Instance_State, - pub field_type: Instance_Type, - pub labels: ::std::collections::HashMap<::std::string::String, ::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Instance { - fn default() -> &'a Instance { - ::default_instance() - } -} - -impl Instance { - pub fn new() -> Instance { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string display_name = 2; - - - pub fn get_display_name(&self) -> &str { - &self.display_name - } - pub fn clear_display_name(&mut self) { - self.display_name.clear(); - } - - // Param is passed by value, moved - pub fn set_display_name(&mut self, v: ::std::string::String) { - self.display_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_display_name(&mut self) -> &mut ::std::string::String { - &mut self.display_name - } - - // Take field - pub fn take_display_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.display_name, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.Instance.State state = 3; - - - pub fn get_state(&self) -> Instance_State { - self.state - } - pub fn clear_state(&mut self) { - self.state = Instance_State::STATE_NOT_KNOWN; - } - - // Param is passed by value, moved - pub fn set_state(&mut self, v: Instance_State) { - self.state = v; - } - - // .google.bigtable.admin.v2.Instance.Type type = 4; - - - pub fn get_field_type(&self) -> Instance_Type { - self.field_type - } - pub fn clear_field_type(&mut self) { - self.field_type = Instance_Type::TYPE_UNSPECIFIED; - } - - // Param is passed by value, moved - pub fn set_field_type(&mut self, v: Instance_Type) { - self.field_type = v; - } - - // repeated .google.bigtable.admin.v2.Instance.LabelsEntry labels = 5; - - - pub fn get_labels(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> { - &self.labels - } - pub fn clear_labels(&mut self) { - self.labels.clear(); - } - - // Param is passed by value, moved - pub fn set_labels(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) { - self.labels = v; - } - - // Mutable pointer to the field. - pub fn mut_labels(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> { - &mut self.labels - } - - // Take field - pub fn take_labels(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> { - ::std::mem::replace(&mut self.labels, ::std::collections::HashMap::new()) - } -} - -impl ::protobuf::Message for Instance { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.display_name)?; - }, - 3 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.state, 3, &mut self.unknown_fields)? - }, - 4 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.field_type, 4, &mut self.unknown_fields)? - }, - 5 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.labels)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.display_name.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.display_name); - } - if self.state != Instance_State::STATE_NOT_KNOWN { - my_size += ::protobuf::rt::enum_size(3, self.state); - } - if self.field_type != Instance_Type::TYPE_UNSPECIFIED { - my_size += ::protobuf::rt::enum_size(4, self.field_type); - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(5, &self.labels); - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.display_name.is_empty() { - os.write_string(2, &self.display_name)?; - } - if self.state != Instance_State::STATE_NOT_KNOWN { - os.write_enum(3, self.state.value())?; - } - if self.field_type != Instance_Type::TYPE_UNSPECIFIED { - os.write_enum(4, self.field_type.value())?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(5, &self.labels, os)?; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Instance { - Instance::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Instance| { &m.name }, - |m: &mut Instance| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "display_name", - |m: &Instance| { &m.display_name }, - |m: &mut Instance| { &mut m.display_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "state", - |m: &Instance| { &m.state }, - |m: &mut Instance| { &mut m.state }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "type", - |m: &Instance| { &m.field_type }, - |m: &mut Instance| { &mut m.field_type }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>( - "labels", - |m: &Instance| { &m.labels }, - |m: &mut Instance| { &mut m.labels }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Instance", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Instance { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Instance, - }; - unsafe { - instance.get(Instance::new) - } - } -} - -impl ::protobuf::Clear for Instance { - fn clear(&mut self) { - self.name.clear(); - self.display_name.clear(); - self.state = Instance_State::STATE_NOT_KNOWN; - self.field_type = Instance_Type::TYPE_UNSPECIFIED; - self.labels.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Instance { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Instance { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum Instance_State { - STATE_NOT_KNOWN = 0, - READY = 1, - CREATING = 2, -} - -impl ::protobuf::ProtobufEnum for Instance_State { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(Instance_State::STATE_NOT_KNOWN), - 1 => ::std::option::Option::Some(Instance_State::READY), - 2 => ::std::option::Option::Some(Instance_State::CREATING), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [Instance_State] = &[ - Instance_State::STATE_NOT_KNOWN, - Instance_State::READY, - Instance_State::CREATING, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Instance_State", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for Instance_State { -} - -impl ::std::default::Default for Instance_State { - fn default() -> Self { - Instance_State::STATE_NOT_KNOWN - } -} - -impl ::protobuf::reflect::ProtobufValue for Instance_State { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum Instance_Type { - TYPE_UNSPECIFIED = 0, - PRODUCTION = 1, - DEVELOPMENT = 2, -} - -impl ::protobuf::ProtobufEnum for Instance_Type { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(Instance_Type::TYPE_UNSPECIFIED), - 1 => ::std::option::Option::Some(Instance_Type::PRODUCTION), - 2 => ::std::option::Option::Some(Instance_Type::DEVELOPMENT), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [Instance_Type] = &[ - Instance_Type::TYPE_UNSPECIFIED, - Instance_Type::PRODUCTION, - Instance_Type::DEVELOPMENT, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Instance_Type", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for Instance_Type { -} - -impl ::std::default::Default for Instance_Type { - fn default() -> Self { - Instance_Type::TYPE_UNSPECIFIED - } -} - -impl ::protobuf::reflect::ProtobufValue for Instance_Type { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Cluster { - // message fields - pub name: ::std::string::String, - pub location: ::std::string::String, - pub state: Cluster_State, - pub serve_nodes: i32, - pub default_storage_type: super::common::StorageType, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Cluster { - fn default() -> &'a Cluster { - ::default_instance() - } -} - -impl Cluster { - pub fn new() -> Cluster { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string location = 2; - - - pub fn get_location(&self) -> &str { - &self.location - } - pub fn clear_location(&mut self) { - self.location.clear(); - } - - // Param is passed by value, moved - pub fn set_location(&mut self, v: ::std::string::String) { - self.location = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_location(&mut self) -> &mut ::std::string::String { - &mut self.location - } - - // Take field - pub fn take_location(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.location, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.Cluster.State state = 3; - - - pub fn get_state(&self) -> Cluster_State { - self.state - } - pub fn clear_state(&mut self) { - self.state = Cluster_State::STATE_NOT_KNOWN; - } - - // Param is passed by value, moved - pub fn set_state(&mut self, v: Cluster_State) { - self.state = v; - } - - // int32 serve_nodes = 4; - - - pub fn get_serve_nodes(&self) -> i32 { - self.serve_nodes - } - pub fn clear_serve_nodes(&mut self) { - self.serve_nodes = 0; - } - - // Param is passed by value, moved - pub fn set_serve_nodes(&mut self, v: i32) { - self.serve_nodes = v; - } - - // .google.bigtable.admin.v2.StorageType default_storage_type = 5; - - - pub fn get_default_storage_type(&self) -> super::common::StorageType { - self.default_storage_type - } - pub fn clear_default_storage_type(&mut self) { - self.default_storage_type = super::common::StorageType::STORAGE_TYPE_UNSPECIFIED; - } - - // Param is passed by value, moved - pub fn set_default_storage_type(&mut self, v: super::common::StorageType) { - self.default_storage_type = v; - } -} - -impl ::protobuf::Message for Cluster { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.location)?; - }, - 3 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.state, 3, &mut self.unknown_fields)? - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.serve_nodes = tmp; - }, - 5 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.default_storage_type, 5, &mut self.unknown_fields)? - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.location.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.location); - } - if self.state != Cluster_State::STATE_NOT_KNOWN { - my_size += ::protobuf::rt::enum_size(3, self.state); - } - if self.serve_nodes != 0 { - my_size += ::protobuf::rt::value_size(4, self.serve_nodes, ::protobuf::wire_format::WireTypeVarint); - } - if self.default_storage_type != super::common::StorageType::STORAGE_TYPE_UNSPECIFIED { - my_size += ::protobuf::rt::enum_size(5, self.default_storage_type); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.location.is_empty() { - os.write_string(2, &self.location)?; - } - if self.state != Cluster_State::STATE_NOT_KNOWN { - os.write_enum(3, self.state.value())?; - } - if self.serve_nodes != 0 { - os.write_int32(4, self.serve_nodes)?; - } - if self.default_storage_type != super::common::StorageType::STORAGE_TYPE_UNSPECIFIED { - os.write_enum(5, self.default_storage_type.value())?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Cluster { - Cluster::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Cluster| { &m.name }, - |m: &mut Cluster| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "location", - |m: &Cluster| { &m.location }, - |m: &mut Cluster| { &mut m.location }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "state", - |m: &Cluster| { &m.state }, - |m: &mut Cluster| { &mut m.state }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "serve_nodes", - |m: &Cluster| { &m.serve_nodes }, - |m: &mut Cluster| { &mut m.serve_nodes }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "default_storage_type", - |m: &Cluster| { &m.default_storage_type }, - |m: &mut Cluster| { &mut m.default_storage_type }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Cluster", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Cluster { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Cluster, - }; - unsafe { - instance.get(Cluster::new) - } - } -} - -impl ::protobuf::Clear for Cluster { - fn clear(&mut self) { - self.name.clear(); - self.location.clear(); - self.state = Cluster_State::STATE_NOT_KNOWN; - self.serve_nodes = 0; - self.default_storage_type = super::common::StorageType::STORAGE_TYPE_UNSPECIFIED; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Cluster { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Cluster { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum Cluster_State { - STATE_NOT_KNOWN = 0, - READY = 1, - CREATING = 2, - RESIZING = 3, - DISABLED = 4, -} - -impl ::protobuf::ProtobufEnum for Cluster_State { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(Cluster_State::STATE_NOT_KNOWN), - 1 => ::std::option::Option::Some(Cluster_State::READY), - 2 => ::std::option::Option::Some(Cluster_State::CREATING), - 3 => ::std::option::Option::Some(Cluster_State::RESIZING), - 4 => ::std::option::Option::Some(Cluster_State::DISABLED), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [Cluster_State] = &[ - Cluster_State::STATE_NOT_KNOWN, - Cluster_State::READY, - Cluster_State::CREATING, - Cluster_State::RESIZING, - Cluster_State::DISABLED, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Cluster_State", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for Cluster_State { -} - -impl ::std::default::Default for Cluster_State { - fn default() -> Self { - Cluster_State::STATE_NOT_KNOWN - } -} - -impl ::protobuf::reflect::ProtobufValue for Cluster_State { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct AppProfile { - // message fields - pub name: ::std::string::String, - pub etag: ::std::string::String, - pub description: ::std::string::String, - // message oneof groups - pub routing_policy: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a AppProfile { - fn default() -> &'a AppProfile { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum AppProfile_oneof_routing_policy { - multi_cluster_routing_use_any(AppProfile_MultiClusterRoutingUseAny), - single_cluster_routing(AppProfile_SingleClusterRouting), -} - -impl AppProfile { - pub fn new() -> AppProfile { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string etag = 2; - - - pub fn get_etag(&self) -> &str { - &self.etag - } - pub fn clear_etag(&mut self) { - self.etag.clear(); - } - - // Param is passed by value, moved - pub fn set_etag(&mut self, v: ::std::string::String) { - self.etag = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_etag(&mut self) -> &mut ::std::string::String { - &mut self.etag - } - - // Take field - pub fn take_etag(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.etag, ::std::string::String::new()) - } - - // string description = 3; - - - pub fn get_description(&self) -> &str { - &self.description - } - pub fn clear_description(&mut self) { - self.description.clear(); - } - - // Param is passed by value, moved - pub fn set_description(&mut self, v: ::std::string::String) { - self.description = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_description(&mut self) -> &mut ::std::string::String { - &mut self.description - } - - // Take field - pub fn take_description(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.description, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - - - pub fn get_multi_cluster_routing_use_any(&self) -> &AppProfile_MultiClusterRoutingUseAny { - match self.routing_policy { - ::std::option::Option::Some(AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(ref v)) => v, - _ => AppProfile_MultiClusterRoutingUseAny::default_instance(), - } - } - pub fn clear_multi_cluster_routing_use_any(&mut self) { - self.routing_policy = ::std::option::Option::None; - } - - pub fn has_multi_cluster_routing_use_any(&self) -> bool { - match self.routing_policy { - ::std::option::Option::Some(AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_multi_cluster_routing_use_any(&mut self, v: AppProfile_MultiClusterRoutingUseAny) { - self.routing_policy = ::std::option::Option::Some(AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(v)) - } - - // Mutable pointer to the field. - pub fn mut_multi_cluster_routing_use_any(&mut self) -> &mut AppProfile_MultiClusterRoutingUseAny { - if let ::std::option::Option::Some(AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(_)) = self.routing_policy { - } else { - self.routing_policy = ::std::option::Option::Some(AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(AppProfile_MultiClusterRoutingUseAny::new())); - } - match self.routing_policy { - ::std::option::Option::Some(AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_multi_cluster_routing_use_any(&mut self) -> AppProfile_MultiClusterRoutingUseAny { - if self.has_multi_cluster_routing_use_any() { - match self.routing_policy.take() { - ::std::option::Option::Some(AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(v)) => v, - _ => panic!(), - } - } else { - AppProfile_MultiClusterRoutingUseAny::new() - } - } - - // .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - - - pub fn get_single_cluster_routing(&self) -> &AppProfile_SingleClusterRouting { - match self.routing_policy { - ::std::option::Option::Some(AppProfile_oneof_routing_policy::single_cluster_routing(ref v)) => v, - _ => AppProfile_SingleClusterRouting::default_instance(), - } - } - pub fn clear_single_cluster_routing(&mut self) { - self.routing_policy = ::std::option::Option::None; - } - - pub fn has_single_cluster_routing(&self) -> bool { - match self.routing_policy { - ::std::option::Option::Some(AppProfile_oneof_routing_policy::single_cluster_routing(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_single_cluster_routing(&mut self, v: AppProfile_SingleClusterRouting) { - self.routing_policy = ::std::option::Option::Some(AppProfile_oneof_routing_policy::single_cluster_routing(v)) - } - - // Mutable pointer to the field. - pub fn mut_single_cluster_routing(&mut self) -> &mut AppProfile_SingleClusterRouting { - if let ::std::option::Option::Some(AppProfile_oneof_routing_policy::single_cluster_routing(_)) = self.routing_policy { - } else { - self.routing_policy = ::std::option::Option::Some(AppProfile_oneof_routing_policy::single_cluster_routing(AppProfile_SingleClusterRouting::new())); - } - match self.routing_policy { - ::std::option::Option::Some(AppProfile_oneof_routing_policy::single_cluster_routing(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_single_cluster_routing(&mut self) -> AppProfile_SingleClusterRouting { - if self.has_single_cluster_routing() { - match self.routing_policy.take() { - ::std::option::Option::Some(AppProfile_oneof_routing_policy::single_cluster_routing(v)) => v, - _ => panic!(), - } - } else { - AppProfile_SingleClusterRouting::new() - } - } -} - -impl ::protobuf::Message for AppProfile { - fn is_initialized(&self) -> bool { - if let Some(AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(ref v)) = self.routing_policy { - if !v.is_initialized() { - return false; - } - } - if let Some(AppProfile_oneof_routing_policy::single_cluster_routing(ref v)) = self.routing_policy { - if !v.is_initialized() { - return false; - } - } - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.etag)?; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?; - }, - 5 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.routing_policy = ::std::option::Option::Some(AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(is.read_message()?)); - }, - 6 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.routing_policy = ::std::option::Option::Some(AppProfile_oneof_routing_policy::single_cluster_routing(is.read_message()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.etag.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.etag); - } - if !self.description.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.description); - } - if let ::std::option::Option::Some(ref v) = self.routing_policy { - match v { - &AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &AppProfile_oneof_routing_policy::single_cluster_routing(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.etag.is_empty() { - os.write_string(2, &self.etag)?; - } - if !self.description.is_empty() { - os.write_string(3, &self.description)?; - } - if let ::std::option::Option::Some(ref v) = self.routing_policy { - match v { - &AppProfile_oneof_routing_policy::multi_cluster_routing_use_any(ref v) => { - os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &AppProfile_oneof_routing_policy::single_cluster_routing(ref v) => { - os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> AppProfile { - AppProfile::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &AppProfile| { &m.name }, - |m: &mut AppProfile| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "etag", - |m: &AppProfile| { &m.etag }, - |m: &mut AppProfile| { &mut m.etag }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "description", - |m: &AppProfile| { &m.description }, - |m: &mut AppProfile| { &mut m.description }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, AppProfile_MultiClusterRoutingUseAny>( - "multi_cluster_routing_use_any", - AppProfile::has_multi_cluster_routing_use_any, - AppProfile::get_multi_cluster_routing_use_any, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, AppProfile_SingleClusterRouting>( - "single_cluster_routing", - AppProfile::has_single_cluster_routing, - AppProfile::get_single_cluster_routing, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "AppProfile", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static AppProfile { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const AppProfile, - }; - unsafe { - instance.get(AppProfile::new) - } - } -} - -impl ::protobuf::Clear for AppProfile { - fn clear(&mut self) { - self.name.clear(); - self.etag.clear(); - self.description.clear(); - self.routing_policy = ::std::option::Option::None; - self.routing_policy = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for AppProfile { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for AppProfile { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct AppProfile_MultiClusterRoutingUseAny { - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a AppProfile_MultiClusterRoutingUseAny { - fn default() -> &'a AppProfile_MultiClusterRoutingUseAny { - ::default_instance() - } -} - -impl AppProfile_MultiClusterRoutingUseAny { - pub fn new() -> AppProfile_MultiClusterRoutingUseAny { - ::std::default::Default::default() - } -} - -impl ::protobuf::Message for AppProfile_MultiClusterRoutingUseAny { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> AppProfile_MultiClusterRoutingUseAny { - AppProfile_MultiClusterRoutingUseAny::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let fields = ::std::vec::Vec::new(); - ::protobuf::reflect::MessageDescriptor::new::( - "AppProfile_MultiClusterRoutingUseAny", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static AppProfile_MultiClusterRoutingUseAny { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const AppProfile_MultiClusterRoutingUseAny, - }; - unsafe { - instance.get(AppProfile_MultiClusterRoutingUseAny::new) - } - } -} - -impl ::protobuf::Clear for AppProfile_MultiClusterRoutingUseAny { - fn clear(&mut self) { - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for AppProfile_MultiClusterRoutingUseAny { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for AppProfile_MultiClusterRoutingUseAny { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct AppProfile_SingleClusterRouting { - // message fields - pub cluster_id: ::std::string::String, - pub allow_transactional_writes: bool, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a AppProfile_SingleClusterRouting { - fn default() -> &'a AppProfile_SingleClusterRouting { - ::default_instance() - } -} - -impl AppProfile_SingleClusterRouting { - pub fn new() -> AppProfile_SingleClusterRouting { - ::std::default::Default::default() - } - - // string cluster_id = 1; - - - pub fn get_cluster_id(&self) -> &str { - &self.cluster_id - } - pub fn clear_cluster_id(&mut self) { - self.cluster_id.clear(); - } - - // Param is passed by value, moved - pub fn set_cluster_id(&mut self, v: ::std::string::String) { - self.cluster_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_cluster_id(&mut self) -> &mut ::std::string::String { - &mut self.cluster_id - } - - // Take field - pub fn take_cluster_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.cluster_id, ::std::string::String::new()) - } - - // bool allow_transactional_writes = 2; - - - pub fn get_allow_transactional_writes(&self) -> bool { - self.allow_transactional_writes - } - pub fn clear_allow_transactional_writes(&mut self) { - self.allow_transactional_writes = false; - } - - // Param is passed by value, moved - pub fn set_allow_transactional_writes(&mut self, v: bool) { - self.allow_transactional_writes = v; - } -} - -impl ::protobuf::Message for AppProfile_SingleClusterRouting { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.cluster_id)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.allow_transactional_writes = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.cluster_id.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.cluster_id); - } - if self.allow_transactional_writes != false { - my_size += 2; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.cluster_id.is_empty() { - os.write_string(1, &self.cluster_id)?; - } - if self.allow_transactional_writes != false { - os.write_bool(2, self.allow_transactional_writes)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> AppProfile_SingleClusterRouting { - AppProfile_SingleClusterRouting::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "cluster_id", - |m: &AppProfile_SingleClusterRouting| { &m.cluster_id }, - |m: &mut AppProfile_SingleClusterRouting| { &mut m.cluster_id }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "allow_transactional_writes", - |m: &AppProfile_SingleClusterRouting| { &m.allow_transactional_writes }, - |m: &mut AppProfile_SingleClusterRouting| { &mut m.allow_transactional_writes }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "AppProfile_SingleClusterRouting", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static AppProfile_SingleClusterRouting { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const AppProfile_SingleClusterRouting, - }; - unsafe { - instance.get(AppProfile_SingleClusterRouting::new) - } - } -} - -impl ::protobuf::Clear for AppProfile_SingleClusterRouting { - fn clear(&mut self) { - self.cluster_id.clear(); - self.allow_transactional_writes = false; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for AppProfile_SingleClusterRouting { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for AppProfile_SingleClusterRouting { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n'google/bigtable/admin/v2/instance.proto\x12\x18google.bigtable.admin.\ - v2\x1a\x1cgoogle/api/annotations.proto\x1a%google/bigtable/admin/v2/comm\ - on.proto\"\xb7\x03\n\x08Instance\x12\x12\n\x04name\x18\x01\x20\x01(\tR\ - \x04name\x12!\n\x0cdisplay_name\x18\x02\x20\x01(\tR\x0bdisplayName\x12>\ - \n\x05state\x18\x03\x20\x01(\x0e2(.google.bigtable.admin.v2.Instance.Sta\ - teR\x05state\x12;\n\x04type\x18\x04\x20\x01(\x0e2'.google.bigtable.admin\ - .v2.Instance.TypeR\x04type\x12F\n\x06labels\x18\x05\x20\x03(\x0b2..googl\ - e.bigtable.admin.v2.Instance.LabelsEntryR\x06labels\x1a9\n\x0bLabelsEntr\ - y\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12\x14\n\x05value\x18\x02\ - \x20\x01(\tR\x05value:\x028\x01\"5\n\x05State\x12\x13\n\x0fSTATE_NOT_KNO\ - WN\x10\0\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08CREATING\x10\x02\"=\n\x04\ - Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\0\x12\x0e\n\nPRODUCTION\x10\x01\ - \x12\x0f\n\x0bDEVELOPMENT\x10\x02\"\xc5\x02\n\x07Cluster\x12\x12\n\x04na\ - me\x18\x01\x20\x01(\tR\x04name\x12\x1a\n\x08location\x18\x02\x20\x01(\tR\ - \x08location\x12=\n\x05state\x18\x03\x20\x01(\x0e2'.google.bigtable.admi\ - n.v2.Cluster.StateR\x05state\x12\x1f\n\x0bserve_nodes\x18\x04\x20\x01(\ - \x05R\nserveNodes\x12W\n\x14default_storage_type\x18\x05\x20\x01(\x0e2%.\ - google.bigtable.admin.v2.StorageTypeR\x12defaultStorageType\"Q\n\x05Stat\ - e\x12\x13\n\x0fSTATE_NOT_KNOWN\x10\0\x12\t\n\x05READY\x10\x01\x12\x0c\n\ - \x08CREATING\x10\x02\x12\x0c\n\x08RESIZING\x10\x03\x12\x0c\n\x08DISABLED\ - \x10\x04\"\xf2\x03\n\nAppProfile\x12\x12\n\x04name\x18\x01\x20\x01(\tR\ - \x04name\x12\x12\n\x04etag\x18\x02\x20\x01(\tR\x04etag\x12\x20\n\x0bdesc\ - ription\x18\x03\x20\x01(\tR\x0bdescription\x12\x82\x01\n\x1dmulti_cluste\ - r_routing_use_any\x18\x05\x20\x01(\x0b2>.google.bigtable.admin.v2.AppPro\ - file.MultiClusterRoutingUseAnyH\0R\x19multiClusterRoutingUseAny\x12q\n\ - \x16single_cluster_routing\x18\x06\x20\x01(\x0b29.google.bigtable.admin.\ - v2.AppProfile.SingleClusterRoutingH\0R\x14singleClusterRouting\x1a\x1b\n\ - \x19MultiClusterRoutingUseAny\x1as\n\x14SingleClusterRouting\x12\x1d\n\n\ - cluster_id\x18\x01\x20\x01(\tR\tclusterId\x12<\n\x1aallow_transactional_\ - writes\x18\x02\x20\x01(\x08R\x18allowTransactionalWritesB\x10\n\x0erouti\ - ng_policyB\xb0\x01\n\x1ccom.google.bigtable.admin.v2B\rInstanceProtoP\ - \x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\ - \x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtabl\ - e\\Admin\\V2J\xc1A\n\x07\x12\x05\x0f\0\xcf\x01\x01\n\xbe\x04\n\x01\x0c\ - \x12\x03\x0f\0\x122\xb3\x04\x20Copyright\x202018\x20Google\x20LLC.\n\n\ - \x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20\ - (the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20e\ - xcept\x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20may\x20\ - obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\x20\ - \x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20required\ - \x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\x20s\ - oftware\n\x20distributed\x20under\x20the\x20License\x20is\x20distributed\ - \x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\ - \x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20impli\ - ed.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20language\x20\ - governing\x20permissions\x20and\n\x20limitations\x20under\x20the\x20Lice\ - nse.\n\n\n\x08\n\x01\x02\x12\x03\x11\0!\n\t\n\x02\x03\0\x12\x03\x13\0&\n\ - \t\n\x02\x03\x01\x12\x03\x14\0/\n\x08\n\x01\x08\x12\x03\x16\0;\n\t\n\x02\ - \x08%\x12\x03\x16\0;\n\x08\n\x01\x08\x12\x03\x17\0T\n\t\n\x02\x08\x0b\ - \x12\x03\x17\0T\n\x08\n\x01\x08\x12\x03\x18\0\"\n\t\n\x02\x08\n\x12\x03\ - \x18\0\"\n\x08\n\x01\x08\x12\x03\x19\0.\n\t\n\x02\x08\x08\x12\x03\x19\0.\ - \n\x08\n\x01\x08\x12\x03\x1a\05\n\t\n\x02\x08\x01\x12\x03\x1a\05\n\x08\n\ - \x01\x08\x12\x03\x1b\0<\n\t\n\x02\x08)\x12\x03\x1b\0<\n\xd6\x01\n\x02\ - \x04\0\x12\x04\"\0c\x01\x1a\xc9\x01\x20A\x20collection\x20of\x20Bigtable\ - \x20[Tables][google.bigtable.admin.v2.Table]\x20and\n\x20the\x20resource\ - s\x20that\x20serve\x20them.\n\x20All\x20tables\x20in\x20an\x20instance\ - \x20are\x20served\x20from\x20a\x20single\n\x20[Cluster][google.bigtable.\ - admin.v2.Cluster].\n\n\n\n\x03\x04\0\x01\x12\x03\"\x08\x10\n/\n\x04\x04\ - \0\x04\0\x12\x04$\x02/\x03\x1a!\x20Possible\x20states\x20of\x20an\x20ins\ - tance.\n\n\x0c\n\x05\x04\0\x04\0\x01\x12\x03$\x07\x0c\nC\n\x06\x04\0\x04\ - \0\x02\0\x12\x03&\x04\x18\x1a4\x20The\x20state\x20of\x20the\x20instance\ - \x20could\x20not\x20be\x20determined.\n\n\x0e\n\x07\x04\0\x04\0\x02\0\ - \x01\x12\x03&\x04\x13\n\x0e\n\x07\x04\0\x04\0\x02\0\x02\x12\x03&\x16\x17\ - \nb\n\x06\x04\0\x04\0\x02\x01\x12\x03*\x04\x0e\x1aS\x20The\x20instance\ - \x20has\x20been\x20successfully\x20created\x20and\x20can\x20serve\x20req\ - uests\n\x20to\x20its\x20tables.\n\n\x0e\n\x07\x04\0\x04\0\x02\x01\x01\ - \x12\x03*\x04\t\n\x0e\n\x07\x04\0\x04\0\x02\x01\x02\x12\x03*\x0c\r\n|\n\ - \x06\x04\0\x04\0\x02\x02\x12\x03.\x04\x11\x1am\x20The\x20instance\x20is\ - \x20currently\x20being\x20created,\x20and\x20may\x20be\x20destroyed\n\ - \x20if\x20the\x20creation\x20process\x20encounters\x20an\x20error.\n\n\ - \x0e\n\x07\x04\0\x04\0\x02\x02\x01\x12\x03.\x04\x0c\n\x0e\n\x07\x04\0\ - \x04\0\x02\x02\x02\x12\x03.\x0f\x10\n)\n\x04\x04\0\x04\x01\x12\x042\x02D\ - \x03\x1a\x1b\x20The\x20type\x20of\x20the\x20instance.\n\n\x0c\n\x05\x04\ - \0\x04\x01\x01\x12\x032\x07\x0b\n\xca\x01\n\x06\x04\0\x04\x01\x02\0\x12\ - \x036\x04\x19\x1a\xba\x01\x20The\x20type\x20of\x20the\x20instance\x20is\ - \x20unspecified.\x20If\x20set\x20when\x20creating\x20an\n\x20instance,\ - \x20a\x20`PRODUCTION`\x20instance\x20will\x20be\x20created.\x20If\x20set\ - \x20when\x20updating\n\x20an\x20instance,\x20the\x20type\x20will\x20be\ - \x20left\x20unchanged.\n\n\x0e\n\x07\x04\0\x04\x01\x02\0\x01\x12\x036\ - \x04\x14\n\x0e\n\x07\x04\0\x04\x01\x02\0\x02\x12\x036\x17\x18\na\n\x06\ - \x04\0\x04\x01\x02\x01\x12\x03:\x04\x13\x1aR\x20An\x20instance\x20meant\ - \x20for\x20production\x20use.\x20`serve_nodes`\x20must\x20be\x20set\n\ - \x20on\x20the\x20cluster.\n\n\x0e\n\x07\x04\0\x04\x01\x02\x01\x01\x12\ - \x03:\x04\x0e\n\x0e\n\x07\x04\0\x04\x01\x02\x01\x02\x12\x03:\x11\x12\n\ - \xb7\x03\n\x06\x04\0\x04\x01\x02\x02\x12\x03C\x04\x14\x1a\xa7\x03\x20The\ - \x20instance\x20is\x20meant\x20for\x20development\x20and\x20testing\x20p\ - urposes\x20only;\x20it\x20has\n\x20no\x20performance\x20or\x20uptime\x20\ - guarantees\x20and\x20is\x20not\x20covered\x20by\x20SLA.\n\x20After\x20a\ - \x20development\x20instance\x20is\x20created,\x20it\x20can\x20be\x20upgr\ - aded\x20by\n\x20updating\x20the\x20instance\x20to\x20type\x20`PRODUCTION\ - `.\x20An\x20instance\x20created\n\x20as\x20a\x20production\x20instance\ - \x20cannot\x20be\x20changed\x20to\x20a\x20development\x20instance.\n\x20\ - When\x20creating\x20a\x20development\x20instance,\x20`serve_nodes`\x20on\ - \x20the\x20cluster\x20must\n\x20not\x20be\x20set.\n\n\x0e\n\x07\x04\0\ - \x04\x01\x02\x02\x01\x12\x03C\x04\x0f\n\x0e\n\x07\x04\0\x04\x01\x02\x02\ - \x02\x12\x03C\x12\x13\n\x92\x01\n\x04\x04\0\x02\0\x12\x03I\x02\x12\x1a\ - \x84\x01\x20(`OutputOnly`)\n\x20The\x20unique\x20name\x20of\x20the\x20in\ - stance.\x20Values\x20are\x20of\x20the\x20form\n\x20`projects//i\ - nstances/[a-z][a-z0-9\\\\-]+[a-z0-9]`.\n\n\r\n\x05\x04\0\x02\0\x04\x12\ - \x04I\x02D\x03\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03I\x02\x08\n\x0c\n\x05\ - \x04\0\x02\0\x01\x12\x03I\t\r\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03I\x10\ - \x11\n\xa1\x01\n\x04\x04\0\x02\x01\x12\x03N\x02\x1a\x1a\x93\x01\x20The\ - \x20descriptive\x20name\x20for\x20this\x20instance\x20as\x20it\x20appear\ - s\x20in\x20UIs.\n\x20Can\x20be\x20changed\x20at\x20any\x20time,\x20but\ - \x20should\x20be\x20kept\x20globally\x20unique\n\x20to\x20avoid\x20confu\ - sion.\n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04N\x02I\x12\n\x0c\n\x05\x04\0\ - \x02\x01\x05\x12\x03N\x02\x08\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03N\t\ - \x15\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03N\x18\x19\nA\n\x04\x04\0\x02\ - \x02\x12\x03R\x02\x12\x1a4\x20(`OutputOnly`)\n\x20The\x20current\x20stat\ - e\x20of\x20the\x20instance.\n\n\r\n\x05\x04\0\x02\x02\x04\x12\x04R\x02N\ - \x1a\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x03R\x02\x07\n\x0c\n\x05\x04\0\ - \x02\x02\x01\x12\x03R\x08\r\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03R\x10\ - \x11\nB\n\x04\x04\0\x02\x03\x12\x03U\x02\x10\x1a5\x20The\x20type\x20of\ - \x20the\x20instance.\x20Defaults\x20to\x20`PRODUCTION`.\n\n\r\n\x05\x04\ - \0\x02\x03\x04\x12\x04U\x02R\x12\n\x0c\n\x05\x04\0\x02\x03\x06\x12\x03U\ - \x02\x06\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03U\x07\x0b\n\x0c\n\x05\x04\ - \0\x02\x03\x03\x12\x03U\x0e\x0f\n\x82\x05\n\x04\x04\0\x02\x04\x12\x03b\ - \x02!\x1a\xf4\x04\x20Labels\x20are\x20a\x20flexible\x20and\x20lightweigh\ - t\x20mechanism\x20for\x20organizing\x20cloud\n\x20resources\x20into\x20g\ - roups\x20that\x20reflect\x20a\x20customer's\x20organizational\x20needs\ - \x20and\n\x20deployment\x20strategies.\x20They\x20can\x20be\x20used\x20t\ - o\x20filter\x20resources\x20and\x20aggregate\n\x20metrics.\n\n\x20*\x20L\ - abel\x20keys\x20must\x20be\x20between\x201\x20and\x2063\x20characters\ - \x20long\x20and\x20must\x20conform\x20to\n\x20\x20\x20the\x20regular\x20\ - expression:\x20`[\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}`.\n\x20*\ - \x20Label\x20values\x20must\x20be\x20between\x200\x20and\x2063\x20charac\ - ters\x20long\x20and\x20must\x20conform\x20to\n\x20\x20\x20the\x20regular\ - \x20expression:\x20`[\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}`.\n\x20*\x20No\x20mor\ - e\x20than\x2064\x20labels\x20can\x20be\x20associated\x20with\x20a\x20giv\ - en\x20resource.\n\x20*\x20Keys\x20and\x20values\x20must\x20both\x20be\ - \x20under\x20128\x20bytes.\n\n\r\n\x05\x04\0\x02\x04\x04\x12\x04b\x02U\ - \x10\n\x0c\n\x05\x04\0\x02\x04\x06\x12\x03b\x02\x15\n\x0c\n\x05\x04\0\ - \x02\x04\x01\x12\x03b\x16\x1c\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03b\x1f\ - \x20\n\xc9\x01\n\x02\x04\x01\x12\x05h\0\x9a\x01\x01\x1a\xbb\x01\x20A\x20\ - resizable\x20group\x20of\x20nodes\x20in\x20a\x20particular\x20cloud\x20l\ - ocation,\x20capable\n\x20of\x20serving\x20all\x20[Tables][google.bigtabl\ - e.admin.v2.Table]\x20in\x20the\x20parent\n\x20[Instance][google.bigtable\ - .admin.v2.Instance].\n\n\n\n\x03\x04\x01\x01\x12\x03h\x08\x0f\n.\n\x04\ - \x04\x01\x04\0\x12\x05j\x02\x80\x01\x03\x1a\x1f\x20Possible\x20states\ - \x20of\x20a\x20cluster.\n\n\x0c\n\x05\x04\x01\x04\0\x01\x12\x03j\x07\x0c\ - \nB\n\x06\x04\x01\x04\0\x02\0\x12\x03l\x04\x18\x1a3\x20The\x20state\x20o\ - f\x20the\x20cluster\x20could\x20not\x20be\x20determined.\n\n\x0e\n\x07\ - \x04\x01\x04\0\x02\0\x01\x12\x03l\x04\x13\n\x0e\n\x07\x04\x01\x04\0\x02\ - \0\x02\x12\x03l\x16\x17\nZ\n\x06\x04\x01\x04\0\x02\x01\x12\x03o\x04\x0e\ - \x1aK\x20The\x20cluster\x20has\x20been\x20successfully\x20created\x20and\ - \x20is\x20ready\x20to\x20serve\x20requests.\n\n\x0e\n\x07\x04\x01\x04\0\ - \x02\x01\x01\x12\x03o\x04\t\n\x0e\n\x07\x04\x01\x04\0\x02\x01\x02\x12\ - \x03o\x0c\r\n\xbe\x01\n\x06\x04\x01\x04\0\x02\x02\x12\x03t\x04\x11\x1a\ - \xae\x01\x20The\x20cluster\x20is\x20currently\x20being\x20created,\x20an\ - d\x20may\x20be\x20destroyed\n\x20if\x20the\x20creation\x20process\x20enc\ - ounters\x20an\x20error.\n\x20A\x20cluster\x20may\x20not\x20be\x20able\ - \x20to\x20serve\x20requests\x20while\x20being\x20created.\n\n\x0e\n\x07\ - \x04\x01\x04\0\x02\x02\x01\x12\x03t\x04\x0c\n\x0e\n\x07\x04\x01\x04\0\ - \x02\x02\x02\x12\x03t\x0f\x10\n\xbd\x02\n\x06\x04\x01\x04\0\x02\x03\x12\ - \x03{\x04\x11\x1a\xad\x02\x20The\x20cluster\x20is\x20currently\x20being\ - \x20resized,\x20and\x20may\x20revert\x20to\x20its\x20previous\n\x20node\ - \x20count\x20if\x20the\x20process\x20encounters\x20an\x20error.\n\x20A\ - \x20cluster\x20is\x20still\x20capable\x20of\x20serving\x20requests\x20wh\ - ile\x20being\x20resized,\n\x20but\x20may\x20exhibit\x20performance\x20as\ - \x20if\x20its\x20number\x20of\x20allocated\x20nodes\x20is\n\x20between\ - \x20the\x20starting\x20and\x20requested\x20states.\n\n\x0e\n\x07\x04\x01\ - \x04\0\x02\x03\x01\x12\x03{\x04\x0c\n\x0e\n\x07\x04\x01\x04\0\x02\x03\ - \x02\x12\x03{\x0f\x10\n\x85\x01\n\x06\x04\x01\x04\0\x02\x04\x12\x03\x7f\ - \x04\x11\x1av\x20The\x20cluster\x20has\x20no\x20backing\x20nodes.\x20The\ - \x20data\x20(tables)\x20still\n\x20exist,\x20but\x20no\x20operations\x20\ - can\x20be\x20performed\x20on\x20the\x20cluster.\n\n\x0e\n\x07\x04\x01\ - \x04\0\x02\x04\x01\x12\x03\x7f\x04\x0c\n\x0e\n\x07\x04\x01\x04\0\x02\x04\ - \x02\x12\x03\x7f\x0f\x10\n\x9c\x01\n\x04\x04\x01\x02\0\x12\x04\x85\x01\ - \x02\x12\x1a\x8d\x01\x20(`OutputOnly`)\n\x20The\x20unique\x20name\x20of\ - \x20the\x20cluster.\x20Values\x20are\x20of\x20the\x20form\n\x20`projects\ - //instances//clusters/[a-z][-a-z0-9]*`.\n\n\x0f\n\x05\ - \x04\x01\x02\0\x04\x12\x06\x85\x01\x02\x80\x01\x03\n\r\n\x05\x04\x01\x02\ - \0\x05\x12\x04\x85\x01\x02\x08\n\r\n\x05\x04\x01\x02\0\x01\x12\x04\x85\ - \x01\t\r\n\r\n\x05\x04\x01\x02\0\x03\x12\x04\x85\x01\x10\x11\n\xa2\x02\n\ - \x04\x04\x01\x02\x01\x12\x04\x8c\x01\x02\x16\x1a\x93\x02\x20(`CreationOn\ - ly`)\n\x20The\x20location\x20where\x20this\x20cluster's\x20nodes\x20and\ - \x20storage\x20reside.\x20For\x20best\n\x20performance,\x20clients\x20sh\ - ould\x20be\x20located\x20as\x20close\x20as\x20possible\x20to\x20this\n\ - \x20cluster.\x20Currently\x20only\x20zones\x20are\x20supported,\x20so\ - \x20values\x20should\x20be\x20of\x20the\n\x20form\x20`projects/\ - /locations/`.\n\n\x0f\n\x05\x04\x01\x02\x01\x04\x12\x06\x8c\x01\ - \x02\x85\x01\x12\n\r\n\x05\x04\x01\x02\x01\x05\x12\x04\x8c\x01\x02\x08\n\ - \r\n\x05\x04\x01\x02\x01\x01\x12\x04\x8c\x01\t\x11\n\r\n\x05\x04\x01\x02\ - \x01\x03\x12\x04\x8c\x01\x14\x15\nA\n\x04\x04\x01\x02\x02\x12\x04\x90\ - \x01\x02\x12\x1a3\x20(`OutputOnly`)\n\x20The\x20current\x20state\x20of\ - \x20the\x20cluster.\n\n\x0f\n\x05\x04\x01\x02\x02\x04\x12\x06\x90\x01\ - \x02\x8c\x01\x16\n\r\n\x05\x04\x01\x02\x02\x06\x12\x04\x90\x01\x02\x07\n\ - \r\n\x05\x04\x01\x02\x02\x01\x12\x04\x90\x01\x08\r\n\r\n\x05\x04\x01\x02\ - \x02\x03\x12\x04\x90\x01\x10\x11\n\x84\x01\n\x04\x04\x01\x02\x03\x12\x04\ - \x94\x01\x02\x18\x1av\x20The\x20number\x20of\x20nodes\x20allocated\x20to\ - \x20this\x20cluster.\x20More\x20nodes\x20enable\x20higher\n\x20throughpu\ - t\x20and\x20more\x20consistent\x20performance.\n\n\x0f\n\x05\x04\x01\x02\ - \x03\x04\x12\x06\x94\x01\x02\x90\x01\x12\n\r\n\x05\x04\x01\x02\x03\x05\ - \x12\x04\x94\x01\x02\x07\n\r\n\x05\x04\x01\x02\x03\x01\x12\x04\x94\x01\ - \x08\x13\n\r\n\x05\x04\x01\x02\x03\x03\x12\x04\x94\x01\x16\x17\n\x91\x01\ - \n\x04\x04\x01\x02\x04\x12\x04\x99\x01\x02'\x1a\x82\x01\x20(`CreationOnl\ - y`)\n\x20The\x20type\x20of\x20storage\x20used\x20by\x20this\x20cluster\ - \x20to\x20serve\x20its\n\x20parent\x20instance's\x20tables,\x20unless\ - \x20explicitly\x20overridden.\n\n\x0f\n\x05\x04\x01\x02\x04\x04\x12\x06\ - \x99\x01\x02\x94\x01\x18\n\r\n\x05\x04\x01\x02\x04\x06\x12\x04\x99\x01\ - \x02\r\n\r\n\x05\x04\x01\x02\x04\x01\x12\x04\x99\x01\x0e\"\n\r\n\x05\x04\ - \x01\x02\x04\x03\x12\x04\x99\x01%&\n\x82\x01\n\x02\x04\x02\x12\x06\x9e\ - \x01\0\xcf\x01\x01\x1at\x20A\x20configuration\x20object\x20describing\ - \x20how\x20Cloud\x20Bigtable\x20should\x20treat\x20traffic\n\x20from\x20\ - a\x20particular\x20end\x20user\x20application.\n\n\x0b\n\x03\x04\x02\x01\ - \x12\x04\x9e\x01\x08\x12\n\xff\x01\n\x04\x04\x02\x03\0\x12\x06\xa3\x01\ - \x02\xa5\x01\x03\x1a\xee\x01\x20Read/write\x20requests\x20may\x20be\x20r\ - outed\x20to\x20any\x20cluster\x20in\x20the\x20instance,\x20and\x20will\n\ - \x20fail\x20over\x20to\x20another\x20cluster\x20in\x20the\x20event\x20of\ - \x20transient\x20errors\x20or\x20delays.\n\x20Choosing\x20this\x20option\ - \x20sacrifices\x20read-your-writes\x20consistency\x20to\x20improve\n\x20\ - availability.\n\n\r\n\x05\x04\x02\x03\0\x01\x12\x04\xa3\x01\n#\n\xb1\x01\ - \n\x04\x04\x02\x03\x01\x12\x06\xaa\x01\x02\xb2\x01\x03\x1a\xa0\x01\x20Un\ - conditionally\x20routes\x20all\x20read/write\x20requests\x20to\x20a\x20s\ - pecific\x20cluster.\n\x20This\x20option\x20preserves\x20read-your-writes\ - \x20consistency,\x20but\x20does\x20not\x20improve\n\x20availability.\n\n\ - \r\n\x05\x04\x02\x03\x01\x01\x12\x04\xaa\x01\n\x1e\nL\n\x06\x04\x02\x03\ - \x01\x02\0\x12\x04\xac\x01\x04\x1a\x1a<\x20The\x20cluster\x20to\x20which\ - \x20read/write\x20requests\x20should\x20be\x20routed.\n\n\x11\n\x07\x04\ - \x02\x03\x01\x02\0\x04\x12\x06\xac\x01\x04\xaa\x01\x20\n\x0f\n\x07\x04\ - \x02\x03\x01\x02\0\x05\x12\x04\xac\x01\x04\n\n\x0f\n\x07\x04\x02\x03\x01\ - \x02\0\x01\x12\x04\xac\x01\x0b\x15\n\x0f\n\x07\x04\x02\x03\x01\x02\0\x03\ - \x12\x04\xac\x01\x18\x19\n\xd1\x01\n\x06\x04\x02\x03\x01\x02\x01\x12\x04\ - \xb1\x01\x04(\x1a\xc0\x01\x20Whether\x20or\x20not\x20`CheckAndMutateRow`\ - \x20and\x20`ReadModifyWriteRow`\x20requests\x20are\n\x20allowed\x20by\ - \x20this\x20app\x20profile.\x20It\x20is\x20unsafe\x20to\x20send\x20these\ - \x20requests\x20to\n\x20the\x20same\x20table/row/column\x20in\x20multipl\ - e\x20clusters.\n\n\x11\n\x07\x04\x02\x03\x01\x02\x01\x04\x12\x06\xb1\x01\ - \x04\xac\x01\x1a\n\x0f\n\x07\x04\x02\x03\x01\x02\x01\x05\x12\x04\xb1\x01\ - \x04\x08\n\x0f\n\x07\x04\x02\x03\x01\x02\x01\x01\x12\x04\xb1\x01\t#\n\ - \x0f\n\x07\x04\x02\x03\x01\x02\x01\x03\x12\x04\xb1\x01&'\n\xaf\x01\n\x04\ - \x04\x02\x02\0\x12\x04\xb7\x01\x02\x12\x1a\xa0\x01\x20(`OutputOnly`)\n\ - \x20The\x20unique\x20name\x20of\x20the\x20app\x20profile.\x20Values\x20a\ - re\x20of\x20the\x20form\n\x20`projects//instances//ap\ - pProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.\n\n\x0f\n\x05\x04\x02\x02\0\x04\ - \x12\x06\xb7\x01\x02\xb2\x01\x03\n\r\n\x05\x04\x02\x02\0\x05\x12\x04\xb7\ - \x01\x02\x08\n\r\n\x05\x04\x02\x02\0\x01\x12\x04\xb7\x01\t\r\n\r\n\x05\ - \x04\x02\x02\0\x03\x12\x04\xb7\x01\x10\x11\n\xcd\x03\n\x04\x04\x02\x02\ - \x01\x12\x04\xc1\x01\x02\x12\x1a\xbe\x03\x20Strongly\x20validated\x20eta\ - g\x20for\x20optimistic\x20concurrency\x20control.\x20Preserve\x20the\n\ - \x20value\x20returned\x20from\x20`GetAppProfile`\x20when\x20calling\x20`\ - UpdateAppProfile`\x20to\n\x20fail\x20the\x20request\x20if\x20there\x20ha\ - s\x20been\x20a\x20modification\x20in\x20the\x20mean\x20time.\x20The\n\ - \x20`update_mask`\x20of\x20the\x20request\x20need\x20not\x20include\x20`\ - etag`\x20for\x20this\x20protection\n\x20to\x20apply.\n\x20See\x20[Wikipe\ - dia](https://en.wikipedia.org/wiki/HTTP_ETag)\x20and\n\x20[RFC\x207232](\ - https://tools.ietf.org/html/rfc7232#section-2.3)\x20for\x20more\n\x20det\ - ails.\n\n\x0f\n\x05\x04\x02\x02\x01\x04\x12\x06\xc1\x01\x02\xb7\x01\x12\ - \n\r\n\x05\x04\x02\x02\x01\x05\x12\x04\xc1\x01\x02\x08\n\r\n\x05\x04\x02\ - \x02\x01\x01\x12\x04\xc1\x01\t\r\n\r\n\x05\x04\x02\x02\x01\x03\x12\x04\ - \xc1\x01\x10\x11\nS\n\x04\x04\x02\x02\x02\x12\x04\xc4\x01\x02\x19\x1aE\ - \x20Optional\x20long\x20form\x20description\x20of\x20the\x20use\x20case\ - \x20for\x20this\x20AppProfile.\n\n\x0f\n\x05\x04\x02\x02\x02\x04\x12\x06\ - \xc4\x01\x02\xc1\x01\x12\n\r\n\x05\x04\x02\x02\x02\x05\x12\x04\xc4\x01\ - \x02\x08\n\r\n\x05\x04\x02\x02\x02\x01\x12\x04\xc4\x01\t\x14\n\r\n\x05\ - \x04\x02\x02\x02\x03\x12\x04\xc4\x01\x17\x18\n}\n\x04\x04\x02\x08\0\x12\ - \x06\xc8\x01\x02\xce\x01\x03\x1am\x20The\x20routing\x20policy\x20for\x20\ - all\x20read/write\x20requests\x20which\x20use\x20this\x20app\x20profile.\ - \n\x20A\x20value\x20must\x20be\x20explicitly\x20set.\n\n\r\n\x05\x04\x02\ - \x08\0\x01\x12\x04\xc8\x01\x08\x16\nM\n\x04\x04\x02\x02\x03\x12\x04\xca\ - \x01\x04@\x1a?\x20Use\x20a\x20multi-cluster\x20routing\x20policy\x20that\ - \x20may\x20pick\x20any\x20cluster.\n\n\r\n\x05\x04\x02\x02\x03\x06\x12\ - \x04\xca\x01\x04\x1d\n\r\n\x05\x04\x02\x02\x03\x01\x12\x04\xca\x01\x1e;\ - \n\r\n\x05\x04\x02\x02\x03\x03\x12\x04\xca\x01>?\n4\n\x04\x04\x02\x02\ - \x04\x12\x04\xcd\x01\x044\x1a&\x20Use\x20a\x20single-cluster\x20routing\ - \x20policy.\n\n\r\n\x05\x04\x02\x02\x04\x06\x12\x04\xcd\x01\x04\x18\n\r\ - \n\x05\x04\x02\x02\x04\x01\x12\x04\xcd\x01\x19/\n\r\n\x05\x04\x02\x02\ - \x04\x03\x12\x04\xcd\x0123b\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/mod.rs deleted file mode 100644 index e9b02d7a96..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/mod.rs +++ /dev/null @@ -1,11 +0,0 @@ -pub mod bigtable_instance_admin; -pub mod bigtable_instance_admin_grpc; -pub mod bigtable_table_admin; -pub mod bigtable_table_admin_grpc; -pub mod common; -pub mod instance; -pub mod table; - -pub(crate) use crate::empty; -pub(crate) use crate::iam::v1::{iam_policy, policy}; -pub(crate) use crate::longrunning::operations; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/table.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/table.rs deleted file mode 100644 index d10d41368e..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/admin/v2/table.rs +++ /dev/null @@ -1,2408 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/admin/v2/table.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct Table { - // message fields - pub name: ::std::string::String, - pub cluster_states: ::std::collections::HashMap<::std::string::String, Table_ClusterState>, - pub column_families: ::std::collections::HashMap<::std::string::String, ColumnFamily>, - pub granularity: Table_TimestampGranularity, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Table { - fn default() -> &'a Table { -
::default_instance() - } -} - -impl Table { - pub fn new() -> Table { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // repeated .google.bigtable.admin.v2.Table.ClusterStatesEntry cluster_states = 2; - - - pub fn get_cluster_states(&self) -> &::std::collections::HashMap<::std::string::String, Table_ClusterState> { - &self.cluster_states - } - pub fn clear_cluster_states(&mut self) { - self.cluster_states.clear(); - } - - // Param is passed by value, moved - pub fn set_cluster_states(&mut self, v: ::std::collections::HashMap<::std::string::String, Table_ClusterState>) { - self.cluster_states = v; - } - - // Mutable pointer to the field. - pub fn mut_cluster_states(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, Table_ClusterState> { - &mut self.cluster_states - } - - // Take field - pub fn take_cluster_states(&mut self) -> ::std::collections::HashMap<::std::string::String, Table_ClusterState> { - ::std::mem::replace(&mut self.cluster_states, ::std::collections::HashMap::new()) - } - - // repeated .google.bigtable.admin.v2.Table.ColumnFamiliesEntry column_families = 3; - - - pub fn get_column_families(&self) -> &::std::collections::HashMap<::std::string::String, ColumnFamily> { - &self.column_families - } - pub fn clear_column_families(&mut self) { - self.column_families.clear(); - } - - // Param is passed by value, moved - pub fn set_column_families(&mut self, v: ::std::collections::HashMap<::std::string::String, ColumnFamily>) { - self.column_families = v; - } - - // Mutable pointer to the field. - pub fn mut_column_families(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ColumnFamily> { - &mut self.column_families - } - - // Take field - pub fn take_column_families(&mut self) -> ::std::collections::HashMap<::std::string::String, ColumnFamily> { - ::std::mem::replace(&mut self.column_families, ::std::collections::HashMap::new()) - } - - // .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4; - - - pub fn get_granularity(&self) -> Table_TimestampGranularity { - self.granularity - } - pub fn clear_granularity(&mut self) { - self.granularity = Table_TimestampGranularity::TIMESTAMP_GRANULARITY_UNSPECIFIED; - } - - // Param is passed by value, moved - pub fn set_granularity(&mut self, v: Table_TimestampGranularity) { - self.granularity = v; - } -} - -impl ::protobuf::Message for Table { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(wire_type, is, &mut self.cluster_states)?; - }, - 3 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(wire_type, is, &mut self.column_families)?; - }, - 4 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.granularity, 4, &mut self.unknown_fields)? - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(2, &self.cluster_states); - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(3, &self.column_families); - if self.granularity != Table_TimestampGranularity::TIMESTAMP_GRANULARITY_UNSPECIFIED { - my_size += ::protobuf::rt::enum_size(4, self.granularity); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(2, &self.cluster_states, os)?; - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>(3, &self.column_families, os)?; - if self.granularity != Table_TimestampGranularity::TIMESTAMP_GRANULARITY_UNSPECIFIED { - os.write_enum(4, self.granularity.value())?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Table { - Table::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Table| { &m.name }, - |m: &mut Table| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>( - "cluster_states", - |m: &Table| { &m.cluster_states }, - |m: &mut Table| { &mut m.cluster_states }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeMessage>( - "column_families", - |m: &Table| { &m.column_families }, - |m: &mut Table| { &mut m.column_families }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "granularity", - |m: &Table| { &m.granularity }, - |m: &mut Table| { &mut m.granularity }, - )); - ::protobuf::reflect::MessageDescriptor::new::
( - "Table", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Table { - static mut instance: ::protobuf::lazy::Lazy
= ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Table, - }; - unsafe { - instance.get(Table::new) - } - } -} - -impl ::protobuf::Clear for Table { - fn clear(&mut self) { - self.name.clear(); - self.cluster_states.clear(); - self.column_families.clear(); - self.granularity = Table_TimestampGranularity::TIMESTAMP_GRANULARITY_UNSPECIFIED; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Table { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Table { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Table_ClusterState { - // message fields - pub replication_state: Table_ClusterState_ReplicationState, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Table_ClusterState { - fn default() -> &'a Table_ClusterState { - ::default_instance() - } -} - -impl Table_ClusterState { - pub fn new() -> Table_ClusterState { - ::std::default::Default::default() - } - - // .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1; - - - pub fn get_replication_state(&self) -> Table_ClusterState_ReplicationState { - self.replication_state - } - pub fn clear_replication_state(&mut self) { - self.replication_state = Table_ClusterState_ReplicationState::STATE_NOT_KNOWN; - } - - // Param is passed by value, moved - pub fn set_replication_state(&mut self, v: Table_ClusterState_ReplicationState) { - self.replication_state = v; - } -} - -impl ::protobuf::Message for Table_ClusterState { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.replication_state, 1, &mut self.unknown_fields)? - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if self.replication_state != Table_ClusterState_ReplicationState::STATE_NOT_KNOWN { - my_size += ::protobuf::rt::enum_size(1, self.replication_state); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if self.replication_state != Table_ClusterState_ReplicationState::STATE_NOT_KNOWN { - os.write_enum(1, self.replication_state.value())?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Table_ClusterState { - Table_ClusterState::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "replication_state", - |m: &Table_ClusterState| { &m.replication_state }, - |m: &mut Table_ClusterState| { &mut m.replication_state }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Table_ClusterState", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Table_ClusterState { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Table_ClusterState, - }; - unsafe { - instance.get(Table_ClusterState::new) - } - } -} - -impl ::protobuf::Clear for Table_ClusterState { - fn clear(&mut self) { - self.replication_state = Table_ClusterState_ReplicationState::STATE_NOT_KNOWN; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Table_ClusterState { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Table_ClusterState { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum Table_ClusterState_ReplicationState { - STATE_NOT_KNOWN = 0, - INITIALIZING = 1, - PLANNED_MAINTENANCE = 2, - UNPLANNED_MAINTENANCE = 3, - READY = 4, -} - -impl ::protobuf::ProtobufEnum for Table_ClusterState_ReplicationState { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(Table_ClusterState_ReplicationState::STATE_NOT_KNOWN), - 1 => ::std::option::Option::Some(Table_ClusterState_ReplicationState::INITIALIZING), - 2 => ::std::option::Option::Some(Table_ClusterState_ReplicationState::PLANNED_MAINTENANCE), - 3 => ::std::option::Option::Some(Table_ClusterState_ReplicationState::UNPLANNED_MAINTENANCE), - 4 => ::std::option::Option::Some(Table_ClusterState_ReplicationState::READY), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [Table_ClusterState_ReplicationState] = &[ - Table_ClusterState_ReplicationState::STATE_NOT_KNOWN, - Table_ClusterState_ReplicationState::INITIALIZING, - Table_ClusterState_ReplicationState::PLANNED_MAINTENANCE, - Table_ClusterState_ReplicationState::UNPLANNED_MAINTENANCE, - Table_ClusterState_ReplicationState::READY, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Table_ClusterState_ReplicationState", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for Table_ClusterState_ReplicationState { -} - -impl ::std::default::Default for Table_ClusterState_ReplicationState { - fn default() -> Self { - Table_ClusterState_ReplicationState::STATE_NOT_KNOWN - } -} - -impl ::protobuf::reflect::ProtobufValue for Table_ClusterState_ReplicationState { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum Table_TimestampGranularity { - TIMESTAMP_GRANULARITY_UNSPECIFIED = 0, - MILLIS = 1, -} - -impl ::protobuf::ProtobufEnum for Table_TimestampGranularity { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(Table_TimestampGranularity::TIMESTAMP_GRANULARITY_UNSPECIFIED), - 1 => ::std::option::Option::Some(Table_TimestampGranularity::MILLIS), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [Table_TimestampGranularity] = &[ - Table_TimestampGranularity::TIMESTAMP_GRANULARITY_UNSPECIFIED, - Table_TimestampGranularity::MILLIS, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Table_TimestampGranularity", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for Table_TimestampGranularity { -} - -impl ::std::default::Default for Table_TimestampGranularity { - fn default() -> Self { - Table_TimestampGranularity::TIMESTAMP_GRANULARITY_UNSPECIFIED - } -} - -impl ::protobuf::reflect::ProtobufValue for Table_TimestampGranularity { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum Table_View { - VIEW_UNSPECIFIED = 0, - NAME_ONLY = 1, - SCHEMA_VIEW = 2, - REPLICATION_VIEW = 3, - FULL = 4, -} - -impl ::protobuf::ProtobufEnum for Table_View { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(Table_View::VIEW_UNSPECIFIED), - 1 => ::std::option::Option::Some(Table_View::NAME_ONLY), - 2 => ::std::option::Option::Some(Table_View::SCHEMA_VIEW), - 3 => ::std::option::Option::Some(Table_View::REPLICATION_VIEW), - 4 => ::std::option::Option::Some(Table_View::FULL), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [Table_View] = &[ - Table_View::VIEW_UNSPECIFIED, - Table_View::NAME_ONLY, - Table_View::SCHEMA_VIEW, - Table_View::REPLICATION_VIEW, - Table_View::FULL, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Table_View", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for Table_View { -} - -impl ::std::default::Default for Table_View { - fn default() -> Self { - Table_View::VIEW_UNSPECIFIED - } -} - -impl ::protobuf::reflect::ProtobufValue for Table_View { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ColumnFamily { - // message fields - pub gc_rule: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ColumnFamily { - fn default() -> &'a ColumnFamily { - ::default_instance() - } -} - -impl ColumnFamily { - pub fn new() -> ColumnFamily { - ::std::default::Default::default() - } - - // .google.bigtable.admin.v2.GcRule gc_rule = 1; - - - pub fn get_gc_rule(&self) -> &GcRule { - self.gc_rule.as_ref().unwrap_or_else(|| GcRule::default_instance()) - } - pub fn clear_gc_rule(&mut self) { - self.gc_rule.clear(); - } - - pub fn has_gc_rule(&self) -> bool { - self.gc_rule.is_some() - } - - // Param is passed by value, moved - pub fn set_gc_rule(&mut self, v: GcRule) { - self.gc_rule = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_gc_rule(&mut self) -> &mut GcRule { - if self.gc_rule.is_none() { - self.gc_rule.set_default(); - } - self.gc_rule.as_mut().unwrap() - } - - // Take field - pub fn take_gc_rule(&mut self) -> GcRule { - self.gc_rule.take().unwrap_or_else(|| GcRule::new()) - } -} - -impl ::protobuf::Message for ColumnFamily { - fn is_initialized(&self) -> bool { - for v in &self.gc_rule { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.gc_rule)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.gc_rule.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.gc_rule.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ColumnFamily { - ColumnFamily::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "gc_rule", - |m: &ColumnFamily| { &m.gc_rule }, - |m: &mut ColumnFamily| { &mut m.gc_rule }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ColumnFamily", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ColumnFamily { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ColumnFamily, - }; - unsafe { - instance.get(ColumnFamily::new) - } - } -} - -impl ::protobuf::Clear for ColumnFamily { - fn clear(&mut self) { - self.gc_rule.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ColumnFamily { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ColumnFamily { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GcRule { - // message oneof groups - pub rule: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GcRule { - fn default() -> &'a GcRule { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum GcRule_oneof_rule { - max_num_versions(i32), - max_age(::protobuf::well_known_types::Duration), - intersection(GcRule_Intersection), - union(GcRule_Union), -} - -impl GcRule { - pub fn new() -> GcRule { - ::std::default::Default::default() - } - - // int32 max_num_versions = 1; - - - pub fn get_max_num_versions(&self) -> i32 { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::max_num_versions(v)) => v, - _ => 0, - } - } - pub fn clear_max_num_versions(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_max_num_versions(&self) -> bool { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::max_num_versions(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_max_num_versions(&mut self, v: i32) { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::max_num_versions(v)) - } - - // .google.protobuf.Duration max_age = 2; - - - pub fn get_max_age(&self) -> &::protobuf::well_known_types::Duration { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::max_age(ref v)) => v, - _ => ::protobuf::well_known_types::Duration::default_instance(), - } - } - pub fn clear_max_age(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_max_age(&self) -> bool { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::max_age(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_max_age(&mut self, v: ::protobuf::well_known_types::Duration) { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::max_age(v)) - } - - // Mutable pointer to the field. - pub fn mut_max_age(&mut self) -> &mut ::protobuf::well_known_types::Duration { - if let ::std::option::Option::Some(GcRule_oneof_rule::max_age(_)) = self.rule { - } else { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::max_age(::protobuf::well_known_types::Duration::new())); - } - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::max_age(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_max_age(&mut self) -> ::protobuf::well_known_types::Duration { - if self.has_max_age() { - match self.rule.take() { - ::std::option::Option::Some(GcRule_oneof_rule::max_age(v)) => v, - _ => panic!(), - } - } else { - ::protobuf::well_known_types::Duration::new() - } - } - - // .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - - - pub fn get_intersection(&self) -> &GcRule_Intersection { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::intersection(ref v)) => v, - _ => GcRule_Intersection::default_instance(), - } - } - pub fn clear_intersection(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_intersection(&self) -> bool { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::intersection(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_intersection(&mut self, v: GcRule_Intersection) { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::intersection(v)) - } - - // Mutable pointer to the field. - pub fn mut_intersection(&mut self) -> &mut GcRule_Intersection { - if let ::std::option::Option::Some(GcRule_oneof_rule::intersection(_)) = self.rule { - } else { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::intersection(GcRule_Intersection::new())); - } - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::intersection(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_intersection(&mut self) -> GcRule_Intersection { - if self.has_intersection() { - match self.rule.take() { - ::std::option::Option::Some(GcRule_oneof_rule::intersection(v)) => v, - _ => panic!(), - } - } else { - GcRule_Intersection::new() - } - } - - // .google.bigtable.admin.v2.GcRule.Union union = 4; - - - pub fn get_union(&self) -> &GcRule_Union { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::union(ref v)) => v, - _ => GcRule_Union::default_instance(), - } - } - pub fn clear_union(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_union(&self) -> bool { - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::union(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_union(&mut self, v: GcRule_Union) { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::union(v)) - } - - // Mutable pointer to the field. - pub fn mut_union(&mut self) -> &mut GcRule_Union { - if let ::std::option::Option::Some(GcRule_oneof_rule::union(_)) = self.rule { - } else { - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::union(GcRule_Union::new())); - } - match self.rule { - ::std::option::Option::Some(GcRule_oneof_rule::union(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_union(&mut self) -> GcRule_Union { - if self.has_union() { - match self.rule.take() { - ::std::option::Option::Some(GcRule_oneof_rule::union(v)) => v, - _ => panic!(), - } - } else { - GcRule_Union::new() - } - } -} - -impl ::protobuf::Message for GcRule { - fn is_initialized(&self) -> bool { - if let Some(GcRule_oneof_rule::max_age(ref v)) = self.rule { - if !v.is_initialized() { - return false; - } - } - if let Some(GcRule_oneof_rule::intersection(ref v)) = self.rule { - if !v.is_initialized() { - return false; - } - } - if let Some(GcRule_oneof_rule::union(ref v)) = self.rule { - if !v.is_initialized() { - return false; - } - } - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::max_num_versions(is.read_int32()?)); - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::max_age(is.read_message()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::intersection(is.read_message()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(GcRule_oneof_rule::union(is.read_message()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let ::std::option::Option::Some(ref v) = self.rule { - match v { - &GcRule_oneof_rule::max_num_versions(v) => { - my_size += ::protobuf::rt::value_size(1, v, ::protobuf::wire_format::WireTypeVarint); - }, - &GcRule_oneof_rule::max_age(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &GcRule_oneof_rule::intersection(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &GcRule_oneof_rule::union(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let ::std::option::Option::Some(ref v) = self.rule { - match v { - &GcRule_oneof_rule::max_num_versions(v) => { - os.write_int32(1, v)?; - }, - &GcRule_oneof_rule::max_age(ref v) => { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &GcRule_oneof_rule::intersection(ref v) => { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &GcRule_oneof_rule::union(ref v) => { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GcRule { - GcRule::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor::<_>( - "max_num_versions", - GcRule::has_max_num_versions, - GcRule::get_max_num_versions, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ::protobuf::well_known_types::Duration>( - "max_age", - GcRule::has_max_age, - GcRule::get_max_age, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, GcRule_Intersection>( - "intersection", - GcRule::has_intersection, - GcRule::get_intersection, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, GcRule_Union>( - "union", - GcRule::has_union, - GcRule::get_union, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GcRule", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GcRule { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GcRule, - }; - unsafe { - instance.get(GcRule::new) - } - } -} - -impl ::protobuf::Clear for GcRule { - fn clear(&mut self) { - self.rule = ::std::option::Option::None; - self.rule = ::std::option::Option::None; - self.rule = ::std::option::Option::None; - self.rule = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GcRule { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GcRule { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GcRule_Intersection { - // message fields - pub rules: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GcRule_Intersection { - fn default() -> &'a GcRule_Intersection { - ::default_instance() - } -} - -impl GcRule_Intersection { - pub fn new() -> GcRule_Intersection { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.v2.GcRule rules = 1; - - - pub fn get_rules(&self) -> &[GcRule] { - &self.rules - } - pub fn clear_rules(&mut self) { - self.rules.clear(); - } - - // Param is passed by value, moved - pub fn set_rules(&mut self, v: ::protobuf::RepeatedField) { - self.rules = v; - } - - // Mutable pointer to the field. - pub fn mut_rules(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.rules - } - - // Take field - pub fn take_rules(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.rules, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for GcRule_Intersection { - fn is_initialized(&self) -> bool { - for v in &self.rules { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.rules)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.rules { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.rules { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GcRule_Intersection { - GcRule_Intersection::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "rules", - |m: &GcRule_Intersection| { &m.rules }, - |m: &mut GcRule_Intersection| { &mut m.rules }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GcRule_Intersection", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GcRule_Intersection { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GcRule_Intersection, - }; - unsafe { - instance.get(GcRule_Intersection::new) - } - } -} - -impl ::protobuf::Clear for GcRule_Intersection { - fn clear(&mut self) { - self.rules.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GcRule_Intersection { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GcRule_Intersection { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GcRule_Union { - // message fields - pub rules: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GcRule_Union { - fn default() -> &'a GcRule_Union { - ::default_instance() - } -} - -impl GcRule_Union { - pub fn new() -> GcRule_Union { - ::std::default::Default::default() - } - - // repeated .google.bigtable.admin.v2.GcRule rules = 1; - - - pub fn get_rules(&self) -> &[GcRule] { - &self.rules - } - pub fn clear_rules(&mut self) { - self.rules.clear(); - } - - // Param is passed by value, moved - pub fn set_rules(&mut self, v: ::protobuf::RepeatedField) { - self.rules = v; - } - - // Mutable pointer to the field. - pub fn mut_rules(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.rules - } - - // Take field - pub fn take_rules(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.rules, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for GcRule_Union { - fn is_initialized(&self) -> bool { - for v in &self.rules { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.rules)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.rules { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.rules { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GcRule_Union { - GcRule_Union::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "rules", - |m: &GcRule_Union| { &m.rules }, - |m: &mut GcRule_Union| { &mut m.rules }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GcRule_Union", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GcRule_Union { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GcRule_Union, - }; - unsafe { - instance.get(GcRule_Union::new) - } - } -} - -impl ::protobuf::Clear for GcRule_Union { - fn clear(&mut self) { - self.rules.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GcRule_Union { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GcRule_Union { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Snapshot { - // message fields - pub name: ::std::string::String, - pub source_table: ::protobuf::SingularPtrField
, - pub data_size_bytes: i64, - pub create_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub delete_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub state: Snapshot_State, - pub description: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Snapshot { - fn default() -> &'a Snapshot { - ::default_instance() - } -} - -impl Snapshot { - pub fn new() -> Snapshot { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // .google.bigtable.admin.v2.Table source_table = 2; - - - pub fn get_source_table(&self) -> &Table { - self.source_table.as_ref().unwrap_or_else(|| Table::default_instance()) - } - pub fn clear_source_table(&mut self) { - self.source_table.clear(); - } - - pub fn has_source_table(&self) -> bool { - self.source_table.is_some() - } - - // Param is passed by value, moved - pub fn set_source_table(&mut self, v: Table) { - self.source_table = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_source_table(&mut self) -> &mut Table { - if self.source_table.is_none() { - self.source_table.set_default(); - } - self.source_table.as_mut().unwrap() - } - - // Take field - pub fn take_source_table(&mut self) -> Table { - self.source_table.take().unwrap_or_else(|| Table::new()) - } - - // int64 data_size_bytes = 3; - - - pub fn get_data_size_bytes(&self) -> i64 { - self.data_size_bytes - } - pub fn clear_data_size_bytes(&mut self) { - self.data_size_bytes = 0; - } - - // Param is passed by value, moved - pub fn set_data_size_bytes(&mut self, v: i64) { - self.data_size_bytes = v; - } - - // .google.protobuf.Timestamp create_time = 4; - - - pub fn get_create_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.create_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_create_time(&mut self) { - self.create_time.clear(); - } - - pub fn has_create_time(&self) -> bool { - self.create_time.is_some() - } - - // Param is passed by value, moved - pub fn set_create_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.create_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_create_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.create_time.is_none() { - self.create_time.set_default(); - } - self.create_time.as_mut().unwrap() - } - - // Take field - pub fn take_create_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.create_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.protobuf.Timestamp delete_time = 5; - - - pub fn get_delete_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.delete_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_delete_time(&mut self) { - self.delete_time.clear(); - } - - pub fn has_delete_time(&self) -> bool { - self.delete_time.is_some() - } - - // Param is passed by value, moved - pub fn set_delete_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.delete_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_delete_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.delete_time.is_none() { - self.delete_time.set_default(); - } - self.delete_time.as_mut().unwrap() - } - - // Take field - pub fn take_delete_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.delete_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // .google.bigtable.admin.v2.Snapshot.State state = 6; - - - pub fn get_state(&self) -> Snapshot_State { - self.state - } - pub fn clear_state(&mut self) { - self.state = Snapshot_State::STATE_NOT_KNOWN; - } - - // Param is passed by value, moved - pub fn set_state(&mut self, v: Snapshot_State) { - self.state = v; - } - - // string description = 7; - - - pub fn get_description(&self) -> &str { - &self.description - } - pub fn clear_description(&mut self) { - self.description.clear(); - } - - // Param is passed by value, moved - pub fn set_description(&mut self, v: ::std::string::String) { - self.description = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_description(&mut self) -> &mut ::std::string::String { - &mut self.description - } - - // Take field - pub fn take_description(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.description, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for Snapshot { - fn is_initialized(&self) -> bool { - for v in &self.source_table { - if !v.is_initialized() { - return false; - } - }; - for v in &self.create_time { - if !v.is_initialized() { - return false; - } - }; - for v in &self.delete_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.source_table)?; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.data_size_bytes = tmp; - }, - 4 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.create_time)?; - }, - 5 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.delete_time)?; - }, - 6 => { - ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.state, 6, &mut self.unknown_fields)? - }, - 7 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if let Some(ref v) = self.source_table.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if self.data_size_bytes != 0 { - my_size += ::protobuf::rt::value_size(3, self.data_size_bytes, ::protobuf::wire_format::WireTypeVarint); - } - if let Some(ref v) = self.create_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.delete_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if self.state != Snapshot_State::STATE_NOT_KNOWN { - my_size += ::protobuf::rt::enum_size(6, self.state); - } - if !self.description.is_empty() { - my_size += ::protobuf::rt::string_size(7, &self.description); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if let Some(ref v) = self.source_table.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if self.data_size_bytes != 0 { - os.write_int64(3, self.data_size_bytes)?; - } - if let Some(ref v) = self.create_time.as_ref() { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.delete_time.as_ref() { - os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if self.state != Snapshot_State::STATE_NOT_KNOWN { - os.write_enum(6, self.state.value())?; - } - if !self.description.is_empty() { - os.write_string(7, &self.description)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Snapshot { - Snapshot::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Snapshot| { &m.name }, - |m: &mut Snapshot| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage
>( - "source_table", - |m: &Snapshot| { &m.source_table }, - |m: &mut Snapshot| { &mut m.source_table }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "data_size_bytes", - |m: &Snapshot| { &m.data_size_bytes }, - |m: &mut Snapshot| { &mut m.data_size_bytes }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "create_time", - |m: &Snapshot| { &m.create_time }, - |m: &mut Snapshot| { &mut m.create_time }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "delete_time", - |m: &Snapshot| { &m.delete_time }, - |m: &mut Snapshot| { &mut m.delete_time }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum>( - "state", - |m: &Snapshot| { &m.state }, - |m: &mut Snapshot| { &mut m.state }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "description", - |m: &Snapshot| { &m.description }, - |m: &mut Snapshot| { &mut m.description }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Snapshot", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Snapshot { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Snapshot, - }; - unsafe { - instance.get(Snapshot::new) - } - } -} - -impl ::protobuf::Clear for Snapshot { - fn clear(&mut self) { - self.name.clear(); - self.source_table.clear(); - self.data_size_bytes = 0; - self.create_time.clear(); - self.delete_time.clear(); - self.state = Snapshot_State::STATE_NOT_KNOWN; - self.description.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Snapshot { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Snapshot { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(Clone,PartialEq,Eq,Debug,Hash)] -pub enum Snapshot_State { - STATE_NOT_KNOWN = 0, - READY = 1, - CREATING = 2, -} - -impl ::protobuf::ProtobufEnum for Snapshot_State { - fn value(&self) -> i32 { - *self as i32 - } - - fn from_i32(value: i32) -> ::std::option::Option { - match value { - 0 => ::std::option::Option::Some(Snapshot_State::STATE_NOT_KNOWN), - 1 => ::std::option::Option::Some(Snapshot_State::READY), - 2 => ::std::option::Option::Some(Snapshot_State::CREATING), - _ => ::std::option::Option::None - } - } - - fn values() -> &'static [Self] { - static values: &'static [Snapshot_State] = &[ - Snapshot_State::STATE_NOT_KNOWN, - Snapshot_State::READY, - Snapshot_State::CREATING, - ]; - values - } - - fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; - unsafe { - descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Snapshot_State", file_descriptor_proto()) - }) - } - } -} - -impl ::std::marker::Copy for Snapshot_State { -} - -impl ::std::default::Default for Snapshot_State { - fn default() -> Self { - Snapshot_State::STATE_NOT_KNOWN - } -} - -impl ::protobuf::reflect::ProtobufValue for Snapshot_State { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n$google/bigtable/admin/v2/table.proto\x12\x18google.bigtable.admin.v2\ - \x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.pro\ - to\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa7\x07\n\x05Table\x12\x12\n\ - \x04name\x18\x01\x20\x01(\tR\x04name\x12Y\n\x0ecluster_states\x18\x02\ - \x20\x03(\x0b22.google.bigtable.admin.v2.Table.ClusterStatesEntryR\rclus\ - terStates\x12\\\n\x0fcolumn_families\x18\x03\x20\x03(\x0b23.google.bigta\ - ble.admin.v2.Table.ColumnFamiliesEntryR\x0ecolumnFamilies\x12V\n\x0bgran\ - ularity\x18\x04\x20\x01(\x0e24.google.bigtable.admin.v2.Table.TimestampG\ - ranularityR\x0bgranularity\x1a\xf4\x01\n\x0cClusterState\x12j\n\x11repli\ - cation_state\x18\x01\x20\x01(\x0e2=.google.bigtable.admin.v2.Table.Clust\ - erState.ReplicationStateR\x10replicationState\"x\n\x10ReplicationState\ - \x12\x13\n\x0fSTATE_NOT_KNOWN\x10\0\x12\x10\n\x0cINITIALIZING\x10\x01\ - \x12\x17\n\x13PLANNED_MAINTENANCE\x10\x02\x12\x19\n\x15UNPLANNED_MAINTEN\ - ANCE\x10\x03\x12\t\n\x05READY\x10\x04\x1an\n\x12ClusterStatesEntry\x12\ - \x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12B\n\x05value\x18\x02\x20\x01\ - (\x0b2,.google.bigtable.admin.v2.Table.ClusterStateR\x05value:\x028\x01\ - \x1ai\n\x13ColumnFamiliesEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03k\ - ey\x12<\n\x05value\x18\x02\x20\x01(\x0b2&.google.bigtable.admin.v2.Colum\ - nFamilyR\x05value:\x028\x01\"I\n\x14TimestampGranularity\x12%\n!TIMESTAM\ - P_GRANULARITY_UNSPECIFIED\x10\0\x12\n\n\x06MILLIS\x10\x01\"\\\n\x04View\ - \x12\x14\n\x10VIEW_UNSPECIFIED\x10\0\x12\r\n\tNAME_ONLY\x10\x01\x12\x0f\ - \n\x0bSCHEMA_VIEW\x10\x02\x12\x14\n\x10REPLICATION_VIEW\x10\x03\x12\x08\ - \n\x04FULL\x10\x04\"I\n\x0cColumnFamily\x129\n\x07gc_rule\x18\x01\x20\ - \x01(\x0b2\x20.google.bigtable.admin.v2.GcRuleR\x06gcRule\"\x90\x03\n\ - \x06GcRule\x12*\n\x10max_num_versions\x18\x01\x20\x01(\x05H\0R\x0emaxNum\ - Versions\x124\n\x07max_age\x18\x02\x20\x01(\x0b2\x19.google.protobuf.Dur\ - ationH\0R\x06maxAge\x12S\n\x0cintersection\x18\x03\x20\x01(\x0b2-.google\ - .bigtable.admin.v2.GcRule.IntersectionH\0R\x0cintersection\x12>\n\x05uni\ - on\x18\x04\x20\x01(\x0b2&.google.bigtable.admin.v2.GcRule.UnionH\0R\x05u\ - nion\x1aF\n\x0cIntersection\x126\n\x05rules\x18\x01\x20\x03(\x0b2\x20.go\ - ogle.bigtable.admin.v2.GcRuleR\x05rules\x1a?\n\x05Union\x126\n\x05rules\ - \x18\x01\x20\x03(\x0b2\x20.google.bigtable.admin.v2.GcRuleR\x05rulesB\ - \x06\n\x04rule\"\x9d\x03\n\x08Snapshot\x12\x12\n\x04name\x18\x01\x20\x01\ - (\tR\x04name\x12B\n\x0csource_table\x18\x02\x20\x01(\x0b2\x1f.google.big\ - table.admin.v2.TableR\x0bsourceTable\x12&\n\x0fdata_size_bytes\x18\x03\ - \x20\x01(\x03R\rdataSizeBytes\x12;\n\x0bcreate_time\x18\x04\x20\x01(\x0b\ - 2\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bdelete_time\x18\ - \x05\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\ndeleteTime\x12>\n\x05\ - state\x18\x06\x20\x01(\x0e2(.google.bigtable.admin.v2.Snapshot.StateR\ - \x05state\x12\x20\n\x0bdescription\x18\x07\x20\x01(\tR\x0bdescription\"5\ - \n\x05State\x12\x13\n\x0fSTATE_NOT_KNOWN\x10\0\x12\t\n\x05READY\x10\x01\ - \x12\x0c\n\x08CREATING\x10\x02B\xad\x01\n\x1ccom.google.bigtable.admin.v\ - 2B\nTableProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admi\ - n/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\\ - Cloud\\Bigtable\\Admin\\V2J\xb4A\n\x07\x12\x05\x0f\0\xdc\x01\x01\n\xbe\ - \x04\n\x01\x0c\x12\x03\x0f\0\x122\xb3\x04\x20Copyright\x202018\x20Google\ - \x20LLC.\n\n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Versio\ - n\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\ - \x20file\x20except\x20in\x20compliance\x20with\x20the\x20License.\n\x20Y\ - ou\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\ - \x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\ - \x20required\x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20w\ - riting,\x20software\n\x20distributed\x20under\x20the\x20License\x20is\ - \x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WA\ - RRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\ - \x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\ - \x20language\x20governing\x20permissions\x20and\n\x20limitations\x20unde\ - r\x20the\x20License.\n\n\n\x08\n\x01\x02\x12\x03\x11\0!\n\t\n\x02\x03\0\ - \x12\x03\x13\0&\n\t\n\x02\x03\x01\x12\x03\x14\0(\n\t\n\x02\x03\x02\x12\ - \x03\x15\0)\n\x08\n\x01\x08\x12\x03\x17\0;\n\t\n\x02\x08%\x12\x03\x17\0;\ - \n\x08\n\x01\x08\x12\x03\x18\0T\n\t\n\x02\x08\x0b\x12\x03\x18\0T\n\x08\n\ - \x01\x08\x12\x03\x19\0\"\n\t\n\x02\x08\n\x12\x03\x19\0\"\n\x08\n\x01\x08\ - \x12\x03\x1a\0+\n\t\n\x02\x08\x08\x12\x03\x1a\0+\n\x08\n\x01\x08\x12\x03\ - \x1b\05\n\t\n\x02\x08\x01\x12\x03\x1b\05\n\x08\n\x01\x08\x12\x03\x1c\0<\ - \n\t\n\x02\x08)\x12\x03\x1c\0<\n\x90\x01\n\x02\x04\0\x12\x04!\0x\x01\x1a\ - \x83\x01\x20A\x20collection\x20of\x20user\x20data\x20indexed\x20by\x20ro\ - w,\x20column,\x20and\x20timestamp.\n\x20Each\x20table\x20is\x20served\ - \x20using\x20the\x20resources\x20of\x20its\x20parent\x20cluster.\n\n\n\n\ - \x03\x04\0\x01\x12\x03!\x08\r\nD\n\x04\x04\0\x03\0\x12\x04#\x02?\x03\x1a\ - 6\x20The\x20state\x20of\x20a\x20table's\x20data\x20in\x20a\x20particular\ - \x20cluster.\n\n\x0c\n\x05\x04\0\x03\0\x01\x12\x03#\n\x16\n+\n\x06\x04\0\ - \x03\0\x04\0\x12\x04%\x04:\x05\x1a\x1b\x20Table\x20replication\x20states\ - .\n\n\x0e\n\x07\x04\0\x03\0\x04\0\x01\x12\x03%\t\x19\nQ\n\x08\x04\0\x03\ - \0\x04\0\x02\0\x12\x03'\x06\x1a\x1a@\x20The\x20replication\x20state\x20o\ - f\x20the\x20table\x20is\x20unknown\x20in\x20this\x20cluster.\n\n\x10\n\t\ - \x04\0\x03\0\x04\0\x02\0\x01\x12\x03'\x06\x15\n\x10\n\t\x04\0\x03\0\x04\ - \0\x02\0\x02\x12\x03'\x18\x19\n\xda\x01\n\x08\x04\0\x03\0\x04\0\x02\x01\ - \x12\x03,\x06\x17\x1a\xc8\x01\x20The\x20cluster\x20was\x20recently\x20cr\ - eated,\x20and\x20the\x20table\x20must\x20finish\x20copying\n\x20over\x20\ - pre-existing\x20data\x20from\x20other\x20clusters\x20before\x20it\x20can\ - \x20begin\n\x20receiving\x20live\x20replication\x20updates\x20and\x20ser\ - ving\x20Data\x20API\x20requests.\n\n\x10\n\t\x04\0\x03\0\x04\0\x02\x01\ - \x01\x12\x03,\x06\x12\n\x10\n\t\x04\0\x03\0\x04\0\x02\x01\x02\x12\x03,\ - \x15\x16\n\x85\x01\n\x08\x04\0\x03\0\x04\0\x02\x02\x12\x030\x06\x1e\x1at\ - \x20The\x20table\x20is\x20temporarily\x20unable\x20to\x20serve\x20Data\ - \x20API\x20requests\x20from\x20this\n\x20cluster\x20due\x20to\x20planned\ - \x20internal\x20maintenance.\n\n\x10\n\t\x04\0\x03\0\x04\0\x02\x02\x01\ - \x12\x030\x06\x19\n\x10\n\t\x04\0\x03\0\x04\0\x02\x02\x02\x12\x030\x1c\ - \x1d\n\x8b\x01\n\x08\x04\0\x03\0\x04\0\x02\x03\x12\x034\x06\x20\x1az\x20\ - The\x20table\x20is\x20temporarily\x20unable\x20to\x20serve\x20Data\x20AP\ - I\x20requests\x20from\x20this\n\x20cluster\x20due\x20to\x20unplanned\x20\ - or\x20emergency\x20maintenance.\n\n\x10\n\t\x04\0\x03\0\x04\0\x02\x03\ - \x01\x12\x034\x06\x1b\n\x10\n\t\x04\0\x03\0\x04\0\x02\x03\x02\x12\x034\ - \x1e\x1f\n\xba\x01\n\x08\x04\0\x03\0\x04\0\x02\x04\x12\x039\x06\x10\x1a\ - \xa8\x01\x20The\x20table\x20can\x20serve\x20Data\x20API\x20requests\x20f\ - rom\x20this\x20cluster.\x20Depending\x20on\n\x20replication\x20delay,\ - \x20reads\x20may\x20not\x20immediately\x20reflect\x20the\x20state\x20of\ - \x20the\n\x20table\x20in\x20other\x20clusters.\n\n\x10\n\t\x04\0\x03\0\ - \x04\0\x02\x04\x01\x12\x039\x06\x0b\n\x10\n\t\x04\0\x03\0\x04\0\x02\x04\ - \x02\x12\x039\x0e\x0f\nX\n\x06\x04\0\x03\0\x02\0\x12\x03>\x04+\x1aI\x20(\ - `OutputOnly`)\n\x20The\x20state\x20of\x20replication\x20for\x20the\x20ta\ - ble\x20in\x20this\x20cluster.\n\n\x0f\n\x07\x04\0\x03\0\x02\0\x04\x12\ - \x04>\x04:\x05\n\x0e\n\x07\x04\0\x03\0\x02\0\x06\x12\x03>\x04\x14\n\x0e\ - \n\x07\x04\0\x03\0\x02\0\x01\x12\x03>\x15&\n\x0e\n\x07\x04\0\x03\0\x02\0\ - \x03\x12\x03>)*\nk\n\x04\x04\0\x04\0\x12\x04C\x02J\x03\x1a]\x20Possible\ - \x20timestamp\x20granularities\x20to\x20use\x20when\x20keeping\x20multip\ - le\x20versions\n\x20of\x20data\x20in\x20a\x20table.\n\n\x0c\n\x05\x04\0\ - \x04\0\x01\x12\x03C\x07\x1b\n\x8c\x01\n\x06\x04\0\x04\0\x02\0\x12\x03F\ - \x04*\x1a}\x20The\x20user\x20did\x20not\x20specify\x20a\x20granularity.\ - \x20Should\x20not\x20be\x20returned.\n\x20When\x20specified\x20during\ - \x20table\x20creation,\x20MILLIS\x20will\x20be\x20used.\n\n\x0e\n\x07\ - \x04\0\x04\0\x02\0\x01\x12\x03F\x04%\n\x0e\n\x07\x04\0\x04\0\x02\0\x02\ - \x12\x03F()\nH\n\x06\x04\0\x04\0\x02\x01\x12\x03I\x04\x0f\x1a9\x20The\ - \x20table\x20keeps\x20data\x20versioned\x20at\x20a\x20granularity\x20of\ - \x201ms.\n\n\x0e\n\x07\x04\0\x04\0\x02\x01\x01\x12\x03I\x04\n\n\x0e\n\ - \x07\x04\0\x04\0\x02\x01\x02\x12\x03I\r\x0e\n5\n\x04\x04\0\x04\x01\x12\ - \x04M\x02]\x03\x1a'\x20Defines\x20a\x20view\x20over\x20a\x20table's\x20f\ - ields.\n\n\x0c\n\x05\x04\0\x04\x01\x01\x12\x03M\x07\x0b\nT\n\x06\x04\0\ - \x04\x01\x02\0\x12\x03O\x04\x19\x1aE\x20Uses\x20the\x20default\x20view\ - \x20for\x20each\x20method\x20as\x20documented\x20in\x20its\x20request.\n\ - \n\x0e\n\x07\x04\0\x04\x01\x02\0\x01\x12\x03O\x04\x14\n\x0e\n\x07\x04\0\ - \x04\x01\x02\0\x02\x12\x03O\x17\x18\n'\n\x06\x04\0\x04\x01\x02\x01\x12\ - \x03R\x04\x12\x1a\x18\x20Only\x20populates\x20`name`.\n\n\x0e\n\x07\x04\ - \0\x04\x01\x02\x01\x01\x12\x03R\x04\r\n\x0e\n\x07\x04\0\x04\x01\x02\x01\ - \x02\x12\x03R\x10\x11\nP\n\x06\x04\0\x04\x01\x02\x02\x12\x03U\x04\x14\ - \x1aA\x20Only\x20populates\x20`name`\x20and\x20fields\x20related\x20to\ - \x20the\x20table's\x20schema.\n\n\x0e\n\x07\x04\0\x04\x01\x02\x02\x01\ - \x12\x03U\x04\x0f\n\x0e\n\x07\x04\0\x04\x01\x02\x02\x02\x12\x03U\x12\x13\ - \n\\\n\x06\x04\0\x04\x01\x02\x03\x12\x03Y\x04\x19\x1aM\x20Only\x20popula\ - tes\x20`name`\x20and\x20fields\x20related\x20to\x20the\x20table's\n\x20r\ - eplication\x20state.\n\n\x0e\n\x07\x04\0\x04\x01\x02\x03\x01\x12\x03Y\ - \x04\x14\n\x0e\n\x07\x04\0\x04\x01\x02\x03\x02\x12\x03Y\x17\x18\n&\n\x06\ - \x04\0\x04\x01\x02\x04\x12\x03\\\x04\r\x1a\x17\x20Populates\x20all\x20fi\ - elds.\n\n\x0e\n\x07\x04\0\x04\x01\x02\x04\x01\x12\x03\\\x04\x08\n\x0e\n\ - \x07\x04\0\x04\x01\x02\x04\x02\x12\x03\\\x0b\x0c\n\xe2\x01\n\x04\x04\0\ - \x02\0\x12\x03c\x02\x12\x1a\xd4\x01\x20(`OutputOnly`)\n\x20The\x20unique\ - \x20name\x20of\x20the\x20table.\x20Values\x20are\x20of\x20the\x20form\n\ - \x20`projects//instances//tables/[_a-zA-Z0-9][-_.a-zA\ - -Z0-9]*`.\n\x20Views:\x20`NAME_ONLY`,\x20`SCHEMA_VIEW`,\x20`REPLICATION_\ - VIEW`,\x20`FULL`\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04c\x02]\x03\n\x0c\n\ - \x05\x04\0\x02\0\x05\x12\x03c\x02\x08\n\x0c\n\x05\x04\0\x02\0\x01\x12\ - \x03c\t\r\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03c\x10\x11\n\xc7\x02\n\x04\ - \x04\0\x02\x01\x12\x03k\x02/\x1a\xb9\x02\x20(`OutputOnly`)\n\x20Map\x20f\ - rom\x20cluster\x20ID\x20to\x20per-cluster\x20table\x20state.\n\x20If\x20\ - it\x20could\x20not\x20be\x20determined\x20whether\x20or\x20not\x20the\ - \x20table\x20has\x20data\x20in\x20a\n\x20particular\x20cluster\x20(for\ - \x20example,\x20if\x20its\x20zone\x20is\x20unavailable),\x20then\n\x20th\ - ere\x20will\x20be\x20an\x20entry\x20for\x20the\x20cluster\x20with\x20UNK\ - NOWN\x20`replication_status`.\n\x20Views:\x20`REPLICATION_VIEW`,\x20`FUL\ - L`\n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04k\x02c\x12\n\x0c\n\x05\x04\0\x02\ - \x01\x06\x12\x03k\x02\x1b\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03k\x1c*\n\ - \x0c\n\x05\x04\0\x02\x01\x03\x12\x03k-.\n\x89\x01\n\x04\x04\0\x02\x02\ - \x12\x03p\x020\x1a|\x20(`CreationOnly`)\n\x20The\x20column\x20families\ - \x20configured\x20for\x20this\x20table,\x20mapped\x20by\x20column\x20fam\ - ily\x20ID.\n\x20Views:\x20`SCHEMA_VIEW`,\x20`FULL`\n\n\r\n\x05\x04\0\x02\ - \x02\x04\x12\x04p\x02k/\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x03p\x02\x1b\n\ - \x0c\n\x05\x04\0\x02\x02\x01\x12\x03p\x1c+\n\x0c\n\x05\x04\0\x02\x02\x03\ - \x12\x03p./\n\x8d\x02\n\x04\x04\0\x02\x03\x12\x03w\x02'\x1a\xff\x01\x20(\ - `CreationOnly`)\n\x20The\x20granularity\x20(i.e.\x20`MILLIS`)\x20at\x20w\ - hich\x20timestamps\x20are\x20stored\x20in\n\x20this\x20table.\x20Timesta\ - mps\x20not\x20matching\x20the\x20granularity\x20will\x20be\x20rejected.\ - \n\x20If\x20unspecified\x20at\x20creation\x20time,\x20the\x20value\x20wi\ - ll\x20be\x20set\x20to\x20`MILLIS`.\n\x20Views:\x20`SCHEMA_VIEW`,\x20`FUL\ - L`\n\n\r\n\x05\x04\0\x02\x03\x04\x12\x04w\x02p0\n\x0c\n\x05\x04\0\x02\ - \x03\x06\x12\x03w\x02\x16\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03w\x17\"\n\ - \x0c\n\x05\x04\0\x02\x03\x03\x12\x03w%&\nR\n\x02\x04\x01\x12\x05{\0\x83\ - \x01\x01\x1aE\x20A\x20set\x20of\x20columns\x20within\x20a\x20table\x20wh\ - ich\x20share\x20a\x20common\x20configuration.\n\n\n\n\x03\x04\x01\x01\ - \x12\x03{\x08\x14\n\x9e\x02\n\x04\x04\x01\x02\0\x12\x04\x82\x01\x02\x15\ - \x1a\x8f\x02\x20Garbage\x20collection\x20rule\x20specified\x20as\x20a\ - \x20protobuf.\n\x20Must\x20serialize\x20to\x20at\x20most\x20500\x20bytes\ - .\n\n\x20NOTE:\x20Garbage\x20collection\x20executes\x20opportunistically\ - \x20in\x20the\x20background,\x20and\n\x20so\x20it's\x20possible\x20for\ - \x20reads\x20to\x20return\x20a\x20cell\x20even\x20if\x20it\x20matches\ - \x20the\x20active\n\x20GC\x20expression\x20for\x20its\x20family.\n\n\x0e\ - \n\x05\x04\x01\x02\0\x04\x12\x05\x82\x01\x02{\x16\n\r\n\x05\x04\x01\x02\ - \0\x06\x12\x04\x82\x01\x02\x08\n\r\n\x05\x04\x01\x02\0\x01\x12\x04\x82\ - \x01\t\x10\n\r\n\x05\x04\x01\x02\0\x03\x12\x04\x82\x01\x13\x14\nU\n\x02\ - \x04\x02\x12\x06\x86\x01\0\xa3\x01\x01\x1aG\x20Rule\x20for\x20determinin\ - g\x20which\x20cells\x20to\x20delete\x20during\x20garbage\x20collection.\ - \n\n\x0b\n\x03\x04\x02\x01\x12\x04\x86\x01\x08\x0e\nO\n\x04\x04\x02\x03\ - \0\x12\x06\x88\x01\x02\x8b\x01\x03\x1a?\x20A\x20GcRule\x20which\x20delet\ - es\x20cells\x20matching\x20all\x20of\x20the\x20given\x20rules.\n\n\r\n\ - \x05\x04\x02\x03\0\x01\x12\x04\x88\x01\n\x16\nW\n\x06\x04\x02\x03\0\x02\ - \0\x12\x04\x8a\x01\x04\x1e\x1aG\x20Only\x20delete\x20cells\x20which\x20w\ - ould\x20be\x20deleted\x20by\x20every\x20element\x20of\x20`rules`.\n\n\ - \x0f\n\x07\x04\x02\x03\0\x02\0\x04\x12\x04\x8a\x01\x04\x0c\n\x0f\n\x07\ - \x04\x02\x03\0\x02\0\x06\x12\x04\x8a\x01\r\x13\n\x0f\n\x07\x04\x02\x03\0\ - \x02\0\x01\x12\x04\x8a\x01\x14\x19\n\x0f\n\x07\x04\x02\x03\0\x02\0\x03\ - \x12\x04\x8a\x01\x1c\x1d\nO\n\x04\x04\x02\x03\x01\x12\x06\x8e\x01\x02\ - \x91\x01\x03\x1a?\x20A\x20GcRule\x20which\x20deletes\x20cells\x20matchin\ - g\x20any\x20of\x20the\x20given\x20rules.\n\n\r\n\x05\x04\x02\x03\x01\x01\ - \x12\x04\x8e\x01\n\x0f\nP\n\x06\x04\x02\x03\x01\x02\0\x12\x04\x90\x01\ - \x04\x1e\x1a@\x20Delete\x20cells\x20which\x20would\x20be\x20deleted\x20b\ - y\x20any\x20element\x20of\x20`rules`.\n\n\x0f\n\x07\x04\x02\x03\x01\x02\ - \0\x04\x12\x04\x90\x01\x04\x0c\n\x0f\n\x07\x04\x02\x03\x01\x02\0\x06\x12\ - \x04\x90\x01\r\x13\n\x0f\n\x07\x04\x02\x03\x01\x02\0\x01\x12\x04\x90\x01\ - \x14\x19\n\x0f\n\x07\x04\x02\x03\x01\x02\0\x03\x12\x04\x90\x01\x1c\x1d\n\ - +\n\x04\x04\x02\x08\0\x12\x06\x94\x01\x02\xa2\x01\x03\x1a\x1b\x20Garbage\ - \x20collection\x20rules.\n\n\r\n\x05\x04\x02\x08\0\x01\x12\x04\x94\x01\ - \x08\x0c\nF\n\x04\x04\x02\x02\0\x12\x04\x96\x01\x04\x1f\x1a8\x20Delete\ - \x20all\x20cells\x20in\x20a\x20column\x20except\x20the\x20most\x20recent\ - \x20N.\n\n\r\n\x05\x04\x02\x02\0\x05\x12\x04\x96\x01\x04\t\n\r\n\x05\x04\ - \x02\x02\0\x01\x12\x04\x96\x01\n\x1a\n\r\n\x05\x04\x02\x02\0\x03\x12\x04\ - \x96\x01\x1d\x1e\n\xa0\x01\n\x04\x04\x02\x02\x01\x12\x04\x9b\x01\x04)\ - \x1a\x91\x01\x20Delete\x20cells\x20in\x20a\x20column\x20older\x20than\ - \x20the\x20given\x20age.\n\x20Values\x20must\x20be\x20at\x20least\x20one\ - \x20millisecond,\x20and\x20will\x20be\x20truncated\x20to\n\x20microsecon\ - d\x20granularity.\n\n\r\n\x05\x04\x02\x02\x01\x06\x12\x04\x9b\x01\x04\ - \x1c\n\r\n\x05\x04\x02\x02\x01\x01\x12\x04\x9b\x01\x1d$\n\r\n\x05\x04\ - \x02\x02\x01\x03\x12\x04\x9b\x01'(\nH\n\x04\x04\x02\x02\x02\x12\x04\x9e\ - \x01\x04\"\x1a:\x20Delete\x20cells\x20that\x20would\x20be\x20deleted\x20\ - by\x20every\x20nested\x20rule.\n\n\r\n\x05\x04\x02\x02\x02\x06\x12\x04\ - \x9e\x01\x04\x10\n\r\n\x05\x04\x02\x02\x02\x01\x12\x04\x9e\x01\x11\x1d\n\ - \r\n\x05\x04\x02\x02\x02\x03\x12\x04\x9e\x01\x20!\nF\n\x04\x04\x02\x02\ - \x03\x12\x04\xa1\x01\x04\x14\x1a8\x20Delete\x20cells\x20that\x20would\ - \x20be\x20deleted\x20by\x20any\x20nested\x20rule.\n\n\r\n\x05\x04\x02\ - \x02\x03\x06\x12\x04\xa1\x01\x04\t\n\r\n\x05\x04\x02\x02\x03\x01\x12\x04\ - \xa1\x01\n\x0f\n\r\n\x05\x04\x02\x02\x03\x03\x12\x04\xa1\x01\x12\x13\n\ - \xc8\x03\n\x02\x04\x03\x12\x06\xac\x01\0\xdc\x01\x01\x1a\xb9\x03\x20A\ - \x20snapshot\x20of\x20a\x20table\x20at\x20a\x20particular\x20time.\x20A\ - \x20snapshot\x20can\x20be\x20used\x20as\x20a\n\x20checkpoint\x20for\x20d\ - ata\x20restoration\x20or\x20a\x20data\x20source\x20for\x20a\x20new\x20ta\ - ble.\n\n\x20Note:\x20This\x20is\x20a\x20private\x20alpha\x20release\x20o\ - f\x20Cloud\x20Bigtable\x20snapshots.\x20This\n\x20feature\x20is\x20not\ - \x20currently\x20available\x20to\x20most\x20Cloud\x20Bigtable\x20custome\ - rs.\x20This\n\x20feature\x20might\x20be\x20changed\x20in\x20backward-inc\ - ompatible\x20ways\x20and\x20is\x20not\x20recommended\n\x20for\x20product\ - ion\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20d\ - eprecation\x20policy.\n\n\x0b\n\x03\x04\x03\x01\x12\x04\xac\x01\x08\x10\ - \n0\n\x04\x04\x03\x04\0\x12\x06\xae\x01\x02\xb9\x01\x03\x1a\x20\x20Possi\ - ble\x20states\x20of\x20a\x20snapshot.\n\n\r\n\x05\x04\x03\x04\0\x01\x12\ - \x04\xae\x01\x07\x0c\nD\n\x06\x04\x03\x04\0\x02\0\x12\x04\xb0\x01\x04\ - \x18\x1a4\x20The\x20state\x20of\x20the\x20snapshot\x20could\x20not\x20be\ - \x20determined.\n\n\x0f\n\x07\x04\x03\x04\0\x02\0\x01\x12\x04\xb0\x01\ - \x04\x13\n\x0f\n\x07\x04\x03\x04\0\x02\0\x02\x12\x04\xb0\x01\x16\x17\nX\ - \n\x06\x04\x03\x04\0\x02\x01\x12\x04\xb3\x01\x04\x0e\x1aH\x20The\x20snap\ - shot\x20has\x20been\x20successfully\x20created\x20and\x20can\x20serve\ - \x20all\x20requests.\n\n\x0f\n\x07\x04\x03\x04\0\x02\x01\x01\x12\x04\xb3\ - \x01\x04\t\n\x0f\n\x07\x04\x03\x04\0\x02\x01\x02\x12\x04\xb3\x01\x0c\r\n\ - \xc4\x01\n\x06\x04\x03\x04\0\x02\x02\x12\x04\xb8\x01\x04\x11\x1a\xb3\x01\ - \x20The\x20snapshot\x20is\x20currently\x20being\x20created,\x20and\x20ma\ - y\x20be\x20destroyed\x20if\x20the\n\x20creation\x20process\x20encounters\ - \x20an\x20error.\x20A\x20snapshot\x20may\x20not\x20be\x20restored\x20to\ - \x20a\n\x20table\x20while\x20it\x20is\x20being\x20created.\n\n\x0f\n\x07\ - \x04\x03\x04\0\x02\x02\x01\x12\x04\xb8\x01\x04\x0c\n\x0f\n\x07\x04\x03\ - \x04\0\x02\x02\x02\x12\x04\xb8\x01\x0f\x10\n\xad\x01\n\x04\x04\x03\x02\0\ - \x12\x04\xbf\x01\x02\x12\x1a\x9e\x01\x20(`OutputOnly`)\n\x20The\x20uniqu\ - e\x20name\x20of\x20the\x20snapshot.\n\x20Values\x20are\x20of\x20the\x20f\ - orm\n\x20`projects//instances//clusters//sna\ - pshots/`.\n\n\x0f\n\x05\x04\x03\x02\0\x04\x12\x06\xbf\x01\x02\ - \xb9\x01\x03\n\r\n\x05\x04\x03\x02\0\x05\x12\x04\xbf\x01\x02\x08\n\r\n\ - \x05\x04\x03\x02\0\x01\x12\x04\xbf\x01\t\r\n\r\n\x05\x04\x03\x02\0\x03\ - \x12\x04\xbf\x01\x10\x11\nT\n\x04\x04\x03\x02\x01\x12\x04\xc3\x01\x02\ - \x19\x1aF\x20(`OutputOnly`)\n\x20The\x20source\x20table\x20at\x20the\x20\ - time\x20the\x20snapshot\x20was\x20taken.\n\n\x0f\n\x05\x04\x03\x02\x01\ - \x04\x12\x06\xc3\x01\x02\xbf\x01\x12\n\r\n\x05\x04\x03\x02\x01\x06\x12\ - \x04\xc3\x01\x02\x07\n\r\n\x05\x04\x03\x02\x01\x01\x12\x04\xc3\x01\x08\ - \x14\n\r\n\x05\x04\x03\x02\x01\x03\x12\x04\xc3\x01\x17\x18\n\xf6\x01\n\ - \x04\x04\x03\x02\x02\x12\x04\xc9\x01\x02\x1c\x1a\xe7\x01\x20(`OutputOnly\ - `)\n\x20The\x20size\x20of\x20the\x20data\x20in\x20the\x20source\x20table\ - \x20at\x20the\x20time\x20the\x20snapshot\x20was\n\x20taken.\x20In\x20som\ - e\x20cases,\x20this\x20value\x20may\x20be\x20computed\x20asynchronously\ - \x20via\x20a\n\x20background\x20process\x20and\x20a\x20placeholder\x20of\ - \x200\x20will\x20be\x20used\x20in\x20the\x20meantime.\n\n\x0f\n\x05\x04\ - \x03\x02\x02\x04\x12\x06\xc9\x01\x02\xc3\x01\x19\n\r\n\x05\x04\x03\x02\ - \x02\x05\x12\x04\xc9\x01\x02\x07\n\r\n\x05\x04\x03\x02\x02\x01\x12\x04\ - \xc9\x01\x08\x17\n\r\n\x05\x04\x03\x02\x02\x03\x12\x04\xc9\x01\x1a\x1b\n\ - F\n\x04\x04\x03\x02\x03\x12\x04\xcd\x01\x02,\x1a8\x20(`OutputOnly`)\n\ - \x20The\x20time\x20when\x20the\x20snapshot\x20is\x20created.\n\n\x0f\n\ - \x05\x04\x03\x02\x03\x04\x12\x06\xcd\x01\x02\xc9\x01\x1c\n\r\n\x05\x04\ - \x03\x02\x03\x06\x12\x04\xcd\x01\x02\x1b\n\r\n\x05\x04\x03\x02\x03\x01\ - \x12\x04\xcd\x01\x1c'\n\r\n\x05\x04\x03\x02\x03\x03\x12\x04\xcd\x01*+\n\ - \xda\x01\n\x04\x04\x03\x02\x04\x12\x04\xd3\x01\x02,\x1a\xcb\x01\x20(`Out\ - putOnly`)\n\x20The\x20time\x20when\x20the\x20snapshot\x20will\x20be\x20d\ - eleted.\x20The\x20maximum\x20amount\x20of\x20time\x20a\n\x20snapshot\x20\ - can\x20stay\x20active\x20is\x20365\x20days.\x20If\x20'ttl'\x20is\x20not\ - \x20specified,\n\x20the\x20default\x20maximum\x20of\x20365\x20days\x20wi\ - ll\x20be\x20used.\n\n\x0f\n\x05\x04\x03\x02\x04\x04\x12\x06\xd3\x01\x02\ - \xcd\x01,\n\r\n\x05\x04\x03\x02\x04\x06\x12\x04\xd3\x01\x02\x1b\n\r\n\ - \x05\x04\x03\x02\x04\x01\x12\x04\xd3\x01\x1c'\n\r\n\x05\x04\x03\x02\x04\ - \x03\x12\x04\xd3\x01*+\nB\n\x04\x04\x03\x02\x05\x12\x04\xd7\x01\x02\x12\ - \x1a4\x20(`OutputOnly`)\n\x20The\x20current\x20state\x20of\x20the\x20sna\ - pshot.\n\n\x0f\n\x05\x04\x03\x02\x05\x04\x12\x06\xd7\x01\x02\xd3\x01,\n\ - \r\n\x05\x04\x03\x02\x05\x06\x12\x04\xd7\x01\x02\x07\n\r\n\x05\x04\x03\ - \x02\x05\x01\x12\x04\xd7\x01\x08\r\n\r\n\x05\x04\x03\x02\x05\x03\x12\x04\ - \xd7\x01\x10\x11\n<\n\x04\x04\x03\x02\x06\x12\x04\xdb\x01\x02\x19\x1a.\ - \x20(`OutputOnly`)\n\x20Description\x20of\x20the\x20snapshot.\n\n\x0f\n\ - \x05\x04\x03\x02\x06\x04\x12\x06\xdb\x01\x02\xd7\x01\x12\n\r\n\x05\x04\ - \x03\x02\x06\x05\x12\x04\xdb\x01\x02\x08\n\r\n\x05\x04\x03\x02\x06\x01\ - \x12\x04\xdb\x01\t\x14\n\r\n\x05\x04\x03\x02\x06\x03\x12\x04\xdb\x01\x17\ - \x18b\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/mod.rs deleted file mode 100644 index 7a6f59ba7b..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub mod admin; -pub mod v1; -pub mod v2; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_data.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_data.rs deleted file mode 100644 index 73824ed1a3..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_data.rs +++ /dev/null @@ -1,6797 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/v1/bigtable_data.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct Row { - // message fields - pub key: ::std::vec::Vec, - pub families: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Row { - fn default() -> &'a Row { - ::default_instance() - } -} - -impl Row { - pub fn new() -> Row { - ::std::default::Default::default() - } - - // bytes key = 1; - - - pub fn get_key(&self) -> &[u8] { - &self.key - } - pub fn clear_key(&mut self) { - self.key.clear(); - } - - // Param is passed by value, moved - pub fn set_key(&mut self, v: ::std::vec::Vec) { - self.key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.key - } - - // Take field - pub fn take_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.key, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v1.Family families = 2; - - - pub fn get_families(&self) -> &[Family] { - &self.families - } - pub fn clear_families(&mut self) { - self.families.clear(); - } - - // Param is passed by value, moved - pub fn set_families(&mut self, v: ::protobuf::RepeatedField) { - self.families = v; - } - - // Mutable pointer to the field. - pub fn mut_families(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.families - } - - // Take field - pub fn take_families(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.families, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for Row { - fn is_initialized(&self) -> bool { - for v in &self.families { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.key)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.families)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.key.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.key); - } - for value in &self.families { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.key.is_empty() { - os.write_bytes(1, &self.key)?; - } - for v in &self.families { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Row { - Row::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "key", - |m: &Row| { &m.key }, - |m: &mut Row| { &mut m.key }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "families", - |m: &Row| { &m.families }, - |m: &mut Row| { &mut m.families }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Row", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Row { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Row, - }; - unsafe { - instance.get(Row::new) - } - } -} - -impl ::protobuf::Clear for Row { - fn clear(&mut self) { - self.key.clear(); - self.families.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Row { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Row { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Family { - // message fields - pub name: ::std::string::String, - pub columns: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Family { - fn default() -> &'a Family { - ::default_instance() - } -} - -impl Family { - pub fn new() -> Family { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // repeated .google.bigtable.v1.Column columns = 2; - - - pub fn get_columns(&self) -> &[Column] { - &self.columns - } - pub fn clear_columns(&mut self) { - self.columns.clear(); - } - - // Param is passed by value, moved - pub fn set_columns(&mut self, v: ::protobuf::RepeatedField) { - self.columns = v; - } - - // Mutable pointer to the field. - pub fn mut_columns(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.columns - } - - // Take field - pub fn take_columns(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.columns, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for Family { - fn is_initialized(&self) -> bool { - for v in &self.columns { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.columns)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - for value in &self.columns { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - for v in &self.columns { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Family { - Family::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Family| { &m.name }, - |m: &mut Family| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "columns", - |m: &Family| { &m.columns }, - |m: &mut Family| { &mut m.columns }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Family", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Family { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Family, - }; - unsafe { - instance.get(Family::new) - } - } -} - -impl ::protobuf::Clear for Family { - fn clear(&mut self) { - self.name.clear(); - self.columns.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Family { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Family { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Column { - // message fields - pub qualifier: ::std::vec::Vec, - pub cells: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Column { - fn default() -> &'a Column { - ::default_instance() - } -} - -impl Column { - pub fn new() -> Column { - ::std::default::Default::default() - } - - // bytes qualifier = 1; - - - pub fn get_qualifier(&self) -> &[u8] { - &self.qualifier - } - pub fn clear_qualifier(&mut self) { - self.qualifier.clear(); - } - - // Param is passed by value, moved - pub fn set_qualifier(&mut self, v: ::std::vec::Vec) { - self.qualifier = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_qualifier(&mut self) -> &mut ::std::vec::Vec { - &mut self.qualifier - } - - // Take field - pub fn take_qualifier(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.qualifier, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v1.Cell cells = 2; - - - pub fn get_cells(&self) -> &[Cell] { - &self.cells - } - pub fn clear_cells(&mut self) { - self.cells.clear(); - } - - // Param is passed by value, moved - pub fn set_cells(&mut self, v: ::protobuf::RepeatedField) { - self.cells = v; - } - - // Mutable pointer to the field. - pub fn mut_cells(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.cells - } - - // Take field - pub fn take_cells(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.cells, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for Column { - fn is_initialized(&self) -> bool { - for v in &self.cells { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.qualifier)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.cells)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.qualifier.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.qualifier); - } - for value in &self.cells { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.qualifier.is_empty() { - os.write_bytes(1, &self.qualifier)?; - } - for v in &self.cells { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Column { - Column::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "qualifier", - |m: &Column| { &m.qualifier }, - |m: &mut Column| { &mut m.qualifier }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "cells", - |m: &Column| { &m.cells }, - |m: &mut Column| { &mut m.cells }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Column", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Column { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Column, - }; - unsafe { - instance.get(Column::new) - } - } -} - -impl ::protobuf::Clear for Column { - fn clear(&mut self) { - self.qualifier.clear(); - self.cells.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Column { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Column { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Cell { - // message fields - pub timestamp_micros: i64, - pub value: ::std::vec::Vec, - pub labels: ::protobuf::RepeatedField<::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Cell { - fn default() -> &'a Cell { - ::default_instance() - } -} - -impl Cell { - pub fn new() -> Cell { - ::std::default::Default::default() - } - - // int64 timestamp_micros = 1; - - - pub fn get_timestamp_micros(&self) -> i64 { - self.timestamp_micros - } - pub fn clear_timestamp_micros(&mut self) { - self.timestamp_micros = 0; - } - - // Param is passed by value, moved - pub fn set_timestamp_micros(&mut self, v: i64) { - self.timestamp_micros = v; - } - - // bytes value = 2; - - - pub fn get_value(&self) -> &[u8] { - &self.value - } - pub fn clear_value(&mut self) { - self.value.clear(); - } - - // Param is passed by value, moved - pub fn set_value(&mut self, v: ::std::vec::Vec) { - self.value = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_value(&mut self) -> &mut ::std::vec::Vec { - &mut self.value - } - - // Take field - pub fn take_value(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.value, ::std::vec::Vec::new()) - } - - // repeated string labels = 3; - - - pub fn get_labels(&self) -> &[::std::string::String] { - &self.labels - } - pub fn clear_labels(&mut self) { - self.labels.clear(); - } - - // Param is passed by value, moved - pub fn set_labels(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.labels = v; - } - - // Mutable pointer to the field. - pub fn mut_labels(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.labels - } - - // Take field - pub fn take_labels(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.labels, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for Cell { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.timestamp_micros = tmp; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.value)?; - }, - 3 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.labels)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if self.timestamp_micros != 0 { - my_size += ::protobuf::rt::value_size(1, self.timestamp_micros, ::protobuf::wire_format::WireTypeVarint); - } - if !self.value.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.value); - } - for value in &self.labels { - my_size += ::protobuf::rt::string_size(3, &value); - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if self.timestamp_micros != 0 { - os.write_int64(1, self.timestamp_micros)?; - } - if !self.value.is_empty() { - os.write_bytes(2, &self.value)?; - } - for v in &self.labels { - os.write_string(3, &v)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Cell { - Cell::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "timestamp_micros", - |m: &Cell| { &m.timestamp_micros }, - |m: &mut Cell| { &mut m.timestamp_micros }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "value", - |m: &Cell| { &m.value }, - |m: &mut Cell| { &mut m.value }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "labels", - |m: &Cell| { &m.labels }, - |m: &mut Cell| { &mut m.labels }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Cell", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Cell { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Cell, - }; - unsafe { - instance.get(Cell::new) - } - } -} - -impl ::protobuf::Clear for Cell { - fn clear(&mut self) { - self.timestamp_micros = 0; - self.value.clear(); - self.labels.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Cell { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Cell { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowRange { - // message fields - pub start_key: ::std::vec::Vec, - pub end_key: ::std::vec::Vec, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowRange { - fn default() -> &'a RowRange { - ::default_instance() - } -} - -impl RowRange { - pub fn new() -> RowRange { - ::std::default::Default::default() - } - - // bytes start_key = 2; - - - pub fn get_start_key(&self) -> &[u8] { - &self.start_key - } - pub fn clear_start_key(&mut self) { - self.start_key.clear(); - } - - // Param is passed by value, moved - pub fn set_start_key(&mut self, v: ::std::vec::Vec) { - self.start_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_start_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.start_key - } - - // Take field - pub fn take_start_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.start_key, ::std::vec::Vec::new()) - } - - // bytes end_key = 3; - - - pub fn get_end_key(&self) -> &[u8] { - &self.end_key - } - pub fn clear_end_key(&mut self) { - self.end_key.clear(); - } - - // Param is passed by value, moved - pub fn set_end_key(&mut self, v: ::std::vec::Vec) { - self.end_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_end_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.end_key - } - - // Take field - pub fn take_end_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.end_key, ::std::vec::Vec::new()) - } -} - -impl ::protobuf::Message for RowRange { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.start_key)?; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.end_key)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.start_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.start_key); - } - if !self.end_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(3, &self.end_key); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.start_key.is_empty() { - os.write_bytes(2, &self.start_key)?; - } - if !self.end_key.is_empty() { - os.write_bytes(3, &self.end_key)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowRange { - RowRange::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "start_key", - |m: &RowRange| { &m.start_key }, - |m: &mut RowRange| { &mut m.start_key }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "end_key", - |m: &RowRange| { &m.end_key }, - |m: &mut RowRange| { &mut m.end_key }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowRange", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowRange { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowRange, - }; - unsafe { - instance.get(RowRange::new) - } - } -} - -impl ::protobuf::Clear for RowRange { - fn clear(&mut self) { - self.start_key.clear(); - self.end_key.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowRange { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowRange { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowSet { - // message fields - pub row_keys: ::protobuf::RepeatedField<::std::vec::Vec>, - pub row_ranges: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowSet { - fn default() -> &'a RowSet { - ::default_instance() - } -} - -impl RowSet { - pub fn new() -> RowSet { - ::std::default::Default::default() - } - - // repeated bytes row_keys = 1; - - - pub fn get_row_keys(&self) -> &[::std::vec::Vec] { - &self.row_keys - } - pub fn clear_row_keys(&mut self) { - self.row_keys.clear(); - } - - // Param is passed by value, moved - pub fn set_row_keys(&mut self, v: ::protobuf::RepeatedField<::std::vec::Vec>) { - self.row_keys = v; - } - - // Mutable pointer to the field. - pub fn mut_row_keys(&mut self) -> &mut ::protobuf::RepeatedField<::std::vec::Vec> { - &mut self.row_keys - } - - // Take field - pub fn take_row_keys(&mut self) -> ::protobuf::RepeatedField<::std::vec::Vec> { - ::std::mem::replace(&mut self.row_keys, ::protobuf::RepeatedField::new()) - } - - // repeated .google.bigtable.v1.RowRange row_ranges = 2; - - - pub fn get_row_ranges(&self) -> &[RowRange] { - &self.row_ranges - } - pub fn clear_row_ranges(&mut self) { - self.row_ranges.clear(); - } - - // Param is passed by value, moved - pub fn set_row_ranges(&mut self, v: ::protobuf::RepeatedField) { - self.row_ranges = v; - } - - // Mutable pointer to the field. - pub fn mut_row_ranges(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.row_ranges - } - - // Take field - pub fn take_row_ranges(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.row_ranges, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for RowSet { - fn is_initialized(&self) -> bool { - for v in &self.row_ranges { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_bytes_into(wire_type, is, &mut self.row_keys)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.row_ranges)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.row_keys { - my_size += ::protobuf::rt::bytes_size(1, &value); - }; - for value in &self.row_ranges { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.row_keys { - os.write_bytes(1, &v)?; - }; - for v in &self.row_ranges { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowSet { - RowSet::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_keys", - |m: &RowSet| { &m.row_keys }, - |m: &mut RowSet| { &mut m.row_keys }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "row_ranges", - |m: &RowSet| { &m.row_ranges }, - |m: &mut RowSet| { &mut m.row_ranges }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowSet", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowSet { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowSet, - }; - unsafe { - instance.get(RowSet::new) - } - } -} - -impl ::protobuf::Clear for RowSet { - fn clear(&mut self) { - self.row_keys.clear(); - self.row_ranges.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowSet { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowSet { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ColumnRange { - // message fields - pub family_name: ::std::string::String, - // message oneof groups - pub start_qualifier: ::std::option::Option, - pub end_qualifier: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ColumnRange { - fn default() -> &'a ColumnRange { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ColumnRange_oneof_start_qualifier { - start_qualifier_inclusive(::std::vec::Vec), - start_qualifier_exclusive(::std::vec::Vec), -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ColumnRange_oneof_end_qualifier { - end_qualifier_inclusive(::std::vec::Vec), - end_qualifier_exclusive(::std::vec::Vec), -} - -impl ColumnRange { - pub fn new() -> ColumnRange { - ::std::default::Default::default() - } - - // string family_name = 1; - - - pub fn get_family_name(&self) -> &str { - &self.family_name - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::std::string::String) { - self.family_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::std::string::String { - &mut self.family_name - } - - // Take field - pub fn take_family_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.family_name, ::std::string::String::new()) - } - - // bytes start_qualifier_inclusive = 2; - - - pub fn get_start_qualifier_inclusive(&self) -> &[u8] { - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_inclusive(ref v)) => v, - _ => &[], - } - } - pub fn clear_start_qualifier_inclusive(&mut self) { - self.start_qualifier = ::std::option::Option::None; - } - - pub fn has_start_qualifier_inclusive(&self) -> bool { - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_inclusive(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_start_qualifier_inclusive(&mut self, v: ::std::vec::Vec) { - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_inclusive(v)) - } - - // Mutable pointer to the field. - pub fn mut_start_qualifier_inclusive(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_inclusive(_)) = self.start_qualifier { - } else { - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_inclusive(::std::vec::Vec::new())); - } - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_inclusive(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_start_qualifier_inclusive(&mut self) -> ::std::vec::Vec { - if self.has_start_qualifier_inclusive() { - match self.start_qualifier.take() { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_inclusive(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes start_qualifier_exclusive = 3; - - - pub fn get_start_qualifier_exclusive(&self) -> &[u8] { - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_exclusive(ref v)) => v, - _ => &[], - } - } - pub fn clear_start_qualifier_exclusive(&mut self) { - self.start_qualifier = ::std::option::Option::None; - } - - pub fn has_start_qualifier_exclusive(&self) -> bool { - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_exclusive(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_start_qualifier_exclusive(&mut self, v: ::std::vec::Vec) { - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_exclusive(v)) - } - - // Mutable pointer to the field. - pub fn mut_start_qualifier_exclusive(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_exclusive(_)) = self.start_qualifier { - } else { - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_exclusive(::std::vec::Vec::new())); - } - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_exclusive(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_start_qualifier_exclusive(&mut self) -> ::std::vec::Vec { - if self.has_start_qualifier_exclusive() { - match self.start_qualifier.take() { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_exclusive(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes end_qualifier_inclusive = 4; - - - pub fn get_end_qualifier_inclusive(&self) -> &[u8] { - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_inclusive(ref v)) => v, - _ => &[], - } - } - pub fn clear_end_qualifier_inclusive(&mut self) { - self.end_qualifier = ::std::option::Option::None; - } - - pub fn has_end_qualifier_inclusive(&self) -> bool { - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_inclusive(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_end_qualifier_inclusive(&mut self, v: ::std::vec::Vec) { - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_inclusive(v)) - } - - // Mutable pointer to the field. - pub fn mut_end_qualifier_inclusive(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_inclusive(_)) = self.end_qualifier { - } else { - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_inclusive(::std::vec::Vec::new())); - } - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_inclusive(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_end_qualifier_inclusive(&mut self) -> ::std::vec::Vec { - if self.has_end_qualifier_inclusive() { - match self.end_qualifier.take() { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_inclusive(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes end_qualifier_exclusive = 5; - - - pub fn get_end_qualifier_exclusive(&self) -> &[u8] { - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_exclusive(ref v)) => v, - _ => &[], - } - } - pub fn clear_end_qualifier_exclusive(&mut self) { - self.end_qualifier = ::std::option::Option::None; - } - - pub fn has_end_qualifier_exclusive(&self) -> bool { - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_exclusive(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_end_qualifier_exclusive(&mut self, v: ::std::vec::Vec) { - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_exclusive(v)) - } - - // Mutable pointer to the field. - pub fn mut_end_qualifier_exclusive(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_exclusive(_)) = self.end_qualifier { - } else { - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_exclusive(::std::vec::Vec::new())); - } - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_exclusive(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_end_qualifier_exclusive(&mut self) -> ::std::vec::Vec { - if self.has_end_qualifier_exclusive() { - match self.end_qualifier.take() { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_exclusive(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } -} - -impl ::protobuf::Message for ColumnRange { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.family_name)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_inclusive(is.read_bytes()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_exclusive(is.read_bytes()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_inclusive(is.read_bytes()?)); - }, - 5 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_exclusive(is.read_bytes()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.family_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.family_name); - } - if let ::std::option::Option::Some(ref v) = self.start_qualifier { - match v { - &ColumnRange_oneof_start_qualifier::start_qualifier_inclusive(ref v) => { - my_size += ::protobuf::rt::bytes_size(2, &v); - }, - &ColumnRange_oneof_start_qualifier::start_qualifier_exclusive(ref v) => { - my_size += ::protobuf::rt::bytes_size(3, &v); - }, - }; - } - if let ::std::option::Option::Some(ref v) = self.end_qualifier { - match v { - &ColumnRange_oneof_end_qualifier::end_qualifier_inclusive(ref v) => { - my_size += ::protobuf::rt::bytes_size(4, &v); - }, - &ColumnRange_oneof_end_qualifier::end_qualifier_exclusive(ref v) => { - my_size += ::protobuf::rt::bytes_size(5, &v); - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.family_name.is_empty() { - os.write_string(1, &self.family_name)?; - } - if let ::std::option::Option::Some(ref v) = self.start_qualifier { - match v { - &ColumnRange_oneof_start_qualifier::start_qualifier_inclusive(ref v) => { - os.write_bytes(2, v)?; - }, - &ColumnRange_oneof_start_qualifier::start_qualifier_exclusive(ref v) => { - os.write_bytes(3, v)?; - }, - }; - } - if let ::std::option::Option::Some(ref v) = self.end_qualifier { - match v { - &ColumnRange_oneof_end_qualifier::end_qualifier_inclusive(ref v) => { - os.write_bytes(4, v)?; - }, - &ColumnRange_oneof_end_qualifier::end_qualifier_exclusive(ref v) => { - os.write_bytes(5, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ColumnRange { - ColumnRange::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "family_name", - |m: &ColumnRange| { &m.family_name }, - |m: &mut ColumnRange| { &mut m.family_name }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "start_qualifier_inclusive", - ColumnRange::has_start_qualifier_inclusive, - ColumnRange::get_start_qualifier_inclusive, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "start_qualifier_exclusive", - ColumnRange::has_start_qualifier_exclusive, - ColumnRange::get_start_qualifier_exclusive, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "end_qualifier_inclusive", - ColumnRange::has_end_qualifier_inclusive, - ColumnRange::get_end_qualifier_inclusive, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "end_qualifier_exclusive", - ColumnRange::has_end_qualifier_exclusive, - ColumnRange::get_end_qualifier_exclusive, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ColumnRange", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ColumnRange { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ColumnRange, - }; - unsafe { - instance.get(ColumnRange::new) - } - } -} - -impl ::protobuf::Clear for ColumnRange { - fn clear(&mut self) { - self.family_name.clear(); - self.start_qualifier = ::std::option::Option::None; - self.start_qualifier = ::std::option::Option::None; - self.end_qualifier = ::std::option::Option::None; - self.end_qualifier = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ColumnRange { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ColumnRange { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct TimestampRange { - // message fields - pub start_timestamp_micros: i64, - pub end_timestamp_micros: i64, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a TimestampRange { - fn default() -> &'a TimestampRange { - ::default_instance() - } -} - -impl TimestampRange { - pub fn new() -> TimestampRange { - ::std::default::Default::default() - } - - // int64 start_timestamp_micros = 1; - - - pub fn get_start_timestamp_micros(&self) -> i64 { - self.start_timestamp_micros - } - pub fn clear_start_timestamp_micros(&mut self) { - self.start_timestamp_micros = 0; - } - - // Param is passed by value, moved - pub fn set_start_timestamp_micros(&mut self, v: i64) { - self.start_timestamp_micros = v; - } - - // int64 end_timestamp_micros = 2; - - - pub fn get_end_timestamp_micros(&self) -> i64 { - self.end_timestamp_micros - } - pub fn clear_end_timestamp_micros(&mut self) { - self.end_timestamp_micros = 0; - } - - // Param is passed by value, moved - pub fn set_end_timestamp_micros(&mut self, v: i64) { - self.end_timestamp_micros = v; - } -} - -impl ::protobuf::Message for TimestampRange { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.start_timestamp_micros = tmp; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.end_timestamp_micros = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if self.start_timestamp_micros != 0 { - my_size += ::protobuf::rt::value_size(1, self.start_timestamp_micros, ::protobuf::wire_format::WireTypeVarint); - } - if self.end_timestamp_micros != 0 { - my_size += ::protobuf::rt::value_size(2, self.end_timestamp_micros, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if self.start_timestamp_micros != 0 { - os.write_int64(1, self.start_timestamp_micros)?; - } - if self.end_timestamp_micros != 0 { - os.write_int64(2, self.end_timestamp_micros)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> TimestampRange { - TimestampRange::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "start_timestamp_micros", - |m: &TimestampRange| { &m.start_timestamp_micros }, - |m: &mut TimestampRange| { &mut m.start_timestamp_micros }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "end_timestamp_micros", - |m: &TimestampRange| { &m.end_timestamp_micros }, - |m: &mut TimestampRange| { &mut m.end_timestamp_micros }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "TimestampRange", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static TimestampRange { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const TimestampRange, - }; - unsafe { - instance.get(TimestampRange::new) - } - } -} - -impl ::protobuf::Clear for TimestampRange { - fn clear(&mut self) { - self.start_timestamp_micros = 0; - self.end_timestamp_micros = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for TimestampRange { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for TimestampRange { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ValueRange { - // message oneof groups - pub start_value: ::std::option::Option, - pub end_value: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ValueRange { - fn default() -> &'a ValueRange { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ValueRange_oneof_start_value { - start_value_inclusive(::std::vec::Vec), - start_value_exclusive(::std::vec::Vec), -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ValueRange_oneof_end_value { - end_value_inclusive(::std::vec::Vec), - end_value_exclusive(::std::vec::Vec), -} - -impl ValueRange { - pub fn new() -> ValueRange { - ::std::default::Default::default() - } - - // bytes start_value_inclusive = 1; - - - pub fn get_start_value_inclusive(&self) -> &[u8] { - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_inclusive(ref v)) => v, - _ => &[], - } - } - pub fn clear_start_value_inclusive(&mut self) { - self.start_value = ::std::option::Option::None; - } - - pub fn has_start_value_inclusive(&self) -> bool { - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_inclusive(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_start_value_inclusive(&mut self, v: ::std::vec::Vec) { - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_inclusive(v)) - } - - // Mutable pointer to the field. - pub fn mut_start_value_inclusive(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_inclusive(_)) = self.start_value { - } else { - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_inclusive(::std::vec::Vec::new())); - } - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_inclusive(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_start_value_inclusive(&mut self) -> ::std::vec::Vec { - if self.has_start_value_inclusive() { - match self.start_value.take() { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_inclusive(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes start_value_exclusive = 2; - - - pub fn get_start_value_exclusive(&self) -> &[u8] { - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_exclusive(ref v)) => v, - _ => &[], - } - } - pub fn clear_start_value_exclusive(&mut self) { - self.start_value = ::std::option::Option::None; - } - - pub fn has_start_value_exclusive(&self) -> bool { - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_exclusive(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_start_value_exclusive(&mut self, v: ::std::vec::Vec) { - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_exclusive(v)) - } - - // Mutable pointer to the field. - pub fn mut_start_value_exclusive(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_exclusive(_)) = self.start_value { - } else { - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_exclusive(::std::vec::Vec::new())); - } - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_exclusive(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_start_value_exclusive(&mut self) -> ::std::vec::Vec { - if self.has_start_value_exclusive() { - match self.start_value.take() { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_exclusive(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes end_value_inclusive = 3; - - - pub fn get_end_value_inclusive(&self) -> &[u8] { - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_inclusive(ref v)) => v, - _ => &[], - } - } - pub fn clear_end_value_inclusive(&mut self) { - self.end_value = ::std::option::Option::None; - } - - pub fn has_end_value_inclusive(&self) -> bool { - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_inclusive(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_end_value_inclusive(&mut self, v: ::std::vec::Vec) { - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_inclusive(v)) - } - - // Mutable pointer to the field. - pub fn mut_end_value_inclusive(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_inclusive(_)) = self.end_value { - } else { - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_inclusive(::std::vec::Vec::new())); - } - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_inclusive(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_end_value_inclusive(&mut self) -> ::std::vec::Vec { - if self.has_end_value_inclusive() { - match self.end_value.take() { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_inclusive(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes end_value_exclusive = 4; - - - pub fn get_end_value_exclusive(&self) -> &[u8] { - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_exclusive(ref v)) => v, - _ => &[], - } - } - pub fn clear_end_value_exclusive(&mut self) { - self.end_value = ::std::option::Option::None; - } - - pub fn has_end_value_exclusive(&self) -> bool { - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_exclusive(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_end_value_exclusive(&mut self, v: ::std::vec::Vec) { - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_exclusive(v)) - } - - // Mutable pointer to the field. - pub fn mut_end_value_exclusive(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_exclusive(_)) = self.end_value { - } else { - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_exclusive(::std::vec::Vec::new())); - } - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_exclusive(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_end_value_exclusive(&mut self) -> ::std::vec::Vec { - if self.has_end_value_exclusive() { - match self.end_value.take() { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_exclusive(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } -} - -impl ::protobuf::Message for ValueRange { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_inclusive(is.read_bytes()?)); - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_exclusive(is.read_bytes()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_inclusive(is.read_bytes()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_exclusive(is.read_bytes()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let ::std::option::Option::Some(ref v) = self.start_value { - match v { - &ValueRange_oneof_start_value::start_value_inclusive(ref v) => { - my_size += ::protobuf::rt::bytes_size(1, &v); - }, - &ValueRange_oneof_start_value::start_value_exclusive(ref v) => { - my_size += ::protobuf::rt::bytes_size(2, &v); - }, - }; - } - if let ::std::option::Option::Some(ref v) = self.end_value { - match v { - &ValueRange_oneof_end_value::end_value_inclusive(ref v) => { - my_size += ::protobuf::rt::bytes_size(3, &v); - }, - &ValueRange_oneof_end_value::end_value_exclusive(ref v) => { - my_size += ::protobuf::rt::bytes_size(4, &v); - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let ::std::option::Option::Some(ref v) = self.start_value { - match v { - &ValueRange_oneof_start_value::start_value_inclusive(ref v) => { - os.write_bytes(1, v)?; - }, - &ValueRange_oneof_start_value::start_value_exclusive(ref v) => { - os.write_bytes(2, v)?; - }, - }; - } - if let ::std::option::Option::Some(ref v) = self.end_value { - match v { - &ValueRange_oneof_end_value::end_value_inclusive(ref v) => { - os.write_bytes(3, v)?; - }, - &ValueRange_oneof_end_value::end_value_exclusive(ref v) => { - os.write_bytes(4, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ValueRange { - ValueRange::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "start_value_inclusive", - ValueRange::has_start_value_inclusive, - ValueRange::get_start_value_inclusive, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "start_value_exclusive", - ValueRange::has_start_value_exclusive, - ValueRange::get_start_value_exclusive, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "end_value_inclusive", - ValueRange::has_end_value_inclusive, - ValueRange::get_end_value_inclusive, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "end_value_exclusive", - ValueRange::has_end_value_exclusive, - ValueRange::get_end_value_exclusive, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ValueRange", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ValueRange { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ValueRange, - }; - unsafe { - instance.get(ValueRange::new) - } - } -} - -impl ::protobuf::Clear for ValueRange { - fn clear(&mut self) { - self.start_value = ::std::option::Option::None; - self.start_value = ::std::option::Option::None; - self.end_value = ::std::option::Option::None; - self.end_value = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ValueRange { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ValueRange { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowFilter { - // message oneof groups - pub filter: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowFilter { - fn default() -> &'a RowFilter { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum RowFilter_oneof_filter { - chain(RowFilter_Chain), - interleave(RowFilter_Interleave), - condition(RowFilter_Condition), - sink(bool), - pass_all_filter(bool), - block_all_filter(bool), - row_key_regex_filter(::std::vec::Vec), - row_sample_filter(f64), - family_name_regex_filter(::std::string::String), - column_qualifier_regex_filter(::std::vec::Vec), - column_range_filter(ColumnRange), - timestamp_range_filter(TimestampRange), - value_regex_filter(::std::vec::Vec), - value_range_filter(ValueRange), - cells_per_row_offset_filter(i32), - cells_per_row_limit_filter(i32), - cells_per_column_limit_filter(i32), - strip_value_transformer(bool), - apply_label_transformer(::std::string::String), -} - -impl RowFilter { - pub fn new() -> RowFilter { - ::std::default::Default::default() - } - - // .google.bigtable.v1.RowFilter.Chain chain = 1; - - - pub fn get_chain(&self) -> &RowFilter_Chain { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::chain(ref v)) => v, - _ => RowFilter_Chain::default_instance(), - } - } - pub fn clear_chain(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_chain(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::chain(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_chain(&mut self, v: RowFilter_Chain) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::chain(v)) - } - - // Mutable pointer to the field. - pub fn mut_chain(&mut self) -> &mut RowFilter_Chain { - if let ::std::option::Option::Some(RowFilter_oneof_filter::chain(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::chain(RowFilter_Chain::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::chain(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_chain(&mut self) -> RowFilter_Chain { - if self.has_chain() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::chain(v)) => v, - _ => panic!(), - } - } else { - RowFilter_Chain::new() - } - } - - // .google.bigtable.v1.RowFilter.Interleave interleave = 2; - - - pub fn get_interleave(&self) -> &RowFilter_Interleave { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::interleave(ref v)) => v, - _ => RowFilter_Interleave::default_instance(), - } - } - pub fn clear_interleave(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_interleave(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::interleave(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_interleave(&mut self, v: RowFilter_Interleave) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::interleave(v)) - } - - // Mutable pointer to the field. - pub fn mut_interleave(&mut self) -> &mut RowFilter_Interleave { - if let ::std::option::Option::Some(RowFilter_oneof_filter::interleave(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::interleave(RowFilter_Interleave::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::interleave(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_interleave(&mut self) -> RowFilter_Interleave { - if self.has_interleave() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::interleave(v)) => v, - _ => panic!(), - } - } else { - RowFilter_Interleave::new() - } - } - - // .google.bigtable.v1.RowFilter.Condition condition = 3; - - - pub fn get_condition(&self) -> &RowFilter_Condition { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::condition(ref v)) => v, - _ => RowFilter_Condition::default_instance(), - } - } - pub fn clear_condition(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_condition(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::condition(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_condition(&mut self, v: RowFilter_Condition) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::condition(v)) - } - - // Mutable pointer to the field. - pub fn mut_condition(&mut self) -> &mut RowFilter_Condition { - if let ::std::option::Option::Some(RowFilter_oneof_filter::condition(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::condition(RowFilter_Condition::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::condition(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_condition(&mut self) -> RowFilter_Condition { - if self.has_condition() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::condition(v)) => v, - _ => panic!(), - } - } else { - RowFilter_Condition::new() - } - } - - // bool sink = 16; - - - pub fn get_sink(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::sink(v)) => v, - _ => false, - } - } - pub fn clear_sink(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_sink(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::sink(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_sink(&mut self, v: bool) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::sink(v)) - } - - // bool pass_all_filter = 17; - - - pub fn get_pass_all_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::pass_all_filter(v)) => v, - _ => false, - } - } - pub fn clear_pass_all_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_pass_all_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::pass_all_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_pass_all_filter(&mut self, v: bool) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::pass_all_filter(v)) - } - - // bool block_all_filter = 18; - - - pub fn get_block_all_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::block_all_filter(v)) => v, - _ => false, - } - } - pub fn clear_block_all_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_block_all_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::block_all_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_block_all_filter(&mut self, v: bool) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::block_all_filter(v)) - } - - // bytes row_key_regex_filter = 4; - - - pub fn get_row_key_regex_filter(&self) -> &[u8] { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(ref v)) => v, - _ => &[], - } - } - pub fn clear_row_key_regex_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_row_key_regex_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_row_key_regex_filter(&mut self, v: ::std::vec::Vec) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_row_key_regex_filter(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(::std::vec::Vec::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_row_key_regex_filter(&mut self) -> ::std::vec::Vec { - if self.has_row_key_regex_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // double row_sample_filter = 14; - - - pub fn get_row_sample_filter(&self) -> f64 { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::row_sample_filter(v)) => v, - _ => 0., - } - } - pub fn clear_row_sample_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_row_sample_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::row_sample_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_row_sample_filter(&mut self, v: f64) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::row_sample_filter(v)) - } - - // string family_name_regex_filter = 5; - - - pub fn get_family_name_regex_filter(&self) -> &str { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(ref v)) => v, - _ => "", - } - } - pub fn clear_family_name_regex_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_family_name_regex_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_family_name_regex_filter(&mut self, v: ::std::string::String) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_family_name_regex_filter(&mut self) -> &mut ::std::string::String { - if let ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(::std::string::String::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_family_name_regex_filter(&mut self) -> ::std::string::String { - if self.has_family_name_regex_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(v)) => v, - _ => panic!(), - } - } else { - ::std::string::String::new() - } - } - - // bytes column_qualifier_regex_filter = 6; - - - pub fn get_column_qualifier_regex_filter(&self) -> &[u8] { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(ref v)) => v, - _ => &[], - } - } - pub fn clear_column_qualifier_regex_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_column_qualifier_regex_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_column_qualifier_regex_filter(&mut self, v: ::std::vec::Vec) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_column_qualifier_regex_filter(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(::std::vec::Vec::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_column_qualifier_regex_filter(&mut self) -> ::std::vec::Vec { - if self.has_column_qualifier_regex_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // .google.bigtable.v1.ColumnRange column_range_filter = 7; - - - pub fn get_column_range_filter(&self) -> &ColumnRange { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(ref v)) => v, - _ => ColumnRange::default_instance(), - } - } - pub fn clear_column_range_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_column_range_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_column_range_filter(&mut self, v: ColumnRange) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_column_range_filter(&mut self) -> &mut ColumnRange { - if let ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(ColumnRange::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_column_range_filter(&mut self) -> ColumnRange { - if self.has_column_range_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(v)) => v, - _ => panic!(), - } - } else { - ColumnRange::new() - } - } - - // .google.bigtable.v1.TimestampRange timestamp_range_filter = 8; - - - pub fn get_timestamp_range_filter(&self) -> &TimestampRange { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(ref v)) => v, - _ => TimestampRange::default_instance(), - } - } - pub fn clear_timestamp_range_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_timestamp_range_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_timestamp_range_filter(&mut self, v: TimestampRange) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_timestamp_range_filter(&mut self) -> &mut TimestampRange { - if let ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(TimestampRange::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_timestamp_range_filter(&mut self) -> TimestampRange { - if self.has_timestamp_range_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(v)) => v, - _ => panic!(), - } - } else { - TimestampRange::new() - } - } - - // bytes value_regex_filter = 9; - - - pub fn get_value_regex_filter(&self) -> &[u8] { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(ref v)) => v, - _ => &[], - } - } - pub fn clear_value_regex_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_value_regex_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_value_regex_filter(&mut self, v: ::std::vec::Vec) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_value_regex_filter(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(::std::vec::Vec::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_value_regex_filter(&mut self) -> ::std::vec::Vec { - if self.has_value_regex_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // .google.bigtable.v1.ValueRange value_range_filter = 15; - - - pub fn get_value_range_filter(&self) -> &ValueRange { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(ref v)) => v, - _ => ValueRange::default_instance(), - } - } - pub fn clear_value_range_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_value_range_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_value_range_filter(&mut self, v: ValueRange) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_value_range_filter(&mut self) -> &mut ValueRange { - if let ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(ValueRange::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_value_range_filter(&mut self) -> ValueRange { - if self.has_value_range_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(v)) => v, - _ => panic!(), - } - } else { - ValueRange::new() - } - } - - // int32 cells_per_row_offset_filter = 10; - - - pub fn get_cells_per_row_offset_filter(&self) -> i32 { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_offset_filter(v)) => v, - _ => 0, - } - } - pub fn clear_cells_per_row_offset_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_cells_per_row_offset_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_offset_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_cells_per_row_offset_filter(&mut self, v: i32) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_offset_filter(v)) - } - - // int32 cells_per_row_limit_filter = 11; - - - pub fn get_cells_per_row_limit_filter(&self) -> i32 { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_limit_filter(v)) => v, - _ => 0, - } - } - pub fn clear_cells_per_row_limit_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_cells_per_row_limit_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_limit_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_cells_per_row_limit_filter(&mut self, v: i32) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_limit_filter(v)) - } - - // int32 cells_per_column_limit_filter = 12; - - - pub fn get_cells_per_column_limit_filter(&self) -> i32 { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_column_limit_filter(v)) => v, - _ => 0, - } - } - pub fn clear_cells_per_column_limit_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_cells_per_column_limit_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_column_limit_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_cells_per_column_limit_filter(&mut self, v: i32) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_column_limit_filter(v)) - } - - // bool strip_value_transformer = 13; - - - pub fn get_strip_value_transformer(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::strip_value_transformer(v)) => v, - _ => false, - } - } - pub fn clear_strip_value_transformer(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_strip_value_transformer(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::strip_value_transformer(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_strip_value_transformer(&mut self, v: bool) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::strip_value_transformer(v)) - } - - // string apply_label_transformer = 19; - - - pub fn get_apply_label_transformer(&self) -> &str { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(ref v)) => v, - _ => "", - } - } - pub fn clear_apply_label_transformer(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_apply_label_transformer(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_apply_label_transformer(&mut self, v: ::std::string::String) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(v)) - } - - // Mutable pointer to the field. - pub fn mut_apply_label_transformer(&mut self) -> &mut ::std::string::String { - if let ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(::std::string::String::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_apply_label_transformer(&mut self) -> ::std::string::String { - if self.has_apply_label_transformer() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(v)) => v, - _ => panic!(), - } - } else { - ::std::string::String::new() - } - } -} - -impl ::protobuf::Message for RowFilter { - fn is_initialized(&self) -> bool { - if let Some(RowFilter_oneof_filter::chain(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - if let Some(RowFilter_oneof_filter::interleave(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - if let Some(RowFilter_oneof_filter::condition(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - if let Some(RowFilter_oneof_filter::column_range_filter(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - if let Some(RowFilter_oneof_filter::timestamp_range_filter(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - if let Some(RowFilter_oneof_filter::value_range_filter(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::chain(is.read_message()?)); - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::interleave(is.read_message()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::condition(is.read_message()?)); - }, - 16 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::sink(is.read_bool()?)); - }, - 17 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::pass_all_filter(is.read_bool()?)); - }, - 18 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::block_all_filter(is.read_bool()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(is.read_bytes()?)); - }, - 14 => { - if wire_type != ::protobuf::wire_format::WireTypeFixed64 { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::row_sample_filter(is.read_double()?)); - }, - 5 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(is.read_string()?)); - }, - 6 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(is.read_bytes()?)); - }, - 7 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(is.read_message()?)); - }, - 8 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(is.read_message()?)); - }, - 9 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(is.read_bytes()?)); - }, - 15 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(is.read_message()?)); - }, - 10 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_offset_filter(is.read_int32()?)); - }, - 11 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_limit_filter(is.read_int32()?)); - }, - 12 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_column_limit_filter(is.read_int32()?)); - }, - 13 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::strip_value_transformer(is.read_bool()?)); - }, - 19 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(is.read_string()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let ::std::option::Option::Some(ref v) = self.filter { - match v { - &RowFilter_oneof_filter::chain(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::interleave(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::condition(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::sink(v) => { - my_size += 3; - }, - &RowFilter_oneof_filter::pass_all_filter(v) => { - my_size += 3; - }, - &RowFilter_oneof_filter::block_all_filter(v) => { - my_size += 3; - }, - &RowFilter_oneof_filter::row_key_regex_filter(ref v) => { - my_size += ::protobuf::rt::bytes_size(4, &v); - }, - &RowFilter_oneof_filter::row_sample_filter(v) => { - my_size += 9; - }, - &RowFilter_oneof_filter::family_name_regex_filter(ref v) => { - my_size += ::protobuf::rt::string_size(5, &v); - }, - &RowFilter_oneof_filter::column_qualifier_regex_filter(ref v) => { - my_size += ::protobuf::rt::bytes_size(6, &v); - }, - &RowFilter_oneof_filter::column_range_filter(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::timestamp_range_filter(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::value_regex_filter(ref v) => { - my_size += ::protobuf::rt::bytes_size(9, &v); - }, - &RowFilter_oneof_filter::value_range_filter(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::cells_per_row_offset_filter(v) => { - my_size += ::protobuf::rt::value_size(10, v, ::protobuf::wire_format::WireTypeVarint); - }, - &RowFilter_oneof_filter::cells_per_row_limit_filter(v) => { - my_size += ::protobuf::rt::value_size(11, v, ::protobuf::wire_format::WireTypeVarint); - }, - &RowFilter_oneof_filter::cells_per_column_limit_filter(v) => { - my_size += ::protobuf::rt::value_size(12, v, ::protobuf::wire_format::WireTypeVarint); - }, - &RowFilter_oneof_filter::strip_value_transformer(v) => { - my_size += 2; - }, - &RowFilter_oneof_filter::apply_label_transformer(ref v) => { - my_size += ::protobuf::rt::string_size(19, &v); - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let ::std::option::Option::Some(ref v) = self.filter { - match v { - &RowFilter_oneof_filter::chain(ref v) => { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::interleave(ref v) => { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::condition(ref v) => { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::sink(v) => { - os.write_bool(16, v)?; - }, - &RowFilter_oneof_filter::pass_all_filter(v) => { - os.write_bool(17, v)?; - }, - &RowFilter_oneof_filter::block_all_filter(v) => { - os.write_bool(18, v)?; - }, - &RowFilter_oneof_filter::row_key_regex_filter(ref v) => { - os.write_bytes(4, v)?; - }, - &RowFilter_oneof_filter::row_sample_filter(v) => { - os.write_double(14, v)?; - }, - &RowFilter_oneof_filter::family_name_regex_filter(ref v) => { - os.write_string(5, v)?; - }, - &RowFilter_oneof_filter::column_qualifier_regex_filter(ref v) => { - os.write_bytes(6, v)?; - }, - &RowFilter_oneof_filter::column_range_filter(ref v) => { - os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::timestamp_range_filter(ref v) => { - os.write_tag(8, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::value_regex_filter(ref v) => { - os.write_bytes(9, v)?; - }, - &RowFilter_oneof_filter::value_range_filter(ref v) => { - os.write_tag(15, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::cells_per_row_offset_filter(v) => { - os.write_int32(10, v)?; - }, - &RowFilter_oneof_filter::cells_per_row_limit_filter(v) => { - os.write_int32(11, v)?; - }, - &RowFilter_oneof_filter::cells_per_column_limit_filter(v) => { - os.write_int32(12, v)?; - }, - &RowFilter_oneof_filter::strip_value_transformer(v) => { - os.write_bool(13, v)?; - }, - &RowFilter_oneof_filter::apply_label_transformer(ref v) => { - os.write_string(19, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowFilter { - RowFilter::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, RowFilter_Chain>( - "chain", - RowFilter::has_chain, - RowFilter::get_chain, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, RowFilter_Interleave>( - "interleave", - RowFilter::has_interleave, - RowFilter::get_interleave, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, RowFilter_Condition>( - "condition", - RowFilter::has_condition, - RowFilter::get_condition, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "sink", - RowFilter::has_sink, - RowFilter::get_sink, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "pass_all_filter", - RowFilter::has_pass_all_filter, - RowFilter::get_pass_all_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "block_all_filter", - RowFilter::has_block_all_filter, - RowFilter::get_block_all_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "row_key_regex_filter", - RowFilter::has_row_key_regex_filter, - RowFilter::get_row_key_regex_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_f64_accessor::<_>( - "row_sample_filter", - RowFilter::has_row_sample_filter, - RowFilter::get_row_sample_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>( - "family_name_regex_filter", - RowFilter::has_family_name_regex_filter, - RowFilter::get_family_name_regex_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "column_qualifier_regex_filter", - RowFilter::has_column_qualifier_regex_filter, - RowFilter::get_column_qualifier_regex_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ColumnRange>( - "column_range_filter", - RowFilter::has_column_range_filter, - RowFilter::get_column_range_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, TimestampRange>( - "timestamp_range_filter", - RowFilter::has_timestamp_range_filter, - RowFilter::get_timestamp_range_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "value_regex_filter", - RowFilter::has_value_regex_filter, - RowFilter::get_value_regex_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ValueRange>( - "value_range_filter", - RowFilter::has_value_range_filter, - RowFilter::get_value_range_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor::<_>( - "cells_per_row_offset_filter", - RowFilter::has_cells_per_row_offset_filter, - RowFilter::get_cells_per_row_offset_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor::<_>( - "cells_per_row_limit_filter", - RowFilter::has_cells_per_row_limit_filter, - RowFilter::get_cells_per_row_limit_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor::<_>( - "cells_per_column_limit_filter", - RowFilter::has_cells_per_column_limit_filter, - RowFilter::get_cells_per_column_limit_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "strip_value_transformer", - RowFilter::has_strip_value_transformer, - RowFilter::get_strip_value_transformer, - )); - fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>( - "apply_label_transformer", - RowFilter::has_apply_label_transformer, - RowFilter::get_apply_label_transformer, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowFilter", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowFilter { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowFilter, - }; - unsafe { - instance.get(RowFilter::new) - } - } -} - -impl ::protobuf::Clear for RowFilter { - fn clear(&mut self) { - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowFilter { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowFilter { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowFilter_Chain { - // message fields - pub filters: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowFilter_Chain { - fn default() -> &'a RowFilter_Chain { - ::default_instance() - } -} - -impl RowFilter_Chain { - pub fn new() -> RowFilter_Chain { - ::std::default::Default::default() - } - - // repeated .google.bigtable.v1.RowFilter filters = 1; - - - pub fn get_filters(&self) -> &[RowFilter] { - &self.filters - } - pub fn clear_filters(&mut self) { - self.filters.clear(); - } - - // Param is passed by value, moved - pub fn set_filters(&mut self, v: ::protobuf::RepeatedField) { - self.filters = v; - } - - // Mutable pointer to the field. - pub fn mut_filters(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.filters - } - - // Take field - pub fn take_filters(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.filters, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for RowFilter_Chain { - fn is_initialized(&self) -> bool { - for v in &self.filters { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.filters)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.filters { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.filters { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowFilter_Chain { - RowFilter_Chain::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "filters", - |m: &RowFilter_Chain| { &m.filters }, - |m: &mut RowFilter_Chain| { &mut m.filters }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowFilter_Chain", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowFilter_Chain { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowFilter_Chain, - }; - unsafe { - instance.get(RowFilter_Chain::new) - } - } -} - -impl ::protobuf::Clear for RowFilter_Chain { - fn clear(&mut self) { - self.filters.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowFilter_Chain { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowFilter_Chain { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowFilter_Interleave { - // message fields - pub filters: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowFilter_Interleave { - fn default() -> &'a RowFilter_Interleave { - ::default_instance() - } -} - -impl RowFilter_Interleave { - pub fn new() -> RowFilter_Interleave { - ::std::default::Default::default() - } - - // repeated .google.bigtable.v1.RowFilter filters = 1; - - - pub fn get_filters(&self) -> &[RowFilter] { - &self.filters - } - pub fn clear_filters(&mut self) { - self.filters.clear(); - } - - // Param is passed by value, moved - pub fn set_filters(&mut self, v: ::protobuf::RepeatedField) { - self.filters = v; - } - - // Mutable pointer to the field. - pub fn mut_filters(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.filters - } - - // Take field - pub fn take_filters(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.filters, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for RowFilter_Interleave { - fn is_initialized(&self) -> bool { - for v in &self.filters { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.filters)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.filters { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.filters { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowFilter_Interleave { - RowFilter_Interleave::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "filters", - |m: &RowFilter_Interleave| { &m.filters }, - |m: &mut RowFilter_Interleave| { &mut m.filters }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowFilter_Interleave", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowFilter_Interleave { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowFilter_Interleave, - }; - unsafe { - instance.get(RowFilter_Interleave::new) - } - } -} - -impl ::protobuf::Clear for RowFilter_Interleave { - fn clear(&mut self) { - self.filters.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowFilter_Interleave { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowFilter_Interleave { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowFilter_Condition { - // message fields - pub predicate_filter: ::protobuf::SingularPtrField, - pub true_filter: ::protobuf::SingularPtrField, - pub false_filter: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowFilter_Condition { - fn default() -> &'a RowFilter_Condition { - ::default_instance() - } -} - -impl RowFilter_Condition { - pub fn new() -> RowFilter_Condition { - ::std::default::Default::default() - } - - // .google.bigtable.v1.RowFilter predicate_filter = 1; - - - pub fn get_predicate_filter(&self) -> &RowFilter { - self.predicate_filter.as_ref().unwrap_or_else(|| RowFilter::default_instance()) - } - pub fn clear_predicate_filter(&mut self) { - self.predicate_filter.clear(); - } - - pub fn has_predicate_filter(&self) -> bool { - self.predicate_filter.is_some() - } - - // Param is passed by value, moved - pub fn set_predicate_filter(&mut self, v: RowFilter) { - self.predicate_filter = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_predicate_filter(&mut self) -> &mut RowFilter { - if self.predicate_filter.is_none() { - self.predicate_filter.set_default(); - } - self.predicate_filter.as_mut().unwrap() - } - - // Take field - pub fn take_predicate_filter(&mut self) -> RowFilter { - self.predicate_filter.take().unwrap_or_else(|| RowFilter::new()) - } - - // .google.bigtable.v1.RowFilter true_filter = 2; - - - pub fn get_true_filter(&self) -> &RowFilter { - self.true_filter.as_ref().unwrap_or_else(|| RowFilter::default_instance()) - } - pub fn clear_true_filter(&mut self) { - self.true_filter.clear(); - } - - pub fn has_true_filter(&self) -> bool { - self.true_filter.is_some() - } - - // Param is passed by value, moved - pub fn set_true_filter(&mut self, v: RowFilter) { - self.true_filter = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_true_filter(&mut self) -> &mut RowFilter { - if self.true_filter.is_none() { - self.true_filter.set_default(); - } - self.true_filter.as_mut().unwrap() - } - - // Take field - pub fn take_true_filter(&mut self) -> RowFilter { - self.true_filter.take().unwrap_or_else(|| RowFilter::new()) - } - - // .google.bigtable.v1.RowFilter false_filter = 3; - - - pub fn get_false_filter(&self) -> &RowFilter { - self.false_filter.as_ref().unwrap_or_else(|| RowFilter::default_instance()) - } - pub fn clear_false_filter(&mut self) { - self.false_filter.clear(); - } - - pub fn has_false_filter(&self) -> bool { - self.false_filter.is_some() - } - - // Param is passed by value, moved - pub fn set_false_filter(&mut self, v: RowFilter) { - self.false_filter = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_false_filter(&mut self) -> &mut RowFilter { - if self.false_filter.is_none() { - self.false_filter.set_default(); - } - self.false_filter.as_mut().unwrap() - } - - // Take field - pub fn take_false_filter(&mut self) -> RowFilter { - self.false_filter.take().unwrap_or_else(|| RowFilter::new()) - } -} - -impl ::protobuf::Message for RowFilter_Condition { - fn is_initialized(&self) -> bool { - for v in &self.predicate_filter { - if !v.is_initialized() { - return false; - } - }; - for v in &self.true_filter { - if !v.is_initialized() { - return false; - } - }; - for v in &self.false_filter { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.predicate_filter)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.true_filter)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.false_filter)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.predicate_filter.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.true_filter.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.false_filter.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.predicate_filter.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.true_filter.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.false_filter.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowFilter_Condition { - RowFilter_Condition::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "predicate_filter", - |m: &RowFilter_Condition| { &m.predicate_filter }, - |m: &mut RowFilter_Condition| { &mut m.predicate_filter }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "true_filter", - |m: &RowFilter_Condition| { &m.true_filter }, - |m: &mut RowFilter_Condition| { &mut m.true_filter }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "false_filter", - |m: &RowFilter_Condition| { &m.false_filter }, - |m: &mut RowFilter_Condition| { &mut m.false_filter }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowFilter_Condition", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowFilter_Condition { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowFilter_Condition, - }; - unsafe { - instance.get(RowFilter_Condition::new) - } - } -} - -impl ::protobuf::Clear for RowFilter_Condition { - fn clear(&mut self) { - self.predicate_filter.clear(); - self.true_filter.clear(); - self.false_filter.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowFilter_Condition { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowFilter_Condition { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Mutation { - // message oneof groups - pub mutation: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Mutation { - fn default() -> &'a Mutation { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum Mutation_oneof_mutation { - set_cell(Mutation_SetCell), - delete_from_column(Mutation_DeleteFromColumn), - delete_from_family(Mutation_DeleteFromFamily), - delete_from_row(Mutation_DeleteFromRow), -} - -impl Mutation { - pub fn new() -> Mutation { - ::std::default::Default::default() - } - - // .google.bigtable.v1.Mutation.SetCell set_cell = 1; - - - pub fn get_set_cell(&self) -> &Mutation_SetCell { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(ref v)) => v, - _ => Mutation_SetCell::default_instance(), - } - } - pub fn clear_set_cell(&mut self) { - self.mutation = ::std::option::Option::None; - } - - pub fn has_set_cell(&self) -> bool { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_set_cell(&mut self, v: Mutation_SetCell) { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(v)) - } - - // Mutable pointer to the field. - pub fn mut_set_cell(&mut self) -> &mut Mutation_SetCell { - if let ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(_)) = self.mutation { - } else { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(Mutation_SetCell::new())); - } - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_set_cell(&mut self) -> Mutation_SetCell { - if self.has_set_cell() { - match self.mutation.take() { - ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(v)) => v, - _ => panic!(), - } - } else { - Mutation_SetCell::new() - } - } - - // .google.bigtable.v1.Mutation.DeleteFromColumn delete_from_column = 2; - - - pub fn get_delete_from_column(&self) -> &Mutation_DeleteFromColumn { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(ref v)) => v, - _ => Mutation_DeleteFromColumn::default_instance(), - } - } - pub fn clear_delete_from_column(&mut self) { - self.mutation = ::std::option::Option::None; - } - - pub fn has_delete_from_column(&self) -> bool { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_delete_from_column(&mut self, v: Mutation_DeleteFromColumn) { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(v)) - } - - // Mutable pointer to the field. - pub fn mut_delete_from_column(&mut self) -> &mut Mutation_DeleteFromColumn { - if let ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(_)) = self.mutation { - } else { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(Mutation_DeleteFromColumn::new())); - } - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_delete_from_column(&mut self) -> Mutation_DeleteFromColumn { - if self.has_delete_from_column() { - match self.mutation.take() { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(v)) => v, - _ => panic!(), - } - } else { - Mutation_DeleteFromColumn::new() - } - } - - // .google.bigtable.v1.Mutation.DeleteFromFamily delete_from_family = 3; - - - pub fn get_delete_from_family(&self) -> &Mutation_DeleteFromFamily { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(ref v)) => v, - _ => Mutation_DeleteFromFamily::default_instance(), - } - } - pub fn clear_delete_from_family(&mut self) { - self.mutation = ::std::option::Option::None; - } - - pub fn has_delete_from_family(&self) -> bool { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_delete_from_family(&mut self, v: Mutation_DeleteFromFamily) { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(v)) - } - - // Mutable pointer to the field. - pub fn mut_delete_from_family(&mut self) -> &mut Mutation_DeleteFromFamily { - if let ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(_)) = self.mutation { - } else { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(Mutation_DeleteFromFamily::new())); - } - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_delete_from_family(&mut self) -> Mutation_DeleteFromFamily { - if self.has_delete_from_family() { - match self.mutation.take() { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(v)) => v, - _ => panic!(), - } - } else { - Mutation_DeleteFromFamily::new() - } - } - - // .google.bigtable.v1.Mutation.DeleteFromRow delete_from_row = 4; - - - pub fn get_delete_from_row(&self) -> &Mutation_DeleteFromRow { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(ref v)) => v, - _ => Mutation_DeleteFromRow::default_instance(), - } - } - pub fn clear_delete_from_row(&mut self) { - self.mutation = ::std::option::Option::None; - } - - pub fn has_delete_from_row(&self) -> bool { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_delete_from_row(&mut self, v: Mutation_DeleteFromRow) { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(v)) - } - - // Mutable pointer to the field. - pub fn mut_delete_from_row(&mut self) -> &mut Mutation_DeleteFromRow { - if let ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(_)) = self.mutation { - } else { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(Mutation_DeleteFromRow::new())); - } - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_delete_from_row(&mut self) -> Mutation_DeleteFromRow { - if self.has_delete_from_row() { - match self.mutation.take() { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(v)) => v, - _ => panic!(), - } - } else { - Mutation_DeleteFromRow::new() - } - } -} - -impl ::protobuf::Message for Mutation { - fn is_initialized(&self) -> bool { - if let Some(Mutation_oneof_mutation::set_cell(ref v)) = self.mutation { - if !v.is_initialized() { - return false; - } - } - if let Some(Mutation_oneof_mutation::delete_from_column(ref v)) = self.mutation { - if !v.is_initialized() { - return false; - } - } - if let Some(Mutation_oneof_mutation::delete_from_family(ref v)) = self.mutation { - if !v.is_initialized() { - return false; - } - } - if let Some(Mutation_oneof_mutation::delete_from_row(ref v)) = self.mutation { - if !v.is_initialized() { - return false; - } - } - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(is.read_message()?)); - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(is.read_message()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(is.read_message()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(is.read_message()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let ::std::option::Option::Some(ref v) = self.mutation { - match v { - &Mutation_oneof_mutation::set_cell(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &Mutation_oneof_mutation::delete_from_column(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &Mutation_oneof_mutation::delete_from_family(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &Mutation_oneof_mutation::delete_from_row(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let ::std::option::Option::Some(ref v) = self.mutation { - match v { - &Mutation_oneof_mutation::set_cell(ref v) => { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &Mutation_oneof_mutation::delete_from_column(ref v) => { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &Mutation_oneof_mutation::delete_from_family(ref v) => { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &Mutation_oneof_mutation::delete_from_row(ref v) => { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Mutation { - Mutation::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, Mutation_SetCell>( - "set_cell", - Mutation::has_set_cell, - Mutation::get_set_cell, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, Mutation_DeleteFromColumn>( - "delete_from_column", - Mutation::has_delete_from_column, - Mutation::get_delete_from_column, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, Mutation_DeleteFromFamily>( - "delete_from_family", - Mutation::has_delete_from_family, - Mutation::get_delete_from_family, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, Mutation_DeleteFromRow>( - "delete_from_row", - Mutation::has_delete_from_row, - Mutation::get_delete_from_row, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Mutation { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation, - }; - unsafe { - instance.get(Mutation::new) - } - } -} - -impl ::protobuf::Clear for Mutation { - fn clear(&mut self) { - self.mutation = ::std::option::Option::None; - self.mutation = ::std::option::Option::None; - self.mutation = ::std::option::Option::None; - self.mutation = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Mutation { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Mutation { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Mutation_SetCell { - // message fields - pub family_name: ::std::string::String, - pub column_qualifier: ::std::vec::Vec, - pub timestamp_micros: i64, - pub value: ::std::vec::Vec, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Mutation_SetCell { - fn default() -> &'a Mutation_SetCell { - ::default_instance() - } -} - -impl Mutation_SetCell { - pub fn new() -> Mutation_SetCell { - ::std::default::Default::default() - } - - // string family_name = 1; - - - pub fn get_family_name(&self) -> &str { - &self.family_name - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::std::string::String) { - self.family_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::std::string::String { - &mut self.family_name - } - - // Take field - pub fn take_family_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.family_name, ::std::string::String::new()) - } - - // bytes column_qualifier = 2; - - - pub fn get_column_qualifier(&self) -> &[u8] { - &self.column_qualifier - } - pub fn clear_column_qualifier(&mut self) { - self.column_qualifier.clear(); - } - - // Param is passed by value, moved - pub fn set_column_qualifier(&mut self, v: ::std::vec::Vec) { - self.column_qualifier = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_column_qualifier(&mut self) -> &mut ::std::vec::Vec { - &mut self.column_qualifier - } - - // Take field - pub fn take_column_qualifier(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.column_qualifier, ::std::vec::Vec::new()) - } - - // int64 timestamp_micros = 3; - - - pub fn get_timestamp_micros(&self) -> i64 { - self.timestamp_micros - } - pub fn clear_timestamp_micros(&mut self) { - self.timestamp_micros = 0; - } - - // Param is passed by value, moved - pub fn set_timestamp_micros(&mut self, v: i64) { - self.timestamp_micros = v; - } - - // bytes value = 4; - - - pub fn get_value(&self) -> &[u8] { - &self.value - } - pub fn clear_value(&mut self) { - self.value.clear(); - } - - // Param is passed by value, moved - pub fn set_value(&mut self, v: ::std::vec::Vec) { - self.value = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_value(&mut self) -> &mut ::std::vec::Vec { - &mut self.value - } - - // Take field - pub fn take_value(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.value, ::std::vec::Vec::new()) - } -} - -impl ::protobuf::Message for Mutation_SetCell { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.family_name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.column_qualifier)?; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.timestamp_micros = tmp; - }, - 4 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.value)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.family_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.family_name); - } - if !self.column_qualifier.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.column_qualifier); - } - if self.timestamp_micros != 0 { - my_size += ::protobuf::rt::value_size(3, self.timestamp_micros, ::protobuf::wire_format::WireTypeVarint); - } - if !self.value.is_empty() { - my_size += ::protobuf::rt::bytes_size(4, &self.value); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.family_name.is_empty() { - os.write_string(1, &self.family_name)?; - } - if !self.column_qualifier.is_empty() { - os.write_bytes(2, &self.column_qualifier)?; - } - if self.timestamp_micros != 0 { - os.write_int64(3, self.timestamp_micros)?; - } - if !self.value.is_empty() { - os.write_bytes(4, &self.value)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Mutation_SetCell { - Mutation_SetCell::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "family_name", - |m: &Mutation_SetCell| { &m.family_name }, - |m: &mut Mutation_SetCell| { &mut m.family_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "column_qualifier", - |m: &Mutation_SetCell| { &m.column_qualifier }, - |m: &mut Mutation_SetCell| { &mut m.column_qualifier }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "timestamp_micros", - |m: &Mutation_SetCell| { &m.timestamp_micros }, - |m: &mut Mutation_SetCell| { &mut m.timestamp_micros }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "value", - |m: &Mutation_SetCell| { &m.value }, - |m: &mut Mutation_SetCell| { &mut m.value }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation_SetCell", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Mutation_SetCell { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation_SetCell, - }; - unsafe { - instance.get(Mutation_SetCell::new) - } - } -} - -impl ::protobuf::Clear for Mutation_SetCell { - fn clear(&mut self) { - self.family_name.clear(); - self.column_qualifier.clear(); - self.timestamp_micros = 0; - self.value.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Mutation_SetCell { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Mutation_SetCell { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Mutation_DeleteFromColumn { - // message fields - pub family_name: ::std::string::String, - pub column_qualifier: ::std::vec::Vec, - pub time_range: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Mutation_DeleteFromColumn { - fn default() -> &'a Mutation_DeleteFromColumn { - ::default_instance() - } -} - -impl Mutation_DeleteFromColumn { - pub fn new() -> Mutation_DeleteFromColumn { - ::std::default::Default::default() - } - - // string family_name = 1; - - - pub fn get_family_name(&self) -> &str { - &self.family_name - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::std::string::String) { - self.family_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::std::string::String { - &mut self.family_name - } - - // Take field - pub fn take_family_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.family_name, ::std::string::String::new()) - } - - // bytes column_qualifier = 2; - - - pub fn get_column_qualifier(&self) -> &[u8] { - &self.column_qualifier - } - pub fn clear_column_qualifier(&mut self) { - self.column_qualifier.clear(); - } - - // Param is passed by value, moved - pub fn set_column_qualifier(&mut self, v: ::std::vec::Vec) { - self.column_qualifier = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_column_qualifier(&mut self) -> &mut ::std::vec::Vec { - &mut self.column_qualifier - } - - // Take field - pub fn take_column_qualifier(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.column_qualifier, ::std::vec::Vec::new()) - } - - // .google.bigtable.v1.TimestampRange time_range = 3; - - - pub fn get_time_range(&self) -> &TimestampRange { - self.time_range.as_ref().unwrap_or_else(|| TimestampRange::default_instance()) - } - pub fn clear_time_range(&mut self) { - self.time_range.clear(); - } - - pub fn has_time_range(&self) -> bool { - self.time_range.is_some() - } - - // Param is passed by value, moved - pub fn set_time_range(&mut self, v: TimestampRange) { - self.time_range = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_time_range(&mut self) -> &mut TimestampRange { - if self.time_range.is_none() { - self.time_range.set_default(); - } - self.time_range.as_mut().unwrap() - } - - // Take field - pub fn take_time_range(&mut self) -> TimestampRange { - self.time_range.take().unwrap_or_else(|| TimestampRange::new()) - } -} - -impl ::protobuf::Message for Mutation_DeleteFromColumn { - fn is_initialized(&self) -> bool { - for v in &self.time_range { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.family_name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.column_qualifier)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.time_range)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.family_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.family_name); - } - if !self.column_qualifier.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.column_qualifier); - } - if let Some(ref v) = self.time_range.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.family_name.is_empty() { - os.write_string(1, &self.family_name)?; - } - if !self.column_qualifier.is_empty() { - os.write_bytes(2, &self.column_qualifier)?; - } - if let Some(ref v) = self.time_range.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Mutation_DeleteFromColumn { - Mutation_DeleteFromColumn::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "family_name", - |m: &Mutation_DeleteFromColumn| { &m.family_name }, - |m: &mut Mutation_DeleteFromColumn| { &mut m.family_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "column_qualifier", - |m: &Mutation_DeleteFromColumn| { &m.column_qualifier }, - |m: &mut Mutation_DeleteFromColumn| { &mut m.column_qualifier }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "time_range", - |m: &Mutation_DeleteFromColumn| { &m.time_range }, - |m: &mut Mutation_DeleteFromColumn| { &mut m.time_range }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation_DeleteFromColumn", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Mutation_DeleteFromColumn { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation_DeleteFromColumn, - }; - unsafe { - instance.get(Mutation_DeleteFromColumn::new) - } - } -} - -impl ::protobuf::Clear for Mutation_DeleteFromColumn { - fn clear(&mut self) { - self.family_name.clear(); - self.column_qualifier.clear(); - self.time_range.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Mutation_DeleteFromColumn { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Mutation_DeleteFromColumn { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Mutation_DeleteFromFamily { - // message fields - pub family_name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Mutation_DeleteFromFamily { - fn default() -> &'a Mutation_DeleteFromFamily { - ::default_instance() - } -} - -impl Mutation_DeleteFromFamily { - pub fn new() -> Mutation_DeleteFromFamily { - ::std::default::Default::default() - } - - // string family_name = 1; - - - pub fn get_family_name(&self) -> &str { - &self.family_name - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::std::string::String) { - self.family_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::std::string::String { - &mut self.family_name - } - - // Take field - pub fn take_family_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.family_name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for Mutation_DeleteFromFamily { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.family_name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.family_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.family_name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.family_name.is_empty() { - os.write_string(1, &self.family_name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Mutation_DeleteFromFamily { - Mutation_DeleteFromFamily::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "family_name", - |m: &Mutation_DeleteFromFamily| { &m.family_name }, - |m: &mut Mutation_DeleteFromFamily| { &mut m.family_name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation_DeleteFromFamily", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Mutation_DeleteFromFamily { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation_DeleteFromFamily, - }; - unsafe { - instance.get(Mutation_DeleteFromFamily::new) - } - } -} - -impl ::protobuf::Clear for Mutation_DeleteFromFamily { - fn clear(&mut self) { - self.family_name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Mutation_DeleteFromFamily { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Mutation_DeleteFromFamily { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Mutation_DeleteFromRow { - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Mutation_DeleteFromRow { - fn default() -> &'a Mutation_DeleteFromRow { - ::default_instance() - } -} - -impl Mutation_DeleteFromRow { - pub fn new() -> Mutation_DeleteFromRow { - ::std::default::Default::default() - } -} - -impl ::protobuf::Message for Mutation_DeleteFromRow { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Mutation_DeleteFromRow { - Mutation_DeleteFromRow::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let fields = ::std::vec::Vec::new(); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation_DeleteFromRow", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Mutation_DeleteFromRow { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation_DeleteFromRow, - }; - unsafe { - instance.get(Mutation_DeleteFromRow::new) - } - } -} - -impl ::protobuf::Clear for Mutation_DeleteFromRow { - fn clear(&mut self) { - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Mutation_DeleteFromRow { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Mutation_DeleteFromRow { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReadModifyWriteRule { - // message fields - pub family_name: ::std::string::String, - pub column_qualifier: ::std::vec::Vec, - // message oneof groups - pub rule: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadModifyWriteRule { - fn default() -> &'a ReadModifyWriteRule { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ReadModifyWriteRule_oneof_rule { - append_value(::std::vec::Vec), - increment_amount(i64), -} - -impl ReadModifyWriteRule { - pub fn new() -> ReadModifyWriteRule { - ::std::default::Default::default() - } - - // string family_name = 1; - - - pub fn get_family_name(&self) -> &str { - &self.family_name - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::std::string::String) { - self.family_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::std::string::String { - &mut self.family_name - } - - // Take field - pub fn take_family_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.family_name, ::std::string::String::new()) - } - - // bytes column_qualifier = 2; - - - pub fn get_column_qualifier(&self) -> &[u8] { - &self.column_qualifier - } - pub fn clear_column_qualifier(&mut self) { - self.column_qualifier.clear(); - } - - // Param is passed by value, moved - pub fn set_column_qualifier(&mut self, v: ::std::vec::Vec) { - self.column_qualifier = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_column_qualifier(&mut self) -> &mut ::std::vec::Vec { - &mut self.column_qualifier - } - - // Take field - pub fn take_column_qualifier(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.column_qualifier, ::std::vec::Vec::new()) - } - - // bytes append_value = 3; - - - pub fn get_append_value(&self) -> &[u8] { - match self.rule { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(ref v)) => v, - _ => &[], - } - } - pub fn clear_append_value(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_append_value(&self) -> bool { - match self.rule { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_append_value(&mut self, v: ::std::vec::Vec) { - self.rule = ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(v)) - } - - // Mutable pointer to the field. - pub fn mut_append_value(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(_)) = self.rule { - } else { - self.rule = ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(::std::vec::Vec::new())); - } - match self.rule { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_append_value(&mut self) -> ::std::vec::Vec { - if self.has_append_value() { - match self.rule.take() { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // int64 increment_amount = 4; - - - pub fn get_increment_amount(&self) -> i64 { - match self.rule { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::increment_amount(v)) => v, - _ => 0, - } - } - pub fn clear_increment_amount(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_increment_amount(&self) -> bool { - match self.rule { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::increment_amount(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_increment_amount(&mut self, v: i64) { - self.rule = ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::increment_amount(v)) - } -} - -impl ::protobuf::Message for ReadModifyWriteRule { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.family_name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.column_qualifier)?; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(is.read_bytes()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::increment_amount(is.read_int64()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.family_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.family_name); - } - if !self.column_qualifier.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.column_qualifier); - } - if let ::std::option::Option::Some(ref v) = self.rule { - match v { - &ReadModifyWriteRule_oneof_rule::append_value(ref v) => { - my_size += ::protobuf::rt::bytes_size(3, &v); - }, - &ReadModifyWriteRule_oneof_rule::increment_amount(v) => { - my_size += ::protobuf::rt::value_size(4, v, ::protobuf::wire_format::WireTypeVarint); - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.family_name.is_empty() { - os.write_string(1, &self.family_name)?; - } - if !self.column_qualifier.is_empty() { - os.write_bytes(2, &self.column_qualifier)?; - } - if let ::std::option::Option::Some(ref v) = self.rule { - match v { - &ReadModifyWriteRule_oneof_rule::append_value(ref v) => { - os.write_bytes(3, v)?; - }, - &ReadModifyWriteRule_oneof_rule::increment_amount(v) => { - os.write_int64(4, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadModifyWriteRule { - ReadModifyWriteRule::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "family_name", - |m: &ReadModifyWriteRule| { &m.family_name }, - |m: &mut ReadModifyWriteRule| { &mut m.family_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "column_qualifier", - |m: &ReadModifyWriteRule| { &m.column_qualifier }, - |m: &mut ReadModifyWriteRule| { &mut m.column_qualifier }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "append_value", - ReadModifyWriteRule::has_append_value, - ReadModifyWriteRule::get_append_value, - )); - fields.push(::protobuf::reflect::accessor::make_singular_i64_accessor::<_>( - "increment_amount", - ReadModifyWriteRule::has_increment_amount, - ReadModifyWriteRule::get_increment_amount, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadModifyWriteRule", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadModifyWriteRule { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadModifyWriteRule, - }; - unsafe { - instance.get(ReadModifyWriteRule::new) - } - } -} - -impl ::protobuf::Clear for ReadModifyWriteRule { - fn clear(&mut self) { - self.family_name.clear(); - self.column_qualifier.clear(); - self.rule = ::std::option::Option::None; - self.rule = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadModifyWriteRule { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadModifyWriteRule { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n&google/bigtable/v1/bigtable_data.proto\x12\x12google.bigtable.v1\"O\n\ - \x03Row\x12\x10\n\x03key\x18\x01\x20\x01(\x0cR\x03key\x126\n\x08families\ - \x18\x02\x20\x03(\x0b2\x1a.google.bigtable.v1.FamilyR\x08families\"R\n\ - \x06Family\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x124\n\x07colum\ - ns\x18\x02\x20\x03(\x0b2\x1a.google.bigtable.v1.ColumnR\x07columns\"V\n\ - \x06Column\x12\x1c\n\tqualifier\x18\x01\x20\x01(\x0cR\tqualifier\x12.\n\ - \x05cells\x18\x02\x20\x03(\x0b2\x18.google.bigtable.v1.CellR\x05cells\"_\ - \n\x04Cell\x12)\n\x10timestamp_micros\x18\x01\x20\x01(\x03R\x0ftimestamp\ - Micros\x12\x14\n\x05value\x18\x02\x20\x01(\x0cR\x05value\x12\x16\n\x06la\ - bels\x18\x03\x20\x03(\tR\x06labels\"@\n\x08RowRange\x12\x1b\n\tstart_key\ - \x18\x02\x20\x01(\x0cR\x08startKey\x12\x17\n\x07end_key\x18\x03\x20\x01(\ - \x0cR\x06endKey\"`\n\x06RowSet\x12\x19\n\x08row_keys\x18\x01\x20\x03(\ - \x0cR\x07rowKeys\x12;\n\nrow_ranges\x18\x02\x20\x03(\x0b2\x1c.google.big\ - table.v1.RowRangeR\trowRanges\"\xc2\x02\n\x0bColumnRange\x12\x1f\n\x0bfa\ - mily_name\x18\x01\x20\x01(\tR\nfamilyName\x12<\n\x19start_qualifier_incl\ - usive\x18\x02\x20\x01(\x0cH\0R\x17startQualifierInclusive\x12<\n\x19star\ - t_qualifier_exclusive\x18\x03\x20\x01(\x0cH\0R\x17startQualifierExclusiv\ - e\x128\n\x17end_qualifier_inclusive\x18\x04\x20\x01(\x0cH\x01R\x15endQua\ - lifierInclusive\x128\n\x17end_qualifier_exclusive\x18\x05\x20\x01(\x0cH\ - \x01R\x15endQualifierExclusiveB\x11\n\x0fstart_qualifierB\x0f\n\rend_qua\ - lifier\"x\n\x0eTimestampRange\x124\n\x16start_timestamp_micros\x18\x01\ - \x20\x01(\x03R\x14startTimestampMicros\x120\n\x14end_timestamp_micros\ - \x18\x02\x20\x01(\x03R\x12endTimestampMicros\"\xf8\x01\n\nValueRange\x12\ - 4\n\x15start_value_inclusive\x18\x01\x20\x01(\x0cH\0R\x13startValueInclu\ - sive\x124\n\x15start_value_exclusive\x18\x02\x20\x01(\x0cH\0R\x13startVa\ - lueExclusive\x120\n\x13end_value_inclusive\x18\x03\x20\x01(\x0cH\x01R\ - \x11endValueInclusive\x120\n\x13end_value_exclusive\x18\x04\x20\x01(\x0c\ - H\x01R\x11endValueExclusiveB\r\n\x0bstart_valueB\x0b\n\tend_value\"\xfc\ - \x0b\n\tRowFilter\x12;\n\x05chain\x18\x01\x20\x01(\x0b2#.google.bigtable\ - .v1.RowFilter.ChainH\0R\x05chain\x12J\n\ninterleave\x18\x02\x20\x01(\x0b\ - 2(.google.bigtable.v1.RowFilter.InterleaveH\0R\ninterleave\x12G\n\tcondi\ - tion\x18\x03\x20\x01(\x0b2'.google.bigtable.v1.RowFilter.ConditionH\0R\t\ - condition\x12\x14\n\x04sink\x18\x10\x20\x01(\x08H\0R\x04sink\x12(\n\x0fp\ - ass_all_filter\x18\x11\x20\x01(\x08H\0R\rpassAllFilter\x12*\n\x10block_a\ - ll_filter\x18\x12\x20\x01(\x08H\0R\x0eblockAllFilter\x121\n\x14row_key_r\ - egex_filter\x18\x04\x20\x01(\x0cH\0R\x11rowKeyRegexFilter\x12,\n\x11row_\ - sample_filter\x18\x0e\x20\x01(\x01H\0R\x0frowSampleFilter\x129\n\x18fami\ - ly_name_regex_filter\x18\x05\x20\x01(\tH\0R\x15familyNameRegexFilter\x12\ - C\n\x1dcolumn_qualifier_regex_filter\x18\x06\x20\x01(\x0cH\0R\x1acolumnQ\ - ualifierRegexFilter\x12Q\n\x13column_range_filter\x18\x07\x20\x01(\x0b2\ - \x1f.google.bigtable.v1.ColumnRangeH\0R\x11columnRangeFilter\x12Z\n\x16t\ - imestamp_range_filter\x18\x08\x20\x01(\x0b2\".google.bigtable.v1.Timesta\ - mpRangeH\0R\x14timestampRangeFilter\x12.\n\x12value_regex_filter\x18\t\ - \x20\x01(\x0cH\0R\x10valueRegexFilter\x12N\n\x12value_range_filter\x18\ - \x0f\x20\x01(\x0b2\x1e.google.bigtable.v1.ValueRangeH\0R\x10valueRangeFi\ - lter\x12>\n\x1bcells_per_row_offset_filter\x18\n\x20\x01(\x05H\0R\x17cel\ - lsPerRowOffsetFilter\x12<\n\x1acells_per_row_limit_filter\x18\x0b\x20\ - \x01(\x05H\0R\x16cellsPerRowLimitFilter\x12B\n\x1dcells_per_column_limit\ - _filter\x18\x0c\x20\x01(\x05H\0R\x19cellsPerColumnLimitFilter\x128\n\x17\ - strip_value_transformer\x18\r\x20\x01(\x08H\0R\x15stripValueTransformer\ - \x128\n\x17apply_label_transformer\x18\x13\x20\x01(\tH\0R\x15applyLabelT\ - ransformer\x1a@\n\x05Chain\x127\n\x07filters\x18\x01\x20\x03(\x0b2\x1d.g\ - oogle.bigtable.v1.RowFilterR\x07filters\x1aE\n\nInterleave\x127\n\x07fil\ - ters\x18\x01\x20\x03(\x0b2\x1d.google.bigtable.v1.RowFilterR\x07filters\ - \x1a\xd7\x01\n\tCondition\x12H\n\x10predicate_filter\x18\x01\x20\x01(\ - \x0b2\x1d.google.bigtable.v1.RowFilterR\x0fpredicateFilter\x12>\n\x0btru\ - e_filter\x18\x02\x20\x01(\x0b2\x1d.google.bigtable.v1.RowFilterR\ntrueFi\ - lter\x12@\n\x0cfalse_filter\x18\x03\x20\x01(\x0b2\x1d.google.bigtable.v1\ - .RowFilterR\x0bfalseFilterB\x08\n\x06filter\"\xf0\x05\n\x08Mutation\x12A\ - \n\x08set_cell\x18\x01\x20\x01(\x0b2$.google.bigtable.v1.Mutation.SetCel\ - lH\0R\x07setCell\x12]\n\x12delete_from_column\x18\x02\x20\x01(\x0b2-.goo\ - gle.bigtable.v1.Mutation.DeleteFromColumnH\0R\x10deleteFromColumn\x12]\n\ - \x12delete_from_family\x18\x03\x20\x01(\x0b2-.google.bigtable.v1.Mutatio\ - n.DeleteFromFamilyH\0R\x10deleteFromFamily\x12T\n\x0fdelete_from_row\x18\ - \x04\x20\x01(\x0b2*.google.bigtable.v1.Mutation.DeleteFromRowH\0R\rdelet\ - eFromRow\x1a\x96\x01\n\x07SetCell\x12\x1f\n\x0bfamily_name\x18\x01\x20\ - \x01(\tR\nfamilyName\x12)\n\x10column_qualifier\x18\x02\x20\x01(\x0cR\ - \x0fcolumnQualifier\x12)\n\x10timestamp_micros\x18\x03\x20\x01(\x03R\x0f\ - timestampMicros\x12\x14\n\x05value\x18\x04\x20\x01(\x0cR\x05value\x1a\ - \xa1\x01\n\x10DeleteFromColumn\x12\x1f\n\x0bfamily_name\x18\x01\x20\x01(\ - \tR\nfamilyName\x12)\n\x10column_qualifier\x18\x02\x20\x01(\x0cR\x0fcolu\ - mnQualifier\x12A\n\ntime_range\x18\x03\x20\x01(\x0b2\".google.bigtable.v\ - 1.TimestampRangeR\ttimeRange\x1a3\n\x10DeleteFromFamily\x12\x1f\n\x0bfam\ - ily_name\x18\x01\x20\x01(\tR\nfamilyName\x1a\x0f\n\rDeleteFromRowB\n\n\ - \x08mutation\"\xbb\x01\n\x13ReadModifyWriteRule\x12\x1f\n\x0bfamily_name\ - \x18\x01\x20\x01(\tR\nfamilyName\x12)\n\x10column_qualifier\x18\x02\x20\ - \x01(\x0cR\x0fcolumnQualifier\x12#\n\x0cappend_value\x18\x03\x20\x01(\ - \x0cH\0R\x0bappendValue\x12+\n\x10increment_amount\x18\x04\x20\x01(\x03H\ - \0R\x0fincrementAmountB\x06\n\x04ruleBi\n\x16com.google.bigtable.v1B\x11\ - BigtableDataProtoP\x01Z:google.golang.org/genproto/googleapis/bigtable/v\ - 1;bigtableJ\xf7\xb2\x01\n\x07\x12\x05\x0e\0\x83\x04\x01\n\xbd\x04\n\x01\ - \x0c\x12\x03\x0e\0\x122\xb2\x04\x20Copyright\x202018\x20Google\x20Inc.\n\ - \n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\ - \x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\ - \x20except\x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20ma\ - y\x20obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\ - \x20\x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20requ\ - ired\x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\ - \x20software\n\x20distributed\x20under\x20the\x20License\x20is\x20distri\ - buted\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\ - \x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\ - \x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20lan\ - guage\x20governing\x20permissions\x20and\n\x20limitations\x20under\x20th\ - e\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0\x1b\n\x08\n\x01\x08\x12\ - \x03\x12\0Q\n\t\n\x02\x08\x0b\x12\x03\x12\0Q\n\x08\n\x01\x08\x12\x03\x13\ - \0\"\n\t\n\x02\x08\n\x12\x03\x13\0\"\n\x08\n\x01\x08\x12\x03\x14\02\n\t\ - \n\x02\x08\x08\x12\x03\x14\02\n\x08\n\x01\x08\x12\x03\x15\0/\n\t\n\x02\ - \x08\x01\x12\x03\x15\0/\n\x90\x01\n\x02\x04\0\x12\x04\x1a\0#\x01\x1a\x83\ - \x01\x20Specifies\x20the\x20complete\x20(requested)\x20contents\x20of\ - \x20a\x20single\x20row\x20of\x20a\x20table.\n\x20Rows\x20which\x20exceed\ - \x20256MiB\x20in\x20size\x20cannot\x20be\x20read\x20in\x20full.\n\n\n\n\ - \x03\x04\0\x01\x12\x03\x1a\x08\x0b\n\xe2\x01\n\x04\x04\0\x02\0\x12\x03\ - \x1e\x02\x10\x1a\xd4\x01\x20The\x20unique\x20key\x20which\x20identifies\ - \x20this\x20row\x20within\x20its\x20table.\x20This\x20is\x20the\x20same\ - \n\x20key\x20that's\x20used\x20to\x20identify\x20the\x20row\x20in,\x20fo\ - r\x20example,\x20a\x20MutateRowRequest.\n\x20May\x20contain\x20any\x20no\ - n-empty\x20byte\x20string\x20up\x20to\x204KiB\x20in\x20length.\n\n\r\n\ - \x05\x04\0\x02\0\x04\x12\x04\x1e\x02\x1a\r\n\x0c\n\x05\x04\0\x02\0\x05\ - \x12\x03\x1e\x02\x07\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03\x1e\x08\x0b\n\ - \x0c\n\x05\x04\0\x02\0\x03\x12\x03\x1e\x0e\x0f\n{\n\x04\x04\0\x02\x01\ - \x12\x03\"\x02\x1f\x1an\x20May\x20be\x20empty,\x20but\x20only\x20if\x20t\ - he\x20entire\x20row\x20is\x20empty.\n\x20The\x20mutual\x20ordering\x20of\ - \x20column\x20families\x20is\x20not\x20specified.\n\n\x0c\n\x05\x04\0\ - \x02\x01\x04\x12\x03\"\x02\n\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03\"\x0b\ - \x11\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03\"\x12\x1a\n\x0c\n\x05\x04\0\ - \x02\x01\x03\x12\x03\"\x1d\x1e\nX\n\x02\x04\x01\x12\x04&\01\x01\x1aL\x20\ - Specifies\x20(some\x20of)\x20the\x20contents\x20of\x20a\x20single\x20row\ - /column\x20family\x20of\x20a\x20table.\n\n\n\n\x03\x04\x01\x01\x12\x03&\ - \x08\x0e\n\x83\x03\n\x04\x04\x01\x02\0\x12\x03-\x02\x12\x1a\xf5\x02\x20T\ - he\x20unique\x20key\x20which\x20identifies\x20this\x20family\x20within\ - \x20its\x20row.\x20This\x20is\x20the\n\x20same\x20key\x20that's\x20used\ - \x20to\x20identify\x20the\x20family\x20in,\x20for\x20example,\x20a\x20Ro\ - wFilter\n\x20which\x20sets\x20its\x20\"family_name_regex_filter\"\x20fie\ - ld.\n\x20Must\x20match\x20[-_.a-zA-Z0-9]+,\x20except\x20that\x20Aggregat\ - ingRowProcessors\x20may\n\x20produce\x20cells\x20in\x20a\x20sentinel\x20\ - family\x20with\x20an\x20empty\x20name.\n\x20Must\x20be\x20no\x20greater\ - \x20than\x2064\x20characters\x20in\x20length.\n\n\r\n\x05\x04\x01\x02\0\ - \x04\x12\x04-\x02&\x10\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03-\x02\x08\n\ - \x0c\n\x05\x04\x01\x02\0\x01\x12\x03-\t\r\n\x0c\n\x05\x04\x01\x02\0\x03\ - \x12\x03-\x10\x11\nL\n\x04\x04\x01\x02\x01\x12\x030\x02\x1e\x1a?\x20Must\ - \x20not\x20be\x20empty.\x20Sorted\x20in\x20order\x20of\x20increasing\x20\ - \"qualifier\".\n\n\x0c\n\x05\x04\x01\x02\x01\x04\x12\x030\x02\n\n\x0c\n\ - \x05\x04\x01\x02\x01\x06\x12\x030\x0b\x11\n\x0c\n\x05\x04\x01\x02\x01\ - \x01\x12\x030\x12\x19\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x030\x1c\x1d\n\ - Q\n\x02\x04\x02\x12\x044\0>\x01\x1aE\x20Specifies\x20(some\x20of)\x20the\ - \x20contents\x20of\x20a\x20single\x20row/column\x20of\x20a\x20table.\n\n\ - \n\n\x03\x04\x02\x01\x12\x034\x08\x0e\n\xad\x02\n\x04\x04\x02\x02\0\x12\ - \x03:\x02\x16\x1a\x9f\x02\x20The\x20unique\x20key\x20which\x20identifies\ - \x20this\x20column\x20within\x20its\x20family.\x20This\x20is\x20the\n\ - \x20same\x20key\x20that's\x20used\x20to\x20identify\x20the\x20column\x20\ - in,\x20for\x20example,\x20a\x20RowFilter\n\x20which\x20sets\x20its\x20\"\ - column_qualifier_regex_filter\"\x20field.\n\x20May\x20contain\x20any\x20\ - byte\x20string,\x20including\x20the\x20empty\x20string,\x20up\x20to\x201\ - 6kiB\x20in\n\x20length.\n\n\r\n\x05\x04\x02\x02\0\x04\x12\x04:\x024\x10\ - \n\x0c\n\x05\x04\x02\x02\0\x05\x12\x03:\x02\x07\n\x0c\n\x05\x04\x02\x02\ - \0\x01\x12\x03:\x08\x11\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03:\x14\x15\n\ - S\n\x04\x04\x02\x02\x01\x12\x03=\x02\x1a\x1aF\x20Must\x20not\x20be\x20em\ - pty.\x20Sorted\x20in\x20order\x20of\x20decreasing\x20\"timestamp_micros\ - \".\n\n\x0c\n\x05\x04\x02\x02\x01\x04\x12\x03=\x02\n\n\x0c\n\x05\x04\x02\ - \x02\x01\x06\x12\x03=\x0b\x0f\n\x0c\n\x05\x04\x02\x02\x01\x01\x12\x03=\ - \x10\x15\n\x0c\n\x05\x04\x02\x02\x01\x03\x12\x03=\x18\x19\n[\n\x02\x04\ - \x03\x12\x04A\0Q\x01\x1aO\x20Specifies\x20(some\x20of)\x20the\x20content\ - s\x20of\x20a\x20single\x20row/column/timestamp\x20of\x20a\x20table.\n\n\ - \n\n\x03\x04\x03\x01\x12\x03A\x08\x0c\n\xf8\x02\n\x04\x04\x03\x02\0\x12\ - \x03H\x02\x1d\x1a\xea\x02\x20The\x20cell's\x20stored\x20timestamp,\x20wh\ - ich\x20also\x20uniquely\x20identifies\x20it\x20within\n\x20its\x20column\ - .\n\x20Values\x20are\x20always\x20expressed\x20in\x20microseconds,\x20bu\ - t\x20individual\x20tables\x20may\x20set\n\x20a\x20coarser\x20\"granulari\ - ty\"\x20to\x20further\x20restrict\x20the\x20allowed\x20values.\x20For\n\ - \x20example,\x20a\x20table\x20which\x20specifies\x20millisecond\x20granu\ - larity\x20will\x20only\x20allow\n\x20values\x20of\x20\"timestamp_micros\ - \"\x20which\x20are\x20multiples\x20of\x201000.\n\n\r\n\x05\x04\x03\x02\0\ - \x04\x12\x04H\x02A\x0e\n\x0c\n\x05\x04\x03\x02\0\x05\x12\x03H\x02\x07\n\ - \x0c\n\x05\x04\x03\x02\0\x01\x12\x03H\x08\x18\n\x0c\n\x05\x04\x03\x02\0\ - \x03\x12\x03H\x1b\x1c\n\x7f\n\x04\x04\x03\x02\x01\x12\x03M\x02\x12\x1ar\ - \x20The\x20value\x20stored\x20in\x20the\x20cell.\n\x20May\x20contain\x20\ - any\x20byte\x20string,\x20including\x20the\x20empty\x20string,\x20up\x20\ - to\x20100MiB\x20in\n\x20length.\n\n\r\n\x05\x04\x03\x02\x01\x04\x12\x04M\ - \x02H\x1d\n\x0c\n\x05\x04\x03\x02\x01\x05\x12\x03M\x02\x07\n\x0c\n\x05\ - \x04\x03\x02\x01\x01\x12\x03M\x08\r\n\x0c\n\x05\x04\x03\x02\x01\x03\x12\ - \x03M\x10\x11\nY\n\x04\x04\x03\x02\x02\x12\x03P\x02\x1d\x1aL\x20Labels\ - \x20applied\x20to\x20the\x20cell\x20by\x20a\x20[RowFilter][google.bigtab\ - le.v1.RowFilter].\n\n\x0c\n\x05\x04\x03\x02\x02\x04\x12\x03P\x02\n\n\x0c\ - \n\x05\x04\x03\x02\x02\x05\x12\x03P\x0b\x11\n\x0c\n\x05\x04\x03\x02\x02\ - \x01\x12\x03P\x12\x18\n\x0c\n\x05\x04\x03\x02\x02\x03\x12\x03P\x1b\x1c\n\ - 3\n\x02\x04\x04\x12\x04T\0Z\x01\x1a'\x20Specifies\x20a\x20contiguous\x20\ - range\x20of\x20rows.\n\n\n\n\x03\x04\x04\x01\x12\x03T\x08\x10\nU\n\x04\ - \x04\x04\x02\0\x12\x03V\x02\x16\x1aH\x20Inclusive\x20lower\x20bound.\x20\ - If\x20left\x20empty,\x20interpreted\x20as\x20the\x20empty\x20string.\n\n\ - \r\n\x05\x04\x04\x02\0\x04\x12\x04V\x02T\x12\n\x0c\n\x05\x04\x04\x02\0\ - \x05\x12\x03V\x02\x07\n\x0c\n\x05\x04\x04\x02\0\x01\x12\x03V\x08\x11\n\ - \x0c\n\x05\x04\x04\x02\0\x03\x12\x03V\x14\x15\nM\n\x04\x04\x04\x02\x01\ - \x12\x03Y\x02\x14\x1a@\x20Exclusive\x20upper\x20bound.\x20If\x20left\x20\ - empty,\x20interpreted\x20as\x20infinity.\n\n\r\n\x05\x04\x04\x02\x01\x04\ - \x12\x04Y\x02V\x16\n\x0c\n\x05\x04\x04\x02\x01\x05\x12\x03Y\x02\x07\n\ - \x0c\n\x05\x04\x04\x02\x01\x01\x12\x03Y\x08\x0f\n\x0c\n\x05\x04\x04\x02\ - \x01\x03\x12\x03Y\x12\x13\n5\n\x02\x04\x05\x12\x04]\0c\x01\x1a)\x20Speci\ - fies\x20a\x20non-contiguous\x20set\x20of\x20rows.\n\n\n\n\x03\x04\x05\ - \x01\x12\x03]\x08\x0e\n/\n\x04\x04\x05\x02\0\x12\x03_\x02\x1e\x1a\"\x20S\ - ingle\x20rows\x20included\x20in\x20the\x20set.\n\n\x0c\n\x05\x04\x05\x02\ - \0\x04\x12\x03_\x02\n\n\x0c\n\x05\x04\x05\x02\0\x05\x12\x03_\x0b\x10\n\ - \x0c\n\x05\x04\x05\x02\0\x01\x12\x03_\x11\x19\n\x0c\n\x05\x04\x05\x02\0\ - \x03\x12\x03_\x1c\x1d\n9\n\x04\x04\x05\x02\x01\x12\x03b\x02#\x1a,\x20Con\ - tiguous\x20row\x20ranges\x20included\x20in\x20the\x20set.\n\n\x0c\n\x05\ - \x04\x05\x02\x01\x04\x12\x03b\x02\n\n\x0c\n\x05\x04\x05\x02\x01\x06\x12\ - \x03b\x0b\x13\n\x0c\n\x05\x04\x05\x02\x01\x01\x12\x03b\x14\x1e\n\x0c\n\ - \x05\x04\x05\x02\x01\x03\x12\x03b!\"\n\xec\x01\n\x02\x04\x06\x12\x05i\0\ - \x80\x01\x01\x1a\xde\x01\x20Specifies\x20a\x20contiguous\x20range\x20of\ - \x20columns\x20within\x20a\x20single\x20column\x20family.\n\x20The\x20ra\ - nge\x20spans\x20from\x20:\x20to\n\x20:,\x20where\x20both\x20bounds\x20can\x20be\ - \x20either\x20inclusive\x20or\n\x20exclusive.\n\n\n\n\x03\x04\x06\x01\ - \x12\x03i\x08\x13\nK\n\x04\x04\x06\x02\0\x12\x03k\x02\x19\x1a>\x20The\ - \x20name\x20of\x20the\x20column\x20family\x20within\x20which\x20this\x20\ - range\x20falls.\n\n\r\n\x05\x04\x06\x02\0\x04\x12\x04k\x02i\x15\n\x0c\n\ - \x05\x04\x06\x02\0\x05\x12\x03k\x02\x08\n\x0c\n\x05\x04\x06\x02\0\x01\ - \x12\x03k\t\x14\n\x0c\n\x05\x04\x06\x02\0\x03\x12\x03k\x17\x18\n\xa1\x01\ - \n\x04\x04\x06\x08\0\x12\x04o\x02u\x03\x1a\x92\x01\x20The\x20column\x20q\ - ualifier\x20at\x20which\x20to\x20start\x20the\x20range\x20(within\x20'co\ - lumn_family').\n\x20If\x20neither\x20field\x20is\x20set,\x20interpreted\ - \x20as\x20the\x20empty\x20string,\x20inclusive.\n\n\x0c\n\x05\x04\x06\ - \x08\0\x01\x12\x03o\x08\x17\nG\n\x04\x04\x06\x02\x01\x12\x03q\x04(\x1a:\ - \x20Used\x20when\x20giving\x20an\x20inclusive\x20lower\x20bound\x20for\ - \x20the\x20range.\n\n\x0c\n\x05\x04\x06\x02\x01\x05\x12\x03q\x04\t\n\x0c\ - \n\x05\x04\x06\x02\x01\x01\x12\x03q\n#\n\x0c\n\x05\x04\x06\x02\x01\x03\ - \x12\x03q&'\nG\n\x04\x04\x06\x02\x02\x12\x03t\x04(\x1a:\x20Used\x20when\ - \x20giving\x20an\x20exclusive\x20lower\x20bound\x20for\x20the\x20range.\ - \n\n\x0c\n\x05\x04\x06\x02\x02\x05\x12\x03t\x04\t\n\x0c\n\x05\x04\x06\ - \x02\x02\x01\x12\x03t\n#\n\x0c\n\x05\x04\x06\x02\x02\x03\x12\x03t&'\n\ - \xa2\x01\n\x04\x04\x06\x08\x01\x12\x04y\x02\x7f\x03\x1a\x93\x01\x20The\ - \x20column\x20qualifier\x20at\x20which\x20to\x20end\x20the\x20range\x20(\ - within\x20'column_family').\n\x20If\x20neither\x20field\x20is\x20set,\ - \x20interpreted\x20as\x20the\x20infinite\x20string,\x20exclusive.\n\n\ - \x0c\n\x05\x04\x06\x08\x01\x01\x12\x03y\x08\x15\nG\n\x04\x04\x06\x02\x03\ - \x12\x03{\x04&\x1a:\x20Used\x20when\x20giving\x20an\x20inclusive\x20uppe\ - r\x20bound\x20for\x20the\x20range.\n\n\x0c\n\x05\x04\x06\x02\x03\x05\x12\ - \x03{\x04\t\n\x0c\n\x05\x04\x06\x02\x03\x01\x12\x03{\n!\n\x0c\n\x05\x04\ - \x06\x02\x03\x03\x12\x03{$%\nG\n\x04\x04\x06\x02\x04\x12\x03~\x04&\x1a:\ - \x20Used\x20when\x20giving\x20an\x20exclusive\x20upper\x20bound\x20for\ - \x20the\x20range.\n\n\x0c\n\x05\x04\x06\x02\x04\x05\x12\x03~\x04\t\n\x0c\ - \n\x05\x04\x06\x02\x04\x01\x12\x03~\n!\n\x0c\n\x05\x04\x06\x02\x04\x03\ - \x12\x03~$%\nG\n\x02\x04\x07\x12\x06\x83\x01\0\x89\x01\x01\x1a9\x20Speci\ - fied\x20a\x20contiguous\x20range\x20of\x20microsecond\x20timestamps.\n\n\ - \x0b\n\x03\x04\x07\x01\x12\x04\x83\x01\x08\x16\nG\n\x04\x04\x07\x02\0\ - \x12\x04\x85\x01\x02#\x1a9\x20Inclusive\x20lower\x20bound.\x20If\x20left\ - \x20empty,\x20interpreted\x20as\x200.\n\n\x0f\n\x05\x04\x07\x02\0\x04\ - \x12\x06\x85\x01\x02\x83\x01\x18\n\r\n\x05\x04\x07\x02\0\x05\x12\x04\x85\ - \x01\x02\x07\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\x85\x01\x08\x1e\n\r\n\ - \x05\x04\x07\x02\0\x03\x12\x04\x85\x01!\"\nN\n\x04\x04\x07\x02\x01\x12\ - \x04\x88\x01\x02!\x1a@\x20Exclusive\x20upper\x20bound.\x20If\x20left\x20\ - empty,\x20interpreted\x20as\x20infinity.\n\n\x0f\n\x05\x04\x07\x02\x01\ - \x04\x12\x06\x88\x01\x02\x85\x01#\n\r\n\x05\x04\x07\x02\x01\x05\x12\x04\ - \x88\x01\x02\x07\n\r\n\x05\x04\x07\x02\x01\x01\x12\x04\x88\x01\x08\x1c\n\ - \r\n\x05\x04\x07\x02\x01\x03\x12\x04\x88\x01\x1f\x20\n@\n\x02\x04\x08\ - \x12\x06\x8c\x01\0\xa0\x01\x01\x1a2\x20Specifies\x20a\x20contiguous\x20r\ - ange\x20of\x20raw\x20byte\x20values.\n\n\x0b\n\x03\x04\x08\x01\x12\x04\ - \x8c\x01\x08\x12\n~\n\x04\x04\x08\x08\0\x12\x06\x8f\x01\x02\x95\x01\x03\ - \x1an\x20The\x20value\x20at\x20which\x20to\x20start\x20the\x20range.\n\ - \x20If\x20neither\x20field\x20is\x20set,\x20interpreted\x20as\x20the\x20\ - empty\x20string,\x20inclusive.\n\n\r\n\x05\x04\x08\x08\0\x01\x12\x04\x8f\ - \x01\x08\x13\nH\n\x04\x04\x08\x02\0\x12\x04\x91\x01\x04$\x1a:\x20Used\ - \x20when\x20giving\x20an\x20inclusive\x20lower\x20bound\x20for\x20the\ - \x20range.\n\n\r\n\x05\x04\x08\x02\0\x05\x12\x04\x91\x01\x04\t\n\r\n\x05\ - \x04\x08\x02\0\x01\x12\x04\x91\x01\n\x1f\n\r\n\x05\x04\x08\x02\0\x03\x12\ - \x04\x91\x01\"#\nH\n\x04\x04\x08\x02\x01\x12\x04\x94\x01\x04$\x1a:\x20Us\ - ed\x20when\x20giving\x20an\x20exclusive\x20lower\x20bound\x20for\x20the\ - \x20range.\n\n\r\n\x05\x04\x08\x02\x01\x05\x12\x04\x94\x01\x04\t\n\r\n\ - \x05\x04\x08\x02\x01\x01\x12\x04\x94\x01\n\x1f\n\r\n\x05\x04\x08\x02\x01\ - \x03\x12\x04\x94\x01\"#\n\x7f\n\x04\x04\x08\x08\x01\x12\x06\x99\x01\x02\ - \x9f\x01\x03\x1ao\x20The\x20value\x20at\x20which\x20to\x20end\x20the\x20\ - range.\n\x20If\x20neither\x20field\x20is\x20set,\x20interpreted\x20as\ - \x20the\x20infinite\x20string,\x20exclusive.\n\n\r\n\x05\x04\x08\x08\x01\ - \x01\x12\x04\x99\x01\x08\x11\nH\n\x04\x04\x08\x02\x02\x12\x04\x9b\x01\ - \x04\"\x1a:\x20Used\x20when\x20giving\x20an\x20inclusive\x20upper\x20bou\ - nd\x20for\x20the\x20range.\n\n\r\n\x05\x04\x08\x02\x02\x05\x12\x04\x9b\ - \x01\x04\t\n\r\n\x05\x04\x08\x02\x02\x01\x12\x04\x9b\x01\n\x1d\n\r\n\x05\ - \x04\x08\x02\x02\x03\x12\x04\x9b\x01\x20!\nH\n\x04\x04\x08\x02\x03\x12\ - \x04\x9e\x01\x04\"\x1a:\x20Used\x20when\x20giving\x20an\x20exclusive\x20\ - upper\x20bound\x20for\x20the\x20range.\n\n\r\n\x05\x04\x08\x02\x03\x05\ - \x12\x04\x9e\x01\x04\t\n\r\n\x05\x04\x08\x02\x03\x01\x12\x04\x9e\x01\n\ - \x1d\n\r\n\x05\x04\x08\x02\x03\x03\x12\x04\x9e\x01\x20!\n\xa5\x0f\n\x02\ - \x04\t\x12\x06\xc3\x01\0\xa5\x03\x01\x1a\x96\x0f\x20Takes\x20a\x20row\ - \x20as\x20input\x20and\x20produces\x20an\x20alternate\x20view\x20of\x20t\ - he\x20row\x20based\x20on\n\x20specified\x20rules.\x20For\x20example,\x20\ - a\x20RowFilter\x20might\x20trim\x20down\x20a\x20row\x20to\x20include\n\ - \x20just\x20the\x20cells\x20from\x20columns\x20matching\x20a\x20given\ - \x20regular\x20expression,\x20or\x20might\n\x20return\x20all\x20the\x20c\ - ells\x20of\x20a\x20row\x20but\x20not\x20their\x20values.\x20More\x20comp\ - licated\x20filters\n\x20can\x20be\x20composed\x20out\x20of\x20these\x20c\ - omponents\x20to\x20express\x20requests\x20such\x20as,\x20\"within\n\x20e\ - very\x20column\x20of\x20a\x20particular\x20family,\x20give\x20just\x20th\ - e\x20two\x20most\x20recent\x20cells\n\x20which\x20are\x20older\x20than\ - \x20timestamp\x20X.\"\n\n\x20There\x20are\x20two\x20broad\x20categories\ - \x20of\x20RowFilters\x20(true\x20filters\x20and\x20transformers),\n\x20a\ - s\x20well\x20as\x20two\x20ways\x20to\x20compose\x20simple\x20filters\x20\ - into\x20more\x20complex\x20ones\n\x20(chains\x20and\x20interleaves).\x20\ - They\x20work\x20as\x20follows:\n\n\x20*\x20True\x20filters\x20alter\x20t\ - he\x20input\x20row\x20by\x20excluding\x20some\x20of\x20its\x20cells\x20w\ - holesale\n\x20from\x20the\x20output\x20row.\x20An\x20example\x20of\x20a\ - \x20true\x20filter\x20is\x20the\x20\"value_regex_filter\",\n\x20which\ - \x20excludes\x20cells\x20whose\x20values\x20don't\x20match\x20the\x20spe\ - cified\x20pattern.\x20All\n\x20regex\x20true\x20filters\x20use\x20RE2\ - \x20syntax\x20(https://github.com/google/re2/wiki/Syntax)\n\x20in\x20raw\ - \x20byte\x20mode\x20(RE2::Latin1),\x20and\x20are\x20evaluated\x20as\x20f\ - ull\x20matches.\x20An\n\x20important\x20point\x20to\x20keep\x20in\x20min\ - d\x20is\x20that\x20RE2(.)\x20is\x20equivalent\x20by\x20default\x20to\n\ - \x20RE2([^\\n]),\x20meaning\x20that\x20it\x20does\x20not\x20match\x20new\ - lines.\x20When\x20attempting\x20to\x20match\n\x20an\x20arbitrary\x20byte\ - ,\x20you\x20should\x20therefore\x20use\x20the\x20escape\x20sequence\x20'\ - \\C',\x20which\n\x20may\x20need\x20to\x20be\x20further\x20escaped\x20as\ - \x20'\\\\C'\x20in\x20your\x20client\x20language.\n\n\x20*\x20Transformer\ - s\x20alter\x20the\x20input\x20row\x20by\x20changing\x20the\x20values\x20\ - of\x20some\x20of\x20its\n\x20cells\x20in\x20the\x20output,\x20without\ - \x20excluding\x20them\x20completely.\x20Currently,\x20the\x20only\n\x20s\ - upported\x20transformer\x20is\x20the\x20\"strip_value_transformer\",\x20\ - which\x20replaces\x20every\n\x20cell's\x20value\x20with\x20the\x20empty\ - \x20string.\n\n\x20*\x20Chains\x20and\x20interleaves\x20are\x20described\ - \x20in\x20more\x20detail\x20in\x20the\n\x20RowFilter.Chain\x20and\x20Row\ - Filter.Interleave\x20documentation.\n\n\x20The\x20total\x20serialized\ - \x20size\x20of\x20a\x20RowFilter\x20message\x20must\x20not\n\x20exceed\ - \x204096\x20bytes,\x20and\x20RowFilters\x20may\x20not\x20be\x20nested\ - \x20within\x20each\x20other\n\x20(in\x20Chains\x20or\x20Interleaves)\x20\ - to\x20a\x20depth\x20of\x20more\x20than\x2020.\n\n\x0b\n\x03\x04\t\x01\ - \x12\x04\xc3\x01\x08\x11\nV\n\x04\x04\t\x03\0\x12\x06\xc5\x01\x02\xca\ - \x01\x03\x1aF\x20A\x20RowFilter\x20which\x20sends\x20rows\x20through\x20\ - several\x20RowFilters\x20in\x20sequence.\n\n\r\n\x05\x04\t\x03\0\x01\x12\ - \x04\xc5\x01\n\x0f\n\xc9\x01\n\x06\x04\t\x03\0\x02\0\x12\x04\xc9\x01\x04\ - #\x1a\xb8\x01\x20The\x20elements\x20of\x20\"filters\"\x20are\x20chained\ - \x20together\x20to\x20process\x20the\x20input\x20row:\n\x20in\x20row\x20\ - ->\x20f(0)\x20->\x20intermediate\x20row\x20->\x20f(1)\x20->\x20...\x20->\ - \x20f(N)\x20->\x20out\x20row\n\x20The\x20full\x20chain\x20is\x20executed\ - \x20atomically.\n\n\x0f\n\x07\x04\t\x03\0\x02\0\x04\x12\x04\xc9\x01\x04\ - \x0c\n\x0f\n\x07\x04\t\x03\0\x02\0\x06\x12\x04\xc9\x01\r\x16\n\x0f\n\x07\ - \x04\t\x03\0\x02\0\x01\x12\x04\xc9\x01\x17\x1e\n\x0f\n\x07\x04\t\x03\0\ - \x02\0\x03\x12\x04\xc9\x01!\"\nx\n\x04\x04\t\x03\x01\x12\x06\xce\x01\x02\ - \xe8\x01\x03\x1ah\x20A\x20RowFilter\x20which\x20sends\x20each\x20row\x20\ - to\x20each\x20of\x20several\x20component\n\x20RowFilters\x20and\x20inter\ - leaves\x20the\x20results.\n\n\r\n\x05\x04\t\x03\x01\x01\x12\x04\xce\x01\ - \n\x14\n\xe2\n\n\x06\x04\t\x03\x01\x02\0\x12\x04\xe7\x01\x04#\x1a\xd1\n\ - \x20The\x20elements\x20of\x20\"filters\"\x20all\x20process\x20a\x20copy\ - \x20of\x20the\x20input\x20row,\x20and\x20the\n\x20results\x20are\x20pool\ - ed,\x20sorted,\x20and\x20combined\x20into\x20a\x20single\x20output\x20ro\ - w.\n\x20If\x20multiple\x20cells\x20are\x20produced\x20with\x20the\x20sam\ - e\x20column\x20and\x20timestamp,\n\x20they\x20will\x20all\x20appear\x20i\ - n\x20the\x20output\x20row\x20in\x20an\x20unspecified\x20mutual\x20order.\ - \n\x20Consider\x20the\x20following\x20example,\x20with\x20three\x20filte\ - rs:\n\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20input\x20row\n\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\ - \x20\x20\x20\x20\x20\x20\x20--------------------------------------------\ - ---------\n\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - |\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\x20f(0)\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20f(1)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20f(2)\n\x20\x20\x20\x20\x20\x20\x20\x20|\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x201:\ - \x20foo,bar,10,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20foo,\ - bar,10,z\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20far,bar,\ - 7,a\n\x202:\x20foo,blah,11,z\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20far,blah,5,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - far,blah,5,x\n\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\x20\x20-\ - ----------------------------------------------------\n\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x201:\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20foo,bar,10,z\x20\x20\x20\x20\x20//\x20could\x20have\x20switc\ - hed\x20with\x20#2\n\x202:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20foo,bar,10,x\x20\x20\ - \x20\x20\x20//\x20could\x20have\x20switched\x20with\x20#1\n\x203:\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20foo,blah,11,z\n\x204:\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20far,\ - bar,7,a\n\x205:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20far,blah,5,x\x20\x20\x20\x20\x20\ - //\x20identical\x20to\x20#6\n\x206:\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20far,blah,5,x\ - \x20\x20\x20\x20\x20//\x20identical\x20to\x20#5\n\x20All\x20interleaved\ - \x20filters\x20are\x20executed\x20atomically.\n\n\x0f\n\x07\x04\t\x03\ - \x01\x02\0\x04\x12\x04\xe7\x01\x04\x0c\n\x0f\n\x07\x04\t\x03\x01\x02\0\ - \x06\x12\x04\xe7\x01\r\x16\n\x0f\n\x07\x04\t\x03\x01\x02\0\x01\x12\x04\ - \xe7\x01\x17\x1e\n\x0f\n\x07\x04\t\x03\x01\x02\0\x03\x12\x04\xe7\x01!\"\ - \n\xb4\x03\n\x04\x04\t\x03\x02\x12\x06\xf1\x01\x02\xfe\x01\x03\x1a\xa3\ - \x03\x20A\x20RowFilter\x20which\x20evaluates\x20one\x20of\x20two\x20poss\ - ible\x20RowFilters,\x20depending\x20on\n\x20whether\x20or\x20not\x20a\ - \x20predicate\x20RowFilter\x20outputs\x20any\x20cells\x20from\x20the\x20\ - input\x20row.\n\n\x20IMPORTANT\x20NOTE:\x20The\x20predicate\x20filter\ - \x20does\x20not\x20execute\x20atomically\x20with\x20the\n\x20true\x20and\ - \x20false\x20filters,\x20which\x20may\x20lead\x20to\x20inconsistent\x20o\ - r\x20unexpected\n\x20results.\x20Additionally,\x20Condition\x20filters\ - \x20have\x20poor\x20performance,\x20especially\n\x20when\x20filters\x20a\ - re\x20set\x20for\x20the\x20false\x20condition.\n\n\r\n\x05\x04\t\x03\x02\ - \x01\x12\x04\xf1\x01\n\x13\n\xa0\x01\n\x06\x04\t\x03\x02\x02\0\x12\x04\ - \xf4\x01\x04#\x1a\x8f\x01\x20If\x20\"predicate_filter\"\x20outputs\x20an\ - y\x20cells,\x20then\x20\"true_filter\"\x20will\x20be\n\x20evaluated\x20o\ - n\x20the\x20input\x20row.\x20Otherwise,\x20\"false_filter\"\x20will\x20b\ - e\x20evaluated.\n\n\x11\n\x07\x04\t\x03\x02\x02\0\x04\x12\x06\xf4\x01\ - \x04\xf1\x01\x15\n\x0f\n\x07\x04\t\x03\x02\x02\0\x06\x12\x04\xf4\x01\x04\ - \r\n\x0f\n\x07\x04\t\x03\x02\x02\0\x01\x12\x04\xf4\x01\x0e\x1e\n\x0f\n\ - \x07\x04\t\x03\x02\x02\0\x03\x12\x04\xf4\x01!\"\n\xa2\x01\n\x06\x04\t\ - \x03\x02\x02\x01\x12\x04\xf8\x01\x04\x1e\x1a\x91\x01\x20The\x20filter\ - \x20to\x20apply\x20to\x20the\x20input\x20row\x20if\x20\"predicate_filter\ - \"\x20returns\x20any\n\x20results.\x20If\x20not\x20provided,\x20no\x20re\ - sults\x20will\x20be\x20returned\x20in\x20the\x20true\x20case.\n\n\x11\n\ - \x07\x04\t\x03\x02\x02\x01\x04\x12\x06\xf8\x01\x04\xf4\x01#\n\x0f\n\x07\ - \x04\t\x03\x02\x02\x01\x06\x12\x04\xf8\x01\x04\r\n\x0f\n\x07\x04\t\x03\ - \x02\x02\x01\x01\x12\x04\xf8\x01\x0e\x19\n\x0f\n\x07\x04\t\x03\x02\x02\ - \x01\x03\x12\x04\xf8\x01\x1c\x1d\n\xac\x01\n\x06\x04\t\x03\x02\x02\x02\ - \x12\x04\xfd\x01\x04\x1f\x1a\x9b\x01\x20The\x20filter\x20to\x20apply\x20\ - to\x20the\x20input\x20row\x20if\x20\"predicate_filter\"\x20does\x20not\n\ - \x20return\x20any\x20results.\x20If\x20not\x20provided,\x20no\x20results\ - \x20will\x20be\x20returned\x20in\x20the\n\x20false\x20case.\n\n\x11\n\ - \x07\x04\t\x03\x02\x02\x02\x04\x12\x06\xfd\x01\x04\xf8\x01\x1e\n\x0f\n\ - \x07\x04\t\x03\x02\x02\x02\x06\x12\x04\xfd\x01\x04\r\n\x0f\n\x07\x04\t\ - \x03\x02\x02\x02\x01\x12\x04\xfd\x01\x0e\x1a\n\x0f\n\x07\x04\t\x03\x02\ - \x02\x02\x03\x12\x04\xfd\x01\x1d\x1e\n\x86\x01\n\x04\x04\t\x08\0\x12\x06\ - \x82\x02\x02\xa4\x03\x03\x1av\x20Which\x20of\x20the\x20possible\x20RowFi\ - lter\x20types\x20to\x20apply.\x20If\x20none\x20are\x20set,\x20this\n\x20\ - RowFilter\x20returns\x20all\x20cells\x20in\x20the\x20input\x20row.\n\n\r\ - \n\x05\x04\t\x08\0\x01\x12\x04\x82\x02\x08\x0e\ni\n\x04\x04\t\x02\0\x12\ - \x04\x85\x02\x04\x14\x1a[\x20Applies\x20several\x20RowFilters\x20to\x20t\ - he\x20data\x20in\x20sequence,\x20progressively\n\x20narrowing\x20the\x20\ - results.\n\n\r\n\x05\x04\t\x02\0\x06\x12\x04\x85\x02\x04\t\n\r\n\x05\x04\ - \t\x02\0\x01\x12\x04\x85\x02\n\x0f\n\r\n\x05\x04\t\x02\0\x03\x12\x04\x85\ - \x02\x12\x13\n]\n\x04\x04\t\x02\x01\x12\x04\x89\x02\x04\x1e\x1aO\x20Appl\ - ies\x20several\x20RowFilters\x20to\x20the\x20data\x20in\x20parallel\x20a\ - nd\x20combines\x20the\n\x20results.\n\n\r\n\x05\x04\t\x02\x01\x06\x12\ - \x04\x89\x02\x04\x0e\n\r\n\x05\x04\t\x02\x01\x01\x12\x04\x89\x02\x0f\x19\ - \n\r\n\x05\x04\t\x02\x01\x03\x12\x04\x89\x02\x1c\x1d\nq\n\x04\x04\t\x02\ - \x02\x12\x04\x8d\x02\x04\x1c\x1ac\x20Applies\x20one\x20of\x20two\x20poss\ - ible\x20RowFilters\x20to\x20the\x20data\x20based\x20on\x20the\x20output\ - \x20of\n\x20a\x20predicate\x20RowFilter.\n\n\r\n\x05\x04\t\x02\x02\x06\ - \x12\x04\x8d\x02\x04\r\n\r\n\x05\x04\t\x02\x02\x01\x12\x04\x8d\x02\x0e\ - \x17\n\r\n\x05\x04\t\x02\x02\x03\x12\x04\x8d\x02\x1a\x1b\n\x97\x14\n\x04\ - \x04\t\x02\x03\x12\x04\xca\x02\x04\x13\x1a\x88\x14\x20ADVANCED\x20USE\ - \x20ONLY.\n\x20Hook\x20for\x20introspection\x20into\x20the\x20RowFilter.\ - \x20Outputs\x20all\x20cells\x20directly\x20to\n\x20the\x20output\x20of\ - \x20the\x20read\x20rather\x20than\x20to\x20any\x20parent\x20filter.\x20C\ - onsider\x20the\n\x20following\x20example:\n\n\x20Chain(\n\x20\x20\x20Fam\ - ilyRegex(\"A\"),\n\x20\x20\x20Interleave(\n\x20\x20\x20\x20\x20All(),\n\ - \x20\x20\x20\x20\x20Chain(Label(\"foo\"),\x20Sink())\n\x20\x20\x20),\n\ - \x20\x20\x20QualifierRegex(\"B\")\n\x20)\n\n\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - A,A,1,w\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A,B,2,x\n\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20B,B,4,z\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20FamilyRegex(\"A\")\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20A,A,1,w\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A,B,2,x\ - \n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20+------------+-------------+\n\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20All()\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20Label(foo)\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20A,A,1,w\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20A,A,1,w,labels:[foo]\n\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20A,B,2,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20A,B,2,x,labels:[foo]\n\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20Sink()\x20--------------+\n\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - |\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20+--------\ - ----+\x20\x20\x20\x20\x20\x20x------+\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20A,A,1,w,labels:[foo]\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - |\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20A,B,2,x,labels:[foo]\n\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20A,A,1,w\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20A,B,2,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - |\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QualifierRegex(\"B\")\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20A,B,2,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20+-----------\ - ---------------------+\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20A,A,1,w,labels:[foo]\n\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20A,B,2,x,labels:[foo]\x20\x20//\x20could\x20be\x20switched\n\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20A,B,2,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20//\x20could\x20be\x20switched\n\n\x20Despite\x20being\ - \x20excluded\x20by\x20the\x20qualifier\x20filter,\x20a\x20copy\x20of\x20\ - every\x20cell\n\x20that\x20reaches\x20the\x20sink\x20is\x20present\x20in\ - \x20the\x20final\x20result.\n\n\x20As\x20with\x20an\x20[Interleave][goog\ - le.bigtable.v1.RowFilter.Interleave],\n\x20duplicate\x20cells\x20are\x20\ - possible,\x20and\x20appear\x20in\x20an\x20unspecified\x20mutual\x20order\ - .\n\x20In\x20this\x20case\x20we\x20have\x20a\x20duplicate\x20with\x20col\ - umn\x20\"A:B\"\x20and\x20timestamp\x202,\n\x20because\x20one\x20copy\x20\ - passed\x20through\x20the\x20all\x20filter\x20while\x20the\x20other\x20wa\ - s\n\x20passed\x20through\x20the\x20label\x20and\x20sink.\x20Note\x20that\ - \x20one\x20copy\x20has\x20label\x20\"foo\",\n\x20while\x20the\x20other\ - \x20does\x20not.\n\n\x20Cannot\x20be\x20used\x20within\x20the\x20`predic\ - ate_filter`,\x20`true_filter`,\x20or\n\x20`false_filter`\x20of\x20a\x20[\ - Condition][google.bigtable.v1.RowFilter.Condition].\n\n\r\n\x05\x04\t\ - \x02\x03\x05\x12\x04\xca\x02\x04\x08\n\r\n\x05\x04\t\x02\x03\x01\x12\x04\ - \xca\x02\t\r\n\r\n\x05\x04\t\x02\x03\x03\x12\x04\xca\x02\x10\x12\n\x8a\ - \x01\n\x04\x04\t\x02\x04\x12\x04\xce\x02\x04\x1e\x1a|\x20Matches\x20all\ - \x20cells,\x20regardless\x20of\x20input.\x20Functionally\x20equivalent\ - \x20to\n\x20leaving\x20`filter`\x20unset,\x20but\x20included\x20for\x20c\ - ompleteness.\n\n\r\n\x05\x04\t\x02\x04\x05\x12\x04\xce\x02\x04\x08\n\r\n\ - \x05\x04\t\x02\x04\x01\x12\x04\xce\x02\t\x18\n\r\n\x05\x04\t\x02\x04\x03\ - \x12\x04\xce\x02\x1b\x1d\nw\n\x04\x04\t\x02\x05\x12\x04\xd2\x02\x04\x1f\ - \x1ai\x20Does\x20not\x20match\x20any\x20cells,\x20regardless\x20of\x20in\ - put.\x20Useful\x20for\x20temporarily\n\x20disabling\x20just\x20part\x20o\ - f\x20a\x20filter.\n\n\r\n\x05\x04\t\x02\x05\x05\x12\x04\xd2\x02\x04\x08\ - \n\r\n\x05\x04\t\x02\x05\x01\x12\x04\xd2\x02\t\x19\n\r\n\x05\x04\t\x02\ - \x05\x03\x12\x04\xd2\x02\x1c\x1e\n\xa4\x03\n\x04\x04\t\x02\x06\x12\x04\ - \xdb\x02\x04#\x1a\x95\x03\x20Matches\x20only\x20cells\x20from\x20rows\ - \x20whose\x20keys\x20satisfy\x20the\x20given\x20RE2\x20regex.\x20In\n\ - \x20other\x20words,\x20passes\x20through\x20the\x20entire\x20row\x20when\ - \x20the\x20key\x20matches,\x20and\n\x20otherwise\x20produces\x20an\x20em\ - pty\x20row.\n\x20Note\x20that,\x20since\x20row\x20keys\x20can\x20contain\ - \x20arbitrary\x20bytes,\x20the\x20'\\C'\x20escape\n\x20sequence\x20must\ - \x20be\x20used\x20if\x20a\x20true\x20wildcard\x20is\x20desired.\x20The\ - \x20'.'\x20character\n\x20will\x20not\x20match\x20the\x20new\x20line\x20\ - character\x20'\\n',\x20which\x20may\x20be\x20present\x20in\x20a\n\x20bin\ - ary\x20key.\n\n\r\n\x05\x04\t\x02\x06\x05\x12\x04\xdb\x02\x04\t\n\r\n\ - \x05\x04\t\x02\x06\x01\x12\x04\xdb\x02\n\x1e\n\r\n\x05\x04\t\x02\x06\x03\ - \x12\x04\xdb\x02!\"\ny\n\x04\x04\t\x02\x07\x12\x04\xdf\x02\x04\"\x1ak\ - \x20Matches\x20all\x20cells\x20from\x20a\x20row\x20with\x20probability\ - \x20p,\x20and\x20matches\x20no\x20cells\n\x20from\x20the\x20row\x20with\ - \x20probability\x201-p.\n\n\r\n\x05\x04\t\x02\x07\x05\x12\x04\xdf\x02\ - \x04\n\n\r\n\x05\x04\t\x02\x07\x01\x12\x04\xdf\x02\x0b\x1c\n\r\n\x05\x04\ - \t\x02\x07\x03\x12\x04\xdf\x02\x1f!\n\xf0\x02\n\x04\x04\t\x02\x08\x12\ - \x04\xe7\x02\x04(\x1a\xe1\x02\x20Matches\x20only\x20cells\x20from\x20col\ - umns\x20whose\x20families\x20satisfy\x20the\x20given\x20RE2\n\x20regex.\ - \x20For\x20technical\x20reasons,\x20the\x20regex\x20must\x20not\x20conta\ - in\x20the\x20':'\n\x20character,\x20even\x20if\x20it\x20is\x20not\x20bei\ - ng\x20used\x20as\x20a\x20literal.\n\x20Note\x20that,\x20since\x20column\ - \x20families\x20cannot\x20contain\x20the\x20new\x20line\x20character\n\ - \x20'\\n',\x20it\x20is\x20sufficient\x20to\x20use\x20'.'\x20as\x20a\x20f\ - ull\x20wildcard\x20when\x20matching\n\x20column\x20family\x20names.\n\n\ - \r\n\x05\x04\t\x02\x08\x05\x12\x04\xe7\x02\x04\n\n\r\n\x05\x04\t\x02\x08\ - \x01\x12\x04\xe7\x02\x0b#\n\r\n\x05\x04\t\x02\x08\x03\x12\x04\xe7\x02&'\ - \n\xd2\x02\n\x04\x04\t\x02\t\x12\x04\xef\x02\x04,\x1a\xc3\x02\x20Matches\ - \x20only\x20cells\x20from\x20columns\x20whose\x20qualifiers\x20satisfy\ - \x20the\x20given\x20RE2\n\x20regex.\n\x20Note\x20that,\x20since\x20colum\ - n\x20qualifiers\x20can\x20contain\x20arbitrary\x20bytes,\x20the\x20'\\C'\ - \n\x20escape\x20sequence\x20must\x20be\x20used\x20if\x20a\x20true\x20wil\ - dcard\x20is\x20desired.\x20The\x20'.'\n\x20character\x20will\x20not\x20m\ - atch\x20the\x20new\x20line\x20character\x20'\\n',\x20which\x20may\x20be\ - \n\x20present\x20in\x20a\x20binary\x20qualifier.\n\n\r\n\x05\x04\t\x02\t\ - \x05\x12\x04\xef\x02\x04\t\n\r\n\x05\x04\t\x02\t\x01\x12\x04\xef\x02\n'\ - \n\r\n\x05\x04\t\x02\t\x03\x12\x04\xef\x02*+\nG\n\x04\x04\t\x02\n\x12\ - \x04\xf2\x02\x04(\x1a9\x20Matches\x20only\x20cells\x20from\x20columns\ - \x20within\x20the\x20given\x20range.\n\n\r\n\x05\x04\t\x02\n\x06\x12\x04\ - \xf2\x02\x04\x0f\n\r\n\x05\x04\t\x02\n\x01\x12\x04\xf2\x02\x10#\n\r\n\ - \x05\x04\t\x02\n\x03\x12\x04\xf2\x02&'\nJ\n\x04\x04\t\x02\x0b\x12\x04\ - \xf5\x02\x04.\x1a<\x20Matches\x20only\x20cells\x20with\x20timestamps\x20\ - within\x20the\x20given\x20range.\n\n\r\n\x05\x04\t\x02\x0b\x06\x12\x04\ - \xf5\x02\x04\x12\n\r\n\x05\x04\t\x02\x0b\x01\x12\x04\xf5\x02\x13)\n\r\n\ - \x05\x04\t\x02\x0b\x03\x12\x04\xf5\x02,-\n\xc3\x02\n\x04\x04\t\x02\x0c\ - \x12\x04\xfc\x02\x04!\x1a\xb4\x02\x20Matches\x20only\x20cells\x20with\ - \x20values\x20that\x20satisfy\x20the\x20given\x20regular\x20expression.\ - \n\x20Note\x20that,\x20since\x20cell\x20values\x20can\x20contain\x20arbi\ - trary\x20bytes,\x20the\x20'\\C'\x20escape\n\x20sequence\x20must\x20be\ - \x20used\x20if\x20a\x20true\x20wildcard\x20is\x20desired.\x20The\x20'.'\ - \x20character\n\x20will\x20not\x20match\x20the\x20new\x20line\x20charact\ - er\x20'\\n',\x20which\x20may\x20be\x20present\x20in\x20a\n\x20binary\x20\ - value.\n\n\r\n\x05\x04\t\x02\x0c\x05\x12\x04\xfc\x02\x04\t\n\r\n\x05\x04\ - \t\x02\x0c\x01\x12\x04\xfc\x02\n\x1c\n\r\n\x05\x04\t\x02\x0c\x03\x12\x04\ - \xfc\x02\x1f\x20\nP\n\x04\x04\t\x02\r\x12\x04\xff\x02\x04'\x1aB\x20Match\ - es\x20only\x20cells\x20with\x20values\x20that\x20fall\x20within\x20the\ - \x20given\x20range.\n\n\r\n\x05\x04\t\x02\r\x06\x12\x04\xff\x02\x04\x0e\ - \n\r\n\x05\x04\t\x02\r\x01\x12\x04\xff\x02\x0f!\n\r\n\x05\x04\t\x02\r\ - \x03\x12\x04\xff\x02$&\n\xcc\x01\n\x04\x04\t\x02\x0e\x12\x04\x84\x03\x04\ - +\x1a\xbd\x01\x20Skips\x20the\x20first\x20N\x20cells\x20of\x20each\x20ro\ - w,\x20matching\x20all\x20subsequent\x20cells.\n\x20If\x20duplicate\x20ce\ - lls\x20are\x20present,\x20as\x20is\x20possible\x20when\x20using\x20an\ - \x20Interleave,\n\x20each\x20copy\x20of\x20the\x20cell\x20is\x20counted\ - \x20separately.\n\n\r\n\x05\x04\t\x02\x0e\x05\x12\x04\x84\x03\x04\t\n\r\ - \n\x05\x04\t\x02\x0e\x01\x12\x04\x84\x03\n%\n\r\n\x05\x04\t\x02\x0e\x03\ - \x12\x04\x84\x03(*\n\xb4\x01\n\x04\x04\t\x02\x0f\x12\x04\x89\x03\x04*\ - \x1a\xa5\x01\x20Matches\x20only\x20the\x20first\x20N\x20cells\x20of\x20e\ - ach\x20row.\n\x20If\x20duplicate\x20cells\x20are\x20present,\x20as\x20is\ - \x20possible\x20when\x20using\x20an\x20Interleave,\n\x20each\x20copy\x20\ - of\x20the\x20cell\x20is\x20counted\x20separately.\n\n\r\n\x05\x04\t\x02\ - \x0f\x05\x12\x04\x89\x03\x04\t\n\r\n\x05\x04\t\x02\x0f\x01\x12\x04\x89\ - \x03\n$\n\r\n\x05\x04\t\x02\x0f\x03\x12\x04\x89\x03')\n\xf3\x02\n\x04\ - \x04\t\x02\x10\x12\x04\x91\x03\x04-\x1a\xe4\x02\x20Matches\x20only\x20th\ - e\x20most\x20recent\x20N\x20cells\x20within\x20each\x20column.\x20For\ - \x20example,\n\x20if\x20N=2,\x20this\x20filter\x20would\x20match\x20colu\ - mn\x20\"foo:bar\"\x20at\x20timestamps\x2010\x20and\x209,\n\x20skip\x20al\ - l\x20earlier\x20cells\x20in\x20\"foo:bar\",\x20and\x20then\x20begin\x20m\ - atching\x20again\x20in\n\x20column\x20\"foo:bar2\".\n\x20If\x20duplicate\ - \x20cells\x20are\x20present,\x20as\x20is\x20possible\x20when\x20using\ - \x20an\x20Interleave,\n\x20each\x20copy\x20of\x20the\x20cell\x20is\x20co\ - unted\x20separately.\n\n\r\n\x05\x04\t\x02\x10\x05\x12\x04\x91\x03\x04\t\ - \n\r\n\x05\x04\t\x02\x10\x01\x12\x04\x91\x03\n'\n\r\n\x05\x04\t\x02\x10\ - \x03\x12\x04\x91\x03*,\nA\n\x04\x04\t\x02\x11\x12\x04\x94\x03\x04&\x1a3\ - \x20Replaces\x20each\x20cell's\x20value\x20with\x20the\x20empty\x20strin\ - g.\n\n\r\n\x05\x04\t\x02\x11\x05\x12\x04\x94\x03\x04\x08\n\r\n\x05\x04\t\ - \x02\x11\x01\x12\x04\x94\x03\t\x20\n\r\n\x05\x04\t\x02\x11\x03\x12\x04\ - \x94\x03#%\n\xf5\x04\n\x04\x04\t\x02\x12\x12\x04\xa3\x03\x04(\x1a\xe6\ - \x04\x20Applies\x20the\x20given\x20label\x20to\x20all\x20cells\x20in\x20\ - the\x20output\x20row.\x20This\x20allows\n\x20the\x20client\x20to\x20dete\ - rmine\x20which\x20results\x20were\x20produced\x20from\x20which\x20part\ - \x20of\n\x20the\x20filter.\n\n\x20Values\x20must\x20be\x20at\x20most\x20\ - 15\x20characters\x20in\x20length,\x20and\x20match\x20the\x20RE2\n\x20pat\ - tern\x20[a-z0-9\\\\-]+\n\n\x20Due\x20to\x20a\x20technical\x20limitation,\ - \x20it\x20is\x20not\x20currently\x20possible\x20to\x20apply\n\x20multipl\ - e\x20labels\x20to\x20a\x20cell.\x20As\x20a\x20result,\x20a\x20Chain\x20m\ - ay\x20have\x20no\x20more\x20than\n\x20one\x20sub-filter\x20which\x20cont\ - ains\x20a\x20apply_label_transformer.\x20It\x20is\x20okay\x20for\n\x20an\ - \x20Interleave\x20to\x20contain\x20multiple\x20apply_label_transformers,\ - \x20as\x20they\x20will\n\x20be\x20applied\x20to\x20separate\x20copies\ - \x20of\x20the\x20input.\x20This\x20may\x20be\x20relaxed\x20in\x20the\n\ - \x20future.\n\n\r\n\x05\x04\t\x02\x12\x05\x12\x04\xa3\x03\x04\n\n\r\n\ - \x05\x04\t\x02\x12\x01\x12\x04\xa3\x03\x0b\"\n\r\n\x05\x04\t\x02\x12\x03\ - \x12\x04\xa3\x03%'\nR\n\x02\x04\n\x12\x06\xa8\x03\0\xe7\x03\x01\x1aD\x20\ - Specifies\x20a\x20particular\x20change\x20to\x20be\x20made\x20to\x20the\ - \x20contents\x20of\x20a\x20row.\n\n\x0b\n\x03\x04\n\x01\x12\x04\xa8\x03\ - \x08\x10\nH\n\x04\x04\n\x03\0\x12\x06\xaa\x03\x02\xbc\x03\x03\x1a8\x20A\ - \x20Mutation\x20which\x20sets\x20the\x20value\x20of\x20the\x20specified\ - \x20cell.\n\n\r\n\x05\x04\n\x03\0\x01\x12\x04\xaa\x03\n\x11\nk\n\x06\x04\ - \n\x03\0\x02\0\x12\x04\xad\x03\x04\x1b\x1a[\x20The\x20name\x20of\x20the\ - \x20family\x20into\x20which\x20new\x20data\x20should\x20be\x20written.\n\ - \x20Must\x20match\x20[-_.a-zA-Z0-9]+\n\n\x11\n\x07\x04\n\x03\0\x02\0\x04\ - \x12\x06\xad\x03\x04\xaa\x03\x13\n\x0f\n\x07\x04\n\x03\0\x02\0\x05\x12\ - \x04\xad\x03\x04\n\n\x0f\n\x07\x04\n\x03\0\x02\0\x01\x12\x04\xad\x03\x0b\ - \x16\n\x0f\n\x07\x04\n\x03\0\x02\0\x03\x12\x04\xad\x03\x19\x1a\n\x89\x01\ - \n\x06\x04\n\x03\0\x02\x01\x12\x04\xb1\x03\x04\x1f\x1ay\x20The\x20qualif\ - ier\x20of\x20the\x20column\x20into\x20which\x20new\x20data\x20should\x20\ - be\x20written.\n\x20Can\x20be\x20any\x20byte\x20string,\x20including\x20\ - the\x20empty\x20string.\n\n\x11\n\x07\x04\n\x03\0\x02\x01\x04\x12\x06\ - \xb1\x03\x04\xad\x03\x1b\n\x0f\n\x07\x04\n\x03\0\x02\x01\x05\x12\x04\xb1\ - \x03\x04\t\n\x0f\n\x07\x04\n\x03\0\x02\x01\x01\x12\x04\xb1\x03\n\x1a\n\ - \x0f\n\x07\x04\n\x03\0\x02\x01\x03\x12\x04\xb1\x03\x1d\x1e\n\xd3\x02\n\ - \x06\x04\n\x03\0\x02\x02\x12\x04\xb8\x03\x04\x1f\x1a\xc2\x02\x20The\x20t\ - imestamp\x20of\x20the\x20cell\x20into\x20which\x20new\x20data\x20should\ - \x20be\x20written.\n\x20Use\x20-1\x20for\x20current\x20Bigtable\x20serve\ - r\x20time.\n\x20Otherwise,\x20the\x20client\x20should\x20set\x20this\x20\ - value\x20itself,\x20noting\x20that\x20the\n\x20default\x20value\x20is\ - \x20a\x20timestamp\x20of\x20zero\x20if\x20the\x20field\x20is\x20left\x20\ - unspecified.\n\x20Values\x20must\x20match\x20the\x20\"granularity\"\x20o\ - f\x20the\x20table\x20(e.g.\x20micros,\x20millis).\n\n\x11\n\x07\x04\n\ - \x03\0\x02\x02\x04\x12\x06\xb8\x03\x04\xb1\x03\x1f\n\x0f\n\x07\x04\n\x03\ - \0\x02\x02\x05\x12\x04\xb8\x03\x04\t\n\x0f\n\x07\x04\n\x03\0\x02\x02\x01\ - \x12\x04\xb8\x03\n\x1a\n\x0f\n\x07\x04\n\x03\0\x02\x02\x03\x12\x04\xb8\ - \x03\x1d\x1e\nB\n\x06\x04\n\x03\0\x02\x03\x12\x04\xbb\x03\x04\x14\x1a2\ - \x20The\x20value\x20to\x20be\x20written\x20into\x20the\x20specified\x20c\ - ell.\n\n\x11\n\x07\x04\n\x03\0\x02\x03\x04\x12\x06\xbb\x03\x04\xb8\x03\ - \x1f\n\x0f\n\x07\x04\n\x03\0\x02\x03\x05\x12\x04\xbb\x03\x04\t\n\x0f\n\ - \x07\x04\n\x03\0\x02\x03\x01\x12\x04\xbb\x03\n\x0f\n\x0f\n\x07\x04\n\x03\ - \0\x02\x03\x03\x12\x04\xbb\x03\x12\x13\n\x8d\x01\n\x04\x04\n\x03\x01\x12\ - \x06\xc0\x03\x02\xcb\x03\x03\x1a}\x20A\x20Mutation\x20which\x20deletes\ - \x20cells\x20from\x20the\x20specified\x20column,\x20optionally\n\x20rest\ - ricting\x20the\x20deletions\x20to\x20a\x20given\x20timestamp\x20range.\n\ - \n\r\n\x05\x04\n\x03\x01\x01\x12\x04\xc0\x03\n\x1a\nh\n\x06\x04\n\x03\ - \x01\x02\0\x12\x04\xc3\x03\x04\x1b\x1aX\x20The\x20name\x20of\x20the\x20f\ - amily\x20from\x20which\x20cells\x20should\x20be\x20deleted.\n\x20Must\ - \x20match\x20[-_.a-zA-Z0-9]+\n\n\x11\n\x07\x04\n\x03\x01\x02\0\x04\x12\ - \x06\xc3\x03\x04\xc0\x03\x1c\n\x0f\n\x07\x04\n\x03\x01\x02\0\x05\x12\x04\ - \xc3\x03\x04\n\n\x0f\n\x07\x04\n\x03\x01\x02\0\x01\x12\x04\xc3\x03\x0b\ - \x16\n\x0f\n\x07\x04\n\x03\x01\x02\0\x03\x12\x04\xc3\x03\x19\x1a\n\x86\ - \x01\n\x06\x04\n\x03\x01\x02\x01\x12\x04\xc7\x03\x04\x1f\x1av\x20The\x20\ - qualifier\x20of\x20the\x20column\x20from\x20which\x20cells\x20should\x20\ - be\x20deleted.\n\x20Can\x20be\x20any\x20byte\x20string,\x20including\x20\ - the\x20empty\x20string.\n\n\x11\n\x07\x04\n\x03\x01\x02\x01\x04\x12\x06\ - \xc7\x03\x04\xc3\x03\x1b\n\x0f\n\x07\x04\n\x03\x01\x02\x01\x05\x12\x04\ - \xc7\x03\x04\t\n\x0f\n\x07\x04\n\x03\x01\x02\x01\x01\x12\x04\xc7\x03\n\ - \x1a\n\x0f\n\x07\x04\n\x03\x01\x02\x01\x03\x12\x04\xc7\x03\x1d\x1e\nO\n\ - \x06\x04\n\x03\x01\x02\x02\x12\x04\xca\x03\x04\"\x1a?\x20The\x20range\ - \x20of\x20timestamps\x20within\x20which\x20cells\x20should\x20be\x20dele\ - ted.\n\n\x11\n\x07\x04\n\x03\x01\x02\x02\x04\x12\x06\xca\x03\x04\xc7\x03\ - \x1f\n\x0f\n\x07\x04\n\x03\x01\x02\x02\x06\x12\x04\xca\x03\x04\x12\n\x0f\ - \n\x07\x04\n\x03\x01\x02\x02\x01\x12\x04\xca\x03\x13\x1d\n\x0f\n\x07\x04\ - \n\x03\x01\x02\x02\x03\x12\x04\xca\x03\x20!\nV\n\x04\x04\n\x03\x02\x12\ - \x06\xce\x03\x02\xd2\x03\x03\x1aF\x20A\x20Mutation\x20which\x20deletes\ - \x20all\x20cells\x20from\x20the\x20specified\x20column\x20family.\n\n\r\ - \n\x05\x04\n\x03\x02\x01\x12\x04\xce\x03\n\x1a\nh\n\x06\x04\n\x03\x02\ - \x02\0\x12\x04\xd1\x03\x04\x1b\x1aX\x20The\x20name\x20of\x20the\x20famil\ - y\x20from\x20which\x20cells\x20should\x20be\x20deleted.\n\x20Must\x20mat\ - ch\x20[-_.a-zA-Z0-9]+\n\n\x11\n\x07\x04\n\x03\x02\x02\0\x04\x12\x06\xd1\ - \x03\x04\xce\x03\x1c\n\x0f\n\x07\x04\n\x03\x02\x02\0\x05\x12\x04\xd1\x03\ - \x04\n\n\x0f\n\x07\x04\n\x03\x02\x02\0\x01\x12\x04\xd1\x03\x0b\x16\n\x0f\ - \n\x07\x04\n\x03\x02\x02\0\x03\x12\x04\xd1\x03\x19\x1a\nM\n\x04\x04\n\ - \x03\x03\x12\x06\xd5\x03\x02\xd7\x03\x03\x1a=\x20A\x20Mutation\x20which\ - \x20deletes\x20all\x20cells\x20from\x20the\x20containing\x20row.\n\n\r\n\ - \x05\x04\n\x03\x03\x01\x12\x04\xd5\x03\n\x17\n@\n\x04\x04\n\x08\0\x12\ - \x06\xda\x03\x02\xe6\x03\x03\x1a0\x20Which\x20of\x20the\x20possible\x20M\ - utation\x20types\x20to\x20apply.\n\n\r\n\x05\x04\n\x08\0\x01\x12\x04\xda\ - \x03\x08\x10\n#\n\x04\x04\n\x02\0\x12\x04\xdc\x03\x04\x19\x1a\x15\x20Set\ - \x20a\x20cell's\x20value.\n\n\r\n\x05\x04\n\x02\0\x06\x12\x04\xdc\x03\ - \x04\x0b\n\r\n\x05\x04\n\x02\0\x01\x12\x04\xdc\x03\x0c\x14\n\r\n\x05\x04\ - \n\x02\0\x03\x12\x04\xdc\x03\x17\x18\n,\n\x04\x04\n\x02\x01\x12\x04\xdf\ - \x03\x04,\x1a\x1e\x20Deletes\x20cells\x20from\x20a\x20column.\n\n\r\n\ - \x05\x04\n\x02\x01\x06\x12\x04\xdf\x03\x04\x14\n\r\n\x05\x04\n\x02\x01\ - \x01\x12\x04\xdf\x03\x15'\n\r\n\x05\x04\n\x02\x01\x03\x12\x04\xdf\x03*+\ - \n3\n\x04\x04\n\x02\x02\x12\x04\xe2\x03\x04,\x1a%\x20Deletes\x20cells\ - \x20from\x20a\x20column\x20family.\n\n\r\n\x05\x04\n\x02\x02\x06\x12\x04\ - \xe2\x03\x04\x14\n\r\n\x05\x04\n\x02\x02\x01\x12\x04\xe2\x03\x15'\n\r\n\ - \x05\x04\n\x02\x02\x03\x12\x04\xe2\x03*+\n2\n\x04\x04\n\x02\x03\x12\x04\ - \xe5\x03\x04&\x1a$\x20Deletes\x20cells\x20from\x20the\x20entire\x20row.\ - \n\n\r\n\x05\x04\n\x02\x03\x06\x12\x04\xe5\x03\x04\x11\n\r\n\x05\x04\n\ - \x02\x03\x01\x12\x04\xe5\x03\x12!\n\r\n\x05\x04\n\x02\x03\x03\x12\x04\ - \xe5\x03$%\nm\n\x02\x04\x0b\x12\x06\xeb\x03\0\x83\x04\x01\x1a_\x20Specif\ - ies\x20an\x20atomic\x20read/modify/write\x20operation\x20on\x20the\x20la\ - test\x20value\x20of\x20the\n\x20specified\x20column.\n\n\x0b\n\x03\x04\ - \x0b\x01\x12\x04\xeb\x03\x08\x1b\nt\n\x04\x04\x0b\x02\0\x12\x04\xee\x03\ - \x02\x19\x1af\x20The\x20name\x20of\x20the\x20family\x20to\x20which\x20th\ - e\x20read/modify/write\x20should\x20be\x20applied.\n\x20Must\x20match\ - \x20[-_.a-zA-Z0-9]+\n\n\x0f\n\x05\x04\x0b\x02\0\x04\x12\x06\xee\x03\x02\ - \xeb\x03\x1d\n\r\n\x05\x04\x0b\x02\0\x05\x12\x04\xee\x03\x02\x08\n\r\n\ - \x05\x04\x0b\x02\0\x01\x12\x04\xee\x03\t\x14\n\r\n\x05\x04\x0b\x02\0\x03\ - \x12\x04\xee\x03\x17\x18\n\x94\x01\n\x04\x04\x0b\x02\x01\x12\x04\xf3\x03\ - \x02\x1d\x1a\x85\x01\x20The\x20qualifier\x20of\x20the\x20column\x20to\ - \x20which\x20the\x20read/modify/write\x20should\x20be\n\x20applied.\n\ - \x20Can\x20be\x20any\x20byte\x20string,\x20including\x20the\x20empty\x20\ - string.\n\n\x0f\n\x05\x04\x0b\x02\x01\x04\x12\x06\xf3\x03\x02\xee\x03\ - \x19\n\r\n\x05\x04\x0b\x02\x01\x05\x12\x04\xf3\x03\x02\x07\n\r\n\x05\x04\ - \x0b\x02\x01\x01\x12\x04\xf3\x03\x08\x18\n\r\n\x05\x04\x0b\x02\x01\x03\ - \x12\x04\xf3\x03\x1b\x1c\nj\n\x04\x04\x0b\x08\0\x12\x06\xf7\x03\x02\x82\ - \x04\x03\x1aZ\x20The\x20rule\x20used\x20to\x20determine\x20the\x20column\ - 's\x20new\x20latest\x20value\x20from\x20its\x20current\n\x20latest\x20va\ - lue.\n\n\r\n\x05\x04\x0b\x08\0\x01\x12\x04\xf7\x03\x08\x0c\n\xab\x01\n\ - \x04\x04\x0b\x02\x02\x12\x04\xfb\x03\x04\x1b\x1a\x9c\x01\x20Rule\x20spec\ - ifying\x20that\x20\"append_value\"\x20be\x20appended\x20to\x20the\x20exi\ - sting\x20value.\n\x20If\x20the\x20targeted\x20cell\x20is\x20unset,\x20it\ - \x20will\x20be\x20treated\x20as\x20containing\x20the\n\x20empty\x20strin\ - g.\n\n\r\n\x05\x04\x0b\x02\x02\x05\x12\x04\xfb\x03\x04\t\n\r\n\x05\x04\ - \x0b\x02\x02\x01\x12\x04\xfb\x03\n\x16\n\r\n\x05\x04\x0b\x02\x02\x03\x12\ - \x04\xfb\x03\x19\x1a\n\xb3\x02\n\x04\x04\x0b\x02\x03\x12\x04\x81\x04\x04\ - \x1f\x1a\xa4\x02\x20Rule\x20specifying\x20that\x20\"increment_amount\"\ - \x20be\x20added\x20to\x20the\x20existing\x20value.\n\x20If\x20the\x20tar\ - geted\x20cell\x20is\x20unset,\x20it\x20will\x20be\x20treated\x20as\x20co\ - ntaining\x20a\x20zero.\n\x20Otherwise,\x20the\x20targeted\x20cell\x20mus\ - t\x20contain\x20an\x208-byte\x20value\x20(interpreted\n\x20as\x20a\x2064\ - -bit\x20big-endian\x20signed\x20integer),\x20or\x20the\x20entire\x20requ\ - est\x20will\x20fail.\n\n\r\n\x05\x04\x0b\x02\x03\x05\x12\x04\x81\x04\x04\ - \t\n\r\n\x05\x04\x0b\x02\x03\x01\x12\x04\x81\x04\n\x1a\n\r\n\x05\x04\x0b\ - \x02\x03\x03\x12\x04\x81\x04\x1d\x1eb\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service.rs deleted file mode 100644 index c8a9c08cd3..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service.rs +++ /dev/null @@ -1,142 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/v1/bigtable_service.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n)google/bigtable/v1/bigtable_service.proto\x12\x12google.bigtable.v1\ - \x1a\x1cgoogle/api/annotations.proto\x1a&google/bigtable/v1/bigtable_dat\ - a.proto\x1a2google/bigtable/v1/bigtable_service_messages.proto\x1a\x1bgo\ - ogle/protobuf/empty.proto2\xdd\x08\n\x0fBigtableService\x12\xa5\x01\n\ - \x08ReadRows\x12#.google.bigtable.v1.ReadRowsRequest\x1a$.google.bigtabl\ - e.v1.ReadRowsResponse\"L\x82\xd3\xe4\x93\x02F\"A/v1/{table_name=projects\ - /*/zones/*/clusters/*/tables/*}/rows:read:\x01*0\x01\x12\xb7\x01\n\rSamp\ - leRowKeys\x12(.google.bigtable.v1.SampleRowKeysRequest\x1a).google.bigta\ - ble.v1.SampleRowKeysResponse\"O\x82\xd3\xe4\x93\x02I\x12G/v1/{table_name\ - =projects/*/zones/*/clusters/*/tables/*}/rows:sampleKeys0\x01\x12\xa3\ - \x01\n\tMutateRow\x12$.google.bigtable.v1.MutateRowRequest\x1a\x16.googl\ - e.protobuf.Empty\"X\x82\xd3\xe4\x93\x02R\"M/v1/{table_name=projects/*/zo\ - nes/*/clusters/*/tables/*}/rows/{row_key}:mutate:\x01*\x12\xaa\x01\n\nMu\ - tateRows\x12%.google.bigtable.v1.MutateRowsRequest\x1a&.google.bigtable.\ - v1.MutateRowsResponse\"M\x82\xd3\xe4\x93\x02G\"B/v1/{table_name=projects\ - /*/zones/*/clusters/*/tables/*}:mutateRows:\x01*\x12\xd2\x01\n\x11CheckA\ - ndMutateRow\x12,.google.bigtable.v1.CheckAndMutateRowRequest\x1a-.google\ - .bigtable.v1.CheckAndMutateRowResponse\"`\x82\xd3\xe4\x93\x02Z\"U/v1/{ta\ - ble_name=projects/*/zones/*/clusters/*/tables/*}/rows/{row_key}:checkAnd\ - Mutate:\x01*\x12\xbf\x01\n\x12ReadModifyWriteRow\x12-.google.bigtable.v1\ - .ReadModifyWriteRowRequest\x1a\x17.google.bigtable.v1.Row\"a\x82\xd3\xe4\ - \x93\x02[\"V/v1/{table_name=projects/*/zones/*/clusters/*/tables/*}/rows\ - /{row_key}:readModifyWrite:\x01*Bp\n\x16com.google.bigtable.v1B\x15Bigta\ - bleServicesProtoP\x01Z:google.golang.org/genproto/googleapis/bigtable/v1\ - ;bigtable\x88\x01\x01J\xb1\x13\n\x06\x12\x04\x0e\0Z\x01\n\xbd\x04\n\x01\ - \x0c\x12\x03\x0e\0\x122\xb2\x04\x20Copyright\x202018\x20Google\x20Inc.\n\ - \n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\ - \x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\ - \x20except\x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20ma\ - y\x20obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\ - \x20\x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20requ\ - ired\x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\ - \x20software\n\x20distributed\x20under\x20the\x20License\x20is\x20distri\ - buted\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\ - \x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\ - \x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20lan\ - guage\x20governing\x20permissions\x20and\n\x20limitations\x20under\x20th\ - e\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0\x1b\n\t\n\x02\x03\0\x12\ - \x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\00\n\t\n\x02\x03\x02\x12\x03\ - \x14\0<\n\t\n\x02\x03\x03\x12\x03\x15\0%\n\x08\n\x01\x08\x12\x03\x17\0Q\ - \n\t\n\x02\x08\x0b\x12\x03\x17\0Q\n\x08\n\x01\x08\x12\x03\x18\0$\n\t\n\ - \x02\x08\x11\x12\x03\x18\0$\n\x08\n\x01\x08\x12\x03\x19\0\"\n\t\n\x02\ - \x08\n\x12\x03\x19\0\"\n\x08\n\x01\x08\x12\x03\x1a\06\n\t\n\x02\x08\x08\ - \x12\x03\x1a\06\n\x08\n\x01\x08\x12\x03\x1b\0/\n\t\n\x02\x08\x01\x12\x03\ - \x1b\0/\nI\n\x02\x06\0\x12\x04\x1f\0Z\x01\x1a=\x20Service\x20for\x20read\ - ing\x20from\x20and\x20writing\x20to\x20existing\x20Bigtables.\n\n\n\n\ - \x03\x06\0\x01\x12\x03\x1f\x08\x17\n\xf5\x01\n\x04\x06\0\x02\0\x12\x04$\ - \x02)\x03\x1a\xe6\x01\x20Streams\x20back\x20the\x20contents\x20of\x20all\ - \x20requested\x20rows,\x20optionally\x20applying\n\x20the\x20same\x20Rea\ - der\x20filter\x20to\x20each.\x20Depending\x20on\x20their\x20size,\x20row\ - s\x20may\x20be\n\x20broken\x20up\x20across\x20multiple\x20responses,\x20\ - but\x20atomicity\x20of\x20each\x20row\x20will\x20still\n\x20be\x20preser\ - ved.\n\n\x0c\n\x05\x06\0\x02\0\x01\x12\x03$\x06\x0e\n\x0c\n\x05\x06\0\ - \x02\0\x02\x12\x03$\x0f\x1e\n\x0c\n\x05\x06\0\x02\0\x06\x12\x03$)/\n\x0c\ - \n\x05\x06\0\x02\0\x03\x12\x03$0@\n\r\n\x05\x06\0\x02\0\x04\x12\x04%\x04\ - (\x06\n\x11\n\t\x06\0\x02\0\x04\xb0\xca\xbc\"\x12\x04%\x04(\x06\n\xed\ - \x01\n\x04\x06\0\x02\x01\x12\x04/\x023\x03\x1a\xde\x01\x20Returns\x20a\ - \x20sample\x20of\x20row\x20keys\x20in\x20the\x20table.\x20The\x20returne\ - d\x20row\x20keys\x20will\n\x20delimit\x20contiguous\x20sections\x20of\ - \x20the\x20table\x20of\x20approximately\x20equal\x20size,\n\x20which\x20\ - can\x20be\x20used\x20to\x20break\x20up\x20the\x20data\x20for\x20distribu\ - ted\x20tasks\x20like\n\x20mapreduces.\n\n\x0c\n\x05\x06\0\x02\x01\x01\ - \x12\x03/\x06\x13\n\x0c\n\x05\x06\0\x02\x01\x02\x12\x03/\x14(\n\x0c\n\ - \x05\x06\0\x02\x01\x06\x12\x03/39\n\x0c\n\x05\x06\0\x02\x01\x03\x12\x03/\ - :O\n\r\n\x05\x06\0\x02\x01\x04\x12\x040\x042\x06\n\x11\n\t\x06\0\x02\x01\ - \x04\xb0\xca\xbc\"\x12\x040\x042\x06\n\x87\x01\n\x04\x06\0\x02\x02\x12\ - \x047\x02<\x03\x1ay\x20Mutates\x20a\x20row\x20atomically.\x20Cells\x20al\ - ready\x20present\x20in\x20the\x20row\x20are\x20left\n\x20unchanged\x20un\ - less\x20explicitly\x20changed\x20by\x20'mutation'.\n\n\x0c\n\x05\x06\0\ - \x02\x02\x01\x12\x037\x06\x0f\n\x0c\n\x05\x06\0\x02\x02\x02\x12\x037\x10\ - \x20\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x037+@\n\r\n\x05\x06\0\x02\x02\ - \x04\x12\x048\x04;\x06\n\x11\n\t\x06\0\x02\x02\x04\xb0\xca\xbc\"\x12\x04\ - 8\x04;\x06\n\xa0\x01\n\x04\x06\0\x02\x03\x12\x04A\x02F\x03\x1a\x91\x01\ - \x20Mutates\x20multiple\x20rows\x20in\x20a\x20batch.\x20Each\x20individu\ - al\x20row\x20is\x20mutated\n\x20atomically\x20as\x20in\x20MutateRow,\x20\ - but\x20the\x20entire\x20batch\x20is\x20not\x20executed\n\x20atomically.\ - \n\n\x0c\n\x05\x06\0\x02\x03\x01\x12\x03A\x06\x10\n\x0c\n\x05\x06\0\x02\ - \x03\x02\x12\x03A\x11\"\n\x0c\n\x05\x06\0\x02\x03\x03\x12\x03A-?\n\r\n\ - \x05\x06\0\x02\x03\x04\x12\x04B\x04E\x06\n\x11\n\t\x06\0\x02\x03\x04\xb0\ - \xca\xbc\"\x12\x04B\x04E\x06\nZ\n\x04\x06\0\x02\x04\x12\x04I\x02N\x03\ - \x1aL\x20Mutates\x20a\x20row\x20atomically\x20based\x20on\x20the\x20outp\ - ut\x20of\x20a\x20predicate\x20Reader\x20filter.\n\n\x0c\n\x05\x06\0\x02\ - \x04\x01\x12\x03I\x06\x17\n\x0c\n\x05\x06\0\x02\x04\x02\x12\x03I\x180\n\ - \x0c\n\x05\x06\0\x02\x04\x03\x12\x03I;T\n\r\n\x05\x06\0\x02\x04\x04\x12\ - \x04J\x04M\x06\n\x11\n\t\x06\0\x02\x04\x04\xb0\xca\xbc\"\x12\x04J\x04M\ - \x06\n\x9b\x02\n\x04\x06\0\x02\x05\x12\x04T\x02Y\x03\x1a\x8c\x02\x20Modi\ - fies\x20a\x20row\x20atomically,\x20reading\x20the\x20latest\x20existing\ - \x20timestamp/value\x20from\n\x20the\x20specified\x20columns\x20and\x20w\ - riting\x20a\x20new\x20value\x20at\n\x20max(existing\x20timestamp,\x20cur\ - rent\x20server\x20time)\x20based\x20on\x20pre-defined\n\x20read/modify/w\ - rite\x20rules.\x20Returns\x20the\x20new\x20contents\x20of\x20all\x20modi\ - fied\x20cells.\n\n\x0c\n\x05\x06\0\x02\x05\x01\x12\x03T\x06\x18\n\x0c\n\ - \x05\x06\0\x02\x05\x02\x12\x03T\x192\n\x0c\n\x05\x06\0\x02\x05\x03\x12\ - \x03T=@\n\r\n\x05\x06\0\x02\x05\x04\x12\x04U\x04X\x06\n\x11\n\t\x06\0\ - \x02\x05\x04\xb0\xca\xbc\"\x12\x04U\x04X\x06b\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service_grpc.rs deleted file mode 100644 index 2297831bfa..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service_grpc.rs +++ /dev/null @@ -1,195 +0,0 @@ -// This file is generated. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] - -const METHOD_BIGTABLE_SERVICE_READ_ROWS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::ServerStreaming, - name: "/google.bigtable.v1.BigtableService/ReadRows", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_SERVICE_SAMPLE_ROW_KEYS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::ServerStreaming, - name: "/google.bigtable.v1.BigtableService/SampleRowKeys", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_SERVICE_MUTATE_ROW: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.v1.BigtableService/MutateRow", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_SERVICE_MUTATE_ROWS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.v1.BigtableService/MutateRows", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_SERVICE_CHECK_AND_MUTATE_ROW: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.v1.BigtableService/CheckAndMutateRow", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_SERVICE_READ_MODIFY_WRITE_ROW: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.v1.BigtableService/ReadModifyWriteRow", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -#[derive(Clone)] -pub struct BigtableServiceClient { - client: ::grpcio::Client, -} - -impl BigtableServiceClient { - pub fn new(channel: ::grpcio::Channel) -> Self { - BigtableServiceClient { - client: ::grpcio::Client::new(channel), - } - } - - pub fn read_rows_opt(&self, req: &super::bigtable_service_messages::ReadRowsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientSStreamReceiver> { - self.client.server_streaming(&METHOD_BIGTABLE_SERVICE_READ_ROWS, req, opt) - } - - pub fn read_rows(&self, req: &super::bigtable_service_messages::ReadRowsRequest) -> ::grpcio::Result<::grpcio::ClientSStreamReceiver> { - self.read_rows_opt(req, ::grpcio::CallOption::default()) - } - - pub fn sample_row_keys_opt(&self, req: &super::bigtable_service_messages::SampleRowKeysRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientSStreamReceiver> { - self.client.server_streaming(&METHOD_BIGTABLE_SERVICE_SAMPLE_ROW_KEYS, req, opt) - } - - pub fn sample_row_keys(&self, req: &super::bigtable_service_messages::SampleRowKeysRequest) -> ::grpcio::Result<::grpcio::ClientSStreamReceiver> { - self.sample_row_keys_opt(req, ::grpcio::CallOption::default()) - } - - pub fn mutate_row_opt(&self, req: &super::bigtable_service_messages::MutateRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_SERVICE_MUTATE_ROW, req, opt) - } - - pub fn mutate_row(&self, req: &super::bigtable_service_messages::MutateRowRequest) -> ::grpcio::Result { - self.mutate_row_opt(req, ::grpcio::CallOption::default()) - } - - pub fn mutate_row_async_opt(&self, req: &super::bigtable_service_messages::MutateRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_SERVICE_MUTATE_ROW, req, opt) - } - - pub fn mutate_row_async(&self, req: &super::bigtable_service_messages::MutateRowRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.mutate_row_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn mutate_rows_opt(&self, req: &super::bigtable_service_messages::MutateRowsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_SERVICE_MUTATE_ROWS, req, opt) - } - - pub fn mutate_rows(&self, req: &super::bigtable_service_messages::MutateRowsRequest) -> ::grpcio::Result { - self.mutate_rows_opt(req, ::grpcio::CallOption::default()) - } - - pub fn mutate_rows_async_opt(&self, req: &super::bigtable_service_messages::MutateRowsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_SERVICE_MUTATE_ROWS, req, opt) - } - - pub fn mutate_rows_async(&self, req: &super::bigtable_service_messages::MutateRowsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.mutate_rows_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn check_and_mutate_row_opt(&self, req: &super::bigtable_service_messages::CheckAndMutateRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_SERVICE_CHECK_AND_MUTATE_ROW, req, opt) - } - - pub fn check_and_mutate_row(&self, req: &super::bigtable_service_messages::CheckAndMutateRowRequest) -> ::grpcio::Result { - self.check_and_mutate_row_opt(req, ::grpcio::CallOption::default()) - } - - pub fn check_and_mutate_row_async_opt(&self, req: &super::bigtable_service_messages::CheckAndMutateRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_SERVICE_CHECK_AND_MUTATE_ROW, req, opt) - } - - pub fn check_and_mutate_row_async(&self, req: &super::bigtable_service_messages::CheckAndMutateRowRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.check_and_mutate_row_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn read_modify_write_row_opt(&self, req: &super::bigtable_service_messages::ReadModifyWriteRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_SERVICE_READ_MODIFY_WRITE_ROW, req, opt) - } - - pub fn read_modify_write_row(&self, req: &super::bigtable_service_messages::ReadModifyWriteRowRequest) -> ::grpcio::Result { - self.read_modify_write_row_opt(req, ::grpcio::CallOption::default()) - } - - pub fn read_modify_write_row_async_opt(&self, req: &super::bigtable_service_messages::ReadModifyWriteRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_SERVICE_READ_MODIFY_WRITE_ROW, req, opt) - } - - pub fn read_modify_write_row_async(&self, req: &super::bigtable_service_messages::ReadModifyWriteRowRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.read_modify_write_row_async_opt(req, ::grpcio::CallOption::default()) - } - pub fn spawn(&self, f: F) where F: ::futures::Future + Send + 'static { - self.client.spawn(f) - } -} - -pub trait BigtableService { - fn read_rows(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_service_messages::ReadRowsRequest, sink: ::grpcio::ServerStreamingSink); - fn sample_row_keys(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_service_messages::SampleRowKeysRequest, sink: ::grpcio::ServerStreamingSink); - fn mutate_row(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_service_messages::MutateRowRequest, sink: ::grpcio::UnarySink); - fn mutate_rows(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_service_messages::MutateRowsRequest, sink: ::grpcio::UnarySink); - fn check_and_mutate_row(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_service_messages::CheckAndMutateRowRequest, sink: ::grpcio::UnarySink); - fn read_modify_write_row(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable_service_messages::ReadModifyWriteRowRequest, sink: ::grpcio::UnarySink); -} - -pub fn create_bigtable_service(s: S) -> ::grpcio::Service { - let mut builder = ::grpcio::ServiceBuilder::new(); - let mut instance = s.clone(); - builder = builder.add_server_streaming_handler(&METHOD_BIGTABLE_SERVICE_READ_ROWS, move |ctx, req, resp| { - instance.read_rows(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_server_streaming_handler(&METHOD_BIGTABLE_SERVICE_SAMPLE_ROW_KEYS, move |ctx, req, resp| { - instance.sample_row_keys(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_SERVICE_MUTATE_ROW, move |ctx, req, resp| { - instance.mutate_row(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_SERVICE_MUTATE_ROWS, move |ctx, req, resp| { - instance.mutate_rows(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_SERVICE_CHECK_AND_MUTATE_ROW, move |ctx, req, resp| { - instance.check_and_mutate_row(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_SERVICE_READ_MODIFY_WRITE_ROW, move |ctx, req, resp| { - instance.read_modify_write_row(ctx, req, resp) - }); - builder.build() -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service_messages.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service_messages.rs deleted file mode 100644 index a08c4736ff..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/bigtable_service_messages.rs +++ /dev/null @@ -1,3447 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/v1/bigtable_service_messages.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct ReadRowsRequest { - // message fields - pub table_name: ::std::string::String, - pub filter: ::protobuf::SingularPtrField, - pub allow_row_interleaving: bool, - pub num_rows_limit: i64, - // message oneof groups - pub target: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadRowsRequest { - fn default() -> &'a ReadRowsRequest { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ReadRowsRequest_oneof_target { - row_key(::std::vec::Vec), - row_range(super::bigtable_data::RowRange), - row_set(super::bigtable_data::RowSet), -} - -impl ReadRowsRequest { - pub fn new() -> ReadRowsRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // bytes row_key = 2; - - - pub fn get_row_key(&self) -> &[u8] { - match self.target { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_key(ref v)) => v, - _ => &[], - } - } - pub fn clear_row_key(&mut self) { - self.target = ::std::option::Option::None; - } - - pub fn has_row_key(&self) -> bool { - match self.target { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_key(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.target = ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_key(v)) - } - - // Mutable pointer to the field. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_key(_)) = self.target { - } else { - self.target = ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_key(::std::vec::Vec::new())); - } - match self.target { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_key(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - if self.has_row_key() { - match self.target.take() { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_key(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // .google.bigtable.v1.RowRange row_range = 3; - - - pub fn get_row_range(&self) -> &super::bigtable_data::RowRange { - match self.target { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_range(ref v)) => v, - _ => super::bigtable_data::RowRange::default_instance(), - } - } - pub fn clear_row_range(&mut self) { - self.target = ::std::option::Option::None; - } - - pub fn has_row_range(&self) -> bool { - match self.target { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_range(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_row_range(&mut self, v: super::bigtable_data::RowRange) { - self.target = ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_range(v)) - } - - // Mutable pointer to the field. - pub fn mut_row_range(&mut self) -> &mut super::bigtable_data::RowRange { - if let ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_range(_)) = self.target { - } else { - self.target = ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_range(super::bigtable_data::RowRange::new())); - } - match self.target { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_range(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_row_range(&mut self) -> super::bigtable_data::RowRange { - if self.has_row_range() { - match self.target.take() { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_range(v)) => v, - _ => panic!(), - } - } else { - super::bigtable_data::RowRange::new() - } - } - - // .google.bigtable.v1.RowSet row_set = 8; - - - pub fn get_row_set(&self) -> &super::bigtable_data::RowSet { - match self.target { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_set(ref v)) => v, - _ => super::bigtable_data::RowSet::default_instance(), - } - } - pub fn clear_row_set(&mut self) { - self.target = ::std::option::Option::None; - } - - pub fn has_row_set(&self) -> bool { - match self.target { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_set(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_row_set(&mut self, v: super::bigtable_data::RowSet) { - self.target = ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_set(v)) - } - - // Mutable pointer to the field. - pub fn mut_row_set(&mut self) -> &mut super::bigtable_data::RowSet { - if let ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_set(_)) = self.target { - } else { - self.target = ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_set(super::bigtable_data::RowSet::new())); - } - match self.target { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_set(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_row_set(&mut self) -> super::bigtable_data::RowSet { - if self.has_row_set() { - match self.target.take() { - ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_set(v)) => v, - _ => panic!(), - } - } else { - super::bigtable_data::RowSet::new() - } - } - - // .google.bigtable.v1.RowFilter filter = 5; - - - pub fn get_filter(&self) -> &super::bigtable_data::RowFilter { - self.filter.as_ref().unwrap_or_else(|| super::bigtable_data::RowFilter::default_instance()) - } - pub fn clear_filter(&mut self) { - self.filter.clear(); - } - - pub fn has_filter(&self) -> bool { - self.filter.is_some() - } - - // Param is passed by value, moved - pub fn set_filter(&mut self, v: super::bigtable_data::RowFilter) { - self.filter = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_filter(&mut self) -> &mut super::bigtable_data::RowFilter { - if self.filter.is_none() { - self.filter.set_default(); - } - self.filter.as_mut().unwrap() - } - - // Take field - pub fn take_filter(&mut self) -> super::bigtable_data::RowFilter { - self.filter.take().unwrap_or_else(|| super::bigtable_data::RowFilter::new()) - } - - // bool allow_row_interleaving = 6; - - - pub fn get_allow_row_interleaving(&self) -> bool { - self.allow_row_interleaving - } - pub fn clear_allow_row_interleaving(&mut self) { - self.allow_row_interleaving = false; - } - - // Param is passed by value, moved - pub fn set_allow_row_interleaving(&mut self, v: bool) { - self.allow_row_interleaving = v; - } - - // int64 num_rows_limit = 7; - - - pub fn get_num_rows_limit(&self) -> i64 { - self.num_rows_limit - } - pub fn clear_num_rows_limit(&mut self) { - self.num_rows_limit = 0; - } - - // Param is passed by value, moved - pub fn set_num_rows_limit(&mut self, v: i64) { - self.num_rows_limit = v; - } -} - -impl ::protobuf::Message for ReadRowsRequest { - fn is_initialized(&self) -> bool { - if let Some(ReadRowsRequest_oneof_target::row_range(ref v)) = self.target { - if !v.is_initialized() { - return false; - } - } - if let Some(ReadRowsRequest_oneof_target::row_set(ref v)) = self.target { - if !v.is_initialized() { - return false; - } - } - for v in &self.filter { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.target = ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_key(is.read_bytes()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.target = ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_range(is.read_message()?)); - }, - 8 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.target = ::std::option::Option::Some(ReadRowsRequest_oneof_target::row_set(is.read_message()?)); - }, - 5 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.filter)?; - }, - 6 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.allow_row_interleaving = tmp; - }, - 7 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.num_rows_limit = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if let Some(ref v) = self.filter.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if self.allow_row_interleaving != false { - my_size += 2; - } - if self.num_rows_limit != 0 { - my_size += ::protobuf::rt::value_size(7, self.num_rows_limit, ::protobuf::wire_format::WireTypeVarint); - } - if let ::std::option::Option::Some(ref v) = self.target { - match v { - &ReadRowsRequest_oneof_target::row_key(ref v) => { - my_size += ::protobuf::rt::bytes_size(2, &v); - }, - &ReadRowsRequest_oneof_target::row_range(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &ReadRowsRequest_oneof_target::row_set(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if let Some(ref v) = self.filter.as_ref() { - os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if self.allow_row_interleaving != false { - os.write_bool(6, self.allow_row_interleaving)?; - } - if self.num_rows_limit != 0 { - os.write_int64(7, self.num_rows_limit)?; - } - if let ::std::option::Option::Some(ref v) = self.target { - match v { - &ReadRowsRequest_oneof_target::row_key(ref v) => { - os.write_bytes(2, v)?; - }, - &ReadRowsRequest_oneof_target::row_range(ref v) => { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &ReadRowsRequest_oneof_target::row_set(ref v) => { - os.write_tag(8, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadRowsRequest { - ReadRowsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &ReadRowsRequest| { &m.table_name }, - |m: &mut ReadRowsRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "row_key", - ReadRowsRequest::has_row_key, - ReadRowsRequest::get_row_key, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, super::bigtable_data::RowRange>( - "row_range", - ReadRowsRequest::has_row_range, - ReadRowsRequest::get_row_range, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, super::bigtable_data::RowSet>( - "row_set", - ReadRowsRequest::has_row_set, - ReadRowsRequest::get_row_set, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "filter", - |m: &ReadRowsRequest| { &m.filter }, - |m: &mut ReadRowsRequest| { &mut m.filter }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "allow_row_interleaving", - |m: &ReadRowsRequest| { &m.allow_row_interleaving }, - |m: &mut ReadRowsRequest| { &mut m.allow_row_interleaving }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "num_rows_limit", - |m: &ReadRowsRequest| { &m.num_rows_limit }, - |m: &mut ReadRowsRequest| { &mut m.num_rows_limit }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadRowsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadRowsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadRowsRequest, - }; - unsafe { - instance.get(ReadRowsRequest::new) - } - } -} - -impl ::protobuf::Clear for ReadRowsRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.target = ::std::option::Option::None; - self.target = ::std::option::Option::None; - self.target = ::std::option::Option::None; - self.filter.clear(); - self.allow_row_interleaving = false; - self.num_rows_limit = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadRowsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadRowsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReadRowsResponse { - // message fields - pub row_key: ::std::vec::Vec, - pub chunks: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadRowsResponse { - fn default() -> &'a ReadRowsResponse { - ::default_instance() - } -} - -impl ReadRowsResponse { - pub fn new() -> ReadRowsResponse { - ::std::default::Default::default() - } - - // bytes row_key = 1; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v1.ReadRowsResponse.Chunk chunks = 2; - - - pub fn get_chunks(&self) -> &[ReadRowsResponse_Chunk] { - &self.chunks - } - pub fn clear_chunks(&mut self) { - self.chunks.clear(); - } - - // Param is passed by value, moved - pub fn set_chunks(&mut self, v: ::protobuf::RepeatedField) { - self.chunks = v; - } - - // Mutable pointer to the field. - pub fn mut_chunks(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.chunks - } - - // Take field - pub fn take_chunks(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.chunks, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for ReadRowsResponse { - fn is_initialized(&self) -> bool { - for v in &self.chunks { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.chunks)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.row_key); - } - for value in &self.chunks { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.row_key.is_empty() { - os.write_bytes(1, &self.row_key)?; - } - for v in &self.chunks { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadRowsResponse { - ReadRowsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &ReadRowsResponse| { &m.row_key }, - |m: &mut ReadRowsResponse| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "chunks", - |m: &ReadRowsResponse| { &m.chunks }, - |m: &mut ReadRowsResponse| { &mut m.chunks }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadRowsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadRowsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadRowsResponse, - }; - unsafe { - instance.get(ReadRowsResponse::new) - } - } -} - -impl ::protobuf::Clear for ReadRowsResponse { - fn clear(&mut self) { - self.row_key.clear(); - self.chunks.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadRowsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadRowsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReadRowsResponse_Chunk { - // message oneof groups - pub chunk: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadRowsResponse_Chunk { - fn default() -> &'a ReadRowsResponse_Chunk { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ReadRowsResponse_Chunk_oneof_chunk { - row_contents(super::bigtable_data::Family), - reset_row(bool), - commit_row(bool), -} - -impl ReadRowsResponse_Chunk { - pub fn new() -> ReadRowsResponse_Chunk { - ::std::default::Default::default() - } - - // .google.bigtable.v1.Family row_contents = 1; - - - pub fn get_row_contents(&self) -> &super::bigtable_data::Family { - match self.chunk { - ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::row_contents(ref v)) => v, - _ => super::bigtable_data::Family::default_instance(), - } - } - pub fn clear_row_contents(&mut self) { - self.chunk = ::std::option::Option::None; - } - - pub fn has_row_contents(&self) -> bool { - match self.chunk { - ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::row_contents(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_row_contents(&mut self, v: super::bigtable_data::Family) { - self.chunk = ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::row_contents(v)) - } - - // Mutable pointer to the field. - pub fn mut_row_contents(&mut self) -> &mut super::bigtable_data::Family { - if let ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::row_contents(_)) = self.chunk { - } else { - self.chunk = ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::row_contents(super::bigtable_data::Family::new())); - } - match self.chunk { - ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::row_contents(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_row_contents(&mut self) -> super::bigtable_data::Family { - if self.has_row_contents() { - match self.chunk.take() { - ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::row_contents(v)) => v, - _ => panic!(), - } - } else { - super::bigtable_data::Family::new() - } - } - - // bool reset_row = 2; - - - pub fn get_reset_row(&self) -> bool { - match self.chunk { - ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::reset_row(v)) => v, - _ => false, - } - } - pub fn clear_reset_row(&mut self) { - self.chunk = ::std::option::Option::None; - } - - pub fn has_reset_row(&self) -> bool { - match self.chunk { - ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::reset_row(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_reset_row(&mut self, v: bool) { - self.chunk = ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::reset_row(v)) - } - - // bool commit_row = 3; - - - pub fn get_commit_row(&self) -> bool { - match self.chunk { - ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::commit_row(v)) => v, - _ => false, - } - } - pub fn clear_commit_row(&mut self) { - self.chunk = ::std::option::Option::None; - } - - pub fn has_commit_row(&self) -> bool { - match self.chunk { - ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::commit_row(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_commit_row(&mut self, v: bool) { - self.chunk = ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::commit_row(v)) - } -} - -impl ::protobuf::Message for ReadRowsResponse_Chunk { - fn is_initialized(&self) -> bool { - if let Some(ReadRowsResponse_Chunk_oneof_chunk::row_contents(ref v)) = self.chunk { - if !v.is_initialized() { - return false; - } - } - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.chunk = ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::row_contents(is.read_message()?)); - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.chunk = ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::reset_row(is.read_bool()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.chunk = ::std::option::Option::Some(ReadRowsResponse_Chunk_oneof_chunk::commit_row(is.read_bool()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let ::std::option::Option::Some(ref v) = self.chunk { - match v { - &ReadRowsResponse_Chunk_oneof_chunk::row_contents(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &ReadRowsResponse_Chunk_oneof_chunk::reset_row(v) => { - my_size += 2; - }, - &ReadRowsResponse_Chunk_oneof_chunk::commit_row(v) => { - my_size += 2; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let ::std::option::Option::Some(ref v) = self.chunk { - match v { - &ReadRowsResponse_Chunk_oneof_chunk::row_contents(ref v) => { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &ReadRowsResponse_Chunk_oneof_chunk::reset_row(v) => { - os.write_bool(2, v)?; - }, - &ReadRowsResponse_Chunk_oneof_chunk::commit_row(v) => { - os.write_bool(3, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadRowsResponse_Chunk { - ReadRowsResponse_Chunk::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, super::bigtable_data::Family>( - "row_contents", - ReadRowsResponse_Chunk::has_row_contents, - ReadRowsResponse_Chunk::get_row_contents, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "reset_row", - ReadRowsResponse_Chunk::has_reset_row, - ReadRowsResponse_Chunk::get_reset_row, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "commit_row", - ReadRowsResponse_Chunk::has_commit_row, - ReadRowsResponse_Chunk::get_commit_row, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadRowsResponse_Chunk", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadRowsResponse_Chunk { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadRowsResponse_Chunk, - }; - unsafe { - instance.get(ReadRowsResponse_Chunk::new) - } - } -} - -impl ::protobuf::Clear for ReadRowsResponse_Chunk { - fn clear(&mut self) { - self.chunk = ::std::option::Option::None; - self.chunk = ::std::option::Option::None; - self.chunk = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadRowsResponse_Chunk { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadRowsResponse_Chunk { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct SampleRowKeysRequest { - // message fields - pub table_name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a SampleRowKeysRequest { - fn default() -> &'a SampleRowKeysRequest { - ::default_instance() - } -} - -impl SampleRowKeysRequest { - pub fn new() -> SampleRowKeysRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for SampleRowKeysRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> SampleRowKeysRequest { - SampleRowKeysRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &SampleRowKeysRequest| { &m.table_name }, - |m: &mut SampleRowKeysRequest| { &mut m.table_name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "SampleRowKeysRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static SampleRowKeysRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const SampleRowKeysRequest, - }; - unsafe { - instance.get(SampleRowKeysRequest::new) - } - } -} - -impl ::protobuf::Clear for SampleRowKeysRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for SampleRowKeysRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for SampleRowKeysRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct SampleRowKeysResponse { - // message fields - pub row_key: ::std::vec::Vec, - pub offset_bytes: i64, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a SampleRowKeysResponse { - fn default() -> &'a SampleRowKeysResponse { - ::default_instance() - } -} - -impl SampleRowKeysResponse { - pub fn new() -> SampleRowKeysResponse { - ::std::default::Default::default() - } - - // bytes row_key = 1; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // int64 offset_bytes = 2; - - - pub fn get_offset_bytes(&self) -> i64 { - self.offset_bytes - } - pub fn clear_offset_bytes(&mut self) { - self.offset_bytes = 0; - } - - // Param is passed by value, moved - pub fn set_offset_bytes(&mut self, v: i64) { - self.offset_bytes = v; - } -} - -impl ::protobuf::Message for SampleRowKeysResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.offset_bytes = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.row_key); - } - if self.offset_bytes != 0 { - my_size += ::protobuf::rt::value_size(2, self.offset_bytes, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.row_key.is_empty() { - os.write_bytes(1, &self.row_key)?; - } - if self.offset_bytes != 0 { - os.write_int64(2, self.offset_bytes)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> SampleRowKeysResponse { - SampleRowKeysResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &SampleRowKeysResponse| { &m.row_key }, - |m: &mut SampleRowKeysResponse| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "offset_bytes", - |m: &SampleRowKeysResponse| { &m.offset_bytes }, - |m: &mut SampleRowKeysResponse| { &mut m.offset_bytes }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "SampleRowKeysResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static SampleRowKeysResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const SampleRowKeysResponse, - }; - unsafe { - instance.get(SampleRowKeysResponse::new) - } - } -} - -impl ::protobuf::Clear for SampleRowKeysResponse { - fn clear(&mut self) { - self.row_key.clear(); - self.offset_bytes = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for SampleRowKeysResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for SampleRowKeysResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct MutateRowRequest { - // message fields - pub table_name: ::std::string::String, - pub row_key: ::std::vec::Vec, - pub mutations: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MutateRowRequest { - fn default() -> &'a MutateRowRequest { - ::default_instance() - } -} - -impl MutateRowRequest { - pub fn new() -> MutateRowRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // bytes row_key = 2; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v1.Mutation mutations = 3; - - - pub fn get_mutations(&self) -> &[super::bigtable_data::Mutation] { - &self.mutations - } - pub fn clear_mutations(&mut self) { - self.mutations.clear(); - } - - // Param is passed by value, moved - pub fn set_mutations(&mut self, v: ::protobuf::RepeatedField) { - self.mutations = v; - } - - // Mutable pointer to the field. - pub fn mut_mutations(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.mutations - } - - // Take field - pub fn take_mutations(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.mutations, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for MutateRowRequest { - fn is_initialized(&self) -> bool { - for v in &self.mutations { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 3 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.mutations)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.row_key); - } - for value in &self.mutations { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if !self.row_key.is_empty() { - os.write_bytes(2, &self.row_key)?; - } - for v in &self.mutations { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MutateRowRequest { - MutateRowRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &MutateRowRequest| { &m.table_name }, - |m: &mut MutateRowRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &MutateRowRequest| { &m.row_key }, - |m: &mut MutateRowRequest| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "mutations", - |m: &MutateRowRequest| { &m.mutations }, - |m: &mut MutateRowRequest| { &mut m.mutations }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "MutateRowRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MutateRowRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MutateRowRequest, - }; - unsafe { - instance.get(MutateRowRequest::new) - } - } -} - -impl ::protobuf::Clear for MutateRowRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.row_key.clear(); - self.mutations.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MutateRowRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MutateRowRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct MutateRowsRequest { - // message fields - pub table_name: ::std::string::String, - pub entries: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MutateRowsRequest { - fn default() -> &'a MutateRowsRequest { - ::default_instance() - } -} - -impl MutateRowsRequest { - pub fn new() -> MutateRowsRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // repeated .google.bigtable.v1.MutateRowsRequest.Entry entries = 2; - - - pub fn get_entries(&self) -> &[MutateRowsRequest_Entry] { - &self.entries - } - pub fn clear_entries(&mut self) { - self.entries.clear(); - } - - // Param is passed by value, moved - pub fn set_entries(&mut self, v: ::protobuf::RepeatedField) { - self.entries = v; - } - - // Mutable pointer to the field. - pub fn mut_entries(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.entries - } - - // Take field - pub fn take_entries(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.entries, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for MutateRowsRequest { - fn is_initialized(&self) -> bool { - for v in &self.entries { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.entries)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - for value in &self.entries { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - for v in &self.entries { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MutateRowsRequest { - MutateRowsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &MutateRowsRequest| { &m.table_name }, - |m: &mut MutateRowsRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "entries", - |m: &MutateRowsRequest| { &m.entries }, - |m: &mut MutateRowsRequest| { &mut m.entries }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "MutateRowsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MutateRowsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MutateRowsRequest, - }; - unsafe { - instance.get(MutateRowsRequest::new) - } - } -} - -impl ::protobuf::Clear for MutateRowsRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.entries.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MutateRowsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MutateRowsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct MutateRowsRequest_Entry { - // message fields - pub row_key: ::std::vec::Vec, - pub mutations: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MutateRowsRequest_Entry { - fn default() -> &'a MutateRowsRequest_Entry { - ::default_instance() - } -} - -impl MutateRowsRequest_Entry { - pub fn new() -> MutateRowsRequest_Entry { - ::std::default::Default::default() - } - - // bytes row_key = 1; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v1.Mutation mutations = 2; - - - pub fn get_mutations(&self) -> &[super::bigtable_data::Mutation] { - &self.mutations - } - pub fn clear_mutations(&mut self) { - self.mutations.clear(); - } - - // Param is passed by value, moved - pub fn set_mutations(&mut self, v: ::protobuf::RepeatedField) { - self.mutations = v; - } - - // Mutable pointer to the field. - pub fn mut_mutations(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.mutations - } - - // Take field - pub fn take_mutations(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.mutations, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for MutateRowsRequest_Entry { - fn is_initialized(&self) -> bool { - for v in &self.mutations { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.mutations)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.row_key); - } - for value in &self.mutations { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.row_key.is_empty() { - os.write_bytes(1, &self.row_key)?; - } - for v in &self.mutations { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MutateRowsRequest_Entry { - MutateRowsRequest_Entry::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &MutateRowsRequest_Entry| { &m.row_key }, - |m: &mut MutateRowsRequest_Entry| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "mutations", - |m: &MutateRowsRequest_Entry| { &m.mutations }, - |m: &mut MutateRowsRequest_Entry| { &mut m.mutations }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "MutateRowsRequest_Entry", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MutateRowsRequest_Entry { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MutateRowsRequest_Entry, - }; - unsafe { - instance.get(MutateRowsRequest_Entry::new) - } - } -} - -impl ::protobuf::Clear for MutateRowsRequest_Entry { - fn clear(&mut self) { - self.row_key.clear(); - self.mutations.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MutateRowsRequest_Entry { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MutateRowsRequest_Entry { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct MutateRowsResponse { - // message fields - pub statuses: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MutateRowsResponse { - fn default() -> &'a MutateRowsResponse { - ::default_instance() - } -} - -impl MutateRowsResponse { - pub fn new() -> MutateRowsResponse { - ::std::default::Default::default() - } - - // repeated .google.rpc.Status statuses = 1; - - - pub fn get_statuses(&self) -> &[super::status::Status] { - &self.statuses - } - pub fn clear_statuses(&mut self) { - self.statuses.clear(); - } - - // Param is passed by value, moved - pub fn set_statuses(&mut self, v: ::protobuf::RepeatedField) { - self.statuses = v; - } - - // Mutable pointer to the field. - pub fn mut_statuses(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.statuses - } - - // Take field - pub fn take_statuses(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.statuses, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for MutateRowsResponse { - fn is_initialized(&self) -> bool { - for v in &self.statuses { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.statuses)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.statuses { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.statuses { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MutateRowsResponse { - MutateRowsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "statuses", - |m: &MutateRowsResponse| { &m.statuses }, - |m: &mut MutateRowsResponse| { &mut m.statuses }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "MutateRowsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MutateRowsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MutateRowsResponse, - }; - unsafe { - instance.get(MutateRowsResponse::new) - } - } -} - -impl ::protobuf::Clear for MutateRowsResponse { - fn clear(&mut self) { - self.statuses.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MutateRowsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MutateRowsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CheckAndMutateRowRequest { - // message fields - pub table_name: ::std::string::String, - pub row_key: ::std::vec::Vec, - pub predicate_filter: ::protobuf::SingularPtrField, - pub true_mutations: ::protobuf::RepeatedField, - pub false_mutations: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CheckAndMutateRowRequest { - fn default() -> &'a CheckAndMutateRowRequest { - ::default_instance() - } -} - -impl CheckAndMutateRowRequest { - pub fn new() -> CheckAndMutateRowRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // bytes row_key = 2; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // .google.bigtable.v1.RowFilter predicate_filter = 6; - - - pub fn get_predicate_filter(&self) -> &super::bigtable_data::RowFilter { - self.predicate_filter.as_ref().unwrap_or_else(|| super::bigtable_data::RowFilter::default_instance()) - } - pub fn clear_predicate_filter(&mut self) { - self.predicate_filter.clear(); - } - - pub fn has_predicate_filter(&self) -> bool { - self.predicate_filter.is_some() - } - - // Param is passed by value, moved - pub fn set_predicate_filter(&mut self, v: super::bigtable_data::RowFilter) { - self.predicate_filter = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_predicate_filter(&mut self) -> &mut super::bigtable_data::RowFilter { - if self.predicate_filter.is_none() { - self.predicate_filter.set_default(); - } - self.predicate_filter.as_mut().unwrap() - } - - // Take field - pub fn take_predicate_filter(&mut self) -> super::bigtable_data::RowFilter { - self.predicate_filter.take().unwrap_or_else(|| super::bigtable_data::RowFilter::new()) - } - - // repeated .google.bigtable.v1.Mutation true_mutations = 4; - - - pub fn get_true_mutations(&self) -> &[super::bigtable_data::Mutation] { - &self.true_mutations - } - pub fn clear_true_mutations(&mut self) { - self.true_mutations.clear(); - } - - // Param is passed by value, moved - pub fn set_true_mutations(&mut self, v: ::protobuf::RepeatedField) { - self.true_mutations = v; - } - - // Mutable pointer to the field. - pub fn mut_true_mutations(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.true_mutations - } - - // Take field - pub fn take_true_mutations(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.true_mutations, ::protobuf::RepeatedField::new()) - } - - // repeated .google.bigtable.v1.Mutation false_mutations = 5; - - - pub fn get_false_mutations(&self) -> &[super::bigtable_data::Mutation] { - &self.false_mutations - } - pub fn clear_false_mutations(&mut self) { - self.false_mutations.clear(); - } - - // Param is passed by value, moved - pub fn set_false_mutations(&mut self, v: ::protobuf::RepeatedField) { - self.false_mutations = v; - } - - // Mutable pointer to the field. - pub fn mut_false_mutations(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.false_mutations - } - - // Take field - pub fn take_false_mutations(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.false_mutations, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for CheckAndMutateRowRequest { - fn is_initialized(&self) -> bool { - for v in &self.predicate_filter { - if !v.is_initialized() { - return false; - } - }; - for v in &self.true_mutations { - if !v.is_initialized() { - return false; - } - }; - for v in &self.false_mutations { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 6 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.predicate_filter)?; - }, - 4 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.true_mutations)?; - }, - 5 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.false_mutations)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.row_key); - } - if let Some(ref v) = self.predicate_filter.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - for value in &self.true_mutations { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - for value in &self.false_mutations { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if !self.row_key.is_empty() { - os.write_bytes(2, &self.row_key)?; - } - if let Some(ref v) = self.predicate_filter.as_ref() { - os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - for v in &self.true_mutations { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - for v in &self.false_mutations { - os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CheckAndMutateRowRequest { - CheckAndMutateRowRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &CheckAndMutateRowRequest| { &m.table_name }, - |m: &mut CheckAndMutateRowRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &CheckAndMutateRowRequest| { &m.row_key }, - |m: &mut CheckAndMutateRowRequest| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "predicate_filter", - |m: &CheckAndMutateRowRequest| { &m.predicate_filter }, - |m: &mut CheckAndMutateRowRequest| { &mut m.predicate_filter }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "true_mutations", - |m: &CheckAndMutateRowRequest| { &m.true_mutations }, - |m: &mut CheckAndMutateRowRequest| { &mut m.true_mutations }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "false_mutations", - |m: &CheckAndMutateRowRequest| { &m.false_mutations }, - |m: &mut CheckAndMutateRowRequest| { &mut m.false_mutations }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CheckAndMutateRowRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CheckAndMutateRowRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CheckAndMutateRowRequest, - }; - unsafe { - instance.get(CheckAndMutateRowRequest::new) - } - } -} - -impl ::protobuf::Clear for CheckAndMutateRowRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.row_key.clear(); - self.predicate_filter.clear(); - self.true_mutations.clear(); - self.false_mutations.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CheckAndMutateRowRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CheckAndMutateRowRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CheckAndMutateRowResponse { - // message fields - pub predicate_matched: bool, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CheckAndMutateRowResponse { - fn default() -> &'a CheckAndMutateRowResponse { - ::default_instance() - } -} - -impl CheckAndMutateRowResponse { - pub fn new() -> CheckAndMutateRowResponse { - ::std::default::Default::default() - } - - // bool predicate_matched = 1; - - - pub fn get_predicate_matched(&self) -> bool { - self.predicate_matched - } - pub fn clear_predicate_matched(&mut self) { - self.predicate_matched = false; - } - - // Param is passed by value, moved - pub fn set_predicate_matched(&mut self, v: bool) { - self.predicate_matched = v; - } -} - -impl ::protobuf::Message for CheckAndMutateRowResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.predicate_matched = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if self.predicate_matched != false { - my_size += 2; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if self.predicate_matched != false { - os.write_bool(1, self.predicate_matched)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CheckAndMutateRowResponse { - CheckAndMutateRowResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "predicate_matched", - |m: &CheckAndMutateRowResponse| { &m.predicate_matched }, - |m: &mut CheckAndMutateRowResponse| { &mut m.predicate_matched }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CheckAndMutateRowResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CheckAndMutateRowResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CheckAndMutateRowResponse, - }; - unsafe { - instance.get(CheckAndMutateRowResponse::new) - } - } -} - -impl ::protobuf::Clear for CheckAndMutateRowResponse { - fn clear(&mut self) { - self.predicate_matched = false; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CheckAndMutateRowResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CheckAndMutateRowResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReadModifyWriteRowRequest { - // message fields - pub table_name: ::std::string::String, - pub row_key: ::std::vec::Vec, - pub rules: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadModifyWriteRowRequest { - fn default() -> &'a ReadModifyWriteRowRequest { - ::default_instance() - } -} - -impl ReadModifyWriteRowRequest { - pub fn new() -> ReadModifyWriteRowRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // bytes row_key = 2; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v1.ReadModifyWriteRule rules = 3; - - - pub fn get_rules(&self) -> &[super::bigtable_data::ReadModifyWriteRule] { - &self.rules - } - pub fn clear_rules(&mut self) { - self.rules.clear(); - } - - // Param is passed by value, moved - pub fn set_rules(&mut self, v: ::protobuf::RepeatedField) { - self.rules = v; - } - - // Mutable pointer to the field. - pub fn mut_rules(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.rules - } - - // Take field - pub fn take_rules(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.rules, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for ReadModifyWriteRowRequest { - fn is_initialized(&self) -> bool { - for v in &self.rules { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 3 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.rules)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.row_key); - } - for value in &self.rules { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if !self.row_key.is_empty() { - os.write_bytes(2, &self.row_key)?; - } - for v in &self.rules { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadModifyWriteRowRequest { - ReadModifyWriteRowRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &ReadModifyWriteRowRequest| { &m.table_name }, - |m: &mut ReadModifyWriteRowRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &ReadModifyWriteRowRequest| { &m.row_key }, - |m: &mut ReadModifyWriteRowRequest| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "rules", - |m: &ReadModifyWriteRowRequest| { &m.rules }, - |m: &mut ReadModifyWriteRowRequest| { &mut m.rules }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadModifyWriteRowRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadModifyWriteRowRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadModifyWriteRowRequest, - }; - unsafe { - instance.get(ReadModifyWriteRowRequest::new) - } - } -} - -impl ::protobuf::Clear for ReadModifyWriteRowRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.row_key.clear(); - self.rules.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadModifyWriteRowRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadModifyWriteRowRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n2google/bigtable/v1/bigtable_service_messages.proto\x12\x12google.bigt\ - able.v1\x1a&google/bigtable/v1/bigtable_data.proto\x1a\x17google/rpc/sta\ - tus.proto\"\xdc\x02\n\x0fReadRowsRequest\x12\x1d\n\ntable_name\x18\x01\ - \x20\x01(\tR\ttableName\x12\x19\n\x07row_key\x18\x02\x20\x01(\x0cH\0R\ - \x06rowKey\x12;\n\trow_range\x18\x03\x20\x01(\x0b2\x1c.google.bigtable.v\ - 1.RowRangeH\0R\x08rowRange\x125\n\x07row_set\x18\x08\x20\x01(\x0b2\x1a.g\ - oogle.bigtable.v1.RowSetH\0R\x06rowSet\x125\n\x06filter\x18\x05\x20\x01(\ - \x0b2\x1d.google.bigtable.v1.RowFilterR\x06filter\x124\n\x16allow_row_in\ - terleaving\x18\x06\x20\x01(\x08R\x14allowRowInterleaving\x12$\n\x0enum_r\ - ows_limit\x18\x07\x20\x01(\x03R\x0cnumRowsLimitB\x08\n\x06target\"\x83\ - \x02\n\x10ReadRowsResponse\x12\x17\n\x07row_key\x18\x01\x20\x01(\x0cR\ - \x06rowKey\x12B\n\x06chunks\x18\x02\x20\x03(\x0b2*.google.bigtable.v1.Re\ - adRowsResponse.ChunkR\x06chunks\x1a\x91\x01\n\x05Chunk\x12?\n\x0crow_con\ - tents\x18\x01\x20\x01(\x0b2\x1a.google.bigtable.v1.FamilyH\0R\x0browCont\ - ents\x12\x1d\n\treset_row\x18\x02\x20\x01(\x08H\0R\x08resetRow\x12\x1f\n\ - \ncommit_row\x18\x03\x20\x01(\x08H\0R\tcommitRowB\x07\n\x05chunk\"5\n\ - \x14SampleRowKeysRequest\x12\x1d\n\ntable_name\x18\x01\x20\x01(\tR\ttabl\ - eName\"S\n\x15SampleRowKeysResponse\x12\x17\n\x07row_key\x18\x01\x20\x01\ - (\x0cR\x06rowKey\x12!\n\x0coffset_bytes\x18\x02\x20\x01(\x03R\x0boffsetB\ - ytes\"\x86\x01\n\x10MutateRowRequest\x12\x1d\n\ntable_name\x18\x01\x20\ - \x01(\tR\ttableName\x12\x17\n\x07row_key\x18\x02\x20\x01(\x0cR\x06rowKey\ - \x12:\n\tmutations\x18\x03\x20\x03(\x0b2\x1c.google.bigtable.v1.Mutation\ - R\tmutations\"\xd7\x01\n\x11MutateRowsRequest\x12\x1d\n\ntable_name\x18\ - \x01\x20\x01(\tR\ttableName\x12E\n\x07entries\x18\x02\x20\x03(\x0b2+.goo\ - gle.bigtable.v1.MutateRowsRequest.EntryR\x07entries\x1a\\\n\x05Entry\x12\ - \x17\n\x07row_key\x18\x01\x20\x01(\x0cR\x06rowKey\x12:\n\tmutations\x18\ - \x02\x20\x03(\x0b2\x1c.google.bigtable.v1.MutationR\tmutations\"D\n\x12M\ - utateRowsResponse\x12.\n\x08statuses\x18\x01\x20\x03(\x0b2\x12.google.rp\ - c.StatusR\x08statuses\"\xa8\x02\n\x18CheckAndMutateRowRequest\x12\x1d\n\ - \ntable_name\x18\x01\x20\x01(\tR\ttableName\x12\x17\n\x07row_key\x18\x02\ - \x20\x01(\x0cR\x06rowKey\x12H\n\x10predicate_filter\x18\x06\x20\x01(\x0b\ - 2\x1d.google.bigtable.v1.RowFilterR\x0fpredicateFilter\x12C\n\x0etrue_mu\ - tations\x18\x04\x20\x03(\x0b2\x1c.google.bigtable.v1.MutationR\rtrueMuta\ - tions\x12E\n\x0ffalse_mutations\x18\x05\x20\x03(\x0b2\x1c.google.bigtabl\ - e.v1.MutationR\x0efalseMutations\"H\n\x19CheckAndMutateRowResponse\x12+\ - \n\x11predicate_matched\x18\x01\x20\x01(\x08R\x10predicateMatched\"\x92\ - \x01\n\x19ReadModifyWriteRowRequest\x12\x1d\n\ntable_name\x18\x01\x20\ - \x01(\tR\ttableName\x12\x17\n\x07row_key\x18\x02\x20\x01(\x0cR\x06rowKey\ - \x12=\n\x05rules\x18\x03\x20\x03(\x0b2'.google.bigtable.v1.ReadModifyWri\ - teRuleR\x05rulesBt\n\x16com.google.bigtable.v1B\x1cBigtableServiceMessag\ - esProtoP\x01Z:google.golang.org/genproto/googleapis/bigtable/v1;bigtable\ - J\x86I\n\x07\x12\x05\x0e\0\xd9\x01\x01\n\xbd\x04\n\x01\x0c\x12\x03\x0e\0\ - \x122\xb2\x04\x20Copyright\x202018\x20Google\x20Inc.\n\n\x20Licensed\x20\ - under\x20the\x20Apache\x20License,\x20Version\x202.0\x20(the\x20\"Licens\ - e\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20except\x20in\x20c\ - ompliance\x20with\x20the\x20License.\n\x20You\x20may\x20obtain\x20a\x20c\ - opy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\x20\x20http://www.apac\ - he.org/licenses/LICENSE-2.0\n\n\x20Unless\x20required\x20by\x20applicabl\ - e\x20law\x20or\x20agreed\x20to\x20in\x20writing,\x20software\n\x20distri\ - buted\x20under\x20the\x20License\x20is\x20distributed\x20on\x20an\x20\"A\ - S\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\ - \x20ANY\x20KIND,\x20either\x20express\x20or\x20implied.\n\x20See\x20the\ - \x20License\x20for\x20the\x20specific\x20language\x20governing\x20permis\ - sions\x20and\n\x20limitations\x20under\x20the\x20License.\n\n\x08\n\x01\ - \x02\x12\x03\x10\0\x1b\n\t\n\x02\x03\0\x12\x03\x12\00\n\t\n\x02\x03\x01\ - \x12\x03\x13\0!\n\x08\n\x01\x08\x12\x03\x15\0Q\n\t\n\x02\x08\x0b\x12\x03\ - \x15\0Q\n\x08\n\x01\x08\x12\x03\x16\0\"\n\t\n\x02\x08\n\x12\x03\x16\0\"\ - \n\x08\n\x01\x08\x12\x03\x17\0=\n\t\n\x02\x08\x08\x12\x03\x17\0=\n\x08\n\ - \x01\x08\x12\x03\x18\0/\n\t\n\x02\x08\x01\x12\x03\x18\0/\n:\n\x02\x04\0\ - \x12\x04\x1c\0>\x01\x1a.\x20Request\x20message\x20for\x20BigtableServer.\ - ReadRows.\n\n\n\n\x03\x04\0\x01\x12\x03\x1c\x08\x17\n?\n\x04\x04\0\x02\0\ - \x12\x03\x1e\x02\x18\x1a2\x20The\x20unique\x20name\x20of\x20the\x20table\ - \x20from\x20which\x20to\x20read.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04\x1e\ - \x02\x1c\x19\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03\x1e\x02\x08\n\x0c\n\x05\ - \x04\0\x02\0\x01\x12\x03\x1e\t\x13\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03\ - \x1e\x16\x17\nM\n\x04\x04\0\x08\0\x12\x04!\x02,\x03\x1a?\x20If\x20neithe\ - r\x20row_key\x20nor\x20row_range\x20is\x20set,\x20reads\x20from\x20all\ - \x20rows.\n\n\x0c\n\x05\x04\0\x08\0\x01\x12\x03!\x08\x0e\n:\n\x04\x04\0\ - \x02\x01\x12\x03#\x04\x16\x1a-\x20The\x20key\x20of\x20a\x20single\x20row\ - \x20from\x20which\x20to\x20read.\n\n\x0c\n\x05\x04\0\x02\x01\x05\x12\x03\ - #\x04\t\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03#\n\x11\n\x0c\n\x05\x04\0\ - \x02\x01\x03\x12\x03#\x14\x15\n2\n\x04\x04\0\x02\x02\x12\x03&\x04\x1b\ - \x1a%\x20A\x20range\x20of\x20rows\x20from\x20which\x20to\x20read.\n\n\ - \x0c\n\x05\x04\0\x02\x02\x06\x12\x03&\x04\x0c\n\x0c\n\x05\x04\0\x02\x02\ - \x01\x12\x03&\r\x16\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03&\x19\x1a\n\xb4\ - \x01\n\x04\x04\0\x02\x03\x12\x03+\x04\x17\x1a\xa6\x01\x20A\x20set\x20of\ - \x20rows\x20from\x20which\x20to\x20read.\x20Entries\x20need\x20not\x20be\ - \x20in\x20order,\x20and\x20will\n\x20be\x20deduplicated\x20before\x20rea\ - ding.\n\x20The\x20total\x20serialized\x20size\x20of\x20the\x20set\x20mus\ - t\x20not\x20exceed\x201MB.\n\n\x0c\n\x05\x04\0\x02\x03\x06\x12\x03+\x04\ - \n\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03+\x0b\x12\n\x0c\n\x05\x04\0\x02\ - \x03\x03\x12\x03+\x15\x16\nn\n\x04\x04\0\x02\x04\x12\x030\x02\x17\x1aa\ - \x20The\x20filter\x20to\x20apply\x20to\x20the\x20contents\x20of\x20the\ - \x20specified\x20row(s).\x20If\x20unset,\n\x20reads\x20the\x20entire\x20\ - table.\n\n\r\n\x05\x04\0\x02\x04\x04\x12\x040\x02,\x03\n\x0c\n\x05\x04\0\ - \x02\x04\x06\x12\x030\x02\x0b\n\x0c\n\x05\x04\0\x02\x04\x01\x12\x030\x0c\ - \x12\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x030\x15\x16\n\xab\x03\n\x04\x04\ - \0\x02\x05\x12\x038\x02\"\x1a\x9d\x03\x20By\x20default,\x20rows\x20are\ - \x20read\x20sequentially,\x20producing\x20results\x20which\x20are\n\x20g\ - uaranteed\x20to\x20arrive\x20in\x20increasing\x20row\x20order.\x20Settin\ - g\n\x20\"allow_row_interleaving\"\x20to\x20true\x20allows\x20multiple\ - \x20rows\x20to\x20be\x20interleaved\x20in\n\x20the\x20response\x20stream\ - ,\x20which\x20increases\x20throughput\x20but\x20breaks\x20this\x20guaran\ - tee,\n\x20and\x20may\x20force\x20the\x20client\x20to\x20use\x20more\x20m\ - emory\x20to\x20buffer\x20partially-received\n\x20rows.\x20Cannot\x20be\ - \x20set\x20to\x20true\x20when\x20specifying\x20\"num_rows_limit\".\n\n\r\ - \n\x05\x04\0\x02\x05\x04\x12\x048\x020\x17\n\x0c\n\x05\x04\0\x02\x05\x05\ - \x12\x038\x02\x06\n\x0c\n\x05\x04\0\x02\x05\x01\x12\x038\x07\x1d\n\x0c\n\ - \x05\x04\0\x02\x05\x03\x12\x038\x20!\n\xcf\x01\n\x04\x04\0\x02\x06\x12\ - \x03=\x02\x1b\x1a\xc1\x01\x20The\x20read\x20will\x20terminate\x20after\ - \x20committing\x20to\x20N\x20rows'\x20worth\x20of\x20results.\x20The\n\ - \x20default\x20(zero)\x20is\x20to\x20return\x20all\x20results.\n\x20Note\ - \x20that\x20\"allow_row_interleaving\"\x20cannot\x20be\x20set\x20to\x20t\ - rue\x20when\x20this\x20is\x20set.\n\n\r\n\x05\x04\0\x02\x06\x04\x12\x04=\ - \x028\"\n\x0c\n\x05\x04\0\x02\x06\x05\x12\x03=\x02\x07\n\x0c\n\x05\x04\0\ - \x02\x06\x01\x12\x03=\x08\x16\n\x0c\n\x05\x04\0\x02\x06\x03\x12\x03=\x19\ - \x1a\n<\n\x02\x04\x01\x12\x04A\0]\x01\x1a0\x20Response\x20message\x20for\ - \x20BigtableService.ReadRows.\n\n\n\n\x03\x04\x01\x01\x12\x03A\x08\x18\n\ - d\n\x04\x04\x01\x03\0\x12\x04D\x02T\x03\x1aV\x20Specifies\x20a\x20piece\ - \x20of\x20a\x20row's\x20contents\x20returned\x20as\x20part\x20of\x20the\ - \x20read\n\x20response\x20stream.\n\n\x0c\n\x05\x04\x01\x03\0\x01\x12\ - \x03D\n\x0f\n\x0e\n\x06\x04\x01\x03\0\x08\0\x12\x04E\x04S\x05\n\x0e\n\ - \x07\x04\x01\x03\0\x08\0\x01\x12\x03E\n\x0f\n\x8b\x02\n\x06\x04\x01\x03\ - \0\x02\0\x12\x03J\x06\x1e\x1a\xfb\x01\x20A\x20subset\x20of\x20the\x20dat\ - a\x20from\x20a\x20particular\x20row.\x20As\x20long\x20as\x20no\x20\"rese\ - t_row\"\n\x20is\x20received\x20in\x20between,\x20multiple\x20\"row_conte\ - nts\"\x20from\x20the\x20same\x20row\x20are\n\x20from\x20the\x20same\x20a\ - tomic\x20view\x20of\x20that\x20row,\x20and\x20will\x20be\x20received\x20\ - in\x20the\n\x20expected\x20family/column/timestamp\x20order.\n\n\x0e\n\ - \x07\x04\x01\x03\0\x02\0\x06\x12\x03J\x06\x0c\n\x0e\n\x07\x04\x01\x03\0\ - \x02\0\x01\x12\x03J\r\x19\n\x0e\n\x07\x04\x01\x03\0\x02\0\x03\x12\x03J\ - \x1c\x1d\n\x84\x01\n\x06\x04\x01\x03\0\x02\x01\x12\x03N\x06\x19\x1au\x20\ - Indicates\x20that\x20the\x20client\x20should\x20drop\x20all\x20previous\ - \x20chunks\x20for\n\x20\"row_key\",\x20as\x20it\x20will\x20be\x20re-read\ - \x20from\x20the\x20beginning.\n\n\x0e\n\x07\x04\x01\x03\0\x02\x01\x05\ - \x12\x03N\x06\n\n\x0e\n\x07\x04\x01\x03\0\x02\x01\x01\x12\x03N\x0b\x14\n\ - \x0e\n\x07\x04\x01\x03\0\x02\x01\x03\x12\x03N\x17\x18\n\x82\x01\n\x06\ - \x04\x01\x03\0\x02\x02\x12\x03R\x06\x1a\x1as\x20Indicates\x20that\x20the\ - \x20client\x20can\x20safely\x20process\x20all\x20previous\x20chunks\x20f\ - or\n\x20\"row_key\",\x20as\x20its\x20data\x20has\x20been\x20fully\x20rea\ - d.\n\n\x0e\n\x07\x04\x01\x03\0\x02\x02\x05\x12\x03R\x06\n\n\x0e\n\x07\ - \x04\x01\x03\0\x02\x02\x01\x12\x03R\x0b\x15\n\x0e\n\x07\x04\x01\x03\0\ - \x02\x02\x03\x12\x03R\x18\x19\n\xb8\x01\n\x04\x04\x01\x02\0\x12\x03Y\x02\ - \x14\x1a\xaa\x01\x20The\x20key\x20of\x20the\x20row\x20for\x20which\x20we\ - 're\x20receiving\x20data.\n\x20Results\x20will\x20be\x20received\x20in\ - \x20increasing\x20row\x20key\x20order,\x20unless\n\x20\"allow_row_interl\ - eaving\"\x20was\x20specified\x20in\x20the\x20request.\n\n\r\n\x05\x04\ - \x01\x02\0\x04\x12\x04Y\x02T\x03\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03Y\ - \x02\x07\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03Y\x08\x0f\n\x0c\n\x05\x04\ - \x01\x02\0\x03\x12\x03Y\x12\x13\nD\n\x04\x04\x01\x02\x01\x12\x03\\\x02\ - \x1c\x1a7\x20One\x20or\x20more\x20chunks\x20of\x20the\x20row\x20specifie\ - d\x20by\x20\"row_key\".\n\n\x0c\n\x05\x04\x01\x02\x01\x04\x12\x03\\\x02\ - \n\n\x0c\n\x05\x04\x01\x02\x01\x06\x12\x03\\\x0b\x10\n\x0c\n\x05\x04\x01\ - \x02\x01\x01\x12\x03\\\x11\x17\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x03\\\ - \x1a\x1b\n@\n\x02\x04\x02\x12\x04`\0c\x01\x1a4\x20Request\x20message\x20\ - for\x20BigtableService.SampleRowKeys.\n\n\n\n\x03\x04\x02\x01\x12\x03`\ - \x08\x1c\nJ\n\x04\x04\x02\x02\0\x12\x03b\x02\x18\x1a=\x20The\x20unique\ - \x20name\x20of\x20the\x20table\x20from\x20which\x20to\x20sample\x20row\ - \x20keys.\n\n\r\n\x05\x04\x02\x02\0\x04\x12\x04b\x02`\x1e\n\x0c\n\x05\ - \x04\x02\x02\0\x05\x12\x03b\x02\x08\n\x0c\n\x05\x04\x02\x02\0\x01\x12\ - \x03b\t\x13\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03b\x16\x17\nA\n\x02\x04\ - \x03\x12\x04f\0u\x01\x1a5\x20Response\x20message\x20for\x20BigtableServi\ - ce.SampleRowKeys.\n\n\n\n\x03\x04\x03\x01\x12\x03f\x08\x1d\n\xdf\x03\n\ - \x04\x04\x03\x02\0\x12\x03n\x02\x14\x1a\xd1\x03\x20Sorted\x20streamed\ - \x20sequence\x20of\x20sample\x20row\x20keys\x20in\x20the\x20table.\x20Th\ - e\x20table\x20might\n\x20have\x20contents\x20before\x20the\x20first\x20r\ - ow\x20key\x20in\x20the\x20list\x20and\x20after\x20the\x20last\x20one,\n\ - \x20but\x20a\x20key\x20containing\x20the\x20empty\x20string\x20indicates\ - \x20\"end\x20of\x20table\"\x20and\x20will\x20be\n\x20the\x20last\x20resp\ - onse\x20given,\x20if\x20present.\n\x20Note\x20that\x20row\x20keys\x20in\ - \x20this\x20list\x20may\x20not\x20have\x20ever\x20been\x20written\x20to\ - \x20or\x20read\n\x20from,\x20and\x20users\x20should\x20therefore\x20not\ - \x20make\x20any\x20assumptions\x20about\x20the\x20row\x20key\n\x20struct\ - ure\x20that\x20are\x20specific\x20to\x20their\x20use\x20case.\n\n\r\n\ - \x05\x04\x03\x02\0\x04\x12\x04n\x02f\x1f\n\x0c\n\x05\x04\x03\x02\0\x05\ - \x12\x03n\x02\x07\n\x0c\n\x05\x04\x03\x02\0\x01\x12\x03n\x08\x0f\n\x0c\n\ - \x05\x04\x03\x02\0\x03\x12\x03n\x12\x13\n\xff\x01\n\x04\x04\x03\x02\x01\ - \x12\x03t\x02\x19\x1a\xf1\x01\x20Approximate\x20total\x20storage\x20spac\ - e\x20used\x20by\x20all\x20rows\x20in\x20the\x20table\x20which\x20precede\ - \n\x20\"row_key\".\x20Buffering\x20the\x20contents\x20of\x20all\x20rows\ - \x20between\x20two\x20subsequent\n\x20samples\x20would\x20require\x20spa\ - ce\x20roughly\x20equal\x20to\x20the\x20difference\x20in\x20their\n\x20\"\ - offset_bytes\"\x20fields.\n\n\r\n\x05\x04\x03\x02\x01\x04\x12\x04t\x02n\ - \x14\n\x0c\n\x05\x04\x03\x02\x01\x05\x12\x03t\x02\x07\n\x0c\n\x05\x04\ - \x03\x02\x01\x01\x12\x03t\x08\x14\n\x0c\n\x05\x04\x03\x02\x01\x03\x12\ - \x03t\x17\x18\n=\n\x02\x04\x04\x12\x05x\0\x83\x01\x01\x1a0\x20Request\ - \x20message\x20for\x20BigtableService.MutateRow.\n\n\n\n\x03\x04\x04\x01\ - \x12\x03x\x08\x18\nT\n\x04\x04\x04\x02\0\x12\x03z\x02\x18\x1aG\x20The\ - \x20unique\x20name\x20of\x20the\x20table\x20to\x20which\x20the\x20mutati\ - on\x20should\x20be\x20applied.\n\n\r\n\x05\x04\x04\x02\0\x04\x12\x04z\ - \x02x\x1a\n\x0c\n\x05\x04\x04\x02\0\x05\x12\x03z\x02\x08\n\x0c\n\x05\x04\ - \x04\x02\0\x01\x12\x03z\t\x13\n\x0c\n\x05\x04\x04\x02\0\x03\x12\x03z\x16\ - \x17\nJ\n\x04\x04\x04\x02\x01\x12\x03}\x02\x14\x1a=\x20The\x20key\x20of\ - \x20the\x20row\x20to\x20which\x20the\x20mutation\x20should\x20be\x20appl\ - ied.\n\n\r\n\x05\x04\x04\x02\x01\x04\x12\x04}\x02z\x18\n\x0c\n\x05\x04\ - \x04\x02\x01\x05\x12\x03}\x02\x07\n\x0c\n\x05\x04\x04\x02\x01\x01\x12\ - \x03}\x08\x0f\n\x0c\n\x05\x04\x04\x02\x01\x03\x12\x03}\x12\x13\n\xd7\x01\ - \n\x04\x04\x04\x02\x02\x12\x04\x82\x01\x02\"\x1a\xc8\x01\x20Changes\x20t\ - o\x20be\x20atomically\x20applied\x20to\x20the\x20specified\x20row.\x20En\ - tries\x20are\x20applied\n\x20in\x20order,\x20meaning\x20that\x20earlier\ - \x20mutations\x20can\x20be\x20masked\x20by\x20later\x20ones.\n\x20Must\ - \x20contain\x20at\x20least\x20one\x20entry\x20and\x20at\x20most\x2010000\ - 0.\n\n\r\n\x05\x04\x04\x02\x02\x04\x12\x04\x82\x01\x02\n\n\r\n\x05\x04\ - \x04\x02\x02\x06\x12\x04\x82\x01\x0b\x13\n\r\n\x05\x04\x04\x02\x02\x01\ - \x12\x04\x82\x01\x14\x1d\n\r\n\x05\x04\x04\x02\x02\x03\x12\x04\x82\x01\ - \x20!\n?\n\x02\x04\x05\x12\x06\x86\x01\0\x9b\x01\x01\x1a1\x20Request\x20\ - message\x20for\x20BigtableService.MutateRows.\n\n\x0b\n\x03\x04\x05\x01\ - \x12\x04\x86\x01\x08\x19\n\x0e\n\x04\x04\x05\x03\0\x12\x06\x87\x01\x02\ - \x90\x01\x03\n\r\n\x05\x04\x05\x03\0\x01\x12\x04\x87\x01\n\x0f\nP\n\x06\ - \x04\x05\x03\0\x02\0\x12\x04\x89\x01\x04\x16\x1a@\x20The\x20key\x20of\ - \x20the\x20row\x20to\x20which\x20the\x20`mutations`\x20should\x20be\x20a\ - pplied.\n\n\x11\n\x07\x04\x05\x03\0\x02\0\x04\x12\x06\x89\x01\x04\x87\ - \x01\x11\n\x0f\n\x07\x04\x05\x03\0\x02\0\x05\x12\x04\x89\x01\x04\t\n\x0f\ - \n\x07\x04\x05\x03\0\x02\0\x01\x12\x04\x89\x01\n\x11\n\x0f\n\x07\x04\x05\ - \x03\0\x02\0\x03\x12\x04\x89\x01\x14\x15\n\xd1\x01\n\x06\x04\x05\x03\0\ - \x02\x01\x12\x04\x8f\x01\x04$\x1a\xc0\x01\x20Changes\x20to\x20be\x20atom\ - ically\x20applied\x20to\x20the\x20specified\x20row.\x20Mutations\x20are\ - \n\x20applied\x20in\x20order,\x20meaning\x20that\x20earlier\x20mutations\ - \x20can\x20be\x20masked\x20by\n\x20later\x20ones.\n\x20At\x20least\x20on\ - e\x20mutation\x20must\x20be\x20specified.\n\n\x0f\n\x07\x04\x05\x03\0\ - \x02\x01\x04\x12\x04\x8f\x01\x04\x0c\n\x0f\n\x07\x04\x05\x03\0\x02\x01\ - \x06\x12\x04\x8f\x01\r\x15\n\x0f\n\x07\x04\x05\x03\0\x02\x01\x01\x12\x04\ - \x8f\x01\x16\x1f\n\x0f\n\x07\x04\x05\x03\0\x02\x01\x03\x12\x04\x8f\x01\"\ - #\nV\n\x04\x04\x05\x02\0\x12\x04\x93\x01\x02\x18\x1aH\x20The\x20unique\ - \x20name\x20of\x20the\x20table\x20to\x20which\x20the\x20mutations\x20sho\ - uld\x20be\x20applied.\n\n\x0f\n\x05\x04\x05\x02\0\x04\x12\x06\x93\x01\ - \x02\x90\x01\x03\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\x93\x01\x02\x08\n\r\ - \n\x05\x04\x05\x02\0\x01\x12\x04\x93\x01\t\x13\n\r\n\x05\x04\x05\x02\0\ - \x03\x12\x04\x93\x01\x16\x17\n\xaf\x02\n\x04\x04\x05\x02\x01\x12\x04\x9a\ - \x01\x02\x1d\x1a\xa0\x02\x20The\x20row\x20keys/mutations\x20to\x20be\x20\ - applied\x20in\x20bulk.\n\x20Each\x20entry\x20is\x20applied\x20as\x20an\ - \x20atomic\x20mutation,\x20but\x20the\x20entries\x20may\x20be\n\x20appli\ - ed\x20in\x20arbitrary\x20order\x20(even\x20between\x20entries\x20for\x20\ - the\x20same\x20row).\n\x20At\x20least\x20one\x20entry\x20must\x20be\x20s\ - pecified,\x20and\x20in\x20total\x20the\x20entries\x20may\n\x20contain\ - \x20at\x20most\x20100000\x20mutations.\n\n\r\n\x05\x04\x05\x02\x01\x04\ - \x12\x04\x9a\x01\x02\n\n\r\n\x05\x04\x05\x02\x01\x06\x12\x04\x9a\x01\x0b\ - \x10\n\r\n\x05\x04\x05\x02\x01\x01\x12\x04\x9a\x01\x11\x18\n\r\n\x05\x04\ - \x05\x02\x01\x03\x12\x04\x9a\x01\x1b\x1c\n@\n\x02\x04\x06\x12\x06\x9e\ - \x01\0\xa5\x01\x01\x1a2\x20Response\x20message\x20for\x20BigtableService\ - .MutateRows.\n\n\x0b\n\x03\x04\x06\x01\x12\x04\x9e\x01\x08\x1a\n\xd6\x02\ - \n\x04\x04\x06\x02\0\x12\x04\xa4\x01\x02*\x1a\xc7\x02\x20The\x20results\ - \x20for\x20each\x20Entry\x20from\x20the\x20request,\x20presented\x20in\ - \x20the\x20order\n\x20in\x20which\x20the\x20entries\x20were\x20originall\ - y\x20given.\n\x20Depending\x20on\x20how\x20requests\x20are\x20batched\ - \x20during\x20execution,\x20it\x20is\x20possible\n\x20for\x20one\x20Entr\ - y\x20to\x20fail\x20due\x20to\x20an\x20error\x20with\x20another\x20Entry.\ - \x20In\x20the\x20event\n\x20that\x20this\x20occurs,\x20the\x20same\x20er\ - ror\x20will\x20be\x20reported\x20for\x20both\x20entries.\n\n\r\n\x05\x04\ - \x06\x02\0\x04\x12\x04\xa4\x01\x02\n\n\r\n\x05\x04\x06\x02\0\x06\x12\x04\ - \xa4\x01\x0b\x1c\n\r\n\x05\x04\x06\x02\0\x01\x12\x04\xa4\x01\x1d%\n\r\n\ - \x05\x04\x06\x02\0\x03\x12\x04\xa4\x01()\nL\n\x02\x04\x07\x12\x06\xa8\ - \x01\0\xc3\x01\x01\x1a>\x20Request\x20message\x20for\x20BigtableService.\ - CheckAndMutateRowRequest\n\n\x0b\n\x03\x04\x07\x01\x12\x04\xa8\x01\x08\ - \x20\nb\n\x04\x04\x07\x02\0\x12\x04\xab\x01\x02\x18\x1aT\x20The\x20uniqu\ - e\x20name\x20of\x20the\x20table\x20to\x20which\x20the\x20conditional\x20\ - mutation\x20should\x20be\n\x20applied.\n\n\x0f\n\x05\x04\x07\x02\0\x04\ - \x12\x06\xab\x01\x02\xa8\x01\"\n\r\n\x05\x04\x07\x02\0\x05\x12\x04\xab\ - \x01\x02\x08\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\xab\x01\t\x13\n\r\n\x05\ - \x04\x07\x02\0\x03\x12\x04\xab\x01\x16\x17\nW\n\x04\x04\x07\x02\x01\x12\ - \x04\xae\x01\x02\x14\x1aI\x20The\x20key\x20of\x20the\x20row\x20to\x20whi\ - ch\x20the\x20conditional\x20mutation\x20should\x20be\x20applied.\n\n\x0f\ - \n\x05\x04\x07\x02\x01\x04\x12\x06\xae\x01\x02\xab\x01\x18\n\r\n\x05\x04\ - \x07\x02\x01\x05\x12\x04\xae\x01\x02\x07\n\r\n\x05\x04\x07\x02\x01\x01\ - \x12\x04\xae\x01\x08\x0f\n\r\n\x05\x04\x07\x02\x01\x03\x12\x04\xae\x01\ - \x12\x13\n\x80\x02\n\x04\x04\x07\x02\x02\x12\x04\xb4\x01\x02!\x1a\xf1\ - \x01\x20The\x20filter\x20to\x20be\x20applied\x20to\x20the\x20contents\ - \x20of\x20the\x20specified\x20row.\x20Depending\n\x20on\x20whether\x20or\ - \x20not\x20any\x20results\x20are\x20yielded,\x20either\x20\"true_mutatio\ - ns\"\x20or\n\x20\"false_mutations\"\x20will\x20be\x20executed.\x20If\x20\ - unset,\x20checks\x20that\x20the\x20row\x20contains\n\x20any\x20values\ - \x20at\x20all.\n\n\x0f\n\x05\x04\x07\x02\x02\x04\x12\x06\xb4\x01\x02\xae\ - \x01\x14\n\r\n\x05\x04\x07\x02\x02\x06\x12\x04\xb4\x01\x02\x0b\n\r\n\x05\ - \x04\x07\x02\x02\x01\x12\x04\xb4\x01\x0c\x1c\n\r\n\x05\x04\x07\x02\x02\ - \x03\x12\x04\xb4\x01\x1f\x20\n\xc1\x02\n\x04\x04\x07\x02\x03\x12\x04\xbb\ - \x01\x02'\x1a\xb2\x02\x20Changes\x20to\x20be\x20atomically\x20applied\ - \x20to\x20the\x20specified\x20row\x20if\x20\"predicate_filter\"\n\x20yie\ - lds\x20at\x20least\x20one\x20cell\x20when\x20applied\x20to\x20\"row_key\ - \".\x20Entries\x20are\x20applied\x20in\n\x20order,\x20meaning\x20that\ - \x20earlier\x20mutations\x20can\x20be\x20masked\x20by\x20later\x20ones.\ - \n\x20Must\x20contain\x20at\x20least\x20one\x20entry\x20if\x20\"false_mu\ - tations\"\x20is\x20empty,\x20and\x20at\x20most\n\x20100000.\n\n\r\n\x05\ - \x04\x07\x02\x03\x04\x12\x04\xbb\x01\x02\n\n\r\n\x05\x04\x07\x02\x03\x06\ - \x12\x04\xbb\x01\x0b\x13\n\r\n\x05\x04\x07\x02\x03\x01\x12\x04\xbb\x01\ - \x14\"\n\r\n\x05\x04\x07\x02\x03\x03\x12\x04\xbb\x01%&\n\xc0\x02\n\x04\ - \x04\x07\x02\x04\x12\x04\xc2\x01\x02(\x1a\xb1\x02\x20Changes\x20to\x20be\ - \x20atomically\x20applied\x20to\x20the\x20specified\x20row\x20if\x20\"pr\ - edicate_filter\"\n\x20does\x20not\x20yield\x20any\x20cells\x20when\x20ap\ - plied\x20to\x20\"row_key\".\x20Entries\x20are\x20applied\x20in\n\x20orde\ - r,\x20meaning\x20that\x20earlier\x20mutations\x20can\x20be\x20masked\x20\ - by\x20later\x20ones.\n\x20Must\x20contain\x20at\x20least\x20one\x20entry\ - \x20if\x20\"true_mutations\"\x20is\x20empty,\x20and\x20at\x20most\n\x201\ - 00000.\n\n\r\n\x05\x04\x07\x02\x04\x04\x12\x04\xc2\x01\x02\n\n\r\n\x05\ - \x04\x07\x02\x04\x06\x12\x04\xc2\x01\x0b\x13\n\r\n\x05\x04\x07\x02\x04\ - \x01\x12\x04\xc2\x01\x14#\n\r\n\x05\x04\x07\x02\x04\x03\x12\x04\xc2\x01&\ - '\nN\n\x02\x04\x08\x12\x06\xc6\x01\0\xca\x01\x01\x1a@\x20Response\x20mes\ - sage\x20for\x20BigtableService.CheckAndMutateRowRequest.\n\n\x0b\n\x03\ - \x04\x08\x01\x12\x04\xc6\x01\x08!\nk\n\x04\x04\x08\x02\0\x12\x04\xc9\x01\ - \x02\x1d\x1a]\x20Whether\x20or\x20not\x20the\x20request's\x20\"predicate\ - _filter\"\x20yielded\x20any\x20results\x20for\n\x20the\x20specified\x20r\ - ow.\n\n\x0f\n\x05\x04\x08\x02\0\x04\x12\x06\xc9\x01\x02\xc6\x01#\n\r\n\ - \x05\x04\x08\x02\0\x05\x12\x04\xc9\x01\x02\x06\n\r\n\x05\x04\x08\x02\0\ - \x01\x12\x04\xc9\x01\x07\x18\n\r\n\x05\x04\x08\x02\0\x03\x12\x04\xc9\x01\ - \x1b\x1c\nN\n\x02\x04\t\x12\x06\xcd\x01\0\xd9\x01\x01\x1a@\x20Request\ - \x20message\x20for\x20BigtableService.ReadModifyWriteRowRequest.\n\n\x0b\ - \n\x03\x04\t\x01\x12\x04\xcd\x01\x08!\ne\n\x04\x04\t\x02\0\x12\x04\xd0\ - \x01\x02\x18\x1aW\x20The\x20unique\x20name\x20of\x20the\x20table\x20to\ - \x20which\x20the\x20read/modify/write\x20rules\x20should\x20be\n\x20appl\ - ied.\n\n\x0f\n\x05\x04\t\x02\0\x04\x12\x06\xd0\x01\x02\xcd\x01#\n\r\n\ - \x05\x04\t\x02\0\x05\x12\x04\xd0\x01\x02\x08\n\r\n\x05\x04\t\x02\0\x01\ - \x12\x04\xd0\x01\t\x13\n\r\n\x05\x04\t\x02\0\x03\x12\x04\xd0\x01\x16\x17\ - \nZ\n\x04\x04\t\x02\x01\x12\x04\xd3\x01\x02\x14\x1aL\x20The\x20key\x20of\ - \x20the\x20row\x20to\x20which\x20the\x20read/modify/write\x20rules\x20sh\ - ould\x20be\x20applied.\n\n\x0f\n\x05\x04\t\x02\x01\x04\x12\x06\xd3\x01\ - \x02\xd0\x01\x18\n\r\n\x05\x04\t\x02\x01\x05\x12\x04\xd3\x01\x02\x07\n\r\ - \n\x05\x04\t\x02\x01\x01\x12\x04\xd3\x01\x08\x0f\n\r\n\x05\x04\t\x02\x01\ - \x03\x12\x04\xd3\x01\x12\x13\n\xc7\x01\n\x04\x04\t\x02\x02\x12\x04\xd8\ - \x01\x02)\x1a\xb8\x01\x20Rules\x20specifying\x20how\x20the\x20specified\ - \x20row's\x20contents\x20are\x20to\x20be\x20transformed\n\x20into\x20wri\ - tes.\x20Entries\x20are\x20applied\x20in\x20order,\x20meaning\x20that\x20\ - earlier\x20rules\x20will\n\x20affect\x20the\x20results\x20of\x20later\ - \x20ones.\n\n\r\n\x05\x04\t\x02\x02\x04\x12\x04\xd8\x01\x02\n\n\r\n\x05\ - \x04\t\x02\x02\x06\x12\x04\xd8\x01\x0b\x1e\n\r\n\x05\x04\t\x02\x02\x01\ - \x12\x04\xd8\x01\x1f$\n\r\n\x05\x04\t\x02\x02\x03\x12\x04\xd8\x01'(b\x06\ - proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/mod.rs deleted file mode 100644 index 8c37a71c88..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v1/mod.rs +++ /dev/null @@ -1,7 +0,0 @@ -pub mod bigtable_data; -pub mod bigtable_service; -pub mod bigtable_service_grpc; -pub mod bigtable_service_messages; - -pub(crate) use crate::empty; -pub(crate) use crate::rpc::status; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/bigtable.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/bigtable.rs deleted file mode 100644 index f1dd2f4292..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/bigtable.rs +++ /dev/null @@ -1,4457 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/v2/bigtable.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct ReadRowsRequest { - // message fields - pub table_name: ::std::string::String, - pub app_profile_id: ::std::string::String, - pub rows: ::protobuf::SingularPtrField, - pub filter: ::protobuf::SingularPtrField, - pub rows_limit: i64, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadRowsRequest { - fn default() -> &'a ReadRowsRequest { - ::default_instance() - } -} - -impl ReadRowsRequest { - pub fn new() -> ReadRowsRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // string app_profile_id = 5; - - - pub fn get_app_profile_id(&self) -> &str { - &self.app_profile_id - } - pub fn clear_app_profile_id(&mut self) { - self.app_profile_id.clear(); - } - - // Param is passed by value, moved - pub fn set_app_profile_id(&mut self, v: ::std::string::String) { - self.app_profile_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_app_profile_id(&mut self) -> &mut ::std::string::String { - &mut self.app_profile_id - } - - // Take field - pub fn take_app_profile_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.app_profile_id, ::std::string::String::new()) - } - - // .google.bigtable.v2.RowSet rows = 2; - - - pub fn get_rows(&self) -> &super::data::RowSet { - self.rows.as_ref().unwrap_or_else(|| super::data::RowSet::default_instance()) - } - pub fn clear_rows(&mut self) { - self.rows.clear(); - } - - pub fn has_rows(&self) -> bool { - self.rows.is_some() - } - - // Param is passed by value, moved - pub fn set_rows(&mut self, v: super::data::RowSet) { - self.rows = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_rows(&mut self) -> &mut super::data::RowSet { - if self.rows.is_none() { - self.rows.set_default(); - } - self.rows.as_mut().unwrap() - } - - // Take field - pub fn take_rows(&mut self) -> super::data::RowSet { - self.rows.take().unwrap_or_else(|| super::data::RowSet::new()) - } - - // .google.bigtable.v2.RowFilter filter = 3; - - - pub fn get_filter(&self) -> &super::data::RowFilter { - self.filter.as_ref().unwrap_or_else(|| super::data::RowFilter::default_instance()) - } - pub fn clear_filter(&mut self) { - self.filter.clear(); - } - - pub fn has_filter(&self) -> bool { - self.filter.is_some() - } - - // Param is passed by value, moved - pub fn set_filter(&mut self, v: super::data::RowFilter) { - self.filter = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_filter(&mut self) -> &mut super::data::RowFilter { - if self.filter.is_none() { - self.filter.set_default(); - } - self.filter.as_mut().unwrap() - } - - // Take field - pub fn take_filter(&mut self) -> super::data::RowFilter { - self.filter.take().unwrap_or_else(|| super::data::RowFilter::new()) - } - - // int64 rows_limit = 4; - - - pub fn get_rows_limit(&self) -> i64 { - self.rows_limit - } - pub fn clear_rows_limit(&mut self) { - self.rows_limit = 0; - } - - // Param is passed by value, moved - pub fn set_rows_limit(&mut self, v: i64) { - self.rows_limit = v; - } -} - -impl ::protobuf::Message for ReadRowsRequest { - fn is_initialized(&self) -> bool { - for v in &self.rows { - if !v.is_initialized() { - return false; - } - }; - for v in &self.filter { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 5 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.app_profile_id)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.rows)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.filter)?; - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.rows_limit = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if !self.app_profile_id.is_empty() { - my_size += ::protobuf::rt::string_size(5, &self.app_profile_id); - } - if let Some(ref v) = self.rows.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.filter.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if self.rows_limit != 0 { - my_size += ::protobuf::rt::value_size(4, self.rows_limit, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if !self.app_profile_id.is_empty() { - os.write_string(5, &self.app_profile_id)?; - } - if let Some(ref v) = self.rows.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.filter.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if self.rows_limit != 0 { - os.write_int64(4, self.rows_limit)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadRowsRequest { - ReadRowsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &ReadRowsRequest| { &m.table_name }, - |m: &mut ReadRowsRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "app_profile_id", - |m: &ReadRowsRequest| { &m.app_profile_id }, - |m: &mut ReadRowsRequest| { &mut m.app_profile_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "rows", - |m: &ReadRowsRequest| { &m.rows }, - |m: &mut ReadRowsRequest| { &mut m.rows }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "filter", - |m: &ReadRowsRequest| { &m.filter }, - |m: &mut ReadRowsRequest| { &mut m.filter }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "rows_limit", - |m: &ReadRowsRequest| { &m.rows_limit }, - |m: &mut ReadRowsRequest| { &mut m.rows_limit }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadRowsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadRowsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadRowsRequest, - }; - unsafe { - instance.get(ReadRowsRequest::new) - } - } -} - -impl ::protobuf::Clear for ReadRowsRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.app_profile_id.clear(); - self.rows.clear(); - self.filter.clear(); - self.rows_limit = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadRowsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadRowsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReadRowsResponse { - // message fields - pub chunks: ::protobuf::RepeatedField, - pub last_scanned_row_key: ::std::vec::Vec, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadRowsResponse { - fn default() -> &'a ReadRowsResponse { - ::default_instance() - } -} - -impl ReadRowsResponse { - pub fn new() -> ReadRowsResponse { - ::std::default::Default::default() - } - - // repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; - - - pub fn get_chunks(&self) -> &[ReadRowsResponse_CellChunk] { - &self.chunks - } - pub fn clear_chunks(&mut self) { - self.chunks.clear(); - } - - // Param is passed by value, moved - pub fn set_chunks(&mut self, v: ::protobuf::RepeatedField) { - self.chunks = v; - } - - // Mutable pointer to the field. - pub fn mut_chunks(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.chunks - } - - // Take field - pub fn take_chunks(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.chunks, ::protobuf::RepeatedField::new()) - } - - // bytes last_scanned_row_key = 2; - - - pub fn get_last_scanned_row_key(&self) -> &[u8] { - &self.last_scanned_row_key - } - pub fn clear_last_scanned_row_key(&mut self) { - self.last_scanned_row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_last_scanned_row_key(&mut self, v: ::std::vec::Vec) { - self.last_scanned_row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_last_scanned_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.last_scanned_row_key - } - - // Take field - pub fn take_last_scanned_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.last_scanned_row_key, ::std::vec::Vec::new()) - } -} - -impl ::protobuf::Message for ReadRowsResponse { - fn is_initialized(&self) -> bool { - for v in &self.chunks { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.chunks)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.last_scanned_row_key)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.chunks { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - if !self.last_scanned_row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.last_scanned_row_key); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.chunks { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - if !self.last_scanned_row_key.is_empty() { - os.write_bytes(2, &self.last_scanned_row_key)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadRowsResponse { - ReadRowsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "chunks", - |m: &ReadRowsResponse| { &m.chunks }, - |m: &mut ReadRowsResponse| { &mut m.chunks }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "last_scanned_row_key", - |m: &ReadRowsResponse| { &m.last_scanned_row_key }, - |m: &mut ReadRowsResponse| { &mut m.last_scanned_row_key }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadRowsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadRowsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadRowsResponse, - }; - unsafe { - instance.get(ReadRowsResponse::new) - } - } -} - -impl ::protobuf::Clear for ReadRowsResponse { - fn clear(&mut self) { - self.chunks.clear(); - self.last_scanned_row_key.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadRowsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadRowsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReadRowsResponse_CellChunk { - // message fields - pub row_key: ::std::vec::Vec, - pub family_name: ::protobuf::SingularPtrField<::protobuf::well_known_types::StringValue>, - pub qualifier: ::protobuf::SingularPtrField<::protobuf::well_known_types::BytesValue>, - pub timestamp_micros: i64, - pub labels: ::protobuf::RepeatedField<::std::string::String>, - pub value: ::std::vec::Vec, - pub value_size: i32, - // message oneof groups - pub row_status: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadRowsResponse_CellChunk { - fn default() -> &'a ReadRowsResponse_CellChunk { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ReadRowsResponse_CellChunk_oneof_row_status { - reset_row(bool), - commit_row(bool), -} - -impl ReadRowsResponse_CellChunk { - pub fn new() -> ReadRowsResponse_CellChunk { - ::std::default::Default::default() - } - - // bytes row_key = 1; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // .google.protobuf.StringValue family_name = 2; - - - pub fn get_family_name(&self) -> &::protobuf::well_known_types::StringValue { - self.family_name.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::StringValue::default_instance()) - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - pub fn has_family_name(&self) -> bool { - self.family_name.is_some() - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::protobuf::well_known_types::StringValue) { - self.family_name = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::protobuf::well_known_types::StringValue { - if self.family_name.is_none() { - self.family_name.set_default(); - } - self.family_name.as_mut().unwrap() - } - - // Take field - pub fn take_family_name(&mut self) -> ::protobuf::well_known_types::StringValue { - self.family_name.take().unwrap_or_else(|| ::protobuf::well_known_types::StringValue::new()) - } - - // .google.protobuf.BytesValue qualifier = 3; - - - pub fn get_qualifier(&self) -> &::protobuf::well_known_types::BytesValue { - self.qualifier.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::BytesValue::default_instance()) - } - pub fn clear_qualifier(&mut self) { - self.qualifier.clear(); - } - - pub fn has_qualifier(&self) -> bool { - self.qualifier.is_some() - } - - // Param is passed by value, moved - pub fn set_qualifier(&mut self, v: ::protobuf::well_known_types::BytesValue) { - self.qualifier = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_qualifier(&mut self) -> &mut ::protobuf::well_known_types::BytesValue { - if self.qualifier.is_none() { - self.qualifier.set_default(); - } - self.qualifier.as_mut().unwrap() - } - - // Take field - pub fn take_qualifier(&mut self) -> ::protobuf::well_known_types::BytesValue { - self.qualifier.take().unwrap_or_else(|| ::protobuf::well_known_types::BytesValue::new()) - } - - // int64 timestamp_micros = 4; - - - pub fn get_timestamp_micros(&self) -> i64 { - self.timestamp_micros - } - pub fn clear_timestamp_micros(&mut self) { - self.timestamp_micros = 0; - } - - // Param is passed by value, moved - pub fn set_timestamp_micros(&mut self, v: i64) { - self.timestamp_micros = v; - } - - // repeated string labels = 5; - - - pub fn get_labels(&self) -> &[::std::string::String] { - &self.labels - } - pub fn clear_labels(&mut self) { - self.labels.clear(); - } - - // Param is passed by value, moved - pub fn set_labels(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.labels = v; - } - - // Mutable pointer to the field. - pub fn mut_labels(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.labels - } - - // Take field - pub fn take_labels(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.labels, ::protobuf::RepeatedField::new()) - } - - // bytes value = 6; - - - pub fn get_value(&self) -> &[u8] { - &self.value - } - pub fn clear_value(&mut self) { - self.value.clear(); - } - - // Param is passed by value, moved - pub fn set_value(&mut self, v: ::std::vec::Vec) { - self.value = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_value(&mut self) -> &mut ::std::vec::Vec { - &mut self.value - } - - // Take field - pub fn take_value(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.value, ::std::vec::Vec::new()) - } - - // int32 value_size = 7; - - - pub fn get_value_size(&self) -> i32 { - self.value_size - } - pub fn clear_value_size(&mut self) { - self.value_size = 0; - } - - // Param is passed by value, moved - pub fn set_value_size(&mut self, v: i32) { - self.value_size = v; - } - - // bool reset_row = 8; - - - pub fn get_reset_row(&self) -> bool { - match self.row_status { - ::std::option::Option::Some(ReadRowsResponse_CellChunk_oneof_row_status::reset_row(v)) => v, - _ => false, - } - } - pub fn clear_reset_row(&mut self) { - self.row_status = ::std::option::Option::None; - } - - pub fn has_reset_row(&self) -> bool { - match self.row_status { - ::std::option::Option::Some(ReadRowsResponse_CellChunk_oneof_row_status::reset_row(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_reset_row(&mut self, v: bool) { - self.row_status = ::std::option::Option::Some(ReadRowsResponse_CellChunk_oneof_row_status::reset_row(v)) - } - - // bool commit_row = 9; - - - pub fn get_commit_row(&self) -> bool { - match self.row_status { - ::std::option::Option::Some(ReadRowsResponse_CellChunk_oneof_row_status::commit_row(v)) => v, - _ => false, - } - } - pub fn clear_commit_row(&mut self) { - self.row_status = ::std::option::Option::None; - } - - pub fn has_commit_row(&self) -> bool { - match self.row_status { - ::std::option::Option::Some(ReadRowsResponse_CellChunk_oneof_row_status::commit_row(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_commit_row(&mut self, v: bool) { - self.row_status = ::std::option::Option::Some(ReadRowsResponse_CellChunk_oneof_row_status::commit_row(v)) - } -} - -impl ::protobuf::Message for ReadRowsResponse_CellChunk { - fn is_initialized(&self) -> bool { - for v in &self.family_name { - if !v.is_initialized() { - return false; - } - }; - for v in &self.qualifier { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.family_name)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.qualifier)?; - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.timestamp_micros = tmp; - }, - 5 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.labels)?; - }, - 6 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.value)?; - }, - 7 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.value_size = tmp; - }, - 8 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.row_status = ::std::option::Option::Some(ReadRowsResponse_CellChunk_oneof_row_status::reset_row(is.read_bool()?)); - }, - 9 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.row_status = ::std::option::Option::Some(ReadRowsResponse_CellChunk_oneof_row_status::commit_row(is.read_bool()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.row_key); - } - if let Some(ref v) = self.family_name.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.qualifier.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if self.timestamp_micros != 0 { - my_size += ::protobuf::rt::value_size(4, self.timestamp_micros, ::protobuf::wire_format::WireTypeVarint); - } - for value in &self.labels { - my_size += ::protobuf::rt::string_size(5, &value); - }; - if !self.value.is_empty() { - my_size += ::protobuf::rt::bytes_size(6, &self.value); - } - if self.value_size != 0 { - my_size += ::protobuf::rt::value_size(7, self.value_size, ::protobuf::wire_format::WireTypeVarint); - } - if let ::std::option::Option::Some(ref v) = self.row_status { - match v { - &ReadRowsResponse_CellChunk_oneof_row_status::reset_row(v) => { - my_size += 2; - }, - &ReadRowsResponse_CellChunk_oneof_row_status::commit_row(v) => { - my_size += 2; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.row_key.is_empty() { - os.write_bytes(1, &self.row_key)?; - } - if let Some(ref v) = self.family_name.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.qualifier.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if self.timestamp_micros != 0 { - os.write_int64(4, self.timestamp_micros)?; - } - for v in &self.labels { - os.write_string(5, &v)?; - }; - if !self.value.is_empty() { - os.write_bytes(6, &self.value)?; - } - if self.value_size != 0 { - os.write_int32(7, self.value_size)?; - } - if let ::std::option::Option::Some(ref v) = self.row_status { - match v { - &ReadRowsResponse_CellChunk_oneof_row_status::reset_row(v) => { - os.write_bool(8, v)?; - }, - &ReadRowsResponse_CellChunk_oneof_row_status::commit_row(v) => { - os.write_bool(9, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadRowsResponse_CellChunk { - ReadRowsResponse_CellChunk::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &ReadRowsResponse_CellChunk| { &m.row_key }, - |m: &mut ReadRowsResponse_CellChunk| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::StringValue>>( - "family_name", - |m: &ReadRowsResponse_CellChunk| { &m.family_name }, - |m: &mut ReadRowsResponse_CellChunk| { &mut m.family_name }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::BytesValue>>( - "qualifier", - |m: &ReadRowsResponse_CellChunk| { &m.qualifier }, - |m: &mut ReadRowsResponse_CellChunk| { &mut m.qualifier }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "timestamp_micros", - |m: &ReadRowsResponse_CellChunk| { &m.timestamp_micros }, - |m: &mut ReadRowsResponse_CellChunk| { &mut m.timestamp_micros }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "labels", - |m: &ReadRowsResponse_CellChunk| { &m.labels }, - |m: &mut ReadRowsResponse_CellChunk| { &mut m.labels }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "value", - |m: &ReadRowsResponse_CellChunk| { &m.value }, - |m: &mut ReadRowsResponse_CellChunk| { &mut m.value }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "value_size", - |m: &ReadRowsResponse_CellChunk| { &m.value_size }, - |m: &mut ReadRowsResponse_CellChunk| { &mut m.value_size }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "reset_row", - ReadRowsResponse_CellChunk::has_reset_row, - ReadRowsResponse_CellChunk::get_reset_row, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "commit_row", - ReadRowsResponse_CellChunk::has_commit_row, - ReadRowsResponse_CellChunk::get_commit_row, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadRowsResponse_CellChunk", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadRowsResponse_CellChunk { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadRowsResponse_CellChunk, - }; - unsafe { - instance.get(ReadRowsResponse_CellChunk::new) - } - } -} - -impl ::protobuf::Clear for ReadRowsResponse_CellChunk { - fn clear(&mut self) { - self.row_key.clear(); - self.family_name.clear(); - self.qualifier.clear(); - self.timestamp_micros = 0; - self.labels.clear(); - self.value.clear(); - self.value_size = 0; - self.row_status = ::std::option::Option::None; - self.row_status = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadRowsResponse_CellChunk { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadRowsResponse_CellChunk { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct SampleRowKeysRequest { - // message fields - pub table_name: ::std::string::String, - pub app_profile_id: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a SampleRowKeysRequest { - fn default() -> &'a SampleRowKeysRequest { - ::default_instance() - } -} - -impl SampleRowKeysRequest { - pub fn new() -> SampleRowKeysRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // string app_profile_id = 2; - - - pub fn get_app_profile_id(&self) -> &str { - &self.app_profile_id - } - pub fn clear_app_profile_id(&mut self) { - self.app_profile_id.clear(); - } - - // Param is passed by value, moved - pub fn set_app_profile_id(&mut self, v: ::std::string::String) { - self.app_profile_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_app_profile_id(&mut self) -> &mut ::std::string::String { - &mut self.app_profile_id - } - - // Take field - pub fn take_app_profile_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.app_profile_id, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for SampleRowKeysRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.app_profile_id)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if !self.app_profile_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.app_profile_id); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if !self.app_profile_id.is_empty() { - os.write_string(2, &self.app_profile_id)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> SampleRowKeysRequest { - SampleRowKeysRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &SampleRowKeysRequest| { &m.table_name }, - |m: &mut SampleRowKeysRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "app_profile_id", - |m: &SampleRowKeysRequest| { &m.app_profile_id }, - |m: &mut SampleRowKeysRequest| { &mut m.app_profile_id }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "SampleRowKeysRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static SampleRowKeysRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const SampleRowKeysRequest, - }; - unsafe { - instance.get(SampleRowKeysRequest::new) - } - } -} - -impl ::protobuf::Clear for SampleRowKeysRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.app_profile_id.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for SampleRowKeysRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for SampleRowKeysRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct SampleRowKeysResponse { - // message fields - pub row_key: ::std::vec::Vec, - pub offset_bytes: i64, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a SampleRowKeysResponse { - fn default() -> &'a SampleRowKeysResponse { - ::default_instance() - } -} - -impl SampleRowKeysResponse { - pub fn new() -> SampleRowKeysResponse { - ::std::default::Default::default() - } - - // bytes row_key = 1; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // int64 offset_bytes = 2; - - - pub fn get_offset_bytes(&self) -> i64 { - self.offset_bytes - } - pub fn clear_offset_bytes(&mut self) { - self.offset_bytes = 0; - } - - // Param is passed by value, moved - pub fn set_offset_bytes(&mut self, v: i64) { - self.offset_bytes = v; - } -} - -impl ::protobuf::Message for SampleRowKeysResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.offset_bytes = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.row_key); - } - if self.offset_bytes != 0 { - my_size += ::protobuf::rt::value_size(2, self.offset_bytes, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.row_key.is_empty() { - os.write_bytes(1, &self.row_key)?; - } - if self.offset_bytes != 0 { - os.write_int64(2, self.offset_bytes)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> SampleRowKeysResponse { - SampleRowKeysResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &SampleRowKeysResponse| { &m.row_key }, - |m: &mut SampleRowKeysResponse| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "offset_bytes", - |m: &SampleRowKeysResponse| { &m.offset_bytes }, - |m: &mut SampleRowKeysResponse| { &mut m.offset_bytes }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "SampleRowKeysResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static SampleRowKeysResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const SampleRowKeysResponse, - }; - unsafe { - instance.get(SampleRowKeysResponse::new) - } - } -} - -impl ::protobuf::Clear for SampleRowKeysResponse { - fn clear(&mut self) { - self.row_key.clear(); - self.offset_bytes = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for SampleRowKeysResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for SampleRowKeysResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct MutateRowRequest { - // message fields - pub table_name: ::std::string::String, - pub app_profile_id: ::std::string::String, - pub row_key: ::std::vec::Vec, - pub mutations: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MutateRowRequest { - fn default() -> &'a MutateRowRequest { - ::default_instance() - } -} - -impl MutateRowRequest { - pub fn new() -> MutateRowRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // string app_profile_id = 4; - - - pub fn get_app_profile_id(&self) -> &str { - &self.app_profile_id - } - pub fn clear_app_profile_id(&mut self) { - self.app_profile_id.clear(); - } - - // Param is passed by value, moved - pub fn set_app_profile_id(&mut self, v: ::std::string::String) { - self.app_profile_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_app_profile_id(&mut self) -> &mut ::std::string::String { - &mut self.app_profile_id - } - - // Take field - pub fn take_app_profile_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.app_profile_id, ::std::string::String::new()) - } - - // bytes row_key = 2; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v2.Mutation mutations = 3; - - - pub fn get_mutations(&self) -> &[super::data::Mutation] { - &self.mutations - } - pub fn clear_mutations(&mut self) { - self.mutations.clear(); - } - - // Param is passed by value, moved - pub fn set_mutations(&mut self, v: ::protobuf::RepeatedField) { - self.mutations = v; - } - - // Mutable pointer to the field. - pub fn mut_mutations(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.mutations - } - - // Take field - pub fn take_mutations(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.mutations, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for MutateRowRequest { - fn is_initialized(&self) -> bool { - for v in &self.mutations { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 4 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.app_profile_id)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 3 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.mutations)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if !self.app_profile_id.is_empty() { - my_size += ::protobuf::rt::string_size(4, &self.app_profile_id); - } - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.row_key); - } - for value in &self.mutations { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if !self.app_profile_id.is_empty() { - os.write_string(4, &self.app_profile_id)?; - } - if !self.row_key.is_empty() { - os.write_bytes(2, &self.row_key)?; - } - for v in &self.mutations { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MutateRowRequest { - MutateRowRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &MutateRowRequest| { &m.table_name }, - |m: &mut MutateRowRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "app_profile_id", - |m: &MutateRowRequest| { &m.app_profile_id }, - |m: &mut MutateRowRequest| { &mut m.app_profile_id }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &MutateRowRequest| { &m.row_key }, - |m: &mut MutateRowRequest| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "mutations", - |m: &MutateRowRequest| { &m.mutations }, - |m: &mut MutateRowRequest| { &mut m.mutations }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "MutateRowRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MutateRowRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MutateRowRequest, - }; - unsafe { - instance.get(MutateRowRequest::new) - } - } -} - -impl ::protobuf::Clear for MutateRowRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.app_profile_id.clear(); - self.row_key.clear(); - self.mutations.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MutateRowRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MutateRowRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct MutateRowResponse { - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MutateRowResponse { - fn default() -> &'a MutateRowResponse { - ::default_instance() - } -} - -impl MutateRowResponse { - pub fn new() -> MutateRowResponse { - ::std::default::Default::default() - } -} - -impl ::protobuf::Message for MutateRowResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MutateRowResponse { - MutateRowResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let fields = ::std::vec::Vec::new(); - ::protobuf::reflect::MessageDescriptor::new::( - "MutateRowResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MutateRowResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MutateRowResponse, - }; - unsafe { - instance.get(MutateRowResponse::new) - } - } -} - -impl ::protobuf::Clear for MutateRowResponse { - fn clear(&mut self) { - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MutateRowResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MutateRowResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct MutateRowsRequest { - // message fields - pub table_name: ::std::string::String, - pub app_profile_id: ::std::string::String, - pub entries: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MutateRowsRequest { - fn default() -> &'a MutateRowsRequest { - ::default_instance() - } -} - -impl MutateRowsRequest { - pub fn new() -> MutateRowsRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // string app_profile_id = 3; - - - pub fn get_app_profile_id(&self) -> &str { - &self.app_profile_id - } - pub fn clear_app_profile_id(&mut self) { - self.app_profile_id.clear(); - } - - // Param is passed by value, moved - pub fn set_app_profile_id(&mut self, v: ::std::string::String) { - self.app_profile_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_app_profile_id(&mut self) -> &mut ::std::string::String { - &mut self.app_profile_id - } - - // Take field - pub fn take_app_profile_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.app_profile_id, ::std::string::String::new()) - } - - // repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2; - - - pub fn get_entries(&self) -> &[MutateRowsRequest_Entry] { - &self.entries - } - pub fn clear_entries(&mut self) { - self.entries.clear(); - } - - // Param is passed by value, moved - pub fn set_entries(&mut self, v: ::protobuf::RepeatedField) { - self.entries = v; - } - - // Mutable pointer to the field. - pub fn mut_entries(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.entries - } - - // Take field - pub fn take_entries(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.entries, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for MutateRowsRequest { - fn is_initialized(&self) -> bool { - for v in &self.entries { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.app_profile_id)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.entries)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if !self.app_profile_id.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.app_profile_id); - } - for value in &self.entries { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if !self.app_profile_id.is_empty() { - os.write_string(3, &self.app_profile_id)?; - } - for v in &self.entries { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MutateRowsRequest { - MutateRowsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &MutateRowsRequest| { &m.table_name }, - |m: &mut MutateRowsRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "app_profile_id", - |m: &MutateRowsRequest| { &m.app_profile_id }, - |m: &mut MutateRowsRequest| { &mut m.app_profile_id }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "entries", - |m: &MutateRowsRequest| { &m.entries }, - |m: &mut MutateRowsRequest| { &mut m.entries }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "MutateRowsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MutateRowsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MutateRowsRequest, - }; - unsafe { - instance.get(MutateRowsRequest::new) - } - } -} - -impl ::protobuf::Clear for MutateRowsRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.app_profile_id.clear(); - self.entries.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MutateRowsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MutateRowsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct MutateRowsRequest_Entry { - // message fields - pub row_key: ::std::vec::Vec, - pub mutations: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MutateRowsRequest_Entry { - fn default() -> &'a MutateRowsRequest_Entry { - ::default_instance() - } -} - -impl MutateRowsRequest_Entry { - pub fn new() -> MutateRowsRequest_Entry { - ::std::default::Default::default() - } - - // bytes row_key = 1; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v2.Mutation mutations = 2; - - - pub fn get_mutations(&self) -> &[super::data::Mutation] { - &self.mutations - } - pub fn clear_mutations(&mut self) { - self.mutations.clear(); - } - - // Param is passed by value, moved - pub fn set_mutations(&mut self, v: ::protobuf::RepeatedField) { - self.mutations = v; - } - - // Mutable pointer to the field. - pub fn mut_mutations(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.mutations - } - - // Take field - pub fn take_mutations(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.mutations, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for MutateRowsRequest_Entry { - fn is_initialized(&self) -> bool { - for v in &self.mutations { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.mutations)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.row_key); - } - for value in &self.mutations { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.row_key.is_empty() { - os.write_bytes(1, &self.row_key)?; - } - for v in &self.mutations { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MutateRowsRequest_Entry { - MutateRowsRequest_Entry::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &MutateRowsRequest_Entry| { &m.row_key }, - |m: &mut MutateRowsRequest_Entry| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "mutations", - |m: &MutateRowsRequest_Entry| { &m.mutations }, - |m: &mut MutateRowsRequest_Entry| { &mut m.mutations }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "MutateRowsRequest_Entry", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MutateRowsRequest_Entry { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MutateRowsRequest_Entry, - }; - unsafe { - instance.get(MutateRowsRequest_Entry::new) - } - } -} - -impl ::protobuf::Clear for MutateRowsRequest_Entry { - fn clear(&mut self) { - self.row_key.clear(); - self.mutations.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MutateRowsRequest_Entry { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MutateRowsRequest_Entry { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct MutateRowsResponse { - // message fields - pub entries: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MutateRowsResponse { - fn default() -> &'a MutateRowsResponse { - ::default_instance() - } -} - -impl MutateRowsResponse { - pub fn new() -> MutateRowsResponse { - ::std::default::Default::default() - } - - // repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; - - - pub fn get_entries(&self) -> &[MutateRowsResponse_Entry] { - &self.entries - } - pub fn clear_entries(&mut self) { - self.entries.clear(); - } - - // Param is passed by value, moved - pub fn set_entries(&mut self, v: ::protobuf::RepeatedField) { - self.entries = v; - } - - // Mutable pointer to the field. - pub fn mut_entries(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.entries - } - - // Take field - pub fn take_entries(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.entries, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for MutateRowsResponse { - fn is_initialized(&self) -> bool { - for v in &self.entries { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.entries)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.entries { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.entries { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MutateRowsResponse { - MutateRowsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "entries", - |m: &MutateRowsResponse| { &m.entries }, - |m: &mut MutateRowsResponse| { &mut m.entries }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "MutateRowsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MutateRowsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MutateRowsResponse, - }; - unsafe { - instance.get(MutateRowsResponse::new) - } - } -} - -impl ::protobuf::Clear for MutateRowsResponse { - fn clear(&mut self) { - self.entries.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MutateRowsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MutateRowsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct MutateRowsResponse_Entry { - // message fields - pub index: i64, - pub status: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MutateRowsResponse_Entry { - fn default() -> &'a MutateRowsResponse_Entry { - ::default_instance() - } -} - -impl MutateRowsResponse_Entry { - pub fn new() -> MutateRowsResponse_Entry { - ::std::default::Default::default() - } - - // int64 index = 1; - - - pub fn get_index(&self) -> i64 { - self.index - } - pub fn clear_index(&mut self) { - self.index = 0; - } - - // Param is passed by value, moved - pub fn set_index(&mut self, v: i64) { - self.index = v; - } - - // .google.rpc.Status status = 2; - - - pub fn get_status(&self) -> &super::status::Status { - self.status.as_ref().unwrap_or_else(|| super::status::Status::default_instance()) - } - pub fn clear_status(&mut self) { - self.status.clear(); - } - - pub fn has_status(&self) -> bool { - self.status.is_some() - } - - // Param is passed by value, moved - pub fn set_status(&mut self, v: super::status::Status) { - self.status = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_status(&mut self) -> &mut super::status::Status { - if self.status.is_none() { - self.status.set_default(); - } - self.status.as_mut().unwrap() - } - - // Take field - pub fn take_status(&mut self) -> super::status::Status { - self.status.take().unwrap_or_else(|| super::status::Status::new()) - } -} - -impl ::protobuf::Message for MutateRowsResponse_Entry { - fn is_initialized(&self) -> bool { - for v in &self.status { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.index = tmp; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.status)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if self.index != 0 { - my_size += ::protobuf::rt::value_size(1, self.index, ::protobuf::wire_format::WireTypeVarint); - } - if let Some(ref v) = self.status.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if self.index != 0 { - os.write_int64(1, self.index)?; - } - if let Some(ref v) = self.status.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MutateRowsResponse_Entry { - MutateRowsResponse_Entry::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "index", - |m: &MutateRowsResponse_Entry| { &m.index }, - |m: &mut MutateRowsResponse_Entry| { &mut m.index }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "status", - |m: &MutateRowsResponse_Entry| { &m.status }, - |m: &mut MutateRowsResponse_Entry| { &mut m.status }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "MutateRowsResponse_Entry", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MutateRowsResponse_Entry { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MutateRowsResponse_Entry, - }; - unsafe { - instance.get(MutateRowsResponse_Entry::new) - } - } -} - -impl ::protobuf::Clear for MutateRowsResponse_Entry { - fn clear(&mut self) { - self.index = 0; - self.status.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MutateRowsResponse_Entry { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MutateRowsResponse_Entry { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CheckAndMutateRowRequest { - // message fields - pub table_name: ::std::string::String, - pub app_profile_id: ::std::string::String, - pub row_key: ::std::vec::Vec, - pub predicate_filter: ::protobuf::SingularPtrField, - pub true_mutations: ::protobuf::RepeatedField, - pub false_mutations: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CheckAndMutateRowRequest { - fn default() -> &'a CheckAndMutateRowRequest { - ::default_instance() - } -} - -impl CheckAndMutateRowRequest { - pub fn new() -> CheckAndMutateRowRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // string app_profile_id = 7; - - - pub fn get_app_profile_id(&self) -> &str { - &self.app_profile_id - } - pub fn clear_app_profile_id(&mut self) { - self.app_profile_id.clear(); - } - - // Param is passed by value, moved - pub fn set_app_profile_id(&mut self, v: ::std::string::String) { - self.app_profile_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_app_profile_id(&mut self) -> &mut ::std::string::String { - &mut self.app_profile_id - } - - // Take field - pub fn take_app_profile_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.app_profile_id, ::std::string::String::new()) - } - - // bytes row_key = 2; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // .google.bigtable.v2.RowFilter predicate_filter = 6; - - - pub fn get_predicate_filter(&self) -> &super::data::RowFilter { - self.predicate_filter.as_ref().unwrap_or_else(|| super::data::RowFilter::default_instance()) - } - pub fn clear_predicate_filter(&mut self) { - self.predicate_filter.clear(); - } - - pub fn has_predicate_filter(&self) -> bool { - self.predicate_filter.is_some() - } - - // Param is passed by value, moved - pub fn set_predicate_filter(&mut self, v: super::data::RowFilter) { - self.predicate_filter = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_predicate_filter(&mut self) -> &mut super::data::RowFilter { - if self.predicate_filter.is_none() { - self.predicate_filter.set_default(); - } - self.predicate_filter.as_mut().unwrap() - } - - // Take field - pub fn take_predicate_filter(&mut self) -> super::data::RowFilter { - self.predicate_filter.take().unwrap_or_else(|| super::data::RowFilter::new()) - } - - // repeated .google.bigtable.v2.Mutation true_mutations = 4; - - - pub fn get_true_mutations(&self) -> &[super::data::Mutation] { - &self.true_mutations - } - pub fn clear_true_mutations(&mut self) { - self.true_mutations.clear(); - } - - // Param is passed by value, moved - pub fn set_true_mutations(&mut self, v: ::protobuf::RepeatedField) { - self.true_mutations = v; - } - - // Mutable pointer to the field. - pub fn mut_true_mutations(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.true_mutations - } - - // Take field - pub fn take_true_mutations(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.true_mutations, ::protobuf::RepeatedField::new()) - } - - // repeated .google.bigtable.v2.Mutation false_mutations = 5; - - - pub fn get_false_mutations(&self) -> &[super::data::Mutation] { - &self.false_mutations - } - pub fn clear_false_mutations(&mut self) { - self.false_mutations.clear(); - } - - // Param is passed by value, moved - pub fn set_false_mutations(&mut self, v: ::protobuf::RepeatedField) { - self.false_mutations = v; - } - - // Mutable pointer to the field. - pub fn mut_false_mutations(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.false_mutations - } - - // Take field - pub fn take_false_mutations(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.false_mutations, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for CheckAndMutateRowRequest { - fn is_initialized(&self) -> bool { - for v in &self.predicate_filter { - if !v.is_initialized() { - return false; - } - }; - for v in &self.true_mutations { - if !v.is_initialized() { - return false; - } - }; - for v in &self.false_mutations { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 7 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.app_profile_id)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 6 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.predicate_filter)?; - }, - 4 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.true_mutations)?; - }, - 5 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.false_mutations)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if !self.app_profile_id.is_empty() { - my_size += ::protobuf::rt::string_size(7, &self.app_profile_id); - } - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.row_key); - } - if let Some(ref v) = self.predicate_filter.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - for value in &self.true_mutations { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - for value in &self.false_mutations { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if !self.app_profile_id.is_empty() { - os.write_string(7, &self.app_profile_id)?; - } - if !self.row_key.is_empty() { - os.write_bytes(2, &self.row_key)?; - } - if let Some(ref v) = self.predicate_filter.as_ref() { - os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - for v in &self.true_mutations { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - for v in &self.false_mutations { - os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CheckAndMutateRowRequest { - CheckAndMutateRowRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &CheckAndMutateRowRequest| { &m.table_name }, - |m: &mut CheckAndMutateRowRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "app_profile_id", - |m: &CheckAndMutateRowRequest| { &m.app_profile_id }, - |m: &mut CheckAndMutateRowRequest| { &mut m.app_profile_id }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &CheckAndMutateRowRequest| { &m.row_key }, - |m: &mut CheckAndMutateRowRequest| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "predicate_filter", - |m: &CheckAndMutateRowRequest| { &m.predicate_filter }, - |m: &mut CheckAndMutateRowRequest| { &mut m.predicate_filter }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "true_mutations", - |m: &CheckAndMutateRowRequest| { &m.true_mutations }, - |m: &mut CheckAndMutateRowRequest| { &mut m.true_mutations }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "false_mutations", - |m: &CheckAndMutateRowRequest| { &m.false_mutations }, - |m: &mut CheckAndMutateRowRequest| { &mut m.false_mutations }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CheckAndMutateRowRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CheckAndMutateRowRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CheckAndMutateRowRequest, - }; - unsafe { - instance.get(CheckAndMutateRowRequest::new) - } - } -} - -impl ::protobuf::Clear for CheckAndMutateRowRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.app_profile_id.clear(); - self.row_key.clear(); - self.predicate_filter.clear(); - self.true_mutations.clear(); - self.false_mutations.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CheckAndMutateRowRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CheckAndMutateRowRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CheckAndMutateRowResponse { - // message fields - pub predicate_matched: bool, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CheckAndMutateRowResponse { - fn default() -> &'a CheckAndMutateRowResponse { - ::default_instance() - } -} - -impl CheckAndMutateRowResponse { - pub fn new() -> CheckAndMutateRowResponse { - ::std::default::Default::default() - } - - // bool predicate_matched = 1; - - - pub fn get_predicate_matched(&self) -> bool { - self.predicate_matched - } - pub fn clear_predicate_matched(&mut self) { - self.predicate_matched = false; - } - - // Param is passed by value, moved - pub fn set_predicate_matched(&mut self, v: bool) { - self.predicate_matched = v; - } -} - -impl ::protobuf::Message for CheckAndMutateRowResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.predicate_matched = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if self.predicate_matched != false { - my_size += 2; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if self.predicate_matched != false { - os.write_bool(1, self.predicate_matched)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CheckAndMutateRowResponse { - CheckAndMutateRowResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "predicate_matched", - |m: &CheckAndMutateRowResponse| { &m.predicate_matched }, - |m: &mut CheckAndMutateRowResponse| { &mut m.predicate_matched }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CheckAndMutateRowResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CheckAndMutateRowResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CheckAndMutateRowResponse, - }; - unsafe { - instance.get(CheckAndMutateRowResponse::new) - } - } -} - -impl ::protobuf::Clear for CheckAndMutateRowResponse { - fn clear(&mut self) { - self.predicate_matched = false; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CheckAndMutateRowResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CheckAndMutateRowResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReadModifyWriteRowRequest { - // message fields - pub table_name: ::std::string::String, - pub app_profile_id: ::std::string::String, - pub row_key: ::std::vec::Vec, - pub rules: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadModifyWriteRowRequest { - fn default() -> &'a ReadModifyWriteRowRequest { - ::default_instance() - } -} - -impl ReadModifyWriteRowRequest { - pub fn new() -> ReadModifyWriteRowRequest { - ::std::default::Default::default() - } - - // string table_name = 1; - - - pub fn get_table_name(&self) -> &str { - &self.table_name - } - pub fn clear_table_name(&mut self) { - self.table_name.clear(); - } - - // Param is passed by value, moved - pub fn set_table_name(&mut self, v: ::std::string::String) { - self.table_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_table_name(&mut self) -> &mut ::std::string::String { - &mut self.table_name - } - - // Take field - pub fn take_table_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.table_name, ::std::string::String::new()) - } - - // string app_profile_id = 4; - - - pub fn get_app_profile_id(&self) -> &str { - &self.app_profile_id - } - pub fn clear_app_profile_id(&mut self) { - self.app_profile_id.clear(); - } - - // Param is passed by value, moved - pub fn set_app_profile_id(&mut self, v: ::std::string::String) { - self.app_profile_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_app_profile_id(&mut self) -> &mut ::std::string::String { - &mut self.app_profile_id - } - - // Take field - pub fn take_app_profile_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.app_profile_id, ::std::string::String::new()) - } - - // bytes row_key = 2; - - - pub fn get_row_key(&self) -> &[u8] { - &self.row_key - } - pub fn clear_row_key(&mut self) { - self.row_key.clear(); - } - - // Param is passed by value, moved - pub fn set_row_key(&mut self, v: ::std::vec::Vec) { - self.row_key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.row_key - } - - // Take field - pub fn take_row_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.row_key, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3; - - - pub fn get_rules(&self) -> &[super::data::ReadModifyWriteRule] { - &self.rules - } - pub fn clear_rules(&mut self) { - self.rules.clear(); - } - - // Param is passed by value, moved - pub fn set_rules(&mut self, v: ::protobuf::RepeatedField) { - self.rules = v; - } - - // Mutable pointer to the field. - pub fn mut_rules(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.rules - } - - // Take field - pub fn take_rules(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.rules, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for ReadModifyWriteRowRequest { - fn is_initialized(&self) -> bool { - for v in &self.rules { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.table_name)?; - }, - 4 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.app_profile_id)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.row_key)?; - }, - 3 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.rules)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.table_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.table_name); - } - if !self.app_profile_id.is_empty() { - my_size += ::protobuf::rt::string_size(4, &self.app_profile_id); - } - if !self.row_key.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.row_key); - } - for value in &self.rules { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.table_name.is_empty() { - os.write_string(1, &self.table_name)?; - } - if !self.app_profile_id.is_empty() { - os.write_string(4, &self.app_profile_id)?; - } - if !self.row_key.is_empty() { - os.write_bytes(2, &self.row_key)?; - } - for v in &self.rules { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadModifyWriteRowRequest { - ReadModifyWriteRowRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "table_name", - |m: &ReadModifyWriteRowRequest| { &m.table_name }, - |m: &mut ReadModifyWriteRowRequest| { &mut m.table_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "app_profile_id", - |m: &ReadModifyWriteRowRequest| { &m.app_profile_id }, - |m: &mut ReadModifyWriteRowRequest| { &mut m.app_profile_id }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_key", - |m: &ReadModifyWriteRowRequest| { &m.row_key }, - |m: &mut ReadModifyWriteRowRequest| { &mut m.row_key }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "rules", - |m: &ReadModifyWriteRowRequest| { &m.rules }, - |m: &mut ReadModifyWriteRowRequest| { &mut m.rules }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadModifyWriteRowRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadModifyWriteRowRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadModifyWriteRowRequest, - }; - unsafe { - instance.get(ReadModifyWriteRowRequest::new) - } - } -} - -impl ::protobuf::Clear for ReadModifyWriteRowRequest { - fn clear(&mut self) { - self.table_name.clear(); - self.app_profile_id.clear(); - self.row_key.clear(); - self.rules.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadModifyWriteRowRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadModifyWriteRowRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReadModifyWriteRowResponse { - // message fields - pub row: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadModifyWriteRowResponse { - fn default() -> &'a ReadModifyWriteRowResponse { - ::default_instance() - } -} - -impl ReadModifyWriteRowResponse { - pub fn new() -> ReadModifyWriteRowResponse { - ::std::default::Default::default() - } - - // .google.bigtable.v2.Row row = 1; - - - pub fn get_row(&self) -> &super::data::Row { - self.row.as_ref().unwrap_or_else(|| super::data::Row::default_instance()) - } - pub fn clear_row(&mut self) { - self.row.clear(); - } - - pub fn has_row(&self) -> bool { - self.row.is_some() - } - - // Param is passed by value, moved - pub fn set_row(&mut self, v: super::data::Row) { - self.row = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_row(&mut self) -> &mut super::data::Row { - if self.row.is_none() { - self.row.set_default(); - } - self.row.as_mut().unwrap() - } - - // Take field - pub fn take_row(&mut self) -> super::data::Row { - self.row.take().unwrap_or_else(|| super::data::Row::new()) - } -} - -impl ::protobuf::Message for ReadModifyWriteRowResponse { - fn is_initialized(&self) -> bool { - for v in &self.row { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.row)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.row.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.row.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadModifyWriteRowResponse { - ReadModifyWriteRowResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "row", - |m: &ReadModifyWriteRowResponse| { &m.row }, - |m: &mut ReadModifyWriteRowResponse| { &mut m.row }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadModifyWriteRowResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadModifyWriteRowResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadModifyWriteRowResponse, - }; - unsafe { - instance.get(ReadModifyWriteRowResponse::new) - } - } -} - -impl ::protobuf::Clear for ReadModifyWriteRowResponse { - fn clear(&mut self) { - self.row.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadModifyWriteRowResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadModifyWriteRowResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n!google/bigtable/v2/bigtable.proto\x12\x12google.bigtable.v2\x1a\x1cgo\ - ogle/api/annotations.proto\x1a\x1dgoogle/bigtable/v2/data.proto\x1a\x1eg\ - oogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\xdc\x01\n\ - \x0fReadRowsRequest\x12\x1d\n\ntable_name\x18\x01\x20\x01(\tR\ttableName\ - \x12$\n\x0eapp_profile_id\x18\x05\x20\x01(\tR\x0cappProfileId\x12.\n\x04\ - rows\x18\x02\x20\x01(\x0b2\x1a.google.bigtable.v2.RowSetR\x04rows\x125\n\ - \x06filter\x18\x03\x20\x01(\x0b2\x1d.google.bigtable.v2.RowFilterR\x06fi\ - lter\x12\x1d\n\nrows_limit\x18\x04\x20\x01(\x03R\trowsLimit\"\xf2\x03\n\ - \x10ReadRowsResponse\x12F\n\x06chunks\x18\x01\x20\x03(\x0b2..google.bigt\ - able.v2.ReadRowsResponse.CellChunkR\x06chunks\x12/\n\x14last_scanned_row\ - _key\x18\x02\x20\x01(\x0cR\x11lastScannedRowKey\x1a\xe4\x02\n\tCellChunk\ - \x12\x17\n\x07row_key\x18\x01\x20\x01(\x0cR\x06rowKey\x12=\n\x0bfamily_n\ - ame\x18\x02\x20\x01(\x0b2\x1c.google.protobuf.StringValueR\nfamilyName\ - \x129\n\tqualifier\x18\x03\x20\x01(\x0b2\x1b.google.protobuf.BytesValueR\ - \tqualifier\x12)\n\x10timestamp_micros\x18\x04\x20\x01(\x03R\x0ftimestam\ - pMicros\x12\x16\n\x06labels\x18\x05\x20\x03(\tR\x06labels\x12\x14\n\x05v\ - alue\x18\x06\x20\x01(\x0cR\x05value\x12\x1d\n\nvalue_size\x18\x07\x20\ - \x01(\x05R\tvalueSize\x12\x1d\n\treset_row\x18\x08\x20\x01(\x08H\0R\x08r\ - esetRow\x12\x1f\n\ncommit_row\x18\t\x20\x01(\x08H\0R\tcommitRowB\x0c\n\n\ - row_status\"[\n\x14SampleRowKeysRequest\x12\x1d\n\ntable_name\x18\x01\ - \x20\x01(\tR\ttableName\x12$\n\x0eapp_profile_id\x18\x02\x20\x01(\tR\x0c\ - appProfileId\"S\n\x15SampleRowKeysResponse\x12\x17\n\x07row_key\x18\x01\ - \x20\x01(\x0cR\x06rowKey\x12!\n\x0coffset_bytes\x18\x02\x20\x01(\x03R\ - \x0boffsetBytes\"\xac\x01\n\x10MutateRowRequest\x12\x1d\n\ntable_name\ - \x18\x01\x20\x01(\tR\ttableName\x12$\n\x0eapp_profile_id\x18\x04\x20\x01\ - (\tR\x0cappProfileId\x12\x17\n\x07row_key\x18\x02\x20\x01(\x0cR\x06rowKe\ - y\x12:\n\tmutations\x18\x03\x20\x03(\x0b2\x1c.google.bigtable.v2.Mutatio\ - nR\tmutations\"\x13\n\x11MutateRowResponse\"\xfd\x01\n\x11MutateRowsRequ\ - est\x12\x1d\n\ntable_name\x18\x01\x20\x01(\tR\ttableName\x12$\n\x0eapp_p\ - rofile_id\x18\x03\x20\x01(\tR\x0cappProfileId\x12E\n\x07entries\x18\x02\ - \x20\x03(\x0b2+.google.bigtable.v2.MutateRowsRequest.EntryR\x07entries\ - \x1a\\\n\x05Entry\x12\x17\n\x07row_key\x18\x01\x20\x01(\x0cR\x06rowKey\ - \x12:\n\tmutations\x18\x02\x20\x03(\x0b2\x1c.google.bigtable.v2.Mutation\ - R\tmutations\"\xa7\x01\n\x12MutateRowsResponse\x12F\n\x07entries\x18\x01\ - \x20\x03(\x0b2,.google.bigtable.v2.MutateRowsResponse.EntryR\x07entries\ - \x1aI\n\x05Entry\x12\x14\n\x05index\x18\x01\x20\x01(\x03R\x05index\x12*\ - \n\x06status\x18\x02\x20\x01(\x0b2\x12.google.rpc.StatusR\x06status\"\ - \xce\x02\n\x18CheckAndMutateRowRequest\x12\x1d\n\ntable_name\x18\x01\x20\ - \x01(\tR\ttableName\x12$\n\x0eapp_profile_id\x18\x07\x20\x01(\tR\x0cappP\ - rofileId\x12\x17\n\x07row_key\x18\x02\x20\x01(\x0cR\x06rowKey\x12H\n\x10\ - predicate_filter\x18\x06\x20\x01(\x0b2\x1d.google.bigtable.v2.RowFilterR\ - \x0fpredicateFilter\x12C\n\x0etrue_mutations\x18\x04\x20\x03(\x0b2\x1c.g\ - oogle.bigtable.v2.MutationR\rtrueMutations\x12E\n\x0ffalse_mutations\x18\ - \x05\x20\x03(\x0b2\x1c.google.bigtable.v2.MutationR\x0efalseMutations\"H\ - \n\x19CheckAndMutateRowResponse\x12+\n\x11predicate_matched\x18\x01\x20\ - \x01(\x08R\x10predicateMatched\"\xb8\x01\n\x19ReadModifyWriteRowRequest\ - \x12\x1d\n\ntable_name\x18\x01\x20\x01(\tR\ttableName\x12$\n\x0eapp_prof\ - ile_id\x18\x04\x20\x01(\tR\x0cappProfileId\x12\x17\n\x07row_key\x18\x02\ - \x20\x01(\x0cR\x06rowKey\x12=\n\x05rules\x18\x03\x20\x03(\x0b2'.google.b\ - igtable.v2.ReadModifyWriteRuleR\x05rules\"G\n\x1aReadModifyWriteRowRespo\ - nse\x12)\n\x03row\x18\x01\x20\x01(\x0b2\x17.google.bigtable.v2.RowR\x03r\ - ow2\xad\x08\n\x08Bigtable\x12\x9d\x01\n\x08ReadRows\x12#.google.bigtable\ - .v2.ReadRowsRequest\x1a$.google.bigtable.v2.ReadRowsResponse\"D\x82\xd3\ - \xe4\x93\x02>\"9/v2/{table_name=projects/*/instances/*/tables/*}:readRow\ - s:\x01*0\x01\x12\xae\x01\n\rSampleRowKeys\x12(.google.bigtable.v2.Sample\ - RowKeysRequest\x1a).google.bigtable.v2.SampleRowKeysResponse\"F\x82\xd3\ - \xe4\x93\x02@\x12>/v2/{table_name=projects/*/instances/*/tables/*}:sampl\ - eRowKeys0\x01\x12\x9f\x01\n\tMutateRow\x12$.google.bigtable.v2.MutateRow\ - Request\x1a%.google.bigtable.v2.MutateRowResponse\"E\x82\xd3\xe4\x93\x02\ - ?\":/v2/{table_name=projects/*/instances/*/tables/*}:mutateRow:\x01*\x12\ - \xa5\x01\n\nMutateRows\x12%.google.bigtable.v2.MutateRowsRequest\x1a&.go\ - ogle.bigtable.v2.MutateRowsResponse\"F\x82\xd3\xe4\x93\x02@\";/v2/{table\ - _name=projects/*/instances/*/tables/*}:mutateRows:\x01*0\x01\x12\xbf\x01\ - \n\x11CheckAndMutateRow\x12,.google.bigtable.v2.CheckAndMutateRowRequest\ - \x1a-.google.bigtable.v2.CheckAndMutateRowResponse\"M\x82\xd3\xe4\x93\ - \x02G\"B/v2/{table_name=projects/*/instances/*/tables/*}:checkAndMutateR\ - ow:\x01*\x12\xc3\x01\n\x12ReadModifyWriteRow\x12-.google.bigtable.v2.Rea\ - dModifyWriteRowRequest\x1a..google.bigtable.v2.ReadModifyWriteRowRespons\ - e\"N\x82\xd3\xe4\x93\x02H\"C/v2/{table_name=projects/*/instances/*/table\ - s/*}:readModifyWriteRow:\x01*B\x9b\x01\n\x16com.google.bigtable.v2B\rBig\ - tableProtoP\x01Z:google.golang.org/genproto/googleapis/bigtable/v2;bigta\ - ble\xaa\x02\x18Google.Cloud.Bigtable.V2\xca\x02\x18Google\\Cloud\\Bigtab\ - le\\V2J\xabv\n\x07\x12\x05\x0e\0\xec\x02\x01\n\xbd\x04\n\x01\x0c\x12\x03\ - \x0e\0\x122\xb2\x04\x20Copyright\x202018\x20Google\x20Inc.\n\n\x20Licens\ - ed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20(the\x20\"\ - License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20except\x20i\ - n\x20compliance\x20with\x20the\x20License.\n\x20You\x20may\x20obtain\x20\ - a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\x20\x20http://ww\ - w.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20required\x20by\x20app\ - licable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\x20software\n\x20\ - distributed\x20under\x20the\x20License\x20is\x20distributed\x20on\x20an\ - \x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITION\ - S\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20implied.\n\x20See\ - \x20the\x20License\x20for\x20the\x20specific\x20language\x20governing\ - \x20permissions\x20and\n\x20limitations\x20under\x20the\x20License.\n\n\ - \x08\n\x01\x02\x12\x03\x10\0\x1b\n\t\n\x02\x03\0\x12\x03\x12\0&\n\t\n\ - \x02\x03\x01\x12\x03\x13\0'\n\t\n\x02\x03\x02\x12\x03\x14\0(\n\t\n\x02\ - \x03\x03\x12\x03\x15\0!\n\x08\n\x01\x08\x12\x03\x17\05\n\t\n\x02\x08%\ - \x12\x03\x17\05\n\x08\n\x01\x08\x12\x03\x18\0Q\n\t\n\x02\x08\x0b\x12\x03\ - \x18\0Q\n\x08\n\x01\x08\x12\x03\x19\0\"\n\t\n\x02\x08\n\x12\x03\x19\0\"\ - \n\x08\n\x01\x08\x12\x03\x1a\0.\n\t\n\x02\x08\x08\x12\x03\x1a\0.\n\x08\n\ - \x01\x08\x12\x03\x1b\0/\n\t\n\x02\x08\x01\x12\x03\x1b\0/\n\x08\n\x01\x08\ - \x12\x03\x1c\05\n\t\n\x02\x08)\x12\x03\x1c\05\nO\n\x02\x06\0\x12\x04\x20\ - \0]\x01\x1aC\x20Service\x20for\x20reading\x20from\x20and\x20writing\x20t\ - o\x20existing\x20Bigtable\x20tables.\n\n\n\n\x03\x06\0\x01\x12\x03\x20\ - \x08\x10\n\xc1\x02\n\x04\x06\0\x02\0\x12\x04&\x02+\x03\x1a\xb2\x02\x20St\ - reams\x20back\x20the\x20contents\x20of\x20all\x20requested\x20rows\x20in\ - \x20key\x20order,\x20optionally\n\x20applying\x20the\x20same\x20Reader\ - \x20filter\x20to\x20each.\x20Depending\x20on\x20their\x20size,\n\x20rows\ - \x20and\x20cells\x20may\x20be\x20broken\x20up\x20across\x20multiple\x20r\ - esponses,\x20but\n\x20atomicity\x20of\x20each\x20row\x20will\x20still\ - \x20be\x20preserved.\x20See\x20the\n\x20ReadRowsResponse\x20documentatio\ - n\x20for\x20details.\n\n\x0c\n\x05\x06\0\x02\0\x01\x12\x03&\x06\x0e\n\ - \x0c\n\x05\x06\0\x02\0\x02\x12\x03&\x0f\x1e\n\x0c\n\x05\x06\0\x02\0\x06\ - \x12\x03&)/\n\x0c\n\x05\x06\0\x02\0\x03\x12\x03&0@\n\r\n\x05\x06\0\x02\0\ - \x04\x12\x04'\x04*\x06\n\x11\n\t\x06\0\x02\0\x04\xb0\xca\xbc\"\x12\x04'\ - \x04*\x06\n\xed\x01\n\x04\x06\0\x02\x01\x12\x041\x025\x03\x1a\xde\x01\ - \x20Returns\x20a\x20sample\x20of\x20row\x20keys\x20in\x20the\x20table.\ - \x20The\x20returned\x20row\x20keys\x20will\n\x20delimit\x20contiguous\ - \x20sections\x20of\x20the\x20table\x20of\x20approximately\x20equal\x20si\ - ze,\n\x20which\x20can\x20be\x20used\x20to\x20break\x20up\x20the\x20data\ - \x20for\x20distributed\x20tasks\x20like\n\x20mapreduces.\n\n\x0c\n\x05\ - \x06\0\x02\x01\x01\x12\x031\x06\x13\n\x0c\n\x05\x06\0\x02\x01\x02\x12\ - \x031\x14(\n\x0c\n\x05\x06\0\x02\x01\x06\x12\x03139\n\x0c\n\x05\x06\0\ - \x02\x01\x03\x12\x031:O\n\r\n\x05\x06\0\x02\x01\x04\x12\x042\x044\x06\n\ - \x11\n\t\x06\0\x02\x01\x04\xb0\xca\xbc\"\x12\x042\x044\x06\n\x87\x01\n\ - \x04\x06\0\x02\x02\x12\x049\x02>\x03\x1ay\x20Mutates\x20a\x20row\x20atom\ - ically.\x20Cells\x20already\x20present\x20in\x20the\x20row\x20are\x20lef\ - t\n\x20unchanged\x20unless\x20explicitly\x20changed\x20by\x20`mutation`.\ - \n\n\x0c\n\x05\x06\0\x02\x02\x01\x12\x039\x06\x0f\n\x0c\n\x05\x06\0\x02\ - \x02\x02\x12\x039\x10\x20\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x039+<\n\r\n\ - \x05\x06\0\x02\x02\x04\x12\x04:\x04=\x06\n\x11\n\t\x06\0\x02\x02\x04\xb0\ - \xca\xbc\"\x12\x04:\x04=\x06\n\xa0\x01\n\x04\x06\0\x02\x03\x12\x04C\x02H\ - \x03\x1a\x91\x01\x20Mutates\x20multiple\x20rows\x20in\x20a\x20batch.\x20\ - Each\x20individual\x20row\x20is\x20mutated\n\x20atomically\x20as\x20in\ - \x20MutateRow,\x20but\x20the\x20entire\x20batch\x20is\x20not\x20executed\ - \n\x20atomically.\n\n\x0c\n\x05\x06\0\x02\x03\x01\x12\x03C\x06\x10\n\x0c\ - \n\x05\x06\0\x02\x03\x02\x12\x03C\x11\"\n\x0c\n\x05\x06\0\x02\x03\x06\ - \x12\x03C-3\n\x0c\n\x05\x06\0\x02\x03\x03\x12\x03C4F\n\r\n\x05\x06\0\x02\ - \x03\x04\x12\x04D\x04G\x06\n\x11\n\t\x06\0\x02\x03\x04\xb0\xca\xbc\"\x12\ - \x04D\x04G\x06\nZ\n\x04\x06\0\x02\x04\x12\x04K\x02P\x03\x1aL\x20Mutates\ - \x20a\x20row\x20atomically\x20based\x20on\x20the\x20output\x20of\x20a\ - \x20predicate\x20Reader\x20filter.\n\n\x0c\n\x05\x06\0\x02\x04\x01\x12\ - \x03K\x06\x17\n\x0c\n\x05\x06\0\x02\x04\x02\x12\x03K\x180\n\x0c\n\x05\ - \x06\0\x02\x04\x03\x12\x03K;T\n\r\n\x05\x06\0\x02\x04\x04\x12\x04L\x04O\ - \x06\n\x11\n\t\x06\0\x02\x04\x04\xb0\xca\xbc\"\x12\x04L\x04O\x06\n\xf6\ - \x02\n\x04\x06\0\x02\x05\x12\x04W\x02\\\x03\x1a\xe7\x02\x20Modifies\x20a\ - \x20row\x20atomically\x20on\x20the\x20server.\x20The\x20method\x20reads\ - \x20the\x20latest\n\x20existing\x20timestamp\x20and\x20value\x20from\x20\ - the\x20specified\x20columns\x20and\x20writes\x20a\x20new\n\x20entry\x20b\ - ased\x20on\x20pre-defined\x20read/modify/write\x20rules.\x20The\x20new\ - \x20value\x20for\x20the\n\x20timestamp\x20is\x20the\x20greater\x20of\x20\ - the\x20existing\x20timestamp\x20or\x20the\x20current\x20server\n\x20time\ - .\x20The\x20method\x20returns\x20the\x20new\x20contents\x20of\x20all\x20\ - modified\x20cells.\n\n\x0c\n\x05\x06\0\x02\x05\x01\x12\x03W\x06\x18\n\ - \x0c\n\x05\x06\0\x02\x05\x02\x12\x03W\x192\n\x0c\n\x05\x06\0\x02\x05\x03\ - \x12\x03W=W\n\r\n\x05\x06\0\x02\x05\x04\x12\x04X\x04[\x06\n\x11\n\t\x06\ - \0\x02\x05\x04\xb0\xca\xbc\"\x12\x04X\x04[\x06\n4\n\x02\x04\0\x12\x04`\0\ - t\x01\x1a(\x20Request\x20message\x20for\x20Bigtable.ReadRows.\n\n\n\n\ - \x03\x04\0\x01\x12\x03`\x08\x17\n\x93\x01\n\x04\x04\0\x02\0\x12\x03d\x02\ - \x18\x1a\x85\x01\x20The\x20unique\x20name\x20of\x20the\x20table\x20from\ - \x20which\x20to\x20read.\n\x20Values\x20are\x20of\x20the\x20form\n\x20`p\ - rojects//instances//tables/
`.\n\n\r\n\x05\x04\ - \0\x02\0\x04\x12\x04d\x02`\x19\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03d\x02\ - \x08\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03d\t\x13\n\x0c\n\x05\x04\0\x02\0\ - \x03\x12\x03d\x16\x17\n\x7f\n\x04\x04\0\x02\x01\x12\x03h\x02\x1c\x1ar\ - \x20This\x20value\x20specifies\x20routing\x20for\x20replication.\x20If\ - \x20not\x20specified,\x20the\n\x20\"default\"\x20application\x20profile\ - \x20will\x20be\x20used.\n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04h\x02d\x18\ - \n\x0c\n\x05\x04\0\x02\x01\x05\x12\x03h\x02\x08\n\x0c\n\x05\x04\0\x02\ - \x01\x01\x12\x03h\t\x17\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03h\x1a\x1b\n\ - Y\n\x04\x04\0\x02\x02\x12\x03k\x02\x12\x1aL\x20The\x20row\x20keys\x20and\ - /or\x20ranges\x20to\x20read.\x20If\x20not\x20specified,\x20reads\x20from\ - \x20all\x20rows.\n\n\r\n\x05\x04\0\x02\x02\x04\x12\x04k\x02h\x1c\n\x0c\n\ - \x05\x04\0\x02\x02\x06\x12\x03k\x02\x08\n\x0c\n\x05\x04\0\x02\x02\x01\ - \x12\x03k\t\r\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03k\x10\x11\nv\n\x04\ - \x04\0\x02\x03\x12\x03o\x02\x17\x1ai\x20The\x20filter\x20to\x20apply\x20\ - to\x20the\x20contents\x20of\x20the\x20specified\x20row(s).\x20If\x20unse\ - t,\n\x20reads\x20the\x20entirety\x20of\x20each\x20row.\n\n\r\n\x05\x04\0\ - \x02\x03\x04\x12\x04o\x02k\x12\n\x0c\n\x05\x04\0\x02\x03\x06\x12\x03o\ - \x02\x0b\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03o\x0c\x12\n\x0c\n\x05\x04\ - \0\x02\x03\x03\x12\x03o\x15\x16\n\x82\x01\n\x04\x04\0\x02\x04\x12\x03s\ - \x02\x17\x1au\x20The\x20read\x20will\x20terminate\x20after\x20committing\ - \x20to\x20N\x20rows'\x20worth\x20of\x20results.\x20The\n\x20default\x20(\ - zero)\x20is\x20to\x20return\x20all\x20results.\n\n\r\n\x05\x04\0\x02\x04\ - \x04\x12\x04s\x02o\x17\n\x0c\n\x05\x04\0\x02\x04\x05\x12\x03s\x02\x07\n\ - \x0c\n\x05\x04\0\x02\x04\x01\x12\x03s\x08\x12\n\x0c\n\x05\x04\0\x02\x04\ - \x03\x12\x03s\x15\x16\n6\n\x02\x04\x01\x12\x05w\0\xc1\x01\x01\x1a)\x20Re\ - sponse\x20message\x20for\x20Bigtable.ReadRows.\n\n\n\n\x03\x04\x01\x01\ - \x12\x03w\x08\x18\ne\n\x04\x04\x01\x03\0\x12\x05z\x02\xb5\x01\x03\x1aV\ - \x20Specifies\x20a\x20piece\x20of\x20a\x20row's\x20contents\x20returned\ - \x20as\x20part\x20of\x20the\x20read\n\x20response\x20stream.\n\n\x0c\n\ - \x05\x04\x01\x03\0\x01\x12\x03z\n\x13\n\xf8\x01\n\x06\x04\x01\x03\0\x02\ - \0\x12\x03\x7f\x04\x16\x1a\xe8\x01\x20The\x20row\x20key\x20for\x20this\ - \x20chunk\x20of\x20data.\x20\x20If\x20the\x20row\x20key\x20is\x20empty,\ - \n\x20this\x20CellChunk\x20is\x20a\x20continuation\x20of\x20the\x20same\ - \x20row\x20as\x20the\x20previous\n\x20CellChunk\x20in\x20the\x20response\ - \x20stream,\x20even\x20if\x20that\x20CellChunk\x20was\x20in\x20a\n\x20pr\ - evious\x20ReadRowsResponse\x20message.\n\n\x0f\n\x07\x04\x01\x03\0\x02\0\ - \x04\x12\x04\x7f\x04z\x15\n\x0e\n\x07\x04\x01\x03\0\x02\0\x05\x12\x03\ - \x7f\x04\t\n\x0e\n\x07\x04\x01\x03\0\x02\0\x01\x12\x03\x7f\n\x11\n\x0e\n\ - \x07\x04\x01\x03\0\x02\0\x03\x12\x03\x7f\x14\x15\n\xf3\x02\n\x06\x04\x01\ - \x03\0\x02\x01\x12\x04\x87\x01\x040\x1a\xe2\x02\x20The\x20column\x20fami\ - ly\x20name\x20for\x20this\x20chunk\x20of\x20data.\x20\x20If\x20this\x20m\ - essage\n\x20is\x20not\x20present\x20this\x20CellChunk\x20is\x20a\x20cont\ - inuation\x20of\x20the\x20same\x20column\n\x20family\x20as\x20the\x20prev\ - ious\x20CellChunk.\x20\x20The\x20empty\x20string\x20can\x20occur\x20as\ - \x20a\n\x20column\x20family\x20name\x20in\x20a\x20response\x20so\x20clie\ - nts\x20must\x20check\n\x20explicitly\x20for\x20the\x20presence\x20of\x20\ - this\x20message,\x20not\x20just\x20for\n\x20`family_name.value`\x20being\ - \x20non-empty.\n\n\x10\n\x07\x04\x01\x03\0\x02\x01\x04\x12\x05\x87\x01\ - \x04\x7f\x16\n\x0f\n\x07\x04\x01\x03\0\x02\x01\x06\x12\x04\x87\x01\x04\ - \x1f\n\x0f\n\x07\x04\x01\x03\0\x02\x01\x01\x12\x04\x87\x01\x20+\n\x0f\n\ - \x07\x04\x01\x03\0\x02\x01\x03\x12\x04\x87\x01./\n\xbb\x02\n\x06\x04\x01\ - \x03\0\x02\x02\x12\x04\x8e\x01\x04-\x1a\xaa\x02\x20The\x20column\x20qual\ - ifier\x20for\x20this\x20chunk\x20of\x20data.\x20\x20If\x20this\x20messag\ - e\n\x20is\x20not\x20present,\x20this\x20CellChunk\x20is\x20a\x20continua\ - tion\x20of\x20the\x20same\x20column\n\x20as\x20the\x20previous\x20CellCh\ - unk.\x20\x20Column\x20qualifiers\x20may\x20be\x20empty\x20so\n\x20client\ - s\x20must\x20check\x20for\x20the\x20presence\x20of\x20this\x20message,\ - \x20not\x20just\n\x20for\x20`qualifier.value`\x20being\x20non-empty.\n\n\ - \x11\n\x07\x04\x01\x03\0\x02\x02\x04\x12\x06\x8e\x01\x04\x87\x010\n\x0f\ - \n\x07\x04\x01\x03\0\x02\x02\x06\x12\x04\x8e\x01\x04\x1e\n\x0f\n\x07\x04\ - \x01\x03\0\x02\x02\x01\x12\x04\x8e\x01\x1f(\n\x0f\n\x07\x04\x01\x03\0\ - \x02\x02\x03\x12\x04\x8e\x01+,\n\xdd\x03\n\x06\x04\x01\x03\0\x02\x03\x12\ - \x04\x98\x01\x04\x1f\x1a\xcc\x03\x20The\x20cell's\x20stored\x20timestamp\ - ,\x20which\x20also\x20uniquely\x20identifies\x20it\n\x20within\x20its\ - \x20column.\x20\x20Values\x20are\x20always\x20expressed\x20in\n\x20micro\ - seconds,\x20but\x20individual\x20tables\x20may\x20set\x20a\x20coarser\n\ - \x20granularity\x20to\x20further\x20restrict\x20the\x20allowed\x20values\ - .\x20For\n\x20example,\x20a\x20table\x20which\x20specifies\x20millisecon\ - d\x20granularity\x20will\n\x20only\x20allow\x20values\x20of\x20`timestam\ - p_micros`\x20which\x20are\x20multiples\x20of\n\x201000.\x20\x20Timestamp\ - s\x20are\x20only\x20set\x20in\x20the\x20first\x20CellChunk\x20per\x20cel\ - l\n\x20(for\x20cells\x20split\x20into\x20multiple\x20chunks).\n\n\x11\n\ - \x07\x04\x01\x03\0\x02\x03\x04\x12\x06\x98\x01\x04\x8e\x01-\n\x0f\n\x07\ - \x04\x01\x03\0\x02\x03\x05\x12\x04\x98\x01\x04\t\n\x0f\n\x07\x04\x01\x03\ - \0\x02\x03\x01\x12\x04\x98\x01\n\x1a\n\x0f\n\x07\x04\x01\x03\0\x02\x03\ - \x03\x12\x04\x98\x01\x1d\x1e\n\x95\x01\n\x06\x04\x01\x03\0\x02\x04\x12\ - \x04\x9d\x01\x04\x1f\x1a\x84\x01\x20Labels\x20applied\x20to\x20the\x20ce\ - ll\x20by\x20a\n\x20[RowFilter][google.bigtable.v2.RowFilter].\x20\x20Lab\ - els\x20are\x20only\x20set\n\x20on\x20the\x20first\x20CellChunk\x20per\ - \x20cell.\n\n\x0f\n\x07\x04\x01\x03\0\x02\x04\x04\x12\x04\x9d\x01\x04\ - \x0c\n\x0f\n\x07\x04\x01\x03\0\x02\x04\x05\x12\x04\x9d\x01\r\x13\n\x0f\n\ - \x07\x04\x01\x03\0\x02\x04\x01\x12\x04\x9d\x01\x14\x1a\n\x0f\n\x07\x04\ - \x01\x03\0\x02\x04\x03\x12\x04\x9d\x01\x1d\x1e\n\xbf\x02\n\x06\x04\x01\ - \x03\0\x02\x05\x12\x04\xa4\x01\x04\x14\x1a\xae\x02\x20The\x20value\x20st\ - ored\x20in\x20the\x20cell.\x20\x20Cell\x20values\x20can\x20be\x20split\ - \x20across\n\x20multiple\x20CellChunks.\x20\x20In\x20that\x20case\x20onl\ - y\x20the\x20value\x20field\x20will\x20be\n\x20set\x20in\x20CellChunks\ - \x20after\x20the\x20first:\x20the\x20timestamp\x20and\x20labels\n\x20wil\ - l\x20only\x20be\x20present\x20in\x20the\x20first\x20CellChunk,\x20even\ - \x20if\x20the\x20first\n\x20CellChunk\x20came\x20in\x20a\x20previous\x20\ - ReadRowsResponse.\n\n\x11\n\x07\x04\x01\x03\0\x02\x05\x04\x12\x06\xa4\ - \x01\x04\x9d\x01\x1f\n\x0f\n\x07\x04\x01\x03\0\x02\x05\x05\x12\x04\xa4\ - \x01\x04\t\n\x0f\n\x07\x04\x01\x03\0\x02\x05\x01\x12\x04\xa4\x01\n\x0f\n\ - \x0f\n\x07\x04\x01\x03\0\x02\x05\x03\x12\x04\xa4\x01\x12\x13\n\x85\x02\n\ - \x06\x04\x01\x03\0\x02\x06\x12\x04\xaa\x01\x04\x19\x1a\xf4\x01\x20If\x20\ - this\x20CellChunk\x20is\x20part\x20of\x20a\x20chunked\x20cell\x20value\ - \x20and\x20this\x20is\n\x20not\x20the\x20final\x20chunk\x20of\x20that\ - \x20cell,\x20value_size\x20will\x20be\x20set\x20to\x20the\n\x20total\x20\ - length\x20of\x20the\x20cell\x20value.\x20\x20The\x20client\x20can\x20use\ - \x20this\x20size\n\x20to\x20pre-allocate\x20memory\x20to\x20hold\x20the\ - \x20full\x20cell\x20value.\n\n\x11\n\x07\x04\x01\x03\0\x02\x06\x04\x12\ - \x06\xaa\x01\x04\xa4\x01\x14\n\x0f\n\x07\x04\x01\x03\0\x02\x06\x05\x12\ - \x04\xaa\x01\x04\t\n\x0f\n\x07\x04\x01\x03\0\x02\x06\x01\x12\x04\xaa\x01\ - \n\x14\n\x0f\n\x07\x04\x01\x03\0\x02\x06\x03\x12\x04\xaa\x01\x17\x18\n\ - \x10\n\x06\x04\x01\x03\0\x08\0\x12\x06\xac\x01\x04\xb4\x01\x05\n\x0f\n\ - \x07\x04\x01\x03\0\x08\0\x01\x12\x04\xac\x01\n\x14\n\x85\x01\n\x06\x04\ - \x01\x03\0\x02\x07\x12\x04\xaf\x01\x06\x19\x1au\x20Indicates\x20that\x20\ - the\x20client\x20should\x20drop\x20all\x20previous\x20chunks\x20for\n\ - \x20`row_key`,\x20as\x20it\x20will\x20be\x20re-read\x20from\x20the\x20be\ - ginning.\n\n\x0f\n\x07\x04\x01\x03\0\x02\x07\x05\x12\x04\xaf\x01\x06\n\n\ - \x0f\n\x07\x04\x01\x03\0\x02\x07\x01\x12\x04\xaf\x01\x0b\x14\n\x0f\n\x07\ - \x04\x01\x03\0\x02\x07\x03\x12\x04\xaf\x01\x17\x18\n\x83\x01\n\x06\x04\ - \x01\x03\0\x02\x08\x12\x04\xb3\x01\x06\x1a\x1as\x20Indicates\x20that\x20\ - the\x20client\x20can\x20safely\x20process\x20all\x20previous\x20chunks\ - \x20for\n\x20`row_key`,\x20as\x20its\x20data\x20has\x20been\x20fully\x20\ - read.\n\n\x0f\n\x07\x04\x01\x03\0\x02\x08\x05\x12\x04\xb3\x01\x06\n\n\ - \x0f\n\x07\x04\x01\x03\0\x02\x08\x01\x12\x04\xb3\x01\x0b\x15\n\x0f\n\x07\ - \x04\x01\x03\0\x02\x08\x03\x12\x04\xb3\x01\x18\x19\n\x0c\n\x04\x04\x01\ - \x02\0\x12\x04\xb7\x01\x02\x20\n\r\n\x05\x04\x01\x02\0\x04\x12\x04\xb7\ - \x01\x02\n\n\r\n\x05\x04\x01\x02\0\x06\x12\x04\xb7\x01\x0b\x14\n\r\n\x05\ - \x04\x01\x02\0\x01\x12\x04\xb7\x01\x15\x1b\n\r\n\x05\x04\x01\x02\0\x03\ - \x12\x04\xb7\x01\x1e\x1f\n\xc5\x03\n\x04\x04\x01\x02\x01\x12\x04\xc0\x01\ - \x02!\x1a\xb6\x03\x20Optionally\x20the\x20server\x20might\x20return\x20t\ - he\x20row\x20key\x20of\x20the\x20last\x20row\x20it\n\x20has\x20scanned.\ - \x20\x20The\x20client\x20can\x20use\x20this\x20to\x20construct\x20a\x20m\ - ore\n\x20efficient\x20retry\x20request\x20if\x20needed:\x20any\x20row\ - \x20keys\x20or\x20portions\x20of\n\x20ranges\x20less\x20than\x20this\x20\ - row\x20key\x20can\x20be\x20dropped\x20from\x20the\x20request.\n\x20This\ - \x20is\x20primarily\x20useful\x20for\x20cases\x20where\x20the\x20server\ - \x20has\x20read\x20a\n\x20lot\x20of\x20data\x20that\x20was\x20filtered\ - \x20out\x20since\x20the\x20last\x20committed\x20row\n\x20key,\x20allowin\ - g\x20the\x20client\x20to\x20skip\x20that\x20work\x20on\x20a\x20retry.\n\ - \n\x0f\n\x05\x04\x01\x02\x01\x04\x12\x06\xc0\x01\x02\xb7\x01\x20\n\r\n\ - \x05\x04\x01\x02\x01\x05\x12\x04\xc0\x01\x02\x07\n\r\n\x05\x04\x01\x02\ - \x01\x01\x12\x04\xc0\x01\x08\x1c\n\r\n\x05\x04\x01\x02\x01\x03\x12\x04\ - \xc0\x01\x1f\x20\n;\n\x02\x04\x02\x12\x06\xc4\x01\0\xcd\x01\x01\x1a-\x20\ - Request\x20message\x20for\x20Bigtable.SampleRowKeys.\n\n\x0b\n\x03\x04\ - \x02\x01\x12\x04\xc4\x01\x08\x1c\n\x9f\x01\n\x04\x04\x02\x02\0\x12\x04\ - \xc8\x01\x02\x18\x1a\x90\x01\x20The\x20unique\x20name\x20of\x20the\x20ta\ - ble\x20from\x20which\x20to\x20sample\x20row\x20keys.\n\x20Values\x20are\ - \x20of\x20the\x20form\n\x20`projects//instances//tabl\ - es/
`.\n\n\x0f\n\x05\x04\x02\x02\0\x04\x12\x06\xc8\x01\x02\xc4\x01\ - \x1e\n\r\n\x05\x04\x02\x02\0\x05\x12\x04\xc8\x01\x02\x08\n\r\n\x05\x04\ - \x02\x02\0\x01\x12\x04\xc8\x01\t\x13\n\r\n\x05\x04\x02\x02\0\x03\x12\x04\ - \xc8\x01\x16\x17\n\x80\x01\n\x04\x04\x02\x02\x01\x12\x04\xcc\x01\x02\x1c\ - \x1ar\x20This\x20value\x20specifies\x20routing\x20for\x20replication.\ - \x20If\x20not\x20specified,\x20the\n\x20\"default\"\x20application\x20pr\ - ofile\x20will\x20be\x20used.\n\n\x0f\n\x05\x04\x02\x02\x01\x04\x12\x06\ - \xcc\x01\x02\xc8\x01\x18\n\r\n\x05\x04\x02\x02\x01\x05\x12\x04\xcc\x01\ - \x02\x08\n\r\n\x05\x04\x02\x02\x01\x01\x12\x04\xcc\x01\t\x17\n\r\n\x05\ - \x04\x02\x02\x01\x03\x12\x04\xcc\x01\x1a\x1b\n<\n\x02\x04\x03\x12\x06\ - \xd0\x01\0\xdf\x01\x01\x1a.\x20Response\x20message\x20for\x20Bigtable.Sa\ - mpleRowKeys.\n\n\x0b\n\x03\x04\x03\x01\x12\x04\xd0\x01\x08\x1d\n\xe0\x03\ - \n\x04\x04\x03\x02\0\x12\x04\xd8\x01\x02\x14\x1a\xd1\x03\x20Sorted\x20st\ - reamed\x20sequence\x20of\x20sample\x20row\x20keys\x20in\x20the\x20table.\ - \x20The\x20table\x20might\n\x20have\x20contents\x20before\x20the\x20firs\ - t\x20row\x20key\x20in\x20the\x20list\x20and\x20after\x20the\x20last\x20o\ - ne,\n\x20but\x20a\x20key\x20containing\x20the\x20empty\x20string\x20indi\ - cates\x20\"end\x20of\x20table\"\x20and\x20will\x20be\n\x20the\x20last\ - \x20response\x20given,\x20if\x20present.\n\x20Note\x20that\x20row\x20key\ - s\x20in\x20this\x20list\x20may\x20not\x20have\x20ever\x20been\x20written\ - \x20to\x20or\x20read\n\x20from,\x20and\x20users\x20should\x20therefore\ - \x20not\x20make\x20any\x20assumptions\x20about\x20the\x20row\x20key\n\ - \x20structure\x20that\x20are\x20specific\x20to\x20their\x20use\x20case.\ - \n\n\x0f\n\x05\x04\x03\x02\0\x04\x12\x06\xd8\x01\x02\xd0\x01\x1f\n\r\n\ - \x05\x04\x03\x02\0\x05\x12\x04\xd8\x01\x02\x07\n\r\n\x05\x04\x03\x02\0\ - \x01\x12\x04\xd8\x01\x08\x0f\n\r\n\x05\x04\x03\x02\0\x03\x12\x04\xd8\x01\ - \x12\x13\n\x80\x02\n\x04\x04\x03\x02\x01\x12\x04\xde\x01\x02\x19\x1a\xf1\ - \x01\x20Approximate\x20total\x20storage\x20space\x20used\x20by\x20all\ - \x20rows\x20in\x20the\x20table\x20which\x20precede\n\x20`row_key`.\x20Bu\ - ffering\x20the\x20contents\x20of\x20all\x20rows\x20between\x20two\x20sub\ - sequent\n\x20samples\x20would\x20require\x20space\x20roughly\x20equal\ - \x20to\x20the\x20difference\x20in\x20their\n\x20`offset_bytes`\x20fields\ - .\n\n\x0f\n\x05\x04\x03\x02\x01\x04\x12\x06\xde\x01\x02\xd8\x01\x14\n\r\ - \n\x05\x04\x03\x02\x01\x05\x12\x04\xde\x01\x02\x07\n\r\n\x05\x04\x03\x02\ - \x01\x01\x12\x04\xde\x01\x08\x14\n\r\n\x05\x04\x03\x02\x01\x03\x12\x04\ - \xde\x01\x17\x18\n7\n\x02\x04\x04\x12\x06\xe2\x01\0\xf3\x01\x01\x1a)\x20\ - Request\x20message\x20for\x20Bigtable.MutateRow.\n\n\x0b\n\x03\x04\x04\ - \x01\x12\x04\xe2\x01\x08\x18\n\xa9\x01\n\x04\x04\x04\x02\0\x12\x04\xe6\ - \x01\x02\x18\x1a\x9a\x01\x20The\x20unique\x20name\x20of\x20the\x20table\ - \x20to\x20which\x20the\x20mutation\x20should\x20be\x20applied.\n\x20Valu\ - es\x20are\x20of\x20the\x20form\n\x20`projects//instances//tables/
`.\n\n\x0f\n\x05\x04\x04\x02\0\x04\x12\x06\xe6\x01\ - \x02\xe2\x01\x1a\n\r\n\x05\x04\x04\x02\0\x05\x12\x04\xe6\x01\x02\x08\n\r\ - \n\x05\x04\x04\x02\0\x01\x12\x04\xe6\x01\t\x13\n\r\n\x05\x04\x04\x02\0\ - \x03\x12\x04\xe6\x01\x16\x17\n\x80\x01\n\x04\x04\x04\x02\x01\x12\x04\xea\ - \x01\x02\x1c\x1ar\x20This\x20value\x20specifies\x20routing\x20for\x20rep\ - lication.\x20If\x20not\x20specified,\x20the\n\x20\"default\"\x20applicat\ - ion\x20profile\x20will\x20be\x20used.\n\n\x0f\n\x05\x04\x04\x02\x01\x04\ - \x12\x06\xea\x01\x02\xe6\x01\x18\n\r\n\x05\x04\x04\x02\x01\x05\x12\x04\ - \xea\x01\x02\x08\n\r\n\x05\x04\x04\x02\x01\x01\x12\x04\xea\x01\t\x17\n\r\ - \n\x05\x04\x04\x02\x01\x03\x12\x04\xea\x01\x1a\x1b\nK\n\x04\x04\x04\x02\ - \x02\x12\x04\xed\x01\x02\x14\x1a=\x20The\x20key\x20of\x20the\x20row\x20t\ - o\x20which\x20the\x20mutation\x20should\x20be\x20applied.\n\n\x0f\n\x05\ - \x04\x04\x02\x02\x04\x12\x06\xed\x01\x02\xea\x01\x1c\n\r\n\x05\x04\x04\ - \x02\x02\x05\x12\x04\xed\x01\x02\x07\n\r\n\x05\x04\x04\x02\x02\x01\x12\ - \x04\xed\x01\x08\x0f\n\r\n\x05\x04\x04\x02\x02\x03\x12\x04\xed\x01\x12\ - \x13\n\xd7\x01\n\x04\x04\x04\x02\x03\x12\x04\xf2\x01\x02\"\x1a\xc8\x01\ - \x20Changes\x20to\x20be\x20atomically\x20applied\x20to\x20the\x20specifi\ - ed\x20row.\x20Entries\x20are\x20applied\n\x20in\x20order,\x20meaning\x20\ - that\x20earlier\x20mutations\x20can\x20be\x20masked\x20by\x20later\x20on\ - es.\n\x20Must\x20contain\x20at\x20least\x20one\x20entry\x20and\x20at\x20\ - most\x20100000.\n\n\r\n\x05\x04\x04\x02\x03\x04\x12\x04\xf2\x01\x02\n\n\ - \r\n\x05\x04\x04\x02\x03\x06\x12\x04\xf2\x01\x0b\x13\n\r\n\x05\x04\x04\ - \x02\x03\x01\x12\x04\xf2\x01\x14\x1d\n\r\n\x05\x04\x04\x02\x03\x03\x12\ - \x04\xf2\x01\x20!\n8\n\x02\x04\x05\x12\x06\xf6\x01\0\xf8\x01\x01\x1a*\ - \x20Response\x20message\x20for\x20Bigtable.MutateRow.\n\n\x0b\n\x03\x04\ - \x05\x01\x12\x04\xf6\x01\x08\x19\n?\n\x02\x04\x06\x12\x06\xfb\x01\0\x94\ - \x02\x01\x1a1\x20Request\x20message\x20for\x20BigtableService.MutateRows\ - .\n\n\x0b\n\x03\x04\x06\x01\x12\x04\xfb\x01\x08\x19\n\x0e\n\x04\x04\x06\ - \x03\0\x12\x06\xfc\x01\x02\x85\x02\x03\n\r\n\x05\x04\x06\x03\0\x01\x12\ - \x04\xfc\x01\n\x0f\nP\n\x06\x04\x06\x03\0\x02\0\x12\x04\xfe\x01\x04\x16\ - \x1a@\x20The\x20key\x20of\x20the\x20row\x20to\x20which\x20the\x20`mutati\ - ons`\x20should\x20be\x20applied.\n\n\x11\n\x07\x04\x06\x03\0\x02\0\x04\ - \x12\x06\xfe\x01\x04\xfc\x01\x11\n\x0f\n\x07\x04\x06\x03\0\x02\0\x05\x12\ - \x04\xfe\x01\x04\t\n\x0f\n\x07\x04\x06\x03\0\x02\0\x01\x12\x04\xfe\x01\n\ - \x11\n\x0f\n\x07\x04\x06\x03\0\x02\0\x03\x12\x04\xfe\x01\x14\x15\n\xd0\ - \x01\n\x06\x04\x06\x03\0\x02\x01\x12\x04\x84\x02\x04$\x1a\xbf\x01\x20Cha\ - nges\x20to\x20be\x20atomically\x20applied\x20to\x20the\x20specified\x20r\ - ow.\x20Mutations\x20are\n\x20applied\x20in\x20order,\x20meaning\x20that\ - \x20earlier\x20mutations\x20can\x20be\x20masked\x20by\n\x20later\x20ones\ - .\n\x20You\x20must\x20specify\x20at\x20least\x20one\x20mutation.\n\n\x0f\ - \n\x07\x04\x06\x03\0\x02\x01\x04\x12\x04\x84\x02\x04\x0c\n\x0f\n\x07\x04\ - \x06\x03\0\x02\x01\x06\x12\x04\x84\x02\r\x15\n\x0f\n\x07\x04\x06\x03\0\ - \x02\x01\x01\x12\x04\x84\x02\x16\x1f\n\x0f\n\x07\x04\x06\x03\0\x02\x01\ - \x03\x12\x04\x84\x02\"#\nV\n\x04\x04\x06\x02\0\x12\x04\x88\x02\x02\x18\ - \x1aH\x20The\x20unique\x20name\x20of\x20the\x20table\x20to\x20which\x20t\ - he\x20mutations\x20should\x20be\x20applied.\n\n\x0f\n\x05\x04\x06\x02\0\ - \x04\x12\x06\x88\x02\x02\x85\x02\x03\n\r\n\x05\x04\x06\x02\0\x05\x12\x04\ - \x88\x02\x02\x08\n\r\n\x05\x04\x06\x02\0\x01\x12\x04\x88\x02\t\x13\n\r\n\ - \x05\x04\x06\x02\0\x03\x12\x04\x88\x02\x16\x17\n\x80\x01\n\x04\x04\x06\ - \x02\x01\x12\x04\x8c\x02\x02\x1c\x1ar\x20This\x20value\x20specifies\x20r\ - outing\x20for\x20replication.\x20If\x20not\x20specified,\x20the\n\x20\"d\ - efault\"\x20application\x20profile\x20will\x20be\x20used.\n\n\x0f\n\x05\ - \x04\x06\x02\x01\x04\x12\x06\x8c\x02\x02\x88\x02\x18\n\r\n\x05\x04\x06\ - \x02\x01\x05\x12\x04\x8c\x02\x02\x08\n\r\n\x05\x04\x06\x02\x01\x01\x12\ - \x04\x8c\x02\t\x17\n\r\n\x05\x04\x06\x02\x01\x03\x12\x04\x8c\x02\x1a\x1b\ - \n\xc1\x02\n\x04\x04\x06\x02\x02\x12\x04\x93\x02\x02\x1d\x1a\xb2\x02\x20\ - The\x20row\x20keys\x20and\x20corresponding\x20mutations\x20to\x20be\x20a\ - pplied\x20in\x20bulk.\n\x20Each\x20entry\x20is\x20applied\x20as\x20an\ - \x20atomic\x20mutation,\x20but\x20the\x20entries\x20may\x20be\n\x20appli\ - ed\x20in\x20arbitrary\x20order\x20(even\x20between\x20entries\x20for\x20\ - the\x20same\x20row).\n\x20At\x20least\x20one\x20entry\x20must\x20be\x20s\ - pecified,\x20and\x20in\x20total\x20the\x20entries\x20can\n\x20contain\ - \x20at\x20most\x20100000\x20mutations.\n\n\r\n\x05\x04\x06\x02\x02\x04\ - \x12\x04\x93\x02\x02\n\n\r\n\x05\x04\x06\x02\x02\x06\x12\x04\x93\x02\x0b\ - \x10\n\r\n\x05\x04\x06\x02\x02\x01\x12\x04\x93\x02\x11\x18\n\r\n\x05\x04\ - \x06\x02\x02\x03\x12\x04\x93\x02\x1b\x1c\n@\n\x02\x04\x07\x12\x06\x97\ - \x02\0\xa6\x02\x01\x1a2\x20Response\x20message\x20for\x20BigtableService\ - .MutateRows.\n\n\x0b\n\x03\x04\x07\x01\x12\x04\x97\x02\x08\x1a\n\x0e\n\ - \x04\x04\x07\x03\0\x12\x06\x98\x02\x02\xa2\x02\x03\n\r\n\x05\x04\x07\x03\ - \0\x01\x12\x04\x98\x02\n\x0f\nz\n\x06\x04\x07\x03\0\x02\0\x12\x04\x9b\ - \x02\x04\x14\x1aj\x20The\x20index\x20into\x20the\x20original\x20request'\ - s\x20`entries`\x20list\x20of\x20the\x20Entry\n\x20for\x20which\x20a\x20r\ - esult\x20is\x20being\x20reported.\n\n\x11\n\x07\x04\x07\x03\0\x02\0\x04\ - \x12\x06\x9b\x02\x04\x98\x02\x11\n\x0f\n\x07\x04\x07\x03\0\x02\0\x05\x12\ - \x04\x9b\x02\x04\t\n\x0f\n\x07\x04\x07\x03\0\x02\0\x01\x12\x04\x9b\x02\n\ - \x0f\n\x0f\n\x07\x04\x07\x03\0\x02\0\x03\x12\x04\x9b\x02\x12\x13\n\x9e\ - \x02\n\x06\x04\x07\x03\0\x02\x01\x12\x04\xa1\x02\x04!\x1a\x8d\x02\x20The\ - \x20result\x20of\x20the\x20request\x20Entry\x20identified\x20by\x20`inde\ - x`.\n\x20Depending\x20on\x20how\x20requests\x20are\x20batched\x20during\ - \x20execution,\x20it\x20is\x20possible\n\x20for\x20one\x20Entry\x20to\ - \x20fail\x20due\x20to\x20an\x20error\x20with\x20another\x20Entry.\x20In\ - \x20the\x20event\n\x20that\x20this\x20occurs,\x20the\x20same\x20error\ - \x20will\x20be\x20reported\x20for\x20both\x20entries.\n\n\x11\n\x07\x04\ - \x07\x03\0\x02\x01\x04\x12\x06\xa1\x02\x04\x9b\x02\x14\n\x0f\n\x07\x04\ - \x07\x03\0\x02\x01\x06\x12\x04\xa1\x02\x04\x15\n\x0f\n\x07\x04\x07\x03\0\ - \x02\x01\x01\x12\x04\xa1\x02\x16\x1c\n\x0f\n\x07\x04\x07\x03\0\x02\x01\ - \x03\x12\x04\xa1\x02\x1f\x20\nG\n\x04\x04\x07\x02\0\x12\x04\xa5\x02\x02\ - \x1d\x1a9\x20One\x20or\x20more\x20results\x20for\x20Entries\x20from\x20t\ - he\x20batch\x20request.\n\n\r\n\x05\x04\x07\x02\0\x04\x12\x04\xa5\x02\ - \x02\n\n\r\n\x05\x04\x07\x02\0\x06\x12\x04\xa5\x02\x0b\x10\n\r\n\x05\x04\ - \x07\x02\0\x01\x12\x04\xa5\x02\x11\x18\n\r\n\x05\x04\x07\x02\0\x03\x12\ - \x04\xa5\x02\x1b\x1c\n?\n\x02\x04\x08\x12\x06\xa9\x02\0\xca\x02\x01\x1a1\ - \x20Request\x20message\x20for\x20Bigtable.CheckAndMutateRow.\n\n\x0b\n\ - \x03\x04\x08\x01\x12\x04\xa9\x02\x08\x20\n\xb6\x01\n\x04\x04\x08\x02\0\ - \x12\x04\xae\x02\x02\x18\x1a\xa7\x01\x20The\x20unique\x20name\x20of\x20t\ - he\x20table\x20to\x20which\x20the\x20conditional\x20mutation\x20should\ - \x20be\n\x20applied.\n\x20Values\x20are\x20of\x20the\x20form\n\x20`proje\ - cts//instances//tables/
`.\n\n\x0f\n\x05\x04\ - \x08\x02\0\x04\x12\x06\xae\x02\x02\xa9\x02\"\n\r\n\x05\x04\x08\x02\0\x05\ - \x12\x04\xae\x02\x02\x08\n\r\n\x05\x04\x08\x02\0\x01\x12\x04\xae\x02\t\ - \x13\n\r\n\x05\x04\x08\x02\0\x03\x12\x04\xae\x02\x16\x17\n\x80\x01\n\x04\ - \x04\x08\x02\x01\x12\x04\xb2\x02\x02\x1c\x1ar\x20This\x20value\x20specif\ - ies\x20routing\x20for\x20replication.\x20If\x20not\x20specified,\x20the\ - \n\x20\"default\"\x20application\x20profile\x20will\x20be\x20used.\n\n\ - \x0f\n\x05\x04\x08\x02\x01\x04\x12\x06\xb2\x02\x02\xae\x02\x18\n\r\n\x05\ - \x04\x08\x02\x01\x05\x12\x04\xb2\x02\x02\x08\n\r\n\x05\x04\x08\x02\x01\ - \x01\x12\x04\xb2\x02\t\x17\n\r\n\x05\x04\x08\x02\x01\x03\x12\x04\xb2\x02\ - \x1a\x1b\nW\n\x04\x04\x08\x02\x02\x12\x04\xb5\x02\x02\x14\x1aI\x20The\ - \x20key\x20of\x20the\x20row\x20to\x20which\x20the\x20conditional\x20muta\ - tion\x20should\x20be\x20applied.\n\n\x0f\n\x05\x04\x08\x02\x02\x04\x12\ - \x06\xb5\x02\x02\xb2\x02\x1c\n\r\n\x05\x04\x08\x02\x02\x05\x12\x04\xb5\ - \x02\x02\x07\n\r\n\x05\x04\x08\x02\x02\x01\x12\x04\xb5\x02\x08\x0f\n\r\n\ - \x05\x04\x08\x02\x02\x03\x12\x04\xb5\x02\x12\x13\n\x80\x02\n\x04\x04\x08\ - \x02\x03\x12\x04\xbb\x02\x02!\x1a\xf1\x01\x20The\x20filter\x20to\x20be\ - \x20applied\x20to\x20the\x20contents\x20of\x20the\x20specified\x20row.\ - \x20Depending\n\x20on\x20whether\x20or\x20not\x20any\x20results\x20are\ - \x20yielded,\x20either\x20`true_mutations`\x20or\n\x20`false_mutations`\ - \x20will\x20be\x20executed.\x20If\x20unset,\x20checks\x20that\x20the\x20\ - row\x20contains\n\x20any\x20values\x20at\x20all.\n\n\x0f\n\x05\x04\x08\ - \x02\x03\x04\x12\x06\xbb\x02\x02\xb5\x02\x14\n\r\n\x05\x04\x08\x02\x03\ - \x06\x12\x04\xbb\x02\x02\x0b\n\r\n\x05\x04\x08\x02\x03\x01\x12\x04\xbb\ - \x02\x0c\x1c\n\r\n\x05\x04\x08\x02\x03\x03\x12\x04\xbb\x02\x1f\x20\n\xc1\ - \x02\n\x04\x04\x08\x02\x04\x12\x04\xc2\x02\x02'\x1a\xb2\x02\x20Changes\ - \x20to\x20be\x20atomically\x20applied\x20to\x20the\x20specified\x20row\ - \x20if\x20`predicate_filter`\n\x20yields\x20at\x20least\x20one\x20cell\ - \x20when\x20applied\x20to\x20`row_key`.\x20Entries\x20are\x20applied\x20\ - in\n\x20order,\x20meaning\x20that\x20earlier\x20mutations\x20can\x20be\ - \x20masked\x20by\x20later\x20ones.\n\x20Must\x20contain\x20at\x20least\ - \x20one\x20entry\x20if\x20`false_mutations`\x20is\x20empty,\x20and\x20at\ - \x20most\n\x20100000.\n\n\r\n\x05\x04\x08\x02\x04\x04\x12\x04\xc2\x02\ - \x02\n\n\r\n\x05\x04\x08\x02\x04\x06\x12\x04\xc2\x02\x0b\x13\n\r\n\x05\ - \x04\x08\x02\x04\x01\x12\x04\xc2\x02\x14\"\n\r\n\x05\x04\x08\x02\x04\x03\ - \x12\x04\xc2\x02%&\n\xc0\x02\n\x04\x04\x08\x02\x05\x12\x04\xc9\x02\x02(\ - \x1a\xb1\x02\x20Changes\x20to\x20be\x20atomically\x20applied\x20to\x20th\ - e\x20specified\x20row\x20if\x20`predicate_filter`\n\x20does\x20not\x20yi\ - eld\x20any\x20cells\x20when\x20applied\x20to\x20`row_key`.\x20Entries\ - \x20are\x20applied\x20in\n\x20order,\x20meaning\x20that\x20earlier\x20mu\ - tations\x20can\x20be\x20masked\x20by\x20later\x20ones.\n\x20Must\x20cont\ - ain\x20at\x20least\x20one\x20entry\x20if\x20`true_mutations`\x20is\x20em\ - pty,\x20and\x20at\x20most\n\x20100000.\n\n\r\n\x05\x04\x08\x02\x05\x04\ - \x12\x04\xc9\x02\x02\n\n\r\n\x05\x04\x08\x02\x05\x06\x12\x04\xc9\x02\x0b\ - \x13\n\r\n\x05\x04\x08\x02\x05\x01\x12\x04\xc9\x02\x14#\n\r\n\x05\x04\ - \x08\x02\x05\x03\x12\x04\xc9\x02&'\n@\n\x02\x04\t\x12\x06\xcd\x02\0\xd1\ - \x02\x01\x1a2\x20Response\x20message\x20for\x20Bigtable.CheckAndMutateRo\ - w.\n\n\x0b\n\x03\x04\t\x01\x12\x04\xcd\x02\x08!\nk\n\x04\x04\t\x02\0\x12\ - \x04\xd0\x02\x02\x1d\x1a]\x20Whether\x20or\x20not\x20the\x20request's\ - \x20`predicate_filter`\x20yielded\x20any\x20results\x20for\n\x20the\x20s\ - pecified\x20row.\n\n\x0f\n\x05\x04\t\x02\0\x04\x12\x06\xd0\x02\x02\xcd\ - \x02#\n\r\n\x05\x04\t\x02\0\x05\x12\x04\xd0\x02\x02\x06\n\r\n\x05\x04\t\ - \x02\0\x01\x12\x04\xd0\x02\x07\x18\n\r\n\x05\x04\t\x02\0\x03\x12\x04\xd0\ - \x02\x1b\x1c\n@\n\x02\x04\n\x12\x06\xd4\x02\0\xe6\x02\x01\x1a2\x20Reques\ - t\x20message\x20for\x20Bigtable.ReadModifyWriteRow.\n\n\x0b\n\x03\x04\n\ - \x01\x12\x04\xd4\x02\x08!\n\xb9\x01\n\x04\x04\n\x02\0\x12\x04\xd9\x02\ - \x02\x18\x1a\xaa\x01\x20The\x20unique\x20name\x20of\x20the\x20table\x20t\ - o\x20which\x20the\x20read/modify/write\x20rules\x20should\x20be\n\x20app\ - lied.\n\x20Values\x20are\x20of\x20the\x20form\n\x20`projects//i\ - nstances//tables/
`.\n\n\x0f\n\x05\x04\n\x02\0\x04\x12\ - \x06\xd9\x02\x02\xd4\x02#\n\r\n\x05\x04\n\x02\0\x05\x12\x04\xd9\x02\x02\ - \x08\n\r\n\x05\x04\n\x02\0\x01\x12\x04\xd9\x02\t\x13\n\r\n\x05\x04\n\x02\ - \0\x03\x12\x04\xd9\x02\x16\x17\n\x80\x01\n\x04\x04\n\x02\x01\x12\x04\xdd\ - \x02\x02\x1c\x1ar\x20This\x20value\x20specifies\x20routing\x20for\x20rep\ - lication.\x20If\x20not\x20specified,\x20the\n\x20\"default\"\x20applicat\ - ion\x20profile\x20will\x20be\x20used.\n\n\x0f\n\x05\x04\n\x02\x01\x04\ - \x12\x06\xdd\x02\x02\xd9\x02\x18\n\r\n\x05\x04\n\x02\x01\x05\x12\x04\xdd\ - \x02\x02\x08\n\r\n\x05\x04\n\x02\x01\x01\x12\x04\xdd\x02\t\x17\n\r\n\x05\ - \x04\n\x02\x01\x03\x12\x04\xdd\x02\x1a\x1b\nZ\n\x04\x04\n\x02\x02\x12\ - \x04\xe0\x02\x02\x14\x1aL\x20The\x20key\x20of\x20the\x20row\x20to\x20whi\ - ch\x20the\x20read/modify/write\x20rules\x20should\x20be\x20applied.\n\n\ - \x0f\n\x05\x04\n\x02\x02\x04\x12\x06\xe0\x02\x02\xdd\x02\x1c\n\r\n\x05\ - \x04\n\x02\x02\x05\x12\x04\xe0\x02\x02\x07\n\r\n\x05\x04\n\x02\x02\x01\ - \x12\x04\xe0\x02\x08\x0f\n\r\n\x05\x04\n\x02\x02\x03\x12\x04\xe0\x02\x12\ - \x13\n\xc7\x01\n\x04\x04\n\x02\x03\x12\x04\xe5\x02\x02)\x1a\xb8\x01\x20R\ - ules\x20specifying\x20how\x20the\x20specified\x20row's\x20contents\x20ar\ - e\x20to\x20be\x20transformed\n\x20into\x20writes.\x20Entries\x20are\x20a\ - pplied\x20in\x20order,\x20meaning\x20that\x20earlier\x20rules\x20will\n\ - \x20affect\x20the\x20results\x20of\x20later\x20ones.\n\n\r\n\x05\x04\n\ - \x02\x03\x04\x12\x04\xe5\x02\x02\n\n\r\n\x05\x04\n\x02\x03\x06\x12\x04\ - \xe5\x02\x0b\x1e\n\r\n\x05\x04\n\x02\x03\x01\x12\x04\xe5\x02\x1f$\n\r\n\ - \x05\x04\n\x02\x03\x03\x12\x04\xe5\x02'(\nA\n\x02\x04\x0b\x12\x06\xe9\ - \x02\0\xec\x02\x01\x1a3\x20Response\x20message\x20for\x20Bigtable.ReadMo\ - difyWriteRow.\n\n\x0b\n\x03\x04\x0b\x01\x12\x04\xe9\x02\x08\"\nW\n\x04\ - \x04\x0b\x02\0\x12\x04\xeb\x02\x02\x0e\x1aI\x20A\x20Row\x20containing\ - \x20the\x20new\x20contents\x20of\x20all\x20cells\x20modified\x20by\x20th\ - e\x20request.\n\n\x0f\n\x05\x04\x0b\x02\0\x04\x12\x06\xeb\x02\x02\xe9\ - \x02$\n\r\n\x05\x04\x0b\x02\0\x06\x12\x04\xeb\x02\x02\x05\n\r\n\x05\x04\ - \x0b\x02\0\x01\x12\x04\xeb\x02\x06\t\n\r\n\x05\x04\x0b\x02\0\x03\x12\x04\ - \xeb\x02\x0c\rb\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/bigtable_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/bigtable_grpc.rs deleted file mode 100644 index 0d3d9280bf..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/bigtable_grpc.rs +++ /dev/null @@ -1,187 +0,0 @@ -// This file is generated. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] - -const METHOD_BIGTABLE_READ_ROWS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::ServerStreaming, - name: "/google.bigtable.v2.Bigtable/ReadRows", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_SAMPLE_ROW_KEYS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::ServerStreaming, - name: "/google.bigtable.v2.Bigtable/SampleRowKeys", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_MUTATE_ROW: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.v2.Bigtable/MutateRow", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_MUTATE_ROWS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::ServerStreaming, - name: "/google.bigtable.v2.Bigtable/MutateRows", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_CHECK_AND_MUTATE_ROW: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.v2.Bigtable/CheckAndMutateRow", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_BIGTABLE_READ_MODIFY_WRITE_ROW: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.bigtable.v2.Bigtable/ReadModifyWriteRow", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -#[derive(Clone)] -pub struct BigtableClient { - client: ::grpcio::Client, -} - -impl BigtableClient { - pub fn new(channel: ::grpcio::Channel) -> Self { - BigtableClient { - client: ::grpcio::Client::new(channel), - } - } - - pub fn read_rows_opt(&self, req: &super::bigtable::ReadRowsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientSStreamReceiver> { - self.client.server_streaming(&METHOD_BIGTABLE_READ_ROWS, req, opt) - } - - pub fn read_rows(&self, req: &super::bigtable::ReadRowsRequest) -> ::grpcio::Result<::grpcio::ClientSStreamReceiver> { - self.read_rows_opt(req, ::grpcio::CallOption::default()) - } - - pub fn sample_row_keys_opt(&self, req: &super::bigtable::SampleRowKeysRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientSStreamReceiver> { - self.client.server_streaming(&METHOD_BIGTABLE_SAMPLE_ROW_KEYS, req, opt) - } - - pub fn sample_row_keys(&self, req: &super::bigtable::SampleRowKeysRequest) -> ::grpcio::Result<::grpcio::ClientSStreamReceiver> { - self.sample_row_keys_opt(req, ::grpcio::CallOption::default()) - } - - pub fn mutate_row_opt(&self, req: &super::bigtable::MutateRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_MUTATE_ROW, req, opt) - } - - pub fn mutate_row(&self, req: &super::bigtable::MutateRowRequest) -> ::grpcio::Result { - self.mutate_row_opt(req, ::grpcio::CallOption::default()) - } - - pub fn mutate_row_async_opt(&self, req: &super::bigtable::MutateRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_MUTATE_ROW, req, opt) - } - - pub fn mutate_row_async(&self, req: &super::bigtable::MutateRowRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.mutate_row_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn mutate_rows_opt(&self, req: &super::bigtable::MutateRowsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientSStreamReceiver> { - self.client.server_streaming(&METHOD_BIGTABLE_MUTATE_ROWS, req, opt) - } - - pub fn mutate_rows(&self, req: &super::bigtable::MutateRowsRequest) -> ::grpcio::Result<::grpcio::ClientSStreamReceiver> { - self.mutate_rows_opt(req, ::grpcio::CallOption::default()) - } - - pub fn check_and_mutate_row_opt(&self, req: &super::bigtable::CheckAndMutateRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_CHECK_AND_MUTATE_ROW, req, opt) - } - - pub fn check_and_mutate_row(&self, req: &super::bigtable::CheckAndMutateRowRequest) -> ::grpcio::Result { - self.check_and_mutate_row_opt(req, ::grpcio::CallOption::default()) - } - - pub fn check_and_mutate_row_async_opt(&self, req: &super::bigtable::CheckAndMutateRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_CHECK_AND_MUTATE_ROW, req, opt) - } - - pub fn check_and_mutate_row_async(&self, req: &super::bigtable::CheckAndMutateRowRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.check_and_mutate_row_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn read_modify_write_row_opt(&self, req: &super::bigtable::ReadModifyWriteRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_BIGTABLE_READ_MODIFY_WRITE_ROW, req, opt) - } - - pub fn read_modify_write_row(&self, req: &super::bigtable::ReadModifyWriteRowRequest) -> ::grpcio::Result { - self.read_modify_write_row_opt(req, ::grpcio::CallOption::default()) - } - - pub fn read_modify_write_row_async_opt(&self, req: &super::bigtable::ReadModifyWriteRowRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_BIGTABLE_READ_MODIFY_WRITE_ROW, req, opt) - } - - pub fn read_modify_write_row_async(&self, req: &super::bigtable::ReadModifyWriteRowRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.read_modify_write_row_async_opt(req, ::grpcio::CallOption::default()) - } - pub fn spawn(&self, f: F) where F: ::futures::Future + Send + 'static { - self.client.spawn(f) - } -} - -pub trait Bigtable { - fn read_rows(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable::ReadRowsRequest, sink: ::grpcio::ServerStreamingSink); - fn sample_row_keys(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable::SampleRowKeysRequest, sink: ::grpcio::ServerStreamingSink); - fn mutate_row(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable::MutateRowRequest, sink: ::grpcio::UnarySink); - fn mutate_rows(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable::MutateRowsRequest, sink: ::grpcio::ServerStreamingSink); - fn check_and_mutate_row(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable::CheckAndMutateRowRequest, sink: ::grpcio::UnarySink); - fn read_modify_write_row(&mut self, ctx: ::grpcio::RpcContext, req: super::bigtable::ReadModifyWriteRowRequest, sink: ::grpcio::UnarySink); -} - -pub fn create_bigtable(s: S) -> ::grpcio::Service { - let mut builder = ::grpcio::ServiceBuilder::new(); - let mut instance = s.clone(); - builder = builder.add_server_streaming_handler(&METHOD_BIGTABLE_READ_ROWS, move |ctx, req, resp| { - instance.read_rows(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_server_streaming_handler(&METHOD_BIGTABLE_SAMPLE_ROW_KEYS, move |ctx, req, resp| { - instance.sample_row_keys(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_MUTATE_ROW, move |ctx, req, resp| { - instance.mutate_row(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_server_streaming_handler(&METHOD_BIGTABLE_MUTATE_ROWS, move |ctx, req, resp| { - instance.mutate_rows(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_CHECK_AND_MUTATE_ROW, move |ctx, req, resp| { - instance.check_and_mutate_row(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_BIGTABLE_READ_MODIFY_WRITE_ROW, move |ctx, req, resp| { - instance.read_modify_write_row(ctx, req, resp) - }); - builder.build() -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/data.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/data.rs deleted file mode 100644 index 3f63831dd4..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/data.rs +++ /dev/null @@ -1,7037 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/bigtable/v2/data.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct Row { - // message fields - pub key: ::std::vec::Vec, - pub families: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Row { - fn default() -> &'a Row { - ::default_instance() - } -} - -impl Row { - pub fn new() -> Row { - ::std::default::Default::default() - } - - // bytes key = 1; - - - pub fn get_key(&self) -> &[u8] { - &self.key - } - pub fn clear_key(&mut self) { - self.key.clear(); - } - - // Param is passed by value, moved - pub fn set_key(&mut self, v: ::std::vec::Vec) { - self.key = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_key(&mut self) -> &mut ::std::vec::Vec { - &mut self.key - } - - // Take field - pub fn take_key(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.key, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v2.Family families = 2; - - - pub fn get_families(&self) -> &[Family] { - &self.families - } - pub fn clear_families(&mut self) { - self.families.clear(); - } - - // Param is passed by value, moved - pub fn set_families(&mut self, v: ::protobuf::RepeatedField) { - self.families = v; - } - - // Mutable pointer to the field. - pub fn mut_families(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.families - } - - // Take field - pub fn take_families(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.families, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for Row { - fn is_initialized(&self) -> bool { - for v in &self.families { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.key)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.families)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.key.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.key); - } - for value in &self.families { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.key.is_empty() { - os.write_bytes(1, &self.key)?; - } - for v in &self.families { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Row { - Row::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "key", - |m: &Row| { &m.key }, - |m: &mut Row| { &mut m.key }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "families", - |m: &Row| { &m.families }, - |m: &mut Row| { &mut m.families }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Row", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Row { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Row, - }; - unsafe { - instance.get(Row::new) - } - } -} - -impl ::protobuf::Clear for Row { - fn clear(&mut self) { - self.key.clear(); - self.families.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Row { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Row { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Family { - // message fields - pub name: ::std::string::String, - pub columns: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Family { - fn default() -> &'a Family { - ::default_instance() - } -} - -impl Family { - pub fn new() -> Family { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // repeated .google.bigtable.v2.Column columns = 2; - - - pub fn get_columns(&self) -> &[Column] { - &self.columns - } - pub fn clear_columns(&mut self) { - self.columns.clear(); - } - - // Param is passed by value, moved - pub fn set_columns(&mut self, v: ::protobuf::RepeatedField) { - self.columns = v; - } - - // Mutable pointer to the field. - pub fn mut_columns(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.columns - } - - // Take field - pub fn take_columns(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.columns, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for Family { - fn is_initialized(&self) -> bool { - for v in &self.columns { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.columns)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - for value in &self.columns { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - for v in &self.columns { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Family { - Family::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Family| { &m.name }, - |m: &mut Family| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "columns", - |m: &Family| { &m.columns }, - |m: &mut Family| { &mut m.columns }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Family", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Family { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Family, - }; - unsafe { - instance.get(Family::new) - } - } -} - -impl ::protobuf::Clear for Family { - fn clear(&mut self) { - self.name.clear(); - self.columns.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Family { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Family { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Column { - // message fields - pub qualifier: ::std::vec::Vec, - pub cells: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Column { - fn default() -> &'a Column { - ::default_instance() - } -} - -impl Column { - pub fn new() -> Column { - ::std::default::Default::default() - } - - // bytes qualifier = 1; - - - pub fn get_qualifier(&self) -> &[u8] { - &self.qualifier - } - pub fn clear_qualifier(&mut self) { - self.qualifier.clear(); - } - - // Param is passed by value, moved - pub fn set_qualifier(&mut self, v: ::std::vec::Vec) { - self.qualifier = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_qualifier(&mut self) -> &mut ::std::vec::Vec { - &mut self.qualifier - } - - // Take field - pub fn take_qualifier(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.qualifier, ::std::vec::Vec::new()) - } - - // repeated .google.bigtable.v2.Cell cells = 2; - - - pub fn get_cells(&self) -> &[Cell] { - &self.cells - } - pub fn clear_cells(&mut self) { - self.cells.clear(); - } - - // Param is passed by value, moved - pub fn set_cells(&mut self, v: ::protobuf::RepeatedField) { - self.cells = v; - } - - // Mutable pointer to the field. - pub fn mut_cells(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.cells - } - - // Take field - pub fn take_cells(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.cells, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for Column { - fn is_initialized(&self) -> bool { - for v in &self.cells { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.qualifier)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.cells)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.qualifier.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.qualifier); - } - for value in &self.cells { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.qualifier.is_empty() { - os.write_bytes(1, &self.qualifier)?; - } - for v in &self.cells { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Column { - Column::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "qualifier", - |m: &Column| { &m.qualifier }, - |m: &mut Column| { &mut m.qualifier }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "cells", - |m: &Column| { &m.cells }, - |m: &mut Column| { &mut m.cells }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Column", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Column { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Column, - }; - unsafe { - instance.get(Column::new) - } - } -} - -impl ::protobuf::Clear for Column { - fn clear(&mut self) { - self.qualifier.clear(); - self.cells.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Column { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Column { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Cell { - // message fields - pub timestamp_micros: i64, - pub value: ::std::vec::Vec, - pub labels: ::protobuf::RepeatedField<::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Cell { - fn default() -> &'a Cell { - ::default_instance() - } -} - -impl Cell { - pub fn new() -> Cell { - ::std::default::Default::default() - } - - // int64 timestamp_micros = 1; - - - pub fn get_timestamp_micros(&self) -> i64 { - self.timestamp_micros - } - pub fn clear_timestamp_micros(&mut self) { - self.timestamp_micros = 0; - } - - // Param is passed by value, moved - pub fn set_timestamp_micros(&mut self, v: i64) { - self.timestamp_micros = v; - } - - // bytes value = 2; - - - pub fn get_value(&self) -> &[u8] { - &self.value - } - pub fn clear_value(&mut self) { - self.value.clear(); - } - - // Param is passed by value, moved - pub fn set_value(&mut self, v: ::std::vec::Vec) { - self.value = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_value(&mut self) -> &mut ::std::vec::Vec { - &mut self.value - } - - // Take field - pub fn take_value(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.value, ::std::vec::Vec::new()) - } - - // repeated string labels = 3; - - - pub fn get_labels(&self) -> &[::std::string::String] { - &self.labels - } - pub fn clear_labels(&mut self) { - self.labels.clear(); - } - - // Param is passed by value, moved - pub fn set_labels(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.labels = v; - } - - // Mutable pointer to the field. - pub fn mut_labels(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.labels - } - - // Take field - pub fn take_labels(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.labels, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for Cell { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.timestamp_micros = tmp; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.value)?; - }, - 3 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.labels)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if self.timestamp_micros != 0 { - my_size += ::protobuf::rt::value_size(1, self.timestamp_micros, ::protobuf::wire_format::WireTypeVarint); - } - if !self.value.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.value); - } - for value in &self.labels { - my_size += ::protobuf::rt::string_size(3, &value); - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if self.timestamp_micros != 0 { - os.write_int64(1, self.timestamp_micros)?; - } - if !self.value.is_empty() { - os.write_bytes(2, &self.value)?; - } - for v in &self.labels { - os.write_string(3, &v)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Cell { - Cell::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "timestamp_micros", - |m: &Cell| { &m.timestamp_micros }, - |m: &mut Cell| { &mut m.timestamp_micros }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "value", - |m: &Cell| { &m.value }, - |m: &mut Cell| { &mut m.value }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "labels", - |m: &Cell| { &m.labels }, - |m: &mut Cell| { &mut m.labels }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Cell", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Cell { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Cell, - }; - unsafe { - instance.get(Cell::new) - } - } -} - -impl ::protobuf::Clear for Cell { - fn clear(&mut self) { - self.timestamp_micros = 0; - self.value.clear(); - self.labels.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Cell { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Cell { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowRange { - // message oneof groups - pub start_key: ::std::option::Option, - pub end_key: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowRange { - fn default() -> &'a RowRange { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum RowRange_oneof_start_key { - start_key_closed(::std::vec::Vec), - start_key_open(::std::vec::Vec), -} - -#[derive(Clone,PartialEq,Debug)] -pub enum RowRange_oneof_end_key { - end_key_open(::std::vec::Vec), - end_key_closed(::std::vec::Vec), -} - -impl RowRange { - pub fn new() -> RowRange { - ::std::default::Default::default() - } - - // bytes start_key_closed = 1; - - - pub fn get_start_key_closed(&self) -> &[u8] { - match self.start_key { - ::std::option::Option::Some(RowRange_oneof_start_key::start_key_closed(ref v)) => v, - _ => &[], - } - } - pub fn clear_start_key_closed(&mut self) { - self.start_key = ::std::option::Option::None; - } - - pub fn has_start_key_closed(&self) -> bool { - match self.start_key { - ::std::option::Option::Some(RowRange_oneof_start_key::start_key_closed(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_start_key_closed(&mut self, v: ::std::vec::Vec) { - self.start_key = ::std::option::Option::Some(RowRange_oneof_start_key::start_key_closed(v)) - } - - // Mutable pointer to the field. - pub fn mut_start_key_closed(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(RowRange_oneof_start_key::start_key_closed(_)) = self.start_key { - } else { - self.start_key = ::std::option::Option::Some(RowRange_oneof_start_key::start_key_closed(::std::vec::Vec::new())); - } - match self.start_key { - ::std::option::Option::Some(RowRange_oneof_start_key::start_key_closed(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_start_key_closed(&mut self) -> ::std::vec::Vec { - if self.has_start_key_closed() { - match self.start_key.take() { - ::std::option::Option::Some(RowRange_oneof_start_key::start_key_closed(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes start_key_open = 2; - - - pub fn get_start_key_open(&self) -> &[u8] { - match self.start_key { - ::std::option::Option::Some(RowRange_oneof_start_key::start_key_open(ref v)) => v, - _ => &[], - } - } - pub fn clear_start_key_open(&mut self) { - self.start_key = ::std::option::Option::None; - } - - pub fn has_start_key_open(&self) -> bool { - match self.start_key { - ::std::option::Option::Some(RowRange_oneof_start_key::start_key_open(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_start_key_open(&mut self, v: ::std::vec::Vec) { - self.start_key = ::std::option::Option::Some(RowRange_oneof_start_key::start_key_open(v)) - } - - // Mutable pointer to the field. - pub fn mut_start_key_open(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(RowRange_oneof_start_key::start_key_open(_)) = self.start_key { - } else { - self.start_key = ::std::option::Option::Some(RowRange_oneof_start_key::start_key_open(::std::vec::Vec::new())); - } - match self.start_key { - ::std::option::Option::Some(RowRange_oneof_start_key::start_key_open(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_start_key_open(&mut self) -> ::std::vec::Vec { - if self.has_start_key_open() { - match self.start_key.take() { - ::std::option::Option::Some(RowRange_oneof_start_key::start_key_open(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes end_key_open = 3; - - - pub fn get_end_key_open(&self) -> &[u8] { - match self.end_key { - ::std::option::Option::Some(RowRange_oneof_end_key::end_key_open(ref v)) => v, - _ => &[], - } - } - pub fn clear_end_key_open(&mut self) { - self.end_key = ::std::option::Option::None; - } - - pub fn has_end_key_open(&self) -> bool { - match self.end_key { - ::std::option::Option::Some(RowRange_oneof_end_key::end_key_open(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_end_key_open(&mut self, v: ::std::vec::Vec) { - self.end_key = ::std::option::Option::Some(RowRange_oneof_end_key::end_key_open(v)) - } - - // Mutable pointer to the field. - pub fn mut_end_key_open(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(RowRange_oneof_end_key::end_key_open(_)) = self.end_key { - } else { - self.end_key = ::std::option::Option::Some(RowRange_oneof_end_key::end_key_open(::std::vec::Vec::new())); - } - match self.end_key { - ::std::option::Option::Some(RowRange_oneof_end_key::end_key_open(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_end_key_open(&mut self) -> ::std::vec::Vec { - if self.has_end_key_open() { - match self.end_key.take() { - ::std::option::Option::Some(RowRange_oneof_end_key::end_key_open(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes end_key_closed = 4; - - - pub fn get_end_key_closed(&self) -> &[u8] { - match self.end_key { - ::std::option::Option::Some(RowRange_oneof_end_key::end_key_closed(ref v)) => v, - _ => &[], - } - } - pub fn clear_end_key_closed(&mut self) { - self.end_key = ::std::option::Option::None; - } - - pub fn has_end_key_closed(&self) -> bool { - match self.end_key { - ::std::option::Option::Some(RowRange_oneof_end_key::end_key_closed(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_end_key_closed(&mut self, v: ::std::vec::Vec) { - self.end_key = ::std::option::Option::Some(RowRange_oneof_end_key::end_key_closed(v)) - } - - // Mutable pointer to the field. - pub fn mut_end_key_closed(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(RowRange_oneof_end_key::end_key_closed(_)) = self.end_key { - } else { - self.end_key = ::std::option::Option::Some(RowRange_oneof_end_key::end_key_closed(::std::vec::Vec::new())); - } - match self.end_key { - ::std::option::Option::Some(RowRange_oneof_end_key::end_key_closed(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_end_key_closed(&mut self) -> ::std::vec::Vec { - if self.has_end_key_closed() { - match self.end_key.take() { - ::std::option::Option::Some(RowRange_oneof_end_key::end_key_closed(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } -} - -impl ::protobuf::Message for RowRange { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.start_key = ::std::option::Option::Some(RowRange_oneof_start_key::start_key_closed(is.read_bytes()?)); - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.start_key = ::std::option::Option::Some(RowRange_oneof_start_key::start_key_open(is.read_bytes()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.end_key = ::std::option::Option::Some(RowRange_oneof_end_key::end_key_open(is.read_bytes()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.end_key = ::std::option::Option::Some(RowRange_oneof_end_key::end_key_closed(is.read_bytes()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let ::std::option::Option::Some(ref v) = self.start_key { - match v { - &RowRange_oneof_start_key::start_key_closed(ref v) => { - my_size += ::protobuf::rt::bytes_size(1, &v); - }, - &RowRange_oneof_start_key::start_key_open(ref v) => { - my_size += ::protobuf::rt::bytes_size(2, &v); - }, - }; - } - if let ::std::option::Option::Some(ref v) = self.end_key { - match v { - &RowRange_oneof_end_key::end_key_open(ref v) => { - my_size += ::protobuf::rt::bytes_size(3, &v); - }, - &RowRange_oneof_end_key::end_key_closed(ref v) => { - my_size += ::protobuf::rt::bytes_size(4, &v); - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let ::std::option::Option::Some(ref v) = self.start_key { - match v { - &RowRange_oneof_start_key::start_key_closed(ref v) => { - os.write_bytes(1, v)?; - }, - &RowRange_oneof_start_key::start_key_open(ref v) => { - os.write_bytes(2, v)?; - }, - }; - } - if let ::std::option::Option::Some(ref v) = self.end_key { - match v { - &RowRange_oneof_end_key::end_key_open(ref v) => { - os.write_bytes(3, v)?; - }, - &RowRange_oneof_end_key::end_key_closed(ref v) => { - os.write_bytes(4, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowRange { - RowRange::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "start_key_closed", - RowRange::has_start_key_closed, - RowRange::get_start_key_closed, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "start_key_open", - RowRange::has_start_key_open, - RowRange::get_start_key_open, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "end_key_open", - RowRange::has_end_key_open, - RowRange::get_end_key_open, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "end_key_closed", - RowRange::has_end_key_closed, - RowRange::get_end_key_closed, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowRange", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowRange { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowRange, - }; - unsafe { - instance.get(RowRange::new) - } - } -} - -impl ::protobuf::Clear for RowRange { - fn clear(&mut self) { - self.start_key = ::std::option::Option::None; - self.start_key = ::std::option::Option::None; - self.end_key = ::std::option::Option::None; - self.end_key = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowRange { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowRange { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowSet { - // message fields - pub row_keys: ::protobuf::RepeatedField<::std::vec::Vec>, - pub row_ranges: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowSet { - fn default() -> &'a RowSet { - ::default_instance() - } -} - -impl RowSet { - pub fn new() -> RowSet { - ::std::default::Default::default() - } - - // repeated bytes row_keys = 1; - - - pub fn get_row_keys(&self) -> &[::std::vec::Vec] { - &self.row_keys - } - pub fn clear_row_keys(&mut self) { - self.row_keys.clear(); - } - - // Param is passed by value, moved - pub fn set_row_keys(&mut self, v: ::protobuf::RepeatedField<::std::vec::Vec>) { - self.row_keys = v; - } - - // Mutable pointer to the field. - pub fn mut_row_keys(&mut self) -> &mut ::protobuf::RepeatedField<::std::vec::Vec> { - &mut self.row_keys - } - - // Take field - pub fn take_row_keys(&mut self) -> ::protobuf::RepeatedField<::std::vec::Vec> { - ::std::mem::replace(&mut self.row_keys, ::protobuf::RepeatedField::new()) - } - - // repeated .google.bigtable.v2.RowRange row_ranges = 2; - - - pub fn get_row_ranges(&self) -> &[RowRange] { - &self.row_ranges - } - pub fn clear_row_ranges(&mut self) { - self.row_ranges.clear(); - } - - // Param is passed by value, moved - pub fn set_row_ranges(&mut self, v: ::protobuf::RepeatedField) { - self.row_ranges = v; - } - - // Mutable pointer to the field. - pub fn mut_row_ranges(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.row_ranges - } - - // Take field - pub fn take_row_ranges(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.row_ranges, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for RowSet { - fn is_initialized(&self) -> bool { - for v in &self.row_ranges { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_bytes_into(wire_type, is, &mut self.row_keys)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.row_ranges)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.row_keys { - my_size += ::protobuf::rt::bytes_size(1, &value); - }; - for value in &self.row_ranges { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.row_keys { - os.write_bytes(1, &v)?; - }; - for v in &self.row_ranges { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowSet { - RowSet::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "row_keys", - |m: &RowSet| { &m.row_keys }, - |m: &mut RowSet| { &mut m.row_keys }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "row_ranges", - |m: &RowSet| { &m.row_ranges }, - |m: &mut RowSet| { &mut m.row_ranges }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowSet", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowSet { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowSet, - }; - unsafe { - instance.get(RowSet::new) - } - } -} - -impl ::protobuf::Clear for RowSet { - fn clear(&mut self) { - self.row_keys.clear(); - self.row_ranges.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowSet { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowSet { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ColumnRange { - // message fields - pub family_name: ::std::string::String, - // message oneof groups - pub start_qualifier: ::std::option::Option, - pub end_qualifier: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ColumnRange { - fn default() -> &'a ColumnRange { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ColumnRange_oneof_start_qualifier { - start_qualifier_closed(::std::vec::Vec), - start_qualifier_open(::std::vec::Vec), -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ColumnRange_oneof_end_qualifier { - end_qualifier_closed(::std::vec::Vec), - end_qualifier_open(::std::vec::Vec), -} - -impl ColumnRange { - pub fn new() -> ColumnRange { - ::std::default::Default::default() - } - - // string family_name = 1; - - - pub fn get_family_name(&self) -> &str { - &self.family_name - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::std::string::String) { - self.family_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::std::string::String { - &mut self.family_name - } - - // Take field - pub fn take_family_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.family_name, ::std::string::String::new()) - } - - // bytes start_qualifier_closed = 2; - - - pub fn get_start_qualifier_closed(&self) -> &[u8] { - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_closed(ref v)) => v, - _ => &[], - } - } - pub fn clear_start_qualifier_closed(&mut self) { - self.start_qualifier = ::std::option::Option::None; - } - - pub fn has_start_qualifier_closed(&self) -> bool { - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_closed(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_start_qualifier_closed(&mut self, v: ::std::vec::Vec) { - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_closed(v)) - } - - // Mutable pointer to the field. - pub fn mut_start_qualifier_closed(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_closed(_)) = self.start_qualifier { - } else { - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_closed(::std::vec::Vec::new())); - } - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_closed(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_start_qualifier_closed(&mut self) -> ::std::vec::Vec { - if self.has_start_qualifier_closed() { - match self.start_qualifier.take() { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_closed(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes start_qualifier_open = 3; - - - pub fn get_start_qualifier_open(&self) -> &[u8] { - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_open(ref v)) => v, - _ => &[], - } - } - pub fn clear_start_qualifier_open(&mut self) { - self.start_qualifier = ::std::option::Option::None; - } - - pub fn has_start_qualifier_open(&self) -> bool { - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_open(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_start_qualifier_open(&mut self, v: ::std::vec::Vec) { - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_open(v)) - } - - // Mutable pointer to the field. - pub fn mut_start_qualifier_open(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_open(_)) = self.start_qualifier { - } else { - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_open(::std::vec::Vec::new())); - } - match self.start_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_open(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_start_qualifier_open(&mut self) -> ::std::vec::Vec { - if self.has_start_qualifier_open() { - match self.start_qualifier.take() { - ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_open(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes end_qualifier_closed = 4; - - - pub fn get_end_qualifier_closed(&self) -> &[u8] { - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_closed(ref v)) => v, - _ => &[], - } - } - pub fn clear_end_qualifier_closed(&mut self) { - self.end_qualifier = ::std::option::Option::None; - } - - pub fn has_end_qualifier_closed(&self) -> bool { - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_closed(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_end_qualifier_closed(&mut self, v: ::std::vec::Vec) { - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_closed(v)) - } - - // Mutable pointer to the field. - pub fn mut_end_qualifier_closed(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_closed(_)) = self.end_qualifier { - } else { - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_closed(::std::vec::Vec::new())); - } - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_closed(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_end_qualifier_closed(&mut self) -> ::std::vec::Vec { - if self.has_end_qualifier_closed() { - match self.end_qualifier.take() { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_closed(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes end_qualifier_open = 5; - - - pub fn get_end_qualifier_open(&self) -> &[u8] { - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_open(ref v)) => v, - _ => &[], - } - } - pub fn clear_end_qualifier_open(&mut self) { - self.end_qualifier = ::std::option::Option::None; - } - - pub fn has_end_qualifier_open(&self) -> bool { - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_open(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_end_qualifier_open(&mut self, v: ::std::vec::Vec) { - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_open(v)) - } - - // Mutable pointer to the field. - pub fn mut_end_qualifier_open(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_open(_)) = self.end_qualifier { - } else { - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_open(::std::vec::Vec::new())); - } - match self.end_qualifier { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_open(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_end_qualifier_open(&mut self) -> ::std::vec::Vec { - if self.has_end_qualifier_open() { - match self.end_qualifier.take() { - ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_open(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } -} - -impl ::protobuf::Message for ColumnRange { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.family_name)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_closed(is.read_bytes()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.start_qualifier = ::std::option::Option::Some(ColumnRange_oneof_start_qualifier::start_qualifier_open(is.read_bytes()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_closed(is.read_bytes()?)); - }, - 5 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.end_qualifier = ::std::option::Option::Some(ColumnRange_oneof_end_qualifier::end_qualifier_open(is.read_bytes()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.family_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.family_name); - } - if let ::std::option::Option::Some(ref v) = self.start_qualifier { - match v { - &ColumnRange_oneof_start_qualifier::start_qualifier_closed(ref v) => { - my_size += ::protobuf::rt::bytes_size(2, &v); - }, - &ColumnRange_oneof_start_qualifier::start_qualifier_open(ref v) => { - my_size += ::protobuf::rt::bytes_size(3, &v); - }, - }; - } - if let ::std::option::Option::Some(ref v) = self.end_qualifier { - match v { - &ColumnRange_oneof_end_qualifier::end_qualifier_closed(ref v) => { - my_size += ::protobuf::rt::bytes_size(4, &v); - }, - &ColumnRange_oneof_end_qualifier::end_qualifier_open(ref v) => { - my_size += ::protobuf::rt::bytes_size(5, &v); - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.family_name.is_empty() { - os.write_string(1, &self.family_name)?; - } - if let ::std::option::Option::Some(ref v) = self.start_qualifier { - match v { - &ColumnRange_oneof_start_qualifier::start_qualifier_closed(ref v) => { - os.write_bytes(2, v)?; - }, - &ColumnRange_oneof_start_qualifier::start_qualifier_open(ref v) => { - os.write_bytes(3, v)?; - }, - }; - } - if let ::std::option::Option::Some(ref v) = self.end_qualifier { - match v { - &ColumnRange_oneof_end_qualifier::end_qualifier_closed(ref v) => { - os.write_bytes(4, v)?; - }, - &ColumnRange_oneof_end_qualifier::end_qualifier_open(ref v) => { - os.write_bytes(5, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ColumnRange { - ColumnRange::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "family_name", - |m: &ColumnRange| { &m.family_name }, - |m: &mut ColumnRange| { &mut m.family_name }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "start_qualifier_closed", - ColumnRange::has_start_qualifier_closed, - ColumnRange::get_start_qualifier_closed, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "start_qualifier_open", - ColumnRange::has_start_qualifier_open, - ColumnRange::get_start_qualifier_open, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "end_qualifier_closed", - ColumnRange::has_end_qualifier_closed, - ColumnRange::get_end_qualifier_closed, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "end_qualifier_open", - ColumnRange::has_end_qualifier_open, - ColumnRange::get_end_qualifier_open, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ColumnRange", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ColumnRange { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ColumnRange, - }; - unsafe { - instance.get(ColumnRange::new) - } - } -} - -impl ::protobuf::Clear for ColumnRange { - fn clear(&mut self) { - self.family_name.clear(); - self.start_qualifier = ::std::option::Option::None; - self.start_qualifier = ::std::option::Option::None; - self.end_qualifier = ::std::option::Option::None; - self.end_qualifier = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ColumnRange { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ColumnRange { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct TimestampRange { - // message fields - pub start_timestamp_micros: i64, - pub end_timestamp_micros: i64, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a TimestampRange { - fn default() -> &'a TimestampRange { - ::default_instance() - } -} - -impl TimestampRange { - pub fn new() -> TimestampRange { - ::std::default::Default::default() - } - - // int64 start_timestamp_micros = 1; - - - pub fn get_start_timestamp_micros(&self) -> i64 { - self.start_timestamp_micros - } - pub fn clear_start_timestamp_micros(&mut self) { - self.start_timestamp_micros = 0; - } - - // Param is passed by value, moved - pub fn set_start_timestamp_micros(&mut self, v: i64) { - self.start_timestamp_micros = v; - } - - // int64 end_timestamp_micros = 2; - - - pub fn get_end_timestamp_micros(&self) -> i64 { - self.end_timestamp_micros - } - pub fn clear_end_timestamp_micros(&mut self) { - self.end_timestamp_micros = 0; - } - - // Param is passed by value, moved - pub fn set_end_timestamp_micros(&mut self, v: i64) { - self.end_timestamp_micros = v; - } -} - -impl ::protobuf::Message for TimestampRange { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.start_timestamp_micros = tmp; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.end_timestamp_micros = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if self.start_timestamp_micros != 0 { - my_size += ::protobuf::rt::value_size(1, self.start_timestamp_micros, ::protobuf::wire_format::WireTypeVarint); - } - if self.end_timestamp_micros != 0 { - my_size += ::protobuf::rt::value_size(2, self.end_timestamp_micros, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if self.start_timestamp_micros != 0 { - os.write_int64(1, self.start_timestamp_micros)?; - } - if self.end_timestamp_micros != 0 { - os.write_int64(2, self.end_timestamp_micros)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> TimestampRange { - TimestampRange::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "start_timestamp_micros", - |m: &TimestampRange| { &m.start_timestamp_micros }, - |m: &mut TimestampRange| { &mut m.start_timestamp_micros }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "end_timestamp_micros", - |m: &TimestampRange| { &m.end_timestamp_micros }, - |m: &mut TimestampRange| { &mut m.end_timestamp_micros }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "TimestampRange", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static TimestampRange { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const TimestampRange, - }; - unsafe { - instance.get(TimestampRange::new) - } - } -} - -impl ::protobuf::Clear for TimestampRange { - fn clear(&mut self) { - self.start_timestamp_micros = 0; - self.end_timestamp_micros = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for TimestampRange { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for TimestampRange { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ValueRange { - // message oneof groups - pub start_value: ::std::option::Option, - pub end_value: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ValueRange { - fn default() -> &'a ValueRange { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ValueRange_oneof_start_value { - start_value_closed(::std::vec::Vec), - start_value_open(::std::vec::Vec), -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ValueRange_oneof_end_value { - end_value_closed(::std::vec::Vec), - end_value_open(::std::vec::Vec), -} - -impl ValueRange { - pub fn new() -> ValueRange { - ::std::default::Default::default() - } - - // bytes start_value_closed = 1; - - - pub fn get_start_value_closed(&self) -> &[u8] { - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_closed(ref v)) => v, - _ => &[], - } - } - pub fn clear_start_value_closed(&mut self) { - self.start_value = ::std::option::Option::None; - } - - pub fn has_start_value_closed(&self) -> bool { - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_closed(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_start_value_closed(&mut self, v: ::std::vec::Vec) { - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_closed(v)) - } - - // Mutable pointer to the field. - pub fn mut_start_value_closed(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_closed(_)) = self.start_value { - } else { - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_closed(::std::vec::Vec::new())); - } - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_closed(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_start_value_closed(&mut self) -> ::std::vec::Vec { - if self.has_start_value_closed() { - match self.start_value.take() { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_closed(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes start_value_open = 2; - - - pub fn get_start_value_open(&self) -> &[u8] { - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_open(ref v)) => v, - _ => &[], - } - } - pub fn clear_start_value_open(&mut self) { - self.start_value = ::std::option::Option::None; - } - - pub fn has_start_value_open(&self) -> bool { - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_open(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_start_value_open(&mut self, v: ::std::vec::Vec) { - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_open(v)) - } - - // Mutable pointer to the field. - pub fn mut_start_value_open(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_open(_)) = self.start_value { - } else { - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_open(::std::vec::Vec::new())); - } - match self.start_value { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_open(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_start_value_open(&mut self) -> ::std::vec::Vec { - if self.has_start_value_open() { - match self.start_value.take() { - ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_open(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes end_value_closed = 3; - - - pub fn get_end_value_closed(&self) -> &[u8] { - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_closed(ref v)) => v, - _ => &[], - } - } - pub fn clear_end_value_closed(&mut self) { - self.end_value = ::std::option::Option::None; - } - - pub fn has_end_value_closed(&self) -> bool { - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_closed(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_end_value_closed(&mut self, v: ::std::vec::Vec) { - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_closed(v)) - } - - // Mutable pointer to the field. - pub fn mut_end_value_closed(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_closed(_)) = self.end_value { - } else { - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_closed(::std::vec::Vec::new())); - } - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_closed(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_end_value_closed(&mut self) -> ::std::vec::Vec { - if self.has_end_value_closed() { - match self.end_value.take() { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_closed(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // bytes end_value_open = 4; - - - pub fn get_end_value_open(&self) -> &[u8] { - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_open(ref v)) => v, - _ => &[], - } - } - pub fn clear_end_value_open(&mut self) { - self.end_value = ::std::option::Option::None; - } - - pub fn has_end_value_open(&self) -> bool { - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_open(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_end_value_open(&mut self, v: ::std::vec::Vec) { - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_open(v)) - } - - // Mutable pointer to the field. - pub fn mut_end_value_open(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_open(_)) = self.end_value { - } else { - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_open(::std::vec::Vec::new())); - } - match self.end_value { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_open(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_end_value_open(&mut self) -> ::std::vec::Vec { - if self.has_end_value_open() { - match self.end_value.take() { - ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_open(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } -} - -impl ::protobuf::Message for ValueRange { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_closed(is.read_bytes()?)); - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.start_value = ::std::option::Option::Some(ValueRange_oneof_start_value::start_value_open(is.read_bytes()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_closed(is.read_bytes()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.end_value = ::std::option::Option::Some(ValueRange_oneof_end_value::end_value_open(is.read_bytes()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let ::std::option::Option::Some(ref v) = self.start_value { - match v { - &ValueRange_oneof_start_value::start_value_closed(ref v) => { - my_size += ::protobuf::rt::bytes_size(1, &v); - }, - &ValueRange_oneof_start_value::start_value_open(ref v) => { - my_size += ::protobuf::rt::bytes_size(2, &v); - }, - }; - } - if let ::std::option::Option::Some(ref v) = self.end_value { - match v { - &ValueRange_oneof_end_value::end_value_closed(ref v) => { - my_size += ::protobuf::rt::bytes_size(3, &v); - }, - &ValueRange_oneof_end_value::end_value_open(ref v) => { - my_size += ::protobuf::rt::bytes_size(4, &v); - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let ::std::option::Option::Some(ref v) = self.start_value { - match v { - &ValueRange_oneof_start_value::start_value_closed(ref v) => { - os.write_bytes(1, v)?; - }, - &ValueRange_oneof_start_value::start_value_open(ref v) => { - os.write_bytes(2, v)?; - }, - }; - } - if let ::std::option::Option::Some(ref v) = self.end_value { - match v { - &ValueRange_oneof_end_value::end_value_closed(ref v) => { - os.write_bytes(3, v)?; - }, - &ValueRange_oneof_end_value::end_value_open(ref v) => { - os.write_bytes(4, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ValueRange { - ValueRange::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "start_value_closed", - ValueRange::has_start_value_closed, - ValueRange::get_start_value_closed, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "start_value_open", - ValueRange::has_start_value_open, - ValueRange::get_start_value_open, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "end_value_closed", - ValueRange::has_end_value_closed, - ValueRange::get_end_value_closed, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "end_value_open", - ValueRange::has_end_value_open, - ValueRange::get_end_value_open, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ValueRange", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ValueRange { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ValueRange, - }; - unsafe { - instance.get(ValueRange::new) - } - } -} - -impl ::protobuf::Clear for ValueRange { - fn clear(&mut self) { - self.start_value = ::std::option::Option::None; - self.start_value = ::std::option::Option::None; - self.end_value = ::std::option::Option::None; - self.end_value = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ValueRange { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ValueRange { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowFilter { - // message oneof groups - pub filter: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowFilter { - fn default() -> &'a RowFilter { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum RowFilter_oneof_filter { - chain(RowFilter_Chain), - interleave(RowFilter_Interleave), - condition(RowFilter_Condition), - sink(bool), - pass_all_filter(bool), - block_all_filter(bool), - row_key_regex_filter(::std::vec::Vec), - row_sample_filter(f64), - family_name_regex_filter(::std::string::String), - column_qualifier_regex_filter(::std::vec::Vec), - column_range_filter(ColumnRange), - timestamp_range_filter(TimestampRange), - value_regex_filter(::std::vec::Vec), - value_range_filter(ValueRange), - cells_per_row_offset_filter(i32), - cells_per_row_limit_filter(i32), - cells_per_column_limit_filter(i32), - strip_value_transformer(bool), - apply_label_transformer(::std::string::String), -} - -impl RowFilter { - pub fn new() -> RowFilter { - ::std::default::Default::default() - } - - // .google.bigtable.v2.RowFilter.Chain chain = 1; - - - pub fn get_chain(&self) -> &RowFilter_Chain { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::chain(ref v)) => v, - _ => RowFilter_Chain::default_instance(), - } - } - pub fn clear_chain(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_chain(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::chain(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_chain(&mut self, v: RowFilter_Chain) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::chain(v)) - } - - // Mutable pointer to the field. - pub fn mut_chain(&mut self) -> &mut RowFilter_Chain { - if let ::std::option::Option::Some(RowFilter_oneof_filter::chain(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::chain(RowFilter_Chain::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::chain(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_chain(&mut self) -> RowFilter_Chain { - if self.has_chain() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::chain(v)) => v, - _ => panic!(), - } - } else { - RowFilter_Chain::new() - } - } - - // .google.bigtable.v2.RowFilter.Interleave interleave = 2; - - - pub fn get_interleave(&self) -> &RowFilter_Interleave { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::interleave(ref v)) => v, - _ => RowFilter_Interleave::default_instance(), - } - } - pub fn clear_interleave(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_interleave(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::interleave(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_interleave(&mut self, v: RowFilter_Interleave) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::interleave(v)) - } - - // Mutable pointer to the field. - pub fn mut_interleave(&mut self) -> &mut RowFilter_Interleave { - if let ::std::option::Option::Some(RowFilter_oneof_filter::interleave(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::interleave(RowFilter_Interleave::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::interleave(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_interleave(&mut self) -> RowFilter_Interleave { - if self.has_interleave() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::interleave(v)) => v, - _ => panic!(), - } - } else { - RowFilter_Interleave::new() - } - } - - // .google.bigtable.v2.RowFilter.Condition condition = 3; - - - pub fn get_condition(&self) -> &RowFilter_Condition { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::condition(ref v)) => v, - _ => RowFilter_Condition::default_instance(), - } - } - pub fn clear_condition(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_condition(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::condition(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_condition(&mut self, v: RowFilter_Condition) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::condition(v)) - } - - // Mutable pointer to the field. - pub fn mut_condition(&mut self) -> &mut RowFilter_Condition { - if let ::std::option::Option::Some(RowFilter_oneof_filter::condition(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::condition(RowFilter_Condition::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::condition(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_condition(&mut self) -> RowFilter_Condition { - if self.has_condition() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::condition(v)) => v, - _ => panic!(), - } - } else { - RowFilter_Condition::new() - } - } - - // bool sink = 16; - - - pub fn get_sink(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::sink(v)) => v, - _ => false, - } - } - pub fn clear_sink(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_sink(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::sink(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_sink(&mut self, v: bool) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::sink(v)) - } - - // bool pass_all_filter = 17; - - - pub fn get_pass_all_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::pass_all_filter(v)) => v, - _ => false, - } - } - pub fn clear_pass_all_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_pass_all_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::pass_all_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_pass_all_filter(&mut self, v: bool) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::pass_all_filter(v)) - } - - // bool block_all_filter = 18; - - - pub fn get_block_all_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::block_all_filter(v)) => v, - _ => false, - } - } - pub fn clear_block_all_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_block_all_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::block_all_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_block_all_filter(&mut self, v: bool) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::block_all_filter(v)) - } - - // bytes row_key_regex_filter = 4; - - - pub fn get_row_key_regex_filter(&self) -> &[u8] { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(ref v)) => v, - _ => &[], - } - } - pub fn clear_row_key_regex_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_row_key_regex_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_row_key_regex_filter(&mut self, v: ::std::vec::Vec) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_row_key_regex_filter(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(::std::vec::Vec::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_row_key_regex_filter(&mut self) -> ::std::vec::Vec { - if self.has_row_key_regex_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // double row_sample_filter = 14; - - - pub fn get_row_sample_filter(&self) -> f64 { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::row_sample_filter(v)) => v, - _ => 0., - } - } - pub fn clear_row_sample_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_row_sample_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::row_sample_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_row_sample_filter(&mut self, v: f64) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::row_sample_filter(v)) - } - - // string family_name_regex_filter = 5; - - - pub fn get_family_name_regex_filter(&self) -> &str { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(ref v)) => v, - _ => "", - } - } - pub fn clear_family_name_regex_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_family_name_regex_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_family_name_regex_filter(&mut self, v: ::std::string::String) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_family_name_regex_filter(&mut self) -> &mut ::std::string::String { - if let ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(::std::string::String::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_family_name_regex_filter(&mut self) -> ::std::string::String { - if self.has_family_name_regex_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(v)) => v, - _ => panic!(), - } - } else { - ::std::string::String::new() - } - } - - // bytes column_qualifier_regex_filter = 6; - - - pub fn get_column_qualifier_regex_filter(&self) -> &[u8] { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(ref v)) => v, - _ => &[], - } - } - pub fn clear_column_qualifier_regex_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_column_qualifier_regex_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_column_qualifier_regex_filter(&mut self, v: ::std::vec::Vec) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_column_qualifier_regex_filter(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(::std::vec::Vec::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_column_qualifier_regex_filter(&mut self) -> ::std::vec::Vec { - if self.has_column_qualifier_regex_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // .google.bigtable.v2.ColumnRange column_range_filter = 7; - - - pub fn get_column_range_filter(&self) -> &ColumnRange { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(ref v)) => v, - _ => ColumnRange::default_instance(), - } - } - pub fn clear_column_range_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_column_range_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_column_range_filter(&mut self, v: ColumnRange) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_column_range_filter(&mut self) -> &mut ColumnRange { - if let ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(ColumnRange::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_column_range_filter(&mut self) -> ColumnRange { - if self.has_column_range_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(v)) => v, - _ => panic!(), - } - } else { - ColumnRange::new() - } - } - - // .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - - - pub fn get_timestamp_range_filter(&self) -> &TimestampRange { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(ref v)) => v, - _ => TimestampRange::default_instance(), - } - } - pub fn clear_timestamp_range_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_timestamp_range_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_timestamp_range_filter(&mut self, v: TimestampRange) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_timestamp_range_filter(&mut self) -> &mut TimestampRange { - if let ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(TimestampRange::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_timestamp_range_filter(&mut self) -> TimestampRange { - if self.has_timestamp_range_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(v)) => v, - _ => panic!(), - } - } else { - TimestampRange::new() - } - } - - // bytes value_regex_filter = 9; - - - pub fn get_value_regex_filter(&self) -> &[u8] { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(ref v)) => v, - _ => &[], - } - } - pub fn clear_value_regex_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_value_regex_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_value_regex_filter(&mut self, v: ::std::vec::Vec) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_value_regex_filter(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(::std::vec::Vec::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_value_regex_filter(&mut self) -> ::std::vec::Vec { - if self.has_value_regex_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // .google.bigtable.v2.ValueRange value_range_filter = 15; - - - pub fn get_value_range_filter(&self) -> &ValueRange { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(ref v)) => v, - _ => ValueRange::default_instance(), - } - } - pub fn clear_value_range_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_value_range_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_value_range_filter(&mut self, v: ValueRange) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(v)) - } - - // Mutable pointer to the field. - pub fn mut_value_range_filter(&mut self) -> &mut ValueRange { - if let ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(ValueRange::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_value_range_filter(&mut self) -> ValueRange { - if self.has_value_range_filter() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(v)) => v, - _ => panic!(), - } - } else { - ValueRange::new() - } - } - - // int32 cells_per_row_offset_filter = 10; - - - pub fn get_cells_per_row_offset_filter(&self) -> i32 { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_offset_filter(v)) => v, - _ => 0, - } - } - pub fn clear_cells_per_row_offset_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_cells_per_row_offset_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_offset_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_cells_per_row_offset_filter(&mut self, v: i32) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_offset_filter(v)) - } - - // int32 cells_per_row_limit_filter = 11; - - - pub fn get_cells_per_row_limit_filter(&self) -> i32 { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_limit_filter(v)) => v, - _ => 0, - } - } - pub fn clear_cells_per_row_limit_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_cells_per_row_limit_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_limit_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_cells_per_row_limit_filter(&mut self, v: i32) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_limit_filter(v)) - } - - // int32 cells_per_column_limit_filter = 12; - - - pub fn get_cells_per_column_limit_filter(&self) -> i32 { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_column_limit_filter(v)) => v, - _ => 0, - } - } - pub fn clear_cells_per_column_limit_filter(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_cells_per_column_limit_filter(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_column_limit_filter(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_cells_per_column_limit_filter(&mut self, v: i32) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_column_limit_filter(v)) - } - - // bool strip_value_transformer = 13; - - - pub fn get_strip_value_transformer(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::strip_value_transformer(v)) => v, - _ => false, - } - } - pub fn clear_strip_value_transformer(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_strip_value_transformer(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::strip_value_transformer(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_strip_value_transformer(&mut self, v: bool) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::strip_value_transformer(v)) - } - - // string apply_label_transformer = 19; - - - pub fn get_apply_label_transformer(&self) -> &str { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(ref v)) => v, - _ => "", - } - } - pub fn clear_apply_label_transformer(&mut self) { - self.filter = ::std::option::Option::None; - } - - pub fn has_apply_label_transformer(&self) -> bool { - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_apply_label_transformer(&mut self, v: ::std::string::String) { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(v)) - } - - // Mutable pointer to the field. - pub fn mut_apply_label_transformer(&mut self) -> &mut ::std::string::String { - if let ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(_)) = self.filter { - } else { - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(::std::string::String::new())); - } - match self.filter { - ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_apply_label_transformer(&mut self) -> ::std::string::String { - if self.has_apply_label_transformer() { - match self.filter.take() { - ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(v)) => v, - _ => panic!(), - } - } else { - ::std::string::String::new() - } - } -} - -impl ::protobuf::Message for RowFilter { - fn is_initialized(&self) -> bool { - if let Some(RowFilter_oneof_filter::chain(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - if let Some(RowFilter_oneof_filter::interleave(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - if let Some(RowFilter_oneof_filter::condition(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - if let Some(RowFilter_oneof_filter::column_range_filter(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - if let Some(RowFilter_oneof_filter::timestamp_range_filter(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - if let Some(RowFilter_oneof_filter::value_range_filter(ref v)) = self.filter { - if !v.is_initialized() { - return false; - } - } - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::chain(is.read_message()?)); - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::interleave(is.read_message()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::condition(is.read_message()?)); - }, - 16 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::sink(is.read_bool()?)); - }, - 17 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::pass_all_filter(is.read_bool()?)); - }, - 18 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::block_all_filter(is.read_bool()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::row_key_regex_filter(is.read_bytes()?)); - }, - 14 => { - if wire_type != ::protobuf::wire_format::WireTypeFixed64 { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::row_sample_filter(is.read_double()?)); - }, - 5 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::family_name_regex_filter(is.read_string()?)); - }, - 6 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_qualifier_regex_filter(is.read_bytes()?)); - }, - 7 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::column_range_filter(is.read_message()?)); - }, - 8 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::timestamp_range_filter(is.read_message()?)); - }, - 9 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_regex_filter(is.read_bytes()?)); - }, - 15 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::value_range_filter(is.read_message()?)); - }, - 10 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_offset_filter(is.read_int32()?)); - }, - 11 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_row_limit_filter(is.read_int32()?)); - }, - 12 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::cells_per_column_limit_filter(is.read_int32()?)); - }, - 13 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::strip_value_transformer(is.read_bool()?)); - }, - 19 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.filter = ::std::option::Option::Some(RowFilter_oneof_filter::apply_label_transformer(is.read_string()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let ::std::option::Option::Some(ref v) = self.filter { - match v { - &RowFilter_oneof_filter::chain(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::interleave(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::condition(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::sink(v) => { - my_size += 3; - }, - &RowFilter_oneof_filter::pass_all_filter(v) => { - my_size += 3; - }, - &RowFilter_oneof_filter::block_all_filter(v) => { - my_size += 3; - }, - &RowFilter_oneof_filter::row_key_regex_filter(ref v) => { - my_size += ::protobuf::rt::bytes_size(4, &v); - }, - &RowFilter_oneof_filter::row_sample_filter(v) => { - my_size += 9; - }, - &RowFilter_oneof_filter::family_name_regex_filter(ref v) => { - my_size += ::protobuf::rt::string_size(5, &v); - }, - &RowFilter_oneof_filter::column_qualifier_regex_filter(ref v) => { - my_size += ::protobuf::rt::bytes_size(6, &v); - }, - &RowFilter_oneof_filter::column_range_filter(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::timestamp_range_filter(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::value_regex_filter(ref v) => { - my_size += ::protobuf::rt::bytes_size(9, &v); - }, - &RowFilter_oneof_filter::value_range_filter(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &RowFilter_oneof_filter::cells_per_row_offset_filter(v) => { - my_size += ::protobuf::rt::value_size(10, v, ::protobuf::wire_format::WireTypeVarint); - }, - &RowFilter_oneof_filter::cells_per_row_limit_filter(v) => { - my_size += ::protobuf::rt::value_size(11, v, ::protobuf::wire_format::WireTypeVarint); - }, - &RowFilter_oneof_filter::cells_per_column_limit_filter(v) => { - my_size += ::protobuf::rt::value_size(12, v, ::protobuf::wire_format::WireTypeVarint); - }, - &RowFilter_oneof_filter::strip_value_transformer(v) => { - my_size += 2; - }, - &RowFilter_oneof_filter::apply_label_transformer(ref v) => { - my_size += ::protobuf::rt::string_size(19, &v); - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let ::std::option::Option::Some(ref v) = self.filter { - match v { - &RowFilter_oneof_filter::chain(ref v) => { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::interleave(ref v) => { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::condition(ref v) => { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::sink(v) => { - os.write_bool(16, v)?; - }, - &RowFilter_oneof_filter::pass_all_filter(v) => { - os.write_bool(17, v)?; - }, - &RowFilter_oneof_filter::block_all_filter(v) => { - os.write_bool(18, v)?; - }, - &RowFilter_oneof_filter::row_key_regex_filter(ref v) => { - os.write_bytes(4, v)?; - }, - &RowFilter_oneof_filter::row_sample_filter(v) => { - os.write_double(14, v)?; - }, - &RowFilter_oneof_filter::family_name_regex_filter(ref v) => { - os.write_string(5, v)?; - }, - &RowFilter_oneof_filter::column_qualifier_regex_filter(ref v) => { - os.write_bytes(6, v)?; - }, - &RowFilter_oneof_filter::column_range_filter(ref v) => { - os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::timestamp_range_filter(ref v) => { - os.write_tag(8, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::value_regex_filter(ref v) => { - os.write_bytes(9, v)?; - }, - &RowFilter_oneof_filter::value_range_filter(ref v) => { - os.write_tag(15, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &RowFilter_oneof_filter::cells_per_row_offset_filter(v) => { - os.write_int32(10, v)?; - }, - &RowFilter_oneof_filter::cells_per_row_limit_filter(v) => { - os.write_int32(11, v)?; - }, - &RowFilter_oneof_filter::cells_per_column_limit_filter(v) => { - os.write_int32(12, v)?; - }, - &RowFilter_oneof_filter::strip_value_transformer(v) => { - os.write_bool(13, v)?; - }, - &RowFilter_oneof_filter::apply_label_transformer(ref v) => { - os.write_string(19, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowFilter { - RowFilter::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, RowFilter_Chain>( - "chain", - RowFilter::has_chain, - RowFilter::get_chain, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, RowFilter_Interleave>( - "interleave", - RowFilter::has_interleave, - RowFilter::get_interleave, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, RowFilter_Condition>( - "condition", - RowFilter::has_condition, - RowFilter::get_condition, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "sink", - RowFilter::has_sink, - RowFilter::get_sink, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "pass_all_filter", - RowFilter::has_pass_all_filter, - RowFilter::get_pass_all_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "block_all_filter", - RowFilter::has_block_all_filter, - RowFilter::get_block_all_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "row_key_regex_filter", - RowFilter::has_row_key_regex_filter, - RowFilter::get_row_key_regex_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_f64_accessor::<_>( - "row_sample_filter", - RowFilter::has_row_sample_filter, - RowFilter::get_row_sample_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>( - "family_name_regex_filter", - RowFilter::has_family_name_regex_filter, - RowFilter::get_family_name_regex_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "column_qualifier_regex_filter", - RowFilter::has_column_qualifier_regex_filter, - RowFilter::get_column_qualifier_regex_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ColumnRange>( - "column_range_filter", - RowFilter::has_column_range_filter, - RowFilter::get_column_range_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, TimestampRange>( - "timestamp_range_filter", - RowFilter::has_timestamp_range_filter, - RowFilter::get_timestamp_range_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "value_regex_filter", - RowFilter::has_value_regex_filter, - RowFilter::get_value_regex_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ValueRange>( - "value_range_filter", - RowFilter::has_value_range_filter, - RowFilter::get_value_range_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor::<_>( - "cells_per_row_offset_filter", - RowFilter::has_cells_per_row_offset_filter, - RowFilter::get_cells_per_row_offset_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor::<_>( - "cells_per_row_limit_filter", - RowFilter::has_cells_per_row_limit_filter, - RowFilter::get_cells_per_row_limit_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor::<_>( - "cells_per_column_limit_filter", - RowFilter::has_cells_per_column_limit_filter, - RowFilter::get_cells_per_column_limit_filter, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor::<_>( - "strip_value_transformer", - RowFilter::has_strip_value_transformer, - RowFilter::get_strip_value_transformer, - )); - fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>( - "apply_label_transformer", - RowFilter::has_apply_label_transformer, - RowFilter::get_apply_label_transformer, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowFilter", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowFilter { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowFilter, - }; - unsafe { - instance.get(RowFilter::new) - } - } -} - -impl ::protobuf::Clear for RowFilter { - fn clear(&mut self) { - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.filter = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowFilter { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowFilter { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowFilter_Chain { - // message fields - pub filters: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowFilter_Chain { - fn default() -> &'a RowFilter_Chain { - ::default_instance() - } -} - -impl RowFilter_Chain { - pub fn new() -> RowFilter_Chain { - ::std::default::Default::default() - } - - // repeated .google.bigtable.v2.RowFilter filters = 1; - - - pub fn get_filters(&self) -> &[RowFilter] { - &self.filters - } - pub fn clear_filters(&mut self) { - self.filters.clear(); - } - - // Param is passed by value, moved - pub fn set_filters(&mut self, v: ::protobuf::RepeatedField) { - self.filters = v; - } - - // Mutable pointer to the field. - pub fn mut_filters(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.filters - } - - // Take field - pub fn take_filters(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.filters, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for RowFilter_Chain { - fn is_initialized(&self) -> bool { - for v in &self.filters { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.filters)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.filters { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.filters { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowFilter_Chain { - RowFilter_Chain::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "filters", - |m: &RowFilter_Chain| { &m.filters }, - |m: &mut RowFilter_Chain| { &mut m.filters }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowFilter_Chain", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowFilter_Chain { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowFilter_Chain, - }; - unsafe { - instance.get(RowFilter_Chain::new) - } - } -} - -impl ::protobuf::Clear for RowFilter_Chain { - fn clear(&mut self) { - self.filters.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowFilter_Chain { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowFilter_Chain { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowFilter_Interleave { - // message fields - pub filters: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowFilter_Interleave { - fn default() -> &'a RowFilter_Interleave { - ::default_instance() - } -} - -impl RowFilter_Interleave { - pub fn new() -> RowFilter_Interleave { - ::std::default::Default::default() - } - - // repeated .google.bigtable.v2.RowFilter filters = 1; - - - pub fn get_filters(&self) -> &[RowFilter] { - &self.filters - } - pub fn clear_filters(&mut self) { - self.filters.clear(); - } - - // Param is passed by value, moved - pub fn set_filters(&mut self, v: ::protobuf::RepeatedField) { - self.filters = v; - } - - // Mutable pointer to the field. - pub fn mut_filters(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.filters - } - - // Take field - pub fn take_filters(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.filters, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for RowFilter_Interleave { - fn is_initialized(&self) -> bool { - for v in &self.filters { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.filters)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.filters { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.filters { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowFilter_Interleave { - RowFilter_Interleave::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "filters", - |m: &RowFilter_Interleave| { &m.filters }, - |m: &mut RowFilter_Interleave| { &mut m.filters }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowFilter_Interleave", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowFilter_Interleave { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowFilter_Interleave, - }; - unsafe { - instance.get(RowFilter_Interleave::new) - } - } -} - -impl ::protobuf::Clear for RowFilter_Interleave { - fn clear(&mut self) { - self.filters.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowFilter_Interleave { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowFilter_Interleave { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct RowFilter_Condition { - // message fields - pub predicate_filter: ::protobuf::SingularPtrField, - pub true_filter: ::protobuf::SingularPtrField, - pub false_filter: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a RowFilter_Condition { - fn default() -> &'a RowFilter_Condition { - ::default_instance() - } -} - -impl RowFilter_Condition { - pub fn new() -> RowFilter_Condition { - ::std::default::Default::default() - } - - // .google.bigtable.v2.RowFilter predicate_filter = 1; - - - pub fn get_predicate_filter(&self) -> &RowFilter { - self.predicate_filter.as_ref().unwrap_or_else(|| RowFilter::default_instance()) - } - pub fn clear_predicate_filter(&mut self) { - self.predicate_filter.clear(); - } - - pub fn has_predicate_filter(&self) -> bool { - self.predicate_filter.is_some() - } - - // Param is passed by value, moved - pub fn set_predicate_filter(&mut self, v: RowFilter) { - self.predicate_filter = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_predicate_filter(&mut self) -> &mut RowFilter { - if self.predicate_filter.is_none() { - self.predicate_filter.set_default(); - } - self.predicate_filter.as_mut().unwrap() - } - - // Take field - pub fn take_predicate_filter(&mut self) -> RowFilter { - self.predicate_filter.take().unwrap_or_else(|| RowFilter::new()) - } - - // .google.bigtable.v2.RowFilter true_filter = 2; - - - pub fn get_true_filter(&self) -> &RowFilter { - self.true_filter.as_ref().unwrap_or_else(|| RowFilter::default_instance()) - } - pub fn clear_true_filter(&mut self) { - self.true_filter.clear(); - } - - pub fn has_true_filter(&self) -> bool { - self.true_filter.is_some() - } - - // Param is passed by value, moved - pub fn set_true_filter(&mut self, v: RowFilter) { - self.true_filter = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_true_filter(&mut self) -> &mut RowFilter { - if self.true_filter.is_none() { - self.true_filter.set_default(); - } - self.true_filter.as_mut().unwrap() - } - - // Take field - pub fn take_true_filter(&mut self) -> RowFilter { - self.true_filter.take().unwrap_or_else(|| RowFilter::new()) - } - - // .google.bigtable.v2.RowFilter false_filter = 3; - - - pub fn get_false_filter(&self) -> &RowFilter { - self.false_filter.as_ref().unwrap_or_else(|| RowFilter::default_instance()) - } - pub fn clear_false_filter(&mut self) { - self.false_filter.clear(); - } - - pub fn has_false_filter(&self) -> bool { - self.false_filter.is_some() - } - - // Param is passed by value, moved - pub fn set_false_filter(&mut self, v: RowFilter) { - self.false_filter = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_false_filter(&mut self) -> &mut RowFilter { - if self.false_filter.is_none() { - self.false_filter.set_default(); - } - self.false_filter.as_mut().unwrap() - } - - // Take field - pub fn take_false_filter(&mut self) -> RowFilter { - self.false_filter.take().unwrap_or_else(|| RowFilter::new()) - } -} - -impl ::protobuf::Message for RowFilter_Condition { - fn is_initialized(&self) -> bool { - for v in &self.predicate_filter { - if !v.is_initialized() { - return false; - } - }; - for v in &self.true_filter { - if !v.is_initialized() { - return false; - } - }; - for v in &self.false_filter { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.predicate_filter)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.true_filter)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.false_filter)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.predicate_filter.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.true_filter.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.false_filter.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.predicate_filter.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.true_filter.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.false_filter.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> RowFilter_Condition { - RowFilter_Condition::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "predicate_filter", - |m: &RowFilter_Condition| { &m.predicate_filter }, - |m: &mut RowFilter_Condition| { &mut m.predicate_filter }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "true_filter", - |m: &RowFilter_Condition| { &m.true_filter }, - |m: &mut RowFilter_Condition| { &mut m.true_filter }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "false_filter", - |m: &RowFilter_Condition| { &m.false_filter }, - |m: &mut RowFilter_Condition| { &mut m.false_filter }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "RowFilter_Condition", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static RowFilter_Condition { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RowFilter_Condition, - }; - unsafe { - instance.get(RowFilter_Condition::new) - } - } -} - -impl ::protobuf::Clear for RowFilter_Condition { - fn clear(&mut self) { - self.predicate_filter.clear(); - self.true_filter.clear(); - self.false_filter.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for RowFilter_Condition { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for RowFilter_Condition { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Mutation { - // message oneof groups - pub mutation: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Mutation { - fn default() -> &'a Mutation { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum Mutation_oneof_mutation { - set_cell(Mutation_SetCell), - delete_from_column(Mutation_DeleteFromColumn), - delete_from_family(Mutation_DeleteFromFamily), - delete_from_row(Mutation_DeleteFromRow), -} - -impl Mutation { - pub fn new() -> Mutation { - ::std::default::Default::default() - } - - // .google.bigtable.v2.Mutation.SetCell set_cell = 1; - - - pub fn get_set_cell(&self) -> &Mutation_SetCell { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(ref v)) => v, - _ => Mutation_SetCell::default_instance(), - } - } - pub fn clear_set_cell(&mut self) { - self.mutation = ::std::option::Option::None; - } - - pub fn has_set_cell(&self) -> bool { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_set_cell(&mut self, v: Mutation_SetCell) { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(v)) - } - - // Mutable pointer to the field. - pub fn mut_set_cell(&mut self) -> &mut Mutation_SetCell { - if let ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(_)) = self.mutation { - } else { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(Mutation_SetCell::new())); - } - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_set_cell(&mut self) -> Mutation_SetCell { - if self.has_set_cell() { - match self.mutation.take() { - ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(v)) => v, - _ => panic!(), - } - } else { - Mutation_SetCell::new() - } - } - - // .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - - - pub fn get_delete_from_column(&self) -> &Mutation_DeleteFromColumn { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(ref v)) => v, - _ => Mutation_DeleteFromColumn::default_instance(), - } - } - pub fn clear_delete_from_column(&mut self) { - self.mutation = ::std::option::Option::None; - } - - pub fn has_delete_from_column(&self) -> bool { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_delete_from_column(&mut self, v: Mutation_DeleteFromColumn) { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(v)) - } - - // Mutable pointer to the field. - pub fn mut_delete_from_column(&mut self) -> &mut Mutation_DeleteFromColumn { - if let ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(_)) = self.mutation { - } else { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(Mutation_DeleteFromColumn::new())); - } - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_delete_from_column(&mut self) -> Mutation_DeleteFromColumn { - if self.has_delete_from_column() { - match self.mutation.take() { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(v)) => v, - _ => panic!(), - } - } else { - Mutation_DeleteFromColumn::new() - } - } - - // .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - - - pub fn get_delete_from_family(&self) -> &Mutation_DeleteFromFamily { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(ref v)) => v, - _ => Mutation_DeleteFromFamily::default_instance(), - } - } - pub fn clear_delete_from_family(&mut self) { - self.mutation = ::std::option::Option::None; - } - - pub fn has_delete_from_family(&self) -> bool { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_delete_from_family(&mut self, v: Mutation_DeleteFromFamily) { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(v)) - } - - // Mutable pointer to the field. - pub fn mut_delete_from_family(&mut self) -> &mut Mutation_DeleteFromFamily { - if let ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(_)) = self.mutation { - } else { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(Mutation_DeleteFromFamily::new())); - } - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_delete_from_family(&mut self) -> Mutation_DeleteFromFamily { - if self.has_delete_from_family() { - match self.mutation.take() { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(v)) => v, - _ => panic!(), - } - } else { - Mutation_DeleteFromFamily::new() - } - } - - // .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - - - pub fn get_delete_from_row(&self) -> &Mutation_DeleteFromRow { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(ref v)) => v, - _ => Mutation_DeleteFromRow::default_instance(), - } - } - pub fn clear_delete_from_row(&mut self) { - self.mutation = ::std::option::Option::None; - } - - pub fn has_delete_from_row(&self) -> bool { - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_delete_from_row(&mut self, v: Mutation_DeleteFromRow) { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(v)) - } - - // Mutable pointer to the field. - pub fn mut_delete_from_row(&mut self) -> &mut Mutation_DeleteFromRow { - if let ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(_)) = self.mutation { - } else { - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(Mutation_DeleteFromRow::new())); - } - match self.mutation { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_delete_from_row(&mut self) -> Mutation_DeleteFromRow { - if self.has_delete_from_row() { - match self.mutation.take() { - ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(v)) => v, - _ => panic!(), - } - } else { - Mutation_DeleteFromRow::new() - } - } -} - -impl ::protobuf::Message for Mutation { - fn is_initialized(&self) -> bool { - if let Some(Mutation_oneof_mutation::set_cell(ref v)) = self.mutation { - if !v.is_initialized() { - return false; - } - } - if let Some(Mutation_oneof_mutation::delete_from_column(ref v)) = self.mutation { - if !v.is_initialized() { - return false; - } - } - if let Some(Mutation_oneof_mutation::delete_from_family(ref v)) = self.mutation { - if !v.is_initialized() { - return false; - } - } - if let Some(Mutation_oneof_mutation::delete_from_row(ref v)) = self.mutation { - if !v.is_initialized() { - return false; - } - } - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::set_cell(is.read_message()?)); - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_column(is.read_message()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_family(is.read_message()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.mutation = ::std::option::Option::Some(Mutation_oneof_mutation::delete_from_row(is.read_message()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let ::std::option::Option::Some(ref v) = self.mutation { - match v { - &Mutation_oneof_mutation::set_cell(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &Mutation_oneof_mutation::delete_from_column(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &Mutation_oneof_mutation::delete_from_family(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &Mutation_oneof_mutation::delete_from_row(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let ::std::option::Option::Some(ref v) = self.mutation { - match v { - &Mutation_oneof_mutation::set_cell(ref v) => { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &Mutation_oneof_mutation::delete_from_column(ref v) => { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &Mutation_oneof_mutation::delete_from_family(ref v) => { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &Mutation_oneof_mutation::delete_from_row(ref v) => { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Mutation { - Mutation::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, Mutation_SetCell>( - "set_cell", - Mutation::has_set_cell, - Mutation::get_set_cell, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, Mutation_DeleteFromColumn>( - "delete_from_column", - Mutation::has_delete_from_column, - Mutation::get_delete_from_column, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, Mutation_DeleteFromFamily>( - "delete_from_family", - Mutation::has_delete_from_family, - Mutation::get_delete_from_family, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, Mutation_DeleteFromRow>( - "delete_from_row", - Mutation::has_delete_from_row, - Mutation::get_delete_from_row, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Mutation { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation, - }; - unsafe { - instance.get(Mutation::new) - } - } -} - -impl ::protobuf::Clear for Mutation { - fn clear(&mut self) { - self.mutation = ::std::option::Option::None; - self.mutation = ::std::option::Option::None; - self.mutation = ::std::option::Option::None; - self.mutation = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Mutation { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Mutation { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Mutation_SetCell { - // message fields - pub family_name: ::std::string::String, - pub column_qualifier: ::std::vec::Vec, - pub timestamp_micros: i64, - pub value: ::std::vec::Vec, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Mutation_SetCell { - fn default() -> &'a Mutation_SetCell { - ::default_instance() - } -} - -impl Mutation_SetCell { - pub fn new() -> Mutation_SetCell { - ::std::default::Default::default() - } - - // string family_name = 1; - - - pub fn get_family_name(&self) -> &str { - &self.family_name - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::std::string::String) { - self.family_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::std::string::String { - &mut self.family_name - } - - // Take field - pub fn take_family_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.family_name, ::std::string::String::new()) - } - - // bytes column_qualifier = 2; - - - pub fn get_column_qualifier(&self) -> &[u8] { - &self.column_qualifier - } - pub fn clear_column_qualifier(&mut self) { - self.column_qualifier.clear(); - } - - // Param is passed by value, moved - pub fn set_column_qualifier(&mut self, v: ::std::vec::Vec) { - self.column_qualifier = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_column_qualifier(&mut self) -> &mut ::std::vec::Vec { - &mut self.column_qualifier - } - - // Take field - pub fn take_column_qualifier(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.column_qualifier, ::std::vec::Vec::new()) - } - - // int64 timestamp_micros = 3; - - - pub fn get_timestamp_micros(&self) -> i64 { - self.timestamp_micros - } - pub fn clear_timestamp_micros(&mut self) { - self.timestamp_micros = 0; - } - - // Param is passed by value, moved - pub fn set_timestamp_micros(&mut self, v: i64) { - self.timestamp_micros = v; - } - - // bytes value = 4; - - - pub fn get_value(&self) -> &[u8] { - &self.value - } - pub fn clear_value(&mut self) { - self.value.clear(); - } - - // Param is passed by value, moved - pub fn set_value(&mut self, v: ::std::vec::Vec) { - self.value = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_value(&mut self) -> &mut ::std::vec::Vec { - &mut self.value - } - - // Take field - pub fn take_value(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.value, ::std::vec::Vec::new()) - } -} - -impl ::protobuf::Message for Mutation_SetCell { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.family_name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.column_qualifier)?; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int64()?; - self.timestamp_micros = tmp; - }, - 4 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.value)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.family_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.family_name); - } - if !self.column_qualifier.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.column_qualifier); - } - if self.timestamp_micros != 0 { - my_size += ::protobuf::rt::value_size(3, self.timestamp_micros, ::protobuf::wire_format::WireTypeVarint); - } - if !self.value.is_empty() { - my_size += ::protobuf::rt::bytes_size(4, &self.value); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.family_name.is_empty() { - os.write_string(1, &self.family_name)?; - } - if !self.column_qualifier.is_empty() { - os.write_bytes(2, &self.column_qualifier)?; - } - if self.timestamp_micros != 0 { - os.write_int64(3, self.timestamp_micros)?; - } - if !self.value.is_empty() { - os.write_bytes(4, &self.value)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Mutation_SetCell { - Mutation_SetCell::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "family_name", - |m: &Mutation_SetCell| { &m.family_name }, - |m: &mut Mutation_SetCell| { &mut m.family_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "column_qualifier", - |m: &Mutation_SetCell| { &m.column_qualifier }, - |m: &mut Mutation_SetCell| { &mut m.column_qualifier }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>( - "timestamp_micros", - |m: &Mutation_SetCell| { &m.timestamp_micros }, - |m: &mut Mutation_SetCell| { &mut m.timestamp_micros }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "value", - |m: &Mutation_SetCell| { &m.value }, - |m: &mut Mutation_SetCell| { &mut m.value }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation_SetCell", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Mutation_SetCell { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation_SetCell, - }; - unsafe { - instance.get(Mutation_SetCell::new) - } - } -} - -impl ::protobuf::Clear for Mutation_SetCell { - fn clear(&mut self) { - self.family_name.clear(); - self.column_qualifier.clear(); - self.timestamp_micros = 0; - self.value.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Mutation_SetCell { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Mutation_SetCell { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Mutation_DeleteFromColumn { - // message fields - pub family_name: ::std::string::String, - pub column_qualifier: ::std::vec::Vec, - pub time_range: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Mutation_DeleteFromColumn { - fn default() -> &'a Mutation_DeleteFromColumn { - ::default_instance() - } -} - -impl Mutation_DeleteFromColumn { - pub fn new() -> Mutation_DeleteFromColumn { - ::std::default::Default::default() - } - - // string family_name = 1; - - - pub fn get_family_name(&self) -> &str { - &self.family_name - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::std::string::String) { - self.family_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::std::string::String { - &mut self.family_name - } - - // Take field - pub fn take_family_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.family_name, ::std::string::String::new()) - } - - // bytes column_qualifier = 2; - - - pub fn get_column_qualifier(&self) -> &[u8] { - &self.column_qualifier - } - pub fn clear_column_qualifier(&mut self) { - self.column_qualifier.clear(); - } - - // Param is passed by value, moved - pub fn set_column_qualifier(&mut self, v: ::std::vec::Vec) { - self.column_qualifier = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_column_qualifier(&mut self) -> &mut ::std::vec::Vec { - &mut self.column_qualifier - } - - // Take field - pub fn take_column_qualifier(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.column_qualifier, ::std::vec::Vec::new()) - } - - // .google.bigtable.v2.TimestampRange time_range = 3; - - - pub fn get_time_range(&self) -> &TimestampRange { - self.time_range.as_ref().unwrap_or_else(|| TimestampRange::default_instance()) - } - pub fn clear_time_range(&mut self) { - self.time_range.clear(); - } - - pub fn has_time_range(&self) -> bool { - self.time_range.is_some() - } - - // Param is passed by value, moved - pub fn set_time_range(&mut self, v: TimestampRange) { - self.time_range = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_time_range(&mut self) -> &mut TimestampRange { - if self.time_range.is_none() { - self.time_range.set_default(); - } - self.time_range.as_mut().unwrap() - } - - // Take field - pub fn take_time_range(&mut self) -> TimestampRange { - self.time_range.take().unwrap_or_else(|| TimestampRange::new()) - } -} - -impl ::protobuf::Message for Mutation_DeleteFromColumn { - fn is_initialized(&self) -> bool { - for v in &self.time_range { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.family_name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.column_qualifier)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.time_range)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.family_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.family_name); - } - if !self.column_qualifier.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.column_qualifier); - } - if let Some(ref v) = self.time_range.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.family_name.is_empty() { - os.write_string(1, &self.family_name)?; - } - if !self.column_qualifier.is_empty() { - os.write_bytes(2, &self.column_qualifier)?; - } - if let Some(ref v) = self.time_range.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Mutation_DeleteFromColumn { - Mutation_DeleteFromColumn::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "family_name", - |m: &Mutation_DeleteFromColumn| { &m.family_name }, - |m: &mut Mutation_DeleteFromColumn| { &mut m.family_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "column_qualifier", - |m: &Mutation_DeleteFromColumn| { &m.column_qualifier }, - |m: &mut Mutation_DeleteFromColumn| { &mut m.column_qualifier }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "time_range", - |m: &Mutation_DeleteFromColumn| { &m.time_range }, - |m: &mut Mutation_DeleteFromColumn| { &mut m.time_range }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation_DeleteFromColumn", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Mutation_DeleteFromColumn { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation_DeleteFromColumn, - }; - unsafe { - instance.get(Mutation_DeleteFromColumn::new) - } - } -} - -impl ::protobuf::Clear for Mutation_DeleteFromColumn { - fn clear(&mut self) { - self.family_name.clear(); - self.column_qualifier.clear(); - self.time_range.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Mutation_DeleteFromColumn { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Mutation_DeleteFromColumn { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Mutation_DeleteFromFamily { - // message fields - pub family_name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Mutation_DeleteFromFamily { - fn default() -> &'a Mutation_DeleteFromFamily { - ::default_instance() - } -} - -impl Mutation_DeleteFromFamily { - pub fn new() -> Mutation_DeleteFromFamily { - ::std::default::Default::default() - } - - // string family_name = 1; - - - pub fn get_family_name(&self) -> &str { - &self.family_name - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::std::string::String) { - self.family_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::std::string::String { - &mut self.family_name - } - - // Take field - pub fn take_family_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.family_name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for Mutation_DeleteFromFamily { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.family_name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.family_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.family_name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.family_name.is_empty() { - os.write_string(1, &self.family_name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Mutation_DeleteFromFamily { - Mutation_DeleteFromFamily::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "family_name", - |m: &Mutation_DeleteFromFamily| { &m.family_name }, - |m: &mut Mutation_DeleteFromFamily| { &mut m.family_name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation_DeleteFromFamily", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Mutation_DeleteFromFamily { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation_DeleteFromFamily, - }; - unsafe { - instance.get(Mutation_DeleteFromFamily::new) - } - } -} - -impl ::protobuf::Clear for Mutation_DeleteFromFamily { - fn clear(&mut self) { - self.family_name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Mutation_DeleteFromFamily { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Mutation_DeleteFromFamily { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Mutation_DeleteFromRow { - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Mutation_DeleteFromRow { - fn default() -> &'a Mutation_DeleteFromRow { - ::default_instance() - } -} - -impl Mutation_DeleteFromRow { - pub fn new() -> Mutation_DeleteFromRow { - ::std::default::Default::default() - } -} - -impl ::protobuf::Message for Mutation_DeleteFromRow { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Mutation_DeleteFromRow { - Mutation_DeleteFromRow::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let fields = ::std::vec::Vec::new(); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation_DeleteFromRow", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Mutation_DeleteFromRow { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation_DeleteFromRow, - }; - unsafe { - instance.get(Mutation_DeleteFromRow::new) - } - } -} - -impl ::protobuf::Clear for Mutation_DeleteFromRow { - fn clear(&mut self) { - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Mutation_DeleteFromRow { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Mutation_DeleteFromRow { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReadModifyWriteRule { - // message fields - pub family_name: ::std::string::String, - pub column_qualifier: ::std::vec::Vec, - // message oneof groups - pub rule: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReadModifyWriteRule { - fn default() -> &'a ReadModifyWriteRule { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum ReadModifyWriteRule_oneof_rule { - append_value(::std::vec::Vec), - increment_amount(i64), -} - -impl ReadModifyWriteRule { - pub fn new() -> ReadModifyWriteRule { - ::std::default::Default::default() - } - - // string family_name = 1; - - - pub fn get_family_name(&self) -> &str { - &self.family_name - } - pub fn clear_family_name(&mut self) { - self.family_name.clear(); - } - - // Param is passed by value, moved - pub fn set_family_name(&mut self, v: ::std::string::String) { - self.family_name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_family_name(&mut self) -> &mut ::std::string::String { - &mut self.family_name - } - - // Take field - pub fn take_family_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.family_name, ::std::string::String::new()) - } - - // bytes column_qualifier = 2; - - - pub fn get_column_qualifier(&self) -> &[u8] { - &self.column_qualifier - } - pub fn clear_column_qualifier(&mut self) { - self.column_qualifier.clear(); - } - - // Param is passed by value, moved - pub fn set_column_qualifier(&mut self, v: ::std::vec::Vec) { - self.column_qualifier = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_column_qualifier(&mut self) -> &mut ::std::vec::Vec { - &mut self.column_qualifier - } - - // Take field - pub fn take_column_qualifier(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.column_qualifier, ::std::vec::Vec::new()) - } - - // bytes append_value = 3; - - - pub fn get_append_value(&self) -> &[u8] { - match self.rule { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(ref v)) => v, - _ => &[], - } - } - pub fn clear_append_value(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_append_value(&self) -> bool { - match self.rule { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_append_value(&mut self, v: ::std::vec::Vec) { - self.rule = ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(v)) - } - - // Mutable pointer to the field. - pub fn mut_append_value(&mut self) -> &mut ::std::vec::Vec { - if let ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(_)) = self.rule { - } else { - self.rule = ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(::std::vec::Vec::new())); - } - match self.rule { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_append_value(&mut self) -> ::std::vec::Vec { - if self.has_append_value() { - match self.rule.take() { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(v)) => v, - _ => panic!(), - } - } else { - ::std::vec::Vec::new() - } - } - - // int64 increment_amount = 4; - - - pub fn get_increment_amount(&self) -> i64 { - match self.rule { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::increment_amount(v)) => v, - _ => 0, - } - } - pub fn clear_increment_amount(&mut self) { - self.rule = ::std::option::Option::None; - } - - pub fn has_increment_amount(&self) -> bool { - match self.rule { - ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::increment_amount(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_increment_amount(&mut self, v: i64) { - self.rule = ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::increment_amount(v)) - } -} - -impl ::protobuf::Message for ReadModifyWriteRule { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.family_name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.column_qualifier)?; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::append_value(is.read_bytes()?)); - }, - 4 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.rule = ::std::option::Option::Some(ReadModifyWriteRule_oneof_rule::increment_amount(is.read_int64()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.family_name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.family_name); - } - if !self.column_qualifier.is_empty() { - my_size += ::protobuf::rt::bytes_size(2, &self.column_qualifier); - } - if let ::std::option::Option::Some(ref v) = self.rule { - match v { - &ReadModifyWriteRule_oneof_rule::append_value(ref v) => { - my_size += ::protobuf::rt::bytes_size(3, &v); - }, - &ReadModifyWriteRule_oneof_rule::increment_amount(v) => { - my_size += ::protobuf::rt::value_size(4, v, ::protobuf::wire_format::WireTypeVarint); - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.family_name.is_empty() { - os.write_string(1, &self.family_name)?; - } - if !self.column_qualifier.is_empty() { - os.write_bytes(2, &self.column_qualifier)?; - } - if let ::std::option::Option::Some(ref v) = self.rule { - match v { - &ReadModifyWriteRule_oneof_rule::append_value(ref v) => { - os.write_bytes(3, v)?; - }, - &ReadModifyWriteRule_oneof_rule::increment_amount(v) => { - os.write_int64(4, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReadModifyWriteRule { - ReadModifyWriteRule::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "family_name", - |m: &ReadModifyWriteRule| { &m.family_name }, - |m: &mut ReadModifyWriteRule| { &mut m.family_name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "column_qualifier", - |m: &ReadModifyWriteRule| { &m.column_qualifier }, - |m: &mut ReadModifyWriteRule| { &mut m.column_qualifier }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor::<_>( - "append_value", - ReadModifyWriteRule::has_append_value, - ReadModifyWriteRule::get_append_value, - )); - fields.push(::protobuf::reflect::accessor::make_singular_i64_accessor::<_>( - "increment_amount", - ReadModifyWriteRule::has_increment_amount, - ReadModifyWriteRule::get_increment_amount, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReadModifyWriteRule", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReadModifyWriteRule { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadModifyWriteRule, - }; - unsafe { - instance.get(ReadModifyWriteRule::new) - } - } -} - -impl ::protobuf::Clear for ReadModifyWriteRule { - fn clear(&mut self) { - self.family_name.clear(); - self.column_qualifier.clear(); - self.rule = ::std::option::Option::None; - self.rule = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReadModifyWriteRule { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReadModifyWriteRule { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n\x1dgoogle/bigtable/v2/data.proto\x12\x12google.bigtable.v2\"O\n\x03Ro\ - w\x12\x10\n\x03key\x18\x01\x20\x01(\x0cR\x03key\x126\n\x08families\x18\ - \x02\x20\x03(\x0b2\x1a.google.bigtable.v2.FamilyR\x08families\"R\n\x06Fa\ - mily\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x124\n\x07columns\x18\ - \x02\x20\x03(\x0b2\x1a.google.bigtable.v2.ColumnR\x07columns\"V\n\x06Col\ - umn\x12\x1c\n\tqualifier\x18\x01\x20\x01(\x0cR\tqualifier\x12.\n\x05cell\ - s\x18\x02\x20\x03(\x0b2\x18.google.bigtable.v2.CellR\x05cells\"_\n\x04Ce\ - ll\x12)\n\x10timestamp_micros\x18\x01\x20\x01(\x03R\x0ftimestampMicros\ - \x12\x14\n\x05value\x18\x02\x20\x01(\x0cR\x05value\x12\x16\n\x06labels\ - \x18\x03\x20\x03(\tR\x06labels\"\xc2\x01\n\x08RowRange\x12*\n\x10start_k\ - ey_closed\x18\x01\x20\x01(\x0cH\0R\x0estartKeyClosed\x12&\n\x0estart_key\ - _open\x18\x02\x20\x01(\x0cH\0R\x0cstartKeyOpen\x12\"\n\x0cend_key_open\ - \x18\x03\x20\x01(\x0cH\x01R\nendKeyOpen\x12&\n\x0eend_key_closed\x18\x04\ - \x20\x01(\x0cH\x01R\x0cendKeyClosedB\x0b\n\tstart_keyB\t\n\x07end_key\"`\ - \n\x06RowSet\x12\x19\n\x08row_keys\x18\x01\x20\x03(\x0cR\x07rowKeys\x12;\ - \n\nrow_ranges\x18\x02\x20\x03(\x0b2\x1c.google.bigtable.v2.RowRangeR\tr\ - owRanges\"\xa2\x02\n\x0bColumnRange\x12\x1f\n\x0bfamily_name\x18\x01\x20\ - \x01(\tR\nfamilyName\x126\n\x16start_qualifier_closed\x18\x02\x20\x01(\ - \x0cH\0R\x14startQualifierClosed\x122\n\x14start_qualifier_open\x18\x03\ - \x20\x01(\x0cH\0R\x12startQualifierOpen\x122\n\x14end_qualifier_closed\ - \x18\x04\x20\x01(\x0cH\x01R\x12endQualifierClosed\x12.\n\x12end_qualifie\ - r_open\x18\x05\x20\x01(\x0cH\x01R\x10endQualifierOpenB\x11\n\x0fstart_qu\ - alifierB\x0f\n\rend_qualifier\"x\n\x0eTimestampRange\x124\n\x16start_tim\ - estamp_micros\x18\x01\x20\x01(\x03R\x14startTimestampMicros\x120\n\x14en\ - d_timestamp_micros\x18\x02\x20\x01(\x03R\x12endTimestampMicros\"\xd8\x01\ - \n\nValueRange\x12.\n\x12start_value_closed\x18\x01\x20\x01(\x0cH\0R\x10\ - startValueClosed\x12*\n\x10start_value_open\x18\x02\x20\x01(\x0cH\0R\x0e\ - startValueOpen\x12*\n\x10end_value_closed\x18\x03\x20\x01(\x0cH\x01R\x0e\ - endValueClosed\x12&\n\x0eend_value_open\x18\x04\x20\x01(\x0cH\x01R\x0cen\ - dValueOpenB\r\n\x0bstart_valueB\x0b\n\tend_value\"\xfc\x0b\n\tRowFilter\ - \x12;\n\x05chain\x18\x01\x20\x01(\x0b2#.google.bigtable.v2.RowFilter.Cha\ - inH\0R\x05chain\x12J\n\ninterleave\x18\x02\x20\x01(\x0b2(.google.bigtabl\ - e.v2.RowFilter.InterleaveH\0R\ninterleave\x12G\n\tcondition\x18\x03\x20\ - \x01(\x0b2'.google.bigtable.v2.RowFilter.ConditionH\0R\tcondition\x12\ - \x14\n\x04sink\x18\x10\x20\x01(\x08H\0R\x04sink\x12(\n\x0fpass_all_filte\ - r\x18\x11\x20\x01(\x08H\0R\rpassAllFilter\x12*\n\x10block_all_filter\x18\ - \x12\x20\x01(\x08H\0R\x0eblockAllFilter\x121\n\x14row_key_regex_filter\ - \x18\x04\x20\x01(\x0cH\0R\x11rowKeyRegexFilter\x12,\n\x11row_sample_filt\ - er\x18\x0e\x20\x01(\x01H\0R\x0frowSampleFilter\x129\n\x18family_name_reg\ - ex_filter\x18\x05\x20\x01(\tH\0R\x15familyNameRegexFilter\x12C\n\x1dcolu\ - mn_qualifier_regex_filter\x18\x06\x20\x01(\x0cH\0R\x1acolumnQualifierReg\ - exFilter\x12Q\n\x13column_range_filter\x18\x07\x20\x01(\x0b2\x1f.google.\ - bigtable.v2.ColumnRangeH\0R\x11columnRangeFilter\x12Z\n\x16timestamp_ran\ - ge_filter\x18\x08\x20\x01(\x0b2\".google.bigtable.v2.TimestampRangeH\0R\ - \x14timestampRangeFilter\x12.\n\x12value_regex_filter\x18\t\x20\x01(\x0c\ - H\0R\x10valueRegexFilter\x12N\n\x12value_range_filter\x18\x0f\x20\x01(\ - \x0b2\x1e.google.bigtable.v2.ValueRangeH\0R\x10valueRangeFilter\x12>\n\ - \x1bcells_per_row_offset_filter\x18\n\x20\x01(\x05H\0R\x17cellsPerRowOff\ - setFilter\x12<\n\x1acells_per_row_limit_filter\x18\x0b\x20\x01(\x05H\0R\ - \x16cellsPerRowLimitFilter\x12B\n\x1dcells_per_column_limit_filter\x18\ - \x0c\x20\x01(\x05H\0R\x19cellsPerColumnLimitFilter\x128\n\x17strip_value\ - _transformer\x18\r\x20\x01(\x08H\0R\x15stripValueTransformer\x128\n\x17a\ - pply_label_transformer\x18\x13\x20\x01(\tH\0R\x15applyLabelTransformer\ - \x1a@\n\x05Chain\x127\n\x07filters\x18\x01\x20\x03(\x0b2\x1d.google.bigt\ - able.v2.RowFilterR\x07filters\x1aE\n\nInterleave\x127\n\x07filters\x18\ - \x01\x20\x03(\x0b2\x1d.google.bigtable.v2.RowFilterR\x07filters\x1a\xd7\ - \x01\n\tCondition\x12H\n\x10predicate_filter\x18\x01\x20\x01(\x0b2\x1d.g\ - oogle.bigtable.v2.RowFilterR\x0fpredicateFilter\x12>\n\x0btrue_filter\ - \x18\x02\x20\x01(\x0b2\x1d.google.bigtable.v2.RowFilterR\ntrueFilter\x12\ - @\n\x0cfalse_filter\x18\x03\x20\x01(\x0b2\x1d.google.bigtable.v2.RowFilt\ - erR\x0bfalseFilterB\x08\n\x06filter\"\xf0\x05\n\x08Mutation\x12A\n\x08se\ - t_cell\x18\x01\x20\x01(\x0b2$.google.bigtable.v2.Mutation.SetCellH\0R\ - \x07setCell\x12]\n\x12delete_from_column\x18\x02\x20\x01(\x0b2-.google.b\ - igtable.v2.Mutation.DeleteFromColumnH\0R\x10deleteFromColumn\x12]\n\x12d\ - elete_from_family\x18\x03\x20\x01(\x0b2-.google.bigtable.v2.Mutation.Del\ - eteFromFamilyH\0R\x10deleteFromFamily\x12T\n\x0fdelete_from_row\x18\x04\ - \x20\x01(\x0b2*.google.bigtable.v2.Mutation.DeleteFromRowH\0R\rdeleteFro\ - mRow\x1a\x96\x01\n\x07SetCell\x12\x1f\n\x0bfamily_name\x18\x01\x20\x01(\ - \tR\nfamilyName\x12)\n\x10column_qualifier\x18\x02\x20\x01(\x0cR\x0fcolu\ - mnQualifier\x12)\n\x10timestamp_micros\x18\x03\x20\x01(\x03R\x0ftimestam\ - pMicros\x12\x14\n\x05value\x18\x04\x20\x01(\x0cR\x05value\x1a\xa1\x01\n\ - \x10DeleteFromColumn\x12\x1f\n\x0bfamily_name\x18\x01\x20\x01(\tR\nfamil\ - yName\x12)\n\x10column_qualifier\x18\x02\x20\x01(\x0cR\x0fcolumnQualifie\ - r\x12A\n\ntime_range\x18\x03\x20\x01(\x0b2\".google.bigtable.v2.Timestam\ - pRangeR\ttimeRange\x1a3\n\x10DeleteFromFamily\x12\x1f\n\x0bfamily_name\ - \x18\x01\x20\x01(\tR\nfamilyName\x1a\x0f\n\rDeleteFromRowB\n\n\x08mutati\ - on\"\xbb\x01\n\x13ReadModifyWriteRule\x12\x1f\n\x0bfamily_name\x18\x01\ - \x20\x01(\tR\nfamilyName\x12)\n\x10column_qualifier\x18\x02\x20\x01(\x0c\ - R\x0fcolumnQualifier\x12#\n\x0cappend_value\x18\x03\x20\x01(\x0cH\0R\x0b\ - appendValue\x12+\n\x10increment_amount\x18\x04\x20\x01(\x03H\0R\x0fincre\ - mentAmountB\x06\n\x04ruleB\x97\x01\n\x16com.google.bigtable.v2B\tDataPro\ - toP\x01Z:google.golang.org/genproto/googleapis/bigtable/v2;bigtable\xaa\ - \x02\x18Google.Cloud.Bigtable.V2\xca\x02\x18Google\\Cloud\\Bigtable\\V2J\ - \x9f\xb8\x01\n\x07\x12\x05\x0e\0\x96\x04\x01\n\xbd\x04\n\x01\x0c\x12\x03\ - \x0e\0\x122\xb2\x04\x20Copyright\x202018\x20Google\x20Inc.\n\n\x20Licens\ - ed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20(the\x20\"\ - License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20except\x20i\ - n\x20compliance\x20with\x20the\x20License.\n\x20You\x20may\x20obtain\x20\ - a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\x20\x20http://ww\ - w.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20required\x20by\x20app\ - licable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\x20software\n\x20\ - distributed\x20under\x20the\x20License\x20is\x20distributed\x20on\x20an\ - \x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITION\ - S\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20implied.\n\x20See\ - \x20the\x20License\x20for\x20the\x20specific\x20language\x20governing\ - \x20permissions\x20and\n\x20limitations\x20under\x20the\x20License.\n\n\ - \x08\n\x01\x02\x12\x03\x10\0\x1b\n\x08\n\x01\x08\x12\x03\x12\05\n\t\n\ - \x02\x08%\x12\x03\x12\05\n\x08\n\x01\x08\x12\x03\x13\0Q\n\t\n\x02\x08\ - \x0b\x12\x03\x13\0Q\n\x08\n\x01\x08\x12\x03\x14\0\"\n\t\n\x02\x08\n\x12\ - \x03\x14\0\"\n\x08\n\x01\x08\x12\x03\x15\0*\n\t\n\x02\x08\x08\x12\x03\ - \x15\0*\n\x08\n\x01\x08\x12\x03\x16\0/\n\t\n\x02\x08\x01\x12\x03\x16\0/\ - \n\x08\n\x01\x08\x12\x03\x17\05\n\t\n\x02\x08)\x12\x03\x17\05\n\x90\x01\ - \n\x02\x04\0\x12\x04\x1c\0%\x01\x1a\x83\x01\x20Specifies\x20the\x20compl\ - ete\x20(requested)\x20contents\x20of\x20a\x20single\x20row\x20of\x20a\ - \x20table.\n\x20Rows\x20which\x20exceed\x20256MiB\x20in\x20size\x20canno\ - t\x20be\x20read\x20in\x20full.\n\n\n\n\x03\x04\0\x01\x12\x03\x1c\x08\x0b\ - \n\xe2\x01\n\x04\x04\0\x02\0\x12\x03\x20\x02\x10\x1a\xd4\x01\x20The\x20u\ - nique\x20key\x20which\x20identifies\x20this\x20row\x20within\x20its\x20t\ - able.\x20This\x20is\x20the\x20same\n\x20key\x20that's\x20used\x20to\x20i\ - dentify\x20the\x20row\x20in,\x20for\x20example,\x20a\x20MutateRowRequest\ - .\n\x20May\x20contain\x20any\x20non-empty\x20byte\x20string\x20up\x20to\ - \x204KiB\x20in\x20length.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04\x20\x02\ - \x1c\r\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03\x20\x02\x07\n\x0c\n\x05\x04\0\ - \x02\0\x01\x12\x03\x20\x08\x0b\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03\x20\ - \x0e\x0f\n{\n\x04\x04\0\x02\x01\x12\x03$\x02\x1f\x1an\x20May\x20be\x20em\ - pty,\x20but\x20only\x20if\x20the\x20entire\x20row\x20is\x20empty.\n\x20T\ - he\x20mutual\x20ordering\x20of\x20column\x20families\x20is\x20not\x20spe\ - cified.\n\n\x0c\n\x05\x04\0\x02\x01\x04\x12\x03$\x02\n\n\x0c\n\x05\x04\0\ - \x02\x01\x06\x12\x03$\x0b\x11\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03$\x12\ - \x1a\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03$\x1d\x1e\nf\n\x02\x04\x01\x12\ - \x04)\04\x01\x1aZ\x20Specifies\x20(some\x20of)\x20the\x20contents\x20of\ - \x20a\x20single\x20row/column\x20family\x20intersection\n\x20of\x20a\x20\ - table.\n\n\n\n\x03\x04\x01\x01\x12\x03)\x08\x0e\n\x85\x03\n\x04\x04\x01\ - \x02\0\x12\x030\x02\x12\x1a\xf7\x02\x20The\x20unique\x20key\x20which\x20\ - identifies\x20this\x20family\x20within\x20its\x20row.\x20This\x20is\x20t\ - he\n\x20same\x20key\x20that's\x20used\x20to\x20identify\x20the\x20family\ - \x20in,\x20for\x20example,\x20a\x20RowFilter\n\x20which\x20sets\x20its\ - \x20\"family_name_regex_filter\"\x20field.\n\x20Must\x20match\x20`[-_.a-\ - zA-Z0-9]+`,\x20except\x20that\x20AggregatingRowProcessors\x20may\n\x20pr\ - oduce\x20cells\x20in\x20a\x20sentinel\x20family\x20with\x20an\x20empty\ - \x20name.\n\x20Must\x20be\x20no\x20greater\x20than\x2064\x20characters\ - \x20in\x20length.\n\n\r\n\x05\x04\x01\x02\0\x04\x12\x040\x02)\x10\n\x0c\ - \n\x05\x04\x01\x02\0\x05\x12\x030\x02\x08\n\x0c\n\x05\x04\x01\x02\0\x01\ - \x12\x030\t\r\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x030\x10\x11\nL\n\x04\ - \x04\x01\x02\x01\x12\x033\x02\x1e\x1a?\x20Must\x20not\x20be\x20empty.\ - \x20Sorted\x20in\x20order\x20of\x20increasing\x20\"qualifier\".\n\n\x0c\ - \n\x05\x04\x01\x02\x01\x04\x12\x033\x02\n\n\x0c\n\x05\x04\x01\x02\x01\ - \x06\x12\x033\x0b\x11\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x033\x12\x19\n\ - \x0c\n\x05\x04\x01\x02\x01\x03\x12\x033\x1c\x1d\n_\n\x02\x04\x02\x12\x04\ - 8\0B\x01\x1aS\x20Specifies\x20(some\x20of)\x20the\x20contents\x20of\x20a\ - \x20single\x20row/column\x20intersection\x20of\x20a\n\x20table.\n\n\n\n\ - \x03\x04\x02\x01\x12\x038\x08\x0e\n\xad\x02\n\x04\x04\x02\x02\0\x12\x03>\ - \x02\x16\x1a\x9f\x02\x20The\x20unique\x20key\x20which\x20identifies\x20t\ - his\x20column\x20within\x20its\x20family.\x20This\x20is\x20the\n\x20same\ - \x20key\x20that's\x20used\x20to\x20identify\x20the\x20column\x20in,\x20f\ - or\x20example,\x20a\x20RowFilter\n\x20which\x20sets\x20its\x20`column_qu\ - alifier_regex_filter`\x20field.\n\x20May\x20contain\x20any\x20byte\x20st\ - ring,\x20including\x20the\x20empty\x20string,\x20up\x20to\x2016kiB\x20in\ - \n\x20length.\n\n\r\n\x05\x04\x02\x02\0\x04\x12\x04>\x028\x10\n\x0c\n\ - \x05\x04\x02\x02\0\x05\x12\x03>\x02\x07\n\x0c\n\x05\x04\x02\x02\0\x01\ - \x12\x03>\x08\x11\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03>\x14\x15\nS\n\ - \x04\x04\x02\x02\x01\x12\x03A\x02\x1a\x1aF\x20Must\x20not\x20be\x20empty\ - .\x20Sorted\x20in\x20order\x20of\x20decreasing\x20\"timestamp_micros\".\ - \n\n\x0c\n\x05\x04\x02\x02\x01\x04\x12\x03A\x02\n\n\x0c\n\x05\x04\x02\ - \x02\x01\x06\x12\x03A\x0b\x0f\n\x0c\n\x05\x04\x02\x02\x01\x01\x12\x03A\ - \x10\x15\n\x0c\n\x05\x04\x02\x02\x01\x03\x12\x03A\x18\x19\n[\n\x02\x04\ - \x03\x12\x04E\0U\x01\x1aO\x20Specifies\x20(some\x20of)\x20the\x20content\ - s\x20of\x20a\x20single\x20row/column/timestamp\x20of\x20a\x20table.\n\n\ - \n\n\x03\x04\x03\x01\x12\x03E\x08\x0c\n\xf6\x02\n\x04\x04\x03\x02\0\x12\ - \x03L\x02\x1d\x1a\xe8\x02\x20The\x20cell's\x20stored\x20timestamp,\x20wh\ - ich\x20also\x20uniquely\x20identifies\x20it\x20within\n\x20its\x20column\ - .\n\x20Values\x20are\x20always\x20expressed\x20in\x20microseconds,\x20bu\ - t\x20individual\x20tables\x20may\x20set\n\x20a\x20coarser\x20granularity\ - \x20to\x20further\x20restrict\x20the\x20allowed\x20values.\x20For\n\x20e\ - xample,\x20a\x20table\x20which\x20specifies\x20millisecond\x20granularit\ - y\x20will\x20only\x20allow\n\x20values\x20of\x20`timestamp_micros`\x20wh\ - ich\x20are\x20multiples\x20of\x201000.\n\n\r\n\x05\x04\x03\x02\0\x04\x12\ - \x04L\x02E\x0e\n\x0c\n\x05\x04\x03\x02\0\x05\x12\x03L\x02\x07\n\x0c\n\ - \x05\x04\x03\x02\0\x01\x12\x03L\x08\x18\n\x0c\n\x05\x04\x03\x02\0\x03\ - \x12\x03L\x1b\x1c\n\x7f\n\x04\x04\x03\x02\x01\x12\x03Q\x02\x12\x1ar\x20T\ - he\x20value\x20stored\x20in\x20the\x20cell.\n\x20May\x20contain\x20any\ - \x20byte\x20string,\x20including\x20the\x20empty\x20string,\x20up\x20to\ - \x20100MiB\x20in\n\x20length.\n\n\r\n\x05\x04\x03\x02\x01\x04\x12\x04Q\ - \x02L\x1d\n\x0c\n\x05\x04\x03\x02\x01\x05\x12\x03Q\x02\x07\n\x0c\n\x05\ - \x04\x03\x02\x01\x01\x12\x03Q\x08\r\n\x0c\n\x05\x04\x03\x02\x01\x03\x12\ - \x03Q\x10\x11\nY\n\x04\x04\x03\x02\x02\x12\x03T\x02\x1d\x1aL\x20Labels\ - \x20applied\x20to\x20the\x20cell\x20by\x20a\x20[RowFilter][google.bigtab\ - le.v2.RowFilter].\n\n\x0c\n\x05\x04\x03\x02\x02\x04\x12\x03T\x02\n\n\x0c\ - \n\x05\x04\x03\x02\x02\x05\x12\x03T\x0b\x11\n\x0c\n\x05\x04\x03\x02\x02\ - \x01\x12\x03T\x12\x18\n\x0c\n\x05\x04\x03\x02\x02\x03\x12\x03T\x1b\x1c\n\ - 3\n\x02\x04\x04\x12\x04X\0l\x01\x1a'\x20Specifies\x20a\x20contiguous\x20\ - range\x20of\x20rows.\n\n\n\n\x03\x04\x04\x01\x12\x03X\x08\x10\n~\n\x04\ - \x04\x04\x08\0\x12\x04[\x02a\x03\x1ap\x20The\x20row\x20key\x20at\x20whic\ - h\x20to\x20start\x20the\x20range.\n\x20If\x20neither\x20field\x20is\x20s\ - et,\x20interpreted\x20as\x20the\x20empty\x20string,\x20inclusive.\n\n\ - \x0c\n\x05\x04\x04\x08\0\x01\x12\x03[\x08\x11\nG\n\x04\x04\x04\x02\0\x12\ - \x03]\x04\x1f\x1a:\x20Used\x20when\x20giving\x20an\x20inclusive\x20lower\ - \x20bound\x20for\x20the\x20range.\n\n\x0c\n\x05\x04\x04\x02\0\x05\x12\ - \x03]\x04\t\n\x0c\n\x05\x04\x04\x02\0\x01\x12\x03]\n\x1a\n\x0c\n\x05\x04\ - \x04\x02\0\x03\x12\x03]\x1d\x1e\nG\n\x04\x04\x04\x02\x01\x12\x03`\x04\ - \x1d\x1a:\x20Used\x20when\x20giving\x20an\x20exclusive\x20lower\x20bound\ - \x20for\x20the\x20range.\n\n\x0c\n\x05\x04\x04\x02\x01\x05\x12\x03`\x04\ - \t\n\x0c\n\x05\x04\x04\x02\x01\x01\x12\x03`\n\x18\n\x0c\n\x05\x04\x04\ - \x02\x01\x03\x12\x03`\x1b\x1c\n\x80\x01\n\x04\x04\x04\x08\x01\x12\x04e\ - \x02k\x03\x1ar\x20The\x20row\x20key\x20at\x20which\x20to\x20end\x20the\ - \x20range.\n\x20If\x20neither\x20field\x20is\x20set,\x20interpreted\x20a\ - s\x20the\x20infinite\x20row\x20key,\x20exclusive.\n\n\x0c\n\x05\x04\x04\ - \x08\x01\x01\x12\x03e\x08\x0f\nG\n\x04\x04\x04\x02\x02\x12\x03g\x04\x1b\ - \x1a:\x20Used\x20when\x20giving\x20an\x20exclusive\x20upper\x20bound\x20\ - for\x20the\x20range.\n\n\x0c\n\x05\x04\x04\x02\x02\x05\x12\x03g\x04\t\n\ - \x0c\n\x05\x04\x04\x02\x02\x01\x12\x03g\n\x16\n\x0c\n\x05\x04\x04\x02\ - \x02\x03\x12\x03g\x19\x1a\nG\n\x04\x04\x04\x02\x03\x12\x03j\x04\x1d\x1a:\ - \x20Used\x20when\x20giving\x20an\x20inclusive\x20upper\x20bound\x20for\ - \x20the\x20range.\n\n\x0c\n\x05\x04\x04\x02\x03\x05\x12\x03j\x04\t\n\x0c\ - \n\x05\x04\x04\x02\x03\x01\x12\x03j\n\x18\n\x0c\n\x05\x04\x04\x02\x03\ - \x03\x12\x03j\x1b\x1c\n5\n\x02\x04\x05\x12\x04o\0u\x01\x1a)\x20Specifies\ - \x20a\x20non-contiguous\x20set\x20of\x20rows.\n\n\n\n\x03\x04\x05\x01\ - \x12\x03o\x08\x0e\n/\n\x04\x04\x05\x02\0\x12\x03q\x02\x1e\x1a\"\x20Singl\ - e\x20rows\x20included\x20in\x20the\x20set.\n\n\x0c\n\x05\x04\x05\x02\0\ - \x04\x12\x03q\x02\n\n\x0c\n\x05\x04\x05\x02\0\x05\x12\x03q\x0b\x10\n\x0c\ - \n\x05\x04\x05\x02\0\x01\x12\x03q\x11\x19\n\x0c\n\x05\x04\x05\x02\0\x03\ - \x12\x03q\x1c\x1d\n9\n\x04\x04\x05\x02\x01\x12\x03t\x02#\x1a,\x20Contigu\ - ous\x20row\x20ranges\x20included\x20in\x20the\x20set.\n\n\x0c\n\x05\x04\ - \x05\x02\x01\x04\x12\x03t\x02\n\n\x0c\n\x05\x04\x05\x02\x01\x06\x12\x03t\ - \x0b\x13\n\x0c\n\x05\x04\x05\x02\x01\x01\x12\x03t\x14\x1e\n\x0c\n\x05\ - \x04\x05\x02\x01\x03\x12\x03t!\"\n\x84\x02\n\x02\x04\x06\x12\x05{\0\x92\ - \x01\x01\x1a\xf6\x01\x20Specifies\x20a\x20contiguous\x20range\x20of\x20c\ - olumns\x20within\x20a\x20single\x20column\x20family.\n\x20The\x20range\ - \x20spans\x20from\x20<column_family>:<start_qualifier>\x20to\ - \n\x20<column_family>:<end_qualifier>,\x20where\x20both\x20b\ - ounds\x20can\x20be\x20either\n\x20inclusive\x20or\x20exclusive.\n\n\n\n\ - \x03\x04\x06\x01\x12\x03{\x08\x13\nK\n\x04\x04\x06\x02\0\x12\x03}\x02\ - \x19\x1a>\x20The\x20name\x20of\x20the\x20column\x20family\x20within\x20w\ - hich\x20this\x20range\x20falls.\n\n\r\n\x05\x04\x06\x02\0\x04\x12\x04}\ - \x02{\x15\n\x0c\n\x05\x04\x06\x02\0\x05\x12\x03}\x02\x08\n\x0c\n\x05\x04\ - \x06\x02\0\x01\x12\x03}\t\x14\n\x0c\n\x05\x04\x06\x02\0\x03\x12\x03}\x17\ - \x18\n\xa3\x01\n\x04\x04\x06\x08\0\x12\x06\x81\x01\x02\x87\x01\x03\x1a\ - \x92\x01\x20The\x20column\x20qualifier\x20at\x20which\x20to\x20start\x20\ - the\x20range\x20(within\x20`column_family`).\n\x20If\x20neither\x20field\ - \x20is\x20set,\x20interpreted\x20as\x20the\x20empty\x20string,\x20inclus\ - ive.\n\n\r\n\x05\x04\x06\x08\0\x01\x12\x04\x81\x01\x08\x17\nH\n\x04\x04\ - \x06\x02\x01\x12\x04\x83\x01\x04%\x1a:\x20Used\x20when\x20giving\x20an\ - \x20inclusive\x20lower\x20bound\x20for\x20the\x20range.\n\n\r\n\x05\x04\ - \x06\x02\x01\x05\x12\x04\x83\x01\x04\t\n\r\n\x05\x04\x06\x02\x01\x01\x12\ - \x04\x83\x01\n\x20\n\r\n\x05\x04\x06\x02\x01\x03\x12\x04\x83\x01#$\nH\n\ - \x04\x04\x06\x02\x02\x12\x04\x86\x01\x04#\x1a:\x20Used\x20when\x20giving\ - \x20an\x20exclusive\x20lower\x20bound\x20for\x20the\x20range.\n\n\r\n\ - \x05\x04\x06\x02\x02\x05\x12\x04\x86\x01\x04\t\n\r\n\x05\x04\x06\x02\x02\ - \x01\x12\x04\x86\x01\n\x1e\n\r\n\x05\x04\x06\x02\x02\x03\x12\x04\x86\x01\ - !\"\n\xa4\x01\n\x04\x04\x06\x08\x01\x12\x06\x8b\x01\x02\x91\x01\x03\x1a\ - \x93\x01\x20The\x20column\x20qualifier\x20at\x20which\x20to\x20end\x20th\ - e\x20range\x20(within\x20`column_family`).\n\x20If\x20neither\x20field\ - \x20is\x20set,\x20interpreted\x20as\x20the\x20infinite\x20string,\x20exc\ - lusive.\n\n\r\n\x05\x04\x06\x08\x01\x01\x12\x04\x8b\x01\x08\x15\nH\n\x04\ - \x04\x06\x02\x03\x12\x04\x8d\x01\x04#\x1a:\x20Used\x20when\x20giving\x20\ - an\x20inclusive\x20upper\x20bound\x20for\x20the\x20range.\n\n\r\n\x05\ - \x04\x06\x02\x03\x05\x12\x04\x8d\x01\x04\t\n\r\n\x05\x04\x06\x02\x03\x01\ - \x12\x04\x8d\x01\n\x1e\n\r\n\x05\x04\x06\x02\x03\x03\x12\x04\x8d\x01!\"\ - \nH\n\x04\x04\x06\x02\x04\x12\x04\x90\x01\x04!\x1a:\x20Used\x20when\x20g\ - iving\x20an\x20exclusive\x20upper\x20bound\x20for\x20the\x20range.\n\n\r\ - \n\x05\x04\x06\x02\x04\x05\x12\x04\x90\x01\x04\t\n\r\n\x05\x04\x06\x02\ - \x04\x01\x12\x04\x90\x01\n\x1c\n\r\n\x05\x04\x06\x02\x04\x03\x12\x04\x90\ - \x01\x1f\x20\nG\n\x02\x04\x07\x12\x06\x95\x01\0\x9b\x01\x01\x1a9\x20Spec\ - ified\x20a\x20contiguous\x20range\x20of\x20microsecond\x20timestamps.\n\ - \n\x0b\n\x03\x04\x07\x01\x12\x04\x95\x01\x08\x16\nG\n\x04\x04\x07\x02\0\ - \x12\x04\x97\x01\x02#\x1a9\x20Inclusive\x20lower\x20bound.\x20If\x20left\ - \x20empty,\x20interpreted\x20as\x200.\n\n\x0f\n\x05\x04\x07\x02\0\x04\ - \x12\x06\x97\x01\x02\x95\x01\x18\n\r\n\x05\x04\x07\x02\0\x05\x12\x04\x97\ - \x01\x02\x07\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\x97\x01\x08\x1e\n\r\n\ - \x05\x04\x07\x02\0\x03\x12\x04\x97\x01!\"\nN\n\x04\x04\x07\x02\x01\x12\ - \x04\x9a\x01\x02!\x1a@\x20Exclusive\x20upper\x20bound.\x20If\x20left\x20\ - empty,\x20interpreted\x20as\x20infinity.\n\n\x0f\n\x05\x04\x07\x02\x01\ - \x04\x12\x06\x9a\x01\x02\x97\x01#\n\r\n\x05\x04\x07\x02\x01\x05\x12\x04\ - \x9a\x01\x02\x07\n\r\n\x05\x04\x07\x02\x01\x01\x12\x04\x9a\x01\x08\x1c\n\ - \r\n\x05\x04\x07\x02\x01\x03\x12\x04\x9a\x01\x1f\x20\n@\n\x02\x04\x08\ - \x12\x06\x9e\x01\0\xb2\x01\x01\x1a2\x20Specifies\x20a\x20contiguous\x20r\ - ange\x20of\x20raw\x20byte\x20values.\n\n\x0b\n\x03\x04\x08\x01\x12\x04\ - \x9e\x01\x08\x12\n~\n\x04\x04\x08\x08\0\x12\x06\xa1\x01\x02\xa7\x01\x03\ - \x1an\x20The\x20value\x20at\x20which\x20to\x20start\x20the\x20range.\n\ - \x20If\x20neither\x20field\x20is\x20set,\x20interpreted\x20as\x20the\x20\ - empty\x20string,\x20inclusive.\n\n\r\n\x05\x04\x08\x08\0\x01\x12\x04\xa1\ - \x01\x08\x13\nH\n\x04\x04\x08\x02\0\x12\x04\xa3\x01\x04!\x1a:\x20Used\ - \x20when\x20giving\x20an\x20inclusive\x20lower\x20bound\x20for\x20the\ - \x20range.\n\n\r\n\x05\x04\x08\x02\0\x05\x12\x04\xa3\x01\x04\t\n\r\n\x05\ - \x04\x08\x02\0\x01\x12\x04\xa3\x01\n\x1c\n\r\n\x05\x04\x08\x02\0\x03\x12\ - \x04\xa3\x01\x1f\x20\nH\n\x04\x04\x08\x02\x01\x12\x04\xa6\x01\x04\x1f\ - \x1a:\x20Used\x20when\x20giving\x20an\x20exclusive\x20lower\x20bound\x20\ - for\x20the\x20range.\n\n\r\n\x05\x04\x08\x02\x01\x05\x12\x04\xa6\x01\x04\ - \t\n\r\n\x05\x04\x08\x02\x01\x01\x12\x04\xa6\x01\n\x1a\n\r\n\x05\x04\x08\ - \x02\x01\x03\x12\x04\xa6\x01\x1d\x1e\n\x7f\n\x04\x04\x08\x08\x01\x12\x06\ - \xab\x01\x02\xb1\x01\x03\x1ao\x20The\x20value\x20at\x20which\x20to\x20en\ - d\x20the\x20range.\n\x20If\x20neither\x20field\x20is\x20set,\x20interpre\ - ted\x20as\x20the\x20infinite\x20string,\x20exclusive.\n\n\r\n\x05\x04\ - \x08\x08\x01\x01\x12\x04\xab\x01\x08\x11\nH\n\x04\x04\x08\x02\x02\x12\ - \x04\xad\x01\x04\x1f\x1a:\x20Used\x20when\x20giving\x20an\x20inclusive\ - \x20upper\x20bound\x20for\x20the\x20range.\n\n\r\n\x05\x04\x08\x02\x02\ - \x05\x12\x04\xad\x01\x04\t\n\r\n\x05\x04\x08\x02\x02\x01\x12\x04\xad\x01\ - \n\x1a\n\r\n\x05\x04\x08\x02\x02\x03\x12\x04\xad\x01\x1d\x1e\nH\n\x04\ - \x04\x08\x02\x03\x12\x04\xb0\x01\x04\x1d\x1a:\x20Used\x20when\x20giving\ - \x20an\x20exclusive\x20upper\x20bound\x20for\x20the\x20range.\n\n\r\n\ - \x05\x04\x08\x02\x03\x05\x12\x04\xb0\x01\x04\t\n\r\n\x05\x04\x08\x02\x03\ - \x01\x12\x04\xb0\x01\n\x18\n\r\n\x05\x04\x08\x02\x03\x03\x12\x04\xb0\x01\ - \x1b\x1c\n\xa9\x0f\n\x02\x04\t\x12\x06\xd5\x01\0\xb8\x03\x01\x1a\x9a\x0f\ - \x20Takes\x20a\x20row\x20as\x20input\x20and\x20produces\x20an\x20alterna\ - te\x20view\x20of\x20the\x20row\x20based\x20on\n\x20specified\x20rules.\ - \x20For\x20example,\x20a\x20RowFilter\x20might\x20trim\x20down\x20a\x20r\ - ow\x20to\x20include\n\x20just\x20the\x20cells\x20from\x20columns\x20matc\ - hing\x20a\x20given\x20regular\x20expression,\x20or\x20might\n\x20return\ - \x20all\x20the\x20cells\x20of\x20a\x20row\x20but\x20not\x20their\x20valu\ - es.\x20More\x20complicated\x20filters\n\x20can\x20be\x20composed\x20out\ - \x20of\x20these\x20components\x20to\x20express\x20requests\x20such\x20as\ - ,\x20\"within\n\x20every\x20column\x20of\x20a\x20particular\x20family,\ - \x20give\x20just\x20the\x20two\x20most\x20recent\x20cells\n\x20which\x20\ - are\x20older\x20than\x20timestamp\x20X.\"\n\n\x20There\x20are\x20two\x20\ - broad\x20categories\x20of\x20RowFilters\x20(true\x20filters\x20and\x20tr\ - ansformers),\n\x20as\x20well\x20as\x20two\x20ways\x20to\x20compose\x20si\ - mple\x20filters\x20into\x20more\x20complex\x20ones\n\x20(chains\x20and\ - \x20interleaves).\x20They\x20work\x20as\x20follows:\n\n\x20*\x20True\x20\ - filters\x20alter\x20the\x20input\x20row\x20by\x20excluding\x20some\x20of\ - \x20its\x20cells\x20wholesale\n\x20from\x20the\x20output\x20row.\x20An\ - \x20example\x20of\x20a\x20true\x20filter\x20is\x20the\x20`value_regex_fi\ - lter`,\n\x20which\x20excludes\x20cells\x20whose\x20values\x20don't\x20ma\ - tch\x20the\x20specified\x20pattern.\x20All\n\x20regex\x20true\x20filters\ - \x20use\x20RE2\x20syntax\x20(https://github.com/google/re2/wiki/Syntax)\ - \n\x20in\x20raw\x20byte\x20mode\x20(RE2::Latin1),\x20and\x20are\x20evalu\ - ated\x20as\x20full\x20matches.\x20An\n\x20important\x20point\x20to\x20ke\ - ep\x20in\x20mind\x20is\x20that\x20`RE2(.)`\x20is\x20equivalent\x20by\x20\ - default\x20to\n\x20`RE2([^\\n])`,\x20meaning\x20that\x20it\x20does\x20no\ - t\x20match\x20newlines.\x20When\x20attempting\x20to\n\x20match\x20an\x20\ - arbitrary\x20byte,\x20you\x20should\x20therefore\x20use\x20the\x20escape\ - \x20sequence\x20`\\C`,\n\x20which\x20may\x20need\x20to\x20be\x20further\ - \x20escaped\x20as\x20`\\\\C`\x20in\x20your\x20client\x20language.\n\n\ - \x20*\x20Transformers\x20alter\x20the\x20input\x20row\x20by\x20changing\ - \x20the\x20values\x20of\x20some\x20of\x20its\n\x20cells\x20in\x20the\x20\ - output,\x20without\x20excluding\x20them\x20completely.\x20Currently,\x20\ - the\x20only\n\x20supported\x20transformer\x20is\x20the\x20`strip_value_t\ - ransformer`,\x20which\x20replaces\x20every\n\x20cell's\x20value\x20with\ - \x20the\x20empty\x20string.\n\n\x20*\x20Chains\x20and\x20interleaves\x20\ - are\x20described\x20in\x20more\x20detail\x20in\x20the\n\x20RowFilter.Cha\ - in\x20and\x20RowFilter.Interleave\x20documentation.\n\n\x20The\x20total\ - \x20serialized\x20size\x20of\x20a\x20RowFilter\x20message\x20must\x20not\ - \n\x20exceed\x204096\x20bytes,\x20and\x20RowFilters\x20may\x20not\x20be\ - \x20nested\x20within\x20each\x20other\n\x20(in\x20Chains\x20or\x20Interl\ - eaves)\x20to\x20a\x20depth\x20of\x20more\x20than\x2020.\n\n\x0b\n\x03\ - \x04\t\x01\x12\x04\xd5\x01\x08\x11\nV\n\x04\x04\t\x03\0\x12\x06\xd7\x01\ - \x02\xdc\x01\x03\x1aF\x20A\x20RowFilter\x20which\x20sends\x20rows\x20thr\ - ough\x20several\x20RowFilters\x20in\x20sequence.\n\n\r\n\x05\x04\t\x03\0\ - \x01\x12\x04\xd7\x01\n\x0f\n\xc9\x01\n\x06\x04\t\x03\0\x02\0\x12\x04\xdb\ - \x01\x04#\x1a\xb8\x01\x20The\x20elements\x20of\x20\"filters\"\x20are\x20\ - chained\x20together\x20to\x20process\x20the\x20input\x20row:\n\x20in\x20\ - row\x20->\x20f(0)\x20->\x20intermediate\x20row\x20->\x20f(1)\x20->\x20..\ - .\x20->\x20f(N)\x20->\x20out\x20row\n\x20The\x20full\x20chain\x20is\x20e\ - xecuted\x20atomically.\n\n\x0f\n\x07\x04\t\x03\0\x02\0\x04\x12\x04\xdb\ - \x01\x04\x0c\n\x0f\n\x07\x04\t\x03\0\x02\0\x06\x12\x04\xdb\x01\r\x16\n\ - \x0f\n\x07\x04\t\x03\0\x02\0\x01\x12\x04\xdb\x01\x17\x1e\n\x0f\n\x07\x04\ - \t\x03\0\x02\0\x03\x12\x04\xdb\x01!\"\nx\n\x04\x04\t\x03\x01\x12\x06\xe0\ - \x01\x02\xfb\x01\x03\x1ah\x20A\x20RowFilter\x20which\x20sends\x20each\ - \x20row\x20to\x20each\x20of\x20several\x20component\n\x20RowFilters\x20a\ - nd\x20interleaves\x20the\x20results.\n\n\r\n\x05\x04\t\x03\x01\x01\x12\ - \x04\xe0\x01\n\x14\n\x93\x0b\n\x06\x04\t\x03\x01\x02\0\x12\x04\xfa\x01\ - \x04#\x1a\x82\x0b\x20The\x20elements\x20of\x20\"filters\"\x20all\x20proc\ - ess\x20a\x20copy\x20of\x20the\x20input\x20row,\x20and\x20the\n\x20result\ - s\x20are\x20pooled,\x20sorted,\x20and\x20combined\x20into\x20a\x20single\ - \x20output\x20row.\n\x20If\x20multiple\x20cells\x20are\x20produced\x20wi\ - th\x20the\x20same\x20column\x20and\x20timestamp,\n\x20they\x20will\x20al\ - l\x20appear\x20in\x20the\x20output\x20row\x20in\x20an\x20unspecified\x20\ - mutual\x20order.\n\x20Consider\x20the\x20following\x20example,\x20with\ - \x20three\x20filters:\n\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20input\x20row\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20------------------------------------------------\ - -----\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20f(0)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20f(1)\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20f(2)\n\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x201:\x20foo,bar\ - ,10,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20foo,bar,10,z\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20far,bar,7,a\n\ - \x20\x20\x20\x20\x202:\x20foo,blah,11,z\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20far,blah,5,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20far,blah,5,x\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20------------------------\ - -----------------------------\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x201:\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20foo,bar,10,z\x20\x20\x20//\x20could\x20have\x20switched\x20w\ - ith\x20#2\n\x20\x20\x20\x20\x202:\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20foo,bar,10,x\x20\x20\ - \x20//\x20could\x20have\x20switched\x20with\x20#1\n\x20\x20\x20\x20\x203\ - :\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20foo,blah,11,z\n\x20\x20\x20\x20\x204:\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20far,bar,7,a\n\x20\x20\x20\x20\x205:\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20far,blah,5,x\x20\ - \x20\x20//\x20identical\x20to\x20#6\n\x20\x20\x20\x20\x206:\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20far,blah,5,x\x20\x20\x20//\x20identical\x20to\x20#5\n\n\x20All\x20in\ - terleaved\x20filters\x20are\x20executed\x20atomically.\n\n\x0f\n\x07\x04\ - \t\x03\x01\x02\0\x04\x12\x04\xfa\x01\x04\x0c\n\x0f\n\x07\x04\t\x03\x01\ - \x02\0\x06\x12\x04\xfa\x01\r\x16\n\x0f\n\x07\x04\t\x03\x01\x02\0\x01\x12\ - \x04\xfa\x01\x17\x1e\n\x0f\n\x07\x04\t\x03\x01\x02\0\x03\x12\x04\xfa\x01\ - !\"\n\xb4\x03\n\x04\x04\t\x03\x02\x12\x06\x84\x02\x02\x91\x02\x03\x1a\ - \xa3\x03\x20A\x20RowFilter\x20which\x20evaluates\x20one\x20of\x20two\x20\ - possible\x20RowFilters,\x20depending\x20on\n\x20whether\x20or\x20not\x20\ - a\x20predicate\x20RowFilter\x20outputs\x20any\x20cells\x20from\x20the\ - \x20input\x20row.\n\n\x20IMPORTANT\x20NOTE:\x20The\x20predicate\x20filte\ - r\x20does\x20not\x20execute\x20atomically\x20with\x20the\n\x20true\x20an\ - d\x20false\x20filters,\x20which\x20may\x20lead\x20to\x20inconsistent\x20\ - or\x20unexpected\n\x20results.\x20Additionally,\x20Condition\x20filters\ - \x20have\x20poor\x20performance,\x20especially\n\x20when\x20filters\x20a\ - re\x20set\x20for\x20the\x20false\x20condition.\n\n\r\n\x05\x04\t\x03\x02\ - \x01\x12\x04\x84\x02\n\x13\n\xa0\x01\n\x06\x04\t\x03\x02\x02\0\x12\x04\ - \x87\x02\x04#\x1a\x8f\x01\x20If\x20`predicate_filter`\x20outputs\x20any\ - \x20cells,\x20then\x20`true_filter`\x20will\x20be\n\x20evaluated\x20on\ - \x20the\x20input\x20row.\x20Otherwise,\x20`false_filter`\x20will\x20be\ - \x20evaluated.\n\n\x11\n\x07\x04\t\x03\x02\x02\0\x04\x12\x06\x87\x02\x04\ - \x84\x02\x15\n\x0f\n\x07\x04\t\x03\x02\x02\0\x06\x12\x04\x87\x02\x04\r\n\ - \x0f\n\x07\x04\t\x03\x02\x02\0\x01\x12\x04\x87\x02\x0e\x1e\n\x0f\n\x07\ - \x04\t\x03\x02\x02\0\x03\x12\x04\x87\x02!\"\n\xa2\x01\n\x06\x04\t\x03\ - \x02\x02\x01\x12\x04\x8b\x02\x04\x1e\x1a\x91\x01\x20The\x20filter\x20to\ - \x20apply\x20to\x20the\x20input\x20row\x20if\x20`predicate_filter`\x20re\ - turns\x20any\n\x20results.\x20If\x20not\x20provided,\x20no\x20results\ - \x20will\x20be\x20returned\x20in\x20the\x20true\x20case.\n\n\x11\n\x07\ - \x04\t\x03\x02\x02\x01\x04\x12\x06\x8b\x02\x04\x87\x02#\n\x0f\n\x07\x04\ - \t\x03\x02\x02\x01\x06\x12\x04\x8b\x02\x04\r\n\x0f\n\x07\x04\t\x03\x02\ - \x02\x01\x01\x12\x04\x8b\x02\x0e\x19\n\x0f\n\x07\x04\t\x03\x02\x02\x01\ - \x03\x12\x04\x8b\x02\x1c\x1d\n\xac\x01\n\x06\x04\t\x03\x02\x02\x02\x12\ - \x04\x90\x02\x04\x1f\x1a\x9b\x01\x20The\x20filter\x20to\x20apply\x20to\ - \x20the\x20input\x20row\x20if\x20`predicate_filter`\x20does\x20not\n\x20\ - return\x20any\x20results.\x20If\x20not\x20provided,\x20no\x20results\x20\ - will\x20be\x20returned\x20in\x20the\n\x20false\x20case.\n\n\x11\n\x07\ - \x04\t\x03\x02\x02\x02\x04\x12\x06\x90\x02\x04\x8b\x02\x1e\n\x0f\n\x07\ - \x04\t\x03\x02\x02\x02\x06\x12\x04\x90\x02\x04\r\n\x0f\n\x07\x04\t\x03\ - \x02\x02\x02\x01\x12\x04\x90\x02\x0e\x1a\n\x0f\n\x07\x04\t\x03\x02\x02\ - \x02\x03\x12\x04\x90\x02\x1d\x1e\n\x86\x01\n\x04\x04\t\x08\0\x12\x06\x95\ - \x02\x02\xb7\x03\x03\x1av\x20Which\x20of\x20the\x20possible\x20RowFilter\ - \x20types\x20to\x20apply.\x20If\x20none\x20are\x20set,\x20this\n\x20RowF\ - ilter\x20returns\x20all\x20cells\x20in\x20the\x20input\x20row.\n\n\r\n\ - \x05\x04\t\x08\0\x01\x12\x04\x95\x02\x08\x0e\ni\n\x04\x04\t\x02\0\x12\ - \x04\x98\x02\x04\x14\x1a[\x20Applies\x20several\x20RowFilters\x20to\x20t\ - he\x20data\x20in\x20sequence,\x20progressively\n\x20narrowing\x20the\x20\ - results.\n\n\r\n\x05\x04\t\x02\0\x06\x12\x04\x98\x02\x04\t\n\r\n\x05\x04\ - \t\x02\0\x01\x12\x04\x98\x02\n\x0f\n\r\n\x05\x04\t\x02\0\x03\x12\x04\x98\ - \x02\x12\x13\n]\n\x04\x04\t\x02\x01\x12\x04\x9c\x02\x04\x1e\x1aO\x20Appl\ - ies\x20several\x20RowFilters\x20to\x20the\x20data\x20in\x20parallel\x20a\ - nd\x20combines\x20the\n\x20results.\n\n\r\n\x05\x04\t\x02\x01\x06\x12\ - \x04\x9c\x02\x04\x0e\n\r\n\x05\x04\t\x02\x01\x01\x12\x04\x9c\x02\x0f\x19\ - \n\r\n\x05\x04\t\x02\x01\x03\x12\x04\x9c\x02\x1c\x1d\nq\n\x04\x04\t\x02\ - \x02\x12\x04\xa0\x02\x04\x1c\x1ac\x20Applies\x20one\x20of\x20two\x20poss\ - ible\x20RowFilters\x20to\x20the\x20data\x20based\x20on\x20the\x20output\ - \x20of\n\x20a\x20predicate\x20RowFilter.\n\n\r\n\x05\x04\t\x02\x02\x06\ - \x12\x04\xa0\x02\x04\r\n\r\n\x05\x04\t\x02\x02\x01\x12\x04\xa0\x02\x0e\ - \x17\n\r\n\x05\x04\t\x02\x02\x03\x12\x04\xa0\x02\x1a\x1b\n\xb7\x14\n\x04\ - \x04\t\x02\x03\x12\x04\xdd\x02\x04\x13\x1a\xa8\x14\x20ADVANCED\x20USE\ - \x20ONLY.\n\x20Hook\x20for\x20introspection\x20into\x20the\x20RowFilter.\ - \x20Outputs\x20all\x20cells\x20directly\x20to\n\x20the\x20output\x20of\ - \x20the\x20read\x20rather\x20than\x20to\x20any\x20parent\x20filter.\x20C\ - onsider\x20the\n\x20following\x20example:\n\n\x20\x20\x20\x20\x20Chain(\ - \n\x20\x20\x20\x20\x20\x20\x20FamilyRegex(\"A\"),\n\x20\x20\x20\x20\x20\ - \x20\x20Interleave(\n\x20\x20\x20\x20\x20\x20\x20\x20\x20All(),\n\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20Chain(Label(\"foo\"),\x20Sink())\n\x20\ - \x20\x20\x20\x20\x20\x20),\n\x20\x20\x20\x20\x20\x20\x20QualifierRegex(\ - \"B\")\n\x20\x20\x20\x20\x20)\n\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A,A,1,w\ - \n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20A,B,2,x\n\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - B,B,4,z\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fami\ - lyRegex(\"A\")\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20A,A,1,w\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A,B,2,x\n\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20+------------+-------------+\n\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All()\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20Label(foo)\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20A,A,1,w\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20A,A,1,w,labels:[foo]\n\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20A,B,2,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20A,B,2,x,labels:[foo]\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20Sink()\x20--------------+\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20+------------+\x20\ - \x20\x20\x20\x20\x20x------+\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A,A,\ - 1,w,labels:[foo]\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20A,B,2,x,labels:[foo]\n\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A,A,\ - 1,w\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20A,B,2,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20QualifierRegex(\"B\")\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - |\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A,B,2,x\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20|\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20+-----------------------\ - ---------+\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\n\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20A,A,1,w,labels:[foo]\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A,B,2,x,\ - labels:[foo]\x20\x20//\x20could\x20be\x20switched\n\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20A,B,2,x\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20//\x20could\x20be\x20switched\n\n\x20Despite\x20being\x20excluded\ - \x20by\x20the\x20qualifier\x20filter,\x20a\x20copy\x20of\x20every\x20cel\ - l\n\x20that\x20reaches\x20the\x20sink\x20is\x20present\x20in\x20the\x20f\ - inal\x20result.\n\n\x20As\x20with\x20an\x20[Interleave][google.bigtable.\ - v2.RowFilter.Interleave],\n\x20duplicate\x20cells\x20are\x20possible,\ - \x20and\x20appear\x20in\x20an\x20unspecified\x20mutual\x20order.\n\x20In\ - \x20this\x20case\x20we\x20have\x20a\x20duplicate\x20with\x20column\x20\"\ - A:B\"\x20and\x20timestamp\x202,\n\x20because\x20one\x20copy\x20passed\ - \x20through\x20the\x20all\x20filter\x20while\x20the\x20other\x20was\n\ - \x20passed\x20through\x20the\x20label\x20and\x20sink.\x20Note\x20that\ - \x20one\x20copy\x20has\x20label\x20\"foo\",\n\x20while\x20the\x20other\ - \x20does\x20not.\n\n\x20Cannot\x20be\x20used\x20within\x20the\x20`predic\ - ate_filter`,\x20`true_filter`,\x20or\n\x20`false_filter`\x20of\x20a\x20[\ - Condition][google.bigtable.v2.RowFilter.Condition].\n\n\r\n\x05\x04\t\ - \x02\x03\x05\x12\x04\xdd\x02\x04\x08\n\r\n\x05\x04\t\x02\x03\x01\x12\x04\ - \xdd\x02\t\r\n\r\n\x05\x04\t\x02\x03\x03\x12\x04\xdd\x02\x10\x12\n\x8a\ - \x01\n\x04\x04\t\x02\x04\x12\x04\xe1\x02\x04\x1e\x1a|\x20Matches\x20all\ - \x20cells,\x20regardless\x20of\x20input.\x20Functionally\x20equivalent\ - \x20to\n\x20leaving\x20`filter`\x20unset,\x20but\x20included\x20for\x20c\ - ompleteness.\n\n\r\n\x05\x04\t\x02\x04\x05\x12\x04\xe1\x02\x04\x08\n\r\n\ - \x05\x04\t\x02\x04\x01\x12\x04\xe1\x02\t\x18\n\r\n\x05\x04\t\x02\x04\x03\ - \x12\x04\xe1\x02\x1b\x1d\nw\n\x04\x04\t\x02\x05\x12\x04\xe5\x02\x04\x1f\ - \x1ai\x20Does\x20not\x20match\x20any\x20cells,\x20regardless\x20of\x20in\ - put.\x20Useful\x20for\x20temporarily\n\x20disabling\x20just\x20part\x20o\ - f\x20a\x20filter.\n\n\r\n\x05\x04\t\x02\x05\x05\x12\x04\xe5\x02\x04\x08\ - \n\r\n\x05\x04\t\x02\x05\x01\x12\x04\xe5\x02\t\x19\n\r\n\x05\x04\t\x02\ - \x05\x03\x12\x04\xe5\x02\x1c\x1e\n\xa4\x03\n\x04\x04\t\x02\x06\x12\x04\ - \xee\x02\x04#\x1a\x95\x03\x20Matches\x20only\x20cells\x20from\x20rows\ - \x20whose\x20keys\x20satisfy\x20the\x20given\x20RE2\x20regex.\x20In\n\ - \x20other\x20words,\x20passes\x20through\x20the\x20entire\x20row\x20when\ - \x20the\x20key\x20matches,\x20and\n\x20otherwise\x20produces\x20an\x20em\ - pty\x20row.\n\x20Note\x20that,\x20since\x20row\x20keys\x20can\x20contain\ - \x20arbitrary\x20bytes,\x20the\x20`\\C`\x20escape\n\x20sequence\x20must\ - \x20be\x20used\x20if\x20a\x20true\x20wildcard\x20is\x20desired.\x20The\ - \x20`.`\x20character\n\x20will\x20not\x20match\x20the\x20new\x20line\x20\ - character\x20`\\n`,\x20which\x20may\x20be\x20present\x20in\x20a\n\x20bin\ - ary\x20key.\n\n\r\n\x05\x04\t\x02\x06\x05\x12\x04\xee\x02\x04\t\n\r\n\ - \x05\x04\t\x02\x06\x01\x12\x04\xee\x02\n\x1e\n\r\n\x05\x04\t\x02\x06\x03\ - \x12\x04\xee\x02!\"\ny\n\x04\x04\t\x02\x07\x12\x04\xf2\x02\x04\"\x1ak\ - \x20Matches\x20all\x20cells\x20from\x20a\x20row\x20with\x20probability\ - \x20p,\x20and\x20matches\x20no\x20cells\n\x20from\x20the\x20row\x20with\ - \x20probability\x201-p.\n\n\r\n\x05\x04\t\x02\x07\x05\x12\x04\xf2\x02\ - \x04\n\n\r\n\x05\x04\t\x02\x07\x01\x12\x04\xf2\x02\x0b\x1c\n\r\n\x05\x04\ - \t\x02\x07\x03\x12\x04\xf2\x02\x1f!\n\xf0\x02\n\x04\x04\t\x02\x08\x12\ - \x04\xfa\x02\x04(\x1a\xe1\x02\x20Matches\x20only\x20cells\x20from\x20col\ - umns\x20whose\x20families\x20satisfy\x20the\x20given\x20RE2\n\x20regex.\ - \x20For\x20technical\x20reasons,\x20the\x20regex\x20must\x20not\x20conta\ - in\x20the\x20`:`\n\x20character,\x20even\x20if\x20it\x20is\x20not\x20bei\ - ng\x20used\x20as\x20a\x20literal.\n\x20Note\x20that,\x20since\x20column\ - \x20families\x20cannot\x20contain\x20the\x20new\x20line\x20character\n\ - \x20`\\n`,\x20it\x20is\x20sufficient\x20to\x20use\x20`.`\x20as\x20a\x20f\ - ull\x20wildcard\x20when\x20matching\n\x20column\x20family\x20names.\n\n\ - \r\n\x05\x04\t\x02\x08\x05\x12\x04\xfa\x02\x04\n\n\r\n\x05\x04\t\x02\x08\ - \x01\x12\x04\xfa\x02\x0b#\n\r\n\x05\x04\t\x02\x08\x03\x12\x04\xfa\x02&'\ - \n\xd2\x02\n\x04\x04\t\x02\t\x12\x04\x82\x03\x04,\x1a\xc3\x02\x20Matches\ - \x20only\x20cells\x20from\x20columns\x20whose\x20qualifiers\x20satisfy\ - \x20the\x20given\x20RE2\n\x20regex.\n\x20Note\x20that,\x20since\x20colum\ - n\x20qualifiers\x20can\x20contain\x20arbitrary\x20bytes,\x20the\x20`\\C`\ - \n\x20escape\x20sequence\x20must\x20be\x20used\x20if\x20a\x20true\x20wil\ - dcard\x20is\x20desired.\x20The\x20`.`\n\x20character\x20will\x20not\x20m\ - atch\x20the\x20new\x20line\x20character\x20`\\n`,\x20which\x20may\x20be\ - \n\x20present\x20in\x20a\x20binary\x20qualifier.\n\n\r\n\x05\x04\t\x02\t\ - \x05\x12\x04\x82\x03\x04\t\n\r\n\x05\x04\t\x02\t\x01\x12\x04\x82\x03\n'\ - \n\r\n\x05\x04\t\x02\t\x03\x12\x04\x82\x03*+\nG\n\x04\x04\t\x02\n\x12\ - \x04\x85\x03\x04(\x1a9\x20Matches\x20only\x20cells\x20from\x20columns\ - \x20within\x20the\x20given\x20range.\n\n\r\n\x05\x04\t\x02\n\x06\x12\x04\ - \x85\x03\x04\x0f\n\r\n\x05\x04\t\x02\n\x01\x12\x04\x85\x03\x10#\n\r\n\ - \x05\x04\t\x02\n\x03\x12\x04\x85\x03&'\nJ\n\x04\x04\t\x02\x0b\x12\x04\ - \x88\x03\x04.\x1a<\x20Matches\x20only\x20cells\x20with\x20timestamps\x20\ - within\x20the\x20given\x20range.\n\n\r\n\x05\x04\t\x02\x0b\x06\x12\x04\ - \x88\x03\x04\x12\n\r\n\x05\x04\t\x02\x0b\x01\x12\x04\x88\x03\x13)\n\r\n\ - \x05\x04\t\x02\x0b\x03\x12\x04\x88\x03,-\n\xc3\x02\n\x04\x04\t\x02\x0c\ - \x12\x04\x8f\x03\x04!\x1a\xb4\x02\x20Matches\x20only\x20cells\x20with\ - \x20values\x20that\x20satisfy\x20the\x20given\x20regular\x20expression.\ - \n\x20Note\x20that,\x20since\x20cell\x20values\x20can\x20contain\x20arbi\ - trary\x20bytes,\x20the\x20`\\C`\x20escape\n\x20sequence\x20must\x20be\ - \x20used\x20if\x20a\x20true\x20wildcard\x20is\x20desired.\x20The\x20`.`\ - \x20character\n\x20will\x20not\x20match\x20the\x20new\x20line\x20charact\ - er\x20`\\n`,\x20which\x20may\x20be\x20present\x20in\x20a\n\x20binary\x20\ - value.\n\n\r\n\x05\x04\t\x02\x0c\x05\x12\x04\x8f\x03\x04\t\n\r\n\x05\x04\ - \t\x02\x0c\x01\x12\x04\x8f\x03\n\x1c\n\r\n\x05\x04\t\x02\x0c\x03\x12\x04\ - \x8f\x03\x1f\x20\nP\n\x04\x04\t\x02\r\x12\x04\x92\x03\x04'\x1aB\x20Match\ - es\x20only\x20cells\x20with\x20values\x20that\x20fall\x20within\x20the\ - \x20given\x20range.\n\n\r\n\x05\x04\t\x02\r\x06\x12\x04\x92\x03\x04\x0e\ - \n\r\n\x05\x04\t\x02\r\x01\x12\x04\x92\x03\x0f!\n\r\n\x05\x04\t\x02\r\ - \x03\x12\x04\x92\x03$&\n\xcc\x01\n\x04\x04\t\x02\x0e\x12\x04\x97\x03\x04\ - +\x1a\xbd\x01\x20Skips\x20the\x20first\x20N\x20cells\x20of\x20each\x20ro\ - w,\x20matching\x20all\x20subsequent\x20cells.\n\x20If\x20duplicate\x20ce\ - lls\x20are\x20present,\x20as\x20is\x20possible\x20when\x20using\x20an\ - \x20Interleave,\n\x20each\x20copy\x20of\x20the\x20cell\x20is\x20counted\ - \x20separately.\n\n\r\n\x05\x04\t\x02\x0e\x05\x12\x04\x97\x03\x04\t\n\r\ - \n\x05\x04\t\x02\x0e\x01\x12\x04\x97\x03\n%\n\r\n\x05\x04\t\x02\x0e\x03\ - \x12\x04\x97\x03(*\n\xb4\x01\n\x04\x04\t\x02\x0f\x12\x04\x9c\x03\x04*\ - \x1a\xa5\x01\x20Matches\x20only\x20the\x20first\x20N\x20cells\x20of\x20e\ - ach\x20row.\n\x20If\x20duplicate\x20cells\x20are\x20present,\x20as\x20is\ - \x20possible\x20when\x20using\x20an\x20Interleave,\n\x20each\x20copy\x20\ - of\x20the\x20cell\x20is\x20counted\x20separately.\n\n\r\n\x05\x04\t\x02\ - \x0f\x05\x12\x04\x9c\x03\x04\t\n\r\n\x05\x04\t\x02\x0f\x01\x12\x04\x9c\ - \x03\n$\n\r\n\x05\x04\t\x02\x0f\x03\x12\x04\x9c\x03')\n\xf3\x02\n\x04\ - \x04\t\x02\x10\x12\x04\xa4\x03\x04-\x1a\xe4\x02\x20Matches\x20only\x20th\ - e\x20most\x20recent\x20N\x20cells\x20within\x20each\x20column.\x20For\ - \x20example,\n\x20if\x20N=2,\x20this\x20filter\x20would\x20match\x20colu\ - mn\x20`foo:bar`\x20at\x20timestamps\x2010\x20and\x209,\n\x20skip\x20all\ - \x20earlier\x20cells\x20in\x20`foo:bar`,\x20and\x20then\x20begin\x20matc\ - hing\x20again\x20in\n\x20column\x20`foo:bar2`.\n\x20If\x20duplicate\x20c\ - ells\x20are\x20present,\x20as\x20is\x20possible\x20when\x20using\x20an\ - \x20Interleave,\n\x20each\x20copy\x20of\x20the\x20cell\x20is\x20counted\ - \x20separately.\n\n\r\n\x05\x04\t\x02\x10\x05\x12\x04\xa4\x03\x04\t\n\r\ - \n\x05\x04\t\x02\x10\x01\x12\x04\xa4\x03\n'\n\r\n\x05\x04\t\x02\x10\x03\ - \x12\x04\xa4\x03*,\nA\n\x04\x04\t\x02\x11\x12\x04\xa7\x03\x04&\x1a3\x20R\ - eplaces\x20each\x20cell's\x20value\x20with\x20the\x20empty\x20string.\n\ - \n\r\n\x05\x04\t\x02\x11\x05\x12\x04\xa7\x03\x04\x08\n\r\n\x05\x04\t\x02\ - \x11\x01\x12\x04\xa7\x03\t\x20\n\r\n\x05\x04\t\x02\x11\x03\x12\x04\xa7\ - \x03#%\n\xfb\x04\n\x04\x04\t\x02\x12\x12\x04\xb6\x03\x04(\x1a\xec\x04\ - \x20Applies\x20the\x20given\x20label\x20to\x20all\x20cells\x20in\x20the\ - \x20output\x20row.\x20This\x20allows\n\x20the\x20client\x20to\x20determi\ - ne\x20which\x20results\x20were\x20produced\x20from\x20which\x20part\x20o\ - f\n\x20the\x20filter.\n\n\x20Values\x20must\x20be\x20at\x20most\x2015\ - \x20characters\x20in\x20length,\x20and\x20match\x20the\x20RE2\n\x20patte\ - rn\x20`[a-z0-9\\\\-]+`\n\n\x20Due\x20to\x20a\x20technical\x20limitation,\ - \x20it\x20is\x20not\x20currently\x20possible\x20to\x20apply\n\x20multipl\ - e\x20labels\x20to\x20a\x20cell.\x20As\x20a\x20result,\x20a\x20Chain\x20m\ - ay\x20have\x20no\x20more\x20than\n\x20one\x20sub-filter\x20which\x20cont\ - ains\x20a\x20`apply_label_transformer`.\x20It\x20is\x20okay\x20for\n\x20\ - an\x20Interleave\x20to\x20contain\x20multiple\x20`apply_label_transforme\ - rs`,\x20as\x20they\n\x20will\x20be\x20applied\x20to\x20separate\x20copie\ - s\x20of\x20the\x20input.\x20This\x20may\x20be\x20relaxed\x20in\n\x20the\ - \x20future.\n\n\r\n\x05\x04\t\x02\x12\x05\x12\x04\xb6\x03\x04\n\n\r\n\ - \x05\x04\t\x02\x12\x01\x12\x04\xb6\x03\x0b\"\n\r\n\x05\x04\t\x02\x12\x03\ - \x12\x04\xb6\x03%'\nR\n\x02\x04\n\x12\x06\xbb\x03\0\xfa\x03\x01\x1aD\x20\ - Specifies\x20a\x20particular\x20change\x20to\x20be\x20made\x20to\x20the\ - \x20contents\x20of\x20a\x20row.\n\n\x0b\n\x03\x04\n\x01\x12\x04\xbb\x03\ - \x08\x10\nH\n\x04\x04\n\x03\0\x12\x06\xbd\x03\x02\xcf\x03\x03\x1a8\x20A\ - \x20Mutation\x20which\x20sets\x20the\x20value\x20of\x20the\x20specified\ - \x20cell.\n\n\r\n\x05\x04\n\x03\0\x01\x12\x04\xbd\x03\n\x11\nm\n\x06\x04\ - \n\x03\0\x02\0\x12\x04\xc0\x03\x04\x1b\x1a]\x20The\x20name\x20of\x20the\ - \x20family\x20into\x20which\x20new\x20data\x20should\x20be\x20written.\n\ - \x20Must\x20match\x20`[-_.a-zA-Z0-9]+`\n\n\x11\n\x07\x04\n\x03\0\x02\0\ - \x04\x12\x06\xc0\x03\x04\xbd\x03\x13\n\x0f\n\x07\x04\n\x03\0\x02\0\x05\ - \x12\x04\xc0\x03\x04\n\n\x0f\n\x07\x04\n\x03\0\x02\0\x01\x12\x04\xc0\x03\ - \x0b\x16\n\x0f\n\x07\x04\n\x03\0\x02\0\x03\x12\x04\xc0\x03\x19\x1a\n\x89\ - \x01\n\x06\x04\n\x03\0\x02\x01\x12\x04\xc4\x03\x04\x1f\x1ay\x20The\x20qu\ - alifier\x20of\x20the\x20column\x20into\x20which\x20new\x20data\x20should\ - \x20be\x20written.\n\x20Can\x20be\x20any\x20byte\x20string,\x20including\ - \x20the\x20empty\x20string.\n\n\x11\n\x07\x04\n\x03\0\x02\x01\x04\x12\ - \x06\xc4\x03\x04\xc0\x03\x1b\n\x0f\n\x07\x04\n\x03\0\x02\x01\x05\x12\x04\ - \xc4\x03\x04\t\n\x0f\n\x07\x04\n\x03\0\x02\x01\x01\x12\x04\xc4\x03\n\x1a\ - \n\x0f\n\x07\x04\n\x03\0\x02\x01\x03\x12\x04\xc4\x03\x1d\x1e\n\xd1\x02\n\ - \x06\x04\n\x03\0\x02\x02\x12\x04\xcb\x03\x04\x1f\x1a\xc0\x02\x20The\x20t\ - imestamp\x20of\x20the\x20cell\x20into\x20which\x20new\x20data\x20should\ - \x20be\x20written.\n\x20Use\x20-1\x20for\x20current\x20Bigtable\x20serve\ - r\x20time.\n\x20Otherwise,\x20the\x20client\x20should\x20set\x20this\x20\ - value\x20itself,\x20noting\x20that\x20the\n\x20default\x20value\x20is\ - \x20a\x20timestamp\x20of\x20zero\x20if\x20the\x20field\x20is\x20left\x20\ - unspecified.\n\x20Values\x20must\x20match\x20the\x20granularity\x20of\ - \x20the\x20table\x20(e.g.\x20micros,\x20millis).\n\n\x11\n\x07\x04\n\x03\ - \0\x02\x02\x04\x12\x06\xcb\x03\x04\xc4\x03\x1f\n\x0f\n\x07\x04\n\x03\0\ - \x02\x02\x05\x12\x04\xcb\x03\x04\t\n\x0f\n\x07\x04\n\x03\0\x02\x02\x01\ - \x12\x04\xcb\x03\n\x1a\n\x0f\n\x07\x04\n\x03\0\x02\x02\x03\x12\x04\xcb\ - \x03\x1d\x1e\nB\n\x06\x04\n\x03\0\x02\x03\x12\x04\xce\x03\x04\x14\x1a2\ - \x20The\x20value\x20to\x20be\x20written\x20into\x20the\x20specified\x20c\ - ell.\n\n\x11\n\x07\x04\n\x03\0\x02\x03\x04\x12\x06\xce\x03\x04\xcb\x03\ - \x1f\n\x0f\n\x07\x04\n\x03\0\x02\x03\x05\x12\x04\xce\x03\x04\t\n\x0f\n\ - \x07\x04\n\x03\0\x02\x03\x01\x12\x04\xce\x03\n\x0f\n\x0f\n\x07\x04\n\x03\ - \0\x02\x03\x03\x12\x04\xce\x03\x12\x13\n\x8d\x01\n\x04\x04\n\x03\x01\x12\ - \x06\xd3\x03\x02\xde\x03\x03\x1a}\x20A\x20Mutation\x20which\x20deletes\ - \x20cells\x20from\x20the\x20specified\x20column,\x20optionally\n\x20rest\ - ricting\x20the\x20deletions\x20to\x20a\x20given\x20timestamp\x20range.\n\ - \n\r\n\x05\x04\n\x03\x01\x01\x12\x04\xd3\x03\n\x1a\nj\n\x06\x04\n\x03\ - \x01\x02\0\x12\x04\xd6\x03\x04\x1b\x1aZ\x20The\x20name\x20of\x20the\x20f\ - amily\x20from\x20which\x20cells\x20should\x20be\x20deleted.\n\x20Must\ - \x20match\x20`[-_.a-zA-Z0-9]+`\n\n\x11\n\x07\x04\n\x03\x01\x02\0\x04\x12\ - \x06\xd6\x03\x04\xd3\x03\x1c\n\x0f\n\x07\x04\n\x03\x01\x02\0\x05\x12\x04\ - \xd6\x03\x04\n\n\x0f\n\x07\x04\n\x03\x01\x02\0\x01\x12\x04\xd6\x03\x0b\ - \x16\n\x0f\n\x07\x04\n\x03\x01\x02\0\x03\x12\x04\xd6\x03\x19\x1a\n\x86\ - \x01\n\x06\x04\n\x03\x01\x02\x01\x12\x04\xda\x03\x04\x1f\x1av\x20The\x20\ - qualifier\x20of\x20the\x20column\x20from\x20which\x20cells\x20should\x20\ - be\x20deleted.\n\x20Can\x20be\x20any\x20byte\x20string,\x20including\x20\ - the\x20empty\x20string.\n\n\x11\n\x07\x04\n\x03\x01\x02\x01\x04\x12\x06\ - \xda\x03\x04\xd6\x03\x1b\n\x0f\n\x07\x04\n\x03\x01\x02\x01\x05\x12\x04\ - \xda\x03\x04\t\n\x0f\n\x07\x04\n\x03\x01\x02\x01\x01\x12\x04\xda\x03\n\ - \x1a\n\x0f\n\x07\x04\n\x03\x01\x02\x01\x03\x12\x04\xda\x03\x1d\x1e\nO\n\ - \x06\x04\n\x03\x01\x02\x02\x12\x04\xdd\x03\x04\"\x1a?\x20The\x20range\ - \x20of\x20timestamps\x20within\x20which\x20cells\x20should\x20be\x20dele\ - ted.\n\n\x11\n\x07\x04\n\x03\x01\x02\x02\x04\x12\x06\xdd\x03\x04\xda\x03\ - \x1f\n\x0f\n\x07\x04\n\x03\x01\x02\x02\x06\x12\x04\xdd\x03\x04\x12\n\x0f\ - \n\x07\x04\n\x03\x01\x02\x02\x01\x12\x04\xdd\x03\x13\x1d\n\x0f\n\x07\x04\ - \n\x03\x01\x02\x02\x03\x12\x04\xdd\x03\x20!\nV\n\x04\x04\n\x03\x02\x12\ - \x06\xe1\x03\x02\xe5\x03\x03\x1aF\x20A\x20Mutation\x20which\x20deletes\ - \x20all\x20cells\x20from\x20the\x20specified\x20column\x20family.\n\n\r\ - \n\x05\x04\n\x03\x02\x01\x12\x04\xe1\x03\n\x1a\nj\n\x06\x04\n\x03\x02\ - \x02\0\x12\x04\xe4\x03\x04\x1b\x1aZ\x20The\x20name\x20of\x20the\x20famil\ - y\x20from\x20which\x20cells\x20should\x20be\x20deleted.\n\x20Must\x20mat\ - ch\x20`[-_.a-zA-Z0-9]+`\n\n\x11\n\x07\x04\n\x03\x02\x02\0\x04\x12\x06\ - \xe4\x03\x04\xe1\x03\x1c\n\x0f\n\x07\x04\n\x03\x02\x02\0\x05\x12\x04\xe4\ - \x03\x04\n\n\x0f\n\x07\x04\n\x03\x02\x02\0\x01\x12\x04\xe4\x03\x0b\x16\n\ - \x0f\n\x07\x04\n\x03\x02\x02\0\x03\x12\x04\xe4\x03\x19\x1a\nM\n\x04\x04\ - \n\x03\x03\x12\x06\xe8\x03\x02\xea\x03\x03\x1a=\x20A\x20Mutation\x20whic\ - h\x20deletes\x20all\x20cells\x20from\x20the\x20containing\x20row.\n\n\r\ - \n\x05\x04\n\x03\x03\x01\x12\x04\xe8\x03\n\x17\n@\n\x04\x04\n\x08\0\x12\ - \x06\xed\x03\x02\xf9\x03\x03\x1a0\x20Which\x20of\x20the\x20possible\x20M\ - utation\x20types\x20to\x20apply.\n\n\r\n\x05\x04\n\x08\0\x01\x12\x04\xed\ - \x03\x08\x10\n#\n\x04\x04\n\x02\0\x12\x04\xef\x03\x04\x19\x1a\x15\x20Set\ - \x20a\x20cell's\x20value.\n\n\r\n\x05\x04\n\x02\0\x06\x12\x04\xef\x03\ - \x04\x0b\n\r\n\x05\x04\n\x02\0\x01\x12\x04\xef\x03\x0c\x14\n\r\n\x05\x04\ - \n\x02\0\x03\x12\x04\xef\x03\x17\x18\n,\n\x04\x04\n\x02\x01\x12\x04\xf2\ - \x03\x04,\x1a\x1e\x20Deletes\x20cells\x20from\x20a\x20column.\n\n\r\n\ - \x05\x04\n\x02\x01\x06\x12\x04\xf2\x03\x04\x14\n\r\n\x05\x04\n\x02\x01\ - \x01\x12\x04\xf2\x03\x15'\n\r\n\x05\x04\n\x02\x01\x03\x12\x04\xf2\x03*+\ - \n3\n\x04\x04\n\x02\x02\x12\x04\xf5\x03\x04,\x1a%\x20Deletes\x20cells\ - \x20from\x20a\x20column\x20family.\n\n\r\n\x05\x04\n\x02\x02\x06\x12\x04\ - \xf5\x03\x04\x14\n\r\n\x05\x04\n\x02\x02\x01\x12\x04\xf5\x03\x15'\n\r\n\ - \x05\x04\n\x02\x02\x03\x12\x04\xf5\x03*+\n2\n\x04\x04\n\x02\x03\x12\x04\ - \xf8\x03\x04&\x1a$\x20Deletes\x20cells\x20from\x20the\x20entire\x20row.\ - \n\n\r\n\x05\x04\n\x02\x03\x06\x12\x04\xf8\x03\x04\x11\n\r\n\x05\x04\n\ - \x02\x03\x01\x12\x04\xf8\x03\x12!\n\r\n\x05\x04\n\x02\x03\x03\x12\x04\ - \xf8\x03$%\nm\n\x02\x04\x0b\x12\x06\xfe\x03\0\x96\x04\x01\x1a_\x20Specif\ - ies\x20an\x20atomic\x20read/modify/write\x20operation\x20on\x20the\x20la\ - test\x20value\x20of\x20the\n\x20specified\x20column.\n\n\x0b\n\x03\x04\ - \x0b\x01\x12\x04\xfe\x03\x08\x1b\nv\n\x04\x04\x0b\x02\0\x12\x04\x81\x04\ - \x02\x19\x1ah\x20The\x20name\x20of\x20the\x20family\x20to\x20which\x20th\ - e\x20read/modify/write\x20should\x20be\x20applied.\n\x20Must\x20match\ - \x20`[-_.a-zA-Z0-9]+`\n\n\x0f\n\x05\x04\x0b\x02\0\x04\x12\x06\x81\x04\ - \x02\xfe\x03\x1d\n\r\n\x05\x04\x0b\x02\0\x05\x12\x04\x81\x04\x02\x08\n\r\ - \n\x05\x04\x0b\x02\0\x01\x12\x04\x81\x04\t\x14\n\r\n\x05\x04\x0b\x02\0\ - \x03\x12\x04\x81\x04\x17\x18\n\x94\x01\n\x04\x04\x0b\x02\x01\x12\x04\x86\ - \x04\x02\x1d\x1a\x85\x01\x20The\x20qualifier\x20of\x20the\x20column\x20t\ - o\x20which\x20the\x20read/modify/write\x20should\x20be\n\x20applied.\n\ - \x20Can\x20be\x20any\x20byte\x20string,\x20including\x20the\x20empty\x20\ - string.\n\n\x0f\n\x05\x04\x0b\x02\x01\x04\x12\x06\x86\x04\x02\x81\x04\ - \x19\n\r\n\x05\x04\x0b\x02\x01\x05\x12\x04\x86\x04\x02\x07\n\r\n\x05\x04\ - \x0b\x02\x01\x01\x12\x04\x86\x04\x08\x18\n\r\n\x05\x04\x0b\x02\x01\x03\ - \x12\x04\x86\x04\x1b\x1c\nj\n\x04\x04\x0b\x08\0\x12\x06\x8a\x04\x02\x95\ - \x04\x03\x1aZ\x20The\x20rule\x20used\x20to\x20determine\x20the\x20column\ - 's\x20new\x20latest\x20value\x20from\x20its\x20current\n\x20latest\x20va\ - lue.\n\n\r\n\x05\x04\x0b\x08\0\x01\x12\x04\x8a\x04\x08\x0c\n\xab\x01\n\ - \x04\x04\x0b\x02\x02\x12\x04\x8e\x04\x04\x1b\x1a\x9c\x01\x20Rule\x20spec\ - ifying\x20that\x20`append_value`\x20be\x20appended\x20to\x20the\x20exist\ - ing\x20value.\n\x20If\x20the\x20targeted\x20cell\x20is\x20unset,\x20it\ - \x20will\x20be\x20treated\x20as\x20containing\x20the\n\x20empty\x20strin\ - g.\n\n\r\n\x05\x04\x0b\x02\x02\x05\x12\x04\x8e\x04\x04\t\n\r\n\x05\x04\ - \x0b\x02\x02\x01\x12\x04\x8e\x04\n\x16\n\r\n\x05\x04\x0b\x02\x02\x03\x12\ - \x04\x8e\x04\x19\x1a\n\xb3\x02\n\x04\x04\x0b\x02\x03\x12\x04\x94\x04\x04\ - \x1f\x1a\xa4\x02\x20Rule\x20specifying\x20that\x20`increment_amount`\x20\ - be\x20added\x20to\x20the\x20existing\x20value.\n\x20If\x20the\x20targete\ - d\x20cell\x20is\x20unset,\x20it\x20will\x20be\x20treated\x20as\x20contai\ - ning\x20a\x20zero.\n\x20Otherwise,\x20the\x20targeted\x20cell\x20must\ - \x20contain\x20an\x208-byte\x20value\x20(interpreted\n\x20as\x20a\x2064-\ - bit\x20big-endian\x20signed\x20integer),\x20or\x20the\x20entire\x20reque\ - st\x20will\x20fail.\n\n\r\n\x05\x04\x0b\x02\x03\x05\x12\x04\x94\x04\x04\ - \t\n\r\n\x05\x04\x0b\x02\x03\x01\x12\x04\x94\x04\n\x1a\n\r\n\x05\x04\x0b\ - \x02\x03\x03\x12\x04\x94\x04\x1d\x1eb\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/mod.rs deleted file mode 100644 index 329fc13120..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/bigtable/v2/mod.rs +++ /dev/null @@ -1,5 +0,0 @@ -pub mod bigtable; -pub mod bigtable_grpc; -pub mod data; - -pub(crate) use crate::rpc::status; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/empty.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/empty.rs index ef3ae9745a..a23bd5e287 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/empty.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/empty.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct Empty { @@ -50,7 +50,7 @@ impl ::protobuf::Message for Empty { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -71,7 +71,7 @@ impl ::protobuf::Message for Empty { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { os.write_unknown_fields(self.get_unknown_fields())?; ::std::result::Result::Ok(()) } @@ -88,13 +88,13 @@ impl ::protobuf::Message for Empty { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -107,10 +107,7 @@ impl ::protobuf::Message for Empty { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let fields = ::std::vec::Vec::new(); @@ -124,10 +121,7 @@ impl ::protobuf::Message for Empty { } fn default_instance() -> &'static Empty { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Empty, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Empty::new) } @@ -141,14 +135,14 @@ impl ::protobuf::Clear for Empty { } impl ::std::fmt::Debug for Empty { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Empty { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -167,7 +161,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ NY\x20KIND,\x20either\x20express\x20or\x20implied.\n\x20See\x20the\x20Li\ cense\x20for\x20the\x20specific\x20language\x20governing\x20permissions\ \x20and\n\x20limitations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\ - \x12\x03\x11\0\x15\n\xad\x02\n\x02\x04\0\x12\x03\x1b\0\x10\x1a\xa1\x02\ + \x12\x03\x11\x08\x14\n\xad\x02\n\x02\x04\0\x12\x03\x1b\0\x10\x1a\xa1\x02\ \x20An\x20empty\x20message\x20that\x20you\x20can\x20re-use\x20to\x20avoi\ d\x20defining\x20duplicated\x20empty\n\x20messages\x20in\x20your\x20proj\ ect.\x20A\x20typical\x20example\x20is\x20to\x20use\x20it\x20as\x20argume\ @@ -178,10 +172,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ oto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy.rs index 00d0203cb2..5401b02faf 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct SetIamPolicyRequest { @@ -117,7 +117,7 @@ impl ::protobuf::Message for SetIamPolicyRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -151,7 +151,7 @@ impl ::protobuf::Message for SetIamPolicyRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.resource.is_empty() { os.write_string(1, &self.resource)?; } @@ -176,13 +176,13 @@ impl ::protobuf::Message for SetIamPolicyRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -195,10 +195,7 @@ impl ::protobuf::Message for SetIamPolicyRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -222,10 +219,7 @@ impl ::protobuf::Message for SetIamPolicyRequest { } fn default_instance() -> &'static SetIamPolicyRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const SetIamPolicyRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(SetIamPolicyRequest::new) } @@ -241,14 +235,14 @@ impl ::protobuf::Clear for SetIamPolicyRequest { } impl ::std::fmt::Debug for SetIamPolicyRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for SetIamPolicyRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -304,7 +298,7 @@ impl ::protobuf::Message for GetIamPolicyRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -331,7 +325,7 @@ impl ::protobuf::Message for GetIamPolicyRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.resource.is_empty() { os.write_string(1, &self.resource)?; } @@ -351,13 +345,13 @@ impl ::protobuf::Message for GetIamPolicyRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -370,10 +364,7 @@ impl ::protobuf::Message for GetIamPolicyRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -392,10 +383,7 @@ impl ::protobuf::Message for GetIamPolicyRequest { } fn default_instance() -> &'static GetIamPolicyRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetIamPolicyRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(GetIamPolicyRequest::new) } @@ -410,14 +398,14 @@ impl ::protobuf::Clear for GetIamPolicyRequest { } impl ::std::fmt::Debug for GetIamPolicyRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for GetIamPolicyRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -499,7 +487,7 @@ impl ::protobuf::Message for TestIamPermissionsRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -532,7 +520,7 @@ impl ::protobuf::Message for TestIamPermissionsRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.resource.is_empty() { os.write_string(1, &self.resource)?; } @@ -555,13 +543,13 @@ impl ::protobuf::Message for TestIamPermissionsRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -574,10 +562,7 @@ impl ::protobuf::Message for TestIamPermissionsRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -601,10 +586,7 @@ impl ::protobuf::Message for TestIamPermissionsRequest { } fn default_instance() -> &'static TestIamPermissionsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const TestIamPermissionsRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(TestIamPermissionsRequest::new) } @@ -620,14 +602,14 @@ impl ::protobuf::Clear for TestIamPermissionsRequest { } impl ::std::fmt::Debug for TestIamPermissionsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for TestIamPermissionsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -682,7 +664,7 @@ impl ::protobuf::Message for TestIamPermissionsResponse { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -709,7 +691,7 @@ impl ::protobuf::Message for TestIamPermissionsResponse { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.permissions { os.write_string(1, &v)?; }; @@ -729,13 +711,13 @@ impl ::protobuf::Message for TestIamPermissionsResponse { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -748,10 +730,7 @@ impl ::protobuf::Message for TestIamPermissionsResponse { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -770,10 +749,7 @@ impl ::protobuf::Message for TestIamPermissionsResponse { } fn default_instance() -> &'static TestIamPermissionsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const TestIamPermissionsResponse, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(TestIamPermissionsResponse::new) } @@ -788,14 +764,14 @@ impl ::protobuf::Clear for TestIamPermissionsResponse { } impl ::std::fmt::Debug for TestIamPermissionsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for TestIamPermissionsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -818,125 +794,154 @@ static file_descriptor_proto_data: &'static [u8] = b"\ se\"/\x82\xd3\xe4\x93\x02)\"$/v1/{resource=**}:testIamPermissions:\x01*B\ \x86\x01\n\x11com.google.iam.v1B\x0eIamPolicyProtoP\x01Z0google.golang.o\ rg/genproto/googleapis/iam/v1;iam\xf8\x01\x01\xaa\x02\x13Google.Cloud.Ia\ - m.V1\xca\x02\x13Google\\Cloud\\Iam\\V1J\xf1\x20\n\x06\x12\x04\x0e\0v\x01\ - \n\xbd\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb2\x04\x20Copyright\x202016\x20\ - Google\x20Inc.\n\n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20\ - Version\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\ - \x20this\x20file\x20except\x20in\x20compliance\x20with\x20the\x20License\ - .\n\x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\ - \n\x20\x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20\ - Unless\x20required\x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20i\ - n\x20writing,\x20software\n\x20distributed\x20under\x20the\x20License\ - \x20is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\ - \x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20ex\ - press\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20spec\ - ific\x20language\x20governing\x20permissions\x20and\n\x20limitations\x20\ - under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0\x16\n\t\n\x02\ - \x03\0\x12\x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\0$\n\x08\n\x01\x08\ - \x12\x03\x15\0\x1f\n\t\n\x02\x08\x1f\x12\x03\x15\0\x1f\n\x08\n\x01\x08\ - \x12\x03\x16\00\n\t\n\x02\x08%\x12\x03\x16\00\n\x08\n\x01\x08\x12\x03\ - \x17\0G\n\t\n\x02\x08\x0b\x12\x03\x17\0G\n\x08\n\x01\x08\x12\x03\x18\0\"\ - \n\t\n\x02\x08\n\x12\x03\x18\0\"\n\x08\n\x01\x08\x12\x03\x19\0/\n\t\n\ - \x02\x08\x08\x12\x03\x19\0/\n\x08\n\x01\x08\x12\x03\x1a\0*\n\t\n\x02\x08\ - \x01\x12\x03\x1a\0*\n\x08\n\x01\x08\x12\x03\x1b\00\n\t\n\x02\x08)\x12\ - \x03\x1b\00\n\xbb\x07\n\x02\x06\0\x12\x047\0K\x01\x1a\xae\x07\x20##\x20A\ - PI\x20Overview\n\n\x20Manages\x20Identity\x20and\x20Access\x20Management\ - \x20(IAM)\x20policies.\n\n\x20Any\x20implementation\x20of\x20an\x20API\ - \x20that\x20offers\x20access\x20control\x20features\n\x20implements\x20t\ - he\x20google.iam.v1.IAMPolicy\x20interface.\n\n\x20##\x20Data\x20model\n\ - \n\x20Access\x20control\x20is\x20applied\x20when\x20a\x20principal\x20(u\ - ser\x20or\x20service\x20account),\x20takes\n\x20some\x20action\x20on\x20\ - a\x20resource\x20exposed\x20by\x20a\x20service.\x20Resources,\x20identif\ - ied\x20by\n\x20URI-like\x20names,\x20are\x20the\x20unit\x20of\x20access\ - \x20control\x20specification.\x20Service\n\x20implementations\x20can\x20\ - choose\x20the\x20granularity\x20of\x20access\x20control\x20and\x20the\n\ - \x20supported\x20permissions\x20for\x20their\x20resources.\n\x20For\x20e\ - xample\x20one\x20database\x20service\x20may\x20allow\x20access\x20contro\ - l\x20to\x20be\n\x20specified\x20only\x20at\x20the\x20Table\x20level,\x20\ - whereas\x20another\x20might\x20allow\x20access\x20control\n\x20to\x20als\ - o\x20be\x20specified\x20at\x20the\x20Column\x20level.\n\n\x20##\x20Polic\ - y\x20Structure\n\n\x20See\x20google.iam.v1.Policy\n\n\x20This\x20is\x20i\ - ntentionally\x20not\x20a\x20CRUD\x20style\x20API\x20because\x20access\ - \x20control\x20policies\n\x20are\x20created\x20and\x20deleted\x20implici\ - tly\x20with\x20the\x20resources\x20to\x20which\x20they\x20are\n\x20attac\ - hed.\n\n\n\n\x03\x06\0\x01\x12\x037\x08\x11\nh\n\x04\x06\0\x02\0\x12\x04\ - :\x02<\x03\x1aZ\x20Sets\x20the\x20access\x20control\x20policy\x20on\x20t\ - he\x20specified\x20resource.\x20Replaces\x20any\n\x20existing\x20policy.\ - \n\n\x0c\n\x05\x06\0\x02\0\x01\x12\x03:\x06\x12\n\x0c\n\x05\x06\0\x02\0\ - \x02\x12\x03:\x13&\n\x0c\n\x05\x06\0\x02\0\x03\x12\x03:17\n\x0c\n\x05\ - \x06\0\x02\0\x04\x12\x03;\x04T\n\x10\n\t\x06\0\x02\0\x04\xb0\xca\xbc\"\ - \x12\x03;\x04T\n\x90\x01\n\x04\x06\0\x02\x01\x12\x04A\x02C\x03\x1a\x81\ - \x01\x20Gets\x20the\x20access\x20control\x20policy\x20for\x20a\x20resour\ - ce.\n\x20Returns\x20an\x20empty\x20policy\x20if\x20the\x20resource\x20ex\ - ists\x20and\x20does\x20not\x20have\x20a\x20policy\n\x20set.\n\n\x0c\n\ - \x05\x06\0\x02\x01\x01\x12\x03A\x06\x12\n\x0c\n\x05\x06\0\x02\x01\x02\ - \x12\x03A\x13&\n\x0c\n\x05\x06\0\x02\x01\x03\x12\x03A17\n\x0c\n\x05\x06\ - \0\x02\x01\x04\x12\x03B\x04T\n\x10\n\t\x06\0\x02\x01\x04\xb0\xca\xbc\"\ - \x12\x03B\x04T\n\xb8\x01\n\x04\x06\0\x02\x02\x12\x04H\x02J\x03\x1a\xa9\ - \x01\x20Returns\x20permissions\x20that\x20a\x20caller\x20has\x20on\x20th\ - e\x20specified\x20resource.\n\x20If\x20the\x20resource\x20does\x20not\ - \x20exist,\x20this\x20will\x20return\x20an\x20empty\x20set\x20of\n\x20pe\ - rmissions,\x20not\x20a\x20NOT_FOUND\x20error.\n\n\x0c\n\x05\x06\0\x02\ - \x02\x01\x12\x03H\x06\x18\n\x0c\n\x05\x06\0\x02\x02\x02\x12\x03H\x192\n\ - \x0c\n\x05\x06\0\x02\x02\x03\x12\x03H=W\n\x0c\n\x05\x06\0\x02\x02\x04\ - \x12\x03I\x04Z\n\x10\n\t\x06\0\x02\x02\x04\xb0\xca\xbc\"\x12\x03I\x04Z\n\ - 8\n\x02\x04\0\x12\x04N\0Y\x01\x1a,\x20Request\x20message\x20for\x20`SetI\ - amPolicy`\x20method.\n\n\n\n\x03\x04\0\x01\x12\x03N\x08\x1b\n\xc2\x01\n\ - \x04\x04\0\x02\0\x12\x03R\x02\x16\x1a\xb4\x01\x20REQUIRED:\x20The\x20res\ - ource\x20for\x20which\x20the\x20policy\x20is\x20being\x20specified.\n\ - \x20`resource`\x20is\x20usually\x20specified\x20as\x20a\x20path.\x20For\ - \x20example,\x20a\x20Project\n\x20resource\x20is\x20specified\x20as\x20`\ - projects/{project}`.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04R\x02N\x1d\n\x0c\ - \n\x05\x04\0\x02\0\x05\x12\x03R\x02\x08\n\x0c\n\x05\x04\0\x02\0\x01\x12\ - \x03R\t\x11\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03R\x14\x15\n\xf3\x01\n\x04\ - \x04\0\x02\x01\x12\x03X\x02\x14\x1a\xe5\x01\x20REQUIRED:\x20The\x20compl\ - ete\x20policy\x20to\x20be\x20applied\x20to\x20the\x20`resource`.\x20The\ - \x20size\x20of\n\x20the\x20policy\x20is\x20limited\x20to\x20a\x20few\x20\ - 10s\x20of\x20KB.\x20An\x20empty\x20policy\x20is\x20a\n\x20valid\x20polic\ - y\x20but\x20certain\x20Cloud\x20Platform\x20services\x20(such\x20as\x20P\ - rojects)\n\x20might\x20reject\x20them.\n\n\r\n\x05\x04\0\x02\x01\x04\x12\ - \x04X\x02R\x16\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03X\x02\x08\n\x0c\n\ - \x05\x04\0\x02\x01\x01\x12\x03X\t\x0f\n\x0c\n\x05\x04\0\x02\x01\x03\x12\ - \x03X\x12\x13\n8\n\x02\x04\x01\x12\x04\\\0a\x01\x1a,\x20Request\x20messa\ - ge\x20for\x20`GetIamPolicy`\x20method.\n\n\n\n\x03\x04\x01\x01\x12\x03\\\ - \x08\x1b\n\xc2\x01\n\x04\x04\x01\x02\0\x12\x03`\x02\x16\x1a\xb4\x01\x20R\ - EQUIRED:\x20The\x20resource\x20for\x20which\x20the\x20policy\x20is\x20be\ - ing\x20requested.\n\x20`resource`\x20is\x20usually\x20specified\x20as\ - \x20a\x20path.\x20For\x20example,\x20a\x20Project\n\x20resource\x20is\ - \x20specified\x20as\x20`projects/{project}`.\n\n\r\n\x05\x04\x01\x02\0\ - \x04\x12\x04`\x02\\\x1d\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03`\x02\x08\n\ - \x0c\n\x05\x04\x01\x02\0\x01\x12\x03`\t\x11\n\x0c\n\x05\x04\x01\x02\0\ - \x03\x12\x03`\x14\x15\n>\n\x02\x04\x02\x12\x04d\0o\x01\x1a2\x20Request\ - \x20message\x20for\x20`TestIamPermissions`\x20method.\n\n\n\n\x03\x04\ - \x02\x01\x12\x03d\x08!\n\xc9\x01\n\x04\x04\x02\x02\0\x12\x03h\x02\x16\ - \x1a\xbb\x01\x20REQUIRED:\x20The\x20resource\x20for\x20which\x20the\x20p\ - olicy\x20detail\x20is\x20being\x20requested.\n\x20`resource`\x20is\x20us\ - ually\x20specified\x20as\x20a\x20path.\x20For\x20example,\x20a\x20Projec\ - t\n\x20resource\x20is\x20specified\x20as\x20`projects/{project}`.\n\n\r\ - \n\x05\x04\x02\x02\0\x04\x12\x04h\x02d#\n\x0c\n\x05\x04\x02\x02\0\x05\ - \x12\x03h\x02\x08\n\x0c\n\x05\x04\x02\x02\0\x01\x12\x03h\t\x11\n\x0c\n\ - \x05\x04\x02\x02\0\x03\x12\x03h\x14\x15\n\xf0\x01\n\x04\x04\x02\x02\x01\ - \x12\x03n\x02\"\x1a\xe2\x01\x20The\x20set\x20of\x20permissions\x20to\x20\ - check\x20for\x20the\x20`resource`.\x20Permissions\x20with\n\x20wildcards\ - \x20(such\x20as\x20'*'\x20or\x20'storage.*')\x20are\x20not\x20allowed.\ - \x20For\x20more\n\x20information\x20see\n\x20[IAM\x20Overview](https://c\ - loud.google.com/iam/docs/overview#permissions).\n\n\x0c\n\x05\x04\x02\ - \x02\x01\x04\x12\x03n\x02\n\n\x0c\n\x05\x04\x02\x02\x01\x05\x12\x03n\x0b\ - \x11\n\x0c\n\x05\x04\x02\x02\x01\x01\x12\x03n\x12\x1d\n\x0c\n\x05\x04\ - \x02\x02\x01\x03\x12\x03n\x20!\n?\n\x02\x04\x03\x12\x04r\0v\x01\x1a3\x20\ - Response\x20message\x20for\x20`TestIamPermissions`\x20method.\n\n\n\n\ - \x03\x04\x03\x01\x12\x03r\x08\"\n\\\n\x04\x04\x03\x02\0\x12\x03u\x02\"\ - \x1aO\x20A\x20subset\x20of\x20`TestPermissionsRequest.permissions`\x20th\ - at\x20the\x20caller\x20is\n\x20allowed.\n\n\x0c\n\x05\x04\x03\x02\0\x04\ - \x12\x03u\x02\n\n\x0c\n\x05\x04\x03\x02\0\x05\x12\x03u\x0b\x11\n\x0c\n\ - \x05\x04\x03\x02\0\x01\x12\x03u\x12\x1d\n\x0c\n\x05\x04\x03\x02\0\x03\ - \x12\x03u\x20!b\x06proto3\ + m.V1\xca\x02\x13Google\\Cloud\\Iam\\V1J\xfa%\n\x06\x12\x04\x0e\0v\x01\n\ + \xbd\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb2\x04\x20Copyright\x202016\x20Go\ + ogle\x20Inc.\n\n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Ve\ + rsion\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20t\ + his\x20file\x20except\x20in\x20compliance\x20with\x20the\x20License.\n\ + \x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\ + \x20\x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Un\ + less\x20required\x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\ + \x20writing,\x20software\n\x20distributed\x20under\x20the\x20License\x20\ + is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20\ + WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20expres\ + s\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\ + \x20language\x20governing\x20permissions\x20and\n\x20limitations\x20unde\ + r\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\x08\x15\n\t\n\x02\x03\ + \0\x12\x03\x12\x07%\n\t\n\x02\x03\x01\x12\x03\x13\x07#\n\x08\n\x01\x08\ + \x12\x03\x15\0\x1f\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x15\0\x1f\n\x0c\n\ + \x05\x08\xe7\x07\0\x02\x12\x03\x15\x07\x17\n\r\n\x06\x08\xe7\x07\0\x02\0\ + \x12\x03\x15\x07\x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x15\x07\ + \x17\n\x0c\n\x05\x08\xe7\x07\0\x03\x12\x03\x15\x1a\x1e\n\x08\n\x01\x08\ + \x12\x03\x16\00\n\x0b\n\x04\x08\xe7\x07\x01\x12\x03\x16\00\n\x0c\n\x05\ + \x08\xe7\x07\x01\x02\x12\x03\x16\x07\x17\n\r\n\x06\x08\xe7\x07\x01\x02\0\ + \x12\x03\x16\x07\x17\n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\x16\ + \x07\x17\n\x0c\n\x05\x08\xe7\x07\x01\x07\x12\x03\x16\x1a/\n\x08\n\x01\ + \x08\x12\x03\x17\0G\n\x0b\n\x04\x08\xe7\x07\x02\x12\x03\x17\0G\n\x0c\n\ + \x05\x08\xe7\x07\x02\x02\x12\x03\x17\x07\x11\n\r\n\x06\x08\xe7\x07\x02\ + \x02\0\x12\x03\x17\x07\x11\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\x03\ + \x17\x07\x11\n\x0c\n\x05\x08\xe7\x07\x02\x07\x12\x03\x17\x14F\n\x08\n\ + \x01\x08\x12\x03\x18\0\"\n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x18\0\"\n\ + \x0c\n\x05\x08\xe7\x07\x03\x02\x12\x03\x18\x07\x1a\n\r\n\x06\x08\xe7\x07\ + \x03\x02\0\x12\x03\x18\x07\x1a\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\ + \x03\x18\x07\x1a\n\x0c\n\x05\x08\xe7\x07\x03\x03\x12\x03\x18\x1d!\n\x08\ + \n\x01\x08\x12\x03\x19\0/\n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x19\0/\n\ + \x0c\n\x05\x08\xe7\x07\x04\x02\x12\x03\x19\x07\x1b\n\r\n\x06\x08\xe7\x07\ + \x04\x02\0\x12\x03\x19\x07\x1b\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\ + \x03\x19\x07\x1b\n\x0c\n\x05\x08\xe7\x07\x04\x07\x12\x03\x19\x1e.\n\x08\ + \n\x01\x08\x12\x03\x1a\0*\n\x0b\n\x04\x08\xe7\x07\x05\x12\x03\x1a\0*\n\ + \x0c\n\x05\x08\xe7\x07\x05\x02\x12\x03\x1a\x07\x13\n\r\n\x06\x08\xe7\x07\ + \x05\x02\0\x12\x03\x1a\x07\x13\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\ + \x03\x1a\x07\x13\n\x0c\n\x05\x08\xe7\x07\x05\x07\x12\x03\x1a\x16)\n\x08\ + \n\x01\x08\x12\x03\x1b\00\n\x0b\n\x04\x08\xe7\x07\x06\x12\x03\x1b\00\n\ + \x0c\n\x05\x08\xe7\x07\x06\x02\x12\x03\x1b\x07\x14\n\r\n\x06\x08\xe7\x07\ + \x06\x02\0\x12\x03\x1b\x07\x14\n\x0e\n\x07\x08\xe7\x07\x06\x02\0\x01\x12\ + \x03\x1b\x07\x14\n\x0c\n\x05\x08\xe7\x07\x06\x07\x12\x03\x1b\x17/\n\xbb\ + \x07\n\x02\x06\0\x12\x047\0K\x01\x1a\xae\x07\x20##\x20API\x20Overview\n\ + \n\x20Manages\x20Identity\x20and\x20Access\x20Management\x20(IAM)\x20pol\ + icies.\n\n\x20Any\x20implementation\x20of\x20an\x20API\x20that\x20offers\ + \x20access\x20control\x20features\n\x20implements\x20the\x20google.iam.v\ + 1.IAMPolicy\x20interface.\n\n\x20##\x20Data\x20model\n\n\x20Access\x20co\ + ntrol\x20is\x20applied\x20when\x20a\x20principal\x20(user\x20or\x20servi\ + ce\x20account),\x20takes\n\x20some\x20action\x20on\x20a\x20resource\x20e\ + xposed\x20by\x20a\x20service.\x20Resources,\x20identified\x20by\n\x20URI\ + -like\x20names,\x20are\x20the\x20unit\x20of\x20access\x20control\x20spec\ + ification.\x20Service\n\x20implementations\x20can\x20choose\x20the\x20gr\ + anularity\x20of\x20access\x20control\x20and\x20the\n\x20supported\x20per\ + missions\x20for\x20their\x20resources.\n\x20For\x20example\x20one\x20dat\ + abase\x20service\x20may\x20allow\x20access\x20control\x20to\x20be\n\x20s\ + pecified\x20only\x20at\x20the\x20Table\x20level,\x20whereas\x20another\ + \x20might\x20allow\x20access\x20control\n\x20to\x20also\x20be\x20specifi\ + ed\x20at\x20the\x20Column\x20level.\n\n\x20##\x20Policy\x20Structure\n\n\ + \x20See\x20google.iam.v1.Policy\n\n\x20This\x20is\x20intentionally\x20no\ + t\x20a\x20CRUD\x20style\x20API\x20because\x20access\x20control\x20polici\ + es\n\x20are\x20created\x20and\x20deleted\x20implicitly\x20with\x20the\ + \x20resources\x20to\x20which\x20they\x20are\n\x20attached.\n\n\n\n\x03\ + \x06\0\x01\x12\x037\x08\x11\nh\n\x04\x06\0\x02\0\x12\x04:\x02<\x03\x1aZ\ + \x20Sets\x20the\x20access\x20control\x20policy\x20on\x20the\x20specified\ + \x20resource.\x20Replaces\x20any\n\x20existing\x20policy.\n\n\x0c\n\x05\ + \x06\0\x02\0\x01\x12\x03:\x06\x12\n\x0c\n\x05\x06\0\x02\0\x02\x12\x03:\ + \x13&\n\x0c\n\x05\x06\0\x02\0\x03\x12\x03:17\n\x0c\n\x05\x06\0\x02\0\x04\ + \x12\x03;\x04T\n\x0f\n\x08\x06\0\x02\0\x04\xe7\x07\0\x12\x03;\x04T\n\x10\ + \n\t\x06\0\x02\0\x04\xe7\x07\0\x02\x12\x03;\x0b\x1c\n\x11\n\n\x06\0\x02\ + \0\x04\xe7\x07\0\x02\0\x12\x03;\x0b\x1c\n\x12\n\x0b\x06\0\x02\0\x04\xe7\ + \x07\0\x02\0\x01\x12\x03;\x0c\x1b\n\x10\n\t\x06\0\x02\0\x04\xe7\x07\0\ + \x08\x12\x03;\x1fS\n\x90\x01\n\x04\x06\0\x02\x01\x12\x04A\x02C\x03\x1a\ + \x81\x01\x20Gets\x20the\x20access\x20control\x20policy\x20for\x20a\x20re\ + source.\n\x20Returns\x20an\x20empty\x20policy\x20if\x20the\x20resource\ + \x20exists\x20and\x20does\x20not\x20have\x20a\x20policy\n\x20set.\n\n\ + \x0c\n\x05\x06\0\x02\x01\x01\x12\x03A\x06\x12\n\x0c\n\x05\x06\0\x02\x01\ + \x02\x12\x03A\x13&\n\x0c\n\x05\x06\0\x02\x01\x03\x12\x03A17\n\x0c\n\x05\ + \x06\0\x02\x01\x04\x12\x03B\x04T\n\x0f\n\x08\x06\0\x02\x01\x04\xe7\x07\0\ + \x12\x03B\x04T\n\x10\n\t\x06\0\x02\x01\x04\xe7\x07\0\x02\x12\x03B\x0b\ + \x1c\n\x11\n\n\x06\0\x02\x01\x04\xe7\x07\0\x02\0\x12\x03B\x0b\x1c\n\x12\ + \n\x0b\x06\0\x02\x01\x04\xe7\x07\0\x02\0\x01\x12\x03B\x0c\x1b\n\x10\n\t\ + \x06\0\x02\x01\x04\xe7\x07\0\x08\x12\x03B\x1fS\n\xb8\x01\n\x04\x06\0\x02\ + \x02\x12\x04H\x02J\x03\x1a\xa9\x01\x20Returns\x20permissions\x20that\x20\ + a\x20caller\x20has\x20on\x20the\x20specified\x20resource.\n\x20If\x20the\ + \x20resource\x20does\x20not\x20exist,\x20this\x20will\x20return\x20an\ + \x20empty\x20set\x20of\n\x20permissions,\x20not\x20a\x20NOT_FOUND\x20err\ + or.\n\n\x0c\n\x05\x06\0\x02\x02\x01\x12\x03H\x06\x18\n\x0c\n\x05\x06\0\ + \x02\x02\x02\x12\x03H\x192\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x03H=W\n\ + \x0c\n\x05\x06\0\x02\x02\x04\x12\x03I\x04Z\n\x0f\n\x08\x06\0\x02\x02\x04\ + \xe7\x07\0\x12\x03I\x04Z\n\x10\n\t\x06\0\x02\x02\x04\xe7\x07\0\x02\x12\ + \x03I\x0b\x1c\n\x11\n\n\x06\0\x02\x02\x04\xe7\x07\0\x02\0\x12\x03I\x0b\ + \x1c\n\x12\n\x0b\x06\0\x02\x02\x04\xe7\x07\0\x02\0\x01\x12\x03I\x0c\x1b\ + \n\x10\n\t\x06\0\x02\x02\x04\xe7\x07\0\x08\x12\x03I\x1fY\n8\n\x02\x04\0\ + \x12\x04N\0Y\x01\x1a,\x20Request\x20message\x20for\x20`SetIamPolicy`\x20\ + method.\n\n\n\n\x03\x04\0\x01\x12\x03N\x08\x1b\n\xc2\x01\n\x04\x04\0\x02\ + \0\x12\x03R\x02\x16\x1a\xb4\x01\x20REQUIRED:\x20The\x20resource\x20for\ + \x20which\x20the\x20policy\x20is\x20being\x20specified.\n\x20`resource`\ + \x20is\x20usually\x20specified\x20as\x20a\x20path.\x20For\x20example,\ + \x20a\x20Project\n\x20resource\x20is\x20specified\x20as\x20`projects/{pr\ + oject}`.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04R\x02N\x1d\n\x0c\n\x05\x04\0\ + \x02\0\x05\x12\x03R\x02\x08\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03R\t\x11\n\ + \x0c\n\x05\x04\0\x02\0\x03\x12\x03R\x14\x15\n\xf3\x01\n\x04\x04\0\x02\ + \x01\x12\x03X\x02\x14\x1a\xe5\x01\x20REQUIRED:\x20The\x20complete\x20pol\ + icy\x20to\x20be\x20applied\x20to\x20the\x20`resource`.\x20The\x20size\ + \x20of\n\x20the\x20policy\x20is\x20limited\x20to\x20a\x20few\x2010s\x20o\ + f\x20KB.\x20An\x20empty\x20policy\x20is\x20a\n\x20valid\x20policy\x20but\ + \x20certain\x20Cloud\x20Platform\x20services\x20(such\x20as\x20Projects)\ + \n\x20might\x20reject\x20them.\n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04X\ + \x02R\x16\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03X\x02\x08\n\x0c\n\x05\x04\ + \0\x02\x01\x01\x12\x03X\t\x0f\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03X\x12\ + \x13\n8\n\x02\x04\x01\x12\x04\\\0a\x01\x1a,\x20Request\x20message\x20for\ + \x20`GetIamPolicy`\x20method.\n\n\n\n\x03\x04\x01\x01\x12\x03\\\x08\x1b\ + \n\xc2\x01\n\x04\x04\x01\x02\0\x12\x03`\x02\x16\x1a\xb4\x01\x20REQUIRED:\ + \x20The\x20resource\x20for\x20which\x20the\x20policy\x20is\x20being\x20r\ + equested.\n\x20`resource`\x20is\x20usually\x20specified\x20as\x20a\x20pa\ + th.\x20For\x20example,\x20a\x20Project\n\x20resource\x20is\x20specified\ + \x20as\x20`projects/{project}`.\n\n\r\n\x05\x04\x01\x02\0\x04\x12\x04`\ + \x02\\\x1d\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03`\x02\x08\n\x0c\n\x05\ + \x04\x01\x02\0\x01\x12\x03`\t\x11\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03`\ + \x14\x15\n>\n\x02\x04\x02\x12\x04d\0o\x01\x1a2\x20Request\x20message\x20\ + for\x20`TestIamPermissions`\x20method.\n\n\n\n\x03\x04\x02\x01\x12\x03d\ + \x08!\n\xc9\x01\n\x04\x04\x02\x02\0\x12\x03h\x02\x16\x1a\xbb\x01\x20REQU\ + IRED:\x20The\x20resource\x20for\x20which\x20the\x20policy\x20detail\x20i\ + s\x20being\x20requested.\n\x20`resource`\x20is\x20usually\x20specified\ + \x20as\x20a\x20path.\x20For\x20example,\x20a\x20Project\n\x20resource\ + \x20is\x20specified\x20as\x20`projects/{project}`.\n\n\r\n\x05\x04\x02\ + \x02\0\x04\x12\x04h\x02d#\n\x0c\n\x05\x04\x02\x02\0\x05\x12\x03h\x02\x08\ + \n\x0c\n\x05\x04\x02\x02\0\x01\x12\x03h\t\x11\n\x0c\n\x05\x04\x02\x02\0\ + \x03\x12\x03h\x14\x15\n\xf0\x01\n\x04\x04\x02\x02\x01\x12\x03n\x02\"\x1a\ + \xe2\x01\x20The\x20set\x20of\x20permissions\x20to\x20check\x20for\x20the\ + \x20`resource`.\x20Permissions\x20with\n\x20wildcards\x20(such\x20as\x20\ + '*'\x20or\x20'storage.*')\x20are\x20not\x20allowed.\x20For\x20more\n\x20\ + information\x20see\n\x20[IAM\x20Overview](https://cloud.google.com/iam/d\ + ocs/overview#permissions).\n\n\x0c\n\x05\x04\x02\x02\x01\x04\x12\x03n\ + \x02\n\n\x0c\n\x05\x04\x02\x02\x01\x05\x12\x03n\x0b\x11\n\x0c\n\x05\x04\ + \x02\x02\x01\x01\x12\x03n\x12\x1d\n\x0c\n\x05\x04\x02\x02\x01\x03\x12\ + \x03n\x20!\n?\n\x02\x04\x03\x12\x04r\0v\x01\x1a3\x20Response\x20message\ + \x20for\x20`TestIamPermissions`\x20method.\n\n\n\n\x03\x04\x03\x01\x12\ + \x03r\x08\"\n\\\n\x04\x04\x03\x02\0\x12\x03u\x02\"\x1aO\x20A\x20subset\ + \x20of\x20`TestPermissionsRequest.permissions`\x20that\x20the\x20caller\ + \x20is\n\x20allowed.\n\n\x0c\n\x05\x04\x03\x02\0\x04\x12\x03u\x02\n\n\ + \x0c\n\x05\x04\x03\x02\0\x05\x12\x03u\x0b\x11\n\x0c\n\x05\x04\x03\x02\0\ + \x01\x12\x03u\x12\x1d\n\x0c\n\x05\x04\x03\x02\0\x03\x12\x03u\x20!b\x06pr\ + oto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy_grpc.rs index 7eb91e87c1..a407c13864 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy_grpc.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy_grpc.rs @@ -119,7 +119,7 @@ pub fn create_iam_policy(s: S) -> ::grpci builder = builder.add_unary_handler(&METHOD_IAM_POLICY_GET_IAM_POLICY, move |ctx, req, resp| { instance.get_iam_policy(ctx, req, resp) }); - let mut instance = s.clone(); + let mut instance = s; builder = builder.add_unary_handler(&METHOD_IAM_POLICY_TEST_IAM_PERMISSIONS, move |ctx, req, resp| { instance.test_iam_permissions(ctx, req, resp) }); diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/mod.rs index 5b512fb2b0..7b860ccd7b 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/mod.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/mod.rs @@ -1,3 +1,3 @@ -pub mod iam_policy; pub mod iam_policy_grpc; +pub mod iam_policy; pub mod policy; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/policy.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/policy.rs index fb34857c64..6c2a871ffe 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/policy.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/policy.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct Policy { @@ -125,7 +125,7 @@ impl ::protobuf::Message for Policy { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -169,7 +169,7 @@ impl ::protobuf::Message for Policy { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if self.version != 0 { os.write_int32(1, self.version)?; } @@ -197,13 +197,13 @@ impl ::protobuf::Message for Policy { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -216,10 +216,7 @@ impl ::protobuf::Message for Policy { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -248,10 +245,7 @@ impl ::protobuf::Message for Policy { } fn default_instance() -> &'static Policy { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Policy, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Policy::new) } @@ -268,14 +262,14 @@ impl ::protobuf::Clear for Policy { } impl ::std::fmt::Debug for Policy { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Policy { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -357,7 +351,7 @@ impl ::protobuf::Message for Binding { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -390,7 +384,7 @@ impl ::protobuf::Message for Binding { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.role.is_empty() { os.write_string(1, &self.role)?; } @@ -413,13 +407,13 @@ impl ::protobuf::Message for Binding { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -432,10 +426,7 @@ impl ::protobuf::Message for Binding { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -459,10 +450,7 @@ impl ::protobuf::Message for Binding { } fn default_instance() -> &'static Binding { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Binding, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Binding::new) } @@ -478,14 +466,14 @@ impl ::protobuf::Clear for Binding { } impl ::std::fmt::Debug for Binding { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Binding { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -545,7 +533,7 @@ impl ::protobuf::Message for PolicyDelta { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -573,7 +561,7 @@ impl ::protobuf::Message for PolicyDelta { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.binding_deltas { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -595,13 +583,13 @@ impl ::protobuf::Message for PolicyDelta { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -614,10 +602,7 @@ impl ::protobuf::Message for PolicyDelta { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -636,10 +621,7 @@ impl ::protobuf::Message for PolicyDelta { } fn default_instance() -> &'static PolicyDelta { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PolicyDelta, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PolicyDelta::new) } @@ -654,14 +636,14 @@ impl ::protobuf::Clear for PolicyDelta { } impl ::std::fmt::Debug for PolicyDelta { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PolicyDelta { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -760,7 +742,7 @@ impl ::protobuf::Message for BindingDelta { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -799,7 +781,7 @@ impl ::protobuf::Message for BindingDelta { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if self.action != BindingDelta_Action::ACTION_UNSPECIFIED { os.write_enum(1, self.action.value())?; } @@ -825,13 +807,13 @@ impl ::protobuf::Message for BindingDelta { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -844,10 +826,7 @@ impl ::protobuf::Message for BindingDelta { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -876,10 +855,7 @@ impl ::protobuf::Message for BindingDelta { } fn default_instance() -> &'static BindingDelta { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const BindingDelta, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(BindingDelta::new) } @@ -896,14 +872,14 @@ impl ::protobuf::Clear for BindingDelta { } impl ::std::fmt::Debug for BindingDelta { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for BindingDelta { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -938,10 +914,7 @@ impl ::protobuf::ProtobufEnum for BindingDelta_Action { } fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { ::protobuf::reflect::EnumDescriptor::new("BindingDelta_Action", file_descriptor_proto()) @@ -960,8 +933,8 @@ impl ::std::default::Default for BindingDelta_Action { } impl ::protobuf::reflect::ProtobufValue for BindingDelta_Action { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor()) } } @@ -980,7 +953,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \n\x03ADD\x10\x01\x12\n\n\x06REMOVE\x10\x02B\x83\x01\n\x11com.google.iam\ .v1B\x0bPolicyProtoP\x01Z0google.golang.org/genproto/googleapis/iam/v1;i\ am\xf8\x01\x01\xaa\x02\x13Google.Cloud.Iam.V1\xca\x02\x13Google\\Cloud\\\ - Iam\\V1J\xb5(\n\x07\x12\x05\x0e\0\x95\x01\x01\n\xbd\x04\n\x01\x0c\x12\ + Iam\\V1J\xe0+\n\x07\x12\x05\x0e\0\x95\x01\x01\n\xbd\x04\n\x01\x0c\x12\ \x03\x0e\0\x122\xb2\x04\x20Copyright\x202016\x20Google\x20Inc.\n\n\x20Li\ censed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20(the\ \x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20excep\ @@ -993,88 +966,110 @@ static file_descriptor_proto_data: &'static [u8] = b"\ DITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20implied.\n\ \x20See\x20the\x20License\x20for\x20the\x20specific\x20language\x20gover\ ning\x20permissions\x20and\n\x20limitations\x20under\x20the\x20License.\ - \n\n\x08\n\x01\x02\x12\x03\x10\0\x16\n\t\n\x02\x03\0\x12\x03\x12\0&\n\ - \x08\n\x01\x08\x12\x03\x14\0\x1f\n\t\n\x02\x08\x1f\x12\x03\x14\0\x1f\n\ - \x08\n\x01\x08\x12\x03\x15\00\n\t\n\x02\x08%\x12\x03\x15\00\n\x08\n\x01\ - \x08\x12\x03\x16\0G\n\t\n\x02\x08\x0b\x12\x03\x16\0G\n\x08\n\x01\x08\x12\ - \x03\x17\0\"\n\t\n\x02\x08\n\x12\x03\x17\0\"\n\x08\n\x01\x08\x12\x03\x18\ - \0,\n\t\n\x02\x08\x08\x12\x03\x18\0,\n\x08\n\x01\x08\x12\x03\x19\0*\n\t\ - \n\x02\x08\x01\x12\x03\x19\0*\n\x08\n\x01\x08\x12\x03\x1a\00\n\t\n\x02\ - \x08)\x12\x03\x1a\00\n\xb6\x07\n\x02\x04\0\x12\x04<\0P\x01\x1a\xa9\x07\ - \x20Defines\x20an\x20Identity\x20and\x20Access\x20Management\x20(IAM)\ - \x20policy.\x20It\x20is\x20used\x20to\n\x20specify\x20access\x20control\ - \x20policies\x20for\x20Cloud\x20Platform\x20resources.\n\n\n\x20A\x20`Po\ - licy`\x20consists\x20of\x20a\x20list\x20of\x20`bindings`.\x20A\x20`Bindi\ - ng`\x20binds\x20a\x20list\x20of\n\x20`members`\x20to\x20a\x20`role`,\x20\ - where\x20the\x20members\x20can\x20be\x20user\x20accounts,\x20Google\x20g\ - roups,\n\x20Google\x20domains,\x20and\x20service\x20accounts.\x20A\x20`r\ - ole`\x20is\x20a\x20named\x20list\x20of\x20permissions\n\x20defined\x20by\ - \x20IAM.\n\n\x20**Example**\n\n\x20\x20\x20\x20\x20{\n\x20\x20\x20\x20\ - \x20\x20\x20\"bindings\":\x20[\n\x20\x20\x20\x20\x20\x20\x20\x20\x20{\n\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\"role\":\x20\"roles/owner\"\ - ,\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\"members\":\x20[\n\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\"user:mike@example.com\ - \",\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\"group:admins@\ - example.com\",\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\"do\ - main:google.com\",\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20]\n\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20},\n\x20\x20\x20\x20\x20\x20\x20\x20\x20{\n\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\"role\":\x20\"roles/viewer\",\n\x20\x20\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\"members\":\x20[\"user:sean@example.com\"]\n\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20}\n\x20\x20\x20\x20\x20\x20\x20]\n\ - \x20\x20\x20\x20\x20}\n\n\x20For\x20a\x20description\x20of\x20IAM\x20and\ - \x20its\x20features,\x20see\x20the\n\x20[IAM\x20developer's\x20guide](ht\ - tps://cloud.google.com/iam).\n\n\n\n\x03\x04\0\x01\x12\x03<\x08\x0e\nA\n\ - \x04\x04\0\x02\0\x12\x03>\x02\x14\x1a4\x20Version\x20of\x20the\x20`Polic\ - y`.\x20The\x20default\x20version\x20is\x200.\n\n\r\n\x05\x04\0\x02\0\x04\ - \x12\x04>\x02<\x10\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03>\x02\x07\n\x0c\n\ - \x05\x04\0\x02\0\x01\x12\x03>\x08\x0f\n\x0c\n\x05\x04\0\x02\0\x03\x12\ - \x03>\x12\x13\n\xb0\x01\n\x04\x04\0\x02\x01\x12\x03C\x02\x20\x1a\xa2\x01\ - \x20Associates\x20a\x20list\x20of\x20`members`\x20to\x20a\x20`role`.\n\ - \x20Multiple\x20`bindings`\x20must\x20not\x20be\x20specified\x20for\x20t\ - he\x20same\x20`role`.\n\x20`bindings`\x20with\x20no\x20members\x20will\ - \x20result\x20in\x20an\x20error.\n\n\x0c\n\x05\x04\0\x02\x01\x04\x12\x03\ - C\x02\n\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03C\x0b\x12\n\x0c\n\x05\x04\0\ - \x02\x01\x01\x12\x03C\x13\x1b\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03C\x1e\ - \x1f\n\xf6\x04\n\x04\x04\0\x02\x02\x12\x03O\x02\x11\x1a\xe8\x04\x20`etag\ - `\x20is\x20used\x20for\x20optimistic\x20concurrency\x20control\x20as\x20\ - a\x20way\x20to\x20help\n\x20prevent\x20simultaneous\x20updates\x20of\x20\ - a\x20policy\x20from\x20overwriting\x20each\x20other.\n\x20It\x20is\x20st\ - rongly\x20suggested\x20that\x20systems\x20make\x20use\x20of\x20the\x20`e\ - tag`\x20in\x20the\n\x20read-modify-write\x20cycle\x20to\x20perform\x20po\ - licy\x20updates\x20in\x20order\x20to\x20avoid\x20race\n\x20conditions:\ - \x20An\x20`etag`\x20is\x20returned\x20in\x20the\x20response\x20to\x20`ge\ - tIamPolicy`,\x20and\n\x20systems\x20are\x20expected\x20to\x20put\x20that\ - \x20etag\x20in\x20the\x20request\x20to\x20`setIamPolicy`\x20to\n\x20ensu\ - re\x20that\x20their\x20change\x20will\x20be\x20applied\x20to\x20the\x20s\ - ame\x20version\x20of\x20the\x20policy.\n\n\x20If\x20no\x20`etag`\x20is\ - \x20provided\x20in\x20the\x20call\x20to\x20`setIamPolicy`,\x20then\x20th\ - e\x20existing\n\x20policy\x20is\x20overwritten\x20blindly.\n\n\r\n\x05\ - \x04\0\x02\x02\x04\x12\x04O\x02C\x20\n\x0c\n\x05\x04\0\x02\x02\x05\x12\ - \x03O\x02\x07\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03O\x08\x0c\n\x0c\n\x05\ - \x04\0\x02\x02\x03\x12\x03O\x0f\x10\n1\n\x02\x04\x01\x12\x04S\0q\x01\x1a\ - %\x20Associates\x20`members`\x20with\x20a\x20`role`.\n\n\n\n\x03\x04\x01\ - \x01\x12\x03S\x08\x0f\n|\n\x04\x04\x01\x02\0\x12\x03W\x02\x12\x1ao\x20Ro\ - le\x20that\x20is\x20assigned\x20to\x20`members`.\n\x20For\x20example,\ - \x20`roles/viewer`,\x20`roles/editor`,\x20or\x20`roles/owner`.\n\x20Requ\ - ired\n\n\r\n\x05\x04\x01\x02\0\x04\x12\x04W\x02S\x11\n\x0c\n\x05\x04\x01\ - \x02\0\x05\x12\x03W\x02\x08\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03W\t\r\n\ - \x0c\n\x05\x04\x01\x02\0\x03\x12\x03W\x10\x11\n\xa8\x07\n\x04\x04\x01\ - \x02\x01\x12\x03p\x02\x1e\x1a\x9a\x07\x20Specifies\x20the\x20identities\ - \x20requesting\x20access\x20for\x20a\x20Cloud\x20Platform\x20resource.\n\ - \x20`members`\x20can\x20have\x20the\x20following\x20values:\n\n\x20*\x20\ - `allUsers`:\x20A\x20special\x20identifier\x20that\x20represents\x20anyon\ - e\x20who\x20is\n\x20\x20\x20\x20on\x20the\x20internet;\x20with\x20or\x20\ - without\x20a\x20Google\x20account.\n\n\x20*\x20`allAuthenticatedUsers`:\ - \x20A\x20special\x20identifier\x20that\x20represents\x20anyone\n\x20\x20\ - \x20\x20who\x20is\x20authenticated\x20with\x20a\x20Google\x20account\x20\ - or\x20a\x20service\x20account.\n\n\x20*\x20`user:{emailid}`:\x20An\x20em\ - ail\x20address\x20that\x20represents\x20a\x20specific\x20Google\n\x20\ - \x20\x20\x20account.\x20For\x20example,\x20`alice@gmail.com`\x20or\x20`j\ - oe@example.com`.\n\n\n\x20*\x20`serviceAccount:{emailid}`:\x20An\x20emai\ - l\x20address\x20that\x20represents\x20a\x20service\n\x20\x20\x20\x20acco\ - unt.\x20For\x20example,\x20`my-other-app@appspot.gserviceaccount.com`.\n\ + \n\n\x08\n\x01\x02\x12\x03\x10\x08\x15\n\t\n\x02\x03\0\x12\x03\x12\x07%\ + \n\x08\n\x01\x08\x12\x03\x14\0\x1f\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x14\ + \0\x1f\n\x0c\n\x05\x08\xe7\x07\0\x02\x12\x03\x14\x07\x17\n\r\n\x06\x08\ + \xe7\x07\0\x02\0\x12\x03\x14\x07\x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\ + \x12\x03\x14\x07\x17\n\x0c\n\x05\x08\xe7\x07\0\x03\x12\x03\x14\x1a\x1e\n\ + \x08\n\x01\x08\x12\x03\x15\00\n\x0b\n\x04\x08\xe7\x07\x01\x12\x03\x15\00\ + \n\x0c\n\x05\x08\xe7\x07\x01\x02\x12\x03\x15\x07\x17\n\r\n\x06\x08\xe7\ + \x07\x01\x02\0\x12\x03\x15\x07\x17\n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\ + \x12\x03\x15\x07\x17\n\x0c\n\x05\x08\xe7\x07\x01\x07\x12\x03\x15\x1a/\n\ + \x08\n\x01\x08\x12\x03\x16\0G\n\x0b\n\x04\x08\xe7\x07\x02\x12\x03\x16\0G\ + \n\x0c\n\x05\x08\xe7\x07\x02\x02\x12\x03\x16\x07\x11\n\r\n\x06\x08\xe7\ + \x07\x02\x02\0\x12\x03\x16\x07\x11\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\ + \x12\x03\x16\x07\x11\n\x0c\n\x05\x08\xe7\x07\x02\x07\x12\x03\x16\x14F\n\ + \x08\n\x01\x08\x12\x03\x17\0\"\n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x17\0\ + \"\n\x0c\n\x05\x08\xe7\x07\x03\x02\x12\x03\x17\x07\x1a\n\r\n\x06\x08\xe7\ + \x07\x03\x02\0\x12\x03\x17\x07\x1a\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\ + \x12\x03\x17\x07\x1a\n\x0c\n\x05\x08\xe7\x07\x03\x03\x12\x03\x17\x1d!\n\ + \x08\n\x01\x08\x12\x03\x18\0,\n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x18\0,\ + \n\x0c\n\x05\x08\xe7\x07\x04\x02\x12\x03\x18\x07\x1b\n\r\n\x06\x08\xe7\ + \x07\x04\x02\0\x12\x03\x18\x07\x1b\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\ + \x12\x03\x18\x07\x1b\n\x0c\n\x05\x08\xe7\x07\x04\x07\x12\x03\x18\x1e+\n\ + \x08\n\x01\x08\x12\x03\x19\0*\n\x0b\n\x04\x08\xe7\x07\x05\x12\x03\x19\0*\ + \n\x0c\n\x05\x08\xe7\x07\x05\x02\x12\x03\x19\x07\x13\n\r\n\x06\x08\xe7\ + \x07\x05\x02\0\x12\x03\x19\x07\x13\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\ + \x12\x03\x19\x07\x13\n\x0c\n\x05\x08\xe7\x07\x05\x07\x12\x03\x19\x16)\n\ + \x08\n\x01\x08\x12\x03\x1a\00\n\x0b\n\x04\x08\xe7\x07\x06\x12\x03\x1a\00\ + \n\x0c\n\x05\x08\xe7\x07\x06\x02\x12\x03\x1a\x07\x14\n\r\n\x06\x08\xe7\ + \x07\x06\x02\0\x12\x03\x1a\x07\x14\n\x0e\n\x07\x08\xe7\x07\x06\x02\0\x01\ + \x12\x03\x1a\x07\x14\n\x0c\n\x05\x08\xe7\x07\x06\x07\x12\x03\x1a\x17/\n\ + \xb6\x07\n\x02\x04\0\x12\x04<\0P\x01\x1a\xa9\x07\x20Defines\x20an\x20Ide\ + ntity\x20and\x20Access\x20Management\x20(IAM)\x20policy.\x20It\x20is\x20\ + used\x20to\n\x20specify\x20access\x20control\x20policies\x20for\x20Cloud\ + \x20Platform\x20resources.\n\n\n\x20A\x20`Policy`\x20consists\x20of\x20a\ + \x20list\x20of\x20`bindings`.\x20A\x20`Binding`\x20binds\x20a\x20list\ + \x20of\n\x20`members`\x20to\x20a\x20`role`,\x20where\x20the\x20members\ + \x20can\x20be\x20user\x20accounts,\x20Google\x20groups,\n\x20Google\x20d\ + omains,\x20and\x20service\x20accounts.\x20A\x20`role`\x20is\x20a\x20name\ + d\x20list\x20of\x20permissions\n\x20defined\x20by\x20IAM.\n\n\x20**Examp\ + le**\n\n\x20\x20\x20\x20\x20{\n\x20\x20\x20\x20\x20\x20\x20\"bindings\":\ + \x20[\n\x20\x20\x20\x20\x20\x20\x20\x20\x20{\n\x20\x20\x20\x20\x20\x20\ + \x20\x20\x20\x20\x20\"role\":\x20\"roles/owner\",\n\x20\x20\x20\x20\x20\ + \x20\x20\x20\x20\x20\x20\"members\":\x20[\n\x20\x20\x20\x20\x20\x20\x20\ + \x20\x20\x20\x20\x20\x20\"user:mike@example.com\",\n\x20\x20\x20\x20\x20\ + \x20\x20\x20\x20\x20\x20\x20\x20\"group:admins@example.com\",\n\x20\x20\ + \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\"domain:google.com\",\n\x20\ + \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\"serviceAccount:my-othe\ + r-app@appspot.gserviceaccount.com\",\n\x20\x20\x20\x20\x20\x20\x20\x20\ + \x20\x20\x20]\n\x20\x20\x20\x20\x20\x20\x20\x20\x20},\n\x20\x20\x20\x20\ + \x20\x20\x20\x20\x20{\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\"rol\ + e\":\x20\"roles/viewer\",\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ + \"members\":\x20[\"user:sean@example.com\"]\n\x20\x20\x20\x20\x20\x20\ + \x20\x20\x20}\n\x20\x20\x20\x20\x20\x20\x20]\n\x20\x20\x20\x20\x20}\n\n\ + \x20For\x20a\x20description\x20of\x20IAM\x20and\x20its\x20features,\x20s\ + ee\x20the\n\x20[IAM\x20developer's\x20guide](https://cloud.google.com/ia\ + m).\n\n\n\n\x03\x04\0\x01\x12\x03<\x08\x0e\nA\n\x04\x04\0\x02\0\x12\x03>\ + \x02\x14\x1a4\x20Version\x20of\x20the\x20`Policy`.\x20The\x20default\x20\ + version\x20is\x200.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04>\x02<\x10\n\x0c\ + \n\x05\x04\0\x02\0\x05\x12\x03>\x02\x07\n\x0c\n\x05\x04\0\x02\0\x01\x12\ + \x03>\x08\x0f\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03>\x12\x13\n\xb0\x01\n\ + \x04\x04\0\x02\x01\x12\x03C\x02\x20\x1a\xa2\x01\x20Associates\x20a\x20li\ + st\x20of\x20`members`\x20to\x20a\x20`role`.\n\x20Multiple\x20`bindings`\ + \x20must\x20not\x20be\x20specified\x20for\x20the\x20same\x20`role`.\n\ + \x20`bindings`\x20with\x20no\x20members\x20will\x20result\x20in\x20an\ + \x20error.\n\n\x0c\n\x05\x04\0\x02\x01\x04\x12\x03C\x02\n\n\x0c\n\x05\ + \x04\0\x02\x01\x06\x12\x03C\x0b\x12\n\x0c\n\x05\x04\0\x02\x01\x01\x12\ + \x03C\x13\x1b\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03C\x1e\x1f\n\xf6\x04\n\ + \x04\x04\0\x02\x02\x12\x03O\x02\x11\x1a\xe8\x04\x20`etag`\x20is\x20used\ + \x20for\x20optimistic\x20concurrency\x20control\x20as\x20a\x20way\x20to\ + \x20help\n\x20prevent\x20simultaneous\x20updates\x20of\x20a\x20policy\ + \x20from\x20overwriting\x20each\x20other.\n\x20It\x20is\x20strongly\x20s\ + uggested\x20that\x20systems\x20make\x20use\x20of\x20the\x20`etag`\x20in\ + \x20the\n\x20read-modify-write\x20cycle\x20to\x20perform\x20policy\x20up\ + dates\x20in\x20order\x20to\x20avoid\x20race\n\x20conditions:\x20An\x20`e\ + tag`\x20is\x20returned\x20in\x20the\x20response\x20to\x20`getIamPolicy`,\ + \x20and\n\x20systems\x20are\x20expected\x20to\x20put\x20that\x20etag\x20\ + in\x20the\x20request\x20to\x20`setIamPolicy`\x20to\n\x20ensure\x20that\ + \x20their\x20change\x20will\x20be\x20applied\x20to\x20the\x20same\x20ver\ + sion\x20of\x20the\x20policy.\n\n\x20If\x20no\x20`etag`\x20is\x20provided\ + \x20in\x20the\x20call\x20to\x20`setIamPolicy`,\x20then\x20the\x20existin\ + g\n\x20policy\x20is\x20overwritten\x20blindly.\n\n\r\n\x05\x04\0\x02\x02\ + \x04\x12\x04O\x02C\x20\n\x0c\n\x05\x04\0\x02\x02\x05\x12\x03O\x02\x07\n\ + \x0c\n\x05\x04\0\x02\x02\x01\x12\x03O\x08\x0c\n\x0c\n\x05\x04\0\x02\x02\ + \x03\x12\x03O\x0f\x10\n1\n\x02\x04\x01\x12\x04S\0q\x01\x1a%\x20Associate\ + s\x20`members`\x20with\x20a\x20`role`.\n\n\n\n\x03\x04\x01\x01\x12\x03S\ + \x08\x0f\n|\n\x04\x04\x01\x02\0\x12\x03W\x02\x12\x1ao\x20Role\x20that\ + \x20is\x20assigned\x20to\x20`members`.\n\x20For\x20example,\x20`roles/vi\ + ewer`,\x20`roles/editor`,\x20or\x20`roles/owner`.\n\x20Required\n\n\r\n\ + \x05\x04\x01\x02\0\x04\x12\x04W\x02S\x11\n\x0c\n\x05\x04\x01\x02\0\x05\ + \x12\x03W\x02\x08\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03W\t\r\n\x0c\n\x05\ + \x04\x01\x02\0\x03\x12\x03W\x10\x11\n\xa8\x07\n\x04\x04\x01\x02\x01\x12\ + \x03p\x02\x1e\x1a\x9a\x07\x20Specifies\x20the\x20identities\x20requestin\ + g\x20access\x20for\x20a\x20Cloud\x20Platform\x20resource.\n\x20`members`\ + \x20can\x20have\x20the\x20following\x20values:\n\n\x20*\x20`allUsers`:\ + \x20A\x20special\x20identifier\x20that\x20represents\x20anyone\x20who\ + \x20is\n\x20\x20\x20\x20on\x20the\x20internet;\x20with\x20or\x20without\ + \x20a\x20Google\x20account.\n\n\x20*\x20`allAuthenticatedUsers`:\x20A\ + \x20special\x20identifier\x20that\x20represents\x20anyone\n\x20\x20\x20\ + \x20who\x20is\x20authenticated\x20with\x20a\x20Google\x20account\x20or\ + \x20a\x20service\x20account.\n\n\x20*\x20`user:{emailid}`:\x20An\x20emai\ + l\x20address\x20that\x20represents\x20a\x20specific\x20Google\n\x20\x20\ + \x20\x20account.\x20For\x20example,\x20`alice@gmail.com`\x20or\x20`joe@e\ + xample.com`.\n\n\n\x20*\x20`serviceAccount:{emailid}`:\x20An\x20email\ + \x20address\x20that\x20represents\x20a\x20service\n\x20\x20\x20\x20accou\ + nt.\x20For\x20example,\x20`my-other-app@appspot.gserviceaccount.com`.\n\ \n\x20*\x20`group:{emailid}`:\x20An\x20email\x20address\x20that\x20repre\ sents\x20a\x20Google\x20group.\n\x20\x20\x20\x20For\x20example,\x20`admi\ ns@example.com`.\n\n\x20*\x20`domain:{domain}`:\x20A\x20Google\x20Apps\ @@ -1125,10 +1120,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ b\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/lib.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/lib.rs index b70f4f4cca..b96a658d15 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/lib.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/lib.rs @@ -1,10 +1,13 @@ #![allow(bare_trait_objects)] -pub mod bigtable; -pub mod pubsub; -pub mod spanner; +// This appears as a comment in each generated file. Add it once here +// to save a bit of time and effort. + +const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; pub mod empty; pub(crate) mod iam; pub mod longrunning; pub(crate) mod rpc; + +pub mod spanner; \ No newline at end of file diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations.rs index 36aff74ec6..1e5ffb7a3d 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct Operation { @@ -249,7 +249,7 @@ impl ::protobuf::Message for Operation { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -317,7 +317,7 @@ impl ::protobuf::Message for Operation { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -359,13 +359,13 @@ impl ::protobuf::Message for Operation { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -378,10 +378,7 @@ impl ::protobuf::Message for Operation { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -420,10 +417,7 @@ impl ::protobuf::Message for Operation { } fn default_instance() -> &'static Operation { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Operation, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Operation::new) } @@ -442,14 +436,14 @@ impl ::protobuf::Clear for Operation { } impl ::std::fmt::Debug for Operation { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Operation { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -505,7 +499,7 @@ impl ::protobuf::Message for GetOperationRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -532,7 +526,7 @@ impl ::protobuf::Message for GetOperationRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -552,13 +546,13 @@ impl ::protobuf::Message for GetOperationRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -571,10 +565,7 @@ impl ::protobuf::Message for GetOperationRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -593,10 +584,7 @@ impl ::protobuf::Message for GetOperationRequest { } fn default_instance() -> &'static GetOperationRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetOperationRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(GetOperationRequest::new) } @@ -611,14 +599,14 @@ impl ::protobuf::Clear for GetOperationRequest { } impl ::std::fmt::Debug for GetOperationRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for GetOperationRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -744,7 +732,7 @@ impl ::protobuf::Message for ListOperationsRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -793,7 +781,7 @@ impl ::protobuf::Message for ListOperationsRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(4, &self.name)?; } @@ -822,13 +810,13 @@ impl ::protobuf::Message for ListOperationsRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -841,10 +829,7 @@ impl ::protobuf::Message for ListOperationsRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -878,10 +863,7 @@ impl ::protobuf::Message for ListOperationsRequest { } fn default_instance() -> &'static ListOperationsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListOperationsRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ListOperationsRequest::new) } @@ -899,14 +881,14 @@ impl ::protobuf::Clear for ListOperationsRequest { } impl ::std::fmt::Debug for ListOperationsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ListOperationsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -993,7 +975,7 @@ impl ::protobuf::Message for ListOperationsResponse { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1027,7 +1009,7 @@ impl ::protobuf::Message for ListOperationsResponse { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.operations { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -1052,13 +1034,13 @@ impl ::protobuf::Message for ListOperationsResponse { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1071,10 +1053,7 @@ impl ::protobuf::Message for ListOperationsResponse { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1098,10 +1077,7 @@ impl ::protobuf::Message for ListOperationsResponse { } fn default_instance() -> &'static ListOperationsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListOperationsResponse, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ListOperationsResponse::new) } @@ -1117,14 +1093,14 @@ impl ::protobuf::Clear for ListOperationsResponse { } impl ::std::fmt::Debug for ListOperationsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ListOperationsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1180,7 +1156,7 @@ impl ::protobuf::Message for CancelOperationRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1207,7 +1183,7 @@ impl ::protobuf::Message for CancelOperationRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -1227,13 +1203,13 @@ impl ::protobuf::Message for CancelOperationRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1246,10 +1222,7 @@ impl ::protobuf::Message for CancelOperationRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1268,10 +1241,7 @@ impl ::protobuf::Message for CancelOperationRequest { } fn default_instance() -> &'static CancelOperationRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CancelOperationRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(CancelOperationRequest::new) } @@ -1286,14 +1256,14 @@ impl ::protobuf::Clear for CancelOperationRequest { } impl ::std::fmt::Debug for CancelOperationRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for CancelOperationRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1349,7 +1319,7 @@ impl ::protobuf::Message for DeleteOperationRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1376,7 +1346,7 @@ impl ::protobuf::Message for DeleteOperationRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -1396,13 +1366,13 @@ impl ::protobuf::Message for DeleteOperationRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1415,10 +1385,7 @@ impl ::protobuf::Message for DeleteOperationRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1437,10 +1404,7 @@ impl ::protobuf::Message for DeleteOperationRequest { } fn default_instance() -> &'static DeleteOperationRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteOperationRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(DeleteOperationRequest::new) } @@ -1455,14 +1419,14 @@ impl ::protobuf::Clear for DeleteOperationRequest { } impl ::std::fmt::Debug for DeleteOperationRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for DeleteOperationRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1496,7 +1460,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \"*\x82\xd3\xe4\x93\x02$\"\x1f/v1/{name=operations/**}:cancel:\x01*B\x94\ \x01\n\x16com.google.longrunningB\x0fOperationsProtoP\x01Z=google.golang\ .org/genproto/googleapis/longrunning;longrunning\xaa\x02\x12Google.LongR\ - unning\xca\x02\x12Google\\LongRunningJ\xed4\n\x07\x12\x05\x0e\0\x9e\x01\ + unning\xca\x02\x12Google\\LongRunningJ\x83:\n\x07\x12\x05\x0e\0\x9e\x01\ \x01\n\xbd\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb2\x04\x20Copyright\x202016\ \x20Google\x20Inc.\n\n\x20Licensed\x20under\x20the\x20Apache\x20License,\ \x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\x20us\ @@ -1509,62 +1473,91 @@ static file_descriptor_proto_data: &'static [u8] = b"\ UT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20\ express\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20sp\ ecific\x20language\x20governing\x20permissions\x20and\n\x20limitations\ - \x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0\x1b\n\t\n\ - \x02\x03\0\x12\x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\0#\n\t\n\x02\x03\ - \x02\x12\x03\x14\0%\n\t\n\x02\x03\x03\x12\x03\x15\0!\n\x08\n\x01\x08\x12\ - \x03\x17\0/\n\t\n\x02\x08%\x12\x03\x17\0/\n\x08\n\x01\x08\x12\x03\x18\0T\ - \n\t\n\x02\x08\x0b\x12\x03\x18\0T\n\x08\n\x01\x08\x12\x03\x19\0\"\n\t\n\ - \x02\x08\n\x12\x03\x19\0\"\n\x08\n\x01\x08\x12\x03\x1a\00\n\t\n\x02\x08\ - \x08\x12\x03\x1a\00\n\x08\n\x01\x08\x12\x03\x1b\0/\n\t\n\x02\x08\x01\x12\ - \x03\x1b\0/\n\x08\n\x01\x08\x12\x03\x1c\0-\n\t\n\x02\x08)\x12\x03\x1c\0-\ - \n\xd2\x04\n\x02\x06\0\x12\x04(\0N\x01\x1a\xc5\x04\x20Manages\x20long-ru\ - nning\x20operations\x20with\x20an\x20API\x20service.\n\n\x20When\x20an\ - \x20API\x20method\x20normally\x20takes\x20long\x20time\x20to\x20complete\ - ,\x20it\x20can\x20be\x20designed\n\x20to\x20return\x20[Operation][google\ - .longrunning.Operation]\x20to\x20the\x20client,\x20and\x20the\x20client\ - \x20can\x20use\x20this\n\x20interface\x20to\x20receive\x20the\x20real\ - \x20response\x20asynchronously\x20by\x20polling\x20the\n\x20operation\ - \x20resource,\x20or\x20pass\x20the\x20operation\x20resource\x20to\x20ano\ - ther\x20API\x20(such\x20as\n\x20Google\x20Cloud\x20Pub/Sub\x20API)\x20to\ - \x20receive\x20the\x20response.\x20\x20Any\x20API\x20service\x20that\n\ - \x20returns\x20long-running\x20operations\x20should\x20implement\x20the\ - \x20`Operations`\x20interface\n\x20so\x20developers\x20can\x20have\x20a\ - \x20consistent\x20client\x20experience.\n\n\n\n\x03\x06\0\x01\x12\x03(\ - \x08\x12\n\xad\x02\n\x04\x06\0\x02\0\x12\x04.\x020\x03\x1a\x9e\x02\x20Li\ - sts\x20operations\x20that\x20match\x20the\x20specified\x20filter\x20in\ - \x20the\x20request.\x20If\x20the\n\x20server\x20doesn't\x20support\x20th\ - is\x20method,\x20it\x20returns\x20`UNIMPLEMENTED`.\n\n\x20NOTE:\x20the\ - \x20`name`\x20binding\x20below\x20allows\x20API\x20services\x20to\x20ove\ - rride\x20the\x20binding\n\x20to\x20use\x20different\x20resource\x20name\ - \x20schemes,\x20such\x20as\x20`users/*/operations`.\n\n\x0c\n\x05\x06\0\ - \x02\0\x01\x12\x03.\x06\x14\n\x0c\n\x05\x06\0\x02\0\x02\x12\x03.\x15*\n\ - \x0c\n\x05\x06\0\x02\0\x03\x12\x03.5K\n\x0c\n\x05\x06\0\x02\0\x04\x12\ - \x03/\x04@\n\x10\n\t\x06\0\x02\0\x04\xb0\xca\xbc\"\x12\x03/\x04@\n\xaf\ - \x01\n\x04\x06\0\x02\x01\x12\x045\x027\x03\x1a\xa0\x01\x20Gets\x20the\ - \x20latest\x20state\x20of\x20a\x20long-running\x20operation.\x20\x20Clie\ - nts\x20can\x20use\x20this\n\x20method\x20to\x20poll\x20the\x20operation\ - \x20result\x20at\x20intervals\x20as\x20recommended\x20by\x20the\x20API\n\ - \x20service.\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\x035\x06\x12\n\x0c\n\ + \x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\x08\x1a\n\t\n\ + \x02\x03\0\x12\x03\x12\x07%\n\t\n\x02\x03\x01\x12\x03\x13\x07\"\n\t\n\ + \x02\x03\x02\x12\x03\x14\x07$\n\t\n\x02\x03\x03\x12\x03\x15\x07\x20\n\ + \x08\n\x01\x08\x12\x03\x17\0/\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x17\0/\n\ + \x0c\n\x05\x08\xe7\x07\0\x02\x12\x03\x17\x07\x17\n\r\n\x06\x08\xe7\x07\0\ + \x02\0\x12\x03\x17\x07\x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\ + \x17\x07\x17\n\x0c\n\x05\x08\xe7\x07\0\x07\x12\x03\x17\x1a.\n\x08\n\x01\ + \x08\x12\x03\x18\0T\n\x0b\n\x04\x08\xe7\x07\x01\x12\x03\x18\0T\n\x0c\n\ + \x05\x08\xe7\x07\x01\x02\x12\x03\x18\x07\x11\n\r\n\x06\x08\xe7\x07\x01\ + \x02\0\x12\x03\x18\x07\x11\n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\ + \x18\x07\x11\n\x0c\n\x05\x08\xe7\x07\x01\x07\x12\x03\x18\x14S\n\x08\n\ + \x01\x08\x12\x03\x19\0\"\n\x0b\n\x04\x08\xe7\x07\x02\x12\x03\x19\0\"\n\ + \x0c\n\x05\x08\xe7\x07\x02\x02\x12\x03\x19\x07\x1a\n\r\n\x06\x08\xe7\x07\ + \x02\x02\0\x12\x03\x19\x07\x1a\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\ + \x03\x19\x07\x1a\n\x0c\n\x05\x08\xe7\x07\x02\x03\x12\x03\x19\x1d!\n\x08\ + \n\x01\x08\x12\x03\x1a\00\n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x1a\00\n\ + \x0c\n\x05\x08\xe7\x07\x03\x02\x12\x03\x1a\x07\x1b\n\r\n\x06\x08\xe7\x07\ + \x03\x02\0\x12\x03\x1a\x07\x1b\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\ + \x03\x1a\x07\x1b\n\x0c\n\x05\x08\xe7\x07\x03\x07\x12\x03\x1a\x1e/\n\x08\ + \n\x01\x08\x12\x03\x1b\0/\n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x1b\0/\n\ + \x0c\n\x05\x08\xe7\x07\x04\x02\x12\x03\x1b\x07\x13\n\r\n\x06\x08\xe7\x07\ + \x04\x02\0\x12\x03\x1b\x07\x13\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\ + \x03\x1b\x07\x13\n\x0c\n\x05\x08\xe7\x07\x04\x07\x12\x03\x1b\x16.\n\x08\ + \n\x01\x08\x12\x03\x1c\0-\n\x0b\n\x04\x08\xe7\x07\x05\x12\x03\x1c\0-\n\ + \x0c\n\x05\x08\xe7\x07\x05\x02\x12\x03\x1c\x07\x14\n\r\n\x06\x08\xe7\x07\ + \x05\x02\0\x12\x03\x1c\x07\x14\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\ + \x03\x1c\x07\x14\n\x0c\n\x05\x08\xe7\x07\x05\x07\x12\x03\x1c\x17,\n\xd2\ + \x04\n\x02\x06\0\x12\x04(\0N\x01\x1a\xc5\x04\x20Manages\x20long-running\ + \x20operations\x20with\x20an\x20API\x20service.\n\n\x20When\x20an\x20API\ + \x20method\x20normally\x20takes\x20long\x20time\x20to\x20complete,\x20it\ + \x20can\x20be\x20designed\n\x20to\x20return\x20[Operation][google.longru\ + nning.Operation]\x20to\x20the\x20client,\x20and\x20the\x20client\x20can\ + \x20use\x20this\n\x20interface\x20to\x20receive\x20the\x20real\x20respon\ + se\x20asynchronously\x20by\x20polling\x20the\n\x20operation\x20resource,\ + \x20or\x20pass\x20the\x20operation\x20resource\x20to\x20another\x20API\ + \x20(such\x20as\n\x20Google\x20Cloud\x20Pub/Sub\x20API)\x20to\x20receive\ + \x20the\x20response.\x20\x20Any\x20API\x20service\x20that\n\x20returns\ + \x20long-running\x20operations\x20should\x20implement\x20the\x20`Operati\ + ons`\x20interface\n\x20so\x20developers\x20can\x20have\x20a\x20consisten\ + t\x20client\x20experience.\n\n\n\n\x03\x06\0\x01\x12\x03(\x08\x12\n\xad\ + \x02\n\x04\x06\0\x02\0\x12\x04.\x020\x03\x1a\x9e\x02\x20Lists\x20operati\ + ons\x20that\x20match\x20the\x20specified\x20filter\x20in\x20the\x20reque\ + st.\x20If\x20the\n\x20server\x20doesn't\x20support\x20this\x20method,\ + \x20it\x20returns\x20`UNIMPLEMENTED`.\n\n\x20NOTE:\x20the\x20`name`\x20b\ + inding\x20below\x20allows\x20API\x20services\x20to\x20override\x20the\ + \x20binding\n\x20to\x20use\x20different\x20resource\x20name\x20schemes,\ + \x20such\x20as\x20`users/*/operations`.\n\n\x0c\n\x05\x06\0\x02\0\x01\ + \x12\x03.\x06\x14\n\x0c\n\x05\x06\0\x02\0\x02\x12\x03.\x15*\n\x0c\n\x05\ + \x06\0\x02\0\x03\x12\x03.5K\n\x0c\n\x05\x06\0\x02\0\x04\x12\x03/\x04@\n\ + \x0f\n\x08\x06\0\x02\0\x04\xe7\x07\0\x12\x03/\x04@\n\x10\n\t\x06\0\x02\0\ + \x04\xe7\x07\0\x02\x12\x03/\x0b\x1c\n\x11\n\n\x06\0\x02\0\x04\xe7\x07\0\ + \x02\0\x12\x03/\x0b\x1c\n\x12\n\x0b\x06\0\x02\0\x04\xe7\x07\0\x02\0\x01\ + \x12\x03/\x0c\x1b\n\x10\n\t\x06\0\x02\0\x04\xe7\x07\0\x08\x12\x03/\x1f?\ + \n\xaf\x01\n\x04\x06\0\x02\x01\x12\x045\x027\x03\x1a\xa0\x01\x20Gets\x20\ + the\x20latest\x20state\x20of\x20a\x20long-running\x20operation.\x20\x20C\ + lients\x20can\x20use\x20this\n\x20method\x20to\x20poll\x20the\x20operati\ + on\x20result\x20at\x20intervals\x20as\x20recommended\x20by\x20the\x20API\ + \n\x20service.\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\x035\x06\x12\n\x0c\n\ \x05\x06\0\x02\x01\x02\x12\x035\x13&\n\x0c\n\x05\x06\0\x02\x01\x03\x12\ - \x0351:\n\x0c\n\x05\x06\0\x02\x01\x04\x12\x036\x04C\n\x10\n\t\x06\0\x02\ - \x01\x04\xb0\xca\xbc\"\x12\x036\x04C\n\x85\x02\n\x04\x06\0\x02\x02\x12\ - \x04=\x02?\x03\x1a\xf6\x01\x20Deletes\x20a\x20long-running\x20operation.\ - \x20This\x20method\x20indicates\x20that\x20the\x20client\x20is\n\x20no\ - \x20longer\x20interested\x20in\x20the\x20operation\x20result.\x20It\x20d\ - oes\x20not\x20cancel\x20the\n\x20operation.\x20If\x20the\x20server\x20do\ - esn't\x20support\x20this\x20method,\x20it\x20returns\n\x20`google.rpc.Co\ - de.UNIMPLEMENTED`.\n\n\x0c\n\x05\x06\0\x02\x02\x01\x12\x03=\x06\x15\n\ - \x0c\n\x05\x06\0\x02\x02\x02\x12\x03=\x16,\n\x0c\n\x05\x06\0\x02\x02\x03\ - \x12\x03=7L\n\x0c\n\x05\x06\0\x02\x02\x04\x12\x03>\x04F\n\x10\n\t\x06\0\ - \x02\x02\x04\xb0\xca\xbc\"\x12\x03>\x04F\n\xd4\x05\n\x04\x06\0\x02\x03\ - \x12\x04K\x02M\x03\x1a\xc5\x05\x20Starts\x20asynchronous\x20cancellation\ - \x20on\x20a\x20long-running\x20operation.\x20\x20The\x20server\n\x20make\ - s\x20a\x20best\x20effort\x20to\x20cancel\x20the\x20operation,\x20but\x20\ - success\x20is\x20not\n\x20guaranteed.\x20\x20If\x20the\x20server\x20does\ - n't\x20support\x20this\x20method,\x20it\x20returns\n\x20`google.rpc.Code\ - .UNIMPLEMENTED`.\x20\x20Clients\x20can\x20use\n\x20[Operations.GetOperat\ - ion][google.longrunning.Operations.GetOperation]\x20or\n\x20other\x20met\ - hods\x20to\x20check\x20whether\x20the\x20cancellation\x20succeeded\x20or\ + \x0351:\n\x0c\n\x05\x06\0\x02\x01\x04\x12\x036\x04C\n\x0f\n\x08\x06\0\ + \x02\x01\x04\xe7\x07\0\x12\x036\x04C\n\x10\n\t\x06\0\x02\x01\x04\xe7\x07\ + \0\x02\x12\x036\x0b\x1c\n\x11\n\n\x06\0\x02\x01\x04\xe7\x07\0\x02\0\x12\ + \x036\x0b\x1c\n\x12\n\x0b\x06\0\x02\x01\x04\xe7\x07\0\x02\0\x01\x12\x036\ + \x0c\x1b\n\x10\n\t\x06\0\x02\x01\x04\xe7\x07\0\x08\x12\x036\x1fB\n\x85\ + \x02\n\x04\x06\0\x02\x02\x12\x04=\x02?\x03\x1a\xf6\x01\x20Deletes\x20a\ + \x20long-running\x20operation.\x20This\x20method\x20indicates\x20that\ + \x20the\x20client\x20is\n\x20no\x20longer\x20interested\x20in\x20the\x20\ + operation\x20result.\x20It\x20does\x20not\x20cancel\x20the\n\x20operatio\ + n.\x20If\x20the\x20server\x20doesn't\x20support\x20this\x20method,\x20it\ + \x20returns\n\x20`google.rpc.Code.UNIMPLEMENTED`.\n\n\x0c\n\x05\x06\0\ + \x02\x02\x01\x12\x03=\x06\x15\n\x0c\n\x05\x06\0\x02\x02\x02\x12\x03=\x16\ + ,\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x03=7L\n\x0c\n\x05\x06\0\x02\x02\x04\ + \x12\x03>\x04F\n\x0f\n\x08\x06\0\x02\x02\x04\xe7\x07\0\x12\x03>\x04F\n\ + \x10\n\t\x06\0\x02\x02\x04\xe7\x07\0\x02\x12\x03>\x0b\x1c\n\x11\n\n\x06\ + \0\x02\x02\x04\xe7\x07\0\x02\0\x12\x03>\x0b\x1c\n\x12\n\x0b\x06\0\x02\ + \x02\x04\xe7\x07\0\x02\0\x01\x12\x03>\x0c\x1b\n\x10\n\t\x06\0\x02\x02\ + \x04\xe7\x07\0\x08\x12\x03>\x1fE\n\xd4\x05\n\x04\x06\0\x02\x03\x12\x04K\ + \x02M\x03\x1a\xc5\x05\x20Starts\x20asynchronous\x20cancellation\x20on\ + \x20a\x20long-running\x20operation.\x20\x20The\x20server\n\x20makes\x20a\ + \x20best\x20effort\x20to\x20cancel\x20the\x20operation,\x20but\x20succes\ + s\x20is\x20not\n\x20guaranteed.\x20\x20If\x20the\x20server\x20doesn't\ + \x20support\x20this\x20method,\x20it\x20returns\n\x20`google.rpc.Code.UN\ + IMPLEMENTED`.\x20\x20Clients\x20can\x20use\n\x20[Operations.GetOperation\ + ][google.longrunning.Operations.GetOperation]\x20or\n\x20other\x20method\ + s\x20to\x20check\x20whether\x20the\x20cancellation\x20succeeded\x20or\ \x20whether\x20the\n\x20operation\x20completed\x20despite\x20cancellatio\ n.\x20On\x20successful\x20cancellation,\n\x20the\x20operation\x20is\x20n\ ot\x20deleted;\x20instead,\x20it\x20becomes\x20an\x20operation\x20with\n\ @@ -1573,119 +1566,119 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x201,\n\x20corresponding\x20to\x20`Code.CANCELLED`.\n\n\x0c\n\x05\x06\0\ \x02\x03\x01\x12\x03K\x06\x15\n\x0c\n\x05\x06\0\x02\x03\x02\x12\x03K\x16\ ,\n\x0c\n\x05\x06\0\x02\x03\x03\x12\x03K7L\n\x0c\n\x05\x06\0\x02\x03\x04\ - \x12\x03L\x04U\n\x10\n\t\x06\0\x02\x03\x04\xb0\xca\xbc\"\x12\x03L\x04U\n\ - j\n\x02\x04\0\x12\x04R\0t\x01\x1a^\x20This\x20resource\x20represents\x20\ - a\x20long-running\x20operation\x20that\x20is\x20the\x20result\x20of\x20a\ - \n\x20network\x20API\x20call.\n\n\n\n\x03\x04\0\x01\x12\x03R\x08\x11\n\ - \xdd\x01\n\x04\x04\0\x02\0\x12\x03V\x02\x12\x1a\xcf\x01\x20The\x20server\ - -assigned\x20name,\x20which\x20is\x20only\x20unique\x20within\x20the\x20\ - same\x20service\x20that\n\x20originally\x20returns\x20it.\x20If\x20you\ - \x20use\x20the\x20default\x20HTTP\x20mapping,\x20the\n\x20`name`\x20shou\ - ld\x20have\x20the\x20format\x20of\x20`operations/some/unique/name`.\n\n\ - \r\n\x05\x04\0\x02\0\x04\x12\x04V\x02R\x13\n\x0c\n\x05\x04\0\x02\0\x05\ - \x12\x03V\x02\x08\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03V\t\r\n\x0c\n\x05\ - \x04\0\x02\0\x03\x12\x03V\x10\x11\n\xac\x02\n\x04\x04\0\x02\x01\x12\x03\ - \\\x02#\x1a\x9e\x02\x20Service-specific\x20metadata\x20associated\x20wit\ - h\x20the\x20operation.\x20\x20It\x20typically\n\x20contains\x20progress\ - \x20information\x20and\x20common\x20metadata\x20such\x20as\x20create\x20\ - time.\n\x20Some\x20services\x20might\x20not\x20provide\x20such\x20metada\ - ta.\x20\x20Any\x20method\x20that\x20returns\x20a\n\x20long-running\x20op\ - eration\x20should\x20document\x20the\x20metadata\x20type,\x20if\x20any.\ - \n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04\\\x02V\x12\n\x0c\n\x05\x04\0\x02\ - \x01\x06\x12\x03\\\x02\x15\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03\\\x16\ - \x1e\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03\\!\"\n\xab\x01\n\x04\x04\0\ - \x02\x02\x12\x03a\x02\x10\x1a\x9d\x01\x20If\x20the\x20value\x20is\x20`fa\ - lse`,\x20it\x20means\x20the\x20operation\x20is\x20still\x20in\x20progres\ - s.\n\x20If\x20true,\x20the\x20operation\x20is\x20completed,\x20and\x20ei\ - ther\x20`error`\x20or\x20`response`\x20is\n\x20available.\n\n\r\n\x05\ - \x04\0\x02\x02\x04\x12\x04a\x02\\#\n\x0c\n\x05\x04\0\x02\x02\x05\x12\x03\ - a\x02\x06\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03a\x07\x0b\n\x0c\n\x05\x04\ - \0\x02\x02\x03\x12\x03a\x0e\x0f\n\xdd\x01\n\x04\x04\0\x08\0\x12\x04f\x02\ - s\x03\x1a\xce\x01\x20The\x20operation\x20result,\x20which\x20can\x20be\ - \x20either\x20an\x20`error`\x20or\x20a\x20valid\x20`response`.\n\x20If\ - \x20`done`\x20==\x20`false`,\x20neither\x20`error`\x20nor\x20`response`\ - \x20is\x20set.\n\x20If\x20`done`\x20==\x20`true`,\x20exactly\x20one\x20o\ - f\x20`error`\x20or\x20`response`\x20is\x20set.\n\n\x0c\n\x05\x04\0\x08\0\ - \x01\x12\x03f\x08\x0e\nT\n\x04\x04\0\x02\x03\x12\x03h\x04\x20\x1aG\x20Th\ - e\x20error\x20result\x20of\x20the\x20operation\x20in\x20case\x20of\x20fa\ - ilure\x20or\x20cancellation.\n\n\x0c\n\x05\x04\0\x02\x03\x06\x12\x03h\ - \x04\x15\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03h\x16\x1b\n\x0c\n\x05\x04\ - \0\x02\x03\x03\x12\x03h\x1e\x1f\n\x83\x04\n\x04\x04\0\x02\x04\x12\x03r\ - \x04%\x1a\xf5\x03\x20The\x20normal\x20response\x20of\x20the\x20operation\ - \x20in\x20case\x20of\x20success.\x20\x20If\x20the\x20original\n\x20metho\ - d\x20returns\x20no\x20data\x20on\x20success,\x20such\x20as\x20`Delete`,\ - \x20the\x20response\x20is\n\x20`google.protobuf.Empty`.\x20\x20If\x20the\ - \x20original\x20method\x20is\x20standard\n\x20`Get`/`Create`/`Update`,\ - \x20the\x20response\x20should\x20be\x20the\x20resource.\x20\x20For\x20ot\ - her\n\x20methods,\x20the\x20response\x20should\x20have\x20the\x20type\ - \x20`XxxResponse`,\x20where\x20`Xxx`\n\x20is\x20the\x20original\x20metho\ - d\x20name.\x20\x20For\x20example,\x20if\x20the\x20original\x20method\x20\ - name\n\x20is\x20`TakeSnapshot()`,\x20the\x20inferred\x20response\x20type\ - \x20is\n\x20`TakeSnapshotResponse`.\n\n\x0c\n\x05\x04\0\x02\x04\x06\x12\ - \x03r\x04\x17\n\x0c\n\x05\x04\0\x02\x04\x01\x12\x03r\x18\x20\n\x0c\n\x05\ - \x04\0\x02\x04\x03\x12\x03r#$\nl\n\x02\x04\x01\x12\x04w\0z\x01\x1a`\x20T\ - he\x20request\x20message\x20for\x20[Operations.GetOperation][google.long\ - running.Operations.GetOperation].\n\n\n\n\x03\x04\x01\x01\x12\x03w\x08\ - \x1b\n2\n\x04\x04\x01\x02\0\x12\x03y\x02\x12\x1a%\x20The\x20name\x20of\ - \x20the\x20operation\x20resource.\n\n\r\n\x05\x04\x01\x02\0\x04\x12\x04y\ - \x02w\x1d\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03y\x02\x08\n\x0c\n\x05\x04\ - \x01\x02\0\x01\x12\x03y\t\r\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03y\x10\ - \x11\nq\n\x02\x04\x02\x12\x05}\0\x89\x01\x01\x1ad\x20The\x20request\x20m\ - essage\x20for\x20[Operations.ListOperations][google.longrunning.Operatio\ - ns.ListOperations].\n\n\n\n\x03\x04\x02\x01\x12\x03}\x08\x1d\n4\n\x04\ - \x04\x02\x02\0\x12\x03\x7f\x02\x12\x1a'\x20The\x20name\x20of\x20the\x20o\ - peration\x20collection.\n\n\r\n\x05\x04\x02\x02\0\x04\x12\x04\x7f\x02}\ - \x1f\n\x0c\n\x05\x04\x02\x02\0\x05\x12\x03\x7f\x02\x08\n\x0c\n\x05\x04\ - \x02\x02\0\x01\x12\x03\x7f\t\r\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03\x7f\ - \x10\x11\n)\n\x04\x04\x02\x02\x01\x12\x04\x82\x01\x02\x14\x1a\x1b\x20The\ - \x20standard\x20list\x20filter.\n\n\x0e\n\x05\x04\x02\x02\x01\x04\x12\ - \x05\x82\x01\x02\x7f\x12\n\r\n\x05\x04\x02\x02\x01\x05\x12\x04\x82\x01\ - \x02\x08\n\r\n\x05\x04\x02\x02\x01\x01\x12\x04\x82\x01\t\x0f\n\r\n\x05\ - \x04\x02\x02\x01\x03\x12\x04\x82\x01\x12\x13\n,\n\x04\x04\x02\x02\x02\ - \x12\x04\x85\x01\x02\x16\x1a\x1e\x20The\x20standard\x20list\x20page\x20s\ - ize.\n\n\x0f\n\x05\x04\x02\x02\x02\x04\x12\x06\x85\x01\x02\x82\x01\x14\n\ - \r\n\x05\x04\x02\x02\x02\x05\x12\x04\x85\x01\x02\x07\n\r\n\x05\x04\x02\ - \x02\x02\x01\x12\x04\x85\x01\x08\x11\n\r\n\x05\x04\x02\x02\x02\x03\x12\ - \x04\x85\x01\x14\x15\n-\n\x04\x04\x02\x02\x03\x12\x04\x88\x01\x02\x18\ - \x1a\x1f\x20The\x20standard\x20list\x20page\x20token.\n\n\x0f\n\x05\x04\ - \x02\x02\x03\x04\x12\x06\x88\x01\x02\x85\x01\x16\n\r\n\x05\x04\x02\x02\ - \x03\x05\x12\x04\x88\x01\x02\x08\n\r\n\x05\x04\x02\x02\x03\x01\x12\x04\ - \x88\x01\t\x13\n\r\n\x05\x04\x02\x02\x03\x03\x12\x04\x88\x01\x16\x17\ns\ - \n\x02\x04\x03\x12\x06\x8c\x01\0\x92\x01\x01\x1ae\x20The\x20response\x20\ - message\x20for\x20[Operations.ListOperations][google.longrunning.Operati\ - ons.ListOperations].\n\n\x0b\n\x03\x04\x03\x01\x12\x04\x8c\x01\x08\x1e\n\ - V\n\x04\x04\x03\x02\0\x12\x04\x8e\x01\x02$\x1aH\x20A\x20list\x20of\x20op\ - erations\x20that\x20matches\x20the\x20specified\x20filter\x20in\x20the\ - \x20request.\n\n\r\n\x05\x04\x03\x02\0\x04\x12\x04\x8e\x01\x02\n\n\r\n\ - \x05\x04\x03\x02\0\x06\x12\x04\x8e\x01\x0b\x14\n\r\n\x05\x04\x03\x02\0\ - \x01\x12\x04\x8e\x01\x15\x1f\n\r\n\x05\x04\x03\x02\0\x03\x12\x04\x8e\x01\ - \"#\n2\n\x04\x04\x03\x02\x01\x12\x04\x91\x01\x02\x1d\x1a$\x20The\x20stan\ - dard\x20List\x20next-page\x20token.\n\n\x0f\n\x05\x04\x03\x02\x01\x04\ - \x12\x06\x91\x01\x02\x8e\x01$\n\r\n\x05\x04\x03\x02\x01\x05\x12\x04\x91\ - \x01\x02\x08\n\r\n\x05\x04\x03\x02\x01\x01\x12\x04\x91\x01\t\x18\n\r\n\ - \x05\x04\x03\x02\x01\x03\x12\x04\x91\x01\x1b\x1c\nt\n\x02\x04\x04\x12\ - \x06\x95\x01\0\x98\x01\x01\x1af\x20The\x20request\x20message\x20for\x20[\ - Operations.CancelOperation][google.longrunning.Operations.CancelOperatio\ - n].\n\n\x0b\n\x03\x04\x04\x01\x12\x04\x95\x01\x08\x1e\nC\n\x04\x04\x04\ - \x02\0\x12\x04\x97\x01\x02\x12\x1a5\x20The\x20name\x20of\x20the\x20opera\ - tion\x20resource\x20to\x20be\x20cancelled.\n\n\x0f\n\x05\x04\x04\x02\0\ - \x04\x12\x06\x97\x01\x02\x95\x01\x20\n\r\n\x05\x04\x04\x02\0\x05\x12\x04\ - \x97\x01\x02\x08\n\r\n\x05\x04\x04\x02\0\x01\x12\x04\x97\x01\t\r\n\r\n\ - \x05\x04\x04\x02\0\x03\x12\x04\x97\x01\x10\x11\nt\n\x02\x04\x05\x12\x06\ - \x9b\x01\0\x9e\x01\x01\x1af\x20The\x20request\x20message\x20for\x20[Oper\ - ations.DeleteOperation][google.longrunning.Operations.DeleteOperation].\ - \n\n\x0b\n\x03\x04\x05\x01\x12\x04\x9b\x01\x08\x1e\nA\n\x04\x04\x05\x02\ - \0\x12\x04\x9d\x01\x02\x12\x1a3\x20The\x20name\x20of\x20the\x20operation\ - \x20resource\x20to\x20be\x20deleted.\n\n\x0f\n\x05\x04\x05\x02\0\x04\x12\ - \x06\x9d\x01\x02\x9b\x01\x20\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\x9d\x01\ - \x02\x08\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\x9d\x01\t\r\n\r\n\x05\x04\ - \x05\x02\0\x03\x12\x04\x9d\x01\x10\x11b\x06proto3\ + \x12\x03L\x04U\n\x0f\n\x08\x06\0\x02\x03\x04\xe7\x07\0\x12\x03L\x04U\n\ + \x10\n\t\x06\0\x02\x03\x04\xe7\x07\0\x02\x12\x03L\x0b\x1c\n\x11\n\n\x06\ + \0\x02\x03\x04\xe7\x07\0\x02\0\x12\x03L\x0b\x1c\n\x12\n\x0b\x06\0\x02\ + \x03\x04\xe7\x07\0\x02\0\x01\x12\x03L\x0c\x1b\n\x10\n\t\x06\0\x02\x03\ + \x04\xe7\x07\0\x08\x12\x03L\x1fT\nj\n\x02\x04\0\x12\x04R\0t\x01\x1a^\x20\ + This\x20resource\x20represents\x20a\x20long-running\x20operation\x20that\ + \x20is\x20the\x20result\x20of\x20a\n\x20network\x20API\x20call.\n\n\n\n\ + \x03\x04\0\x01\x12\x03R\x08\x11\n\xdd\x01\n\x04\x04\0\x02\0\x12\x03V\x02\ + \x12\x1a\xcf\x01\x20The\x20server-assigned\x20name,\x20which\x20is\x20on\ + ly\x20unique\x20within\x20the\x20same\x20service\x20that\n\x20originally\ + \x20returns\x20it.\x20If\x20you\x20use\x20the\x20default\x20HTTP\x20mapp\ + ing,\x20the\n\x20`name`\x20should\x20have\x20the\x20format\x20of\x20`ope\ + rations/some/unique/name`.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04V\x02R\x13\ + \n\x0c\n\x05\x04\0\x02\0\x05\x12\x03V\x02\x08\n\x0c\n\x05\x04\0\x02\0\ + \x01\x12\x03V\t\r\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03V\x10\x11\n\xac\x02\ + \n\x04\x04\0\x02\x01\x12\x03\\\x02#\x1a\x9e\x02\x20Service-specific\x20m\ + etadata\x20associated\x20with\x20the\x20operation.\x20\x20It\x20typicall\ + y\n\x20contains\x20progress\x20information\x20and\x20common\x20metadata\ + \x20such\x20as\x20create\x20time.\n\x20Some\x20services\x20might\x20not\ + \x20provide\x20such\x20metadata.\x20\x20Any\x20method\x20that\x20returns\ + \x20a\n\x20long-running\x20operation\x20should\x20document\x20the\x20met\ + adata\x20type,\x20if\x20any.\n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04\\\x02\ + V\x12\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03\\\x02\x15\n\x0c\n\x05\x04\0\ + \x02\x01\x01\x12\x03\\\x16\x1e\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03\\!\ + \"\n\xab\x01\n\x04\x04\0\x02\x02\x12\x03a\x02\x10\x1a\x9d\x01\x20If\x20t\ + he\x20value\x20is\x20`false`,\x20it\x20means\x20the\x20operation\x20is\ + \x20still\x20in\x20progress.\n\x20If\x20true,\x20the\x20operation\x20is\ + \x20completed,\x20and\x20either\x20`error`\x20or\x20`response`\x20is\n\ + \x20available.\n\n\r\n\x05\x04\0\x02\x02\x04\x12\x04a\x02\\#\n\x0c\n\x05\ + \x04\0\x02\x02\x05\x12\x03a\x02\x06\n\x0c\n\x05\x04\0\x02\x02\x01\x12\ + \x03a\x07\x0b\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03a\x0e\x0f\n\xdd\x01\n\ + \x04\x04\0\x08\0\x12\x04f\x02s\x03\x1a\xce\x01\x20The\x20operation\x20re\ + sult,\x20which\x20can\x20be\x20either\x20an\x20`error`\x20or\x20a\x20val\ + id\x20`response`.\n\x20If\x20`done`\x20==\x20`false`,\x20neither\x20`err\ + or`\x20nor\x20`response`\x20is\x20set.\n\x20If\x20`done`\x20==\x20`true`\ + ,\x20exactly\x20one\x20of\x20`error`\x20or\x20`response`\x20is\x20set.\n\ + \n\x0c\n\x05\x04\0\x08\0\x01\x12\x03f\x08\x0e\nT\n\x04\x04\0\x02\x03\x12\ + \x03h\x04\x20\x1aG\x20The\x20error\x20result\x20of\x20the\x20operation\ + \x20in\x20case\x20of\x20failure\x20or\x20cancellation.\n\n\x0c\n\x05\x04\ + \0\x02\x03\x06\x12\x03h\x04\x15\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03h\ + \x16\x1b\n\x0c\n\x05\x04\0\x02\x03\x03\x12\x03h\x1e\x1f\n\x83\x04\n\x04\ + \x04\0\x02\x04\x12\x03r\x04%\x1a\xf5\x03\x20The\x20normal\x20response\ + \x20of\x20the\x20operation\x20in\x20case\x20of\x20success.\x20\x20If\x20\ + the\x20original\n\x20method\x20returns\x20no\x20data\x20on\x20success,\ + \x20such\x20as\x20`Delete`,\x20the\x20response\x20is\n\x20`google.protob\ + uf.Empty`.\x20\x20If\x20the\x20original\x20method\x20is\x20standard\n\ + \x20`Get`/`Create`/`Update`,\x20the\x20response\x20should\x20be\x20the\ + \x20resource.\x20\x20For\x20other\n\x20methods,\x20the\x20response\x20sh\ + ould\x20have\x20the\x20type\x20`XxxResponse`,\x20where\x20`Xxx`\n\x20is\ + \x20the\x20original\x20method\x20name.\x20\x20For\x20example,\x20if\x20t\ + he\x20original\x20method\x20name\n\x20is\x20`TakeSnapshot()`,\x20the\x20\ + inferred\x20response\x20type\x20is\n\x20`TakeSnapshotResponse`.\n\n\x0c\ + \n\x05\x04\0\x02\x04\x06\x12\x03r\x04\x17\n\x0c\n\x05\x04\0\x02\x04\x01\ + \x12\x03r\x18\x20\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03r#$\nl\n\x02\x04\ + \x01\x12\x04w\0z\x01\x1a`\x20The\x20request\x20message\x20for\x20[Operat\ + ions.GetOperation][google.longrunning.Operations.GetOperation].\n\n\n\n\ + \x03\x04\x01\x01\x12\x03w\x08\x1b\n2\n\x04\x04\x01\x02\0\x12\x03y\x02\ + \x12\x1a%\x20The\x20name\x20of\x20the\x20operation\x20resource.\n\n\r\n\ + \x05\x04\x01\x02\0\x04\x12\x04y\x02w\x1d\n\x0c\n\x05\x04\x01\x02\0\x05\ + \x12\x03y\x02\x08\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03y\t\r\n\x0c\n\x05\ + \x04\x01\x02\0\x03\x12\x03y\x10\x11\nq\n\x02\x04\x02\x12\x05}\0\x89\x01\ + \x01\x1ad\x20The\x20request\x20message\x20for\x20[Operations.ListOperati\ + ons][google.longrunning.Operations.ListOperations].\n\n\n\n\x03\x04\x02\ + \x01\x12\x03}\x08\x1d\n4\n\x04\x04\x02\x02\0\x12\x03\x7f\x02\x12\x1a'\ + \x20The\x20name\x20of\x20the\x20operation\x20collection.\n\n\r\n\x05\x04\ + \x02\x02\0\x04\x12\x04\x7f\x02}\x1f\n\x0c\n\x05\x04\x02\x02\0\x05\x12\ + \x03\x7f\x02\x08\n\x0c\n\x05\x04\x02\x02\0\x01\x12\x03\x7f\t\r\n\x0c\n\ + \x05\x04\x02\x02\0\x03\x12\x03\x7f\x10\x11\n)\n\x04\x04\x02\x02\x01\x12\ + \x04\x82\x01\x02\x14\x1a\x1b\x20The\x20standard\x20list\x20filter.\n\n\ + \x0e\n\x05\x04\x02\x02\x01\x04\x12\x05\x82\x01\x02\x7f\x12\n\r\n\x05\x04\ + \x02\x02\x01\x05\x12\x04\x82\x01\x02\x08\n\r\n\x05\x04\x02\x02\x01\x01\ + \x12\x04\x82\x01\t\x0f\n\r\n\x05\x04\x02\x02\x01\x03\x12\x04\x82\x01\x12\ + \x13\n,\n\x04\x04\x02\x02\x02\x12\x04\x85\x01\x02\x16\x1a\x1e\x20The\x20\ + standard\x20list\x20page\x20size.\n\n\x0f\n\x05\x04\x02\x02\x02\x04\x12\ + \x06\x85\x01\x02\x82\x01\x14\n\r\n\x05\x04\x02\x02\x02\x05\x12\x04\x85\ + \x01\x02\x07\n\r\n\x05\x04\x02\x02\x02\x01\x12\x04\x85\x01\x08\x11\n\r\n\ + \x05\x04\x02\x02\x02\x03\x12\x04\x85\x01\x14\x15\n-\n\x04\x04\x02\x02\ + \x03\x12\x04\x88\x01\x02\x18\x1a\x1f\x20The\x20standard\x20list\x20page\ + \x20token.\n\n\x0f\n\x05\x04\x02\x02\x03\x04\x12\x06\x88\x01\x02\x85\x01\ + \x16\n\r\n\x05\x04\x02\x02\x03\x05\x12\x04\x88\x01\x02\x08\n\r\n\x05\x04\ + \x02\x02\x03\x01\x12\x04\x88\x01\t\x13\n\r\n\x05\x04\x02\x02\x03\x03\x12\ + \x04\x88\x01\x16\x17\ns\n\x02\x04\x03\x12\x06\x8c\x01\0\x92\x01\x01\x1ae\ + \x20The\x20response\x20message\x20for\x20[Operations.ListOperations][goo\ + gle.longrunning.Operations.ListOperations].\n\n\x0b\n\x03\x04\x03\x01\ + \x12\x04\x8c\x01\x08\x1e\nV\n\x04\x04\x03\x02\0\x12\x04\x8e\x01\x02$\x1a\ + H\x20A\x20list\x20of\x20operations\x20that\x20matches\x20the\x20specifie\ + d\x20filter\x20in\x20the\x20request.\n\n\r\n\x05\x04\x03\x02\0\x04\x12\ + \x04\x8e\x01\x02\n\n\r\n\x05\x04\x03\x02\0\x06\x12\x04\x8e\x01\x0b\x14\n\ + \r\n\x05\x04\x03\x02\0\x01\x12\x04\x8e\x01\x15\x1f\n\r\n\x05\x04\x03\x02\ + \0\x03\x12\x04\x8e\x01\"#\n2\n\x04\x04\x03\x02\x01\x12\x04\x91\x01\x02\ + \x1d\x1a$\x20The\x20standard\x20List\x20next-page\x20token.\n\n\x0f\n\ + \x05\x04\x03\x02\x01\x04\x12\x06\x91\x01\x02\x8e\x01$\n\r\n\x05\x04\x03\ + \x02\x01\x05\x12\x04\x91\x01\x02\x08\n\r\n\x05\x04\x03\x02\x01\x01\x12\ + \x04\x91\x01\t\x18\n\r\n\x05\x04\x03\x02\x01\x03\x12\x04\x91\x01\x1b\x1c\ + \nt\n\x02\x04\x04\x12\x06\x95\x01\0\x98\x01\x01\x1af\x20The\x20request\ + \x20message\x20for\x20[Operations.CancelOperation][google.longrunning.Op\ + erations.CancelOperation].\n\n\x0b\n\x03\x04\x04\x01\x12\x04\x95\x01\x08\ + \x1e\nC\n\x04\x04\x04\x02\0\x12\x04\x97\x01\x02\x12\x1a5\x20The\x20name\ + \x20of\x20the\x20operation\x20resource\x20to\x20be\x20cancelled.\n\n\x0f\ + \n\x05\x04\x04\x02\0\x04\x12\x06\x97\x01\x02\x95\x01\x20\n\r\n\x05\x04\ + \x04\x02\0\x05\x12\x04\x97\x01\x02\x08\n\r\n\x05\x04\x04\x02\0\x01\x12\ + \x04\x97\x01\t\r\n\r\n\x05\x04\x04\x02\0\x03\x12\x04\x97\x01\x10\x11\nt\ + \n\x02\x04\x05\x12\x06\x9b\x01\0\x9e\x01\x01\x1af\x20The\x20request\x20m\ + essage\x20for\x20[Operations.DeleteOperation][google.longrunning.Operati\ + ons.DeleteOperation].\n\n\x0b\n\x03\x04\x05\x01\x12\x04\x9b\x01\x08\x1e\ + \nA\n\x04\x04\x05\x02\0\x12\x04\x9d\x01\x02\x12\x1a3\x20The\x20name\x20o\ + f\x20the\x20operation\x20resource\x20to\x20be\x20deleted.\n\n\x0f\n\x05\ + \x04\x05\x02\0\x04\x12\x06\x9d\x01\x02\x9b\x01\x20\n\r\n\x05\x04\x05\x02\ + \0\x05\x12\x04\x9d\x01\x02\x08\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\x9d\ + \x01\t\r\n\r\n\x05\x04\x05\x02\0\x03\x12\x04\x9d\x01\x10\x11b\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations_grpc.rs index 5510eea5d6..37c6f3ce7a 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations_grpc.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations_grpc.rs @@ -147,7 +147,7 @@ pub fn create_operations(s: S) -> ::grpc builder = builder.add_unary_handler(&METHOD_OPERATIONS_DELETE_OPERATION, move |ctx, req, resp| { instance.delete_operation(ctx, req, resp) }); - let mut instance = s.clone(); + let mut instance = s; builder = builder.add_unary_handler(&METHOD_OPERATIONS_CANCEL_OPERATION, move |ctx, req, resp| { instance.cancel_operation(ctx, req, resp) }); diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/mod.rs deleted file mode 100644 index 21e5d4f79b..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/mod.rs +++ /dev/null @@ -1,2 +0,0 @@ -pub mod v1; -pub mod v1beta2; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/mod.rs deleted file mode 100644 index a7f02e639d..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/mod.rs +++ /dev/null @@ -1,4 +0,0 @@ -pub mod pubsub; -pub mod pubsub_grpc; - -pub(crate) use crate::empty; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/pubsub.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/pubsub.rs deleted file mode 100644 index 9b42377458..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/pubsub.rs +++ /dev/null @@ -1,10230 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/pubsub/v1/pubsub.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct MessageStoragePolicy { - // message fields - pub allowed_persistence_regions: ::protobuf::RepeatedField<::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a MessageStoragePolicy { - fn default() -> &'a MessageStoragePolicy { - ::default_instance() - } -} - -impl MessageStoragePolicy { - pub fn new() -> MessageStoragePolicy { - ::std::default::Default::default() - } - - // repeated string allowed_persistence_regions = 1; - - - pub fn get_allowed_persistence_regions(&self) -> &[::std::string::String] { - &self.allowed_persistence_regions - } - pub fn clear_allowed_persistence_regions(&mut self) { - self.allowed_persistence_regions.clear(); - } - - // Param is passed by value, moved - pub fn set_allowed_persistence_regions(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.allowed_persistence_regions = v; - } - - // Mutable pointer to the field. - pub fn mut_allowed_persistence_regions(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.allowed_persistence_regions - } - - // Take field - pub fn take_allowed_persistence_regions(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.allowed_persistence_regions, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for MessageStoragePolicy { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.allowed_persistence_regions)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.allowed_persistence_regions { - my_size += ::protobuf::rt::string_size(1, &value); - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.allowed_persistence_regions { - os.write_string(1, &v)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> MessageStoragePolicy { - MessageStoragePolicy::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "allowed_persistence_regions", - |m: &MessageStoragePolicy| { &m.allowed_persistence_regions }, - |m: &mut MessageStoragePolicy| { &mut m.allowed_persistence_regions }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "MessageStoragePolicy", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static MessageStoragePolicy { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const MessageStoragePolicy, - }; - unsafe { - instance.get(MessageStoragePolicy::new) - } - } -} - -impl ::protobuf::Clear for MessageStoragePolicy { - fn clear(&mut self) { - self.allowed_persistence_regions.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for MessageStoragePolicy { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for MessageStoragePolicy { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Topic { - // message fields - pub name: ::std::string::String, - pub labels: ::std::collections::HashMap<::std::string::String, ::std::string::String>, - pub message_storage_policy: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Topic { - fn default() -> &'a Topic { - ::default_instance() - } -} - -impl Topic { - pub fn new() -> Topic { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // repeated .google.pubsub.v1.Topic.LabelsEntry labels = 2; - - - pub fn get_labels(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> { - &self.labels - } - pub fn clear_labels(&mut self) { - self.labels.clear(); - } - - // Param is passed by value, moved - pub fn set_labels(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) { - self.labels = v; - } - - // Mutable pointer to the field. - pub fn mut_labels(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> { - &mut self.labels - } - - // Take field - pub fn take_labels(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> { - ::std::mem::replace(&mut self.labels, ::std::collections::HashMap::new()) - } - - // .google.pubsub.v1.MessageStoragePolicy message_storage_policy = 3; - - - pub fn get_message_storage_policy(&self) -> &MessageStoragePolicy { - self.message_storage_policy.as_ref().unwrap_or_else(|| MessageStoragePolicy::default_instance()) - } - pub fn clear_message_storage_policy(&mut self) { - self.message_storage_policy.clear(); - } - - pub fn has_message_storage_policy(&self) -> bool { - self.message_storage_policy.is_some() - } - - // Param is passed by value, moved - pub fn set_message_storage_policy(&mut self, v: MessageStoragePolicy) { - self.message_storage_policy = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_message_storage_policy(&mut self) -> &mut MessageStoragePolicy { - if self.message_storage_policy.is_none() { - self.message_storage_policy.set_default(); - } - self.message_storage_policy.as_mut().unwrap() - } - - // Take field - pub fn take_message_storage_policy(&mut self) -> MessageStoragePolicy { - self.message_storage_policy.take().unwrap_or_else(|| MessageStoragePolicy::new()) - } -} - -impl ::protobuf::Message for Topic { - fn is_initialized(&self) -> bool { - for v in &self.message_storage_policy { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.labels)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.message_storage_policy)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(2, &self.labels); - if let Some(ref v) = self.message_storage_policy.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(2, &self.labels, os)?; - if let Some(ref v) = self.message_storage_policy.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Topic { - Topic::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Topic| { &m.name }, - |m: &mut Topic| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>( - "labels", - |m: &Topic| { &m.labels }, - |m: &mut Topic| { &mut m.labels }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "message_storage_policy", - |m: &Topic| { &m.message_storage_policy }, - |m: &mut Topic| { &mut m.message_storage_policy }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Topic", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Topic { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Topic, - }; - unsafe { - instance.get(Topic::new) - } - } -} - -impl ::protobuf::Clear for Topic { - fn clear(&mut self) { - self.name.clear(); - self.labels.clear(); - self.message_storage_policy.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Topic { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Topic { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PubsubMessage { - // message fields - pub data: ::std::vec::Vec, - pub attributes: ::std::collections::HashMap<::std::string::String, ::std::string::String>, - pub message_id: ::std::string::String, - pub publish_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PubsubMessage { - fn default() -> &'a PubsubMessage { - ::default_instance() - } -} - -impl PubsubMessage { - pub fn new() -> PubsubMessage { - ::std::default::Default::default() - } - - // bytes data = 1; - - - pub fn get_data(&self) -> &[u8] { - &self.data - } - pub fn clear_data(&mut self) { - self.data.clear(); - } - - // Param is passed by value, moved - pub fn set_data(&mut self, v: ::std::vec::Vec) { - self.data = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_data(&mut self) -> &mut ::std::vec::Vec { - &mut self.data - } - - // Take field - pub fn take_data(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.data, ::std::vec::Vec::new()) - } - - // repeated .google.pubsub.v1.PubsubMessage.AttributesEntry attributes = 2; - - - pub fn get_attributes(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> { - &self.attributes - } - pub fn clear_attributes(&mut self) { - self.attributes.clear(); - } - - // Param is passed by value, moved - pub fn set_attributes(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) { - self.attributes = v; - } - - // Mutable pointer to the field. - pub fn mut_attributes(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> { - &mut self.attributes - } - - // Take field - pub fn take_attributes(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> { - ::std::mem::replace(&mut self.attributes, ::std::collections::HashMap::new()) - } - - // string message_id = 3; - - - pub fn get_message_id(&self) -> &str { - &self.message_id - } - pub fn clear_message_id(&mut self) { - self.message_id.clear(); - } - - // Param is passed by value, moved - pub fn set_message_id(&mut self, v: ::std::string::String) { - self.message_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_message_id(&mut self) -> &mut ::std::string::String { - &mut self.message_id - } - - // Take field - pub fn take_message_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.message_id, ::std::string::String::new()) - } - - // .google.protobuf.Timestamp publish_time = 4; - - - pub fn get_publish_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.publish_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_publish_time(&mut self) { - self.publish_time.clear(); - } - - pub fn has_publish_time(&self) -> bool { - self.publish_time.is_some() - } - - // Param is passed by value, moved - pub fn set_publish_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.publish_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_publish_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.publish_time.is_none() { - self.publish_time.set_default(); - } - self.publish_time.as_mut().unwrap() - } - - // Take field - pub fn take_publish_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.publish_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } -} - -impl ::protobuf::Message for PubsubMessage { - fn is_initialized(&self) -> bool { - for v in &self.publish_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.data)?; - }, - 2 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.attributes)?; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.message_id)?; - }, - 4 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.publish_time)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.data.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.data); - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(2, &self.attributes); - if !self.message_id.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.message_id); - } - if let Some(ref v) = self.publish_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.data.is_empty() { - os.write_bytes(1, &self.data)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(2, &self.attributes, os)?; - if !self.message_id.is_empty() { - os.write_string(3, &self.message_id)?; - } - if let Some(ref v) = self.publish_time.as_ref() { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PubsubMessage { - PubsubMessage::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "data", - |m: &PubsubMessage| { &m.data }, - |m: &mut PubsubMessage| { &mut m.data }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>( - "attributes", - |m: &PubsubMessage| { &m.attributes }, - |m: &mut PubsubMessage| { &mut m.attributes }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "message_id", - |m: &PubsubMessage| { &m.message_id }, - |m: &mut PubsubMessage| { &mut m.message_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "publish_time", - |m: &PubsubMessage| { &m.publish_time }, - |m: &mut PubsubMessage| { &mut m.publish_time }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PubsubMessage", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PubsubMessage { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PubsubMessage, - }; - unsafe { - instance.get(PubsubMessage::new) - } - } -} - -impl ::protobuf::Clear for PubsubMessage { - fn clear(&mut self) { - self.data.clear(); - self.attributes.clear(); - self.message_id.clear(); - self.publish_time.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PubsubMessage { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PubsubMessage { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetTopicRequest { - // message fields - pub topic: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetTopicRequest { - fn default() -> &'a GetTopicRequest { - ::default_instance() - } -} - -impl GetTopicRequest { - pub fn new() -> GetTopicRequest { - ::std::default::Default::default() - } - - // string topic = 1; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetTopicRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.topic); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.topic.is_empty() { - os.write_string(1, &self.topic)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetTopicRequest { - GetTopicRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &GetTopicRequest| { &m.topic }, - |m: &mut GetTopicRequest| { &mut m.topic }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetTopicRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetTopicRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetTopicRequest, - }; - unsafe { - instance.get(GetTopicRequest::new) - } - } -} - -impl ::protobuf::Clear for GetTopicRequest { - fn clear(&mut self) { - self.topic.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetTopicRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetTopicRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct UpdateTopicRequest { - // message fields - pub topic: ::protobuf::SingularPtrField, - pub update_mask: ::protobuf::SingularPtrField<::protobuf::well_known_types::FieldMask>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a UpdateTopicRequest { - fn default() -> &'a UpdateTopicRequest { - ::default_instance() - } -} - -impl UpdateTopicRequest { - pub fn new() -> UpdateTopicRequest { - ::std::default::Default::default() - } - - // .google.pubsub.v1.Topic topic = 1; - - - pub fn get_topic(&self) -> &Topic { - self.topic.as_ref().unwrap_or_else(|| Topic::default_instance()) - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - pub fn has_topic(&self) -> bool { - self.topic.is_some() - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: Topic) { - self.topic = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut Topic { - if self.topic.is_none() { - self.topic.set_default(); - } - self.topic.as_mut().unwrap() - } - - // Take field - pub fn take_topic(&mut self) -> Topic { - self.topic.take().unwrap_or_else(|| Topic::new()) - } - - // .google.protobuf.FieldMask update_mask = 2; - - - pub fn get_update_mask(&self) -> &::protobuf::well_known_types::FieldMask { - self.update_mask.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::default_instance()) - } - pub fn clear_update_mask(&mut self) { - self.update_mask.clear(); - } - - pub fn has_update_mask(&self) -> bool { - self.update_mask.is_some() - } - - // Param is passed by value, moved - pub fn set_update_mask(&mut self, v: ::protobuf::well_known_types::FieldMask) { - self.update_mask = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_update_mask(&mut self) -> &mut ::protobuf::well_known_types::FieldMask { - if self.update_mask.is_none() { - self.update_mask.set_default(); - } - self.update_mask.as_mut().unwrap() - } - - // Take field - pub fn take_update_mask(&mut self) -> ::protobuf::well_known_types::FieldMask { - self.update_mask.take().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::new()) - } -} - -impl ::protobuf::Message for UpdateTopicRequest { - fn is_initialized(&self) -> bool { - for v in &self.topic { - if !v.is_initialized() { - return false; - } - }; - for v in &self.update_mask { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.topic)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.update_mask)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.topic.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.update_mask.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.topic.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.update_mask.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> UpdateTopicRequest { - UpdateTopicRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "topic", - |m: &UpdateTopicRequest| { &m.topic }, - |m: &mut UpdateTopicRequest| { &mut m.topic }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::FieldMask>>( - "update_mask", - |m: &UpdateTopicRequest| { &m.update_mask }, - |m: &mut UpdateTopicRequest| { &mut m.update_mask }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "UpdateTopicRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static UpdateTopicRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateTopicRequest, - }; - unsafe { - instance.get(UpdateTopicRequest::new) - } - } -} - -impl ::protobuf::Clear for UpdateTopicRequest { - fn clear(&mut self) { - self.topic.clear(); - self.update_mask.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for UpdateTopicRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for UpdateTopicRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PublishRequest { - // message fields - pub topic: ::std::string::String, - pub messages: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PublishRequest { - fn default() -> &'a PublishRequest { - ::default_instance() - } -} - -impl PublishRequest { - pub fn new() -> PublishRequest { - ::std::default::Default::default() - } - - // string topic = 1; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } - - // repeated .google.pubsub.v1.PubsubMessage messages = 2; - - - pub fn get_messages(&self) -> &[PubsubMessage] { - &self.messages - } - pub fn clear_messages(&mut self) { - self.messages.clear(); - } - - // Param is passed by value, moved - pub fn set_messages(&mut self, v: ::protobuf::RepeatedField) { - self.messages = v; - } - - // Mutable pointer to the field. - pub fn mut_messages(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.messages - } - - // Take field - pub fn take_messages(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.messages, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for PublishRequest { - fn is_initialized(&self) -> bool { - for v in &self.messages { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.messages)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.topic); - } - for value in &self.messages { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.topic.is_empty() { - os.write_string(1, &self.topic)?; - } - for v in &self.messages { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PublishRequest { - PublishRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &PublishRequest| { &m.topic }, - |m: &mut PublishRequest| { &mut m.topic }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "messages", - |m: &PublishRequest| { &m.messages }, - |m: &mut PublishRequest| { &mut m.messages }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PublishRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PublishRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PublishRequest, - }; - unsafe { - instance.get(PublishRequest::new) - } - } -} - -impl ::protobuf::Clear for PublishRequest { - fn clear(&mut self) { - self.topic.clear(); - self.messages.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PublishRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PublishRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PublishResponse { - // message fields - pub message_ids: ::protobuf::RepeatedField<::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PublishResponse { - fn default() -> &'a PublishResponse { - ::default_instance() - } -} - -impl PublishResponse { - pub fn new() -> PublishResponse { - ::std::default::Default::default() - } - - // repeated string message_ids = 1; - - - pub fn get_message_ids(&self) -> &[::std::string::String] { - &self.message_ids - } - pub fn clear_message_ids(&mut self) { - self.message_ids.clear(); - } - - // Param is passed by value, moved - pub fn set_message_ids(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.message_ids = v; - } - - // Mutable pointer to the field. - pub fn mut_message_ids(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.message_ids - } - - // Take field - pub fn take_message_ids(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.message_ids, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for PublishResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.message_ids)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.message_ids { - my_size += ::protobuf::rt::string_size(1, &value); - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.message_ids { - os.write_string(1, &v)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PublishResponse { - PublishResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "message_ids", - |m: &PublishResponse| { &m.message_ids }, - |m: &mut PublishResponse| { &mut m.message_ids }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PublishResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PublishResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PublishResponse, - }; - unsafe { - instance.get(PublishResponse::new) - } - } -} - -impl ::protobuf::Clear for PublishResponse { - fn clear(&mut self) { - self.message_ids.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PublishResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PublishResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTopicsRequest { - // message fields - pub project: ::std::string::String, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTopicsRequest { - fn default() -> &'a ListTopicsRequest { - ::default_instance() - } -} - -impl ListTopicsRequest { - pub fn new() -> ListTopicsRequest { - ::std::default::Default::default() - } - - // string project = 1; - - - pub fn get_project(&self) -> &str { - &self.project - } - pub fn clear_project(&mut self) { - self.project.clear(); - } - - // Param is passed by value, moved - pub fn set_project(&mut self, v: ::std::string::String) { - self.project = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_project(&mut self) -> &mut ::std::string::String { - &mut self.project - } - - // Take field - pub fn take_project(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.project, ::std::string::String::new()) - } - - // int32 page_size = 2; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 3; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTopicsRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.project)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.project.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.project); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.project.is_empty() { - os.write_string(1, &self.project)?; - } - if self.page_size != 0 { - os.write_int32(2, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(3, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTopicsRequest { - ListTopicsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "project", - |m: &ListTopicsRequest| { &m.project }, - |m: &mut ListTopicsRequest| { &mut m.project }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListTopicsRequest| { &m.page_size }, - |m: &mut ListTopicsRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListTopicsRequest| { &m.page_token }, - |m: &mut ListTopicsRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTopicsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTopicsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTopicsRequest, - }; - unsafe { - instance.get(ListTopicsRequest::new) - } - } -} - -impl ::protobuf::Clear for ListTopicsRequest { - fn clear(&mut self) { - self.project.clear(); - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTopicsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTopicsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTopicsResponse { - // message fields - pub topics: ::protobuf::RepeatedField, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTopicsResponse { - fn default() -> &'a ListTopicsResponse { - ::default_instance() - } -} - -impl ListTopicsResponse { - pub fn new() -> ListTopicsResponse { - ::std::default::Default::default() - } - - // repeated .google.pubsub.v1.Topic topics = 1; - - - pub fn get_topics(&self) -> &[Topic] { - &self.topics - } - pub fn clear_topics(&mut self) { - self.topics.clear(); - } - - // Param is passed by value, moved - pub fn set_topics(&mut self, v: ::protobuf::RepeatedField) { - self.topics = v; - } - - // Mutable pointer to the field. - pub fn mut_topics(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.topics - } - - // Take field - pub fn take_topics(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.topics, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTopicsResponse { - fn is_initialized(&self) -> bool { - for v in &self.topics { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.topics)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.topics { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.topics { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTopicsResponse { - ListTopicsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "topics", - |m: &ListTopicsResponse| { &m.topics }, - |m: &mut ListTopicsResponse| { &mut m.topics }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListTopicsResponse| { &m.next_page_token }, - |m: &mut ListTopicsResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTopicsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTopicsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTopicsResponse, - }; - unsafe { - instance.get(ListTopicsResponse::new) - } - } -} - -impl ::protobuf::Clear for ListTopicsResponse { - fn clear(&mut self) { - self.topics.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTopicsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTopicsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTopicSubscriptionsRequest { - // message fields - pub topic: ::std::string::String, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTopicSubscriptionsRequest { - fn default() -> &'a ListTopicSubscriptionsRequest { - ::default_instance() - } -} - -impl ListTopicSubscriptionsRequest { - pub fn new() -> ListTopicSubscriptionsRequest { - ::std::default::Default::default() - } - - // string topic = 1; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } - - // int32 page_size = 2; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 3; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTopicSubscriptionsRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.topic); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.topic.is_empty() { - os.write_string(1, &self.topic)?; - } - if self.page_size != 0 { - os.write_int32(2, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(3, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTopicSubscriptionsRequest { - ListTopicSubscriptionsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &ListTopicSubscriptionsRequest| { &m.topic }, - |m: &mut ListTopicSubscriptionsRequest| { &mut m.topic }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListTopicSubscriptionsRequest| { &m.page_size }, - |m: &mut ListTopicSubscriptionsRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListTopicSubscriptionsRequest| { &m.page_token }, - |m: &mut ListTopicSubscriptionsRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTopicSubscriptionsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTopicSubscriptionsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTopicSubscriptionsRequest, - }; - unsafe { - instance.get(ListTopicSubscriptionsRequest::new) - } - } -} - -impl ::protobuf::Clear for ListTopicSubscriptionsRequest { - fn clear(&mut self) { - self.topic.clear(); - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTopicSubscriptionsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTopicSubscriptionsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTopicSubscriptionsResponse { - // message fields - pub subscriptions: ::protobuf::RepeatedField<::std::string::String>, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTopicSubscriptionsResponse { - fn default() -> &'a ListTopicSubscriptionsResponse { - ::default_instance() - } -} - -impl ListTopicSubscriptionsResponse { - pub fn new() -> ListTopicSubscriptionsResponse { - ::std::default::Default::default() - } - - // repeated string subscriptions = 1; - - - pub fn get_subscriptions(&self) -> &[::std::string::String] { - &self.subscriptions - } - pub fn clear_subscriptions(&mut self) { - self.subscriptions.clear(); - } - - // Param is passed by value, moved - pub fn set_subscriptions(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.subscriptions = v; - } - - // Mutable pointer to the field. - pub fn mut_subscriptions(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.subscriptions - } - - // Take field - pub fn take_subscriptions(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.subscriptions, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTopicSubscriptionsResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.subscriptions)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.subscriptions { - my_size += ::protobuf::rt::string_size(1, &value); - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.subscriptions { - os.write_string(1, &v)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTopicSubscriptionsResponse { - ListTopicSubscriptionsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscriptions", - |m: &ListTopicSubscriptionsResponse| { &m.subscriptions }, - |m: &mut ListTopicSubscriptionsResponse| { &mut m.subscriptions }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListTopicSubscriptionsResponse| { &m.next_page_token }, - |m: &mut ListTopicSubscriptionsResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTopicSubscriptionsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTopicSubscriptionsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTopicSubscriptionsResponse, - }; - unsafe { - instance.get(ListTopicSubscriptionsResponse::new) - } - } -} - -impl ::protobuf::Clear for ListTopicSubscriptionsResponse { - fn clear(&mut self) { - self.subscriptions.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTopicSubscriptionsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTopicSubscriptionsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTopicSnapshotsRequest { - // message fields - pub topic: ::std::string::String, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTopicSnapshotsRequest { - fn default() -> &'a ListTopicSnapshotsRequest { - ::default_instance() - } -} - -impl ListTopicSnapshotsRequest { - pub fn new() -> ListTopicSnapshotsRequest { - ::std::default::Default::default() - } - - // string topic = 1; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } - - // int32 page_size = 2; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 3; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTopicSnapshotsRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.topic); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.topic.is_empty() { - os.write_string(1, &self.topic)?; - } - if self.page_size != 0 { - os.write_int32(2, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(3, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTopicSnapshotsRequest { - ListTopicSnapshotsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &ListTopicSnapshotsRequest| { &m.topic }, - |m: &mut ListTopicSnapshotsRequest| { &mut m.topic }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListTopicSnapshotsRequest| { &m.page_size }, - |m: &mut ListTopicSnapshotsRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListTopicSnapshotsRequest| { &m.page_token }, - |m: &mut ListTopicSnapshotsRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTopicSnapshotsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTopicSnapshotsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTopicSnapshotsRequest, - }; - unsafe { - instance.get(ListTopicSnapshotsRequest::new) - } - } -} - -impl ::protobuf::Clear for ListTopicSnapshotsRequest { - fn clear(&mut self) { - self.topic.clear(); - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTopicSnapshotsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTopicSnapshotsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTopicSnapshotsResponse { - // message fields - pub snapshots: ::protobuf::RepeatedField<::std::string::String>, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTopicSnapshotsResponse { - fn default() -> &'a ListTopicSnapshotsResponse { - ::default_instance() - } -} - -impl ListTopicSnapshotsResponse { - pub fn new() -> ListTopicSnapshotsResponse { - ::std::default::Default::default() - } - - // repeated string snapshots = 1; - - - pub fn get_snapshots(&self) -> &[::std::string::String] { - &self.snapshots - } - pub fn clear_snapshots(&mut self) { - self.snapshots.clear(); - } - - // Param is passed by value, moved - pub fn set_snapshots(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.snapshots = v; - } - - // Mutable pointer to the field. - pub fn mut_snapshots(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.snapshots - } - - // Take field - pub fn take_snapshots(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.snapshots, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTopicSnapshotsResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.snapshots)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.snapshots { - my_size += ::protobuf::rt::string_size(1, &value); - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.snapshots { - os.write_string(1, &v)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTopicSnapshotsResponse { - ListTopicSnapshotsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "snapshots", - |m: &ListTopicSnapshotsResponse| { &m.snapshots }, - |m: &mut ListTopicSnapshotsResponse| { &mut m.snapshots }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListTopicSnapshotsResponse| { &m.next_page_token }, - |m: &mut ListTopicSnapshotsResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTopicSnapshotsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTopicSnapshotsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTopicSnapshotsResponse, - }; - unsafe { - instance.get(ListTopicSnapshotsResponse::new) - } - } -} - -impl ::protobuf::Clear for ListTopicSnapshotsResponse { - fn clear(&mut self) { - self.snapshots.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTopicSnapshotsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTopicSnapshotsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteTopicRequest { - // message fields - pub topic: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteTopicRequest { - fn default() -> &'a DeleteTopicRequest { - ::default_instance() - } -} - -impl DeleteTopicRequest { - pub fn new() -> DeleteTopicRequest { - ::std::default::Default::default() - } - - // string topic = 1; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteTopicRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.topic); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.topic.is_empty() { - os.write_string(1, &self.topic)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteTopicRequest { - DeleteTopicRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &DeleteTopicRequest| { &m.topic }, - |m: &mut DeleteTopicRequest| { &mut m.topic }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteTopicRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteTopicRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteTopicRequest, - }; - unsafe { - instance.get(DeleteTopicRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteTopicRequest { - fn clear(&mut self) { - self.topic.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteTopicRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteTopicRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Subscription { - // message fields - pub name: ::std::string::String, - pub topic: ::std::string::String, - pub push_config: ::protobuf::SingularPtrField, - pub ack_deadline_seconds: i32, - pub retain_acked_messages: bool, - pub message_retention_duration: ::protobuf::SingularPtrField<::protobuf::well_known_types::Duration>, - pub labels: ::std::collections::HashMap<::std::string::String, ::std::string::String>, - pub expiration_policy: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Subscription { - fn default() -> &'a Subscription { - ::default_instance() - } -} - -impl Subscription { - pub fn new() -> Subscription { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string topic = 2; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } - - // .google.pubsub.v1.PushConfig push_config = 4; - - - pub fn get_push_config(&self) -> &PushConfig { - self.push_config.as_ref().unwrap_or_else(|| PushConfig::default_instance()) - } - pub fn clear_push_config(&mut self) { - self.push_config.clear(); - } - - pub fn has_push_config(&self) -> bool { - self.push_config.is_some() - } - - // Param is passed by value, moved - pub fn set_push_config(&mut self, v: PushConfig) { - self.push_config = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_push_config(&mut self) -> &mut PushConfig { - if self.push_config.is_none() { - self.push_config.set_default(); - } - self.push_config.as_mut().unwrap() - } - - // Take field - pub fn take_push_config(&mut self) -> PushConfig { - self.push_config.take().unwrap_or_else(|| PushConfig::new()) - } - - // int32 ack_deadline_seconds = 5; - - - pub fn get_ack_deadline_seconds(&self) -> i32 { - self.ack_deadline_seconds - } - pub fn clear_ack_deadline_seconds(&mut self) { - self.ack_deadline_seconds = 0; - } - - // Param is passed by value, moved - pub fn set_ack_deadline_seconds(&mut self, v: i32) { - self.ack_deadline_seconds = v; - } - - // bool retain_acked_messages = 7; - - - pub fn get_retain_acked_messages(&self) -> bool { - self.retain_acked_messages - } - pub fn clear_retain_acked_messages(&mut self) { - self.retain_acked_messages = false; - } - - // Param is passed by value, moved - pub fn set_retain_acked_messages(&mut self, v: bool) { - self.retain_acked_messages = v; - } - - // .google.protobuf.Duration message_retention_duration = 8; - - - pub fn get_message_retention_duration(&self) -> &::protobuf::well_known_types::Duration { - self.message_retention_duration.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Duration::default_instance()) - } - pub fn clear_message_retention_duration(&mut self) { - self.message_retention_duration.clear(); - } - - pub fn has_message_retention_duration(&self) -> bool { - self.message_retention_duration.is_some() - } - - // Param is passed by value, moved - pub fn set_message_retention_duration(&mut self, v: ::protobuf::well_known_types::Duration) { - self.message_retention_duration = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_message_retention_duration(&mut self) -> &mut ::protobuf::well_known_types::Duration { - if self.message_retention_duration.is_none() { - self.message_retention_duration.set_default(); - } - self.message_retention_duration.as_mut().unwrap() - } - - // Take field - pub fn take_message_retention_duration(&mut self) -> ::protobuf::well_known_types::Duration { - self.message_retention_duration.take().unwrap_or_else(|| ::protobuf::well_known_types::Duration::new()) - } - - // repeated .google.pubsub.v1.Subscription.LabelsEntry labels = 9; - - - pub fn get_labels(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> { - &self.labels - } - pub fn clear_labels(&mut self) { - self.labels.clear(); - } - - // Param is passed by value, moved - pub fn set_labels(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) { - self.labels = v; - } - - // Mutable pointer to the field. - pub fn mut_labels(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> { - &mut self.labels - } - - // Take field - pub fn take_labels(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> { - ::std::mem::replace(&mut self.labels, ::std::collections::HashMap::new()) - } - - // .google.pubsub.v1.ExpirationPolicy expiration_policy = 11; - - - pub fn get_expiration_policy(&self) -> &ExpirationPolicy { - self.expiration_policy.as_ref().unwrap_or_else(|| ExpirationPolicy::default_instance()) - } - pub fn clear_expiration_policy(&mut self) { - self.expiration_policy.clear(); - } - - pub fn has_expiration_policy(&self) -> bool { - self.expiration_policy.is_some() - } - - // Param is passed by value, moved - pub fn set_expiration_policy(&mut self, v: ExpirationPolicy) { - self.expiration_policy = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_expiration_policy(&mut self) -> &mut ExpirationPolicy { - if self.expiration_policy.is_none() { - self.expiration_policy.set_default(); - } - self.expiration_policy.as_mut().unwrap() - } - - // Take field - pub fn take_expiration_policy(&mut self) -> ExpirationPolicy { - self.expiration_policy.take().unwrap_or_else(|| ExpirationPolicy::new()) - } -} - -impl ::protobuf::Message for Subscription { - fn is_initialized(&self) -> bool { - for v in &self.push_config { - if !v.is_initialized() { - return false; - } - }; - for v in &self.message_retention_duration { - if !v.is_initialized() { - return false; - } - }; - for v in &self.expiration_policy { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - 4 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.push_config)?; - }, - 5 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.ack_deadline_seconds = tmp; - }, - 7 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.retain_acked_messages = tmp; - }, - 8 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.message_retention_duration)?; - }, - 9 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.labels)?; - }, - 11 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.expiration_policy)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.topic); - } - if let Some(ref v) = self.push_config.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if self.ack_deadline_seconds != 0 { - my_size += ::protobuf::rt::value_size(5, self.ack_deadline_seconds, ::protobuf::wire_format::WireTypeVarint); - } - if self.retain_acked_messages != false { - my_size += 2; - } - if let Some(ref v) = self.message_retention_duration.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(9, &self.labels); - if let Some(ref v) = self.expiration_policy.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.topic.is_empty() { - os.write_string(2, &self.topic)?; - } - if let Some(ref v) = self.push_config.as_ref() { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if self.ack_deadline_seconds != 0 { - os.write_int32(5, self.ack_deadline_seconds)?; - } - if self.retain_acked_messages != false { - os.write_bool(7, self.retain_acked_messages)?; - } - if let Some(ref v) = self.message_retention_duration.as_ref() { - os.write_tag(8, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(9, &self.labels, os)?; - if let Some(ref v) = self.expiration_policy.as_ref() { - os.write_tag(11, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Subscription { - Subscription::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Subscription| { &m.name }, - |m: &mut Subscription| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &Subscription| { &m.topic }, - |m: &mut Subscription| { &mut m.topic }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "push_config", - |m: &Subscription| { &m.push_config }, - |m: &mut Subscription| { &mut m.push_config }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "ack_deadline_seconds", - |m: &Subscription| { &m.ack_deadline_seconds }, - |m: &mut Subscription| { &mut m.ack_deadline_seconds }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "retain_acked_messages", - |m: &Subscription| { &m.retain_acked_messages }, - |m: &mut Subscription| { &mut m.retain_acked_messages }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Duration>>( - "message_retention_duration", - |m: &Subscription| { &m.message_retention_duration }, - |m: &mut Subscription| { &mut m.message_retention_duration }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>( - "labels", - |m: &Subscription| { &m.labels }, - |m: &mut Subscription| { &mut m.labels }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "expiration_policy", - |m: &Subscription| { &m.expiration_policy }, - |m: &mut Subscription| { &mut m.expiration_policy }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Subscription", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Subscription { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Subscription, - }; - unsafe { - instance.get(Subscription::new) - } - } -} - -impl ::protobuf::Clear for Subscription { - fn clear(&mut self) { - self.name.clear(); - self.topic.clear(); - self.push_config.clear(); - self.ack_deadline_seconds = 0; - self.retain_acked_messages = false; - self.message_retention_duration.clear(); - self.labels.clear(); - self.expiration_policy.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Subscription { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Subscription { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ExpirationPolicy { - // message fields - pub ttl: ::protobuf::SingularPtrField<::protobuf::well_known_types::Duration>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ExpirationPolicy { - fn default() -> &'a ExpirationPolicy { - ::default_instance() - } -} - -impl ExpirationPolicy { - pub fn new() -> ExpirationPolicy { - ::std::default::Default::default() - } - - // .google.protobuf.Duration ttl = 1; - - - pub fn get_ttl(&self) -> &::protobuf::well_known_types::Duration { - self.ttl.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Duration::default_instance()) - } - pub fn clear_ttl(&mut self) { - self.ttl.clear(); - } - - pub fn has_ttl(&self) -> bool { - self.ttl.is_some() - } - - // Param is passed by value, moved - pub fn set_ttl(&mut self, v: ::protobuf::well_known_types::Duration) { - self.ttl = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_ttl(&mut self) -> &mut ::protobuf::well_known_types::Duration { - if self.ttl.is_none() { - self.ttl.set_default(); - } - self.ttl.as_mut().unwrap() - } - - // Take field - pub fn take_ttl(&mut self) -> ::protobuf::well_known_types::Duration { - self.ttl.take().unwrap_or_else(|| ::protobuf::well_known_types::Duration::new()) - } -} - -impl ::protobuf::Message for ExpirationPolicy { - fn is_initialized(&self) -> bool { - for v in &self.ttl { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.ttl)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.ttl.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.ttl.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ExpirationPolicy { - ExpirationPolicy::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Duration>>( - "ttl", - |m: &ExpirationPolicy| { &m.ttl }, - |m: &mut ExpirationPolicy| { &mut m.ttl }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ExpirationPolicy", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ExpirationPolicy { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ExpirationPolicy, - }; - unsafe { - instance.get(ExpirationPolicy::new) - } - } -} - -impl ::protobuf::Clear for ExpirationPolicy { - fn clear(&mut self) { - self.ttl.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ExpirationPolicy { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ExpirationPolicy { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PushConfig { - // message fields - pub push_endpoint: ::std::string::String, - pub attributes: ::std::collections::HashMap<::std::string::String, ::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PushConfig { - fn default() -> &'a PushConfig { - ::default_instance() - } -} - -impl PushConfig { - pub fn new() -> PushConfig { - ::std::default::Default::default() - } - - // string push_endpoint = 1; - - - pub fn get_push_endpoint(&self) -> &str { - &self.push_endpoint - } - pub fn clear_push_endpoint(&mut self) { - self.push_endpoint.clear(); - } - - // Param is passed by value, moved - pub fn set_push_endpoint(&mut self, v: ::std::string::String) { - self.push_endpoint = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_push_endpoint(&mut self) -> &mut ::std::string::String { - &mut self.push_endpoint - } - - // Take field - pub fn take_push_endpoint(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.push_endpoint, ::std::string::String::new()) - } - - // repeated .google.pubsub.v1.PushConfig.AttributesEntry attributes = 2; - - - pub fn get_attributes(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> { - &self.attributes - } - pub fn clear_attributes(&mut self) { - self.attributes.clear(); - } - - // Param is passed by value, moved - pub fn set_attributes(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) { - self.attributes = v; - } - - // Mutable pointer to the field. - pub fn mut_attributes(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> { - &mut self.attributes - } - - // Take field - pub fn take_attributes(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> { - ::std::mem::replace(&mut self.attributes, ::std::collections::HashMap::new()) - } -} - -impl ::protobuf::Message for PushConfig { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.push_endpoint)?; - }, - 2 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.attributes)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.push_endpoint.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.push_endpoint); - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(2, &self.attributes); - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.push_endpoint.is_empty() { - os.write_string(1, &self.push_endpoint)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(2, &self.attributes, os)?; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PushConfig { - PushConfig::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "push_endpoint", - |m: &PushConfig| { &m.push_endpoint }, - |m: &mut PushConfig| { &mut m.push_endpoint }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>( - "attributes", - |m: &PushConfig| { &m.attributes }, - |m: &mut PushConfig| { &mut m.attributes }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PushConfig", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PushConfig { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PushConfig, - }; - unsafe { - instance.get(PushConfig::new) - } - } -} - -impl ::protobuf::Clear for PushConfig { - fn clear(&mut self) { - self.push_endpoint.clear(); - self.attributes.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PushConfig { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PushConfig { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReceivedMessage { - // message fields - pub ack_id: ::std::string::String, - pub message: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReceivedMessage { - fn default() -> &'a ReceivedMessage { - ::default_instance() - } -} - -impl ReceivedMessage { - pub fn new() -> ReceivedMessage { - ::std::default::Default::default() - } - - // string ack_id = 1; - - - pub fn get_ack_id(&self) -> &str { - &self.ack_id - } - pub fn clear_ack_id(&mut self) { - self.ack_id.clear(); - } - - // Param is passed by value, moved - pub fn set_ack_id(&mut self, v: ::std::string::String) { - self.ack_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_ack_id(&mut self) -> &mut ::std::string::String { - &mut self.ack_id - } - - // Take field - pub fn take_ack_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.ack_id, ::std::string::String::new()) - } - - // .google.pubsub.v1.PubsubMessage message = 2; - - - pub fn get_message(&self) -> &PubsubMessage { - self.message.as_ref().unwrap_or_else(|| PubsubMessage::default_instance()) - } - pub fn clear_message(&mut self) { - self.message.clear(); - } - - pub fn has_message(&self) -> bool { - self.message.is_some() - } - - // Param is passed by value, moved - pub fn set_message(&mut self, v: PubsubMessage) { - self.message = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_message(&mut self) -> &mut PubsubMessage { - if self.message.is_none() { - self.message.set_default(); - } - self.message.as_mut().unwrap() - } - - // Take field - pub fn take_message(&mut self) -> PubsubMessage { - self.message.take().unwrap_or_else(|| PubsubMessage::new()) - } -} - -impl ::protobuf::Message for ReceivedMessage { - fn is_initialized(&self) -> bool { - for v in &self.message { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.ack_id)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.message)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.ack_id.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.ack_id); - } - if let Some(ref v) = self.message.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.ack_id.is_empty() { - os.write_string(1, &self.ack_id)?; - } - if let Some(ref v) = self.message.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReceivedMessage { - ReceivedMessage::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "ack_id", - |m: &ReceivedMessage| { &m.ack_id }, - |m: &mut ReceivedMessage| { &mut m.ack_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "message", - |m: &ReceivedMessage| { &m.message }, - |m: &mut ReceivedMessage| { &mut m.message }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReceivedMessage", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReceivedMessage { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReceivedMessage, - }; - unsafe { - instance.get(ReceivedMessage::new) - } - } -} - -impl ::protobuf::Clear for ReceivedMessage { - fn clear(&mut self) { - self.ack_id.clear(); - self.message.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReceivedMessage { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReceivedMessage { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetSubscriptionRequest { - // message fields - pub subscription: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetSubscriptionRequest { - fn default() -> &'a GetSubscriptionRequest { - ::default_instance() - } -} - -impl GetSubscriptionRequest { - pub fn new() -> GetSubscriptionRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetSubscriptionRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetSubscriptionRequest { - GetSubscriptionRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &GetSubscriptionRequest| { &m.subscription }, - |m: &mut GetSubscriptionRequest| { &mut m.subscription }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetSubscriptionRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetSubscriptionRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetSubscriptionRequest, - }; - unsafe { - instance.get(GetSubscriptionRequest::new) - } - } -} - -impl ::protobuf::Clear for GetSubscriptionRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetSubscriptionRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetSubscriptionRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct UpdateSubscriptionRequest { - // message fields - pub subscription: ::protobuf::SingularPtrField, - pub update_mask: ::protobuf::SingularPtrField<::protobuf::well_known_types::FieldMask>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a UpdateSubscriptionRequest { - fn default() -> &'a UpdateSubscriptionRequest { - ::default_instance() - } -} - -impl UpdateSubscriptionRequest { - pub fn new() -> UpdateSubscriptionRequest { - ::std::default::Default::default() - } - - // .google.pubsub.v1.Subscription subscription = 1; - - - pub fn get_subscription(&self) -> &Subscription { - self.subscription.as_ref().unwrap_or_else(|| Subscription::default_instance()) - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - pub fn has_subscription(&self) -> bool { - self.subscription.is_some() - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: Subscription) { - self.subscription = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut Subscription { - if self.subscription.is_none() { - self.subscription.set_default(); - } - self.subscription.as_mut().unwrap() - } - - // Take field - pub fn take_subscription(&mut self) -> Subscription { - self.subscription.take().unwrap_or_else(|| Subscription::new()) - } - - // .google.protobuf.FieldMask update_mask = 2; - - - pub fn get_update_mask(&self) -> &::protobuf::well_known_types::FieldMask { - self.update_mask.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::default_instance()) - } - pub fn clear_update_mask(&mut self) { - self.update_mask.clear(); - } - - pub fn has_update_mask(&self) -> bool { - self.update_mask.is_some() - } - - // Param is passed by value, moved - pub fn set_update_mask(&mut self, v: ::protobuf::well_known_types::FieldMask) { - self.update_mask = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_update_mask(&mut self) -> &mut ::protobuf::well_known_types::FieldMask { - if self.update_mask.is_none() { - self.update_mask.set_default(); - } - self.update_mask.as_mut().unwrap() - } - - // Take field - pub fn take_update_mask(&mut self) -> ::protobuf::well_known_types::FieldMask { - self.update_mask.take().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::new()) - } -} - -impl ::protobuf::Message for UpdateSubscriptionRequest { - fn is_initialized(&self) -> bool { - for v in &self.subscription { - if !v.is_initialized() { - return false; - } - }; - for v in &self.update_mask { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.subscription)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.update_mask)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.subscription.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.update_mask.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.subscription.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.update_mask.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> UpdateSubscriptionRequest { - UpdateSubscriptionRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "subscription", - |m: &UpdateSubscriptionRequest| { &m.subscription }, - |m: &mut UpdateSubscriptionRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::FieldMask>>( - "update_mask", - |m: &UpdateSubscriptionRequest| { &m.update_mask }, - |m: &mut UpdateSubscriptionRequest| { &mut m.update_mask }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "UpdateSubscriptionRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static UpdateSubscriptionRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateSubscriptionRequest, - }; - unsafe { - instance.get(UpdateSubscriptionRequest::new) - } - } -} - -impl ::protobuf::Clear for UpdateSubscriptionRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.update_mask.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for UpdateSubscriptionRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for UpdateSubscriptionRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListSubscriptionsRequest { - // message fields - pub project: ::std::string::String, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListSubscriptionsRequest { - fn default() -> &'a ListSubscriptionsRequest { - ::default_instance() - } -} - -impl ListSubscriptionsRequest { - pub fn new() -> ListSubscriptionsRequest { - ::std::default::Default::default() - } - - // string project = 1; - - - pub fn get_project(&self) -> &str { - &self.project - } - pub fn clear_project(&mut self) { - self.project.clear(); - } - - // Param is passed by value, moved - pub fn set_project(&mut self, v: ::std::string::String) { - self.project = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_project(&mut self) -> &mut ::std::string::String { - &mut self.project - } - - // Take field - pub fn take_project(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.project, ::std::string::String::new()) - } - - // int32 page_size = 2; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 3; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListSubscriptionsRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.project)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.project.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.project); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.project.is_empty() { - os.write_string(1, &self.project)?; - } - if self.page_size != 0 { - os.write_int32(2, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(3, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListSubscriptionsRequest { - ListSubscriptionsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "project", - |m: &ListSubscriptionsRequest| { &m.project }, - |m: &mut ListSubscriptionsRequest| { &mut m.project }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListSubscriptionsRequest| { &m.page_size }, - |m: &mut ListSubscriptionsRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListSubscriptionsRequest| { &m.page_token }, - |m: &mut ListSubscriptionsRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListSubscriptionsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListSubscriptionsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListSubscriptionsRequest, - }; - unsafe { - instance.get(ListSubscriptionsRequest::new) - } - } -} - -impl ::protobuf::Clear for ListSubscriptionsRequest { - fn clear(&mut self) { - self.project.clear(); - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListSubscriptionsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListSubscriptionsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListSubscriptionsResponse { - // message fields - pub subscriptions: ::protobuf::RepeatedField, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListSubscriptionsResponse { - fn default() -> &'a ListSubscriptionsResponse { - ::default_instance() - } -} - -impl ListSubscriptionsResponse { - pub fn new() -> ListSubscriptionsResponse { - ::std::default::Default::default() - } - - // repeated .google.pubsub.v1.Subscription subscriptions = 1; - - - pub fn get_subscriptions(&self) -> &[Subscription] { - &self.subscriptions - } - pub fn clear_subscriptions(&mut self) { - self.subscriptions.clear(); - } - - // Param is passed by value, moved - pub fn set_subscriptions(&mut self, v: ::protobuf::RepeatedField) { - self.subscriptions = v; - } - - // Mutable pointer to the field. - pub fn mut_subscriptions(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.subscriptions - } - - // Take field - pub fn take_subscriptions(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.subscriptions, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListSubscriptionsResponse { - fn is_initialized(&self) -> bool { - for v in &self.subscriptions { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.subscriptions)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.subscriptions { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.subscriptions { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListSubscriptionsResponse { - ListSubscriptionsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "subscriptions", - |m: &ListSubscriptionsResponse| { &m.subscriptions }, - |m: &mut ListSubscriptionsResponse| { &mut m.subscriptions }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListSubscriptionsResponse| { &m.next_page_token }, - |m: &mut ListSubscriptionsResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListSubscriptionsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListSubscriptionsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListSubscriptionsResponse, - }; - unsafe { - instance.get(ListSubscriptionsResponse::new) - } - } -} - -impl ::protobuf::Clear for ListSubscriptionsResponse { - fn clear(&mut self) { - self.subscriptions.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListSubscriptionsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListSubscriptionsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteSubscriptionRequest { - // message fields - pub subscription: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteSubscriptionRequest { - fn default() -> &'a DeleteSubscriptionRequest { - ::default_instance() - } -} - -impl DeleteSubscriptionRequest { - pub fn new() -> DeleteSubscriptionRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteSubscriptionRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteSubscriptionRequest { - DeleteSubscriptionRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &DeleteSubscriptionRequest| { &m.subscription }, - |m: &mut DeleteSubscriptionRequest| { &mut m.subscription }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteSubscriptionRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteSubscriptionRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteSubscriptionRequest, - }; - unsafe { - instance.get(DeleteSubscriptionRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteSubscriptionRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteSubscriptionRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteSubscriptionRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ModifyPushConfigRequest { - // message fields - pub subscription: ::std::string::String, - pub push_config: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ModifyPushConfigRequest { - fn default() -> &'a ModifyPushConfigRequest { - ::default_instance() - } -} - -impl ModifyPushConfigRequest { - pub fn new() -> ModifyPushConfigRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // .google.pubsub.v1.PushConfig push_config = 2; - - - pub fn get_push_config(&self) -> &PushConfig { - self.push_config.as_ref().unwrap_or_else(|| PushConfig::default_instance()) - } - pub fn clear_push_config(&mut self) { - self.push_config.clear(); - } - - pub fn has_push_config(&self) -> bool { - self.push_config.is_some() - } - - // Param is passed by value, moved - pub fn set_push_config(&mut self, v: PushConfig) { - self.push_config = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_push_config(&mut self) -> &mut PushConfig { - if self.push_config.is_none() { - self.push_config.set_default(); - } - self.push_config.as_mut().unwrap() - } - - // Take field - pub fn take_push_config(&mut self) -> PushConfig { - self.push_config.take().unwrap_or_else(|| PushConfig::new()) - } -} - -impl ::protobuf::Message for ModifyPushConfigRequest { - fn is_initialized(&self) -> bool { - for v in &self.push_config { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.push_config)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - if let Some(ref v) = self.push_config.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - if let Some(ref v) = self.push_config.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ModifyPushConfigRequest { - ModifyPushConfigRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &ModifyPushConfigRequest| { &m.subscription }, - |m: &mut ModifyPushConfigRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "push_config", - |m: &ModifyPushConfigRequest| { &m.push_config }, - |m: &mut ModifyPushConfigRequest| { &mut m.push_config }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ModifyPushConfigRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ModifyPushConfigRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ModifyPushConfigRequest, - }; - unsafe { - instance.get(ModifyPushConfigRequest::new) - } - } -} - -impl ::protobuf::Clear for ModifyPushConfigRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.push_config.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ModifyPushConfigRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ModifyPushConfigRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PullRequest { - // message fields - pub subscription: ::std::string::String, - pub return_immediately: bool, - pub max_messages: i32, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PullRequest { - fn default() -> &'a PullRequest { - ::default_instance() - } -} - -impl PullRequest { - pub fn new() -> PullRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // bool return_immediately = 2; - - - pub fn get_return_immediately(&self) -> bool { - self.return_immediately - } - pub fn clear_return_immediately(&mut self) { - self.return_immediately = false; - } - - // Param is passed by value, moved - pub fn set_return_immediately(&mut self, v: bool) { - self.return_immediately = v; - } - - // int32 max_messages = 3; - - - pub fn get_max_messages(&self) -> i32 { - self.max_messages - } - pub fn clear_max_messages(&mut self) { - self.max_messages = 0; - } - - // Param is passed by value, moved - pub fn set_max_messages(&mut self, v: i32) { - self.max_messages = v; - } -} - -impl ::protobuf::Message for PullRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.return_immediately = tmp; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.max_messages = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - if self.return_immediately != false { - my_size += 2; - } - if self.max_messages != 0 { - my_size += ::protobuf::rt::value_size(3, self.max_messages, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - if self.return_immediately != false { - os.write_bool(2, self.return_immediately)?; - } - if self.max_messages != 0 { - os.write_int32(3, self.max_messages)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PullRequest { - PullRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &PullRequest| { &m.subscription }, - |m: &mut PullRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "return_immediately", - |m: &PullRequest| { &m.return_immediately }, - |m: &mut PullRequest| { &mut m.return_immediately }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "max_messages", - |m: &PullRequest| { &m.max_messages }, - |m: &mut PullRequest| { &mut m.max_messages }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PullRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PullRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PullRequest, - }; - unsafe { - instance.get(PullRequest::new) - } - } -} - -impl ::protobuf::Clear for PullRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.return_immediately = false; - self.max_messages = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PullRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PullRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PullResponse { - // message fields - pub received_messages: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PullResponse { - fn default() -> &'a PullResponse { - ::default_instance() - } -} - -impl PullResponse { - pub fn new() -> PullResponse { - ::std::default::Default::default() - } - - // repeated .google.pubsub.v1.ReceivedMessage received_messages = 1; - - - pub fn get_received_messages(&self) -> &[ReceivedMessage] { - &self.received_messages - } - pub fn clear_received_messages(&mut self) { - self.received_messages.clear(); - } - - // Param is passed by value, moved - pub fn set_received_messages(&mut self, v: ::protobuf::RepeatedField) { - self.received_messages = v; - } - - // Mutable pointer to the field. - pub fn mut_received_messages(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.received_messages - } - - // Take field - pub fn take_received_messages(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.received_messages, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for PullResponse { - fn is_initialized(&self) -> bool { - for v in &self.received_messages { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.received_messages)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.received_messages { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.received_messages { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PullResponse { - PullResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "received_messages", - |m: &PullResponse| { &m.received_messages }, - |m: &mut PullResponse| { &mut m.received_messages }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PullResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PullResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PullResponse, - }; - unsafe { - instance.get(PullResponse::new) - } - } -} - -impl ::protobuf::Clear for PullResponse { - fn clear(&mut self) { - self.received_messages.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PullResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PullResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ModifyAckDeadlineRequest { - // message fields - pub subscription: ::std::string::String, - pub ack_ids: ::protobuf::RepeatedField<::std::string::String>, - pub ack_deadline_seconds: i32, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ModifyAckDeadlineRequest { - fn default() -> &'a ModifyAckDeadlineRequest { - ::default_instance() - } -} - -impl ModifyAckDeadlineRequest { - pub fn new() -> ModifyAckDeadlineRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // repeated string ack_ids = 4; - - - pub fn get_ack_ids(&self) -> &[::std::string::String] { - &self.ack_ids - } - pub fn clear_ack_ids(&mut self) { - self.ack_ids.clear(); - } - - // Param is passed by value, moved - pub fn set_ack_ids(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.ack_ids = v; - } - - // Mutable pointer to the field. - pub fn mut_ack_ids(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.ack_ids - } - - // Take field - pub fn take_ack_ids(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.ack_ids, ::protobuf::RepeatedField::new()) - } - - // int32 ack_deadline_seconds = 3; - - - pub fn get_ack_deadline_seconds(&self) -> i32 { - self.ack_deadline_seconds - } - pub fn clear_ack_deadline_seconds(&mut self) { - self.ack_deadline_seconds = 0; - } - - // Param is passed by value, moved - pub fn set_ack_deadline_seconds(&mut self, v: i32) { - self.ack_deadline_seconds = v; - } -} - -impl ::protobuf::Message for ModifyAckDeadlineRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 4 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.ack_ids)?; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.ack_deadline_seconds = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - for value in &self.ack_ids { - my_size += ::protobuf::rt::string_size(4, &value); - }; - if self.ack_deadline_seconds != 0 { - my_size += ::protobuf::rt::value_size(3, self.ack_deadline_seconds, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - for v in &self.ack_ids { - os.write_string(4, &v)?; - }; - if self.ack_deadline_seconds != 0 { - os.write_int32(3, self.ack_deadline_seconds)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ModifyAckDeadlineRequest { - ModifyAckDeadlineRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &ModifyAckDeadlineRequest| { &m.subscription }, - |m: &mut ModifyAckDeadlineRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "ack_ids", - |m: &ModifyAckDeadlineRequest| { &m.ack_ids }, - |m: &mut ModifyAckDeadlineRequest| { &mut m.ack_ids }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "ack_deadline_seconds", - |m: &ModifyAckDeadlineRequest| { &m.ack_deadline_seconds }, - |m: &mut ModifyAckDeadlineRequest| { &mut m.ack_deadline_seconds }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ModifyAckDeadlineRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ModifyAckDeadlineRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ModifyAckDeadlineRequest, - }; - unsafe { - instance.get(ModifyAckDeadlineRequest::new) - } - } -} - -impl ::protobuf::Clear for ModifyAckDeadlineRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.ack_ids.clear(); - self.ack_deadline_seconds = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ModifyAckDeadlineRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ModifyAckDeadlineRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct AcknowledgeRequest { - // message fields - pub subscription: ::std::string::String, - pub ack_ids: ::protobuf::RepeatedField<::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a AcknowledgeRequest { - fn default() -> &'a AcknowledgeRequest { - ::default_instance() - } -} - -impl AcknowledgeRequest { - pub fn new() -> AcknowledgeRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // repeated string ack_ids = 2; - - - pub fn get_ack_ids(&self) -> &[::std::string::String] { - &self.ack_ids - } - pub fn clear_ack_ids(&mut self) { - self.ack_ids.clear(); - } - - // Param is passed by value, moved - pub fn set_ack_ids(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.ack_ids = v; - } - - // Mutable pointer to the field. - pub fn mut_ack_ids(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.ack_ids - } - - // Take field - pub fn take_ack_ids(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.ack_ids, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for AcknowledgeRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 2 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.ack_ids)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - for value in &self.ack_ids { - my_size += ::protobuf::rt::string_size(2, &value); - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - for v in &self.ack_ids { - os.write_string(2, &v)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> AcknowledgeRequest { - AcknowledgeRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &AcknowledgeRequest| { &m.subscription }, - |m: &mut AcknowledgeRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "ack_ids", - |m: &AcknowledgeRequest| { &m.ack_ids }, - |m: &mut AcknowledgeRequest| { &mut m.ack_ids }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "AcknowledgeRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static AcknowledgeRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const AcknowledgeRequest, - }; - unsafe { - instance.get(AcknowledgeRequest::new) - } - } -} - -impl ::protobuf::Clear for AcknowledgeRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.ack_ids.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for AcknowledgeRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for AcknowledgeRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct StreamingPullRequest { - // message fields - pub subscription: ::std::string::String, - pub ack_ids: ::protobuf::RepeatedField<::std::string::String>, - pub modify_deadline_seconds: ::std::vec::Vec, - pub modify_deadline_ack_ids: ::protobuf::RepeatedField<::std::string::String>, - pub stream_ack_deadline_seconds: i32, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a StreamingPullRequest { - fn default() -> &'a StreamingPullRequest { - ::default_instance() - } -} - -impl StreamingPullRequest { - pub fn new() -> StreamingPullRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // repeated string ack_ids = 2; - - - pub fn get_ack_ids(&self) -> &[::std::string::String] { - &self.ack_ids - } - pub fn clear_ack_ids(&mut self) { - self.ack_ids.clear(); - } - - // Param is passed by value, moved - pub fn set_ack_ids(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.ack_ids = v; - } - - // Mutable pointer to the field. - pub fn mut_ack_ids(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.ack_ids - } - - // Take field - pub fn take_ack_ids(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.ack_ids, ::protobuf::RepeatedField::new()) - } - - // repeated int32 modify_deadline_seconds = 3; - - - pub fn get_modify_deadline_seconds(&self) -> &[i32] { - &self.modify_deadline_seconds - } - pub fn clear_modify_deadline_seconds(&mut self) { - self.modify_deadline_seconds.clear(); - } - - // Param is passed by value, moved - pub fn set_modify_deadline_seconds(&mut self, v: ::std::vec::Vec) { - self.modify_deadline_seconds = v; - } - - // Mutable pointer to the field. - pub fn mut_modify_deadline_seconds(&mut self) -> &mut ::std::vec::Vec { - &mut self.modify_deadline_seconds - } - - // Take field - pub fn take_modify_deadline_seconds(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.modify_deadline_seconds, ::std::vec::Vec::new()) - } - - // repeated string modify_deadline_ack_ids = 4; - - - pub fn get_modify_deadline_ack_ids(&self) -> &[::std::string::String] { - &self.modify_deadline_ack_ids - } - pub fn clear_modify_deadline_ack_ids(&mut self) { - self.modify_deadline_ack_ids.clear(); - } - - // Param is passed by value, moved - pub fn set_modify_deadline_ack_ids(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.modify_deadline_ack_ids = v; - } - - // Mutable pointer to the field. - pub fn mut_modify_deadline_ack_ids(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.modify_deadline_ack_ids - } - - // Take field - pub fn take_modify_deadline_ack_ids(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.modify_deadline_ack_ids, ::protobuf::RepeatedField::new()) - } - - // int32 stream_ack_deadline_seconds = 5; - - - pub fn get_stream_ack_deadline_seconds(&self) -> i32 { - self.stream_ack_deadline_seconds - } - pub fn clear_stream_ack_deadline_seconds(&mut self) { - self.stream_ack_deadline_seconds = 0; - } - - // Param is passed by value, moved - pub fn set_stream_ack_deadline_seconds(&mut self, v: i32) { - self.stream_ack_deadline_seconds = v; - } -} - -impl ::protobuf::Message for StreamingPullRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 2 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.ack_ids)?; - }, - 3 => { - ::protobuf::rt::read_repeated_int32_into(wire_type, is, &mut self.modify_deadline_seconds)?; - }, - 4 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.modify_deadline_ack_ids)?; - }, - 5 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.stream_ack_deadline_seconds = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - for value in &self.ack_ids { - my_size += ::protobuf::rt::string_size(2, &value); - }; - for value in &self.modify_deadline_seconds { - my_size += ::protobuf::rt::value_size(3, *value, ::protobuf::wire_format::WireTypeVarint); - }; - for value in &self.modify_deadline_ack_ids { - my_size += ::protobuf::rt::string_size(4, &value); - }; - if self.stream_ack_deadline_seconds != 0 { - my_size += ::protobuf::rt::value_size(5, self.stream_ack_deadline_seconds, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - for v in &self.ack_ids { - os.write_string(2, &v)?; - }; - for v in &self.modify_deadline_seconds { - os.write_int32(3, *v)?; - }; - for v in &self.modify_deadline_ack_ids { - os.write_string(4, &v)?; - }; - if self.stream_ack_deadline_seconds != 0 { - os.write_int32(5, self.stream_ack_deadline_seconds)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> StreamingPullRequest { - StreamingPullRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &StreamingPullRequest| { &m.subscription }, - |m: &mut StreamingPullRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "ack_ids", - |m: &StreamingPullRequest| { &m.ack_ids }, - |m: &mut StreamingPullRequest| { &mut m.ack_ids }, - )); - fields.push(::protobuf::reflect::accessor::make_vec_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "modify_deadline_seconds", - |m: &StreamingPullRequest| { &m.modify_deadline_seconds }, - |m: &mut StreamingPullRequest| { &mut m.modify_deadline_seconds }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "modify_deadline_ack_ids", - |m: &StreamingPullRequest| { &m.modify_deadline_ack_ids }, - |m: &mut StreamingPullRequest| { &mut m.modify_deadline_ack_ids }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "stream_ack_deadline_seconds", - |m: &StreamingPullRequest| { &m.stream_ack_deadline_seconds }, - |m: &mut StreamingPullRequest| { &mut m.stream_ack_deadline_seconds }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "StreamingPullRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static StreamingPullRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const StreamingPullRequest, - }; - unsafe { - instance.get(StreamingPullRequest::new) - } - } -} - -impl ::protobuf::Clear for StreamingPullRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.ack_ids.clear(); - self.modify_deadline_seconds.clear(); - self.modify_deadline_ack_ids.clear(); - self.stream_ack_deadline_seconds = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for StreamingPullRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for StreamingPullRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct StreamingPullResponse { - // message fields - pub received_messages: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a StreamingPullResponse { - fn default() -> &'a StreamingPullResponse { - ::default_instance() - } -} - -impl StreamingPullResponse { - pub fn new() -> StreamingPullResponse { - ::std::default::Default::default() - } - - // repeated .google.pubsub.v1.ReceivedMessage received_messages = 1; - - - pub fn get_received_messages(&self) -> &[ReceivedMessage] { - &self.received_messages - } - pub fn clear_received_messages(&mut self) { - self.received_messages.clear(); - } - - // Param is passed by value, moved - pub fn set_received_messages(&mut self, v: ::protobuf::RepeatedField) { - self.received_messages = v; - } - - // Mutable pointer to the field. - pub fn mut_received_messages(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.received_messages - } - - // Take field - pub fn take_received_messages(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.received_messages, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for StreamingPullResponse { - fn is_initialized(&self) -> bool { - for v in &self.received_messages { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.received_messages)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.received_messages { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.received_messages { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> StreamingPullResponse { - StreamingPullResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "received_messages", - |m: &StreamingPullResponse| { &m.received_messages }, - |m: &mut StreamingPullResponse| { &mut m.received_messages }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "StreamingPullResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static StreamingPullResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const StreamingPullResponse, - }; - unsafe { - instance.get(StreamingPullResponse::new) - } - } -} - -impl ::protobuf::Clear for StreamingPullResponse { - fn clear(&mut self) { - self.received_messages.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for StreamingPullResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for StreamingPullResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct CreateSnapshotRequest { - // message fields - pub name: ::std::string::String, - pub subscription: ::std::string::String, - pub labels: ::std::collections::HashMap<::std::string::String, ::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a CreateSnapshotRequest { - fn default() -> &'a CreateSnapshotRequest { - ::default_instance() - } -} - -impl CreateSnapshotRequest { - pub fn new() -> CreateSnapshotRequest { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string subscription = 2; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // repeated .google.pubsub.v1.CreateSnapshotRequest.LabelsEntry labels = 3; - - - pub fn get_labels(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> { - &self.labels - } - pub fn clear_labels(&mut self) { - self.labels.clear(); - } - - // Param is passed by value, moved - pub fn set_labels(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) { - self.labels = v; - } - - // Mutable pointer to the field. - pub fn mut_labels(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> { - &mut self.labels - } - - // Take field - pub fn take_labels(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> { - ::std::mem::replace(&mut self.labels, ::std::collections::HashMap::new()) - } -} - -impl ::protobuf::Message for CreateSnapshotRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 3 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.labels)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.subscription); - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(3, &self.labels); - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.subscription.is_empty() { - os.write_string(2, &self.subscription)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(3, &self.labels, os)?; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> CreateSnapshotRequest { - CreateSnapshotRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &CreateSnapshotRequest| { &m.name }, - |m: &mut CreateSnapshotRequest| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &CreateSnapshotRequest| { &m.subscription }, - |m: &mut CreateSnapshotRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>( - "labels", - |m: &CreateSnapshotRequest| { &m.labels }, - |m: &mut CreateSnapshotRequest| { &mut m.labels }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "CreateSnapshotRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static CreateSnapshotRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateSnapshotRequest, - }; - unsafe { - instance.get(CreateSnapshotRequest::new) - } - } -} - -impl ::protobuf::Clear for CreateSnapshotRequest { - fn clear(&mut self) { - self.name.clear(); - self.subscription.clear(); - self.labels.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for CreateSnapshotRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for CreateSnapshotRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct UpdateSnapshotRequest { - // message fields - pub snapshot: ::protobuf::SingularPtrField, - pub update_mask: ::protobuf::SingularPtrField<::protobuf::well_known_types::FieldMask>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a UpdateSnapshotRequest { - fn default() -> &'a UpdateSnapshotRequest { - ::default_instance() - } -} - -impl UpdateSnapshotRequest { - pub fn new() -> UpdateSnapshotRequest { - ::std::default::Default::default() - } - - // .google.pubsub.v1.Snapshot snapshot = 1; - - - pub fn get_snapshot(&self) -> &Snapshot { - self.snapshot.as_ref().unwrap_or_else(|| Snapshot::default_instance()) - } - pub fn clear_snapshot(&mut self) { - self.snapshot.clear(); - } - - pub fn has_snapshot(&self) -> bool { - self.snapshot.is_some() - } - - // Param is passed by value, moved - pub fn set_snapshot(&mut self, v: Snapshot) { - self.snapshot = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_snapshot(&mut self) -> &mut Snapshot { - if self.snapshot.is_none() { - self.snapshot.set_default(); - } - self.snapshot.as_mut().unwrap() - } - - // Take field - pub fn take_snapshot(&mut self) -> Snapshot { - self.snapshot.take().unwrap_or_else(|| Snapshot::new()) - } - - // .google.protobuf.FieldMask update_mask = 2; - - - pub fn get_update_mask(&self) -> &::protobuf::well_known_types::FieldMask { - self.update_mask.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::default_instance()) - } - pub fn clear_update_mask(&mut self) { - self.update_mask.clear(); - } - - pub fn has_update_mask(&self) -> bool { - self.update_mask.is_some() - } - - // Param is passed by value, moved - pub fn set_update_mask(&mut self, v: ::protobuf::well_known_types::FieldMask) { - self.update_mask = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_update_mask(&mut self) -> &mut ::protobuf::well_known_types::FieldMask { - if self.update_mask.is_none() { - self.update_mask.set_default(); - } - self.update_mask.as_mut().unwrap() - } - - // Take field - pub fn take_update_mask(&mut self) -> ::protobuf::well_known_types::FieldMask { - self.update_mask.take().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::new()) - } -} - -impl ::protobuf::Message for UpdateSnapshotRequest { - fn is_initialized(&self) -> bool { - for v in &self.snapshot { - if !v.is_initialized() { - return false; - } - }; - for v in &self.update_mask { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.snapshot)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.update_mask)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if let Some(ref v) = self.snapshot.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if let Some(ref v) = self.update_mask.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if let Some(ref v) = self.snapshot.as_ref() { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if let Some(ref v) = self.update_mask.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> UpdateSnapshotRequest { - UpdateSnapshotRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "snapshot", - |m: &UpdateSnapshotRequest| { &m.snapshot }, - |m: &mut UpdateSnapshotRequest| { &mut m.snapshot }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::FieldMask>>( - "update_mask", - |m: &UpdateSnapshotRequest| { &m.update_mask }, - |m: &mut UpdateSnapshotRequest| { &mut m.update_mask }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "UpdateSnapshotRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static UpdateSnapshotRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateSnapshotRequest, - }; - unsafe { - instance.get(UpdateSnapshotRequest::new) - } - } -} - -impl ::protobuf::Clear for UpdateSnapshotRequest { - fn clear(&mut self) { - self.snapshot.clear(); - self.update_mask.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for UpdateSnapshotRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for UpdateSnapshotRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Snapshot { - // message fields - pub name: ::std::string::String, - pub topic: ::std::string::String, - pub expire_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>, - pub labels: ::std::collections::HashMap<::std::string::String, ::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Snapshot { - fn default() -> &'a Snapshot { - ::default_instance() - } -} - -impl Snapshot { - pub fn new() -> Snapshot { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string topic = 2; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } - - // .google.protobuf.Timestamp expire_time = 3; - - - pub fn get_expire_time(&self) -> &::protobuf::well_known_types::Timestamp { - self.expire_time.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance()) - } - pub fn clear_expire_time(&mut self) { - self.expire_time.clear(); - } - - pub fn has_expire_time(&self) -> bool { - self.expire_time.is_some() - } - - // Param is passed by value, moved - pub fn set_expire_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.expire_time = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_expire_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if self.expire_time.is_none() { - self.expire_time.set_default(); - } - self.expire_time.as_mut().unwrap() - } - - // Take field - pub fn take_expire_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - self.expire_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new()) - } - - // repeated .google.pubsub.v1.Snapshot.LabelsEntry labels = 4; - - - pub fn get_labels(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> { - &self.labels - } - pub fn clear_labels(&mut self) { - self.labels.clear(); - } - - // Param is passed by value, moved - pub fn set_labels(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) { - self.labels = v; - } - - // Mutable pointer to the field. - pub fn mut_labels(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> { - &mut self.labels - } - - // Take field - pub fn take_labels(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> { - ::std::mem::replace(&mut self.labels, ::std::collections::HashMap::new()) - } -} - -impl ::protobuf::Message for Snapshot { - fn is_initialized(&self) -> bool { - for v in &self.expire_time { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - 3 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.expire_time)?; - }, - 4 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.labels)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.topic); - } - if let Some(ref v) = self.expire_time.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(4, &self.labels); - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.topic.is_empty() { - os.write_string(2, &self.topic)?; - } - if let Some(ref v) = self.expire_time.as_ref() { - os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(4, &self.labels, os)?; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Snapshot { - Snapshot::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Snapshot| { &m.name }, - |m: &mut Snapshot| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &Snapshot| { &m.topic }, - |m: &mut Snapshot| { &mut m.topic }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>( - "expire_time", - |m: &Snapshot| { &m.expire_time }, - |m: &mut Snapshot| { &mut m.expire_time }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>( - "labels", - |m: &Snapshot| { &m.labels }, - |m: &mut Snapshot| { &mut m.labels }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Snapshot", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Snapshot { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Snapshot, - }; - unsafe { - instance.get(Snapshot::new) - } - } -} - -impl ::protobuf::Clear for Snapshot { - fn clear(&mut self) { - self.name.clear(); - self.topic.clear(); - self.expire_time.clear(); - self.labels.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Snapshot { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Snapshot { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetSnapshotRequest { - // message fields - pub snapshot: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetSnapshotRequest { - fn default() -> &'a GetSnapshotRequest { - ::default_instance() - } -} - -impl GetSnapshotRequest { - pub fn new() -> GetSnapshotRequest { - ::std::default::Default::default() - } - - // string snapshot = 1; - - - pub fn get_snapshot(&self) -> &str { - &self.snapshot - } - pub fn clear_snapshot(&mut self) { - self.snapshot.clear(); - } - - // Param is passed by value, moved - pub fn set_snapshot(&mut self, v: ::std::string::String) { - self.snapshot = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_snapshot(&mut self) -> &mut ::std::string::String { - &mut self.snapshot - } - - // Take field - pub fn take_snapshot(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.snapshot, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetSnapshotRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.snapshot)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.snapshot.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.snapshot); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.snapshot.is_empty() { - os.write_string(1, &self.snapshot)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetSnapshotRequest { - GetSnapshotRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "snapshot", - |m: &GetSnapshotRequest| { &m.snapshot }, - |m: &mut GetSnapshotRequest| { &mut m.snapshot }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetSnapshotRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetSnapshotRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetSnapshotRequest, - }; - unsafe { - instance.get(GetSnapshotRequest::new) - } - } -} - -impl ::protobuf::Clear for GetSnapshotRequest { - fn clear(&mut self) { - self.snapshot.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetSnapshotRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetSnapshotRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListSnapshotsRequest { - // message fields - pub project: ::std::string::String, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListSnapshotsRequest { - fn default() -> &'a ListSnapshotsRequest { - ::default_instance() - } -} - -impl ListSnapshotsRequest { - pub fn new() -> ListSnapshotsRequest { - ::std::default::Default::default() - } - - // string project = 1; - - - pub fn get_project(&self) -> &str { - &self.project - } - pub fn clear_project(&mut self) { - self.project.clear(); - } - - // Param is passed by value, moved - pub fn set_project(&mut self, v: ::std::string::String) { - self.project = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_project(&mut self) -> &mut ::std::string::String { - &mut self.project - } - - // Take field - pub fn take_project(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.project, ::std::string::String::new()) - } - - // int32 page_size = 2; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 3; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListSnapshotsRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.project)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.project.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.project); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.project.is_empty() { - os.write_string(1, &self.project)?; - } - if self.page_size != 0 { - os.write_int32(2, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(3, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListSnapshotsRequest { - ListSnapshotsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "project", - |m: &ListSnapshotsRequest| { &m.project }, - |m: &mut ListSnapshotsRequest| { &mut m.project }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListSnapshotsRequest| { &m.page_size }, - |m: &mut ListSnapshotsRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListSnapshotsRequest| { &m.page_token }, - |m: &mut ListSnapshotsRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListSnapshotsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListSnapshotsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListSnapshotsRequest, - }; - unsafe { - instance.get(ListSnapshotsRequest::new) - } - } -} - -impl ::protobuf::Clear for ListSnapshotsRequest { - fn clear(&mut self) { - self.project.clear(); - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListSnapshotsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListSnapshotsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListSnapshotsResponse { - // message fields - pub snapshots: ::protobuf::RepeatedField, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListSnapshotsResponse { - fn default() -> &'a ListSnapshotsResponse { - ::default_instance() - } -} - -impl ListSnapshotsResponse { - pub fn new() -> ListSnapshotsResponse { - ::std::default::Default::default() - } - - // repeated .google.pubsub.v1.Snapshot snapshots = 1; - - - pub fn get_snapshots(&self) -> &[Snapshot] { - &self.snapshots - } - pub fn clear_snapshots(&mut self) { - self.snapshots.clear(); - } - - // Param is passed by value, moved - pub fn set_snapshots(&mut self, v: ::protobuf::RepeatedField) { - self.snapshots = v; - } - - // Mutable pointer to the field. - pub fn mut_snapshots(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.snapshots - } - - // Take field - pub fn take_snapshots(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.snapshots, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListSnapshotsResponse { - fn is_initialized(&self) -> bool { - for v in &self.snapshots { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.snapshots)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.snapshots { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.snapshots { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListSnapshotsResponse { - ListSnapshotsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "snapshots", - |m: &ListSnapshotsResponse| { &m.snapshots }, - |m: &mut ListSnapshotsResponse| { &mut m.snapshots }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListSnapshotsResponse| { &m.next_page_token }, - |m: &mut ListSnapshotsResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListSnapshotsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListSnapshotsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListSnapshotsResponse, - }; - unsafe { - instance.get(ListSnapshotsResponse::new) - } - } -} - -impl ::protobuf::Clear for ListSnapshotsResponse { - fn clear(&mut self) { - self.snapshots.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListSnapshotsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListSnapshotsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteSnapshotRequest { - // message fields - pub snapshot: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteSnapshotRequest { - fn default() -> &'a DeleteSnapshotRequest { - ::default_instance() - } -} - -impl DeleteSnapshotRequest { - pub fn new() -> DeleteSnapshotRequest { - ::std::default::Default::default() - } - - // string snapshot = 1; - - - pub fn get_snapshot(&self) -> &str { - &self.snapshot - } - pub fn clear_snapshot(&mut self) { - self.snapshot.clear(); - } - - // Param is passed by value, moved - pub fn set_snapshot(&mut self, v: ::std::string::String) { - self.snapshot = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_snapshot(&mut self) -> &mut ::std::string::String { - &mut self.snapshot - } - - // Take field - pub fn take_snapshot(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.snapshot, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteSnapshotRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.snapshot)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.snapshot.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.snapshot); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.snapshot.is_empty() { - os.write_string(1, &self.snapshot)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteSnapshotRequest { - DeleteSnapshotRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "snapshot", - |m: &DeleteSnapshotRequest| { &m.snapshot }, - |m: &mut DeleteSnapshotRequest| { &mut m.snapshot }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteSnapshotRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteSnapshotRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteSnapshotRequest, - }; - unsafe { - instance.get(DeleteSnapshotRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteSnapshotRequest { - fn clear(&mut self) { - self.snapshot.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteSnapshotRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteSnapshotRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct SeekRequest { - // message fields - pub subscription: ::std::string::String, - // message oneof groups - pub target: ::std::option::Option, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a SeekRequest { - fn default() -> &'a SeekRequest { - ::default_instance() - } -} - -#[derive(Clone,PartialEq,Debug)] -pub enum SeekRequest_oneof_target { - time(::protobuf::well_known_types::Timestamp), - snapshot(::std::string::String), -} - -impl SeekRequest { - pub fn new() -> SeekRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // .google.protobuf.Timestamp time = 2; - - - pub fn get_time(&self) -> &::protobuf::well_known_types::Timestamp { - match self.target { - ::std::option::Option::Some(SeekRequest_oneof_target::time(ref v)) => v, - _ => ::protobuf::well_known_types::Timestamp::default_instance(), - } - } - pub fn clear_time(&mut self) { - self.target = ::std::option::Option::None; - } - - pub fn has_time(&self) -> bool { - match self.target { - ::std::option::Option::Some(SeekRequest_oneof_target::time(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_time(&mut self, v: ::protobuf::well_known_types::Timestamp) { - self.target = ::std::option::Option::Some(SeekRequest_oneof_target::time(v)) - } - - // Mutable pointer to the field. - pub fn mut_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp { - if let ::std::option::Option::Some(SeekRequest_oneof_target::time(_)) = self.target { - } else { - self.target = ::std::option::Option::Some(SeekRequest_oneof_target::time(::protobuf::well_known_types::Timestamp::new())); - } - match self.target { - ::std::option::Option::Some(SeekRequest_oneof_target::time(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_time(&mut self) -> ::protobuf::well_known_types::Timestamp { - if self.has_time() { - match self.target.take() { - ::std::option::Option::Some(SeekRequest_oneof_target::time(v)) => v, - _ => panic!(), - } - } else { - ::protobuf::well_known_types::Timestamp::new() - } - } - - // string snapshot = 3; - - - pub fn get_snapshot(&self) -> &str { - match self.target { - ::std::option::Option::Some(SeekRequest_oneof_target::snapshot(ref v)) => v, - _ => "", - } - } - pub fn clear_snapshot(&mut self) { - self.target = ::std::option::Option::None; - } - - pub fn has_snapshot(&self) -> bool { - match self.target { - ::std::option::Option::Some(SeekRequest_oneof_target::snapshot(..)) => true, - _ => false, - } - } - - // Param is passed by value, moved - pub fn set_snapshot(&mut self, v: ::std::string::String) { - self.target = ::std::option::Option::Some(SeekRequest_oneof_target::snapshot(v)) - } - - // Mutable pointer to the field. - pub fn mut_snapshot(&mut self) -> &mut ::std::string::String { - if let ::std::option::Option::Some(SeekRequest_oneof_target::snapshot(_)) = self.target { - } else { - self.target = ::std::option::Option::Some(SeekRequest_oneof_target::snapshot(::std::string::String::new())); - } - match self.target { - ::std::option::Option::Some(SeekRequest_oneof_target::snapshot(ref mut v)) => v, - _ => panic!(), - } - } - - // Take field - pub fn take_snapshot(&mut self) -> ::std::string::String { - if self.has_snapshot() { - match self.target.take() { - ::std::option::Option::Some(SeekRequest_oneof_target::snapshot(v)) => v, - _ => panic!(), - } - } else { - ::std::string::String::new() - } - } -} - -impl ::protobuf::Message for SeekRequest { - fn is_initialized(&self) -> bool { - if let Some(SeekRequest_oneof_target::time(ref v)) = self.target { - if !v.is_initialized() { - return false; - } - } - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.target = ::std::option::Option::Some(SeekRequest_oneof_target::time(is.read_message()?)); - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - self.target = ::std::option::Option::Some(SeekRequest_oneof_target::snapshot(is.read_string()?)); - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - if let ::std::option::Option::Some(ref v) = self.target { - match v { - &SeekRequest_oneof_target::time(ref v) => { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }, - &SeekRequest_oneof_target::snapshot(ref v) => { - my_size += ::protobuf::rt::string_size(3, &v); - }, - }; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - if let ::std::option::Option::Some(ref v) = self.target { - match v { - &SeekRequest_oneof_target::time(ref v) => { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }, - &SeekRequest_oneof_target::snapshot(ref v) => { - os.write_string(3, v)?; - }, - }; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> SeekRequest { - SeekRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &SeekRequest| { &m.subscription }, - |m: &mut SeekRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ::protobuf::well_known_types::Timestamp>( - "time", - SeekRequest::has_time, - SeekRequest::get_time, - )); - fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>( - "snapshot", - SeekRequest::has_snapshot, - SeekRequest::get_snapshot, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "SeekRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static SeekRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const SeekRequest, - }; - unsafe { - instance.get(SeekRequest::new) - } - } -} - -impl ::protobuf::Clear for SeekRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.target = ::std::option::Option::None; - self.target = ::std::option::Option::None; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for SeekRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for SeekRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct SeekResponse { - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a SeekResponse { - fn default() -> &'a SeekResponse { - ::default_instance() - } -} - -impl SeekResponse { - pub fn new() -> SeekResponse { - ::std::default::Default::default() - } -} - -impl ::protobuf::Message for SeekResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> SeekResponse { - SeekResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let fields = ::std::vec::Vec::new(); - ::protobuf::reflect::MessageDescriptor::new::( - "SeekResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static SeekResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const SeekResponse, - }; - unsafe { - instance.get(SeekResponse::new) - } - } -} - -impl ::protobuf::Clear for SeekResponse { - fn clear(&mut self) { - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for SeekResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for SeekResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n\x1dgoogle/pubsub/v1/pubsub.proto\x12\x10google.pubsub.v1\x1a\x1cgoogl\ - e/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoo\ - gle/protobuf/empty.proto\x1a\x20google/protobuf/field_mask.proto\x1a\x1f\ - google/protobuf/timestamp.proto\"V\n\x14MessageStoragePolicy\x12>\n\x1ba\ - llowed_persistence_regions\x18\x01\x20\x03(\tR\x19allowedPersistenceRegi\ - ons\"\xf1\x01\n\x05Topic\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\ - \x12;\n\x06labels\x18\x02\x20\x03(\x0b2#.google.pubsub.v1.Topic.LabelsEn\ - tryR\x06labels\x12\\\n\x16message_storage_policy\x18\x03\x20\x01(\x0b2&.\ - google.pubsub.v1.MessageStoragePolicyR\x14messageStoragePolicy\x1a9\n\ - \x0bLabelsEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12\x14\n\ - \x05value\x18\x02\x20\x01(\tR\x05value:\x028\x01\"\x91\x02\n\rPubsubMess\ - age\x12\x12\n\x04data\x18\x01\x20\x01(\x0cR\x04data\x12O\n\nattributes\ - \x18\x02\x20\x03(\x0b2/.google.pubsub.v1.PubsubMessage.AttributesEntryR\ - \nattributes\x12\x1d\n\nmessage_id\x18\x03\x20\x01(\tR\tmessageId\x12=\n\ - \x0cpublish_time\x18\x04\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\ - \x0bpublishTime\x1a=\n\x0fAttributesEntry\x12\x10\n\x03key\x18\x01\x20\ - \x01(\tR\x03key\x12\x14\n\x05value\x18\x02\x20\x01(\tR\x05value:\x028\ - \x01\"'\n\x0fGetTopicRequest\x12\x14\n\x05topic\x18\x01\x20\x01(\tR\x05t\ - opic\"\x80\x01\n\x12UpdateTopicRequest\x12-\n\x05topic\x18\x01\x20\x01(\ - \x0b2\x17.google.pubsub.v1.TopicR\x05topic\x12;\n\x0bupdate_mask\x18\x02\ - \x20\x01(\x0b2\x1a.google.protobuf.FieldMaskR\nupdateMask\"c\n\x0ePublis\ - hRequest\x12\x14\n\x05topic\x18\x01\x20\x01(\tR\x05topic\x12;\n\x08messa\ - ges\x18\x02\x20\x03(\x0b2\x1f.google.pubsub.v1.PubsubMessageR\x08message\ - s\"2\n\x0fPublishResponse\x12\x1f\n\x0bmessage_ids\x18\x01\x20\x03(\tR\n\ - messageIds\"i\n\x11ListTopicsRequest\x12\x18\n\x07project\x18\x01\x20\ - \x01(\tR\x07project\x12\x1b\n\tpage_size\x18\x02\x20\x01(\x05R\x08pageSi\ - ze\x12\x1d\n\npage_token\x18\x03\x20\x01(\tR\tpageToken\"m\n\x12ListTopi\ - csResponse\x12/\n\x06topics\x18\x01\x20\x03(\x0b2\x17.google.pubsub.v1.T\ - opicR\x06topics\x12&\n\x0fnext_page_token\x18\x02\x20\x01(\tR\rnextPageT\ - oken\"q\n\x1dListTopicSubscriptionsRequest\x12\x14\n\x05topic\x18\x01\ - \x20\x01(\tR\x05topic\x12\x1b\n\tpage_size\x18\x02\x20\x01(\x05R\x08page\ - Size\x12\x1d\n\npage_token\x18\x03\x20\x01(\tR\tpageToken\"n\n\x1eListTo\ - picSubscriptionsResponse\x12$\n\rsubscriptions\x18\x01\x20\x03(\tR\rsubs\ - criptions\x12&\n\x0fnext_page_token\x18\x02\x20\x01(\tR\rnextPageToken\"\ - m\n\x19ListTopicSnapshotsRequest\x12\x14\n\x05topic\x18\x01\x20\x01(\tR\ - \x05topic\x12\x1b\n\tpage_size\x18\x02\x20\x01(\x05R\x08pageSize\x12\x1d\ - \n\npage_token\x18\x03\x20\x01(\tR\tpageToken\"b\n\x1aListTopicSnapshots\ - Response\x12\x1c\n\tsnapshots\x18\x01\x20\x03(\tR\tsnapshots\x12&\n\x0fn\ - ext_page_token\x18\x02\x20\x01(\tR\rnextPageToken\"*\n\x12DeleteTopicReq\ - uest\x12\x14\n\x05topic\x18\x01\x20\x01(\tR\x05topic\"\x86\x04\n\x0cSubs\ - cription\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x12\x14\n\x05topi\ - c\x18\x02\x20\x01(\tR\x05topic\x12=\n\x0bpush_config\x18\x04\x20\x01(\ - \x0b2\x1c.google.pubsub.v1.PushConfigR\npushConfig\x120\n\x14ack_deadlin\ - e_seconds\x18\x05\x20\x01(\x05R\x12ackDeadlineSeconds\x122\n\x15retain_a\ - cked_messages\x18\x07\x20\x01(\x08R\x13retainAckedMessages\x12W\n\x1ames\ - sage_retention_duration\x18\x08\x20\x01(\x0b2\x19.google.protobuf.Durati\ - onR\x18messageRetentionDuration\x12B\n\x06labels\x18\t\x20\x03(\x0b2*.go\ - ogle.pubsub.v1.Subscription.LabelsEntryR\x06labels\x12O\n\x11expiration_\ - policy\x18\x0b\x20\x01(\x0b2\".google.pubsub.v1.ExpirationPolicyR\x10exp\ - irationPolicy\x1a9\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\ - \x03key\x12\x14\n\x05value\x18\x02\x20\x01(\tR\x05value:\x028\x01\"?\n\ - \x10ExpirationPolicy\x12+\n\x03ttl\x18\x01\x20\x01(\x0b2\x19.google.prot\ - obuf.DurationR\x03ttl\"\xbe\x01\n\nPushConfig\x12#\n\rpush_endpoint\x18\ - \x01\x20\x01(\tR\x0cpushEndpoint\x12L\n\nattributes\x18\x02\x20\x03(\x0b\ - 2,.google.pubsub.v1.PushConfig.AttributesEntryR\nattributes\x1a=\n\x0fAt\ - tributesEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12\x14\n\x05v\ - alue\x18\x02\x20\x01(\tR\x05value:\x028\x01\"c\n\x0fReceivedMessage\x12\ - \x15\n\x06ack_id\x18\x01\x20\x01(\tR\x05ackId\x129\n\x07message\x18\x02\ - \x20\x01(\x0b2\x1f.google.pubsub.v1.PubsubMessageR\x07message\"<\n\x16Ge\ - tSubscriptionRequest\x12\"\n\x0csubscription\x18\x01\x20\x01(\tR\x0csubs\ - cription\"\x9c\x01\n\x19UpdateSubscriptionRequest\x12B\n\x0csubscription\ - \x18\x01\x20\x01(\x0b2\x1e.google.pubsub.v1.SubscriptionR\x0csubscriptio\ - n\x12;\n\x0bupdate_mask\x18\x02\x20\x01(\x0b2\x1a.google.protobuf.FieldM\ - askR\nupdateMask\"p\n\x18ListSubscriptionsRequest\x12\x18\n\x07project\ - \x18\x01\x20\x01(\tR\x07project\x12\x1b\n\tpage_size\x18\x02\x20\x01(\ - \x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03\x20\x01(\tR\tpageToken\"\ - \x89\x01\n\x19ListSubscriptionsResponse\x12D\n\rsubscriptions\x18\x01\ - \x20\x03(\x0b2\x1e.google.pubsub.v1.SubscriptionR\rsubscriptions\x12&\n\ - \x0fnext_page_token\x18\x02\x20\x01(\tR\rnextPageToken\"?\n\x19DeleteSub\ - scriptionRequest\x12\"\n\x0csubscription\x18\x01\x20\x01(\tR\x0csubscrip\ - tion\"|\n\x17ModifyPushConfigRequest\x12\"\n\x0csubscription\x18\x01\x20\ - \x01(\tR\x0csubscription\x12=\n\x0bpush_config\x18\x02\x20\x01(\x0b2\x1c\ - .google.pubsub.v1.PushConfigR\npushConfig\"\x83\x01\n\x0bPullRequest\x12\ - \"\n\x0csubscription\x18\x01\x20\x01(\tR\x0csubscription\x12-\n\x12retur\ - n_immediately\x18\x02\x20\x01(\x08R\x11returnImmediately\x12!\n\x0cmax_m\ - essages\x18\x03\x20\x01(\x05R\x0bmaxMessages\"^\n\x0cPullResponse\x12N\n\ - \x11received_messages\x18\x01\x20\x03(\x0b2!.google.pubsub.v1.ReceivedMe\ - ssageR\x10receivedMessages\"\x89\x01\n\x18ModifyAckDeadlineRequest\x12\"\ - \n\x0csubscription\x18\x01\x20\x01(\tR\x0csubscription\x12\x17\n\x07ack_\ - ids\x18\x04\x20\x03(\tR\x06ackIds\x120\n\x14ack_deadline_seconds\x18\x03\ - \x20\x01(\x05R\x12ackDeadlineSeconds\"Q\n\x12AcknowledgeRequest\x12\"\n\ - \x0csubscription\x18\x01\x20\x01(\tR\x0csubscription\x12\x17\n\x07ack_id\ - s\x18\x02\x20\x03(\tR\x06ackIds\"\x81\x02\n\x14StreamingPullRequest\x12\ - \"\n\x0csubscription\x18\x01\x20\x01(\tR\x0csubscription\x12\x17\n\x07ac\ - k_ids\x18\x02\x20\x03(\tR\x06ackIds\x126\n\x17modify_deadline_seconds\ - \x18\x03\x20\x03(\x05R\x15modifyDeadlineSeconds\x125\n\x17modify_deadlin\ - e_ack_ids\x18\x04\x20\x03(\tR\x14modifyDeadlineAckIds\x12=\n\x1bstream_a\ - ck_deadline_seconds\x18\x05\x20\x01(\x05R\x18streamAckDeadlineSeconds\"g\ - \n\x15StreamingPullResponse\x12N\n\x11received_messages\x18\x01\x20\x03(\ - \x0b2!.google.pubsub.v1.ReceivedMessageR\x10receivedMessages\"\xd7\x01\n\ - \x15CreateSnapshotRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\ - \x12\"\n\x0csubscription\x18\x02\x20\x01(\tR\x0csubscription\x12K\n\x06l\ - abels\x18\x03\x20\x03(\x0b23.google.pubsub.v1.CreateSnapshotRequest.Labe\ - lsEntryR\x06labels\x1a9\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01\x20\ - \x01(\tR\x03key\x12\x14\n\x05value\x18\x02\x20\x01(\tR\x05value:\x028\ - \x01\"\x8c\x01\n\x15UpdateSnapshotRequest\x126\n\x08snapshot\x18\x01\x20\ - \x01(\x0b2\x1a.google.pubsub.v1.SnapshotR\x08snapshot\x12;\n\x0bupdate_m\ - ask\x18\x02\x20\x01(\x0b2\x1a.google.protobuf.FieldMaskR\nupdateMask\"\ - \xec\x01\n\x08Snapshot\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x12\ - \x14\n\x05topic\x18\x02\x20\x01(\tR\x05topic\x12;\n\x0bexpire_time\x18\ - \x03\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\nexpireTime\x12>\n\x06\ - labels\x18\x04\x20\x03(\x0b2&.google.pubsub.v1.Snapshot.LabelsEntryR\x06\ - labels\x1a9\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\ - \x12\x14\n\x05value\x18\x02\x20\x01(\tR\x05value:\x028\x01\"0\n\x12GetSn\ - apshotRequest\x12\x1a\n\x08snapshot\x18\x01\x20\x01(\tR\x08snapshot\"l\n\ - \x14ListSnapshotsRequest\x12\x18\n\x07project\x18\x01\x20\x01(\tR\x07pro\ - ject\x12\x1b\n\tpage_size\x18\x02\x20\x01(\x05R\x08pageSize\x12\x1d\n\np\ - age_token\x18\x03\x20\x01(\tR\tpageToken\"y\n\x15ListSnapshotsResponse\ - \x128\n\tsnapshots\x18\x01\x20\x03(\x0b2\x1a.google.pubsub.v1.SnapshotR\ - \tsnapshots\x12&\n\x0fnext_page_token\x18\x02\x20\x01(\tR\rnextPageToken\ - \"3\n\x15DeleteSnapshotRequest\x12\x1a\n\x08snapshot\x18\x01\x20\x01(\tR\ - \x08snapshot\"\x8b\x01\n\x0bSeekRequest\x12\"\n\x0csubscription\x18\x01\ - \x20\x01(\tR\x0csubscription\x120\n\x04time\x18\x02\x20\x01(\x0b2\x1a.go\ - ogle.protobuf.TimestampH\0R\x04time\x12\x1c\n\x08snapshot\x18\x03\x20\ - \x01(\tH\0R\x08snapshotB\x08\n\x06target\"\x0e\n\x0cSeekResponse2\xbf\ - \x08\n\tPublisher\x12j\n\x0bCreateTopic\x12\x17.google.pubsub.v1.Topic\ - \x1a\x17.google.pubsub.v1.Topic\")\x82\xd3\xe4\x93\x02#\x1a\x1e/v1/{name\ - =projects/*/topics/*}:\x01*\x12}\n\x0bUpdateTopic\x12$.google.pubsub.v1.\ - UpdateTopicRequest\x1a\x17.google.pubsub.v1.Topic\"/\x82\xd3\xe4\x93\x02\ - )2$/v1/{topic.name=projects/*/topics/*}:\x01*\x12\x82\x01\n\x07Publish\ - \x12\x20.google.pubsub.v1.PublishRequest\x1a!.google.pubsub.v1.PublishRe\ - sponse\"2\x82\xd3\xe4\x93\x02,\"'/v1/{topic=projects/*/topics/*}:publish\ - :\x01*\x12o\n\x08GetTopic\x12!.google.pubsub.v1.GetTopicRequest\x1a\x17.\ - google.pubsub.v1.Topic\"'\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{topic=project\ - s/*/topics/*}\x12\x80\x01\n\nListTopics\x12#.google.pubsub.v1.ListTopics\ - Request\x1a$.google.pubsub.v1.ListTopicsResponse\"'\x82\xd3\xe4\x93\x02!\ - \x12\x1f/v1/{project=projects/*}/topics\x12\xb2\x01\n\x16ListTopicSubscr\ - iptions\x12/.google.pubsub.v1.ListTopicSubscriptionsRequest\x1a0.google.\ - pubsub.v1.ListTopicSubscriptionsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/v1\ - /{topic=projects/*/topics/*}/subscriptions\x12\xa2\x01\n\x12ListTopicSna\ - pshots\x12+.google.pubsub.v1.ListTopicSnapshotsRequest\x1a,.google.pubsu\ - b.v1.ListTopicSnapshotsResponse\"1\x82\xd3\xe4\x93\x02+\x12)/v1/{topic=p\ - rojects/*/topics/*}/snapshots\x12t\n\x0bDeleteTopic\x12$.google.pubsub.v\ - 1.DeleteTopicRequest\x1a\x16.google.protobuf.Empty\"'\x82\xd3\xe4\x93\ - \x02!*\x1f/v1/{topic=projects/*/topics/*}2\xf9\x11\n\nSubscriber\x12\x86\ - \x01\n\x12CreateSubscription\x12\x1e.google.pubsub.v1.Subscription\x1a\ - \x1e.google.pubsub.v1.Subscription\"0\x82\xd3\xe4\x93\x02*\x1a%/v1/{name\ - =projects/*/subscriptions/*}:\x01*\x12\x92\x01\n\x0fGetSubscription\x12(\ - .google.pubsub.v1.GetSubscriptionRequest\x1a\x1e.google.pubsub.v1.Subscr\ - iption\"5\x82\xd3\xe4\x93\x02/\x12-/v1/{subscription=projects/*/subscrip\ - tions/*}\x12\xa0\x01\n\x12UpdateSubscription\x12+.google.pubsub.v1.Updat\ - eSubscriptionRequest\x1a\x1e.google.pubsub.v1.Subscription\"=\x82\xd3\ - \xe4\x93\x02722/v1/{subscription.name=projects/*/subscriptions/*}:\x01*\ - \x12\x9c\x01\n\x11ListSubscriptions\x12*.google.pubsub.v1.ListSubscripti\ - onsRequest\x1a+.google.pubsub.v1.ListSubscriptionsResponse\".\x82\xd3\ - \xe4\x93\x02(\x12&/v1/{project=projects/*}/subscriptions\x12\x90\x01\n\ - \x12DeleteSubscription\x12+.google.pubsub.v1.DeleteSubscriptionRequest\ - \x1a\x16.google.protobuf.Empty\"5\x82\xd3\xe4\x93\x02/*-/v1/{subscriptio\ - n=projects/*/subscriptions/*}\x12\xa3\x01\n\x11ModifyAckDeadline\x12*.go\ - ogle.pubsub.v1.ModifyAckDeadlineRequest\x1a\x16.google.protobuf.Empty\"J\ - \x82\xd3\xe4\x93\x02D\"?/v1/{subscription=projects/*/subscriptions/*}:mo\ - difyAckDeadline:\x01*\x12\x91\x01\n\x0bAcknowledge\x12$.google.pubsub.v1\ - .AcknowledgeRequest\x1a\x16.google.protobuf.Empty\"D\x82\xd3\xe4\x93\x02\ - >\"9/v1/{subscription=projects/*/subscriptions/*}:acknowledge:\x01*\x12\ - \x84\x01\n\x04Pull\x12\x1d.google.pubsub.v1.PullRequest\x1a\x1e.google.p\ - ubsub.v1.PullResponse\"=\x82\xd3\xe4\x93\x027\"2/v1/{subscription=projec\ - ts/*/subscriptions/*}:pull:\x01*\x12f\n\rStreamingPull\x12&.google.pubsu\ - b.v1.StreamingPullRequest\x1a'.google.pubsub.v1.StreamingPullResponse\"\ - \0(\x010\x01\x12\xa0\x01\n\x10ModifyPushConfig\x12).google.pubsub.v1.Mod\ - ifyPushConfigRequest\x1a\x16.google.protobuf.Empty\"I\x82\xd3\xe4\x93\ - \x02C\">/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig:\ - \x01*\x12~\n\x0bGetSnapshot\x12$.google.pubsub.v1.GetSnapshotRequest\x1a\ - \x1a.google.pubsub.v1.Snapshot\"-\x82\xd3\xe4\x93\x02'\x12%/v1/{snapshot\ - =projects/*/snapshots/*}\x12\x8c\x01\n\rListSnapshots\x12&.google.pubsub\ - .v1.ListSnapshotsRequest\x1a'.google.pubsub.v1.ListSnapshotsResponse\"*\ - \x82\xd3\xe4\x93\x02$\x12\"/v1/{project=projects/*}/snapshots\x12\x83\ - \x01\n\x0eCreateSnapshot\x12'.google.pubsub.v1.CreateSnapshotRequest\x1a\ - \x1a.google.pubsub.v1.Snapshot\",\x82\xd3\xe4\x93\x02&\x1a!/v1/{name=pro\ - jects/*/snapshots/*}:\x01*\x12\x8c\x01\n\x0eUpdateSnapshot\x12'.google.p\ - ubsub.v1.UpdateSnapshotRequest\x1a\x1a.google.pubsub.v1.Snapshot\"5\x82\ - \xd3\xe4\x93\x02/2*/v1/{snapshot.name=projects/*/snapshots/*}:\x01*\x12\ - \x80\x01\n\x0eDeleteSnapshot\x12'.google.pubsub.v1.DeleteSnapshotRequest\ - \x1a\x16.google.protobuf.Empty\"-\x82\xd3\xe4\x93\x02'*%/v1/{snapshot=pr\ - ojects/*/snapshots/*}\x12\x84\x01\n\x04Seek\x12\x1d.google.pubsub.v1.See\ - kRequest\x1a\x1e.google.pubsub.v1.SeekResponse\"=\x82\xd3\xe4\x93\x027\"\ - 2/v1/{subscription=projects/*/subscriptions/*}:seek:\x01*B\x92\x01\n\x14\ - com.google.pubsub.v1B\x0bPubsubProtoP\x01Z6google.golang.org/genproto/go\ - ogleapis/pubsub/v1;pubsub\xf8\x01\x01\xaa\x02\x16Google.Cloud.PubSub.V1\ - \xca\x02\x16Google\\Cloud\\PubSub\\V1J\x9a\xba\x02\n\x07\x12\x05\x0f\0\ - \xab\x07\x01\n\xbe\x04\n\x01\x0c\x12\x03\x0f\0\x122\xb3\x04\x20Copyright\ - \x202018\x20Google\x20LLC.\n\n\x20Licensed\x20under\x20the\x20Apache\x20\ - License,\x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20n\ - ot\x20use\x20this\x20file\x20except\x20in\x20compliance\x20with\x20the\ - \x20License.\n\x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20Lice\ - nse\x20at\n\n\x20\x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-\ - 2.0\n\n\x20Unless\x20required\x20by\x20applicable\x20law\x20or\x20agreed\ - \x20to\x20in\x20writing,\x20software\n\x20distributed\x20under\x20the\ - \x20License\x20is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\ - \x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20e\ - ither\x20express\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20\ - the\x20specific\x20language\x20governing\x20permissions\x20and\n\x20limi\ - tations\x20under\x20the\x20License.\n\n\n\x08\n\x01\x02\x12\x03\x11\0\ - \x19\n\t\n\x02\x03\0\x12\x03\x13\0&\n\t\n\x02\x03\x01\x12\x03\x14\0(\n\t\ - \n\x02\x03\x02\x12\x03\x15\0%\n\t\n\x02\x03\x03\x12\x03\x16\0*\n\t\n\x02\ - \x03\x04\x12\x03\x17\0)\n\x08\n\x01\x08\x12\x03\x19\0\x1f\n\t\n\x02\x08\ - \x1f\x12\x03\x19\0\x1f\n\x08\n\x01\x08\x12\x03\x1a\03\n\t\n\x02\x08%\x12\ - \x03\x1a\03\n\x08\n\x01\x08\x12\x03\x1b\0M\n\t\n\x02\x08\x0b\x12\x03\x1b\ - \0M\n\x08\n\x01\x08\x12\x03\x1c\0\"\n\t\n\x02\x08\n\x12\x03\x1c\0\"\n\ - \x08\n\x01\x08\x12\x03\x1d\0,\n\t\n\x02\x08\x08\x12\x03\x1d\0,\n\x08\n\ - \x01\x08\x12\x03\x1e\0-\n\t\n\x02\x08\x01\x12\x03\x1e\0-\n\x08\n\x01\x08\ - \x12\x03\x1f\03\n\t\n\x02\x08)\x12\x03\x1f\03\nj\n\x02\x06\0\x12\x04$\0i\ - \x01\x1a^\x20The\x20service\x20that\x20an\x20application\x20uses\x20to\ - \x20manipulate\x20topics,\x20and\x20to\x20send\n\x20messages\x20to\x20a\ - \x20topic.\n\n\n\n\x03\x06\0\x01\x12\x03$\x08\x11\n\x8b\x01\n\x04\x06\0\ - \x02\0\x12\x04'\x02,\x03\x1a}\x20Creates\x20the\x20given\x20topic\x20wit\ - h\x20the\x20given\x20name.\x20See\x20the\n\x20\x20resource\x20name\x20rules.\n\n\x0c\n\x05\ - \x06\0\x02\0\x01\x12\x03'\x06\x11\n\x0c\n\x05\x06\0\x02\0\x02\x12\x03'\ - \x12\x17\n\x0c\n\x05\x06\0\x02\0\x03\x12\x03'\"'\n\r\n\x05\x06\0\x02\0\ - \x04\x12\x04(\x04+\x06\n\x11\n\t\x06\0\x02\0\x04\xb0\xca\xbc\"\x12\x04(\ - \x04+\x06\ng\n\x04\x06\0\x02\x01\x12\x040\x025\x03\x1aY\x20Updates\x20an\ - \x20existing\x20topic.\x20Note\x20that\x20certain\x20properties\x20of\ - \x20a\n\x20topic\x20are\x20not\x20modifiable.\n\n\x0c\n\x05\x06\0\x02\ - \x01\x01\x12\x030\x06\x11\n\x0c\n\x05\x06\0\x02\x01\x02\x12\x030\x12$\n\ - \x0c\n\x05\x06\0\x02\x01\x03\x12\x030/4\n\r\n\x05\x06\0\x02\x01\x04\x12\ - \x041\x044\x06\n\x11\n\t\x06\0\x02\x01\x04\xb0\xca\xbc\"\x12\x041\x044\ - \x06\ni\n\x04\x06\0\x02\x02\x12\x049\x02>\x03\x1a[\x20Adds\x20one\x20or\ - \x20more\x20messages\x20to\x20the\x20topic.\x20Returns\x20`NOT_FOUND`\ - \x20if\x20the\x20topic\n\x20does\x20not\x20exist.\n\n\x0c\n\x05\x06\0\ - \x02\x02\x01\x12\x039\x06\r\n\x0c\n\x05\x06\0\x02\x02\x02\x12\x039\x0e\ - \x1c\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x039'6\n\r\n\x05\x06\0\x02\x02\ - \x04\x12\x04:\x04=\x06\n\x11\n\t\x06\0\x02\x02\x04\xb0\xca\xbc\"\x12\x04\ - :\x04=\x06\n2\n\x04\x06\0\x02\x03\x12\x04A\x02E\x03\x1a$\x20Gets\x20the\ - \x20configuration\x20of\x20a\x20topic.\n\n\x0c\n\x05\x06\0\x02\x03\x01\ - \x12\x03A\x06\x0e\n\x0c\n\x05\x06\0\x02\x03\x02\x12\x03A\x0f\x1e\n\x0c\n\ - \x05\x06\0\x02\x03\x03\x12\x03A).\n\r\n\x05\x06\0\x02\x03\x04\x12\x04B\ - \x04D\x06\n\x11\n\t\x06\0\x02\x03\x04\xb0\xca\xbc\"\x12\x04B\x04D\x06\n&\ - \n\x04\x06\0\x02\x04\x12\x04H\x02L\x03\x1a\x18\x20Lists\x20matching\x20t\ - opics.\n\n\x0c\n\x05\x06\0\x02\x04\x01\x12\x03H\x06\x10\n\x0c\n\x05\x06\ - \0\x02\x04\x02\x12\x03H\x11\"\n\x0c\n\x05\x06\0\x02\x04\x03\x12\x03H-?\n\ - \r\n\x05\x06\0\x02\x04\x04\x12\x04I\x04K\x06\n\x11\n\t\x06\0\x02\x04\x04\ - \xb0\xca\xbc\"\x12\x04I\x04K\x06\nC\n\x04\x06\0\x02\x05\x12\x04O\x02S\ - \x03\x1a5\x20Lists\x20the\x20names\x20of\x20the\x20subscriptions\x20on\ - \x20this\x20topic.\n\n\x0c\n\x05\x06\0\x02\x05\x01\x12\x03O\x06\x1c\n\ - \x0c\n\x05\x06\0\x02\x05\x02\x12\x03O\x1d:\n\x0c\n\x05\x06\0\x02\x05\x03\ - \x12\x03OEc\n\r\n\x05\x06\0\x02\x05\x04\x12\x04P\x04R\x06\n\x11\n\t\x06\ - \0\x02\x05\x04\xb0\xca\xbc\"\x12\x04P\x04R\x06\n\x9a\x02\n\x04\x06\0\x02\ - \x06\x12\x04Y\x02]\x03\x1a\x8b\x02\x20Lists\x20the\x20names\x20of\x20the\ - \x20snapshots\x20on\x20this\x20topic.

\n\x20ALPHA:\x20This\ - \x20feature\x20is\x20part\x20of\x20an\x20alpha\x20release.\x20This\x20AP\ - I\x20might\x20be\n\x20changed\x20in\x20backward-incompatible\x20ways\x20\ - and\x20is\x20not\x20recommended\x20for\x20production\n\x20use.\x20It\x20\ - is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.\ - \n\n\x0c\n\x05\x06\0\x02\x06\x01\x12\x03Y\x06\x18\n\x0c\n\x05\x06\0\x02\ - \x06\x02\x12\x03Y\x192\n\x0c\n\x05\x06\0\x02\x06\x03\x12\x03Y=W\n\r\n\ - \x05\x06\0\x02\x06\x04\x12\x04Z\x04\\\x06\n\x11\n\t\x06\0\x02\x06\x04\ - \xb0\xca\xbc\"\x12\x04Z\x04\\\x06\n\xf3\x02\n\x04\x06\0\x02\x07\x12\x04d\ - \x02h\x03\x1a\xe4\x02\x20Deletes\x20the\x20topic\x20with\x20the\x20given\ - \x20name.\x20Returns\x20`NOT_FOUND`\x20if\x20the\x20topic\n\x20does\x20n\ - ot\x20exist.\x20After\x20a\x20topic\x20is\x20deleted,\x20a\x20new\x20top\ - ic\x20may\x20be\x20created\x20with\n\x20the\x20same\x20name;\x20this\x20\ - is\x20an\x20entirely\x20new\x20topic\x20with\x20none\x20of\x20the\x20old\ - \n\x20configuration\x20or\x20subscriptions.\x20Existing\x20subscriptions\ - \x20to\x20this\x20topic\x20are\n\x20not\x20deleted,\x20but\x20their\x20`\ - topic`\x20field\x20is\x20set\x20to\x20`_deleted-topic_`.\n\n\x0c\n\x05\ - \x06\0\x02\x07\x01\x12\x03d\x06\x11\n\x0c\n\x05\x06\0\x02\x07\x02\x12\ - \x03d\x12$\n\x0c\n\x05\x06\0\x02\x07\x03\x12\x03d/D\n\r\n\x05\x06\0\x02\ - \x07\x04\x12\x04e\x04g\x06\n\x11\n\t\x06\0\x02\x07\x04\xb0\xca\xbc\"\x12\ - \x04e\x04g\x06\n\xe1\x01\n\x02\x06\x01\x12\x05n\0\xad\x02\x01\x1a\xd3\ - \x01\x20The\x20service\x20that\x20an\x20application\x20uses\x20to\x20man\ - ipulate\x20subscriptions\x20and\x20to\n\x20consume\x20messages\x20from\ - \x20a\x20subscription\x20via\x20the\x20`Pull`\x20method\x20or\x20by\n\ - \x20establishing\x20a\x20bi-directional\x20stream\x20using\x20the\x20`St\ - reamingPull`\x20method.\n\n\n\n\x03\x06\x01\x01\x12\x03n\x08\x12\n\x84\ - \x05\n\x04\x06\x01\x02\0\x12\x04z\x02\x7f\x03\x1a\xf5\x04\x20Creates\x20\ - a\x20subscription\x20to\x20a\x20given\x20topic.\x20See\x20the\n\x20\x20resource\x20name\x20r\ - ules.\n\x20If\x20the\x20subscription\x20already\x20exists,\x20return\ - s\x20`ALREADY_EXISTS`.\n\x20If\x20the\x20corresponding\x20topic\x20doesn\ - 't\x20exist,\x20returns\x20`NOT_FOUND`.\n\n\x20If\x20the\x20name\x20is\ - \x20not\x20provided\x20in\x20the\x20request,\x20the\x20server\x20will\ - \x20assign\x20a\x20random\n\x20name\x20for\x20this\x20subscription\x20on\ - \x20the\x20same\x20project\x20as\x20the\x20topic,\x20conforming\n\x20to\ - \x20the\n\x20[resource\x20name\x20format](https://cloud.google.com/pubsu\ - b/docs/overview#names).\n\x20The\x20generated\x20name\x20is\x20populated\ - \x20in\x20the\x20returned\x20Subscription\x20object.\n\x20Note\x20that\ - \x20for\x20REST\x20API\x20requests,\x20you\x20must\x20specify\x20a\x20na\ - me\x20in\x20the\x20request.\n\n\x0c\n\x05\x06\x01\x02\0\x01\x12\x03z\x06\ - \x18\n\x0c\n\x05\x06\x01\x02\0\x02\x12\x03z\x19%\n\x0c\n\x05\x06\x01\x02\ - \0\x03\x12\x03z0<\n\r\n\x05\x06\x01\x02\0\x04\x12\x04{\x04~\x06\n\x11\n\ - \t\x06\x01\x02\0\x04\xb0\xca\xbc\"\x12\x04{\x04~\x06\nC\n\x04\x06\x01\ - \x02\x01\x12\x06\x82\x01\x02\x86\x01\x03\x1a3\x20Gets\x20the\x20configur\ - ation\x20details\x20of\x20a\x20subscription.\n\n\r\n\x05\x06\x01\x02\x01\ - \x01\x12\x04\x82\x01\x06\x15\n\r\n\x05\x06\x01\x02\x01\x02\x12\x04\x82\ - \x01\x16,\n\r\n\x05\x06\x01\x02\x01\x03\x12\x04\x82\x017C\n\x0f\n\x05\ - \x06\x01\x02\x01\x04\x12\x06\x83\x01\x04\x85\x01\x06\n\x13\n\t\x06\x01\ - \x02\x01\x04\xb0\xca\xbc\"\x12\x06\x83\x01\x04\x85\x01\x06\n\x8b\x01\n\ - \x04\x06\x01\x02\x02\x12\x06\x8a\x01\x02\x8f\x01\x03\x1a{\x20Updates\x20\ - an\x20existing\x20subscription.\x20Note\x20that\x20certain\x20properties\ - \x20of\x20a\n\x20subscription,\x20such\x20as\x20its\x20topic,\x20are\x20\ - not\x20modifiable.\n\n\r\n\x05\x06\x01\x02\x02\x01\x12\x04\x8a\x01\x06\ - \x18\n\r\n\x05\x06\x01\x02\x02\x02\x12\x04\x8a\x01\x192\n\r\n\x05\x06\ - \x01\x02\x02\x03\x12\x04\x8a\x01=I\n\x0f\n\x05\x06\x01\x02\x02\x04\x12\ - \x06\x8b\x01\x04\x8e\x01\x06\n\x13\n\t\x06\x01\x02\x02\x04\xb0\xca\xbc\"\ - \x12\x06\x8b\x01\x04\x8e\x01\x06\n/\n\x04\x06\x01\x02\x03\x12\x06\x92\ - \x01\x02\x96\x01\x03\x1a\x1f\x20Lists\x20matching\x20subscriptions.\n\n\ - \r\n\x05\x06\x01\x02\x03\x01\x12\x04\x92\x01\x06\x17\n\r\n\x05\x06\x01\ - \x02\x03\x02\x12\x04\x92\x01\x180\n\r\n\x05\x06\x01\x02\x03\x03\x12\x04\ - \x92\x01;T\n\x0f\n\x05\x06\x01\x02\x03\x04\x12\x06\x93\x01\x04\x95\x01\ - \x06\n\x13\n\t\x06\x01\x02\x03\x04\xb0\xca\xbc\"\x12\x06\x93\x01\x04\x95\ - \x01\x06\n\xef\x02\n\x04\x06\x01\x02\x04\x12\x06\x9d\x01\x02\xa1\x01\x03\ - \x1a\xde\x02\x20Deletes\x20an\x20existing\x20subscription.\x20All\x20mes\ - sages\x20retained\x20in\x20the\x20subscription\n\x20are\x20immediately\ - \x20dropped.\x20Calls\x20to\x20`Pull`\x20after\x20deletion\x20will\x20re\ - turn\n\x20`NOT_FOUND`.\x20After\x20a\x20subscription\x20is\x20deleted,\ - \x20a\x20new\x20one\x20may\x20be\x20created\x20with\n\x20the\x20same\x20\ - name,\x20but\x20the\x20new\x20one\x20has\x20no\x20association\x20with\ - \x20the\x20old\n\x20subscription\x20or\x20its\x20topic\x20unless\x20the\ - \x20same\x20topic\x20is\x20specified.\n\n\r\n\x05\x06\x01\x02\x04\x01\ - \x12\x04\x9d\x01\x06\x18\n\r\n\x05\x06\x01\x02\x04\x02\x12\x04\x9d\x01\ - \x192\n\r\n\x05\x06\x01\x02\x04\x03\x12\x04\x9d\x01=R\n\x0f\n\x05\x06\ - \x01\x02\x04\x04\x12\x06\x9e\x01\x04\xa0\x01\x06\n\x13\n\t\x06\x01\x02\ - \x04\x04\xb0\xca\xbc\"\x12\x06\x9e\x01\x04\xa0\x01\x06\n\xe7\x02\n\x04\ - \x06\x01\x02\x05\x12\x06\xa8\x01\x02\xad\x01\x03\x1a\xd6\x02\x20Modifies\ - \x20the\x20ack\x20deadline\x20for\x20a\x20specific\x20message.\x20This\ - \x20method\x20is\x20useful\n\x20to\x20indicate\x20that\x20more\x20time\ - \x20is\x20needed\x20to\x20process\x20a\x20message\x20by\x20the\n\x20subs\ - criber,\x20or\x20to\x20make\x20the\x20message\x20available\x20for\x20red\ - elivery\x20if\x20the\n\x20processing\x20was\x20interrupted.\x20Note\x20t\ - hat\x20this\x20does\x20not\x20modify\x20the\n\x20subscription-level\x20`\ - ackDeadlineSeconds`\x20used\x20for\x20subsequent\x20messages.\n\n\r\n\ - \x05\x06\x01\x02\x05\x01\x12\x04\xa8\x01\x06\x17\n\r\n\x05\x06\x01\x02\ - \x05\x02\x12\x04\xa8\x01\x180\n\r\n\x05\x06\x01\x02\x05\x03\x12\x04\xa8\ - \x01;P\n\x0f\n\x05\x06\x01\x02\x05\x04\x12\x06\xa9\x01\x04\xac\x01\x06\n\ - \x13\n\t\x06\x01\x02\x05\x04\xb0\xca\xbc\"\x12\x06\xa9\x01\x04\xac\x01\ - \x06\n\xed\x02\n\x04\x06\x01\x02\x06\x12\x06\xb6\x01\x02\xbb\x01\x03\x1a\ - \xdc\x02\x20Acknowledges\x20the\x20messages\x20associated\x20with\x20the\ - \x20`ack_ids`\x20in\x20the\n\x20`AcknowledgeRequest`.\x20The\x20Pub/Sub\ - \x20system\x20can\x20remove\x20the\x20relevant\x20messages\n\x20from\x20\ - the\x20subscription.\n\n\x20Acknowledging\x20a\x20message\x20whose\x20ac\ - k\x20deadline\x20has\x20expired\x20may\x20succeed,\n\x20but\x20such\x20a\ - \x20message\x20may\x20be\x20redelivered\x20later.\x20Acknowledging\x20a\ - \x20message\x20more\n\x20than\x20once\x20will\x20not\x20result\x20in\x20\ - an\x20error.\n\n\r\n\x05\x06\x01\x02\x06\x01\x12\x04\xb6\x01\x06\x11\n\r\ - \n\x05\x06\x01\x02\x06\x02\x12\x04\xb6\x01\x12$\n\r\n\x05\x06\x01\x02\ - \x06\x03\x12\x04\xb6\x01/D\n\x0f\n\x05\x06\x01\x02\x06\x04\x12\x06\xb7\ - \x01\x04\xba\x01\x06\n\x13\n\t\x06\x01\x02\x06\x04\xb0\xca\xbc\"\x12\x06\ - \xb7\x01\x04\xba\x01\x06\n\xab\x01\n\x04\x06\x01\x02\x07\x12\x06\xc0\x01\ - \x02\xc5\x01\x03\x1a\x9a\x01\x20Pulls\x20messages\x20from\x20the\x20serv\ - er.\x20The\x20server\x20may\x20return\x20`UNAVAILABLE`\x20if\n\x20there\ - \x20are\x20too\x20many\x20concurrent\x20pull\x20requests\x20pending\x20f\ - or\x20the\x20given\n\x20subscription.\n\n\r\n\x05\x06\x01\x02\x07\x01\ - \x12\x04\xc0\x01\x06\n\n\r\n\x05\x06\x01\x02\x07\x02\x12\x04\xc0\x01\x0b\ - \x16\n\r\n\x05\x06\x01\x02\x07\x03\x12\x04\xc0\x01!-\n\x0f\n\x05\x06\x01\ - \x02\x07\x04\x12\x06\xc1\x01\x04\xc4\x01\x06\n\x13\n\t\x06\x01\x02\x07\ - \x04\xb0\xca\xbc\"\x12\x06\xc1\x01\x04\xc4\x01\x06\n\xe2\x03\n\x04\x06\ - \x01\x02\x08\x12\x06\xce\x01\x02\xcf\x01\x03\x1a\xd1\x03\x20Establishes\ - \x20a\x20stream\x20with\x20the\x20server,\x20which\x20sends\x20messages\ - \x20down\x20to\x20the\n\x20client.\x20The\x20client\x20streams\x20acknow\ - ledgements\x20and\x20ack\x20deadline\x20modifications\n\x20back\x20to\ - \x20the\x20server.\x20The\x20server\x20will\x20close\x20the\x20stream\ - \x20and\x20return\x20the\x20status\n\x20on\x20any\x20error.\x20The\x20se\ - rver\x20may\x20close\x20the\x20stream\x20with\x20status\x20`UNAVAILABLE`\ - \x20to\n\x20reassign\x20server-side\x20resources,\x20in\x20which\x20case\ - ,\x20the\x20client\x20should\n\x20re-establish\x20the\x20stream.\x20Flow\ - \x20control\x20can\x20be\x20achieved\x20by\x20configuring\x20the\n\x20un\ - derlying\x20RPC\x20channel.\n\n\r\n\x05\x06\x01\x02\x08\x01\x12\x04\xce\ - \x01\x06\x13\n\r\n\x05\x06\x01\x02\x08\x05\x12\x04\xce\x01\x14\x1a\n\r\n\ - \x05\x06\x01\x02\x08\x02\x12\x04\xce\x01\x1b/\n\r\n\x05\x06\x01\x02\x08\ - \x06\x12\x04\xce\x01:@\n\r\n\x05\x06\x01\x02\x08\x03\x12\x04\xce\x01AV\n\ - \xf7\x02\n\x04\x06\x01\x02\t\x12\x06\xd7\x01\x02\xdc\x01\x03\x1a\xe6\x02\ - \x20Modifies\x20the\x20`PushConfig`\x20for\x20a\x20specified\x20subscrip\ - tion.\n\n\x20This\x20may\x20be\x20used\x20to\x20change\x20a\x20push\x20s\ - ubscription\x20to\x20a\x20pull\x20one\x20(signified\x20by\n\x20an\x20emp\ - ty\x20`PushConfig`)\x20or\x20vice\x20versa,\x20or\x20change\x20the\x20en\ - dpoint\x20URL\x20and\x20other\n\x20attributes\x20of\x20a\x20push\x20subs\ - cription.\x20Messages\x20will\x20accumulate\x20for\x20delivery\n\x20cont\ - inuously\x20through\x20the\x20call\x20regardless\x20of\x20changes\x20to\ - \x20the\x20`PushConfig`.\n\n\r\n\x05\x06\x01\x02\t\x01\x12\x04\xd7\x01\ - \x06\x16\n\r\n\x05\x06\x01\x02\t\x02\x12\x04\xd7\x01\x17.\n\r\n\x05\x06\ - \x01\x02\t\x03\x12\x04\xd7\x019N\n\x0f\n\x05\x06\x01\x02\t\x04\x12\x06\ - \xd8\x01\x04\xdb\x01\x06\n\x13\n\t\x06\x01\x02\t\x04\xb0\xca\xbc\"\x12\ - \x06\xd8\x01\x04\xdb\x01\x06\n\x9a\x02\n\x04\x06\x01\x02\n\x12\x06\xe2\ - \x01\x02\xe6\x01\x03\x1a\x89\x02\x20Gets\x20the\x20configuration\x20deta\ - ils\x20of\x20a\x20snapshot.

\n\x20ALPHA:\x20This\x20featur\ - e\x20is\x20part\x20of\x20an\x20alpha\x20release.\x20This\x20API\x20might\ - \x20be\n\x20changed\x20in\x20backward-incompatible\x20ways\x20and\x20is\ - \x20not\x20recommended\x20for\x20production\n\x20use.\x20It\x20is\x20not\ - \x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.\n\n\r\n\ - \x05\x06\x01\x02\n\x01\x12\x04\xe2\x01\x06\x11\n\r\n\x05\x06\x01\x02\n\ - \x02\x12\x04\xe2\x01\x12$\n\r\n\x05\x06\x01\x02\n\x03\x12\x04\xe2\x01/7\ - \n\x0f\n\x05\x06\x01\x02\n\x04\x12\x06\xe3\x01\x04\xe5\x01\x06\n\x13\n\t\ - \x06\x01\x02\n\x04\xb0\xca\xbc\"\x12\x06\xe3\x01\x04\xe5\x01\x06\n\x8a\ - \x02\n\x04\x06\x01\x02\x0b\x12\x06\xec\x01\x02\xf0\x01\x03\x1a\xf9\x01\ - \x20Lists\x20the\x20existing\x20snapshots.

\n\x20ALPHA:\ - \x20This\x20feature\x20is\x20part\x20of\x20an\x20alpha\x20release.\x20Th\ - is\x20API\x20might\x20be\n\x20changed\x20in\x20backward-incompatible\x20\ - ways\x20and\x20is\x20not\x20recommended\x20for\x20production\n\x20use.\ - \x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\ - \x20policy.\n\n\r\n\x05\x06\x01\x02\x0b\x01\x12\x04\xec\x01\x06\x13\n\r\ - \n\x05\x06\x01\x02\x0b\x02\x12\x04\xec\x01\x14(\n\r\n\x05\x06\x01\x02\ - \x0b\x03\x12\x04\xec\x013H\n\x0f\n\x05\x06\x01\x02\x0b\x04\x12\x06\xed\ - \x01\x04\xef\x01\x06\n\x13\n\t\x06\x01\x02\x0b\x04\xb0\xca\xbc\"\x12\x06\ - \xed\x01\x04\xef\x01\x06\n\xe7\x07\n\x04\x06\x01\x02\x0c\x12\x06\x81\x02\ - \x02\x86\x02\x03\x1a\xd6\x07\x20Creates\x20a\x20snapshot\x20from\x20the\ - \x20requested\x20subscription.

\n\x20ALPHA:\x20This\x20fea\ - ture\x20is\x20part\x20of\x20an\x20alpha\x20release.\x20This\x20API\x20mi\ - ght\x20be\n\x20changed\x20in\x20backward-incompatible\x20ways\x20and\x20\ - is\x20not\x20recommended\x20for\x20production\n\x20use.\x20It\x20is\x20n\ - ot\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.
\n\x20If\x20the\x20snapshot\x20already\x20exists,\x20returns\x20`ALREAD\ - Y_EXISTS`.\n\x20If\x20the\x20requested\x20subscription\x20doesn't\x20exi\ - st,\x20returns\x20`NOT_FOUND`.\n\x20If\x20the\x20backlog\x20in\x20the\ - \x20subscription\x20is\x20too\x20old\x20--\x20and\x20the\x20resulting\ - \x20snapshot\n\x20would\x20expire\x20in\x20less\x20than\x201\x20hour\x20\ - --\x20then\x20`FAILED_PRECONDITION`\x20is\x20returned.\n\x20See\x20also\ - \x20the\x20`Snapshot.expire_time`\x20field.\x20If\x20the\x20name\x20is\ - \x20not\x20provided\x20in\n\x20the\x20request,\x20the\x20server\x20will\ - \x20assign\x20a\x20random\n\x20name\x20for\x20this\x20snapshot\x20on\x20\ - the\x20same\x20project\x20as\x20the\x20subscription,\x20conforming\n\x20\ - to\x20the\x20[resource\x20name\x20format](https://cloud.google.com/pubsu\ - b/docs/overview#names).\n\x20The\x20generated\n\x20name\x20is\x20populat\ - ed\x20in\x20the\x20returned\x20Snapshot\x20object.\x20Note\x20that\x20fo\ - r\x20REST\x20API\n\x20requests,\x20you\x20must\x20specify\x20a\x20name\ - \x20in\x20the\x20request.\n\n\r\n\x05\x06\x01\x02\x0c\x01\x12\x04\x81\ - \x02\x06\x14\n\r\n\x05\x06\x01\x02\x0c\x02\x12\x04\x81\x02\x15*\n\r\n\ - \x05\x06\x01\x02\x0c\x03\x12\x04\x81\x025=\n\x0f\n\x05\x06\x01\x02\x0c\ - \x04\x12\x06\x82\x02\x04\x85\x02\x06\n\x13\n\t\x06\x01\x02\x0c\x04\xb0\ - \xca\xbc\"\x12\x06\x82\x02\x04\x85\x02\x06\n\xca\x02\n\x04\x06\x01\x02\r\ - \x12\x06\x8d\x02\x02\x92\x02\x03\x1a\xb9\x02\x20Updates\x20an\x20existin\ - g\x20snapshot.

\n\x20ALPHA:\x20This\x20feature\x20is\x20pa\ - rt\x20of\x20an\x20alpha\x20release.\x20This\x20API\x20might\x20be\n\x20c\ - hanged\x20in\x20backward-incompatible\x20ways\x20and\x20is\x20not\x20rec\ - ommended\x20for\x20production\n\x20use.\x20It\x20is\x20not\x20subject\ - \x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.\n\x20Note\x20that\ - \x20certain\x20properties\x20of\x20a\x20snapshot\x20are\x20not\x20modifi\ - able.\n\n\r\n\x05\x06\x01\x02\r\x01\x12\x04\x8d\x02\x06\x14\n\r\n\x05\ - \x06\x01\x02\r\x02\x12\x04\x8d\x02\x15*\n\r\n\x05\x06\x01\x02\r\x03\x12\ - \x04\x8d\x025=\n\x0f\n\x05\x06\x01\x02\r\x04\x12\x06\x8e\x02\x04\x91\x02\ - \x06\n\x13\n\t\x06\x01\x02\r\x04\xb0\xca\xbc\"\x12\x06\x8e\x02\x04\x91\ - \x02\x06\n\xaf\x04\n\x04\x06\x01\x02\x0e\x12\x06\x9c\x02\x02\xa0\x02\x03\ - \x1a\x9e\x04\x20Removes\x20an\x20existing\x20snapshot.\x20

\n\x20\ - ALPHA:\x20This\x20feature\x20is\x20part\x20of\x20an\x20alpha\x20r\ - elease.\x20This\x20API\x20might\x20be\n\x20changed\x20in\x20backward-inc\ - ompatible\x20ways\x20and\x20is\x20not\x20recommended\x20for\x20productio\ - n\n\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20d\ - eprecation\x20policy.\n\x20When\x20the\x20snapshot\x20is\x20deleted,\x20\ - all\x20messages\x20retained\x20in\x20the\x20snapshot\n\x20are\x20immedia\ - tely\x20dropped.\x20After\x20a\x20snapshot\x20is\x20deleted,\x20a\x20new\ - \x20one\x20may\x20be\n\x20created\x20with\x20the\x20same\x20name,\x20but\ - \x20the\x20new\x20one\x20has\x20no\x20association\x20with\x20the\x20old\ - \n\x20snapshot\x20or\x20its\x20subscription,\x20unless\x20the\x20same\ - \x20subscription\x20is\x20specified.\n\n\r\n\x05\x06\x01\x02\x0e\x01\x12\ - \x04\x9c\x02\x06\x14\n\r\n\x05\x06\x01\x02\x0e\x02\x12\x04\x9c\x02\x15*\ - \n\r\n\x05\x06\x01\x02\x0e\x03\x12\x04\x9c\x025J\n\x0f\n\x05\x06\x01\x02\ - \x0e\x04\x12\x06\x9d\x02\x04\x9f\x02\x06\n\x13\n\t\x06\x01\x02\x0e\x04\ - \xb0\xca\xbc\"\x12\x06\x9d\x02\x04\x9f\x02\x06\n\xdd\x02\n\x04\x06\x01\ - \x02\x0f\x12\x06\xa7\x02\x02\xac\x02\x03\x1a\xcc\x02\x20Seeks\x20an\x20e\ - xisting\x20subscription\x20to\x20a\x20point\x20in\x20time\x20or\x20to\ - \x20a\x20given\x20snapshot,\n\x20whichever\x20is\x20provided\x20in\x20th\ - e\x20request.

\n\x20ALPHA:\x20This\x20feature\x20is\x20par\ - t\x20of\x20an\x20alpha\x20release.\x20This\x20API\x20might\x20be\n\x20ch\ - anged\x20in\x20backward-incompatible\x20ways\x20and\x20is\x20not\x20reco\ - mmended\x20for\x20production\n\x20use.\x20It\x20is\x20not\x20subject\x20\ - to\x20any\x20SLA\x20or\x20deprecation\x20policy.\n\n\r\n\x05\x06\x01\x02\ - \x0f\x01\x12\x04\xa7\x02\x06\n\n\r\n\x05\x06\x01\x02\x0f\x02\x12\x04\xa7\ - \x02\x0b\x16\n\r\n\x05\x06\x01\x02\x0f\x03\x12\x04\xa7\x02!-\n\x0f\n\x05\ - \x06\x01\x02\x0f\x04\x12\x06\xa8\x02\x04\xab\x02\x06\n\x13\n\t\x06\x01\ - \x02\x0f\x04\xb0\xca\xbc\"\x12\x06\xa8\x02\x04\xab\x02\x06\n\x0c\n\x02\ - \x04\0\x12\x06\xaf\x02\0\xb7\x02\x01\n\x0b\n\x03\x04\0\x01\x12\x04\xaf\ - \x02\x08\x1c\n\xa4\x03\n\x04\x04\0\x02\0\x12\x04\xb6\x02\x022\x1a\x95\ - \x03\x20The\x20list\x20of\x20GCP\x20regions\x20where\x20messages\x20that\ - \x20are\x20published\x20to\x20the\x20topic\x20may\n\x20be\x20persisted\ - \x20in\x20storage.\x20Messages\x20published\x20by\x20publishers\x20runni\ - ng\x20in\n\x20non-allowed\x20GCP\x20regions\x20(or\x20running\x20outside\ - \x20of\x20GCP\x20altogether)\x20will\x20be\n\x20routed\x20for\x20storage\ - \x20in\x20one\x20of\x20the\x20allowed\x20regions.\x20An\x20empty\x20list\ - \x20indicates\x20a\n\x20misconfiguration\x20at\x20the\x20project\x20or\ - \x20organization\x20level,\x20which\x20will\x20result\x20in\n\x20all\x20\ - Publish\x20operations\x20failing.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04\ - \xb6\x02\x02\n\n\r\n\x05\x04\0\x02\0\x05\x12\x04\xb6\x02\x0b\x11\n\r\n\ - \x05\x04\0\x02\0\x01\x12\x04\xb6\x02\x12-\n\r\n\x05\x04\0\x02\0\x03\x12\ - \x04\xb6\x0201\n!\n\x02\x04\x01\x12\x06\xba\x02\0\xcd\x02\x01\x1a\x13\ - \x20A\x20topic\x20resource.\n\n\x0b\n\x03\x04\x01\x01\x12\x04\xba\x02\ - \x08\r\n\x82\x03\n\x04\x04\x01\x02\0\x12\x04\xc1\x02\x02\x12\x1a\xf3\x02\ - \x20The\x20name\x20of\x20the\x20topic.\x20It\x20must\x20have\x20the\x20f\ - ormat\n\x20`\"projects/{project}/topics/{topic}\"`.\x20`{topic}`\x20must\ - \x20start\x20with\x20a\x20letter,\n\x20and\x20contain\x20only\x20letters\ - \x20(`[A-Za-z]`),\x20numbers\x20(`[0-9]`),\x20dashes\x20(`-`),\n\x20unde\ - rscores\x20(`_`),\x20periods\x20(`.`),\x20tildes\x20(`~`),\x20plus\x20(`\ - +`)\x20or\x20percent\n\x20signs\x20(`%`).\x20It\x20must\x20be\x20between\ - \x203\x20and\x20255\x20characters\x20in\x20length,\x20and\x20it\n\x20mus\ - t\x20not\x20start\x20with\x20`\"goog\"`.\n\n\x0f\n\x05\x04\x01\x02\0\x04\ - \x12\x06\xc1\x02\x02\xba\x02\x0f\n\r\n\x05\x04\x01\x02\0\x05\x12\x04\xc1\ - \x02\x02\x08\n\r\n\x05\x04\x01\x02\0\x01\x12\x04\xc1\x02\t\r\n\r\n\x05\ - \x04\x01\x02\0\x03\x12\x04\xc1\x02\x10\x11\nT\n\x04\x04\x01\x02\x01\x12\ - \x04\xc4\x02\x02!\x1aF\x20See\x20\x20\ - Creating\x20and\x20managing\x20labels.\n\n\x0f\n\x05\x04\x01\x02\x01\ - \x04\x12\x06\xc4\x02\x02\xc1\x02\x12\n\r\n\x05\x04\x01\x02\x01\x06\x12\ - \x04\xc4\x02\x02\x15\n\r\n\x05\x04\x01\x02\x01\x01\x12\x04\xc4\x02\x16\ - \x1c\n\r\n\x05\x04\x01\x02\x01\x03\x12\x04\xc4\x02\x1f\x20\n\xab\x03\n\ - \x04\x04\x01\x02\x02\x12\x04\xcc\x02\x022\x1a\x9c\x03\x20Policy\x20const\ - raining\x20how\x20messages\x20published\x20to\x20the\x20topic\x20may\x20\ - be\x20stored.\x20It\n\x20is\x20determined\x20when\x20the\x20topic\x20is\ - \x20created\x20based\x20on\x20the\x20policy\x20configured\x20at\n\x20the\ - \x20project\x20level.\x20It\x20must\x20not\x20be\x20set\x20by\x20the\x20\ - caller\x20in\x20the\x20request\x20to\n\x20CreateTopic\x20or\x20to\x20Upd\ - ateTopic.\x20This\x20field\x20will\x20be\x20populated\x20in\x20the\n\x20\ - responses\x20for\x20GetTopic,\x20CreateTopic,\x20and\x20UpdateTopic:\x20\ - if\x20not\x20present\x20in\x20the\n\x20response,\x20then\x20no\x20constr\ - aints\x20are\x20in\x20effect.\n\n\x0f\n\x05\x04\x01\x02\x02\x04\x12\x06\ - \xcc\x02\x02\xc4\x02!\n\r\n\x05\x04\x01\x02\x02\x06\x12\x04\xcc\x02\x02\ - \x16\n\r\n\x05\x04\x01\x02\x02\x01\x12\x04\xcc\x02\x17-\n\r\n\x05\x04\ - \x01\x02\x02\x03\x12\x04\xcc\x0201\n\x8a\x02\n\x02\x04\x02\x12\x06\xd3\ - \x02\0\xe5\x02\x01\x1a\xfb\x01\x20A\x20message\x20that\x20is\x20publishe\ - d\x20by\x20publishers\x20and\x20consumed\x20by\x20subscribers.\x20The\n\ - \x20message\x20must\x20contain\x20either\x20a\x20non-empty\x20data\x20fi\ - eld\x20or\x20at\x20least\x20one\x20attribute.\n\x20See\x20Quotas\x20and\x20limits\x20for\x20more\x20informatio\ - n\x20about\n\x20message\x20limits.\n\n\x0b\n\x03\x04\x02\x01\x12\x04\xd3\ - \x02\x08\x15\nq\n\x04\x04\x02\x02\0\x12\x04\xd6\x02\x02\x11\x1ac\x20The\ - \x20message\x20data\x20field.\x20If\x20this\x20field\x20is\x20empty,\x20\ - the\x20message\x20must\x20contain\n\x20at\x20least\x20one\x20attribute.\ - \n\n\x0f\n\x05\x04\x02\x02\0\x04\x12\x06\xd6\x02\x02\xd3\x02\x17\n\r\n\ - \x05\x04\x02\x02\0\x05\x12\x04\xd6\x02\x02\x07\n\r\n\x05\x04\x02\x02\0\ - \x01\x12\x04\xd6\x02\x08\x0c\n\r\n\x05\x04\x02\x02\0\x03\x12\x04\xd6\x02\ - \x0f\x10\n5\n\x04\x04\x02\x02\x01\x12\x04\xd9\x02\x02%\x1a'\x20Optional\ - \x20attributes\x20for\x20this\x20message.\n\n\x0f\n\x05\x04\x02\x02\x01\ - \x04\x12\x06\xd9\x02\x02\xd6\x02\x11\n\r\n\x05\x04\x02\x02\x01\x06\x12\ - \x04\xd9\x02\x02\x15\n\r\n\x05\x04\x02\x02\x01\x01\x12\x04\xd9\x02\x16\ - \x20\n\r\n\x05\x04\x02\x02\x01\x03\x12\x04\xd9\x02#$\n\xb3\x02\n\x04\x04\ - \x02\x02\x02\x12\x04\xdf\x02\x02\x18\x1a\xa4\x02\x20ID\x20of\x20this\x20\ - message,\x20assigned\x20by\x20the\x20server\x20when\x20the\x20message\ - \x20is\x20published.\n\x20Guaranteed\x20to\x20be\x20unique\x20within\x20\ - the\x20topic.\x20This\x20value\x20may\x20be\x20read\x20by\x20a\n\x20subs\ - criber\x20that\x20receives\x20a\x20`PubsubMessage`\x20via\x20a\x20`Pull`\ - \x20call\x20or\x20a\x20push\n\x20delivery.\x20It\x20must\x20not\x20be\ - \x20populated\x20by\x20the\x20publisher\x20in\x20a\x20`Publish`\x20call.\ - \n\n\x0f\n\x05\x04\x02\x02\x02\x04\x12\x06\xdf\x02\x02\xd9\x02%\n\r\n\ - \x05\x04\x02\x02\x02\x05\x12\x04\xdf\x02\x02\x08\n\r\n\x05\x04\x02\x02\ - \x02\x01\x12\x04\xdf\x02\t\x13\n\r\n\x05\x04\x02\x02\x02\x03\x12\x04\xdf\ - \x02\x16\x17\n\xbb\x01\n\x04\x04\x02\x02\x03\x12\x04\xe4\x02\x02-\x1a\ - \xac\x01\x20The\x20time\x20at\x20which\x20the\x20message\x20was\x20publi\ - shed,\x20populated\x20by\x20the\x20server\x20when\n\x20it\x20receives\ - \x20the\x20`Publish`\x20call.\x20It\x20must\x20not\x20be\x20populated\ - \x20by\x20the\n\x20publisher\x20in\x20a\x20`Publish`\x20call.\n\n\x0f\n\ - \x05\x04\x02\x02\x03\x04\x12\x06\xe4\x02\x02\xdf\x02\x18\n\r\n\x05\x04\ - \x02\x02\x03\x06\x12\x04\xe4\x02\x02\x1b\n\r\n\x05\x04\x02\x02\x03\x01\ - \x12\x04\xe4\x02\x1c(\n\r\n\x05\x04\x02\x02\x03\x03\x12\x04\xe4\x02+,\n0\ - \n\x02\x04\x03\x12\x06\xe8\x02\0\xec\x02\x01\x1a\"\x20Request\x20for\x20\ - the\x20GetTopic\x20method.\n\n\x0b\n\x03\x04\x03\x01\x12\x04\xe8\x02\x08\ - \x17\n]\n\x04\x04\x03\x02\0\x12\x04\xeb\x02\x02\x13\x1aO\x20The\x20name\ - \x20of\x20the\x20topic\x20to\x20get.\n\x20Format\x20is\x20`projects/{pro\ - ject}/topics/{topic}`.\n\n\x0f\n\x05\x04\x03\x02\0\x04\x12\x06\xeb\x02\ - \x02\xe8\x02\x19\n\r\n\x05\x04\x03\x02\0\x05\x12\x04\xeb\x02\x02\x08\n\r\ - \n\x05\x04\x03\x02\0\x01\x12\x04\xeb\x02\t\x0e\n\r\n\x05\x04\x03\x02\0\ - \x03\x12\x04\xeb\x02\x11\x12\n3\n\x02\x04\x04\x12\x06\xef\x02\0\xf9\x02\ - \x01\x1a%\x20Request\x20for\x20the\x20UpdateTopic\x20method.\n\n\x0b\n\ - \x03\x04\x04\x01\x12\x04\xef\x02\x08\x1a\n)\n\x04\x04\x04\x02\0\x12\x04\ - \xf1\x02\x02\x12\x1a\x1b\x20The\x20updated\x20topic\x20object.\n\n\x0f\n\ - \x05\x04\x04\x02\0\x04\x12\x06\xf1\x02\x02\xef\x02\x1c\n\r\n\x05\x04\x04\ - \x02\0\x06\x12\x04\xf1\x02\x02\x07\n\r\n\x05\x04\x04\x02\0\x01\x12\x04\ - \xf1\x02\x08\r\n\r\n\x05\x04\x04\x02\0\x03\x12\x04\xf1\x02\x10\x11\n\xe1\ - \x02\n\x04\x04\x04\x02\x01\x12\x04\xf8\x02\x02,\x1a\xd2\x02\x20Indicates\ - \x20which\x20fields\x20in\x20the\x20provided\x20topic\x20to\x20update.\ - \x20Must\x20be\x20specified\n\x20and\x20non-empty.\x20Note\x20that\x20if\ - \x20`update_mask`\x20contains\n\x20\"message_storage_policy\"\x20then\ - \x20the\x20new\x20value\x20will\x20be\x20determined\x20based\x20on\x20th\ - e\n\x20policy\x20configured\x20at\x20the\x20project\x20or\x20organizatio\ - n\x20level.\x20The\n\x20`message_storage_policy`\x20must\x20not\x20be\ - \x20set\x20in\x20the\x20`topic`\x20provided\x20above.\n\n\x0f\n\x05\x04\ - \x04\x02\x01\x04\x12\x06\xf8\x02\x02\xf1\x02\x12\n\r\n\x05\x04\x04\x02\ - \x01\x06\x12\x04\xf8\x02\x02\x1b\n\r\n\x05\x04\x04\x02\x01\x01\x12\x04\ - \xf8\x02\x1c'\n\r\n\x05\x04\x04\x02\x01\x03\x12\x04\xf8\x02*+\n/\n\x02\ - \x04\x05\x12\x06\xfc\x02\0\x83\x03\x01\x1a!\x20Request\x20for\x20the\x20\ - Publish\x20method.\n\n\x0b\n\x03\x04\x05\x01\x12\x04\xfc\x02\x08\x16\n|\ - \n\x04\x04\x05\x02\0\x12\x04\xff\x02\x02\x13\x1an\x20The\x20messages\x20\ - in\x20the\x20request\x20will\x20be\x20published\x20on\x20this\x20topic.\ - \n\x20Format\x20is\x20`projects/{project}/topics/{topic}`.\n\n\x0f\n\x05\ - \x04\x05\x02\0\x04\x12\x06\xff\x02\x02\xfc\x02\x18\n\r\n\x05\x04\x05\x02\ - \0\x05\x12\x04\xff\x02\x02\x08\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\xff\ - \x02\t\x0e\n\r\n\x05\x04\x05\x02\0\x03\x12\x04\xff\x02\x11\x12\n(\n\x04\ - \x04\x05\x02\x01\x12\x04\x82\x03\x02&\x1a\x1a\x20The\x20messages\x20to\ - \x20publish.\n\n\r\n\x05\x04\x05\x02\x01\x04\x12\x04\x82\x03\x02\n\n\r\n\ - \x05\x04\x05\x02\x01\x06\x12\x04\x82\x03\x0b\x18\n\r\n\x05\x04\x05\x02\ - \x01\x01\x12\x04\x82\x03\x19!\n\r\n\x05\x04\x05\x02\x01\x03\x12\x04\x82\ - \x03$%\n2\n\x02\x04\x06\x12\x06\x86\x03\0\x8b\x03\x01\x1a$\x20Response\ - \x20for\x20the\x20`Publish`\x20method.\n\n\x0b\n\x03\x04\x06\x01\x12\x04\ - \x86\x03\x08\x17\n\xa8\x01\n\x04\x04\x06\x02\0\x12\x04\x8a\x03\x02\"\x1a\ - \x99\x01\x20The\x20server-assigned\x20ID\x20of\x20each\x20published\x20m\ - essage,\x20in\x20the\x20same\x20order\x20as\n\x20the\x20messages\x20in\ - \x20the\x20request.\x20IDs\x20are\x20guaranteed\x20to\x20be\x20unique\ - \x20within\n\x20the\x20topic.\n\n\r\n\x05\x04\x06\x02\0\x04\x12\x04\x8a\ - \x03\x02\n\n\r\n\x05\x04\x06\x02\0\x05\x12\x04\x8a\x03\x0b\x11\n\r\n\x05\ - \x04\x06\x02\0\x01\x12\x04\x8a\x03\x12\x1d\n\r\n\x05\x04\x06\x02\0\x03\ - \x12\x04\x8a\x03\x20!\n4\n\x02\x04\x07\x12\x06\x8e\x03\0\x9a\x03\x01\x1a\ - &\x20Request\x20for\x20the\x20`ListTopics`\x20method.\n\n\x0b\n\x03\x04\ - \x07\x01\x12\x04\x8e\x03\x08\x19\nd\n\x04\x04\x07\x02\0\x12\x04\x91\x03\ - \x02\x15\x1aV\x20The\x20name\x20of\x20the\x20project\x20in\x20which\x20t\ - o\x20list\x20topics.\n\x20Format\x20is\x20`projects/{project-id}`.\n\n\ - \x0f\n\x05\x04\x07\x02\0\x04\x12\x06\x91\x03\x02\x8e\x03\x1b\n\r\n\x05\ - \x04\x07\x02\0\x05\x12\x04\x91\x03\x02\x08\n\r\n\x05\x04\x07\x02\0\x01\ - \x12\x04\x91\x03\t\x10\n\r\n\x05\x04\x07\x02\0\x03\x12\x04\x91\x03\x13\ - \x14\n3\n\x04\x04\x07\x02\x01\x12\x04\x94\x03\x02\x16\x1a%\x20Maximum\ - \x20number\x20of\x20topics\x20to\x20return.\n\n\x0f\n\x05\x04\x07\x02\ - \x01\x04\x12\x06\x94\x03\x02\x91\x03\x15\n\r\n\x05\x04\x07\x02\x01\x05\ - \x12\x04\x94\x03\x02\x07\n\r\n\x05\x04\x07\x02\x01\x01\x12\x04\x94\x03\ - \x08\x11\n\r\n\x05\x04\x07\x02\x01\x03\x12\x04\x94\x03\x14\x15\n\xc4\x01\ - \n\x04\x04\x07\x02\x02\x12\x04\x99\x03\x02\x18\x1a\xb5\x01\x20The\x20val\ - ue\x20returned\x20by\x20the\x20last\x20`ListTopicsResponse`;\x20indicate\ - s\x20that\x20this\x20is\n\x20a\x20continuation\x20of\x20a\x20prior\x20`L\ - istTopics`\x20call,\x20and\x20that\x20the\x20system\x20should\n\x20retur\ - n\x20the\x20next\x20page\x20of\x20data.\n\n\x0f\n\x05\x04\x07\x02\x02\ - \x04\x12\x06\x99\x03\x02\x94\x03\x16\n\r\n\x05\x04\x07\x02\x02\x05\x12\ - \x04\x99\x03\x02\x08\n\r\n\x05\x04\x07\x02\x02\x01\x12\x04\x99\x03\t\x13\ - \n\r\n\x05\x04\x07\x02\x02\x03\x12\x04\x99\x03\x16\x17\n5\n\x02\x04\x08\ - \x12\x06\x9d\x03\0\xa4\x03\x01\x1a'\x20Response\x20for\x20the\x20`ListTo\ - pics`\x20method.\n\n\x0b\n\x03\x04\x08\x01\x12\x04\x9d\x03\x08\x1a\n%\n\ - \x04\x04\x08\x02\0\x12\x04\x9f\x03\x02\x1c\x1a\x17\x20The\x20resulting\ - \x20topics.\n\n\r\n\x05\x04\x08\x02\0\x04\x12\x04\x9f\x03\x02\n\n\r\n\ - \x05\x04\x08\x02\0\x06\x12\x04\x9f\x03\x0b\x10\n\r\n\x05\x04\x08\x02\0\ - \x01\x12\x04\x9f\x03\x11\x17\n\r\n\x05\x04\x08\x02\0\x03\x12\x04\x9f\x03\ - \x1a\x1b\n\x99\x01\n\x04\x04\x08\x02\x01\x12\x04\xa3\x03\x02\x1d\x1a\x8a\ - \x01\x20If\x20not\x20empty,\x20indicates\x20that\x20there\x20may\x20be\ - \x20more\x20topics\x20that\x20match\x20the\n\x20request;\x20this\x20valu\ - e\x20should\x20be\x20passed\x20in\x20a\x20new\x20`ListTopicsRequest`.\n\ - \n\x0f\n\x05\x04\x08\x02\x01\x04\x12\x06\xa3\x03\x02\x9f\x03\x1c\n\r\n\ - \x05\x04\x08\x02\x01\x05\x12\x04\xa3\x03\x02\x08\n\r\n\x05\x04\x08\x02\ - \x01\x01\x12\x04\xa3\x03\t\x18\n\r\n\x05\x04\x08\x02\x01\x03\x12\x04\xa3\ - \x03\x1b\x1c\n@\n\x02\x04\t\x12\x06\xa7\x03\0\xb3\x03\x01\x1a2\x20Reques\ - t\x20for\x20the\x20`ListTopicSubscriptions`\x20method.\n\n\x0b\n\x03\x04\ - \t\x01\x12\x04\xa7\x03\x08%\ny\n\x04\x04\t\x02\0\x12\x04\xaa\x03\x02\x13\ - \x1ak\x20The\x20name\x20of\x20the\x20topic\x20that\x20subscriptions\x20a\ - re\x20attached\x20to.\n\x20Format\x20is\x20`projects/{project}/topics/{t\ - opic}`.\n\n\x0f\n\x05\x04\t\x02\0\x04\x12\x06\xaa\x03\x02\xa7\x03'\n\r\n\ - \x05\x04\t\x02\0\x05\x12\x04\xaa\x03\x02\x08\n\r\n\x05\x04\t\x02\0\x01\ - \x12\x04\xaa\x03\t\x0e\n\r\n\x05\x04\t\x02\0\x03\x12\x04\xaa\x03\x11\x12\ - \n?\n\x04\x04\t\x02\x01\x12\x04\xad\x03\x02\x16\x1a1\x20Maximum\x20numbe\ - r\x20of\x20subscription\x20names\x20to\x20return.\n\n\x0f\n\x05\x04\t\ - \x02\x01\x04\x12\x06\xad\x03\x02\xaa\x03\x13\n\r\n\x05\x04\t\x02\x01\x05\ - \x12\x04\xad\x03\x02\x07\n\r\n\x05\x04\t\x02\x01\x01\x12\x04\xad\x03\x08\ - \x11\n\r\n\x05\x04\t\x02\x01\x03\x12\x04\xad\x03\x14\x15\n\xdc\x01\n\x04\ - \x04\t\x02\x02\x12\x04\xb2\x03\x02\x18\x1a\xcd\x01\x20The\x20value\x20re\ - turned\x20by\x20the\x20last\x20`ListTopicSubscriptionsResponse`;\x20indi\ - cates\n\x20that\x20this\x20is\x20a\x20continuation\x20of\x20a\x20prior\ - \x20`ListTopicSubscriptions`\x20call,\x20and\n\x20that\x20the\x20system\ - \x20should\x20return\x20the\x20next\x20page\x20of\x20data.\n\n\x0f\n\x05\ - \x04\t\x02\x02\x04\x12\x06\xb2\x03\x02\xad\x03\x16\n\r\n\x05\x04\t\x02\ - \x02\x05\x12\x04\xb2\x03\x02\x08\n\r\n\x05\x04\t\x02\x02\x01\x12\x04\xb2\ - \x03\t\x13\n\r\n\x05\x04\t\x02\x02\x03\x12\x04\xb2\x03\x16\x17\nA\n\x02\ - \x04\n\x12\x06\xb6\x03\0\xbe\x03\x01\x1a3\x20Response\x20for\x20the\x20`\ - ListTopicSubscriptions`\x20method.\n\n\x0b\n\x03\x04\n\x01\x12\x04\xb6\ - \x03\x08&\nF\n\x04\x04\n\x02\0\x12\x04\xb8\x03\x02$\x1a8\x20The\x20names\ - \x20of\x20the\x20subscriptions\x20that\x20match\x20the\x20request.\n\n\r\ - \n\x05\x04\n\x02\0\x04\x12\x04\xb8\x03\x02\n\n\r\n\x05\x04\n\x02\0\x05\ - \x12\x04\xb8\x03\x0b\x11\n\r\n\x05\x04\n\x02\0\x01\x12\x04\xb8\x03\x12\ - \x1f\n\r\n\x05\x04\n\x02\0\x03\x12\x04\xb8\x03\"#\n\xc7\x01\n\x04\x04\n\ - \x02\x01\x12\x04\xbd\x03\x02\x1d\x1a\xb8\x01\x20If\x20not\x20empty,\x20i\ - ndicates\x20that\x20there\x20may\x20be\x20more\x20subscriptions\x20that\ - \x20match\n\x20the\x20request;\x20this\x20value\x20should\x20be\x20passe\ - d\x20in\x20a\x20new\n\x20`ListTopicSubscriptionsRequest`\x20to\x20get\ - \x20more\x20subscriptions.\n\n\x0f\n\x05\x04\n\x02\x01\x04\x12\x06\xbd\ - \x03\x02\xb8\x03$\n\r\n\x05\x04\n\x02\x01\x05\x12\x04\xbd\x03\x02\x08\n\ - \r\n\x05\x04\n\x02\x01\x01\x12\x04\xbd\x03\t\x18\n\r\n\x05\x04\n\x02\x01\ - \x03\x12\x04\xbd\x03\x1b\x1c\n\x97\x02\n\x02\x04\x0b\x12\x06\xc4\x03\0\ - \xd0\x03\x01\x1a\x88\x02\x20Request\x20for\x20the\x20`ListTopicSnapshots\ - `\x20method.

\n\x20ALPHA:\x20This\x20feature\x20is\x20part\ - \x20of\x20an\x20alpha\x20release.\x20This\x20API\x20might\x20be\n\x20cha\ - nged\x20in\x20backward-incompatible\x20ways\x20and\x20is\x20not\x20recom\ - mended\x20for\x20production\n\x20use.\x20It\x20is\x20not\x20subject\x20t\ - o\x20any\x20SLA\x20or\x20deprecation\x20policy.\n\n\x0b\n\x03\x04\x0b\ - \x01\x12\x04\xc4\x03\x08!\nu\n\x04\x04\x0b\x02\0\x12\x04\xc7\x03\x02\x13\ - \x1ag\x20The\x20name\x20of\x20the\x20topic\x20that\x20snapshots\x20are\ - \x20attached\x20to.\n\x20Format\x20is\x20`projects/{project}/topics/{top\ - ic}`.\n\n\x0f\n\x05\x04\x0b\x02\0\x04\x12\x06\xc7\x03\x02\xc4\x03#\n\r\n\ - \x05\x04\x0b\x02\0\x05\x12\x04\xc7\x03\x02\x08\n\r\n\x05\x04\x0b\x02\0\ - \x01\x12\x04\xc7\x03\t\x0e\n\r\n\x05\x04\x0b\x02\0\x03\x12\x04\xc7\x03\ - \x11\x12\n;\n\x04\x04\x0b\x02\x01\x12\x04\xca\x03\x02\x16\x1a-\x20Maximu\ - m\x20number\x20of\x20snapshot\x20names\x20to\x20return.\n\n\x0f\n\x05\ - \x04\x0b\x02\x01\x04\x12\x06\xca\x03\x02\xc7\x03\x13\n\r\n\x05\x04\x0b\ - \x02\x01\x05\x12\x04\xca\x03\x02\x07\n\r\n\x05\x04\x0b\x02\x01\x01\x12\ - \x04\xca\x03\x08\x11\n\r\n\x05\x04\x0b\x02\x01\x03\x12\x04\xca\x03\x14\ - \x15\n\xd4\x01\n\x04\x04\x0b\x02\x02\x12\x04\xcf\x03\x02\x18\x1a\xc5\x01\ - \x20The\x20value\x20returned\x20by\x20the\x20last\x20`ListTopicSnapshots\ - Response`;\x20indicates\n\x20that\x20this\x20is\x20a\x20continuation\x20\ - of\x20a\x20prior\x20`ListTopicSnapshots`\x20call,\x20and\n\x20that\x20th\ - e\x20system\x20should\x20return\x20the\x20next\x20page\x20of\x20data.\n\ - \n\x0f\n\x05\x04\x0b\x02\x02\x04\x12\x06\xcf\x03\x02\xca\x03\x16\n\r\n\ - \x05\x04\x0b\x02\x02\x05\x12\x04\xcf\x03\x02\x08\n\r\n\x05\x04\x0b\x02\ - \x02\x01\x12\x04\xcf\x03\t\x13\n\r\n\x05\x04\x0b\x02\x02\x03\x12\x04\xcf\ - \x03\x16\x17\n\x98\x02\n\x02\x04\x0c\x12\x06\xd6\x03\0\xde\x03\x01\x1a\ - \x89\x02\x20Response\x20for\x20the\x20`ListTopicSnapshots`\x20method.
\n\x20ALPHA:\x20This\x20feature\x20is\x20part\x20of\x20an\ - \x20alpha\x20release.\x20This\x20API\x20might\x20be\n\x20changed\x20in\ - \x20backward-incompatible\x20ways\x20and\x20is\x20not\x20recommended\x20\ - for\x20production\n\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\ - \x20SLA\x20or\x20deprecation\x20policy.\n\n\x0b\n\x03\x04\x0c\x01\x12\ - \x04\xd6\x03\x08\"\nB\n\x04\x04\x0c\x02\0\x12\x04\xd8\x03\x02\x20\x1a4\ - \x20The\x20names\x20of\x20the\x20snapshots\x20that\x20match\x20the\x20re\ - quest.\n\n\r\n\x05\x04\x0c\x02\0\x04\x12\x04\xd8\x03\x02\n\n\r\n\x05\x04\ - \x0c\x02\0\x05\x12\x04\xd8\x03\x0b\x11\n\r\n\x05\x04\x0c\x02\0\x01\x12\ - \x04\xd8\x03\x12\x1b\n\r\n\x05\x04\x0c\x02\0\x03\x12\x04\xd8\x03\x1e\x1f\ - \n\xbb\x01\n\x04\x04\x0c\x02\x01\x12\x04\xdd\x03\x02\x1d\x1a\xac\x01\x20\ - If\x20not\x20empty,\x20indicates\x20that\x20there\x20may\x20be\x20more\ - \x20snapshots\x20that\x20match\n\x20the\x20request;\x20this\x20value\x20\ - should\x20be\x20passed\x20in\x20a\x20new\n\x20`ListTopicSnapshotsRequest\ - `\x20to\x20get\x20more\x20snapshots.\n\n\x0f\n\x05\x04\x0c\x02\x01\x04\ - \x12\x06\xdd\x03\x02\xd8\x03\x20\n\r\n\x05\x04\x0c\x02\x01\x05\x12\x04\ - \xdd\x03\x02\x08\n\r\n\x05\x04\x0c\x02\x01\x01\x12\x04\xdd\x03\t\x18\n\r\ - \n\x05\x04\x0c\x02\x01\x03\x12\x04\xdd\x03\x1b\x1c\n5\n\x02\x04\r\x12\ - \x06\xe1\x03\0\xe5\x03\x01\x1a'\x20Request\x20for\x20the\x20`DeleteTopic\ - `\x20method.\n\n\x0b\n\x03\x04\r\x01\x12\x04\xe1\x03\x08\x1a\n\\\n\x04\ - \x04\r\x02\0\x12\x04\xe4\x03\x02\x13\x1aN\x20Name\x20of\x20the\x20topic\ - \x20to\x20delete.\n\x20Format\x20is\x20`projects/{project}/topics/{topic\ - }`.\n\n\x0f\n\x05\x04\r\x02\0\x04\x12\x06\xe4\x03\x02\xe1\x03\x1c\n\r\n\ - \x05\x04\r\x02\0\x05\x12\x04\xe4\x03\x02\x08\n\r\n\x05\x04\r\x02\0\x01\ - \x12\x04\xe4\x03\t\x0e\n\r\n\x05\x04\r\x02\0\x03\x12\x04\xe4\x03\x11\x12\ - \n(\n\x02\x04\x0e\x12\x06\xe8\x03\0\xb3\x04\x01\x1a\x1a\x20A\x20subscrip\ - tion\x20resource.\n\n\x0b\n\x03\x04\x0e\x01\x12\x04\xe8\x03\x08\x14\n\ - \x9e\x03\n\x04\x04\x0e\x02\0\x12\x04\xef\x03\x02\x12\x1a\x8f\x03\x20The\ - \x20name\x20of\x20the\x20subscription.\x20It\x20must\x20have\x20the\x20f\ - ormat\n\x20`\"projects/{project}/subscriptions/{subscription}\"`.\x20`{s\ - ubscription}`\x20must\n\x20start\x20with\x20a\x20letter,\x20and\x20conta\ - in\x20only\x20letters\x20(`[A-Za-z]`),\x20numbers\n\x20(`[0-9]`),\x20das\ - hes\x20(`-`),\x20underscores\x20(`_`),\x20periods\x20(`.`),\x20tildes\ - \x20(`~`),\n\x20plus\x20(`+`)\x20or\x20percent\x20signs\x20(`%`).\x20It\ - \x20must\x20be\x20between\x203\x20and\x20255\x20characters\n\x20in\x20le\ - ngth,\x20and\x20it\x20must\x20not\x20start\x20with\x20`\"goog\"`.\n\n\ - \x0f\n\x05\x04\x0e\x02\0\x04\x12\x06\xef\x03\x02\xe8\x03\x16\n\r\n\x05\ - \x04\x0e\x02\0\x05\x12\x04\xef\x03\x02\x08\n\r\n\x05\x04\x0e\x02\0\x01\ - \x12\x04\xef\x03\t\r\n\r\n\x05\x04\x0e\x02\0\x03\x12\x04\xef\x03\x10\x11\ - \n\xdd\x01\n\x04\x04\x0e\x02\x01\x12\x04\xf5\x03\x02\x13\x1a\xce\x01\x20\ - The\x20name\x20of\x20the\x20topic\x20from\x20which\x20this\x20subscripti\ - on\x20is\x20receiving\x20messages.\n\x20Format\x20is\x20`projects/{proje\ - ct}/topics/{topic}`.\n\x20The\x20value\x20of\x20this\x20field\x20will\ - \x20be\x20`_deleted-topic_`\x20if\x20the\x20topic\x20has\x20been\n\x20de\ - leted.\n\n\x0f\n\x05\x04\x0e\x02\x01\x04\x12\x06\xf5\x03\x02\xef\x03\x12\ - \n\r\n\x05\x04\x0e\x02\x01\x05\x12\x04\xf5\x03\x02\x08\n\r\n\x05\x04\x0e\ - \x02\x01\x01\x12\x04\xf5\x03\t\x0e\n\r\n\x05\x04\x0e\x02\x01\x03\x12\x04\ - \xf5\x03\x11\x12\n\xc9\x01\n\x04\x04\x0e\x02\x02\x12\x04\xfa\x03\x02\x1d\ - \x1a\xba\x01\x20If\x20push\x20delivery\x20is\x20used\x20with\x20this\x20\ - subscription,\x20this\x20field\x20is\n\x20used\x20to\x20configure\x20it.\ - \x20An\x20empty\x20`pushConfig`\x20signifies\x20that\x20the\x20subscribe\ - r\n\x20will\x20pull\x20and\x20ack\x20messages\x20using\x20API\x20methods\ - .\n\n\x0f\n\x05\x04\x0e\x02\x02\x04\x12\x06\xfa\x03\x02\xf5\x03\x13\n\r\ - \n\x05\x04\x0e\x02\x02\x06\x12\x04\xfa\x03\x02\x0c\n\r\n\x05\x04\x0e\x02\ - \x02\x01\x12\x04\xfa\x03\r\x18\n\r\n\x05\x04\x0e\x02\x02\x03\x12\x04\xfa\ - \x03\x1b\x1c\n\xaf\x08\n\x04\x04\x0e\x02\x03\x12\x04\x90\x04\x02!\x1a\ - \xa0\x08\x20This\x20value\x20is\x20the\x20maximum\x20time\x20after\x20a\ - \x20subscriber\x20receives\x20a\x20message\n\x20before\x20the\x20subscri\ - ber\x20should\x20acknowledge\x20the\x20message.\x20After\x20message\n\ - \x20delivery\x20but\x20before\x20the\x20ack\x20deadline\x20expires\x20an\ - d\x20before\x20the\x20message\x20is\n\x20acknowledged,\x20it\x20is\x20an\ - \x20outstanding\x20message\x20and\x20will\x20not\x20be\x20delivered\n\ - \x20again\x20during\x20that\x20time\x20(on\x20a\x20best-effort\x20basis)\ - .\n\n\x20For\x20pull\x20subscriptions,\x20this\x20value\x20is\x20used\ - \x20as\x20the\x20initial\x20value\x20for\x20the\x20ack\n\x20deadline.\ - \x20To\x20override\x20this\x20value\x20for\x20a\x20given\x20message,\x20\ - call\n\x20`ModifyAckDeadline`\x20with\x20the\x20corresponding\x20`ack_id\ - `\x20if\x20using\n\x20non-streaming\x20pull\x20or\x20send\x20the\x20`ack\ - _id`\x20in\x20a\n\x20`StreamingModifyAckDeadlineRequest`\x20if\x20using\ - \x20streaming\x20pull.\n\x20The\x20minimum\x20custom\x20deadline\x20you\ - \x20can\x20specify\x20is\x2010\x20seconds.\n\x20The\x20maximum\x20custom\ - \x20deadline\x20you\x20can\x20specify\x20is\x20600\x20seconds\x20(10\x20\ - minutes).\n\x20If\x20this\x20parameter\x20is\x200,\x20a\x20default\x20va\ - lue\x20of\x2010\x20seconds\x20is\x20used.\n\n\x20For\x20push\x20delivery\ - ,\x20this\x20value\x20is\x20also\x20used\x20to\x20set\x20the\x20request\ - \x20timeout\x20for\n\x20the\x20call\x20to\x20the\x20push\x20endpoint.\n\ - \n\x20If\x20the\x20subscriber\x20never\x20acknowledges\x20the\x20message\ - ,\x20the\x20Pub/Sub\n\x20system\x20will\x20eventually\x20redeliver\x20th\ - e\x20message.\n\n\x0f\n\x05\x04\x0e\x02\x03\x04\x12\x06\x90\x04\x02\xfa\ - \x03\x1d\n\r\n\x05\x04\x0e\x02\x03\x05\x12\x04\x90\x04\x02\x07\n\r\n\x05\ - \x04\x0e\x02\x03\x01\x12\x04\x90\x04\x08\x1c\n\r\n\x05\x04\x0e\x02\x03\ - \x03\x12\x04\x90\x04\x1f\x20\n\xc8\x03\n\x04\x04\x0e\x02\x04\x12\x04\x99\ - \x04\x02!\x1a\xb9\x03\x20Indicates\x20whether\x20to\x20retain\x20acknowl\ - edged\x20messages.\x20If\x20true,\x20then\n\x20messages\x20are\x20not\ - \x20expunged\x20from\x20the\x20subscription's\x20backlog,\x20even\x20if\ - \x20they\x20are\n\x20acknowledged,\x20until\x20they\x20fall\x20out\x20of\ - \x20the\x20`message_retention_duration`\n\x20window.

\n\x20ALP\ - HA:\x20This\x20feature\x20is\x20part\x20of\x20an\x20alpha\x20release\ - .\x20This\x20API\x20might\x20be\n\x20changed\x20in\x20backward-incompati\ - ble\x20ways\x20and\x20is\x20not\x20recommended\x20for\x20production\n\ - \x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20depr\ - ecation\x20policy.\n\n\x0f\n\x05\x04\x0e\x02\x04\x04\x12\x06\x99\x04\x02\ - \x90\x04!\n\r\n\x05\x04\x0e\x02\x04\x05\x12\x04\x99\x04\x02\x06\n\r\n\ - \x05\x04\x0e\x02\x04\x01\x12\x04\x99\x04\x07\x1c\n\r\n\x05\x04\x0e\x02\ - \x04\x03\x12\x04\x99\x04\x1f\x20\n\xce\x04\n\x04\x04\x0e\x02\x05\x12\x04\ - \xa4\x04\x02:\x1a\xbf\x04\x20How\x20long\x20to\x20retain\x20unacknowledg\ - ed\x20messages\x20in\x20the\x20subscription's\x20backlog,\n\x20from\x20t\ - he\x20moment\x20a\x20message\x20is\x20published.\n\x20If\x20`retain_acke\ - d_messages`\x20is\x20true,\x20then\x20this\x20also\x20configures\x20the\ - \x20retention\n\x20of\x20acknowledged\x20messages,\x20and\x20thus\x20con\ - figures\x20how\x20far\x20back\x20in\x20time\x20a\x20`Seek`\n\x20can\x20b\ - e\x20done.\x20Defaults\x20to\x207\x20days.\x20Cannot\x20be\x20more\x20th\ - an\x207\x20days\x20or\x20less\x20than\x2010\n\x20minutes.

\n\x20<\ - b>ALPHA:\x20This\x20feature\x20is\x20part\x20of\x20an\x20alpha\x20re\ - lease.\x20This\x20API\x20might\x20be\n\x20changed\x20in\x20backward-inco\ - mpatible\x20ways\x20and\x20is\x20not\x20recommended\x20for\x20production\ - \n\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20de\ - precation\x20policy.\n\n\x0f\n\x05\x04\x0e\x02\x05\x04\x12\x06\xa4\x04\ - \x02\x99\x04!\n\r\n\x05\x04\x0e\x02\x05\x06\x12\x04\xa4\x04\x02\x1a\n\r\ - \n\x05\x04\x0e\x02\x05\x01\x12\x04\xa4\x04\x1b5\n\r\n\x05\x04\x0e\x02\ - \x05\x03\x12\x04\xa4\x0489\nT\n\x04\x04\x0e\x02\x06\x12\x04\xa7\x04\x02!\ - \x1aF\x20See\x20\x20Creating\x20and\ - \x20managing\x20labels.\n\n\x0f\n\x05\x04\x0e\x02\x06\x04\x12\x06\ - \xa7\x04\x02\xa4\x04:\n\r\n\x05\x04\x0e\x02\x06\x06\x12\x04\xa7\x04\x02\ - \x15\n\r\n\x05\x04\x0e\x02\x06\x01\x12\x04\xa7\x04\x16\x1c\n\r\n\x05\x04\ - \x0e\x02\x06\x03\x12\x04\xa7\x04\x1f\x20\n\xf8\x04\n\x04\x04\x0e\x02\x07\ - \x12\x04\xb2\x04\x02*\x1a\xe9\x04\x20A\x20policy\x20that\x20specifies\ - \x20the\x20conditions\x20for\x20this\x20subscription's\x20expiration.\n\ - \x20A\x20subscription\x20is\x20considered\x20active\x20as\x20long\x20as\ - \x20any\x20connected\x20subscriber\x20is\n\x20successfully\x20consuming\ - \x20messages\x20from\x20the\x20subscription\x20or\x20is\x20issuing\n\x20\ - operations\x20on\x20the\x20subscription.\x20If\x20`expiration_policy`\ - \x20is\x20not\x20set,\x20a\n\x20*default\x20policy*\x20with\x20`ttl`\x20\ - of\x2031\x20days\x20will\x20be\x20used.\x20The\x20minimum\x20allowed\n\ - \x20value\x20for\x20`expiration_policy.ttl`\x20is\x201\x20day.\n\x20B\ - ETA:\x20This\x20feature\x20is\x20part\x20of\x20a\x20beta\x20release.\ - \x20This\x20API\x20might\x20be\n\x20changed\x20in\x20backward-incompatib\ - le\x20ways\x20and\x20is\x20not\x20recommended\x20for\x20production\n\x20\ - use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecat\ - ion\x20policy.\n\n\x0f\n\x05\x04\x0e\x02\x07\x04\x12\x06\xb2\x04\x02\xa7\ - \x04!\n\r\n\x05\x04\x0e\x02\x07\x06\x12\x04\xb2\x04\x02\x12\n\r\n\x05\ - \x04\x0e\x02\x07\x01\x12\x04\xb2\x04\x13$\n\r\n\x05\x04\x0e\x02\x07\x03\ - \x12\x04\xb2\x04')\nt\n\x02\x04\x0f\x12\x06\xb7\x04\0\xbf\x04\x01\x1af\ - \x20A\x20policy\x20that\x20specifies\x20the\x20conditions\x20for\x20reso\ - urce\x20expiration\x20(i.e.,\n\x20automatic\x20resource\x20deletion).\n\ - \n\x0b\n\x03\x04\x0f\x01\x12\x04\xb7\x04\x08\x18\n\x89\x03\n\x04\x04\x0f\ - \x02\0\x12\x04\xbe\x04\x02#\x1a\xfa\x02\x20Specifies\x20the\x20\"time-to\ - -live\"\x20duration\x20for\x20an\x20associated\x20resource.\x20The\n\x20\ - resource\x20expires\x20if\x20it\x20is\x20not\x20active\x20for\x20a\x20pe\ - riod\x20of\x20`ttl`.\x20The\x20definition\n\x20of\x20\"activity\"\x20dep\ - ends\x20on\x20the\x20type\x20of\x20the\x20associated\x20resource.\x20The\ - \x20minimum\n\x20and\x20maximum\x20allowed\x20values\x20for\x20`ttl`\x20\ - depend\x20on\x20the\x20type\x20of\x20the\x20associated\n\x20resource,\ - \x20as\x20well.\x20If\x20`ttl`\x20is\x20not\x20set,\x20the\x20associated\ - \x20resource\x20never\n\x20expires.\n\n\x0f\n\x05\x04\x0f\x02\0\x04\x12\ - \x06\xbe\x04\x02\xb7\x04\x1a\n\r\n\x05\x04\x0f\x02\0\x06\x12\x04\xbe\x04\ - \x02\x1a\n\r\n\x05\x04\x0f\x02\0\x01\x12\x04\xbe\x04\x1b\x1e\n\r\n\x05\ - \x04\x0f\x02\0\x03\x12\x04\xbe\x04!\"\n;\n\x02\x04\x10\x12\x06\xc2\x04\0\ - \xdd\x04\x01\x1a-\x20Configuration\x20for\x20a\x20push\x20delivery\x20en\ - dpoint.\n\n\x0b\n\x03\x04\x10\x01\x12\x04\xc2\x04\x08\x12\n\x97\x01\n\ - \x04\x04\x10\x02\0\x12\x04\xc5\x04\x02\x1b\x1a\x88\x01\x20A\x20URL\x20lo\ - cating\x20the\x20endpoint\x20to\x20which\x20messages\x20should\x20be\x20\ - pushed.\n\x20For\x20example,\x20a\x20Webhook\x20endpoint\x20might\x20use\ - \x20\"https://example.com/push\".\n\n\x0f\n\x05\x04\x10\x02\0\x04\x12\ - \x06\xc5\x04\x02\xc2\x04\x14\n\r\n\x05\x04\x10\x02\0\x05\x12\x04\xc5\x04\ - \x02\x08\n\r\n\x05\x04\x10\x02\0\x01\x12\x04\xc5\x04\t\x16\n\r\n\x05\x04\ - \x10\x02\0\x03\x12\x04\xc5\x04\x19\x1a\n\x8e\x08\n\x04\x04\x10\x02\x01\ - \x12\x04\xdc\x04\x02%\x1a\xff\x07\x20Endpoint\x20configuration\x20attrib\ - utes.\n\n\x20Every\x20endpoint\x20has\x20a\x20set\x20of\x20API\x20suppor\ - ted\x20attributes\x20that\x20can\x20be\x20used\x20to\n\x20control\x20dif\ - ferent\x20aspects\x20of\x20the\x20message\x20delivery.\n\n\x20The\x20cur\ - rently\x20supported\x20attribute\x20is\x20`x-goog-version`,\x20which\x20\ - you\x20can\n\x20use\x20to\x20change\x20the\x20format\x20of\x20the\x20pus\ - hed\x20message.\x20This\x20attribute\n\x20indicates\x20the\x20version\ - \x20of\x20the\x20data\x20expected\x20by\x20the\x20endpoint.\x20This\n\ - \x20controls\x20the\x20shape\x20of\x20the\x20pushed\x20message\x20(i.e.,\ - \x20its\x20fields\x20and\x20metadata).\n\x20The\x20endpoint\x20version\ - \x20is\x20based\x20on\x20the\x20version\x20of\x20the\x20Pub/Sub\x20API.\ - \n\n\x20If\x20not\x20present\x20during\x20the\x20`CreateSubscription`\ - \x20call,\x20it\x20will\x20default\x20to\n\x20the\x20version\x20of\x20th\ - e\x20API\x20used\x20to\x20make\x20such\x20call.\x20If\x20not\x20present\ - \x20during\x20a\n\x20`ModifyPushConfig`\x20call,\x20its\x20value\x20will\ - \x20not\x20be\x20changed.\x20`GetSubscription`\n\x20calls\x20will\x20alw\ - ays\x20return\x20a\x20valid\x20version,\x20even\x20if\x20the\x20subscrip\ - tion\x20was\n\x20created\x20without\x20this\x20attribute.\n\n\x20The\x20\ - possible\x20values\x20for\x20this\x20attribute\x20are:\n\n\x20*\x20`v1be\ - ta1`:\x20uses\x20the\x20push\x20format\x20defined\x20in\x20the\x20v1beta\ - 1\x20Pub/Sub\x20API.\n\x20*\x20`v1`\x20or\x20`v1beta2`:\x20uses\x20the\ - \x20push\x20format\x20defined\x20in\x20the\x20v1\x20Pub/Sub\x20API.\n\n\ - \x0f\n\x05\x04\x10\x02\x01\x04\x12\x06\xdc\x04\x02\xc5\x04\x1b\n\r\n\x05\ - \x04\x10\x02\x01\x06\x12\x04\xdc\x04\x02\x15\n\r\n\x05\x04\x10\x02\x01\ - \x01\x12\x04\xdc\x04\x16\x20\n\r\n\x05\x04\x10\x02\x01\x03\x12\x04\xdc\ - \x04#$\nB\n\x02\x04\x11\x12\x06\xe0\x04\0\xe6\x04\x01\x1a4\x20A\x20messa\ - ge\x20and\x20its\x20corresponding\x20acknowledgment\x20ID.\n\n\x0b\n\x03\ - \x04\x11\x01\x12\x04\xe0\x04\x08\x17\nH\n\x04\x04\x11\x02\0\x12\x04\xe2\ - \x04\x02\x14\x1a:\x20This\x20ID\x20can\x20be\x20used\x20to\x20acknowledg\ - e\x20the\x20received\x20message.\n\n\x0f\n\x05\x04\x11\x02\0\x04\x12\x06\ - \xe2\x04\x02\xe0\x04\x19\n\r\n\x05\x04\x11\x02\0\x05\x12\x04\xe2\x04\x02\ - \x08\n\r\n\x05\x04\x11\x02\0\x01\x12\x04\xe2\x04\t\x0f\n\r\n\x05\x04\x11\ - \x02\0\x03\x12\x04\xe2\x04\x12\x13\n\x1c\n\x04\x04\x11\x02\x01\x12\x04\ - \xe5\x04\x02\x1c\x1a\x0e\x20The\x20message.\n\n\x0f\n\x05\x04\x11\x02\ - \x01\x04\x12\x06\xe5\x04\x02\xe2\x04\x14\n\r\n\x05\x04\x11\x02\x01\x06\ - \x12\x04\xe5\x04\x02\x0f\n\r\n\x05\x04\x11\x02\x01\x01\x12\x04\xe5\x04\ - \x10\x17\n\r\n\x05\x04\x11\x02\x01\x03\x12\x04\xe5\x04\x1a\x1b\n7\n\x02\ - \x04\x12\x12\x06\xe9\x04\0\xed\x04\x01\x1a)\x20Request\x20for\x20the\x20\ - GetSubscription\x20method.\n\n\x0b\n\x03\x04\x12\x01\x12\x04\xe9\x04\x08\ - \x1e\ni\n\x04\x04\x12\x02\0\x12\x04\xec\x04\x02\x1a\x1a[\x20The\x20name\ - \x20of\x20the\x20subscription\x20to\x20get.\n\x20Format\x20is\x20`projec\ - ts/{project}/subscriptions/{sub}`.\n\n\x0f\n\x05\x04\x12\x02\0\x04\x12\ - \x06\xec\x04\x02\xe9\x04\x20\n\r\n\x05\x04\x12\x02\0\x05\x12\x04\xec\x04\ - \x02\x08\n\r\n\x05\x04\x12\x02\0\x01\x12\x04\xec\x04\t\x15\n\r\n\x05\x04\ - \x12\x02\0\x03\x12\x04\xec\x04\x18\x19\n:\n\x02\x04\x13\x12\x06\xf0\x04\ - \0\xf7\x04\x01\x1a,\x20Request\x20for\x20the\x20UpdateSubscription\x20me\ - thod.\n\n\x0b\n\x03\x04\x13\x01\x12\x04\xf0\x04\x08!\n0\n\x04\x04\x13\ - \x02\0\x12\x04\xf2\x04\x02\x20\x1a\"\x20The\x20updated\x20subscription\ - \x20object.\n\n\x0f\n\x05\x04\x13\x02\0\x04\x12\x06\xf2\x04\x02\xf0\x04#\ - \n\r\n\x05\x04\x13\x02\0\x06\x12\x04\xf2\x04\x02\x0e\n\r\n\x05\x04\x13\ - \x02\0\x01\x12\x04\xf2\x04\x0f\x1b\n\r\n\x05\x04\x13\x02\0\x03\x12\x04\ - \xf2\x04\x1e\x1f\np\n\x04\x04\x13\x02\x01\x12\x04\xf6\x04\x02,\x1ab\x20I\ - ndicates\x20which\x20fields\x20in\x20the\x20provided\x20subscription\x20\ - to\x20update.\n\x20Must\x20be\x20specified\x20and\x20non-empty.\n\n\x0f\ - \n\x05\x04\x13\x02\x01\x04\x12\x06\xf6\x04\x02\xf2\x04\x20\n\r\n\x05\x04\ - \x13\x02\x01\x06\x12\x04\xf6\x04\x02\x1b\n\r\n\x05\x04\x13\x02\x01\x01\ - \x12\x04\xf6\x04\x1c'\n\r\n\x05\x04\x13\x02\x01\x03\x12\x04\xf6\x04*+\n;\ - \n\x02\x04\x14\x12\x06\xfa\x04\0\x86\x05\x01\x1a-\x20Request\x20for\x20t\ - he\x20`ListSubscriptions`\x20method.\n\n\x0b\n\x03\x04\x14\x01\x12\x04\ - \xfa\x04\x08\x20\nk\n\x04\x04\x14\x02\0\x12\x04\xfd\x04\x02\x15\x1a]\x20\ - The\x20name\x20of\x20the\x20project\x20in\x20which\x20to\x20list\x20subs\ - criptions.\n\x20Format\x20is\x20`projects/{project-id}`.\n\n\x0f\n\x05\ - \x04\x14\x02\0\x04\x12\x06\xfd\x04\x02\xfa\x04\"\n\r\n\x05\x04\x14\x02\0\ - \x05\x12\x04\xfd\x04\x02\x08\n\r\n\x05\x04\x14\x02\0\x01\x12\x04\xfd\x04\ - \t\x10\n\r\n\x05\x04\x14\x02\0\x03\x12\x04\xfd\x04\x13\x14\n:\n\x04\x04\ - \x14\x02\x01\x12\x04\x80\x05\x02\x16\x1a,\x20Maximum\x20number\x20of\x20\ - subscriptions\x20to\x20return.\n\n\x0f\n\x05\x04\x14\x02\x01\x04\x12\x06\ - \x80\x05\x02\xfd\x04\x15\n\r\n\x05\x04\x14\x02\x01\x05\x12\x04\x80\x05\ - \x02\x07\n\r\n\x05\x04\x14\x02\x01\x01\x12\x04\x80\x05\x08\x11\n\r\n\x05\ - \x04\x14\x02\x01\x03\x12\x04\x80\x05\x14\x15\n\xd2\x01\n\x04\x04\x14\x02\ - \x02\x12\x04\x85\x05\x02\x18\x1a\xc3\x01\x20The\x20value\x20returned\x20\ - by\x20the\x20last\x20`ListSubscriptionsResponse`;\x20indicates\x20that\n\ - \x20this\x20is\x20a\x20continuation\x20of\x20a\x20prior\x20`ListSubscrip\ - tions`\x20call,\x20and\x20that\x20the\n\x20system\x20should\x20return\ - \x20the\x20next\x20page\x20of\x20data.\n\n\x0f\n\x05\x04\x14\x02\x02\x04\ - \x12\x06\x85\x05\x02\x80\x05\x16\n\r\n\x05\x04\x14\x02\x02\x05\x12\x04\ - \x85\x05\x02\x08\n\r\n\x05\x04\x14\x02\x02\x01\x12\x04\x85\x05\t\x13\n\r\ - \n\x05\x04\x14\x02\x02\x03\x12\x04\x85\x05\x16\x17\n<\n\x02\x04\x15\x12\ - \x06\x89\x05\0\x91\x05\x01\x1a.\x20Response\x20for\x20the\x20`ListSubscr\ - iptions`\x20method.\n\n\x0b\n\x03\x04\x15\x01\x12\x04\x89\x05\x08!\n9\n\ - \x04\x04\x15\x02\0\x12\x04\x8b\x05\x02*\x1a+\x20The\x20subscriptions\x20\ - that\x20match\x20the\x20request.\n\n\r\n\x05\x04\x15\x02\0\x04\x12\x04\ - \x8b\x05\x02\n\n\r\n\x05\x04\x15\x02\0\x06\x12\x04\x8b\x05\x0b\x17\n\r\n\ - \x05\x04\x15\x02\0\x01\x12\x04\x8b\x05\x18%\n\r\n\x05\x04\x15\x02\0\x03\ - \x12\x04\x8b\x05()\n\xc2\x01\n\x04\x04\x15\x02\x01\x12\x04\x90\x05\x02\ - \x1d\x1a\xb3\x01\x20If\x20not\x20empty,\x20indicates\x20that\x20there\ - \x20may\x20be\x20more\x20subscriptions\x20that\x20match\n\x20the\x20requ\ - est;\x20this\x20value\x20should\x20be\x20passed\x20in\x20a\x20new\n\x20`\ - ListSubscriptionsRequest`\x20to\x20get\x20more\x20subscriptions.\n\n\x0f\ - \n\x05\x04\x15\x02\x01\x04\x12\x06\x90\x05\x02\x8b\x05*\n\r\n\x05\x04\ - \x15\x02\x01\x05\x12\x04\x90\x05\x02\x08\n\r\n\x05\x04\x15\x02\x01\x01\ - \x12\x04\x90\x05\t\x18\n\r\n\x05\x04\x15\x02\x01\x03\x12\x04\x90\x05\x1b\ - \x1c\n:\n\x02\x04\x16\x12\x06\x94\x05\0\x98\x05\x01\x1a,\x20Request\x20f\ - or\x20the\x20DeleteSubscription\x20method.\n\n\x0b\n\x03\x04\x16\x01\x12\ - \x04\x94\x05\x08!\n`\n\x04\x04\x16\x02\0\x12\x04\x97\x05\x02\x1a\x1aR\ - \x20The\x20subscription\x20to\x20delete.\n\x20Format\x20is\x20`projects/\ - {project}/subscriptions/{sub}`.\n\n\x0f\n\x05\x04\x16\x02\0\x04\x12\x06\ - \x97\x05\x02\x94\x05#\n\r\n\x05\x04\x16\x02\0\x05\x12\x04\x97\x05\x02\ - \x08\n\r\n\x05\x04\x16\x02\0\x01\x12\x04\x97\x05\t\x15\n\r\n\x05\x04\x16\ - \x02\0\x03\x12\x04\x97\x05\x18\x19\n8\n\x02\x04\x17\x12\x06\x9b\x05\0\ - \xa7\x05\x01\x1a*\x20Request\x20for\x20the\x20ModifyPushConfig\x20method\ - .\n\n\x0b\n\x03\x04\x17\x01\x12\x04\x9b\x05\x08\x1f\nb\n\x04\x04\x17\x02\ - \0\x12\x04\x9e\x05\x02\x1a\x1aT\x20The\x20name\x20of\x20the\x20subscript\ - ion.\n\x20Format\x20is\x20`projects/{project}/subscriptions/{sub}`.\n\n\ - \x0f\n\x05\x04\x17\x02\0\x04\x12\x06\x9e\x05\x02\x9b\x05!\n\r\n\x05\x04\ - \x17\x02\0\x05\x12\x04\x9e\x05\x02\x08\n\r\n\x05\x04\x17\x02\0\x01\x12\ - \x04\x9e\x05\t\x15\n\r\n\x05\x04\x17\x02\0\x03\x12\x04\x9e\x05\x18\x19\n\ - \xb8\x02\n\x04\x04\x17\x02\x01\x12\x04\xa6\x05\x02\x1d\x1a\xa9\x02\x20Th\ - e\x20push\x20configuration\x20for\x20future\x20deliveries.\n\n\x20An\x20\ - empty\x20`pushConfig`\x20indicates\x20that\x20the\x20Pub/Sub\x20system\ - \x20should\n\x20stop\x20pushing\x20messages\x20from\x20the\x20given\x20s\ - ubscription\x20and\x20allow\n\x20messages\x20to\x20be\x20pulled\x20and\ - \x20acknowledged\x20-\x20effectively\x20pausing\n\x20the\x20subscription\ - \x20if\x20`Pull`\x20or\x20`StreamingPull`\x20is\x20not\x20called.\n\n\ - \x0f\n\x05\x04\x17\x02\x01\x04\x12\x06\xa6\x05\x02\x9e\x05\x1a\n\r\n\x05\ - \x04\x17\x02\x01\x06\x12\x04\xa6\x05\x02\x0c\n\r\n\x05\x04\x17\x02\x01\ - \x01\x12\x04\xa6\x05\r\x18\n\r\n\x05\x04\x17\x02\x01\x03\x12\x04\xa6\x05\ - \x1b\x1c\n.\n\x02\x04\x18\x12\x06\xaa\x05\0\xb8\x05\x01\x1a\x20\x20Reque\ - st\x20for\x20the\x20`Pull`\x20method.\n\n\x0b\n\x03\x04\x18\x01\x12\x04\ - \xaa\x05\x08\x13\n{\n\x04\x04\x18\x02\0\x12\x04\xad\x05\x02\x1a\x1am\x20\ - The\x20subscription\x20from\x20which\x20messages\x20should\x20be\x20pull\ - ed.\n\x20Format\x20is\x20`projects/{project}/subscriptions/{sub}`.\n\n\ - \x0f\n\x05\x04\x18\x02\0\x04\x12\x06\xad\x05\x02\xaa\x05\x15\n\r\n\x05\ - \x04\x18\x02\0\x05\x12\x04\xad\x05\x02\x08\n\r\n\x05\x04\x18\x02\0\x01\ - \x12\x04\xad\x05\t\x15\n\r\n\x05\x04\x18\x02\0\x03\x12\x04\xad\x05\x18\ - \x19\n\xa9\x02\n\x04\x04\x18\x02\x01\x12\x04\xb3\x05\x02\x1e\x1a\x9a\x02\ - \x20If\x20this\x20field\x20set\x20to\x20true,\x20the\x20system\x20will\ - \x20respond\x20immediately\x20even\x20if\n\x20it\x20there\x20are\x20no\ - \x20messages\x20available\x20to\x20return\x20in\x20the\x20`Pull`\x20resp\ - onse.\n\x20Otherwise,\x20the\x20system\x20may\x20wait\x20(for\x20a\x20bo\ - unded\x20amount\x20of\x20time)\x20until\x20at\n\x20least\x20one\x20messa\ - ge\x20is\x20available,\x20rather\x20than\x20returning\x20no\x20messages.\ - \n\n\x0f\n\x05\x04\x18\x02\x01\x04\x12\x06\xb3\x05\x02\xad\x05\x1a\n\r\n\ - \x05\x04\x18\x02\x01\x05\x12\x04\xb3\x05\x02\x06\n\r\n\x05\x04\x18\x02\ - \x01\x01\x12\x04\xb3\x05\x07\x19\n\r\n\x05\x04\x18\x02\x01\x03\x12\x04\ - \xb3\x05\x1c\x1d\n\x89\x01\n\x04\x04\x18\x02\x02\x12\x04\xb7\x05\x02\x19\ - \x1a{\x20The\x20maximum\x20number\x20of\x20messages\x20returned\x20for\ - \x20this\x20request.\x20The\x20Pub/Sub\n\x20system\x20may\x20return\x20f\ - ewer\x20than\x20the\x20number\x20specified.\n\n\x0f\n\x05\x04\x18\x02\ - \x02\x04\x12\x06\xb7\x05\x02\xb3\x05\x1e\n\r\n\x05\x04\x18\x02\x02\x05\ - \x12\x04\xb7\x05\x02\x07\n\r\n\x05\x04\x18\x02\x02\x01\x12\x04\xb7\x05\ - \x08\x14\n\r\n\x05\x04\x18\x02\x02\x03\x12\x04\xb7\x05\x17\x18\n/\n\x02\ - \x04\x19\x12\x06\xbb\x05\0\xc1\x05\x01\x1a!\x20Response\x20for\x20the\ - \x20`Pull`\x20method.\n\n\x0b\n\x03\x04\x19\x01\x12\x04\xbb\x05\x08\x14\ - \n\xaa\x02\n\x04\x04\x19\x02\0\x12\x04\xc0\x05\x021\x1a\x9b\x02\x20Recei\ - ved\x20Pub/Sub\x20messages.\x20The\x20list\x20will\x20be\x20empty\x20if\ - \x20there\x20are\x20no\x20more\n\x20messages\x20available\x20in\x20the\ - \x20backlog.\x20For\x20JSON,\x20the\x20response\x20can\x20be\x20entirely\ - \n\x20empty.\x20The\x20Pub/Sub\x20system\x20may\x20return\x20fewer\x20th\ - an\x20the\x20`maxMessages`\x20requested\n\x20even\x20if\x20there\x20are\ - \x20more\x20messages\x20available\x20in\x20the\x20backlog.\n\n\r\n\x05\ - \x04\x19\x02\0\x04\x12\x04\xc0\x05\x02\n\n\r\n\x05\x04\x19\x02\0\x06\x12\ - \x04\xc0\x05\x0b\x1a\n\r\n\x05\x04\x19\x02\0\x01\x12\x04\xc0\x05\x1b,\n\ - \r\n\x05\x04\x19\x02\0\x03\x12\x04\xc0\x05/0\n9\n\x02\x04\x1a\x12\x06\ - \xc4\x05\0\xd4\x05\x01\x1a+\x20Request\x20for\x20the\x20ModifyAckDeadlin\ - e\x20method.\n\n\x0b\n\x03\x04\x1a\x01\x12\x04\xc4\x05\x08\x20\nb\n\x04\ - \x04\x1a\x02\0\x12\x04\xc7\x05\x02\x1a\x1aT\x20The\x20name\x20of\x20the\ - \x20subscription.\n\x20Format\x20is\x20`projects/{project}/subscriptions\ - /{sub}`.\n\n\x0f\n\x05\x04\x1a\x02\0\x04\x12\x06\xc7\x05\x02\xc4\x05\"\n\ - \r\n\x05\x04\x1a\x02\0\x05\x12\x04\xc7\x05\x02\x08\n\r\n\x05\x04\x1a\x02\ - \0\x01\x12\x04\xc7\x05\t\x15\n\r\n\x05\x04\x1a\x02\0\x03\x12\x04\xc7\x05\ - \x18\x19\n+\n\x04\x04\x1a\x02\x01\x12\x04\xca\x05\x02\x1e\x1a\x1d\x20Lis\ - t\x20of\x20acknowledgment\x20IDs.\n\n\r\n\x05\x04\x1a\x02\x01\x04\x12\ - \x04\xca\x05\x02\n\n\r\n\x05\x04\x1a\x02\x01\x05\x12\x04\xca\x05\x0b\x11\ - \n\r\n\x05\x04\x1a\x02\x01\x01\x12\x04\xca\x05\x12\x19\n\r\n\x05\x04\x1a\ - \x02\x01\x03\x12\x04\xca\x05\x1c\x1d\n\xb5\x03\n\x04\x04\x1a\x02\x02\x12\ - \x04\xd3\x05\x02!\x1a\xa6\x03\x20The\x20new\x20ack\x20deadline\x20with\ - \x20respect\x20to\x20the\x20time\x20this\x20request\x20was\x20sent\x20to\ - \n\x20the\x20Pub/Sub\x20system.\x20For\x20example,\x20if\x20the\x20value\ - \x20is\x2010,\x20the\x20new\n\x20ack\x20deadline\x20will\x20expire\x2010\ - \x20seconds\x20after\x20the\x20`ModifyAckDeadline`\x20call\n\x20was\x20m\ - ade.\x20Specifying\x20zero\x20may\x20immediately\x20make\x20the\x20messa\ - ge\x20available\x20for\n\x20another\x20pull\x20request.\n\x20The\x20mini\ - mum\x20deadline\x20you\x20can\x20specify\x20is\x200\x20seconds.\n\x20The\ - \x20maximum\x20deadline\x20you\x20can\x20specify\x20is\x20600\x20seconds\ - \x20(10\x20minutes).\n\n\x0f\n\x05\x04\x1a\x02\x02\x04\x12\x06\xd3\x05\ - \x02\xca\x05\x1e\n\r\n\x05\x04\x1a\x02\x02\x05\x12\x04\xd3\x05\x02\x07\n\ - \r\n\x05\x04\x1a\x02\x02\x01\x12\x04\xd3\x05\x08\x1c\n\r\n\x05\x04\x1a\ - \x02\x02\x03\x12\x04\xd3\x05\x1f\x20\n3\n\x02\x04\x1b\x12\x06\xd7\x05\0\ - \xdf\x05\x01\x1a%\x20Request\x20for\x20the\x20Acknowledge\x20method.\n\n\ - \x0b\n\x03\x04\x1b\x01\x12\x04\xd7\x05\x08\x1a\nz\n\x04\x04\x1b\x02\0\ - \x12\x04\xda\x05\x02\x1a\x1al\x20The\x20subscription\x20whose\x20message\ - \x20is\x20being\x20acknowledged.\n\x20Format\x20is\x20`projects/{project\ - }/subscriptions/{sub}`.\n\n\x0f\n\x05\x04\x1b\x02\0\x04\x12\x06\xda\x05\ - \x02\xd7\x05\x1c\n\r\n\x05\x04\x1b\x02\0\x05\x12\x04\xda\x05\x02\x08\n\r\ - \n\x05\x04\x1b\x02\0\x01\x12\x04\xda\x05\t\x15\n\r\n\x05\x04\x1b\x02\0\ - \x03\x12\x04\xda\x05\x18\x19\n\x9e\x01\n\x04\x04\x1b\x02\x01\x12\x04\xde\ - \x05\x02\x1e\x1a\x8f\x01\x20The\x20acknowledgment\x20ID\x20for\x20the\ - \x20messages\x20being\x20acknowledged\x20that\x20was\x20returned\n\x20by\ - \x20the\x20Pub/Sub\x20system\x20in\x20the\x20`Pull`\x20response.\x20Must\ - \x20not\x20be\x20empty.\n\n\r\n\x05\x04\x1b\x02\x01\x04\x12\x04\xde\x05\ - \x02\n\n\r\n\x05\x04\x1b\x02\x01\x05\x12\x04\xde\x05\x0b\x11\n\r\n\x05\ - \x04\x1b\x02\x01\x01\x12\x04\xde\x05\x12\x19\n\r\n\x05\x04\x1b\x02\x01\ - \x03\x12\x04\xde\x05\x1c\x1d\n\xe1\x01\n\x02\x04\x1c\x12\x06\xe4\x05\0\ - \x8b\x06\x01\x1a\xd2\x01\x20Request\x20for\x20the\x20`StreamingPull`\x20\ - streaming\x20RPC\x20method.\x20This\x20request\x20is\x20used\x20to\n\x20\ - establish\x20the\x20initial\x20stream\x20as\x20well\x20as\x20to\x20strea\ - m\x20acknowledgements\x20and\x20ack\n\x20deadline\x20modifications\x20fr\ - om\x20the\x20client\x20to\x20the\x20server.\n\n\x0b\n\x03\x04\x1c\x01\ - \x12\x04\xe4\x05\x08\x1c\n\xfc\x01\n\x04\x04\x1c\x02\0\x12\x04\xe9\x05\ - \x02\x1a\x1a\xed\x01\x20The\x20subscription\x20for\x20which\x20to\x20ini\ - tialize\x20the\x20new\x20stream.\x20This\x20must\x20be\n\x20provided\x20\ - in\x20the\x20first\x20request\x20on\x20the\x20stream,\x20and\x20must\x20\ - not\x20be\x20set\x20in\n\x20subsequent\x20requests\x20from\x20client\x20\ - to\x20server.\n\x20Format\x20is\x20`projects/{project}/subscriptions/{su\ - b}`.\n\n\x0f\n\x05\x04\x1c\x02\0\x04\x12\x06\xe9\x05\x02\xe4\x05\x1e\n\r\ - \n\x05\x04\x1c\x02\0\x05\x12\x04\xe9\x05\x02\x08\n\r\n\x05\x04\x1c\x02\0\ - \x01\x12\x04\xe9\x05\t\x15\n\r\n\x05\x04\x1c\x02\0\x03\x12\x04\xe9\x05\ - \x18\x19\n\x85\x03\n\x04\x04\x1c\x02\x01\x12\x04\xf0\x05\x02\x1e\x1a\xf6\ - \x02\x20List\x20of\x20acknowledgement\x20IDs\x20for\x20acknowledging\x20\ - previously\x20received\x20messages\n\x20(received\x20on\x20this\x20strea\ - m\x20or\x20a\x20different\x20stream).\x20If\x20an\x20ack\x20ID\x20has\ - \x20expired,\n\x20the\x20corresponding\x20message\x20may\x20be\x20redeli\ - vered\x20later.\x20Acknowledging\x20a\x20message\n\x20more\x20than\x20on\ - ce\x20will\x20not\x20result\x20in\x20an\x20error.\x20If\x20the\x20acknow\ - ledgement\x20ID\x20is\n\x20malformed,\x20the\x20stream\x20will\x20be\x20\ - aborted\x20with\x20status\x20`INVALID_ARGUMENT`.\n\n\r\n\x05\x04\x1c\x02\ - \x01\x04\x12\x04\xf0\x05\x02\n\n\r\n\x05\x04\x1c\x02\x01\x05\x12\x04\xf0\ - \x05\x0b\x11\n\r\n\x05\x04\x1c\x02\x01\x01\x12\x04\xf0\x05\x12\x19\n\r\n\ - \x05\x04\x1c\x02\x01\x03\x12\x04\xf0\x05\x1c\x1d\n\x89\x06\n\x04\x04\x1c\ - \x02\x02\x12\x04\xfd\x05\x02-\x1a\xfa\x05\x20The\x20list\x20of\x20new\ - \x20ack\x20deadlines\x20for\x20the\x20IDs\x20listed\x20in\n\x20`modify_d\ - eadline_ack_ids`.\x20The\x20size\x20of\x20this\x20list\x20must\x20be\x20\ - the\x20same\x20as\x20the\n\x20size\x20of\x20`modify_deadline_ack_ids`.\ - \x20If\x20it\x20differs\x20the\x20stream\x20will\x20be\x20aborted\n\x20w\ - ith\x20`INVALID_ARGUMENT`.\x20Each\x20element\x20in\x20this\x20list\x20i\ - s\x20applied\x20to\x20the\n\x20element\x20in\x20the\x20same\x20position\ - \x20in\x20`modify_deadline_ack_ids`.\x20The\x20new\x20ack\n\x20deadline\ - \x20is\x20with\x20respect\x20to\x20the\x20time\x20this\x20request\x20was\ - \x20sent\x20to\x20the\x20Pub/Sub\n\x20system.\x20Must\x20be\x20>=\x200.\ - \x20For\x20example,\x20if\x20the\x20value\x20is\x2010,\x20the\x20new\x20\ - ack\x20deadline\n\x20will\x20expire\x2010\x20seconds\x20after\x20this\ - \x20request\x20is\x20received.\x20If\x20the\x20value\x20is\x200,\n\x20th\ - e\x20message\x20is\x20immediately\x20made\x20available\x20for\x20another\ - \x20streaming\x20or\n\x20non-streaming\x20pull\x20request.\x20If\x20the\ - \x20value\x20is\x20<\x200\x20(an\x20error),\x20the\x20stream\x20will\n\ - \x20be\x20aborted\x20with\x20status\x20`INVALID_ARGUMENT`.\n\n\r\n\x05\ - \x04\x1c\x02\x02\x04\x12\x04\xfd\x05\x02\n\n\r\n\x05\x04\x1c\x02\x02\x05\ - \x12\x04\xfd\x05\x0b\x10\n\r\n\x05\x04\x1c\x02\x02\x01\x12\x04\xfd\x05\ - \x11(\n\r\n\x05\x04\x1c\x02\x02\x03\x12\x04\xfd\x05+,\n\xc8\x02\n\x04\ - \x04\x1c\x02\x03\x12\x04\x84\x06\x02.\x1a\xb9\x02\x20List\x20of\x20ackno\ - wledgement\x20IDs\x20whose\x20deadline\x20will\x20be\x20modified\x20base\ - d\x20on\x20the\n\x20corresponding\x20element\x20in\x20`modify_deadline_s\ - econds`.\x20This\x20field\x20can\x20be\x20used\n\x20to\x20indicate\x20th\ - at\x20more\x20time\x20is\x20needed\x20to\x20process\x20a\x20message\x20b\ - y\x20the\n\x20subscriber,\x20or\x20to\x20make\x20the\x20message\x20avail\ - able\x20for\x20redelivery\x20if\x20the\n\x20processing\x20was\x20interru\ - pted.\n\n\r\n\x05\x04\x1c\x02\x03\x04\x12\x04\x84\x06\x02\n\n\r\n\x05\ - \x04\x1c\x02\x03\x05\x12\x04\x84\x06\x0b\x11\n\r\n\x05\x04\x1c\x02\x03\ - \x01\x12\x04\x84\x06\x12)\n\r\n\x05\x04\x1c\x02\x03\x03\x12\x04\x84\x06,\ - -\n\xb4\x02\n\x04\x04\x1c\x02\x04\x12\x04\x8a\x06\x02(\x1a\xa5\x02\x20Th\ - e\x20ack\x20deadline\x20to\x20use\x20for\x20the\x20stream.\x20This\x20mu\ - st\x20be\x20provided\x20in\x20the\n\x20first\x20request\x20on\x20the\x20\ - stream,\x20but\x20it\x20can\x20also\x20be\x20updated\x20on\x20subsequent\ - \n\x20requests\x20from\x20client\x20to\x20server.\x20The\x20minimum\x20d\ - eadline\x20you\x20can\x20specify\x20is\x2010\n\x20seconds.\x20The\x20max\ - imum\x20deadline\x20you\x20can\x20specify\x20is\x20600\x20seconds\x20(10\ - \x20minutes).\n\n\x0f\n\x05\x04\x1c\x02\x04\x04\x12\x06\x8a\x06\x02\x84\ - \x06.\n\r\n\x05\x04\x1c\x02\x04\x05\x12\x04\x8a\x06\x02\x07\n\r\n\x05\ - \x04\x1c\x02\x04\x01\x12\x04\x8a\x06\x08#\n\r\n\x05\x04\x1c\x02\x04\x03\ - \x12\x04\x8a\x06&'\n\x81\x01\n\x02\x04\x1d\x12\x06\x8f\x06\0\x92\x06\x01\ - \x1as\x20Response\x20for\x20the\x20`StreamingPull`\x20method.\x20This\ - \x20response\x20is\x20used\x20to\x20stream\n\x20messages\x20from\x20the\ - \x20server\x20to\x20the\x20client.\n\n\x0b\n\x03\x04\x1d\x01\x12\x04\x8f\ - \x06\x08\x1d\nB\n\x04\x04\x1d\x02\0\x12\x04\x91\x06\x021\x1a4\x20Receive\ - d\x20Pub/Sub\x20messages.\x20This\x20will\x20not\x20be\x20empty.\n\n\r\n\ - \x05\x04\x1d\x02\0\x04\x12\x04\x91\x06\x02\n\n\r\n\x05\x04\x1d\x02\0\x06\ - \x12\x04\x91\x06\x0b\x1a\n\r\n\x05\x04\x1d\x02\0\x01\x12\x04\x91\x06\x1b\ - ,\n\r\n\x05\x04\x1d\x02\0\x03\x12\x04\x91\x06/0\n\x93\x02\n\x02\x04\x1e\ - \x12\x06\x98\x06\0\xae\x06\x01\x1a\x84\x02\x20Request\x20for\x20the\x20`\ - CreateSnapshot`\x20method.

\n\x20ALPHA:\x20This\x20feature\ - \x20is\x20part\x20of\x20an\x20alpha\x20release.\x20This\x20API\x20might\ - \x20be\x20changed\x20in\n\x20backward-incompatible\x20ways\x20and\x20is\ - \x20not\x20recommended\x20for\x20production\x20use.\n\x20It\x20is\x20not\ - \x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.\n\n\x0b\ - \n\x03\x04\x1e\x01\x12\x04\x98\x06\x08\x1d\n\x89\x03\n\x04\x04\x1e\x02\0\ - \x12\x04\x9f\x06\x02\x12\x1a\xfa\x02\x20Optional\x20user-provided\x20nam\ - e\x20for\x20this\x20snapshot.\n\x20If\x20the\x20name\x20is\x20not\x20pro\ - vided\x20in\x20the\x20request,\x20the\x20server\x20will\x20assign\x20a\ - \x20random\n\x20name\x20for\x20this\x20snapshot\x20on\x20the\x20same\x20\ - project\x20as\x20the\x20subscription.\n\x20Note\x20that\x20for\x20REST\ - \x20API\x20requests,\x20you\x20must\x20specify\x20a\x20name.\x20\x20See\ - \x20the\n\x20resource\ - \x20name\x20rules.\n\x20Format\x20is\x20`projects/{project}/snapshot\ - s/{snap}`.\n\n\x0f\n\x05\x04\x1e\x02\0\x04\x12\x06\x9f\x06\x02\x98\x06\ - \x1f\n\r\n\x05\x04\x1e\x02\0\x05\x12\x04\x9f\x06\x02\x08\n\r\n\x05\x04\ - \x1e\x02\0\x01\x12\x04\x9f\x06\t\r\n\r\n\x05\x04\x1e\x02\0\x03\x12\x04\ - \x9f\x06\x10\x11\n\xad\x04\n\x04\x04\x1e\x02\x01\x12\x04\xaa\x06\x02\x1a\ - \x1a\x9e\x04\x20The\x20subscription\x20whose\x20backlog\x20the\x20snapsh\ - ot\x20retains.\n\x20Specifically,\x20the\x20created\x20snapshot\x20is\ - \x20guaranteed\x20to\x20retain:\n\x20\x20(a)\x20The\x20existing\x20backl\ - og\x20on\x20the\x20subscription.\x20More\x20precisely,\x20this\x20is\n\ - \x20\x20\x20\x20\x20\x20defined\x20as\x20the\x20messages\x20in\x20the\ - \x20subscription's\x20backlog\x20that\x20are\n\x20\x20\x20\x20\x20\x20un\ - acknowledged\x20upon\x20the\x20successful\x20completion\x20of\x20the\n\ - \x20\x20\x20\x20\x20\x20`CreateSnapshot`\x20request;\x20as\x20well\x20as\ - :\n\x20\x20(b)\x20Any\x20messages\x20published\x20to\x20the\x20subscript\ - ion's\x20topic\x20following\x20the\n\x20\x20\x20\x20\x20\x20successful\ - \x20completion\x20of\x20the\x20CreateSnapshot\x20request.\n\x20Format\ - \x20is\x20`projects/{project}/subscriptions/{sub}`.\n\n\x0f\n\x05\x04\ - \x1e\x02\x01\x04\x12\x06\xaa\x06\x02\x9f\x06\x12\n\r\n\x05\x04\x1e\x02\ - \x01\x05\x12\x04\xaa\x06\x02\x08\n\r\n\x05\x04\x1e\x02\x01\x01\x12\x04\ - \xaa\x06\t\x15\n\r\n\x05\x04\x1e\x02\x01\x03\x12\x04\xaa\x06\x18\x19\nT\ - \n\x04\x04\x1e\x02\x02\x12\x04\xad\x06\x02!\x1aF\x20See\x20\x20Creating\x20and\x20managing\x20labels.\n\n\ - \x0f\n\x05\x04\x1e\x02\x02\x04\x12\x06\xad\x06\x02\xaa\x06\x1a\n\r\n\x05\ - \x04\x1e\x02\x02\x06\x12\x04\xad\x06\x02\x15\n\r\n\x05\x04\x1e\x02\x02\ - \x01\x12\x04\xad\x06\x16\x1c\n\r\n\x05\x04\x1e\x02\x02\x03\x12\x04\xad\ - \x06\x1f\x20\n\x91\x02\n\x02\x04\x1f\x12\x06\xb4\x06\0\xbb\x06\x01\x1a\ - \x82\x02\x20Request\x20for\x20the\x20UpdateSnapshot\x20method.

\n\ - \x20ALPHA:\x20This\x20feature\x20is\x20part\x20of\x20an\x20alpha\ - \x20release.\x20This\x20API\x20might\x20be\n\x20changed\x20in\x20backwar\ - d-incompatible\x20ways\x20and\x20is\x20not\x20recommended\x20for\x20prod\ - uction\n\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\ - \x20deprecation\x20policy.\n\n\x0b\n\x03\x04\x1f\x01\x12\x04\xb4\x06\x08\ - \x1d\n,\n\x04\x04\x1f\x02\0\x12\x04\xb6\x06\x02\x18\x1a\x1e\x20The\x20up\ - dated\x20snapshot\x20object.\n\n\x0f\n\x05\x04\x1f\x02\0\x04\x12\x06\xb6\ - \x06\x02\xb4\x06\x1f\n\r\n\x05\x04\x1f\x02\0\x06\x12\x04\xb6\x06\x02\n\n\ - \r\n\x05\x04\x1f\x02\0\x01\x12\x04\xb6\x06\x0b\x13\n\r\n\x05\x04\x1f\x02\ - \0\x03\x12\x04\xb6\x06\x16\x17\nl\n\x04\x04\x1f\x02\x01\x12\x04\xba\x06\ - \x02,\x1a^\x20Indicates\x20which\x20fields\x20in\x20the\x20provided\x20s\ - napshot\x20to\x20update.\n\x20Must\x20be\x20specified\x20and\x20non-empt\ - y.\n\n\x0f\n\x05\x04\x1f\x02\x01\x04\x12\x06\xba\x06\x02\xb6\x06\x18\n\r\ - \n\x05\x04\x1f\x02\x01\x06\x12\x04\xba\x06\x02\x1b\n\r\n\x05\x04\x1f\x02\ - \x01\x01\x12\x04\xba\x06\x1c'\n\r\n\x05\x04\x1f\x02\x01\x03\x12\x04\xba\ - \x06*+\n\xff\x01\n\x02\x04\x20\x12\x06\xc1\x06\0\xd6\x06\x01\x1a\xf0\x01\ - \x20A\x20snapshot\x20resource.

\n\x20ALPHA:\x20This\x20fea\ - ture\x20is\x20part\x20of\x20an\x20alpha\x20release.\x20This\x20API\x20mi\ - ght\x20be\n\x20changed\x20in\x20backward-incompatible\x20ways\x20and\x20\ - is\x20not\x20recommended\x20for\x20production\n\x20use.\x20It\x20is\x20n\ - ot\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.\n\n\ - \x0b\n\x03\x04\x20\x01\x12\x04\xc1\x06\x08\x10\n)\n\x04\x04\x20\x02\0\ - \x12\x04\xc3\x06\x02\x12\x1a\x1b\x20The\x20name\x20of\x20the\x20snapshot\ - .\n\n\x0f\n\x05\x04\x20\x02\0\x04\x12\x06\xc3\x06\x02\xc1\x06\x12\n\r\n\ - \x05\x04\x20\x02\0\x05\x12\x04\xc3\x06\x02\x08\n\r\n\x05\x04\x20\x02\0\ - \x01\x12\x04\xc3\x06\t\r\n\r\n\x05\x04\x20\x02\0\x03\x12\x04\xc3\x06\x10\ - \x11\nU\n\x04\x04\x20\x02\x01\x12\x04\xc6\x06\x02\x13\x1aG\x20The\x20nam\ - e\x20of\x20the\x20topic\x20from\x20which\x20this\x20snapshot\x20is\x20re\ - taining\x20messages.\n\n\x0f\n\x05\x04\x20\x02\x01\x04\x12\x06\xc6\x06\ - \x02\xc3\x06\x12\n\r\n\x05\x04\x20\x02\x01\x05\x12\x04\xc6\x06\x02\x08\n\ - \r\n\x05\x04\x20\x02\x01\x01\x12\x04\xc6\x06\t\x0e\n\r\n\x05\x04\x20\x02\ - \x01\x03\x12\x04\xc6\x06\x11\x12\n\xd4\x05\n\x04\x04\x20\x02\x02\x12\x04\ - \xd2\x06\x02,\x1a\xc5\x05\x20The\x20snapshot\x20is\x20guaranteed\x20to\ - \x20exist\x20up\x20until\x20this\x20time.\n\x20A\x20newly-created\x20sna\ - pshot\x20expires\x20no\x20later\x20than\x207\x20days\x20from\x20the\x20t\ - ime\x20of\x20its\n\x20creation.\x20Its\x20exact\x20lifetime\x20is\x20det\ - ermined\x20at\x20creation\x20by\x20the\x20existing\n\x20backlog\x20in\ - \x20the\x20source\x20subscription.\x20Specifically,\x20the\x20lifetime\ - \x20of\x20the\n\x20snapshot\x20is\x20`7\x20days\x20-\x20(age\x20of\x20ol\ - dest\x20unacked\x20message\x20in\x20the\x20subscription)`.\n\x20For\x20e\ - xample,\x20consider\x20a\x20subscription\x20whose\x20oldest\x20unacked\ - \x20message\x20is\x203\x20days\n\x20old.\x20If\x20a\x20snapshot\x20is\ - \x20created\x20from\x20this\x20subscription,\x20the\x20snapshot\x20--\ - \x20which\n\x20will\x20always\x20capture\x20this\x203-day-old\x20backlog\ - \x20as\x20long\x20as\x20the\x20snapshot\n\x20exists\x20--\x20will\x20exp\ - ire\x20in\x204\x20days.\x20The\x20service\x20will\x20refuse\x20to\x20cre\ - ate\x20a\n\x20snapshot\x20that\x20would\x20expire\x20in\x20less\x20than\ - \x201\x20hour\x20after\x20creation.\n\n\x0f\n\x05\x04\x20\x02\x02\x04\ - \x12\x06\xd2\x06\x02\xc6\x06\x13\n\r\n\x05\x04\x20\x02\x02\x06\x12\x04\ - \xd2\x06\x02\x1b\n\r\n\x05\x04\x20\x02\x02\x01\x12\x04\xd2\x06\x1c'\n\r\ - \n\x05\x04\x20\x02\x02\x03\x12\x04\xd2\x06*+\nT\n\x04\x04\x20\x02\x03\ - \x12\x04\xd5\x06\x02!\x1aF\x20See\x20\ - \x20Creating\x20and\x20managing\x20labels.\n\n\x0f\n\x05\x04\x20\x02\ - \x03\x04\x12\x06\xd5\x06\x02\xd2\x06,\n\r\n\x05\x04\x20\x02\x03\x06\x12\ - \x04\xd5\x06\x02\x15\n\r\n\x05\x04\x20\x02\x03\x01\x12\x04\xd5\x06\x16\ - \x1c\n\r\n\x05\x04\x20\x02\x03\x03\x12\x04\xd5\x06\x1f\x20\n\x8e\x02\n\ - \x02\x04!\x12\x06\xdc\x06\0\xe0\x06\x01\x1a\xff\x01\x20Request\x20for\ - \x20the\x20GetSnapshot\x20method.

\n\x20ALPHA:\x20This\x20\ - feature\x20is\x20part\x20of\x20an\x20alpha\x20release.\x20This\x20API\ - \x20might\x20be\n\x20changed\x20in\x20backward-incompatible\x20ways\x20a\ - nd\x20is\x20not\x20recommended\x20for\x20production\n\x20use.\x20It\x20i\ - s\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.\ - \n\n\x0b\n\x03\x04!\x01\x12\x04\xdc\x06\x08\x1a\nb\n\x04\x04!\x02\0\x12\ - \x04\xdf\x06\x02\x16\x1aT\x20The\x20name\x20of\x20the\x20snapshot\x20to\ - \x20get.\n\x20Format\x20is\x20`projects/{project}/snapshots/{snap}`.\n\n\ - \x0f\n\x05\x04!\x02\0\x04\x12\x06\xdf\x06\x02\xdc\x06\x1c\n\r\n\x05\x04!\ - \x02\0\x05\x12\x04\xdf\x06\x02\x08\n\r\n\x05\x04!\x02\0\x01\x12\x04\xdf\ - \x06\t\x11\n\r\n\x05\x04!\x02\0\x03\x12\x04\xdf\x06\x14\x15\n\x92\x02\n\ - \x02\x04\"\x12\x06\xe6\x06\0\xf2\x06\x01\x1a\x83\x02\x20Request\x20for\ - \x20the\x20`ListSnapshots`\x20method.

\n\x20ALPHA:\x20This\ - \x20feature\x20is\x20part\x20of\x20an\x20alpha\x20release.\x20This\x20AP\ - I\x20might\x20be\n\x20changed\x20in\x20backward-incompatible\x20ways\x20\ - and\x20is\x20not\x20recommended\x20for\x20production\n\x20use.\x20It\x20\ - is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.\ - \n\n\x0b\n\x03\x04\"\x01\x12\x04\xe6\x06\x08\x1c\ng\n\x04\x04\"\x02\0\ - \x12\x04\xe9\x06\x02\x15\x1aY\x20The\x20name\x20of\x20the\x20project\x20\ - in\x20which\x20to\x20list\x20snapshots.\n\x20Format\x20is\x20`projects/{\ - project-id}`.\n\n\x0f\n\x05\x04\"\x02\0\x04\x12\x06\xe9\x06\x02\xe6\x06\ - \x1e\n\r\n\x05\x04\"\x02\0\x05\x12\x04\xe9\x06\x02\x08\n\r\n\x05\x04\"\ - \x02\0\x01\x12\x04\xe9\x06\t\x10\n\r\n\x05\x04\"\x02\0\x03\x12\x04\xe9\ - \x06\x13\x14\n6\n\x04\x04\"\x02\x01\x12\x04\xec\x06\x02\x16\x1a(\x20Maxi\ - mum\x20number\x20of\x20snapshots\x20to\x20return.\n\n\x0f\n\x05\x04\"\ - \x02\x01\x04\x12\x06\xec\x06\x02\xe9\x06\x15\n\r\n\x05\x04\"\x02\x01\x05\ - \x12\x04\xec\x06\x02\x07\n\r\n\x05\x04\"\x02\x01\x01\x12\x04\xec\x06\x08\ - \x11\n\r\n\x05\x04\"\x02\x01\x03\x12\x04\xec\x06\x14\x15\n\xca\x01\n\x04\ - \x04\"\x02\x02\x12\x04\xf1\x06\x02\x18\x1a\xbb\x01\x20The\x20value\x20re\ - turned\x20by\x20the\x20last\x20`ListSnapshotsResponse`;\x20indicates\x20\ - that\x20this\n\x20is\x20a\x20continuation\x20of\x20a\x20prior\x20`ListSn\ - apshots`\x20call,\x20and\x20that\x20the\x20system\n\x20should\x20return\ - \x20the\x20next\x20page\x20of\x20data.\n\n\x0f\n\x05\x04\"\x02\x02\x04\ - \x12\x06\xf1\x06\x02\xec\x06\x16\n\r\n\x05\x04\"\x02\x02\x05\x12\x04\xf1\ - \x06\x02\x08\n\r\n\x05\x04\"\x02\x02\x01\x12\x04\xf1\x06\t\x13\n\r\n\x05\ - \x04\"\x02\x02\x03\x12\x04\xf1\x06\x16\x17\n\x93\x02\n\x02\x04#\x12\x06\ - \xf8\x06\0\xff\x06\x01\x1a\x84\x02\x20Response\x20for\x20the\x20`ListSna\ - pshots`\x20method.

\n\x20ALPHA:\x20This\x20feature\x20is\ - \x20part\x20of\x20an\x20alpha\x20release.\x20This\x20API\x20might\x20be\ - \n\x20changed\x20in\x20backward-incompatible\x20ways\x20and\x20is\x20not\ - \x20recommended\x20for\x20production\n\x20use.\x20It\x20is\x20not\x20sub\ - ject\x20to\x20any\x20SLA\x20or\x20deprecation\x20policy.\n\n\x0b\n\x03\ - \x04#\x01\x12\x04\xf8\x06\x08\x1d\n(\n\x04\x04#\x02\0\x12\x04\xfa\x06\ - \x02\"\x1a\x1a\x20The\x20resulting\x20snapshots.\n\n\r\n\x05\x04#\x02\0\ - \x04\x12\x04\xfa\x06\x02\n\n\r\n\x05\x04#\x02\0\x06\x12\x04\xfa\x06\x0b\ - \x13\n\r\n\x05\x04#\x02\0\x01\x12\x04\xfa\x06\x14\x1d\n\r\n\x05\x04#\x02\ - \0\x03\x12\x04\xfa\x06\x20!\n\x9e\x01\n\x04\x04#\x02\x01\x12\x04\xfe\x06\ - \x02\x1d\x1a\x8f\x01\x20If\x20not\x20empty,\x20indicates\x20that\x20ther\ - e\x20may\x20be\x20more\x20snapshot\x20that\x20match\x20the\n\x20request;\ - \x20this\x20value\x20should\x20be\x20passed\x20in\x20a\x20new\x20`ListSn\ - apshotsRequest`.\n\n\x0f\n\x05\x04#\x02\x01\x04\x12\x06\xfe\x06\x02\xfa\ - \x06\"\n\r\n\x05\x04#\x02\x01\x05\x12\x04\xfe\x06\x02\x08\n\r\n\x05\x04#\ - \x02\x01\x01\x12\x04\xfe\x06\t\x18\n\r\n\x05\x04#\x02\x01\x03\x12\x04\ - \xfe\x06\x1b\x1c\n\x93\x02\n\x02\x04$\x12\x06\x85\x07\0\x89\x07\x01\x1a\ - \x84\x02\x20Request\x20for\x20the\x20`DeleteSnapshot`\x20method.

\ - \n\x20ALPHA:\x20This\x20feature\x20is\x20part\x20of\x20an\x20alph\ - a\x20release.\x20This\x20API\x20might\x20be\n\x20changed\x20in\x20backwa\ - rd-incompatible\x20ways\x20and\x20is\x20not\x20recommended\x20for\x20pro\ - duction\n\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20o\ - r\x20deprecation\x20policy.\n\n\x0b\n\x03\x04$\x01\x12\x04\x85\x07\x08\ - \x1d\ne\n\x04\x04$\x02\0\x12\x04\x88\x07\x02\x16\x1aW\x20The\x20name\x20\ - of\x20the\x20snapshot\x20to\x20delete.\n\x20Format\x20is\x20`projects/{p\ - roject}/snapshots/{snap}`.\n\n\x0f\n\x05\x04$\x02\0\x04\x12\x06\x88\x07\ - \x02\x85\x07\x1f\n\r\n\x05\x04$\x02\0\x05\x12\x04\x88\x07\x02\x08\n\r\n\ - \x05\x04$\x02\0\x01\x12\x04\x88\x07\t\x11\n\r\n\x05\x04$\x02\0\x03\x12\ - \x04\x88\x07\x14\x15\n\x89\x02\n\x02\x04%\x12\x06\x8f\x07\0\xa6\x07\x01\ - \x1a\xfa\x01\x20Request\x20for\x20the\x20`Seek`\x20method.

\n\x20\ - ALPHA:\x20This\x20feature\x20is\x20part\x20of\x20an\x20alpha\x20r\ - elease.\x20This\x20API\x20might\x20be\n\x20changed\x20in\x20backward-inc\ - ompatible\x20ways\x20and\x20is\x20not\x20recommended\x20for\x20productio\ - n\n\x20use.\x20It\x20is\x20not\x20subject\x20to\x20any\x20SLA\x20or\x20d\ - eprecation\x20policy.\n\n\x0b\n\x03\x04%\x01\x12\x04\x8f\x07\x08\x13\n+\ - \n\x04\x04%\x02\0\x12\x04\x91\x07\x02\x1a\x1a\x1d\x20The\x20subscription\ - \x20to\x20affect.\n\n\x0f\n\x05\x04%\x02\0\x04\x12\x06\x91\x07\x02\x8f\ - \x07\x15\n\r\n\x05\x04%\x02\0\x05\x12\x04\x91\x07\x02\x08\n\r\n\x05\x04%\ - \x02\0\x01\x12\x04\x91\x07\t\x15\n\r\n\x05\x04%\x02\0\x03\x12\x04\x91\ - \x07\x18\x19\n\x0e\n\x04\x04%\x08\0\x12\x06\x93\x07\x02\xa5\x07\x03\n\r\ - \n\x05\x04%\x08\0\x01\x12\x04\x93\x07\x08\x0e\n\xbe\x05\n\x04\x04%\x02\ - \x01\x12\x04\x9f\x07\x04'\x1a\xaf\x05\x20The\x20time\x20to\x20seek\x20to\ - .\n\x20Messages\x20retained\x20in\x20the\x20subscription\x20that\x20were\ - \x20published\x20before\x20this\n\x20time\x20are\x20marked\x20as\x20ackn\ - owledged,\x20and\x20messages\x20retained\x20in\x20the\n\x20subscription\ - \x20that\x20were\x20published\x20after\x20this\x20time\x20are\x20marked\ - \x20as\n\x20unacknowledged.\x20Note\x20that\x20this\x20operation\x20affe\ - cts\x20only\x20those\x20messages\n\x20retained\x20in\x20the\x20subscript\ - ion\x20(configured\x20by\x20the\x20combination\x20of\n\x20`message_reten\ - tion_duration`\x20and\x20`retain_acked_messages`).\x20For\x20example,\n\ - \x20if\x20`time`\x20corresponds\x20to\x20a\x20point\x20before\x20the\x20\ - message\x20retention\n\x20window\x20(or\x20to\x20a\x20point\x20before\ - \x20the\x20system's\x20notion\x20of\x20the\x20subscription\n\x20creation\ - \x20time),\x20only\x20retained\x20messages\x20will\x20be\x20marked\x20as\ - \x20unacknowledged,\n\x20and\x20already-expunged\x20messages\x20will\x20\ - not\x20be\x20restored.\n\n\r\n\x05\x04%\x02\x01\x06\x12\x04\x9f\x07\x04\ - \x1d\n\r\n\x05\x04%\x02\x01\x01\x12\x04\x9f\x07\x1e\"\n\r\n\x05\x04%\x02\ - \x01\x03\x12\x04\x9f\x07%&\n\xa8\x01\n\x04\x04%\x02\x02\x12\x04\xa4\x07\ - \x04\x18\x1a\x99\x01\x20The\x20snapshot\x20to\x20seek\x20to.\x20The\x20s\ - napshot's\x20topic\x20must\x20be\x20the\x20same\x20as\x20that\x20of\n\ - \x20the\x20provided\x20subscription.\n\x20Format\x20is\x20`projects/{pro\ - ject}/snapshots/{snap}`.\n\n\r\n\x05\x04%\x02\x02\x05\x12\x04\xa4\x07\ - \x04\n\n\r\n\x05\x04%\x02\x02\x01\x12\x04\xa4\x07\x0b\x13\n\r\n\x05\x04%\ - \x02\x02\x03\x12\x04\xa4\x07\x16\x17\nH\n\x02\x04&\x12\x06\xa9\x07\0\xab\ - \x07\x01\x1a:\x20Response\x20for\x20the\x20`Seek`\x20method\x20(this\x20\ - response\x20is\x20empty).\n\n\x0b\n\x03\x04&\x01\x12\x04\xa9\x07\x08\x14\ - b\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/pubsub_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/pubsub_grpc.rs deleted file mode 100644 index 821777c330..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1/pubsub_grpc.rs +++ /dev/null @@ -1,731 +0,0 @@ -// This file is generated. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] - -const METHOD_PUBLISHER_CREATE_TOPIC: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Publisher/CreateTopic", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_UPDATE_TOPIC: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Publisher/UpdateTopic", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_PUBLISH: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Publisher/Publish", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_GET_TOPIC: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Publisher/GetTopic", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_LIST_TOPICS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Publisher/ListTopics", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_LIST_TOPIC_SUBSCRIPTIONS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Publisher/ListTopicSubscriptions", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_LIST_TOPIC_SNAPSHOTS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Publisher/ListTopicSnapshots", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_DELETE_TOPIC: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Publisher/DeleteTopic", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -#[derive(Clone)] -pub struct PublisherClient { - client: ::grpcio::Client, -} - -impl PublisherClient { - pub fn new(channel: ::grpcio::Channel) -> Self { - PublisherClient { - client: ::grpcio::Client::new(channel), - } - } - - pub fn create_topic_opt(&self, req: &super::pubsub::Topic, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_CREATE_TOPIC, req, opt) - } - - pub fn create_topic(&self, req: &super::pubsub::Topic) -> ::grpcio::Result { - self.create_topic_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_topic_async_opt(&self, req: &super::pubsub::Topic, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_CREATE_TOPIC, req, opt) - } - - pub fn create_topic_async(&self, req: &super::pubsub::Topic) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_topic_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_topic_opt(&self, req: &super::pubsub::UpdateTopicRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_UPDATE_TOPIC, req, opt) - } - - pub fn update_topic(&self, req: &super::pubsub::UpdateTopicRequest) -> ::grpcio::Result { - self.update_topic_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_topic_async_opt(&self, req: &super::pubsub::UpdateTopicRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_UPDATE_TOPIC, req, opt) - } - - pub fn update_topic_async(&self, req: &super::pubsub::UpdateTopicRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.update_topic_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn publish_opt(&self, req: &super::pubsub::PublishRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_PUBLISH, req, opt) - } - - pub fn publish(&self, req: &super::pubsub::PublishRequest) -> ::grpcio::Result { - self.publish_opt(req, ::grpcio::CallOption::default()) - } - - pub fn publish_async_opt(&self, req: &super::pubsub::PublishRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_PUBLISH, req, opt) - } - - pub fn publish_async(&self, req: &super::pubsub::PublishRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.publish_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_topic_opt(&self, req: &super::pubsub::GetTopicRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_GET_TOPIC, req, opt) - } - - pub fn get_topic(&self, req: &super::pubsub::GetTopicRequest) -> ::grpcio::Result { - self.get_topic_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_topic_async_opt(&self, req: &super::pubsub::GetTopicRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_GET_TOPIC, req, opt) - } - - pub fn get_topic_async(&self, req: &super::pubsub::GetTopicRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_topic_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_topics_opt(&self, req: &super::pubsub::ListTopicsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_LIST_TOPICS, req, opt) - } - - pub fn list_topics(&self, req: &super::pubsub::ListTopicsRequest) -> ::grpcio::Result { - self.list_topics_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_topics_async_opt(&self, req: &super::pubsub::ListTopicsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_LIST_TOPICS, req, opt) - } - - pub fn list_topics_async(&self, req: &super::pubsub::ListTopicsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_topics_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_topic_subscriptions_opt(&self, req: &super::pubsub::ListTopicSubscriptionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_LIST_TOPIC_SUBSCRIPTIONS, req, opt) - } - - pub fn list_topic_subscriptions(&self, req: &super::pubsub::ListTopicSubscriptionsRequest) -> ::grpcio::Result { - self.list_topic_subscriptions_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_topic_subscriptions_async_opt(&self, req: &super::pubsub::ListTopicSubscriptionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_LIST_TOPIC_SUBSCRIPTIONS, req, opt) - } - - pub fn list_topic_subscriptions_async(&self, req: &super::pubsub::ListTopicSubscriptionsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_topic_subscriptions_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_topic_snapshots_opt(&self, req: &super::pubsub::ListTopicSnapshotsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_LIST_TOPIC_SNAPSHOTS, req, opt) - } - - pub fn list_topic_snapshots(&self, req: &super::pubsub::ListTopicSnapshotsRequest) -> ::grpcio::Result { - self.list_topic_snapshots_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_topic_snapshots_async_opt(&self, req: &super::pubsub::ListTopicSnapshotsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_LIST_TOPIC_SNAPSHOTS, req, opt) - } - - pub fn list_topic_snapshots_async(&self, req: &super::pubsub::ListTopicSnapshotsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_topic_snapshots_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_topic_opt(&self, req: &super::pubsub::DeleteTopicRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_DELETE_TOPIC, req, opt) - } - - pub fn delete_topic(&self, req: &super::pubsub::DeleteTopicRequest) -> ::grpcio::Result { - self.delete_topic_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_topic_async_opt(&self, req: &super::pubsub::DeleteTopicRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_DELETE_TOPIC, req, opt) - } - - pub fn delete_topic_async(&self, req: &super::pubsub::DeleteTopicRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_topic_async_opt(req, ::grpcio::CallOption::default()) - } - pub fn spawn(&self, f: F) where F: ::futures::Future + Send + 'static { - self.client.spawn(f) - } -} - -pub trait Publisher { - fn create_topic(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::Topic, sink: ::grpcio::UnarySink); - fn update_topic(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::UpdateTopicRequest, sink: ::grpcio::UnarySink); - fn publish(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::PublishRequest, sink: ::grpcio::UnarySink); - fn get_topic(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::GetTopicRequest, sink: ::grpcio::UnarySink); - fn list_topics(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ListTopicsRequest, sink: ::grpcio::UnarySink); - fn list_topic_subscriptions(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ListTopicSubscriptionsRequest, sink: ::grpcio::UnarySink); - fn list_topic_snapshots(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ListTopicSnapshotsRequest, sink: ::grpcio::UnarySink); - fn delete_topic(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::DeleteTopicRequest, sink: ::grpcio::UnarySink); -} - -pub fn create_publisher(s: S) -> ::grpcio::Service { - let mut builder = ::grpcio::ServiceBuilder::new(); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_CREATE_TOPIC, move |ctx, req, resp| { - instance.create_topic(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_UPDATE_TOPIC, move |ctx, req, resp| { - instance.update_topic(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_PUBLISH, move |ctx, req, resp| { - instance.publish(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_GET_TOPIC, move |ctx, req, resp| { - instance.get_topic(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_LIST_TOPICS, move |ctx, req, resp| { - instance.list_topics(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_LIST_TOPIC_SUBSCRIPTIONS, move |ctx, req, resp| { - instance.list_topic_subscriptions(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_LIST_TOPIC_SNAPSHOTS, move |ctx, req, resp| { - instance.list_topic_snapshots(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_DELETE_TOPIC, move |ctx, req, resp| { - instance.delete_topic(ctx, req, resp) - }); - builder.build() -} - -const METHOD_SUBSCRIBER_CREATE_SUBSCRIPTION: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/CreateSubscription", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_GET_SUBSCRIPTION: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/GetSubscription", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_UPDATE_SUBSCRIPTION: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/UpdateSubscription", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_LIST_SUBSCRIPTIONS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/ListSubscriptions", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_DELETE_SUBSCRIPTION: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/DeleteSubscription", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_MODIFY_ACK_DEADLINE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/ModifyAckDeadline", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_ACKNOWLEDGE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/Acknowledge", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_PULL: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/Pull", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_STREAMING_PULL: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Duplex, - name: "/google.pubsub.v1.Subscriber/StreamingPull", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_MODIFY_PUSH_CONFIG: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/ModifyPushConfig", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_GET_SNAPSHOT: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/GetSnapshot", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_LIST_SNAPSHOTS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/ListSnapshots", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_CREATE_SNAPSHOT: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/CreateSnapshot", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_UPDATE_SNAPSHOT: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/UpdateSnapshot", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_DELETE_SNAPSHOT: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/DeleteSnapshot", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_SEEK: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1.Subscriber/Seek", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -#[derive(Clone)] -pub struct SubscriberClient { - client: ::grpcio::Client, -} - -impl SubscriberClient { - pub fn new(channel: ::grpcio::Channel) -> Self { - SubscriberClient { - client: ::grpcio::Client::new(channel), - } - } - - pub fn create_subscription_opt(&self, req: &super::pubsub::Subscription, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_CREATE_SUBSCRIPTION, req, opt) - } - - pub fn create_subscription(&self, req: &super::pubsub::Subscription) -> ::grpcio::Result { - self.create_subscription_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_subscription_async_opt(&self, req: &super::pubsub::Subscription, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_CREATE_SUBSCRIPTION, req, opt) - } - - pub fn create_subscription_async(&self, req: &super::pubsub::Subscription) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_subscription_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_subscription_opt(&self, req: &super::pubsub::GetSubscriptionRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_GET_SUBSCRIPTION, req, opt) - } - - pub fn get_subscription(&self, req: &super::pubsub::GetSubscriptionRequest) -> ::grpcio::Result { - self.get_subscription_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_subscription_async_opt(&self, req: &super::pubsub::GetSubscriptionRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_GET_SUBSCRIPTION, req, opt) - } - - pub fn get_subscription_async(&self, req: &super::pubsub::GetSubscriptionRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_subscription_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_subscription_opt(&self, req: &super::pubsub::UpdateSubscriptionRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_UPDATE_SUBSCRIPTION, req, opt) - } - - pub fn update_subscription(&self, req: &super::pubsub::UpdateSubscriptionRequest) -> ::grpcio::Result { - self.update_subscription_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_subscription_async_opt(&self, req: &super::pubsub::UpdateSubscriptionRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_UPDATE_SUBSCRIPTION, req, opt) - } - - pub fn update_subscription_async(&self, req: &super::pubsub::UpdateSubscriptionRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.update_subscription_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_subscriptions_opt(&self, req: &super::pubsub::ListSubscriptionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_LIST_SUBSCRIPTIONS, req, opt) - } - - pub fn list_subscriptions(&self, req: &super::pubsub::ListSubscriptionsRequest) -> ::grpcio::Result { - self.list_subscriptions_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_subscriptions_async_opt(&self, req: &super::pubsub::ListSubscriptionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_LIST_SUBSCRIPTIONS, req, opt) - } - - pub fn list_subscriptions_async(&self, req: &super::pubsub::ListSubscriptionsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_subscriptions_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_subscription_opt(&self, req: &super::pubsub::DeleteSubscriptionRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_DELETE_SUBSCRIPTION, req, opt) - } - - pub fn delete_subscription(&self, req: &super::pubsub::DeleteSubscriptionRequest) -> ::grpcio::Result { - self.delete_subscription_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_subscription_async_opt(&self, req: &super::pubsub::DeleteSubscriptionRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_DELETE_SUBSCRIPTION, req, opt) - } - - pub fn delete_subscription_async(&self, req: &super::pubsub::DeleteSubscriptionRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_subscription_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn modify_ack_deadline_opt(&self, req: &super::pubsub::ModifyAckDeadlineRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_MODIFY_ACK_DEADLINE, req, opt) - } - - pub fn modify_ack_deadline(&self, req: &super::pubsub::ModifyAckDeadlineRequest) -> ::grpcio::Result { - self.modify_ack_deadline_opt(req, ::grpcio::CallOption::default()) - } - - pub fn modify_ack_deadline_async_opt(&self, req: &super::pubsub::ModifyAckDeadlineRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_MODIFY_ACK_DEADLINE, req, opt) - } - - pub fn modify_ack_deadline_async(&self, req: &super::pubsub::ModifyAckDeadlineRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.modify_ack_deadline_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn acknowledge_opt(&self, req: &super::pubsub::AcknowledgeRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_ACKNOWLEDGE, req, opt) - } - - pub fn acknowledge(&self, req: &super::pubsub::AcknowledgeRequest) -> ::grpcio::Result { - self.acknowledge_opt(req, ::grpcio::CallOption::default()) - } - - pub fn acknowledge_async_opt(&self, req: &super::pubsub::AcknowledgeRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_ACKNOWLEDGE, req, opt) - } - - pub fn acknowledge_async(&self, req: &super::pubsub::AcknowledgeRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.acknowledge_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn pull_opt(&self, req: &super::pubsub::PullRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_PULL, req, opt) - } - - pub fn pull(&self, req: &super::pubsub::PullRequest) -> ::grpcio::Result { - self.pull_opt(req, ::grpcio::CallOption::default()) - } - - pub fn pull_async_opt(&self, req: &super::pubsub::PullRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_PULL, req, opt) - } - - pub fn pull_async(&self, req: &super::pubsub::PullRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.pull_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn streaming_pull_opt(&self, opt: ::grpcio::CallOption) -> ::grpcio::Result<(::grpcio::ClientDuplexSender, ::grpcio::ClientDuplexReceiver)> { - self.client.duplex_streaming(&METHOD_SUBSCRIBER_STREAMING_PULL, opt) - } - - pub fn streaming_pull(&self) -> ::grpcio::Result<(::grpcio::ClientDuplexSender, ::grpcio::ClientDuplexReceiver)> { - self.streaming_pull_opt(::grpcio::CallOption::default()) - } - - pub fn modify_push_config_opt(&self, req: &super::pubsub::ModifyPushConfigRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_MODIFY_PUSH_CONFIG, req, opt) - } - - pub fn modify_push_config(&self, req: &super::pubsub::ModifyPushConfigRequest) -> ::grpcio::Result { - self.modify_push_config_opt(req, ::grpcio::CallOption::default()) - } - - pub fn modify_push_config_async_opt(&self, req: &super::pubsub::ModifyPushConfigRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_MODIFY_PUSH_CONFIG, req, opt) - } - - pub fn modify_push_config_async(&self, req: &super::pubsub::ModifyPushConfigRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.modify_push_config_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_snapshot_opt(&self, req: &super::pubsub::GetSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_GET_SNAPSHOT, req, opt) - } - - pub fn get_snapshot(&self, req: &super::pubsub::GetSnapshotRequest) -> ::grpcio::Result { - self.get_snapshot_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_snapshot_async_opt(&self, req: &super::pubsub::GetSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_GET_SNAPSHOT, req, opt) - } - - pub fn get_snapshot_async(&self, req: &super::pubsub::GetSnapshotRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_snapshot_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_snapshots_opt(&self, req: &super::pubsub::ListSnapshotsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_LIST_SNAPSHOTS, req, opt) - } - - pub fn list_snapshots(&self, req: &super::pubsub::ListSnapshotsRequest) -> ::grpcio::Result { - self.list_snapshots_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_snapshots_async_opt(&self, req: &super::pubsub::ListSnapshotsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_LIST_SNAPSHOTS, req, opt) - } - - pub fn list_snapshots_async(&self, req: &super::pubsub::ListSnapshotsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_snapshots_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_snapshot_opt(&self, req: &super::pubsub::CreateSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_CREATE_SNAPSHOT, req, opt) - } - - pub fn create_snapshot(&self, req: &super::pubsub::CreateSnapshotRequest) -> ::grpcio::Result { - self.create_snapshot_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_snapshot_async_opt(&self, req: &super::pubsub::CreateSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_CREATE_SNAPSHOT, req, opt) - } - - pub fn create_snapshot_async(&self, req: &super::pubsub::CreateSnapshotRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_snapshot_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_snapshot_opt(&self, req: &super::pubsub::UpdateSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_UPDATE_SNAPSHOT, req, opt) - } - - pub fn update_snapshot(&self, req: &super::pubsub::UpdateSnapshotRequest) -> ::grpcio::Result { - self.update_snapshot_opt(req, ::grpcio::CallOption::default()) - } - - pub fn update_snapshot_async_opt(&self, req: &super::pubsub::UpdateSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_UPDATE_SNAPSHOT, req, opt) - } - - pub fn update_snapshot_async(&self, req: &super::pubsub::UpdateSnapshotRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.update_snapshot_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_snapshot_opt(&self, req: &super::pubsub::DeleteSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_DELETE_SNAPSHOT, req, opt) - } - - pub fn delete_snapshot(&self, req: &super::pubsub::DeleteSnapshotRequest) -> ::grpcio::Result { - self.delete_snapshot_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_snapshot_async_opt(&self, req: &super::pubsub::DeleteSnapshotRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_DELETE_SNAPSHOT, req, opt) - } - - pub fn delete_snapshot_async(&self, req: &super::pubsub::DeleteSnapshotRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_snapshot_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn seek_opt(&self, req: &super::pubsub::SeekRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_SEEK, req, opt) - } - - pub fn seek(&self, req: &super::pubsub::SeekRequest) -> ::grpcio::Result { - self.seek_opt(req, ::grpcio::CallOption::default()) - } - - pub fn seek_async_opt(&self, req: &super::pubsub::SeekRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_SEEK, req, opt) - } - - pub fn seek_async(&self, req: &super::pubsub::SeekRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.seek_async_opt(req, ::grpcio::CallOption::default()) - } - pub fn spawn(&self, f: F) where F: ::futures::Future + Send + 'static { - self.client.spawn(f) - } -} - -pub trait Subscriber { - fn create_subscription(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::Subscription, sink: ::grpcio::UnarySink); - fn get_subscription(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::GetSubscriptionRequest, sink: ::grpcio::UnarySink); - fn update_subscription(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::UpdateSubscriptionRequest, sink: ::grpcio::UnarySink); - fn list_subscriptions(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ListSubscriptionsRequest, sink: ::grpcio::UnarySink); - fn delete_subscription(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::DeleteSubscriptionRequest, sink: ::grpcio::UnarySink); - fn modify_ack_deadline(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ModifyAckDeadlineRequest, sink: ::grpcio::UnarySink); - fn acknowledge(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::AcknowledgeRequest, sink: ::grpcio::UnarySink); - fn pull(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::PullRequest, sink: ::grpcio::UnarySink); - fn streaming_pull(&mut self, ctx: ::grpcio::RpcContext, stream: ::grpcio::RequestStream, sink: ::grpcio::DuplexSink); - fn modify_push_config(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ModifyPushConfigRequest, sink: ::grpcio::UnarySink); - fn get_snapshot(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::GetSnapshotRequest, sink: ::grpcio::UnarySink); - fn list_snapshots(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ListSnapshotsRequest, sink: ::grpcio::UnarySink); - fn create_snapshot(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::CreateSnapshotRequest, sink: ::grpcio::UnarySink); - fn update_snapshot(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::UpdateSnapshotRequest, sink: ::grpcio::UnarySink); - fn delete_snapshot(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::DeleteSnapshotRequest, sink: ::grpcio::UnarySink); - fn seek(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::SeekRequest, sink: ::grpcio::UnarySink); -} - -pub fn create_subscriber(s: S) -> ::grpcio::Service { - let mut builder = ::grpcio::ServiceBuilder::new(); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_CREATE_SUBSCRIPTION, move |ctx, req, resp| { - instance.create_subscription(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_GET_SUBSCRIPTION, move |ctx, req, resp| { - instance.get_subscription(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_UPDATE_SUBSCRIPTION, move |ctx, req, resp| { - instance.update_subscription(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_LIST_SUBSCRIPTIONS, move |ctx, req, resp| { - instance.list_subscriptions(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_DELETE_SUBSCRIPTION, move |ctx, req, resp| { - instance.delete_subscription(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_MODIFY_ACK_DEADLINE, move |ctx, req, resp| { - instance.modify_ack_deadline(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_ACKNOWLEDGE, move |ctx, req, resp| { - instance.acknowledge(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_PULL, move |ctx, req, resp| { - instance.pull(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_duplex_streaming_handler(&METHOD_SUBSCRIBER_STREAMING_PULL, move |ctx, req, resp| { - instance.streaming_pull(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_MODIFY_PUSH_CONFIG, move |ctx, req, resp| { - instance.modify_push_config(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_GET_SNAPSHOT, move |ctx, req, resp| { - instance.get_snapshot(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_LIST_SNAPSHOTS, move |ctx, req, resp| { - instance.list_snapshots(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_CREATE_SNAPSHOT, move |ctx, req, resp| { - instance.create_snapshot(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_UPDATE_SNAPSHOT, move |ctx, req, resp| { - instance.update_snapshot(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_DELETE_SNAPSHOT, move |ctx, req, resp| { - instance.delete_snapshot(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_SEEK, move |ctx, req, resp| { - instance.seek(ctx, req, resp) - }); - builder.build() -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/mod.rs deleted file mode 100644 index a7f02e639d..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/mod.rs +++ /dev/null @@ -1,4 +0,0 @@ -pub mod pubsub; -pub mod pubsub_grpc; - -pub(crate) use crate::empty; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/pubsub.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/pubsub.rs deleted file mode 100644 index 26c8ca4564..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/pubsub.rs +++ /dev/null @@ -1,5284 +0,0 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] -//! Generated file from `google/pubsub/v1beta2/pubsub.proto` - -use protobuf::Message as Message_imported_for_functions; -use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; - -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; - -#[derive(PartialEq,Clone,Default)] -pub struct Topic { - // message fields - pub name: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Topic { - fn default() -> &'a Topic { - ::default_instance() - } -} - -impl Topic { - pub fn new() -> Topic { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for Topic { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Topic { - Topic::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Topic| { &m.name }, - |m: &mut Topic| { &mut m.name }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Topic", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Topic { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Topic, - }; - unsafe { - instance.get(Topic::new) - } - } -} - -impl ::protobuf::Clear for Topic { - fn clear(&mut self) { - self.name.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Topic { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Topic { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PubsubMessage { - // message fields - pub data: ::std::vec::Vec, - pub attributes: ::std::collections::HashMap<::std::string::String, ::std::string::String>, - pub message_id: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PubsubMessage { - fn default() -> &'a PubsubMessage { - ::default_instance() - } -} - -impl PubsubMessage { - pub fn new() -> PubsubMessage { - ::std::default::Default::default() - } - - // bytes data = 1; - - - pub fn get_data(&self) -> &[u8] { - &self.data - } - pub fn clear_data(&mut self) { - self.data.clear(); - } - - // Param is passed by value, moved - pub fn set_data(&mut self, v: ::std::vec::Vec) { - self.data = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_data(&mut self) -> &mut ::std::vec::Vec { - &mut self.data - } - - // Take field - pub fn take_data(&mut self) -> ::std::vec::Vec { - ::std::mem::replace(&mut self.data, ::std::vec::Vec::new()) - } - - // repeated .google.pubsub.v1beta2.PubsubMessage.AttributesEntry attributes = 2; - - - pub fn get_attributes(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> { - &self.attributes - } - pub fn clear_attributes(&mut self) { - self.attributes.clear(); - } - - // Param is passed by value, moved - pub fn set_attributes(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) { - self.attributes = v; - } - - // Mutable pointer to the field. - pub fn mut_attributes(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> { - &mut self.attributes - } - - // Take field - pub fn take_attributes(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> { - ::std::mem::replace(&mut self.attributes, ::std::collections::HashMap::new()) - } - - // string message_id = 3; - - - pub fn get_message_id(&self) -> &str { - &self.message_id - } - pub fn clear_message_id(&mut self) { - self.message_id.clear(); - } - - // Param is passed by value, moved - pub fn set_message_id(&mut self, v: ::std::string::String) { - self.message_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_message_id(&mut self) -> &mut ::std::string::String { - &mut self.message_id - } - - // Take field - pub fn take_message_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.message_id, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for PubsubMessage { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.data)?; - }, - 2 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.attributes)?; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.message_id)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.data.is_empty() { - my_size += ::protobuf::rt::bytes_size(1, &self.data); - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(2, &self.attributes); - if !self.message_id.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.message_id); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.data.is_empty() { - os.write_bytes(1, &self.data)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(2, &self.attributes, os)?; - if !self.message_id.is_empty() { - os.write_string(3, &self.message_id)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PubsubMessage { - PubsubMessage::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>( - "data", - |m: &PubsubMessage| { &m.data }, - |m: &mut PubsubMessage| { &mut m.data }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>( - "attributes", - |m: &PubsubMessage| { &m.attributes }, - |m: &mut PubsubMessage| { &mut m.attributes }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "message_id", - |m: &PubsubMessage| { &m.message_id }, - |m: &mut PubsubMessage| { &mut m.message_id }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PubsubMessage", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PubsubMessage { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PubsubMessage, - }; - unsafe { - instance.get(PubsubMessage::new) - } - } -} - -impl ::protobuf::Clear for PubsubMessage { - fn clear(&mut self) { - self.data.clear(); - self.attributes.clear(); - self.message_id.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PubsubMessage { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PubsubMessage { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetTopicRequest { - // message fields - pub topic: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetTopicRequest { - fn default() -> &'a GetTopicRequest { - ::default_instance() - } -} - -impl GetTopicRequest { - pub fn new() -> GetTopicRequest { - ::std::default::Default::default() - } - - // string topic = 1; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetTopicRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.topic); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.topic.is_empty() { - os.write_string(1, &self.topic)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetTopicRequest { - GetTopicRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &GetTopicRequest| { &m.topic }, - |m: &mut GetTopicRequest| { &mut m.topic }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetTopicRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetTopicRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetTopicRequest, - }; - unsafe { - instance.get(GetTopicRequest::new) - } - } -} - -impl ::protobuf::Clear for GetTopicRequest { - fn clear(&mut self) { - self.topic.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetTopicRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetTopicRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PublishRequest { - // message fields - pub topic: ::std::string::String, - pub messages: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PublishRequest { - fn default() -> &'a PublishRequest { - ::default_instance() - } -} - -impl PublishRequest { - pub fn new() -> PublishRequest { - ::std::default::Default::default() - } - - // string topic = 1; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } - - // repeated .google.pubsub.v1beta2.PubsubMessage messages = 2; - - - pub fn get_messages(&self) -> &[PubsubMessage] { - &self.messages - } - pub fn clear_messages(&mut self) { - self.messages.clear(); - } - - // Param is passed by value, moved - pub fn set_messages(&mut self, v: ::protobuf::RepeatedField) { - self.messages = v; - } - - // Mutable pointer to the field. - pub fn mut_messages(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.messages - } - - // Take field - pub fn take_messages(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.messages, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for PublishRequest { - fn is_initialized(&self) -> bool { - for v in &self.messages { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - 2 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.messages)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.topic); - } - for value in &self.messages { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.topic.is_empty() { - os.write_string(1, &self.topic)?; - } - for v in &self.messages { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PublishRequest { - PublishRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &PublishRequest| { &m.topic }, - |m: &mut PublishRequest| { &mut m.topic }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "messages", - |m: &PublishRequest| { &m.messages }, - |m: &mut PublishRequest| { &mut m.messages }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PublishRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PublishRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PublishRequest, - }; - unsafe { - instance.get(PublishRequest::new) - } - } -} - -impl ::protobuf::Clear for PublishRequest { - fn clear(&mut self) { - self.topic.clear(); - self.messages.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PublishRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PublishRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PublishResponse { - // message fields - pub message_ids: ::protobuf::RepeatedField<::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PublishResponse { - fn default() -> &'a PublishResponse { - ::default_instance() - } -} - -impl PublishResponse { - pub fn new() -> PublishResponse { - ::std::default::Default::default() - } - - // repeated string message_ids = 1; - - - pub fn get_message_ids(&self) -> &[::std::string::String] { - &self.message_ids - } - pub fn clear_message_ids(&mut self) { - self.message_ids.clear(); - } - - // Param is passed by value, moved - pub fn set_message_ids(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.message_ids = v; - } - - // Mutable pointer to the field. - pub fn mut_message_ids(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.message_ids - } - - // Take field - pub fn take_message_ids(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.message_ids, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for PublishResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.message_ids)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.message_ids { - my_size += ::protobuf::rt::string_size(1, &value); - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.message_ids { - os.write_string(1, &v)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PublishResponse { - PublishResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "message_ids", - |m: &PublishResponse| { &m.message_ids }, - |m: &mut PublishResponse| { &mut m.message_ids }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PublishResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PublishResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PublishResponse, - }; - unsafe { - instance.get(PublishResponse::new) - } - } -} - -impl ::protobuf::Clear for PublishResponse { - fn clear(&mut self) { - self.message_ids.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PublishResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PublishResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTopicsRequest { - // message fields - pub project: ::std::string::String, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTopicsRequest { - fn default() -> &'a ListTopicsRequest { - ::default_instance() - } -} - -impl ListTopicsRequest { - pub fn new() -> ListTopicsRequest { - ::std::default::Default::default() - } - - // string project = 1; - - - pub fn get_project(&self) -> &str { - &self.project - } - pub fn clear_project(&mut self) { - self.project.clear(); - } - - // Param is passed by value, moved - pub fn set_project(&mut self, v: ::std::string::String) { - self.project = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_project(&mut self) -> &mut ::std::string::String { - &mut self.project - } - - // Take field - pub fn take_project(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.project, ::std::string::String::new()) - } - - // int32 page_size = 2; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 3; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTopicsRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.project)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.project.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.project); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.project.is_empty() { - os.write_string(1, &self.project)?; - } - if self.page_size != 0 { - os.write_int32(2, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(3, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTopicsRequest { - ListTopicsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "project", - |m: &ListTopicsRequest| { &m.project }, - |m: &mut ListTopicsRequest| { &mut m.project }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListTopicsRequest| { &m.page_size }, - |m: &mut ListTopicsRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListTopicsRequest| { &m.page_token }, - |m: &mut ListTopicsRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTopicsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTopicsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTopicsRequest, - }; - unsafe { - instance.get(ListTopicsRequest::new) - } - } -} - -impl ::protobuf::Clear for ListTopicsRequest { - fn clear(&mut self) { - self.project.clear(); - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTopicsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTopicsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTopicsResponse { - // message fields - pub topics: ::protobuf::RepeatedField, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTopicsResponse { - fn default() -> &'a ListTopicsResponse { - ::default_instance() - } -} - -impl ListTopicsResponse { - pub fn new() -> ListTopicsResponse { - ::std::default::Default::default() - } - - // repeated .google.pubsub.v1beta2.Topic topics = 1; - - - pub fn get_topics(&self) -> &[Topic] { - &self.topics - } - pub fn clear_topics(&mut self) { - self.topics.clear(); - } - - // Param is passed by value, moved - pub fn set_topics(&mut self, v: ::protobuf::RepeatedField) { - self.topics = v; - } - - // Mutable pointer to the field. - pub fn mut_topics(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.topics - } - - // Take field - pub fn take_topics(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.topics, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTopicsResponse { - fn is_initialized(&self) -> bool { - for v in &self.topics { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.topics)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.topics { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.topics { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTopicsResponse { - ListTopicsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "topics", - |m: &ListTopicsResponse| { &m.topics }, - |m: &mut ListTopicsResponse| { &mut m.topics }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListTopicsResponse| { &m.next_page_token }, - |m: &mut ListTopicsResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTopicsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTopicsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTopicsResponse, - }; - unsafe { - instance.get(ListTopicsResponse::new) - } - } -} - -impl ::protobuf::Clear for ListTopicsResponse { - fn clear(&mut self) { - self.topics.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTopicsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTopicsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTopicSubscriptionsRequest { - // message fields - pub topic: ::std::string::String, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTopicSubscriptionsRequest { - fn default() -> &'a ListTopicSubscriptionsRequest { - ::default_instance() - } -} - -impl ListTopicSubscriptionsRequest { - pub fn new() -> ListTopicSubscriptionsRequest { - ::std::default::Default::default() - } - - // string topic = 1; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } - - // int32 page_size = 2; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 3; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTopicSubscriptionsRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.topic); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.topic.is_empty() { - os.write_string(1, &self.topic)?; - } - if self.page_size != 0 { - os.write_int32(2, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(3, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTopicSubscriptionsRequest { - ListTopicSubscriptionsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &ListTopicSubscriptionsRequest| { &m.topic }, - |m: &mut ListTopicSubscriptionsRequest| { &mut m.topic }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListTopicSubscriptionsRequest| { &m.page_size }, - |m: &mut ListTopicSubscriptionsRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListTopicSubscriptionsRequest| { &m.page_token }, - |m: &mut ListTopicSubscriptionsRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTopicSubscriptionsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTopicSubscriptionsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTopicSubscriptionsRequest, - }; - unsafe { - instance.get(ListTopicSubscriptionsRequest::new) - } - } -} - -impl ::protobuf::Clear for ListTopicSubscriptionsRequest { - fn clear(&mut self) { - self.topic.clear(); - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTopicSubscriptionsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTopicSubscriptionsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListTopicSubscriptionsResponse { - // message fields - pub subscriptions: ::protobuf::RepeatedField<::std::string::String>, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListTopicSubscriptionsResponse { - fn default() -> &'a ListTopicSubscriptionsResponse { - ::default_instance() - } -} - -impl ListTopicSubscriptionsResponse { - pub fn new() -> ListTopicSubscriptionsResponse { - ::std::default::Default::default() - } - - // repeated string subscriptions = 1; - - - pub fn get_subscriptions(&self) -> &[::std::string::String] { - &self.subscriptions - } - pub fn clear_subscriptions(&mut self) { - self.subscriptions.clear(); - } - - // Param is passed by value, moved - pub fn set_subscriptions(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.subscriptions = v; - } - - // Mutable pointer to the field. - pub fn mut_subscriptions(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.subscriptions - } - - // Take field - pub fn take_subscriptions(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.subscriptions, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListTopicSubscriptionsResponse { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.subscriptions)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.subscriptions { - my_size += ::protobuf::rt::string_size(1, &value); - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.subscriptions { - os.write_string(1, &v)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListTopicSubscriptionsResponse { - ListTopicSubscriptionsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscriptions", - |m: &ListTopicSubscriptionsResponse| { &m.subscriptions }, - |m: &mut ListTopicSubscriptionsResponse| { &mut m.subscriptions }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListTopicSubscriptionsResponse| { &m.next_page_token }, - |m: &mut ListTopicSubscriptionsResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListTopicSubscriptionsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListTopicSubscriptionsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListTopicSubscriptionsResponse, - }; - unsafe { - instance.get(ListTopicSubscriptionsResponse::new) - } - } -} - -impl ::protobuf::Clear for ListTopicSubscriptionsResponse { - fn clear(&mut self) { - self.subscriptions.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListTopicSubscriptionsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListTopicSubscriptionsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteTopicRequest { - // message fields - pub topic: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteTopicRequest { - fn default() -> &'a DeleteTopicRequest { - ::default_instance() - } -} - -impl DeleteTopicRequest { - pub fn new() -> DeleteTopicRequest { - ::std::default::Default::default() - } - - // string topic = 1; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteTopicRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.topic); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.topic.is_empty() { - os.write_string(1, &self.topic)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteTopicRequest { - DeleteTopicRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &DeleteTopicRequest| { &m.topic }, - |m: &mut DeleteTopicRequest| { &mut m.topic }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteTopicRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteTopicRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteTopicRequest, - }; - unsafe { - instance.get(DeleteTopicRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteTopicRequest { - fn clear(&mut self) { - self.topic.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteTopicRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteTopicRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct Subscription { - // message fields - pub name: ::std::string::String, - pub topic: ::std::string::String, - pub push_config: ::protobuf::SingularPtrField, - pub ack_deadline_seconds: i32, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a Subscription { - fn default() -> &'a Subscription { - ::default_instance() - } -} - -impl Subscription { - pub fn new() -> Subscription { - ::std::default::Default::default() - } - - // string name = 1; - - - pub fn get_name(&self) -> &str { - &self.name - } - pub fn clear_name(&mut self) { - self.name.clear(); - } - - // Param is passed by value, moved - pub fn set_name(&mut self, v: ::std::string::String) { - self.name = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_name(&mut self) -> &mut ::std::string::String { - &mut self.name - } - - // Take field - pub fn take_name(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.name, ::std::string::String::new()) - } - - // string topic = 2; - - - pub fn get_topic(&self) -> &str { - &self.topic - } - pub fn clear_topic(&mut self) { - self.topic.clear(); - } - - // Param is passed by value, moved - pub fn set_topic(&mut self, v: ::std::string::String) { - self.topic = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_topic(&mut self) -> &mut ::std::string::String { - &mut self.topic - } - - // Take field - pub fn take_topic(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.topic, ::std::string::String::new()) - } - - // .google.pubsub.v1beta2.PushConfig push_config = 4; - - - pub fn get_push_config(&self) -> &PushConfig { - self.push_config.as_ref().unwrap_or_else(|| PushConfig::default_instance()) - } - pub fn clear_push_config(&mut self) { - self.push_config.clear(); - } - - pub fn has_push_config(&self) -> bool { - self.push_config.is_some() - } - - // Param is passed by value, moved - pub fn set_push_config(&mut self, v: PushConfig) { - self.push_config = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_push_config(&mut self) -> &mut PushConfig { - if self.push_config.is_none() { - self.push_config.set_default(); - } - self.push_config.as_mut().unwrap() - } - - // Take field - pub fn take_push_config(&mut self) -> PushConfig { - self.push_config.take().unwrap_or_else(|| PushConfig::new()) - } - - // int32 ack_deadline_seconds = 5; - - - pub fn get_ack_deadline_seconds(&self) -> i32 { - self.ack_deadline_seconds - } - pub fn clear_ack_deadline_seconds(&mut self) { - self.ack_deadline_seconds = 0; - } - - // Param is passed by value, moved - pub fn set_ack_deadline_seconds(&mut self, v: i32) { - self.ack_deadline_seconds = v; - } -} - -impl ::protobuf::Message for Subscription { - fn is_initialized(&self) -> bool { - for v in &self.push_config { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.topic)?; - }, - 4 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.push_config)?; - }, - 5 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.ack_deadline_seconds = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.name.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.name); - } - if !self.topic.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.topic); - } - if let Some(ref v) = self.push_config.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - if self.ack_deadline_seconds != 0 { - my_size += ::protobuf::rt::value_size(5, self.ack_deadline_seconds, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.name.is_empty() { - os.write_string(1, &self.name)?; - } - if !self.topic.is_empty() { - os.write_string(2, &self.topic)?; - } - if let Some(ref v) = self.push_config.as_ref() { - os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - if self.ack_deadline_seconds != 0 { - os.write_int32(5, self.ack_deadline_seconds)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> Subscription { - Subscription::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "name", - |m: &Subscription| { &m.name }, - |m: &mut Subscription| { &mut m.name }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "topic", - |m: &Subscription| { &m.topic }, - |m: &mut Subscription| { &mut m.topic }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "push_config", - |m: &Subscription| { &m.push_config }, - |m: &mut Subscription| { &mut m.push_config }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "ack_deadline_seconds", - |m: &Subscription| { &m.ack_deadline_seconds }, - |m: &mut Subscription| { &mut m.ack_deadline_seconds }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "Subscription", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static Subscription { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Subscription, - }; - unsafe { - instance.get(Subscription::new) - } - } -} - -impl ::protobuf::Clear for Subscription { - fn clear(&mut self) { - self.name.clear(); - self.topic.clear(); - self.push_config.clear(); - self.ack_deadline_seconds = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for Subscription { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for Subscription { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PushConfig { - // message fields - pub push_endpoint: ::std::string::String, - pub attributes: ::std::collections::HashMap<::std::string::String, ::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PushConfig { - fn default() -> &'a PushConfig { - ::default_instance() - } -} - -impl PushConfig { - pub fn new() -> PushConfig { - ::std::default::Default::default() - } - - // string push_endpoint = 1; - - - pub fn get_push_endpoint(&self) -> &str { - &self.push_endpoint - } - pub fn clear_push_endpoint(&mut self) { - self.push_endpoint.clear(); - } - - // Param is passed by value, moved - pub fn set_push_endpoint(&mut self, v: ::std::string::String) { - self.push_endpoint = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_push_endpoint(&mut self) -> &mut ::std::string::String { - &mut self.push_endpoint - } - - // Take field - pub fn take_push_endpoint(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.push_endpoint, ::std::string::String::new()) - } - - // repeated .google.pubsub.v1beta2.PushConfig.AttributesEntry attributes = 2; - - - pub fn get_attributes(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> { - &self.attributes - } - pub fn clear_attributes(&mut self) { - self.attributes.clear(); - } - - // Param is passed by value, moved - pub fn set_attributes(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) { - self.attributes = v; - } - - // Mutable pointer to the field. - pub fn mut_attributes(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> { - &mut self.attributes - } - - // Take field - pub fn take_attributes(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> { - ::std::mem::replace(&mut self.attributes, ::std::collections::HashMap::new()) - } -} - -impl ::protobuf::Message for PushConfig { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.push_endpoint)?; - }, - 2 => { - ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.attributes)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.push_endpoint.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.push_endpoint); - } - my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(2, &self.attributes); - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.push_endpoint.is_empty() { - os.write_string(1, &self.push_endpoint)?; - } - ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(2, &self.attributes, os)?; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PushConfig { - PushConfig::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "push_endpoint", - |m: &PushConfig| { &m.push_endpoint }, - |m: &mut PushConfig| { &mut m.push_endpoint }, - )); - fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>( - "attributes", - |m: &PushConfig| { &m.attributes }, - |m: &mut PushConfig| { &mut m.attributes }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PushConfig", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PushConfig { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PushConfig, - }; - unsafe { - instance.get(PushConfig::new) - } - } -} - -impl ::protobuf::Clear for PushConfig { - fn clear(&mut self) { - self.push_endpoint.clear(); - self.attributes.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PushConfig { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PushConfig { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ReceivedMessage { - // message fields - pub ack_id: ::std::string::String, - pub message: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ReceivedMessage { - fn default() -> &'a ReceivedMessage { - ::default_instance() - } -} - -impl ReceivedMessage { - pub fn new() -> ReceivedMessage { - ::std::default::Default::default() - } - - // string ack_id = 1; - - - pub fn get_ack_id(&self) -> &str { - &self.ack_id - } - pub fn clear_ack_id(&mut self) { - self.ack_id.clear(); - } - - // Param is passed by value, moved - pub fn set_ack_id(&mut self, v: ::std::string::String) { - self.ack_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_ack_id(&mut self) -> &mut ::std::string::String { - &mut self.ack_id - } - - // Take field - pub fn take_ack_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.ack_id, ::std::string::String::new()) - } - - // .google.pubsub.v1beta2.PubsubMessage message = 2; - - - pub fn get_message(&self) -> &PubsubMessage { - self.message.as_ref().unwrap_or_else(|| PubsubMessage::default_instance()) - } - pub fn clear_message(&mut self) { - self.message.clear(); - } - - pub fn has_message(&self) -> bool { - self.message.is_some() - } - - // Param is passed by value, moved - pub fn set_message(&mut self, v: PubsubMessage) { - self.message = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_message(&mut self) -> &mut PubsubMessage { - if self.message.is_none() { - self.message.set_default(); - } - self.message.as_mut().unwrap() - } - - // Take field - pub fn take_message(&mut self) -> PubsubMessage { - self.message.take().unwrap_or_else(|| PubsubMessage::new()) - } -} - -impl ::protobuf::Message for ReceivedMessage { - fn is_initialized(&self) -> bool { - for v in &self.message { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.ack_id)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.message)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.ack_id.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.ack_id); - } - if let Some(ref v) = self.message.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.ack_id.is_empty() { - os.write_string(1, &self.ack_id)?; - } - if let Some(ref v) = self.message.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ReceivedMessage { - ReceivedMessage::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "ack_id", - |m: &ReceivedMessage| { &m.ack_id }, - |m: &mut ReceivedMessage| { &mut m.ack_id }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "message", - |m: &ReceivedMessage| { &m.message }, - |m: &mut ReceivedMessage| { &mut m.message }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ReceivedMessage", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ReceivedMessage { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReceivedMessage, - }; - unsafe { - instance.get(ReceivedMessage::new) - } - } -} - -impl ::protobuf::Clear for ReceivedMessage { - fn clear(&mut self) { - self.ack_id.clear(); - self.message.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ReceivedMessage { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ReceivedMessage { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct GetSubscriptionRequest { - // message fields - pub subscription: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a GetSubscriptionRequest { - fn default() -> &'a GetSubscriptionRequest { - ::default_instance() - } -} - -impl GetSubscriptionRequest { - pub fn new() -> GetSubscriptionRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for GetSubscriptionRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> GetSubscriptionRequest { - GetSubscriptionRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &GetSubscriptionRequest| { &m.subscription }, - |m: &mut GetSubscriptionRequest| { &mut m.subscription }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "GetSubscriptionRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static GetSubscriptionRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetSubscriptionRequest, - }; - unsafe { - instance.get(GetSubscriptionRequest::new) - } - } -} - -impl ::protobuf::Clear for GetSubscriptionRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for GetSubscriptionRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for GetSubscriptionRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListSubscriptionsRequest { - // message fields - pub project: ::std::string::String, - pub page_size: i32, - pub page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListSubscriptionsRequest { - fn default() -> &'a ListSubscriptionsRequest { - ::default_instance() - } -} - -impl ListSubscriptionsRequest { - pub fn new() -> ListSubscriptionsRequest { - ::std::default::Default::default() - } - - // string project = 1; - - - pub fn get_project(&self) -> &str { - &self.project - } - pub fn clear_project(&mut self) { - self.project.clear(); - } - - // Param is passed by value, moved - pub fn set_project(&mut self, v: ::std::string::String) { - self.project = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_project(&mut self) -> &mut ::std::string::String { - &mut self.project - } - - // Take field - pub fn take_project(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.project, ::std::string::String::new()) - } - - // int32 page_size = 2; - - - pub fn get_page_size(&self) -> i32 { - self.page_size - } - pub fn clear_page_size(&mut self) { - self.page_size = 0; - } - - // Param is passed by value, moved - pub fn set_page_size(&mut self, v: i32) { - self.page_size = v; - } - - // string page_token = 3; - - - pub fn get_page_token(&self) -> &str { - &self.page_token - } - pub fn clear_page_token(&mut self) { - self.page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_page_token(&mut self, v: ::std::string::String) { - self.page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_page_token(&mut self) -> &mut ::std::string::String { - &mut self.page_token - } - - // Take field - pub fn take_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListSubscriptionsRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.project)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.page_size = tmp; - }, - 3 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.project.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.project); - } - if self.page_size != 0 { - my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint); - } - if !self.page_token.is_empty() { - my_size += ::protobuf::rt::string_size(3, &self.page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.project.is_empty() { - os.write_string(1, &self.project)?; - } - if self.page_size != 0 { - os.write_int32(2, self.page_size)?; - } - if !self.page_token.is_empty() { - os.write_string(3, &self.page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListSubscriptionsRequest { - ListSubscriptionsRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "project", - |m: &ListSubscriptionsRequest| { &m.project }, - |m: &mut ListSubscriptionsRequest| { &mut m.project }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "page_size", - |m: &ListSubscriptionsRequest| { &m.page_size }, - |m: &mut ListSubscriptionsRequest| { &mut m.page_size }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "page_token", - |m: &ListSubscriptionsRequest| { &m.page_token }, - |m: &mut ListSubscriptionsRequest| { &mut m.page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListSubscriptionsRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListSubscriptionsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListSubscriptionsRequest, - }; - unsafe { - instance.get(ListSubscriptionsRequest::new) - } - } -} - -impl ::protobuf::Clear for ListSubscriptionsRequest { - fn clear(&mut self) { - self.project.clear(); - self.page_size = 0; - self.page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListSubscriptionsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListSubscriptionsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ListSubscriptionsResponse { - // message fields - pub subscriptions: ::protobuf::RepeatedField, - pub next_page_token: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ListSubscriptionsResponse { - fn default() -> &'a ListSubscriptionsResponse { - ::default_instance() - } -} - -impl ListSubscriptionsResponse { - pub fn new() -> ListSubscriptionsResponse { - ::std::default::Default::default() - } - - // repeated .google.pubsub.v1beta2.Subscription subscriptions = 1; - - - pub fn get_subscriptions(&self) -> &[Subscription] { - &self.subscriptions - } - pub fn clear_subscriptions(&mut self) { - self.subscriptions.clear(); - } - - // Param is passed by value, moved - pub fn set_subscriptions(&mut self, v: ::protobuf::RepeatedField) { - self.subscriptions = v; - } - - // Mutable pointer to the field. - pub fn mut_subscriptions(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.subscriptions - } - - // Take field - pub fn take_subscriptions(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.subscriptions, ::protobuf::RepeatedField::new()) - } - - // string next_page_token = 2; - - - pub fn get_next_page_token(&self) -> &str { - &self.next_page_token - } - pub fn clear_next_page_token(&mut self) { - self.next_page_token.clear(); - } - - // Param is passed by value, moved - pub fn set_next_page_token(&mut self, v: ::std::string::String) { - self.next_page_token = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String { - &mut self.next_page_token - } - - // Take field - pub fn take_next_page_token(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for ListSubscriptionsResponse { - fn is_initialized(&self) -> bool { - for v in &self.subscriptions { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.subscriptions)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.subscriptions { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - if !self.next_page_token.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.next_page_token); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.subscriptions { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - if !self.next_page_token.is_empty() { - os.write_string(2, &self.next_page_token)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ListSubscriptionsResponse { - ListSubscriptionsResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "subscriptions", - |m: &ListSubscriptionsResponse| { &m.subscriptions }, - |m: &mut ListSubscriptionsResponse| { &mut m.subscriptions }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "next_page_token", - |m: &ListSubscriptionsResponse| { &m.next_page_token }, - |m: &mut ListSubscriptionsResponse| { &mut m.next_page_token }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ListSubscriptionsResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ListSubscriptionsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListSubscriptionsResponse, - }; - unsafe { - instance.get(ListSubscriptionsResponse::new) - } - } -} - -impl ::protobuf::Clear for ListSubscriptionsResponse { - fn clear(&mut self) { - self.subscriptions.clear(); - self.next_page_token.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ListSubscriptionsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ListSubscriptionsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct DeleteSubscriptionRequest { - // message fields - pub subscription: ::std::string::String, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a DeleteSubscriptionRequest { - fn default() -> &'a DeleteSubscriptionRequest { - ::default_instance() - } -} - -impl DeleteSubscriptionRequest { - pub fn new() -> DeleteSubscriptionRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } -} - -impl ::protobuf::Message for DeleteSubscriptionRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> DeleteSubscriptionRequest { - DeleteSubscriptionRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &DeleteSubscriptionRequest| { &m.subscription }, - |m: &mut DeleteSubscriptionRequest| { &mut m.subscription }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "DeleteSubscriptionRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static DeleteSubscriptionRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteSubscriptionRequest, - }; - unsafe { - instance.get(DeleteSubscriptionRequest::new) - } - } -} - -impl ::protobuf::Clear for DeleteSubscriptionRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for DeleteSubscriptionRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for DeleteSubscriptionRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ModifyPushConfigRequest { - // message fields - pub subscription: ::std::string::String, - pub push_config: ::protobuf::SingularPtrField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ModifyPushConfigRequest { - fn default() -> &'a ModifyPushConfigRequest { - ::default_instance() - } -} - -impl ModifyPushConfigRequest { - pub fn new() -> ModifyPushConfigRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // .google.pubsub.v1beta2.PushConfig push_config = 2; - - - pub fn get_push_config(&self) -> &PushConfig { - self.push_config.as_ref().unwrap_or_else(|| PushConfig::default_instance()) - } - pub fn clear_push_config(&mut self) { - self.push_config.clear(); - } - - pub fn has_push_config(&self) -> bool { - self.push_config.is_some() - } - - // Param is passed by value, moved - pub fn set_push_config(&mut self, v: PushConfig) { - self.push_config = ::protobuf::SingularPtrField::some(v); - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_push_config(&mut self) -> &mut PushConfig { - if self.push_config.is_none() { - self.push_config.set_default(); - } - self.push_config.as_mut().unwrap() - } - - // Take field - pub fn take_push_config(&mut self) -> PushConfig { - self.push_config.take().unwrap_or_else(|| PushConfig::new()) - } -} - -impl ::protobuf::Message for ModifyPushConfigRequest { - fn is_initialized(&self) -> bool { - for v in &self.push_config { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 2 => { - ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.push_config)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - if let Some(ref v) = self.push_config.as_ref() { - let len = v.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - if let Some(ref v) = self.push_config.as_ref() { - os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ModifyPushConfigRequest { - ModifyPushConfigRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &ModifyPushConfigRequest| { &m.subscription }, - |m: &mut ModifyPushConfigRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "push_config", - |m: &ModifyPushConfigRequest| { &m.push_config }, - |m: &mut ModifyPushConfigRequest| { &mut m.push_config }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ModifyPushConfigRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ModifyPushConfigRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ModifyPushConfigRequest, - }; - unsafe { - instance.get(ModifyPushConfigRequest::new) - } - } -} - -impl ::protobuf::Clear for ModifyPushConfigRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.push_config.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ModifyPushConfigRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ModifyPushConfigRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PullRequest { - // message fields - pub subscription: ::std::string::String, - pub return_immediately: bool, - pub max_messages: i32, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PullRequest { - fn default() -> &'a PullRequest { - ::default_instance() - } -} - -impl PullRequest { - pub fn new() -> PullRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // bool return_immediately = 2; - - - pub fn get_return_immediately(&self) -> bool { - self.return_immediately - } - pub fn clear_return_immediately(&mut self) { - self.return_immediately = false; - } - - // Param is passed by value, moved - pub fn set_return_immediately(&mut self, v: bool) { - self.return_immediately = v; - } - - // int32 max_messages = 3; - - - pub fn get_max_messages(&self) -> i32 { - self.max_messages - } - pub fn clear_max_messages(&mut self) { - self.max_messages = 0; - } - - // Param is passed by value, moved - pub fn set_max_messages(&mut self, v: i32) { - self.max_messages = v; - } -} - -impl ::protobuf::Message for PullRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 2 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_bool()?; - self.return_immediately = tmp; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.max_messages = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - if self.return_immediately != false { - my_size += 2; - } - if self.max_messages != 0 { - my_size += ::protobuf::rt::value_size(3, self.max_messages, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - if self.return_immediately != false { - os.write_bool(2, self.return_immediately)?; - } - if self.max_messages != 0 { - os.write_int32(3, self.max_messages)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PullRequest { - PullRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &PullRequest| { &m.subscription }, - |m: &mut PullRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>( - "return_immediately", - |m: &PullRequest| { &m.return_immediately }, - |m: &mut PullRequest| { &mut m.return_immediately }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "max_messages", - |m: &PullRequest| { &m.max_messages }, - |m: &mut PullRequest| { &mut m.max_messages }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PullRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PullRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PullRequest, - }; - unsafe { - instance.get(PullRequest::new) - } - } -} - -impl ::protobuf::Clear for PullRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.return_immediately = false; - self.max_messages = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PullRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PullRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct PullResponse { - // message fields - pub received_messages: ::protobuf::RepeatedField, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a PullResponse { - fn default() -> &'a PullResponse { - ::default_instance() - } -} - -impl PullResponse { - pub fn new() -> PullResponse { - ::std::default::Default::default() - } - - // repeated .google.pubsub.v1beta2.ReceivedMessage received_messages = 1; - - - pub fn get_received_messages(&self) -> &[ReceivedMessage] { - &self.received_messages - } - pub fn clear_received_messages(&mut self) { - self.received_messages.clear(); - } - - // Param is passed by value, moved - pub fn set_received_messages(&mut self, v: ::protobuf::RepeatedField) { - self.received_messages = v; - } - - // Mutable pointer to the field. - pub fn mut_received_messages(&mut self) -> &mut ::protobuf::RepeatedField { - &mut self.received_messages - } - - // Take field - pub fn take_received_messages(&mut self) -> ::protobuf::RepeatedField { - ::std::mem::replace(&mut self.received_messages, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for PullResponse { - fn is_initialized(&self) -> bool { - for v in &self.received_messages { - if !v.is_initialized() { - return false; - } - }; - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.received_messages)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - for value in &self.received_messages { - let len = value.compute_size(); - my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - for v in &self.received_messages { - os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; - os.write_raw_varint32(v.get_cached_size())?; - v.write_to_with_cached_sizes(os)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> PullResponse { - PullResponse::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage>( - "received_messages", - |m: &PullResponse| { &m.received_messages }, - |m: &mut PullResponse| { &mut m.received_messages }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "PullResponse", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static PullResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PullResponse, - }; - unsafe { - instance.get(PullResponse::new) - } - } -} - -impl ::protobuf::Clear for PullResponse { - fn clear(&mut self) { - self.received_messages.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for PullResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for PullResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct ModifyAckDeadlineRequest { - // message fields - pub subscription: ::std::string::String, - pub ack_id: ::std::string::String, - pub ack_deadline_seconds: i32, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a ModifyAckDeadlineRequest { - fn default() -> &'a ModifyAckDeadlineRequest { - ::default_instance() - } -} - -impl ModifyAckDeadlineRequest { - pub fn new() -> ModifyAckDeadlineRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // string ack_id = 2; - - - pub fn get_ack_id(&self) -> &str { - &self.ack_id - } - pub fn clear_ack_id(&mut self) { - self.ack_id.clear(); - } - - // Param is passed by value, moved - pub fn set_ack_id(&mut self, v: ::std::string::String) { - self.ack_id = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_ack_id(&mut self) -> &mut ::std::string::String { - &mut self.ack_id - } - - // Take field - pub fn take_ack_id(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.ack_id, ::std::string::String::new()) - } - - // int32 ack_deadline_seconds = 3; - - - pub fn get_ack_deadline_seconds(&self) -> i32 { - self.ack_deadline_seconds - } - pub fn clear_ack_deadline_seconds(&mut self) { - self.ack_deadline_seconds = 0; - } - - // Param is passed by value, moved - pub fn set_ack_deadline_seconds(&mut self, v: i32) { - self.ack_deadline_seconds = v; - } -} - -impl ::protobuf::Message for ModifyAckDeadlineRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 2 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.ack_id)?; - }, - 3 => { - if wire_type != ::protobuf::wire_format::WireTypeVarint { - return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type)); - } - let tmp = is.read_int32()?; - self.ack_deadline_seconds = tmp; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - if !self.ack_id.is_empty() { - my_size += ::protobuf::rt::string_size(2, &self.ack_id); - } - if self.ack_deadline_seconds != 0 { - my_size += ::protobuf::rt::value_size(3, self.ack_deadline_seconds, ::protobuf::wire_format::WireTypeVarint); - } - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - if !self.ack_id.is_empty() { - os.write_string(2, &self.ack_id)?; - } - if self.ack_deadline_seconds != 0 { - os.write_int32(3, self.ack_deadline_seconds)?; - } - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> ModifyAckDeadlineRequest { - ModifyAckDeadlineRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &ModifyAckDeadlineRequest| { &m.subscription }, - |m: &mut ModifyAckDeadlineRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "ack_id", - |m: &ModifyAckDeadlineRequest| { &m.ack_id }, - |m: &mut ModifyAckDeadlineRequest| { &mut m.ack_id }, - )); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>( - "ack_deadline_seconds", - |m: &ModifyAckDeadlineRequest| { &m.ack_deadline_seconds }, - |m: &mut ModifyAckDeadlineRequest| { &mut m.ack_deadline_seconds }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "ModifyAckDeadlineRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static ModifyAckDeadlineRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ModifyAckDeadlineRequest, - }; - unsafe { - instance.get(ModifyAckDeadlineRequest::new) - } - } -} - -impl ::protobuf::Clear for ModifyAckDeadlineRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.ack_id.clear(); - self.ack_deadline_seconds = 0; - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for ModifyAckDeadlineRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for ModifyAckDeadlineRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -#[derive(PartialEq,Clone,Default)] -pub struct AcknowledgeRequest { - // message fields - pub subscription: ::std::string::String, - pub ack_ids: ::protobuf::RepeatedField<::std::string::String>, - // special fields - pub unknown_fields: ::protobuf::UnknownFields, - pub cached_size: ::protobuf::CachedSize, -} - -impl<'a> ::std::default::Default for &'a AcknowledgeRequest { - fn default() -> &'a AcknowledgeRequest { - ::default_instance() - } -} - -impl AcknowledgeRequest { - pub fn new() -> AcknowledgeRequest { - ::std::default::Default::default() - } - - // string subscription = 1; - - - pub fn get_subscription(&self) -> &str { - &self.subscription - } - pub fn clear_subscription(&mut self) { - self.subscription.clear(); - } - - // Param is passed by value, moved - pub fn set_subscription(&mut self, v: ::std::string::String) { - self.subscription = v; - } - - // Mutable pointer to the field. - // If field is not initialized, it is initialized with default value first. - pub fn mut_subscription(&mut self) -> &mut ::std::string::String { - &mut self.subscription - } - - // Take field - pub fn take_subscription(&mut self) -> ::std::string::String { - ::std::mem::replace(&mut self.subscription, ::std::string::String::new()) - } - - // repeated string ack_ids = 2; - - - pub fn get_ack_ids(&self) -> &[::std::string::String] { - &self.ack_ids - } - pub fn clear_ack_ids(&mut self) { - self.ack_ids.clear(); - } - - // Param is passed by value, moved - pub fn set_ack_ids(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) { - self.ack_ids = v; - } - - // Mutable pointer to the field. - pub fn mut_ack_ids(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> { - &mut self.ack_ids - } - - // Take field - pub fn take_ack_ids(&mut self) -> ::protobuf::RepeatedField<::std::string::String> { - ::std::mem::replace(&mut self.ack_ids, ::protobuf::RepeatedField::new()) - } -} - -impl ::protobuf::Message for AcknowledgeRequest { - fn is_initialized(&self) -> bool { - true - } - - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { - while !is.eof()? { - let (field_number, wire_type) = is.read_tag_unpack()?; - match field_number { - 1 => { - ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subscription)?; - }, - 2 => { - ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.ack_ids)?; - }, - _ => { - ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?; - }, - }; - } - ::std::result::Result::Ok(()) - } - - // Compute sizes of nested messages - #[allow(unused_variables)] - fn compute_size(&self) -> u32 { - let mut my_size = 0; - if !self.subscription.is_empty() { - my_size += ::protobuf::rt::string_size(1, &self.subscription); - } - for value in &self.ack_ids { - my_size += ::protobuf::rt::string_size(2, &value); - }; - my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields()); - self.cached_size.set(my_size); - my_size - } - - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { - if !self.subscription.is_empty() { - os.write_string(1, &self.subscription)?; - } - for v in &self.ack_ids { - os.write_string(2, &v)?; - }; - os.write_unknown_fields(self.get_unknown_fields())?; - ::std::result::Result::Ok(()) - } - - fn get_cached_size(&self) -> u32 { - self.cached_size.get() - } - - fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { - &self.unknown_fields - } - - fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { - &mut self.unknown_fields - } - - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any - } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any - } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { - self - } - - fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { - Self::descriptor_static() - } - - fn new() -> AcknowledgeRequest { - AcknowledgeRequest::new() - } - - fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; - unsafe { - descriptor.get(|| { - let mut fields = ::std::vec::Vec::new(); - fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "subscription", - |m: &AcknowledgeRequest| { &m.subscription }, - |m: &mut AcknowledgeRequest| { &mut m.subscription }, - )); - fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>( - "ack_ids", - |m: &AcknowledgeRequest| { &m.ack_ids }, - |m: &mut AcknowledgeRequest| { &mut m.ack_ids }, - )); - ::protobuf::reflect::MessageDescriptor::new::( - "AcknowledgeRequest", - fields, - file_descriptor_proto() - ) - }) - } - } - - fn default_instance() -> &'static AcknowledgeRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const AcknowledgeRequest, - }; - unsafe { - instance.get(AcknowledgeRequest::new) - } - } -} - -impl ::protobuf::Clear for AcknowledgeRequest { - fn clear(&mut self) { - self.subscription.clear(); - self.ack_ids.clear(); - self.unknown_fields.clear(); - } -} - -impl ::std::fmt::Debug for AcknowledgeRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - ::protobuf::text_format::fmt(self, f) - } -} - -impl ::protobuf::reflect::ProtobufValue for AcknowledgeRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) - } -} - -static file_descriptor_proto_data: &'static [u8] = b"\ - \n\"google/pubsub/v1beta2/pubsub.proto\x12\x15google.pubsub.v1beta2\x1a\ - \x1bgoogle/protobuf/empty.proto\"\x1b\n\x05Topic\x12\x12\n\x04name\x18\ - \x01\x20\x01(\tR\x04name\"\xd7\x01\n\rPubsubMessage\x12\x12\n\x04data\ - \x18\x01\x20\x01(\x0cR\x04data\x12T\n\nattributes\x18\x02\x20\x03(\x0b24\ - .google.pubsub.v1beta2.PubsubMessage.AttributesEntryR\nattributes\x12\ - \x1d\n\nmessage_id\x18\x03\x20\x01(\tR\tmessageId\x1a=\n\x0fAttributesEn\ - try\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12\x14\n\x05value\x18\ - \x02\x20\x01(\tR\x05value:\x028\x01\"'\n\x0fGetTopicRequest\x12\x14\n\ - \x05topic\x18\x01\x20\x01(\tR\x05topic\"h\n\x0ePublishRequest\x12\x14\n\ - \x05topic\x18\x01\x20\x01(\tR\x05topic\x12@\n\x08messages\x18\x02\x20\ - \x03(\x0b2$.google.pubsub.v1beta2.PubsubMessageR\x08messages\"2\n\x0fPub\ - lishResponse\x12\x1f\n\x0bmessage_ids\x18\x01\x20\x03(\tR\nmessageIds\"i\ - \n\x11ListTopicsRequest\x12\x18\n\x07project\x18\x01\x20\x01(\tR\x07proj\ - ect\x12\x1b\n\tpage_size\x18\x02\x20\x01(\x05R\x08pageSize\x12\x1d\n\npa\ - ge_token\x18\x03\x20\x01(\tR\tpageToken\"r\n\x12ListTopicsResponse\x124\ - \n\x06topics\x18\x01\x20\x03(\x0b2\x1c.google.pubsub.v1beta2.TopicR\x06t\ - opics\x12&\n\x0fnext_page_token\x18\x02\x20\x01(\tR\rnextPageToken\"q\n\ - \x1dListTopicSubscriptionsRequest\x12\x14\n\x05topic\x18\x01\x20\x01(\tR\ - \x05topic\x12\x1b\n\tpage_size\x18\x02\x20\x01(\x05R\x08pageSize\x12\x1d\ - \n\npage_token\x18\x03\x20\x01(\tR\tpageToken\"n\n\x1eListTopicSubscript\ - ionsResponse\x12$\n\rsubscriptions\x18\x01\x20\x03(\tR\rsubscriptions\ - \x12&\n\x0fnext_page_token\x18\x02\x20\x01(\tR\rnextPageToken\"*\n\x12De\ - leteTopicRequest\x12\x14\n\x05topic\x18\x01\x20\x01(\tR\x05topic\"\xae\ - \x01\n\x0cSubscription\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x12\ - \x14\n\x05topic\x18\x02\x20\x01(\tR\x05topic\x12B\n\x0bpush_config\x18\ - \x04\x20\x01(\x0b2!.google.pubsub.v1beta2.PushConfigR\npushConfig\x120\n\ - \x14ack_deadline_seconds\x18\x05\x20\x01(\x05R\x12ackDeadlineSeconds\"\ - \xc3\x01\n\nPushConfig\x12#\n\rpush_endpoint\x18\x01\x20\x01(\tR\x0cpush\ - Endpoint\x12Q\n\nattributes\x18\x02\x20\x03(\x0b21.google.pubsub.v1beta2\ - .PushConfig.AttributesEntryR\nattributes\x1a=\n\x0fAttributesEntry\x12\ - \x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12\x14\n\x05value\x18\x02\x20\ - \x01(\tR\x05value:\x028\x01\"h\n\x0fReceivedMessage\x12\x15\n\x06ack_id\ - \x18\x01\x20\x01(\tR\x05ackId\x12>\n\x07message\x18\x02\x20\x01(\x0b2$.g\ - oogle.pubsub.v1beta2.PubsubMessageR\x07message\"<\n\x16GetSubscriptionRe\ - quest\x12\"\n\x0csubscription\x18\x01\x20\x01(\tR\x0csubscription\"p\n\ - \x18ListSubscriptionsRequest\x12\x18\n\x07project\x18\x01\x20\x01(\tR\ - \x07project\x12\x1b\n\tpage_size\x18\x02\x20\x01(\x05R\x08pageSize\x12\ - \x1d\n\npage_token\x18\x03\x20\x01(\tR\tpageToken\"\x8e\x01\n\x19ListSub\ - scriptionsResponse\x12I\n\rsubscriptions\x18\x01\x20\x03(\x0b2#.google.p\ - ubsub.v1beta2.SubscriptionR\rsubscriptions\x12&\n\x0fnext_page_token\x18\ - \x02\x20\x01(\tR\rnextPageToken\"?\n\x19DeleteSubscriptionRequest\x12\"\ - \n\x0csubscription\x18\x01\x20\x01(\tR\x0csubscription\"\x81\x01\n\x17Mo\ - difyPushConfigRequest\x12\"\n\x0csubscription\x18\x01\x20\x01(\tR\x0csub\ - scription\x12B\n\x0bpush_config\x18\x02\x20\x01(\x0b2!.google.pubsub.v1b\ - eta2.PushConfigR\npushConfig\"\x83\x01\n\x0bPullRequest\x12\"\n\x0csubsc\ - ription\x18\x01\x20\x01(\tR\x0csubscription\x12-\n\x12return_immediately\ - \x18\x02\x20\x01(\x08R\x11returnImmediately\x12!\n\x0cmax_messages\x18\ - \x03\x20\x01(\x05R\x0bmaxMessages\"c\n\x0cPullResponse\x12S\n\x11receive\ - d_messages\x18\x01\x20\x03(\x0b2&.google.pubsub.v1beta2.ReceivedMessageR\ - \x10receivedMessages\"\x87\x01\n\x18ModifyAckDeadlineRequest\x12\"\n\x0c\ - subscription\x18\x01\x20\x01(\tR\x0csubscription\x12\x15\n\x06ack_id\x18\ - \x02\x20\x01(\tR\x05ackId\x120\n\x14ack_deadline_seconds\x18\x03\x20\x01\ - (\x05R\x12ackDeadlineSeconds\"Q\n\x12AcknowledgeRequest\x12\"\n\x0csubsc\ - ription\x18\x01\x20\x01(\tR\x0csubscription\x12\x17\n\x07ack_ids\x18\x02\ - \x20\x03(\tR\x06ackIds2\x88\x06\n\nSubscriber\x12^\n\x12CreateSubscripti\ - on\x12#.google.pubsub.v1beta2.Subscription\x1a#.google.pubsub.v1beta2.Su\ - bscription\x12e\n\x0fGetSubscription\x12-.google.pubsub.v1beta2.GetSubsc\ - riptionRequest\x1a#.google.pubsub.v1beta2.Subscription\x12v\n\x11ListSub\ - scriptions\x12/.google.pubsub.v1beta2.ListSubscriptionsRequest\x1a0.goog\ - le.pubsub.v1beta2.ListSubscriptionsResponse\x12^\n\x12DeleteSubscription\ - \x120.google.pubsub.v1beta2.DeleteSubscriptionRequest\x1a\x16.google.pro\ - tobuf.Empty\x12\\\n\x11ModifyAckDeadline\x12/.google.pubsub.v1beta2.Modi\ - fyAckDeadlineRequest\x1a\x16.google.protobuf.Empty\x12P\n\x0bAcknowledge\ - \x12).google.pubsub.v1beta2.AcknowledgeRequest\x1a\x16.google.protobuf.E\ - mpty\x12O\n\x04Pull\x12\".google.pubsub.v1beta2.PullRequest\x1a#.google.\ - pubsub.v1beta2.PullResponse\x12Z\n\x10ModifyPushConfig\x12..google.pubsu\ - b.v1beta2.ModifyPushConfigRequest\x1a\x16.google.protobuf.Empty2\xbf\x04\ - \n\tPublisher\x12I\n\x0bCreateTopic\x12\x1c.google.pubsub.v1beta2.Topic\ - \x1a\x1c.google.pubsub.v1beta2.Topic\x12X\n\x07Publish\x12%.google.pubsu\ - b.v1beta2.PublishRequest\x1a&.google.pubsub.v1beta2.PublishResponse\x12P\ - \n\x08GetTopic\x12&.google.pubsub.v1beta2.GetTopicRequest\x1a\x1c.google\ - .pubsub.v1beta2.Topic\x12a\n\nListTopics\x12(.google.pubsub.v1beta2.List\ - TopicsRequest\x1a).google.pubsub.v1beta2.ListTopicsResponse\x12\x85\x01\ - \n\x16ListTopicSubscriptions\x124.google.pubsub.v1beta2.ListTopicSubscri\ - ptionsRequest\x1a5.google.pubsub.v1beta2.ListTopicSubscriptionsResponse\ - \x12P\n\x0bDeleteTopic\x12).google.pubsub.v1beta2.DeleteTopicRequest\x1a\ - \x16.google.protobuf.EmptyBg\n\x19com.google.pubsub.v1beta2B\x0bPubsubPr\ - otoP\x01Z;google.golang.org/genproto/googleapis/pubsub/v1beta2;pubsubJ\ - \xe3x\n\x07\x12\x05\x0e\0\xff\x02\x01\n\xc2\x04\n\x01\x0c\x12\x03\x0e\0\ - \x122\xb7\x04\x20Copyright\x20(c)\x202015,\x20Google\x20Inc.\n\n\x20Lice\ - nsed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20(the\x20\ - \"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20except\ - \x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20may\x20obtai\ - n\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\x20\x20http\ - ://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20required\x20by\ - \x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\x20softwar\ - e\n\x20distributed\x20under\x20the\x20License\x20is\x20distributed\x20on\ - \x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\x20CON\ - DITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20implied.\n\ - \x20See\x20the\x20License\x20for\x20the\x20specific\x20language\x20gover\ - ning\x20permissions\x20and\n\x20limitations\x20under\x20the\x20License.\ - \n\n\x08\n\x01\x02\x12\x03\x10\0\x1e\n\t\n\x02\x03\0\x12\x03\x12\0%\n\ - \x08\n\x01\x08\x12\x03\x14\0R\n\t\n\x02\x08\x0b\x12\x03\x14\0R\n\x08\n\ - \x01\x08\x12\x03\x15\0\"\n\t\n\x02\x08\n\x12\x03\x15\0\"\n\x08\n\x01\x08\ - \x12\x03\x16\0,\n\t\n\x02\x08\x08\x12\x03\x16\0,\n\x08\n\x01\x08\x12\x03\ - \x17\02\n\t\n\x02\x08\x01\x12\x03\x17\02\n\x91\x01\n\x02\x06\0\x12\x04\ - \x1c\0O\x01\x1a\x84\x01\x20The\x20service\x20that\x20an\x20application\ - \x20uses\x20to\x20manipulate\x20subscriptions\x20and\x20to\n\x20consume\ - \x20messages\x20from\x20a\x20subscription\x20via\x20the\x20Pull\x20metho\ - d.\n\n\n\n\x03\x06\0\x01\x12\x03\x1c\x08\x12\n\xd6\x02\n\x04\x06\0\x02\0\ - \x12\x03#\x02>\x1a\xc8\x02\x20Creates\x20a\x20subscription\x20to\x20a\ - \x20given\x20topic\x20for\x20a\x20given\x20subscriber.\n\x20If\x20the\ - \x20subscription\x20already\x20exists,\x20returns\x20ALREADY_EXISTS.\n\ - \x20If\x20the\x20corresponding\x20topic\x20doesn't\x20exist,\x20returns\ - \x20NOT_FOUND.\n\n\x20If\x20the\x20name\x20is\x20not\x20provided\x20in\ - \x20the\x20request,\x20the\x20server\x20will\x20assign\x20a\x20random\n\ - \x20name\x20for\x20this\x20subscription\x20on\x20the\x20same\x20project\ - \x20as\x20the\x20topic.\n\n\x0c\n\x05\x06\0\x02\0\x01\x12\x03#\x06\x18\n\ - \x0c\n\x05\x06\0\x02\0\x02\x12\x03#\x19%\n\x0c\n\x05\x06\0\x02\0\x03\x12\ - \x03#0<\n@\n\x04\x06\0\x02\x01\x12\x03&\x02E\x1a3\x20Gets\x20the\x20conf\ - iguration\x20details\x20of\x20a\x20subscription.\n\n\x0c\n\x05\x06\0\x02\ - \x01\x01\x12\x03&\x06\x15\n\x0c\n\x05\x06\0\x02\x01\x02\x12\x03&\x16,\n\ - \x0c\n\x05\x06\0\x02\x01\x03\x12\x03&7C\n,\n\x04\x06\0\x02\x02\x12\x03)\ - \x02V\x1a\x1f\x20Lists\x20matching\x20subscriptions.\n\n\x0c\n\x05\x06\0\ - \x02\x02\x01\x12\x03)\x06\x17\n\x0c\n\x05\x06\0\x02\x02\x02\x12\x03)\x18\ - 0\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x03);T\n\xe8\x02\n\x04\x06\0\x02\x03\ - \x12\x030\x02T\x1a\xda\x02\x20Deletes\x20an\x20existing\x20subscription.\ - \x20All\x20pending\x20messages\x20in\x20the\x20subscription\n\x20are\x20\ - immediately\x20dropped.\x20Calls\x20to\x20Pull\x20after\x20deletion\x20w\ - ill\x20return\n\x20NOT_FOUND.\x20After\x20a\x20subscription\x20is\x20del\ - eted,\x20a\x20new\x20one\x20may\x20be\x20created\x20with\n\x20the\x20sam\ - e\x20name,\x20but\x20the\x20new\x20one\x20has\x20no\x20association\x20wi\ - th\x20the\x20old\n\x20subscription,\x20or\x20its\x20topic\x20unless\x20t\ - he\x20same\x20topic\x20is\x20specified.\n\n\x0c\n\x05\x06\0\x02\x03\x01\ - \x12\x030\x06\x18\n\x0c\n\x05\x06\0\x02\x03\x02\x12\x030\x192\n\x0c\n\ - \x05\x06\0\x02\x03\x03\x12\x030=R\n\xfa\x01\n\x04\x06\0\x02\x04\x12\x036\ - \x02R\x1a\xec\x01\x20Modifies\x20the\x20ack\x20deadline\x20for\x20a\x20s\ - pecific\x20message.\x20This\x20method\x20is\x20useful\x20to\n\x20indicat\ - e\x20that\x20more\x20time\x20is\x20needed\x20to\x20process\x20a\x20messa\ - ge\x20by\x20the\x20subscriber,\n\x20or\x20to\x20make\x20the\x20message\ - \x20available\x20for\x20redelivery\x20if\x20the\x20processing\x20was\n\ - \x20interrupted.\n\n\x0c\n\x05\x06\0\x02\x04\x01\x12\x036\x06\x17\n\x0c\ - \n\x05\x06\0\x02\x04\x02\x12\x036\x180\n\x0c\n\x05\x06\0\x02\x04\x03\x12\ - \x036;P\n\xe9\x02\n\x04\x06\0\x02\x05\x12\x03?\x02F\x1a\xdb\x02\x20Ackno\ - wledges\x20the\x20messages\x20associated\x20with\x20the\x20ack\x20tokens\ - \x20in\x20the\n\x20AcknowledgeRequest.\x20The\x20Pub/Sub\x20system\x20ca\ - n\x20remove\x20the\x20relevant\x20messages\n\x20from\x20the\x20subscript\ - ion.\n\n\x20Acknowledging\x20a\x20message\x20whose\x20ack\x20deadline\ - \x20has\x20expired\x20may\x20succeed,\n\x20but\x20such\x20a\x20message\ - \x20may\x20be\x20redelivered\x20later.\x20Acknowledging\x20a\x20message\ - \x20more\n\x20than\x20once\x20will\x20not\x20result\x20in\x20an\x20error\ - .\n\n\x0c\n\x05\x06\0\x02\x05\x01\x12\x03?\x06\x11\n\x0c\n\x05\x06\0\x02\ - \x05\x02\x12\x03?\x12$\n\x0c\n\x05\x06\0\x02\x05\x03\x12\x03?/D\n\xf0\ - \x01\n\x04\x06\0\x02\x06\x12\x03E\x02/\x1a\xe2\x01\x20Pulls\x20messages\ - \x20from\x20the\x20server.\x20Returns\x20an\x20empty\x20list\x20if\x20th\ - ere\x20are\x20no\n\x20messages\x20available\x20in\x20the\x20backlog.\x20\ - The\x20server\x20may\x20return\x20UNAVAILABLE\x20if\n\x20there\x20are\ - \x20too\x20many\x20concurrent\x20pull\x20requests\x20pending\x20for\x20t\ - he\x20given\n\x20subscription.\n\n\x0c\n\x05\x06\0\x02\x06\x01\x12\x03E\ - \x06\n\n\x0c\n\x05\x06\0\x02\x06\x02\x12\x03E\x0b\x16\n\x0c\n\x05\x06\0\ - \x02\x06\x03\x12\x03E!-\n\xef\x02\n\x04\x06\0\x02\x07\x12\x03N\x02P\x1a\ - \xe1\x02\x20Modifies\x20the\x20PushConfig\x20for\x20a\x20specified\x20su\ - bscription.\n\n\x20This\x20may\x20be\x20used\x20to\x20change\x20a\x20pus\ - h\x20subscription\x20to\x20a\x20pull\x20one\x20(signified\n\x20by\x20an\ - \x20empty\x20PushConfig)\x20or\x20vice\x20versa,\x20or\x20change\x20the\ - \x20endpoint\x20URL\x20and\x20other\n\x20attributes\x20of\x20a\x20push\ - \x20subscription.\x20Messages\x20will\x20accumulate\x20for\n\x20delivery\ - \x20continuously\x20through\x20the\x20call\x20regardless\x20of\x20change\ - s\x20to\x20the\n\x20PushConfig.\n\n\x0c\n\x05\x06\0\x02\x07\x01\x12\x03N\ - \x06\x16\n\x0c\n\x05\x06\0\x02\x07\x02\x12\x03N\x17.\n\x0c\n\x05\x06\0\ - \x02\x07\x03\x12\x03N9N\nj\n\x02\x06\x01\x12\x04S\0j\x01\x1a^\x20The\x20\ - service\x20that\x20an\x20application\x20uses\x20to\x20manipulate\x20topi\ - cs,\x20and\x20to\x20send\n\x20messages\x20to\x20a\x20topic.\n\n\n\n\x03\ - \x06\x01\x01\x12\x03S\x08\x11\n;\n\x04\x06\x01\x02\0\x12\x03U\x02)\x1a.\ - \x20Creates\x20the\x20given\x20topic\x20with\x20the\x20given\x20name.\n\ - \n\x0c\n\x05\x06\x01\x02\0\x01\x12\x03U\x06\x11\n\x0c\n\x05\x06\x01\x02\ - \0\x02\x12\x03U\x12\x17\n\x0c\n\x05\x06\x01\x02\0\x03\x12\x03U\"'\nf\n\ - \x04\x06\x01\x02\x01\x12\x03Y\x028\x1aY\x20Adds\x20one\x20or\x20more\x20\ - messages\x20to\x20the\x20topic.\x20Returns\x20NOT_FOUND\x20if\x20the\x20\ - topic\x20does\n\x20not\x20exist.\n\n\x0c\n\x05\x06\x01\x02\x01\x01\x12\ - \x03Y\x06\r\n\x0c\n\x05\x06\x01\x02\x01\x02\x12\x03Y\x0e\x1c\n\x0c\n\x05\ - \x06\x01\x02\x01\x03\x12\x03Y'6\n1\n\x04\x06\x01\x02\x02\x12\x03\\\x020\ - \x1a$\x20Gets\x20the\x20configuration\x20of\x20a\x20topic.\n\n\x0c\n\x05\ - \x06\x01\x02\x02\x01\x12\x03\\\x06\x0e\n\x0c\n\x05\x06\x01\x02\x02\x02\ - \x12\x03\\\x0f\x1e\n\x0c\n\x05\x06\x01\x02\x02\x03\x12\x03\\).\n%\n\x04\ - \x06\x01\x02\x03\x12\x03_\x02A\x1a\x18\x20Lists\x20matching\x20topics.\n\ - \n\x0c\n\x05\x06\x01\x02\x03\x01\x12\x03_\x06\x10\n\x0c\n\x05\x06\x01\ - \x02\x03\x02\x12\x03_\x11\"\n\x0c\n\x05\x06\x01\x02\x03\x03\x12\x03_-?\n\ - B\n\x04\x06\x01\x02\x04\x12\x03b\x02e\x1a5\x20Lists\x20the\x20name\x20of\ - \x20the\x20subscriptions\x20for\x20this\x20topic.\n\n\x0c\n\x05\x06\x01\ - \x02\x04\x01\x12\x03b\x06\x1c\n\x0c\n\x05\x06\x01\x02\x04\x02\x12\x03b\ - \x1d:\n\x0c\n\x05\x06\x01\x02\x04\x03\x12\x03bEc\n\xbb\x02\n\x04\x06\x01\ - \x02\x05\x12\x03i\x02F\x1a\xad\x02\x20Deletes\x20the\x20topic\x20with\ - \x20the\x20given\x20name.\x20Returns\x20NOT_FOUND\x20if\x20the\x20topic\ - \x20does\n\x20not\x20exist.\x20After\x20a\x20topic\x20is\x20deleted,\x20\ - a\x20new\x20topic\x20may\x20be\x20created\x20with\x20the\n\x20same\x20na\ - me;\x20this\x20is\x20an\x20entirely\x20new\x20topic\x20with\x20none\x20o\ - f\x20the\x20old\n\x20configuration\x20or\x20subscriptions.\x20Existing\ - \x20subscriptions\x20to\x20this\x20topic\x20are\n\x20not\x20deleted.\n\n\ - \x0c\n\x05\x06\x01\x02\x05\x01\x12\x03i\x06\x11\n\x0c\n\x05\x06\x01\x02\ - \x05\x02\x12\x03i\x12$\n\x0c\n\x05\x06\x01\x02\x05\x03\x12\x03i/D\n\x1f\ - \n\x02\x04\0\x12\x04m\0p\x01\x1a\x13\x20A\x20topic\x20resource.\n\n\n\n\ - \x03\x04\0\x01\x12\x03m\x08\r\n!\n\x04\x04\0\x02\0\x12\x03o\x02\x12\x1a\ - \x14\x20Name\x20of\x20the\x20topic.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04o\ - \x02m\x0f\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03o\x02\x08\n\x0c\n\x05\x04\0\ - \x02\0\x01\x12\x03o\t\r\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03o\x10\x11\n1\ - \n\x02\x04\x01\x12\x05s\0\x80\x01\x01\x1a$\x20A\x20message\x20data\x20an\ - d\x20its\x20attributes.\n\n\n\n\x03\x04\x01\x01\x12\x03s\x08\x15\ng\n\ - \x04\x04\x01\x02\0\x12\x03v\x02\x11\x1aZ\x20The\x20message\x20payload.\ - \x20For\x20JSON\x20requests,\x20the\x20value\x20of\x20this\x20field\x20m\ - ust\x20be\n\x20base64-encoded.\n\n\r\n\x05\x04\x01\x02\0\x04\x12\x04v\ - \x02s\x17\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03v\x02\x07\n\x0c\n\x05\x04\ - \x01\x02\0\x01\x12\x03v\x08\x0c\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03v\ - \x0f\x10\n4\n\x04\x04\x01\x02\x01\x12\x03y\x02%\x1a'\x20Optional\x20attr\ - ibutes\x20for\x20this\x20message.\n\n\r\n\x05\x04\x01\x02\x01\x04\x12\ - \x04y\x02v\x11\n\x0c\n\x05\x04\x01\x02\x01\x06\x12\x03y\x02\x15\n\x0c\n\ - \x05\x04\x01\x02\x01\x01\x12\x03y\x16\x20\n\x0c\n\x05\x04\x01\x02\x01\ - \x03\x12\x03y#$\n\x9f\x02\n\x04\x04\x01\x02\x02\x12\x03\x7f\x02\x18\x1a\ - \x91\x02\x20ID\x20of\x20this\x20message\x20assigned\x20by\x20the\x20serv\ - er\x20at\x20publication\x20time.\x20Guaranteed\n\x20to\x20be\x20unique\ - \x20within\x20the\x20topic.\x20This\x20value\x20may\x20be\x20read\x20by\ - \x20a\x20subscriber\n\x20that\x20receives\x20a\x20PubsubMessage\x20via\ - \x20a\x20Pull\x20call\x20or\x20a\x20push\x20delivery.\x20It\x20must\n\ - \x20not\x20be\x20populated\x20by\x20a\x20publisher\x20in\x20a\x20Publish\ - \x20call.\n\n\r\n\x05\x04\x01\x02\x02\x04\x12\x04\x7f\x02y%\n\x0c\n\x05\ - \x04\x01\x02\x02\x05\x12\x03\x7f\x02\x08\n\x0c\n\x05\x04\x01\x02\x02\x01\ - \x12\x03\x7f\t\x13\n\x0c\n\x05\x04\x01\x02\x02\x03\x12\x03\x7f\x16\x17\n\ - 0\n\x02\x04\x02\x12\x06\x83\x01\0\x86\x01\x01\x1a\"\x20Request\x20for\ - \x20the\x20GetTopic\x20method.\n\n\x0b\n\x03\x04\x02\x01\x12\x04\x83\x01\ - \x08\x17\n-\n\x04\x04\x02\x02\0\x12\x04\x85\x01\x02\x13\x1a\x1f\x20The\ - \x20name\x20of\x20the\x20topic\x20to\x20get.\n\n\x0f\n\x05\x04\x02\x02\0\ - \x04\x12\x06\x85\x01\x02\x83\x01\x19\n\r\n\x05\x04\x02\x02\0\x05\x12\x04\ - \x85\x01\x02\x08\n\r\n\x05\x04\x02\x02\0\x01\x12\x04\x85\x01\t\x0e\n\r\n\ - \x05\x04\x02\x02\0\x03\x12\x04\x85\x01\x11\x12\n/\n\x02\x04\x03\x12\x06\ - \x89\x01\0\x8f\x01\x01\x1a!\x20Request\x20for\x20the\x20Publish\x20metho\ - d.\n\n\x0b\n\x03\x04\x03\x01\x12\x04\x89\x01\x08\x16\nL\n\x04\x04\x03\ - \x02\0\x12\x04\x8b\x01\x02\x13\x1a>\x20The\x20messages\x20in\x20the\x20r\ - equest\x20will\x20be\x20published\x20on\x20this\x20topic.\n\n\x0f\n\x05\ - \x04\x03\x02\0\x04\x12\x06\x8b\x01\x02\x89\x01\x18\n\r\n\x05\x04\x03\x02\ - \0\x05\x12\x04\x8b\x01\x02\x08\n\r\n\x05\x04\x03\x02\0\x01\x12\x04\x8b\ - \x01\t\x0e\n\r\n\x05\x04\x03\x02\0\x03\x12\x04\x8b\x01\x11\x12\n(\n\x04\ - \x04\x03\x02\x01\x12\x04\x8e\x01\x02&\x1a\x1a\x20The\x20messages\x20to\ - \x20publish.\n\n\r\n\x05\x04\x03\x02\x01\x04\x12\x04\x8e\x01\x02\n\n\r\n\ - \x05\x04\x03\x02\x01\x06\x12\x04\x8e\x01\x0b\x18\n\r\n\x05\x04\x03\x02\ - \x01\x01\x12\x04\x8e\x01\x19!\n\r\n\x05\x04\x03\x02\x01\x03\x12\x04\x8e\ - \x01$%\n0\n\x02\x04\x04\x12\x06\x92\x01\0\x97\x01\x01\x1a\"\x20Response\ - \x20for\x20the\x20Publish\x20method.\n\n\x0b\n\x03\x04\x04\x01\x12\x04\ - \x92\x01\x08\x17\n\xa8\x01\n\x04\x04\x04\x02\0\x12\x04\x96\x01\x02\"\x1a\ - \x99\x01\x20The\x20server-assigned\x20ID\x20of\x20each\x20published\x20m\ - essage,\x20in\x20the\x20same\x20order\x20as\n\x20the\x20messages\x20in\ - \x20the\x20request.\x20IDs\x20are\x20guaranteed\x20to\x20be\x20unique\ - \x20within\n\x20the\x20topic.\n\n\r\n\x05\x04\x04\x02\0\x04\x12\x04\x96\ - \x01\x02\n\n\r\n\x05\x04\x04\x02\0\x05\x12\x04\x96\x01\x0b\x11\n\r\n\x05\ - \x04\x04\x02\0\x01\x12\x04\x96\x01\x12\x1d\n\r\n\x05\x04\x04\x02\0\x03\ - \x12\x04\x96\x01\x20!\n2\n\x02\x04\x05\x12\x06\x9a\x01\0\xa5\x01\x01\x1a\ - $\x20Request\x20for\x20the\x20ListTopics\x20method.\n\n\x0b\n\x03\x04\ - \x05\x01\x12\x04\x9a\x01\x08\x19\nD\n\x04\x04\x05\x02\0\x12\x04\x9c\x01\ - \x02\x15\x1a6\x20The\x20name\x20of\x20the\x20cloud\x20project\x20that\ - \x20topics\x20belong\x20to.\n\n\x0f\n\x05\x04\x05\x02\0\x04\x12\x06\x9c\ - \x01\x02\x9a\x01\x1b\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\x9c\x01\x02\x08\ - \n\r\n\x05\x04\x05\x02\0\x01\x12\x04\x9c\x01\t\x10\n\r\n\x05\x04\x05\x02\ - \0\x03\x12\x04\x9c\x01\x13\x14\n3\n\x04\x04\x05\x02\x01\x12\x04\x9f\x01\ - \x02\x16\x1a%\x20Maximum\x20number\x20of\x20topics\x20to\x20return.\n\n\ - \x0f\n\x05\x04\x05\x02\x01\x04\x12\x06\x9f\x01\x02\x9c\x01\x15\n\r\n\x05\ - \x04\x05\x02\x01\x05\x12\x04\x9f\x01\x02\x07\n\r\n\x05\x04\x05\x02\x01\ - \x01\x12\x04\x9f\x01\x08\x11\n\r\n\x05\x04\x05\x02\x01\x03\x12\x04\x9f\ - \x01\x14\x15\n\xc0\x01\n\x04\x04\x05\x02\x02\x12\x04\xa4\x01\x02\x18\x1a\ - \xb1\x01\x20The\x20value\x20returned\x20by\x20the\x20last\x20ListTopicsR\ - esponse;\x20indicates\x20that\x20this\x20is\n\x20a\x20continuation\x20of\ - \x20a\x20prior\x20ListTopics\x20call,\x20and\x20that\x20the\x20system\ - \x20should\n\x20return\x20the\x20next\x20page\x20of\x20data.\n\n\x0f\n\ - \x05\x04\x05\x02\x02\x04\x12\x06\xa4\x01\x02\x9f\x01\x16\n\r\n\x05\x04\ - \x05\x02\x02\x05\x12\x04\xa4\x01\x02\x08\n\r\n\x05\x04\x05\x02\x02\x01\ - \x12\x04\xa4\x01\t\x13\n\r\n\x05\x04\x05\x02\x02\x03\x12\x04\xa4\x01\x16\ - \x17\n3\n\x02\x04\x06\x12\x06\xa8\x01\0\xaf\x01\x01\x1a%\x20Response\x20\ - for\x20the\x20ListTopics\x20method.\n\n\x0b\n\x03\x04\x06\x01\x12\x04\ - \xa8\x01\x08\x1a\n%\n\x04\x04\x06\x02\0\x12\x04\xaa\x01\x02\x1c\x1a\x17\ - \x20The\x20resulting\x20topics.\n\n\r\n\x05\x04\x06\x02\0\x04\x12\x04\ - \xaa\x01\x02\n\n\r\n\x05\x04\x06\x02\0\x06\x12\x04\xaa\x01\x0b\x10\n\r\n\ - \x05\x04\x06\x02\0\x01\x12\x04\xaa\x01\x11\x17\n\r\n\x05\x04\x06\x02\0\ - \x03\x12\x04\xaa\x01\x1a\x1b\n\x97\x01\n\x04\x04\x06\x02\x01\x12\x04\xae\ - \x01\x02\x1d\x1a\x88\x01\x20If\x20not\x20empty,\x20indicates\x20that\x20\ - there\x20may\x20be\x20more\x20topics\x20that\x20match\x20the\n\x20reques\ - t;\x20this\x20value\x20should\x20be\x20passed\x20in\x20a\x20new\x20ListT\ - opicsRequest.\n\n\x0f\n\x05\x04\x06\x02\x01\x04\x12\x06\xae\x01\x02\xaa\ - \x01\x1c\n\r\n\x05\x04\x06\x02\x01\x05\x12\x04\xae\x01\x02\x08\n\r\n\x05\ - \x04\x06\x02\x01\x01\x12\x04\xae\x01\t\x18\n\r\n\x05\x04\x06\x02\x01\x03\ - \x12\x04\xae\x01\x1b\x1c\n>\n\x02\x04\x07\x12\x06\xb2\x01\0\xbd\x01\x01\ - \x1a0\x20Request\x20for\x20the\x20ListTopicSubscriptions\x20method.\n\n\ - \x0b\n\x03\x04\x07\x01\x12\x04\xb2\x01\x08%\nI\n\x04\x04\x07\x02\0\x12\ - \x04\xb4\x01\x02\x13\x1a;\x20The\x20name\x20of\x20the\x20topic\x20that\ - \x20subscriptions\x20are\x20attached\x20to.\n\n\x0f\n\x05\x04\x07\x02\0\ - \x04\x12\x06\xb4\x01\x02\xb2\x01'\n\r\n\x05\x04\x07\x02\0\x05\x12\x04\ - \xb4\x01\x02\x08\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\xb4\x01\t\x0e\n\r\n\ - \x05\x04\x07\x02\0\x03\x12\x04\xb4\x01\x11\x12\n?\n\x04\x04\x07\x02\x01\ - \x12\x04\xb7\x01\x02\x16\x1a1\x20Maximum\x20number\x20of\x20subscription\ - \x20names\x20to\x20return.\n\n\x0f\n\x05\x04\x07\x02\x01\x04\x12\x06\xb7\ - \x01\x02\xb4\x01\x13\n\r\n\x05\x04\x07\x02\x01\x05\x12\x04\xb7\x01\x02\ - \x07\n\r\n\x05\x04\x07\x02\x01\x01\x12\x04\xb7\x01\x08\x11\n\r\n\x05\x04\ - \x07\x02\x01\x03\x12\x04\xb7\x01\x14\x15\n\xd8\x01\n\x04\x04\x07\x02\x02\ - \x12\x04\xbc\x01\x02\x18\x1a\xc9\x01\x20The\x20value\x20returned\x20by\ - \x20the\x20last\x20ListTopicSubscriptionsResponse;\x20indicates\n\x20tha\ - t\x20this\x20is\x20a\x20continuation\x20of\x20a\x20prior\x20ListTopicSub\ - scriptions\x20call,\x20and\n\x20that\x20the\x20system\x20should\x20retur\ - n\x20the\x20next\x20page\x20of\x20data.\n\n\x0f\n\x05\x04\x07\x02\x02\ - \x04\x12\x06\xbc\x01\x02\xb7\x01\x16\n\r\n\x05\x04\x07\x02\x02\x05\x12\ - \x04\xbc\x01\x02\x08\n\r\n\x05\x04\x07\x02\x02\x01\x12\x04\xbc\x01\t\x13\ - \n\r\n\x05\x04\x07\x02\x02\x03\x12\x04\xbc\x01\x16\x17\n?\n\x02\x04\x08\ - \x12\x06\xc0\x01\0\xc8\x01\x01\x1a1\x20Response\x20for\x20the\x20ListTop\ - icSubscriptions\x20method.\n\n\x0b\n\x03\x04\x08\x01\x12\x04\xc0\x01\x08\ - &\nF\n\x04\x04\x08\x02\0\x12\x04\xc2\x01\x02$\x1a8\x20The\x20names\x20of\ - \x20the\x20subscriptions\x20that\x20match\x20the\x20request.\n\n\r\n\x05\ - \x04\x08\x02\0\x04\x12\x04\xc2\x01\x02\n\n\r\n\x05\x04\x08\x02\0\x05\x12\ - \x04\xc2\x01\x0b\x11\n\r\n\x05\x04\x08\x02\0\x01\x12\x04\xc2\x01\x12\x1f\ - \n\r\n\x05\x04\x08\x02\0\x03\x12\x04\xc2\x01\"#\n\xc5\x01\n\x04\x04\x08\ - \x02\x01\x12\x04\xc7\x01\x02\x1d\x1a\xb6\x01\x20If\x20not\x20empty,\x20i\ - ndicates\x20that\x20there\x20may\x20be\x20more\x20subscriptions\x20that\ - \x20match\n\x20the\x20request;\x20this\x20value\x20should\x20be\x20passe\ - d\x20in\x20a\x20new\n\x20ListTopicSubscriptionsRequest\x20to\x20get\x20m\ - ore\x20subscriptions.\n\n\x0f\n\x05\x04\x08\x02\x01\x04\x12\x06\xc7\x01\ - \x02\xc2\x01$\n\r\n\x05\x04\x08\x02\x01\x05\x12\x04\xc7\x01\x02\x08\n\r\ - \n\x05\x04\x08\x02\x01\x01\x12\x04\xc7\x01\t\x18\n\r\n\x05\x04\x08\x02\ - \x01\x03\x12\x04\xc7\x01\x1b\x1c\n3\n\x02\x04\t\x12\x06\xcb\x01\0\xce\ - \x01\x01\x1a%\x20Request\x20for\x20the\x20DeleteTopic\x20method.\n\n\x0b\ - \n\x03\x04\t\x01\x12\x04\xcb\x01\x08\x1a\n,\n\x04\x04\t\x02\0\x12\x04\ - \xcd\x01\x02\x13\x1a\x1e\x20Name\x20of\x20the\x20topic\x20to\x20delete.\ - \n\n\x0f\n\x05\x04\t\x02\0\x04\x12\x06\xcd\x01\x02\xcb\x01\x1c\n\r\n\x05\ - \x04\t\x02\0\x05\x12\x04\xcd\x01\x02\x08\n\r\n\x05\x04\t\x02\0\x01\x12\ - \x04\xcd\x01\t\x0e\n\r\n\x05\x04\t\x02\0\x03\x12\x04\xcd\x01\x11\x12\n(\ - \n\x02\x04\n\x12\x06\xd1\x01\0\xef\x01\x01\x1a\x1a\x20A\x20subscription\ - \x20resource.\n\n\x0b\n\x03\x04\n\x01\x12\x04\xd1\x01\x08\x14\n)\n\x04\ - \x04\n\x02\0\x12\x04\xd3\x01\x02\x12\x1a\x1b\x20Name\x20of\x20the\x20sub\ - scription.\n\n\x0f\n\x05\x04\n\x02\0\x04\x12\x06\xd3\x01\x02\xd1\x01\x16\ - \n\r\n\x05\x04\n\x02\0\x05\x12\x04\xd3\x01\x02\x08\n\r\n\x05\x04\n\x02\0\ - \x01\x12\x04\xd3\x01\t\r\n\r\n\x05\x04\n\x02\0\x03\x12\x04\xd3\x01\x10\ - \x11\n\xb7\x01\n\x04\x04\n\x02\x01\x12\x04\xd8\x01\x02\x13\x1a\xa8\x01\ - \x20The\x20name\x20of\x20the\x20topic\x20from\x20which\x20this\x20subscr\ - iption\x20is\x20receiving\x20messages.\n\x20This\x20will\x20be\x20presen\ - t\x20if\x20and\x20only\x20if\x20the\x20subscription\x20has\x20not\x20bee\ - n\x20detached\n\x20from\x20its\x20topic.\n\n\x0f\n\x05\x04\n\x02\x01\x04\ - \x12\x06\xd8\x01\x02\xd3\x01\x12\n\r\n\x05\x04\n\x02\x01\x05\x12\x04\xd8\ - \x01\x02\x08\n\r\n\x05\x04\n\x02\x01\x01\x12\x04\xd8\x01\t\x0e\n\r\n\x05\ - \x04\n\x02\x01\x03\x12\x04\xd8\x01\x11\x12\n\xc7\x01\n\x04\x04\n\x02\x02\ - \x12\x04\xdd\x01\x02\x1d\x1a\xb8\x01\x20If\x20push\x20delivery\x20is\x20\ - used\x20with\x20this\x20subscription,\x20this\x20field\x20is\n\x20used\ - \x20to\x20configure\x20it.\x20An\x20empty\x20pushConfig\x20signifies\x20\ - that\x20the\x20subscriber\n\x20will\x20pull\x20and\x20ack\x20messages\ - \x20using\x20API\x20methods.\n\n\x0f\n\x05\x04\n\x02\x02\x04\x12\x06\xdd\ - \x01\x02\xd8\x01\x13\n\r\n\x05\x04\n\x02\x02\x06\x12\x04\xdd\x01\x02\x0c\ - \n\r\n\x05\x04\n\x02\x02\x01\x12\x04\xdd\x01\r\x18\n\r\n\x05\x04\n\x02\ - \x02\x03\x12\x04\xdd\x01\x1b\x1c\n\xd3\x05\n\x04\x04\n\x02\x03\x12\x04\ - \xee\x01\x02!\x1a\xc4\x05\x20This\x20value\x20is\x20the\x20maximum\x20ti\ - me\x20after\x20a\x20subscriber\x20receives\x20a\x20message\n\x20before\ - \x20the\x20subscriber\x20should\x20acknowledge\x20the\x20message.\x20Aft\ - er\x20message\n\x20delivery\x20but\x20before\x20the\x20ack\x20deadline\ - \x20expires\x20and\x20before\x20the\x20message\x20is\n\x20acknowledged,\ - \x20it\x20is\x20an\x20outstanding\x20message\x20and\x20will\x20not\x20be\ - \x20delivered\n\x20again\x20during\x20that\x20time\x20(on\x20a\x20best-e\ - ffort\x20basis).\n\n\x20For\x20pull\x20delivery\x20this\x20value\n\x20is\ - \x20used\x20as\x20the\x20initial\x20value\x20for\x20the\x20ack\x20deadli\ - ne.\x20It\x20may\x20be\x20overridden\n\x20for\x20a\x20specific\x20messag\ - e\x20by\x20calling\x20ModifyAckDeadline.\n\n\x20For\x20push\x20delivery,\ - \x20this\x20value\x20is\x20also\x20used\x20to\x20set\x20the\x20request\ - \x20timeout\x20for\n\x20the\x20call\x20to\x20the\x20push\x20endpoint.\n\ - \n\x20If\x20the\x20subscriber\x20never\x20acknowledges\x20the\x20message\ - ,\x20the\x20Pub/Sub\n\x20system\x20will\x20eventually\x20redeliver\x20th\ - e\x20message.\n\n\x0f\n\x05\x04\n\x02\x03\x04\x12\x06\xee\x01\x02\xdd\ - \x01\x1d\n\r\n\x05\x04\n\x02\x03\x05\x12\x04\xee\x01\x02\x07\n\r\n\x05\ - \x04\n\x02\x03\x01\x12\x04\xee\x01\x08\x1c\n\r\n\x05\x04\n\x02\x03\x03\ - \x12\x04\xee\x01\x1f\x20\n;\n\x02\x04\x0b\x12\x06\xf2\x01\0\x8f\x02\x01\ - \x1a-\x20Configuration\x20for\x20a\x20push\x20delivery\x20endpoint.\n\n\ - \x0b\n\x03\x04\x0b\x01\x12\x04\xf2\x01\x08\x12\n\x97\x01\n\x04\x04\x0b\ - \x02\0\x12\x04\xf5\x01\x02\x1b\x1a\x88\x01\x20A\x20URL\x20locating\x20th\ - e\x20endpoint\x20to\x20which\x20messages\x20should\x20be\x20pushed.\n\ - \x20For\x20example,\x20a\x20Webhook\x20endpoint\x20might\x20use\x20\"htt\ - ps://example.com/push\".\n\n\x0f\n\x05\x04\x0b\x02\0\x04\x12\x06\xf5\x01\ - \x02\xf2\x01\x14\n\r\n\x05\x04\x0b\x02\0\x05\x12\x04\xf5\x01\x02\x08\n\r\ - \n\x05\x04\x0b\x02\0\x01\x12\x04\xf5\x01\t\x16\n\r\n\x05\x04\x0b\x02\0\ - \x03\x12\x04\xf5\x01\x19\x1a\n\xfe\x07\n\x04\x04\x0b\x02\x01\x12\x04\x8e\ - \x02\x02%\x1a\xef\x07\x20Endpoint\x20configuration\x20attributes.\n\n\ - \x20Every\x20endpoint\x20has\x20a\x20set\x20of\x20API\x20supported\x20at\ - tributes\x20that\x20can\x20be\x20used\x20to\n\x20control\x20different\ - \x20aspects\x20of\x20the\x20message\x20delivery.\n\n\x20The\x20currently\ - \x20supported\x20attribute\x20is\x20`x-goog-version`,\x20which\x20you\ - \x20can\n\x20use\x20to\x20change\x20the\x20format\x20of\x20the\x20push\ - \x20message.\x20This\x20attribute\n\x20indicates\x20the\x20version\x20of\ - \x20the\x20data\x20expected\x20by\x20the\x20endpoint.\x20This\n\x20contr\ - ols\x20the\x20shape\x20of\x20the\x20envelope\x20(i.e.\x20its\x20fields\ - \x20and\x20metadata).\n\x20The\x20endpoint\x20version\x20is\x20based\x20\ - on\x20the\x20version\x20of\x20the\x20Pub/Sub\n\x20API.\n\n\x20If\x20not\ - \x20present\x20during\x20the\x20CreateSubscription\x20call,\x20it\x20wil\ - l\x20default\x20to\n\x20the\x20version\x20of\x20the\x20API\x20used\x20to\ - \x20make\x20such\x20call.\x20If\x20not\x20present\x20during\x20a\n\x20Mo\ - difyPushConfig\x20call,\x20its\x20value\x20will\x20not\x20be\x20changed.\ - \x20GetSubscription\n\x20calls\x20will\x20always\x20return\x20a\x20valid\ - \x20version,\x20even\x20if\x20the\x20subscription\x20was\n\x20created\ - \x20without\x20this\x20attribute.\n\n\x20The\x20possible\x20values\x20fo\ - r\x20this\x20attribute\x20are:\n\n\x20*\x20`v1beta1`:\x20uses\x20the\x20\ - push\x20format\x20defined\x20in\x20the\x20v1beta1\x20Pub/Sub\x20API.\n\ - \x20*\x20`v1beta2`:\x20uses\x20the\x20push\x20format\x20defined\x20in\ - \x20the\x20v1beta2\x20Pub/Sub\x20API.\n\n\n\x0f\n\x05\x04\x0b\x02\x01\ - \x04\x12\x06\x8e\x02\x02\xf5\x01\x1b\n\r\n\x05\x04\x0b\x02\x01\x06\x12\ - \x04\x8e\x02\x02\x15\n\r\n\x05\x04\x0b\x02\x01\x01\x12\x04\x8e\x02\x16\ - \x20\n\r\n\x05\x04\x0b\x02\x01\x03\x12\x04\x8e\x02#$\nB\n\x02\x04\x0c\ - \x12\x06\x92\x02\0\x98\x02\x01\x1a4\x20A\x20message\x20and\x20its\x20cor\ - responding\x20acknowledgment\x20ID.\n\n\x0b\n\x03\x04\x0c\x01\x12\x04\ - \x92\x02\x08\x17\nH\n\x04\x04\x0c\x02\0\x12\x04\x94\x02\x02\x14\x1a:\x20\ - This\x20ID\x20can\x20be\x20used\x20to\x20acknowledge\x20the\x20received\ - \x20message.\n\n\x0f\n\x05\x04\x0c\x02\0\x04\x12\x06\x94\x02\x02\x92\x02\ - \x19\n\r\n\x05\x04\x0c\x02\0\x05\x12\x04\x94\x02\x02\x08\n\r\n\x05\x04\ - \x0c\x02\0\x01\x12\x04\x94\x02\t\x0f\n\r\n\x05\x04\x0c\x02\0\x03\x12\x04\ - \x94\x02\x12\x13\n\x1c\n\x04\x04\x0c\x02\x01\x12\x04\x97\x02\x02\x1c\x1a\ - \x0e\x20The\x20message.\n\n\x0f\n\x05\x04\x0c\x02\x01\x04\x12\x06\x97\ - \x02\x02\x94\x02\x14\n\r\n\x05\x04\x0c\x02\x01\x06\x12\x04\x97\x02\x02\ - \x0f\n\r\n\x05\x04\x0c\x02\x01\x01\x12\x04\x97\x02\x10\x17\n\r\n\x05\x04\ - \x0c\x02\x01\x03\x12\x04\x97\x02\x1a\x1b\n7\n\x02\x04\r\x12\x06\x9b\x02\ - \0\x9e\x02\x01\x1a)\x20Request\x20for\x20the\x20GetSubscription\x20metho\ - d.\n\n\x0b\n\x03\x04\r\x01\x12\x04\x9b\x02\x08\x1e\n4\n\x04\x04\r\x02\0\ - \x12\x04\x9d\x02\x02\x1a\x1a&\x20The\x20name\x20of\x20the\x20subscriptio\ - n\x20to\x20get.\n\n\x0f\n\x05\x04\r\x02\0\x04\x12\x06\x9d\x02\x02\x9b\ - \x02\x20\n\r\n\x05\x04\r\x02\0\x05\x12\x04\x9d\x02\x02\x08\n\r\n\x05\x04\ - \r\x02\0\x01\x12\x04\x9d\x02\t\x15\n\r\n\x05\x04\r\x02\0\x03\x12\x04\x9d\ - \x02\x18\x19\n9\n\x02\x04\x0e\x12\x06\xa1\x02\0\xac\x02\x01\x1a+\x20Requ\ - est\x20for\x20the\x20ListSubscriptions\x20method.\n\n\x0b\n\x03\x04\x0e\ - \x01\x12\x04\xa1\x02\x08\x20\nK\n\x04\x04\x0e\x02\0\x12\x04\xa3\x02\x02\ - \x15\x1a=\x20The\x20name\x20of\x20the\x20cloud\x20project\x20that\x20sub\ - scriptions\x20belong\x20to.\n\n\x0f\n\x05\x04\x0e\x02\0\x04\x12\x06\xa3\ - \x02\x02\xa1\x02\"\n\r\n\x05\x04\x0e\x02\0\x05\x12\x04\xa3\x02\x02\x08\n\ - \r\n\x05\x04\x0e\x02\0\x01\x12\x04\xa3\x02\t\x10\n\r\n\x05\x04\x0e\x02\0\ - \x03\x12\x04\xa3\x02\x13\x14\n:\n\x04\x04\x0e\x02\x01\x12\x04\xa6\x02\ - \x02\x16\x1a,\x20Maximum\x20number\x20of\x20subscriptions\x20to\x20retur\ - n.\n\n\x0f\n\x05\x04\x0e\x02\x01\x04\x12\x06\xa6\x02\x02\xa3\x02\x15\n\r\ - \n\x05\x04\x0e\x02\x01\x05\x12\x04\xa6\x02\x02\x07\n\r\n\x05\x04\x0e\x02\ - \x01\x01\x12\x04\xa6\x02\x08\x11\n\r\n\x05\x04\x0e\x02\x01\x03\x12\x04\ - \xa6\x02\x14\x15\n\xce\x01\n\x04\x04\x0e\x02\x02\x12\x04\xab\x02\x02\x18\ - \x1a\xbf\x01\x20The\x20value\x20returned\x20by\x20the\x20last\x20ListSub\ - scriptionsResponse;\x20indicates\x20that\n\x20this\x20is\x20a\x20continu\ - ation\x20of\x20a\x20prior\x20ListSubscriptions\x20call,\x20and\x20that\ - \x20the\n\x20system\x20should\x20return\x20the\x20next\x20page\x20of\x20\ - data.\n\n\x0f\n\x05\x04\x0e\x02\x02\x04\x12\x06\xab\x02\x02\xa6\x02\x16\ - \n\r\n\x05\x04\x0e\x02\x02\x05\x12\x04\xab\x02\x02\x08\n\r\n\x05\x04\x0e\ - \x02\x02\x01\x12\x04\xab\x02\t\x13\n\r\n\x05\x04\x0e\x02\x02\x03\x12\x04\ - \xab\x02\x16\x17\n:\n\x02\x04\x0f\x12\x06\xaf\x02\0\xb7\x02\x01\x1a,\x20\ - Response\x20for\x20the\x20ListSubscriptions\x20method.\n\n\x0b\n\x03\x04\ - \x0f\x01\x12\x04\xaf\x02\x08!\n9\n\x04\x04\x0f\x02\0\x12\x04\xb1\x02\x02\ - *\x1a+\x20The\x20subscriptions\x20that\x20match\x20the\x20request.\n\n\r\ - \n\x05\x04\x0f\x02\0\x04\x12\x04\xb1\x02\x02\n\n\r\n\x05\x04\x0f\x02\0\ - \x06\x12\x04\xb1\x02\x0b\x17\n\r\n\x05\x04\x0f\x02\0\x01\x12\x04\xb1\x02\ - \x18%\n\r\n\x05\x04\x0f\x02\0\x03\x12\x04\xb1\x02()\n\xc0\x01\n\x04\x04\ - \x0f\x02\x01\x12\x04\xb6\x02\x02\x1d\x1a\xb1\x01\x20If\x20not\x20empty,\ - \x20indicates\x20that\x20there\x20may\x20be\x20more\x20subscriptions\x20\ - that\x20match\n\x20the\x20request;\x20this\x20value\x20should\x20be\x20p\ - assed\x20in\x20a\x20new\x20ListSubscriptionsRequest\n\x20to\x20get\x20mo\ - re\x20subscriptions.\n\n\x0f\n\x05\x04\x0f\x02\x01\x04\x12\x06\xb6\x02\ - \x02\xb1\x02*\n\r\n\x05\x04\x0f\x02\x01\x05\x12\x04\xb6\x02\x02\x08\n\r\ - \n\x05\x04\x0f\x02\x01\x01\x12\x04\xb6\x02\t\x18\n\r\n\x05\x04\x0f\x02\ - \x01\x03\x12\x04\xb6\x02\x1b\x1c\n:\n\x02\x04\x10\x12\x06\xba\x02\0\xbd\ - \x02\x01\x1a,\x20Request\x20for\x20the\x20DeleteSubscription\x20method.\ - \n\n\x0b\n\x03\x04\x10\x01\x12\x04\xba\x02\x08!\n+\n\x04\x04\x10\x02\0\ - \x12\x04\xbc\x02\x02\x1a\x1a\x1d\x20The\x20subscription\x20to\x20delete.\ - \n\n\x0f\n\x05\x04\x10\x02\0\x04\x12\x06\xbc\x02\x02\xba\x02#\n\r\n\x05\ - \x04\x10\x02\0\x05\x12\x04\xbc\x02\x02\x08\n\r\n\x05\x04\x10\x02\0\x01\ - \x12\x04\xbc\x02\t\x15\n\r\n\x05\x04\x10\x02\0\x03\x12\x04\xbc\x02\x18\ - \x19\n8\n\x02\x04\x11\x12\x06\xc0\x02\0\xcb\x02\x01\x1a*\x20Request\x20f\ - or\x20the\x20ModifyPushConfig\x20method.\n\n\x0b\n\x03\x04\x11\x01\x12\ - \x04\xc0\x02\x08\x1f\n-\n\x04\x04\x11\x02\0\x12\x04\xc2\x02\x02\x1a\x1a\ - \x1f\x20The\x20name\x20of\x20the\x20subscription.\n\n\x0f\n\x05\x04\x11\ - \x02\0\x04\x12\x06\xc2\x02\x02\xc0\x02!\n\r\n\x05\x04\x11\x02\0\x05\x12\ - \x04\xc2\x02\x02\x08\n\r\n\x05\x04\x11\x02\0\x01\x12\x04\xc2\x02\t\x15\n\ - \r\n\x05\x04\x11\x02\0\x03\x12\x04\xc2\x02\x18\x19\n\xa1\x02\n\x04\x04\ - \x11\x02\x01\x12\x04\xca\x02\x02\x1d\x1a\x92\x02\x20The\x20push\x20confi\ - guration\x20for\x20future\x20deliveries.\n\n\x20An\x20empty\x20pushConfi\ - g\x20indicates\x20that\x20the\x20Pub/Sub\x20system\x20should\n\x20stop\ - \x20pushing\x20messages\x20from\x20the\x20given\x20subscription\x20and\ - \x20allow\n\x20messages\x20to\x20be\x20pulled\x20and\x20acknowledged\x20\ - -\x20effectively\x20pausing\n\x20the\x20subscription\x20if\x20Pull\x20is\ - \x20not\x20called.\n\n\x0f\n\x05\x04\x11\x02\x01\x04\x12\x06\xca\x02\x02\ - \xc2\x02\x1a\n\r\n\x05\x04\x11\x02\x01\x06\x12\x04\xca\x02\x02\x0c\n\r\n\ - \x05\x04\x11\x02\x01\x01\x12\x04\xca\x02\r\x18\n\r\n\x05\x04\x11\x02\x01\ - \x03\x12\x04\xca\x02\x1b\x1c\n,\n\x02\x04\x12\x12\x06\xce\x02\0\xdc\x02\ - \x01\x1a\x1e\x20Request\x20for\x20the\x20Pull\x20method.\n\n\x0b\n\x03\ - \x04\x12\x01\x12\x04\xce\x02\x08\x13\nF\n\x04\x04\x12\x02\0\x12\x04\xd0\ - \x02\x02\x1a\x1a8\x20The\x20subscription\x20from\x20which\x20messages\ - \x20should\x20be\x20pulled.\n\n\x0f\n\x05\x04\x12\x02\0\x04\x12\x06\xd0\ - \x02\x02\xce\x02\x15\n\r\n\x05\x04\x12\x02\0\x05\x12\x04\xd0\x02\x02\x08\ - \n\r\n\x05\x04\x12\x02\0\x01\x12\x04\xd0\x02\t\x15\n\r\n\x05\x04\x12\x02\ - \0\x03\x12\x04\xd0\x02\x18\x19\n\xe4\x02\n\x04\x04\x12\x02\x01\x12\x04\ - \xd7\x02\x02\x1e\x1a\xd5\x02\x20If\x20this\x20is\x20specified\x20as\x20t\ - rue\x20the\x20system\x20will\x20respond\x20immediately\x20even\x20if\n\ - \x20it\x20is\x20not\x20able\x20to\x20return\x20a\x20message\x20in\x20the\ - \x20Pull\x20response.\x20Otherwise\x20the\n\x20system\x20is\x20allowed\ - \x20to\x20wait\x20until\x20at\x20least\x20one\x20message\x20is\x20availa\ - ble\x20rather\n\x20than\x20returning\x20no\x20messages.\x20The\x20client\ - \x20may\x20cancel\x20the\x20request\x20if\x20it\x20does\n\x20not\x20wish\ - \x20to\x20wait\x20any\x20longer\x20for\x20the\x20response.\n\n\x0f\n\x05\ - \x04\x12\x02\x01\x04\x12\x06\xd7\x02\x02\xd0\x02\x1a\n\r\n\x05\x04\x12\ - \x02\x01\x05\x12\x04\xd7\x02\x02\x06\n\r\n\x05\x04\x12\x02\x01\x01\x12\ - \x04\xd7\x02\x07\x19\n\r\n\x05\x04\x12\x02\x01\x03\x12\x04\xd7\x02\x1c\ - \x1d\n\x89\x01\n\x04\x04\x12\x02\x02\x12\x04\xdb\x02\x02\x19\x1a{\x20The\ - \x20maximum\x20number\x20of\x20messages\x20returned\x20for\x20this\x20re\ - quest.\x20The\x20Pub/Sub\n\x20system\x20may\x20return\x20fewer\x20than\ - \x20the\x20number\x20specified.\n\n\x0f\n\x05\x04\x12\x02\x02\x04\x12\ - \x06\xdb\x02\x02\xd7\x02\x1e\n\r\n\x05\x04\x12\x02\x02\x05\x12\x04\xdb\ - \x02\x02\x07\n\r\n\x05\x04\x12\x02\x02\x01\x12\x04\xdb\x02\x08\x14\n\r\n\ - \x05\x04\x12\x02\x02\x03\x12\x04\xdb\x02\x17\x18\n-\n\x02\x04\x13\x12\ - \x06\xdf\x02\0\xe5\x02\x01\x1a\x1f\x20Response\x20for\x20the\x20Pull\x20\ - method.\n\n\x0b\n\x03\x04\x13\x01\x12\x04\xdf\x02\x08\x14\n\x87\x02\n\ - \x04\x04\x13\x02\0\x12\x04\xe4\x02\x021\x1a\xf8\x01\x20Received\x20Pub/S\ - ub\x20messages.\x20The\x20Pub/Sub\x20system\x20will\x20return\x20zero\ - \x20messages\x20if\n\x20there\x20are\x20no\x20more\x20available\x20in\ - \x20the\x20backlog.\x20The\x20Pub/Sub\x20system\x20may\x20return\n\x20fe\ - wer\x20than\x20the\x20maxMessages\x20requested\x20even\x20if\x20there\ - \x20are\x20more\x20messages\n\x20available\x20in\x20the\x20backlog.\n\n\ - \r\n\x05\x04\x13\x02\0\x04\x12\x04\xe4\x02\x02\n\n\r\n\x05\x04\x13\x02\0\ - \x06\x12\x04\xe4\x02\x0b\x1a\n\r\n\x05\x04\x13\x02\0\x01\x12\x04\xe4\x02\ - \x1b,\n\r\n\x05\x04\x13\x02\0\x03\x12\x04\xe4\x02/0\n9\n\x02\x04\x14\x12\ - \x06\xe8\x02\0\xf5\x02\x01\x1a+\x20Request\x20for\x20the\x20ModifyAckDea\ - dline\x20method.\n\n\x0b\n\x03\x04\x14\x01\x12\x04\xe8\x02\x08\x20\n-\n\ - \x04\x04\x14\x02\0\x12\x04\xea\x02\x02\x1a\x1a\x1f\x20The\x20name\x20of\ - \x20the\x20subscription.\n\n\x0f\n\x05\x04\x14\x02\0\x04\x12\x06\xea\x02\ - \x02\xe8\x02\"\n\r\n\x05\x04\x14\x02\0\x05\x12\x04\xea\x02\x02\x08\n\r\n\ - \x05\x04\x14\x02\0\x01\x12\x04\xea\x02\t\x15\n\r\n\x05\x04\x14\x02\0\x03\ - \x12\x04\xea\x02\x18\x19\n&\n\x04\x04\x14\x02\x01\x12\x04\xed\x02\x02\ - \x14\x1a\x18\x20The\x20acknowledgment\x20ID.\n\n\x0f\n\x05\x04\x14\x02\ - \x01\x04\x12\x06\xed\x02\x02\xea\x02\x1a\n\r\n\x05\x04\x14\x02\x01\x05\ - \x12\x04\xed\x02\x02\x08\n\r\n\x05\x04\x14\x02\x01\x01\x12\x04\xed\x02\t\ - \x0f\n\r\n\x05\x04\x14\x02\x01\x03\x12\x04\xed\x02\x12\x13\n\xca\x02\n\ - \x04\x04\x14\x02\x02\x12\x04\xf4\x02\x02!\x1a\xbb\x02\x20The\x20new\x20a\ - ck\x20deadline\x20with\x20respect\x20to\x20the\x20time\x20this\x20reques\ - t\x20was\x20sent\x20to\x20the\n\x20Pub/Sub\x20system.\x20Must\x20be\x20>\ - =\x200.\x20For\x20example,\x20if\x20the\x20value\x20is\x2010,\x20the\x20\ - new\x20ack\n\x20deadline\x20will\x20expire\x2010\x20seconds\x20after\x20\ - the\x20ModifyAckDeadline\x20call\x20was\x20made.\n\x20Specifying\x20zero\ - \x20may\x20immediately\x20make\x20the\x20message\x20available\x20for\x20\ - another\x20pull\n\x20request.\n\n\x0f\n\x05\x04\x14\x02\x02\x04\x12\x06\ - \xf4\x02\x02\xed\x02\x14\n\r\n\x05\x04\x14\x02\x02\x05\x12\x04\xf4\x02\ - \x02\x07\n\r\n\x05\x04\x14\x02\x02\x01\x12\x04\xf4\x02\x08\x1c\n\r\n\x05\ - \x04\x14\x02\x02\x03\x12\x04\xf4\x02\x1f\x20\n3\n\x02\x04\x15\x12\x06\ - \xf8\x02\0\xff\x02\x01\x1a%\x20Request\x20for\x20the\x20Acknowledge\x20m\ - ethod.\n\n\x0b\n\x03\x04\x15\x01\x12\x04\xf8\x02\x08\x1a\nE\n\x04\x04\ - \x15\x02\0\x12\x04\xfa\x02\x02\x1a\x1a7\x20The\x20subscription\x20whose\ - \x20message\x20is\x20being\x20acknowledged.\n\n\x0f\n\x05\x04\x15\x02\0\ - \x04\x12\x06\xfa\x02\x02\xf8\x02\x1c\n\r\n\x05\x04\x15\x02\0\x05\x12\x04\ - \xfa\x02\x02\x08\n\r\n\x05\x04\x15\x02\0\x01\x12\x04\xfa\x02\t\x15\n\r\n\ - \x05\x04\x15\x02\0\x03\x12\x04\xfa\x02\x18\x19\n\x9c\x01\n\x04\x04\x15\ - \x02\x01\x12\x04\xfe\x02\x02\x1e\x1a\x8d\x01\x20The\x20acknowledgment\ - \x20ID\x20for\x20the\x20messages\x20being\x20acknowledged\x20that\x20was\ - \x20returned\n\x20by\x20the\x20Pub/Sub\x20system\x20in\x20the\x20Pull\ - \x20response.\x20Must\x20not\x20be\x20empty.\n\n\r\n\x05\x04\x15\x02\x01\ - \x04\x12\x04\xfe\x02\x02\n\n\r\n\x05\x04\x15\x02\x01\x05\x12\x04\xfe\x02\ - \x0b\x11\n\r\n\x05\x04\x15\x02\x01\x01\x12\x04\xfe\x02\x12\x19\n\r\n\x05\ - \x04\x15\x02\x01\x03\x12\x04\xfe\x02\x1c\x1db\x06proto3\ -"; - -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; - -fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { - ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() -} - -pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto { - unsafe { - file_descriptor_proto_lazy.get(|| { - parse_descriptor_proto() - }) - } -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/pubsub_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/pubsub_grpc.rs deleted file mode 100644 index 50efd97b84..0000000000 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/pubsub/v1beta2/pubsub_grpc.rs +++ /dev/null @@ -1,459 +0,0 @@ -// This file is generated. Do not edit -// @generated - -// https://github.com/Manishearth/rust-clippy/issues/702 -#![allow(unknown_lints)] -#![allow(clippy::all)] - -#![cfg_attr(rustfmt, rustfmt_skip)] - -#![allow(box_pointers)] -#![allow(dead_code)] -#![allow(missing_docs)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(non_upper_case_globals)] -#![allow(trivial_casts)] -#![allow(unsafe_code)] -#![allow(unused_imports)] -#![allow(unused_results)] - -const METHOD_SUBSCRIBER_CREATE_SUBSCRIPTION: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Subscriber/CreateSubscription", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_GET_SUBSCRIPTION: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Subscriber/GetSubscription", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_LIST_SUBSCRIPTIONS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Subscriber/ListSubscriptions", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_DELETE_SUBSCRIPTION: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Subscriber/DeleteSubscription", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_MODIFY_ACK_DEADLINE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Subscriber/ModifyAckDeadline", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_ACKNOWLEDGE: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Subscriber/Acknowledge", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_PULL: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Subscriber/Pull", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_SUBSCRIBER_MODIFY_PUSH_CONFIG: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Subscriber/ModifyPushConfig", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -#[derive(Clone)] -pub struct SubscriberClient { - client: ::grpcio::Client, -} - -impl SubscriberClient { - pub fn new(channel: ::grpcio::Channel) -> Self { - SubscriberClient { - client: ::grpcio::Client::new(channel), - } - } - - pub fn create_subscription_opt(&self, req: &super::pubsub::Subscription, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_CREATE_SUBSCRIPTION, req, opt) - } - - pub fn create_subscription(&self, req: &super::pubsub::Subscription) -> ::grpcio::Result { - self.create_subscription_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_subscription_async_opt(&self, req: &super::pubsub::Subscription, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_CREATE_SUBSCRIPTION, req, opt) - } - - pub fn create_subscription_async(&self, req: &super::pubsub::Subscription) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_subscription_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_subscription_opt(&self, req: &super::pubsub::GetSubscriptionRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_GET_SUBSCRIPTION, req, opt) - } - - pub fn get_subscription(&self, req: &super::pubsub::GetSubscriptionRequest) -> ::grpcio::Result { - self.get_subscription_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_subscription_async_opt(&self, req: &super::pubsub::GetSubscriptionRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_GET_SUBSCRIPTION, req, opt) - } - - pub fn get_subscription_async(&self, req: &super::pubsub::GetSubscriptionRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_subscription_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_subscriptions_opt(&self, req: &super::pubsub::ListSubscriptionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_LIST_SUBSCRIPTIONS, req, opt) - } - - pub fn list_subscriptions(&self, req: &super::pubsub::ListSubscriptionsRequest) -> ::grpcio::Result { - self.list_subscriptions_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_subscriptions_async_opt(&self, req: &super::pubsub::ListSubscriptionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_LIST_SUBSCRIPTIONS, req, opt) - } - - pub fn list_subscriptions_async(&self, req: &super::pubsub::ListSubscriptionsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_subscriptions_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_subscription_opt(&self, req: &super::pubsub::DeleteSubscriptionRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_DELETE_SUBSCRIPTION, req, opt) - } - - pub fn delete_subscription(&self, req: &super::pubsub::DeleteSubscriptionRequest) -> ::grpcio::Result { - self.delete_subscription_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_subscription_async_opt(&self, req: &super::pubsub::DeleteSubscriptionRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_DELETE_SUBSCRIPTION, req, opt) - } - - pub fn delete_subscription_async(&self, req: &super::pubsub::DeleteSubscriptionRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_subscription_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn modify_ack_deadline_opt(&self, req: &super::pubsub::ModifyAckDeadlineRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_MODIFY_ACK_DEADLINE, req, opt) - } - - pub fn modify_ack_deadline(&self, req: &super::pubsub::ModifyAckDeadlineRequest) -> ::grpcio::Result { - self.modify_ack_deadline_opt(req, ::grpcio::CallOption::default()) - } - - pub fn modify_ack_deadline_async_opt(&self, req: &super::pubsub::ModifyAckDeadlineRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_MODIFY_ACK_DEADLINE, req, opt) - } - - pub fn modify_ack_deadline_async(&self, req: &super::pubsub::ModifyAckDeadlineRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.modify_ack_deadline_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn acknowledge_opt(&self, req: &super::pubsub::AcknowledgeRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_ACKNOWLEDGE, req, opt) - } - - pub fn acknowledge(&self, req: &super::pubsub::AcknowledgeRequest) -> ::grpcio::Result { - self.acknowledge_opt(req, ::grpcio::CallOption::default()) - } - - pub fn acknowledge_async_opt(&self, req: &super::pubsub::AcknowledgeRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_ACKNOWLEDGE, req, opt) - } - - pub fn acknowledge_async(&self, req: &super::pubsub::AcknowledgeRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.acknowledge_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn pull_opt(&self, req: &super::pubsub::PullRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_PULL, req, opt) - } - - pub fn pull(&self, req: &super::pubsub::PullRequest) -> ::grpcio::Result { - self.pull_opt(req, ::grpcio::CallOption::default()) - } - - pub fn pull_async_opt(&self, req: &super::pubsub::PullRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_PULL, req, opt) - } - - pub fn pull_async(&self, req: &super::pubsub::PullRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.pull_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn modify_push_config_opt(&self, req: &super::pubsub::ModifyPushConfigRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_SUBSCRIBER_MODIFY_PUSH_CONFIG, req, opt) - } - - pub fn modify_push_config(&self, req: &super::pubsub::ModifyPushConfigRequest) -> ::grpcio::Result { - self.modify_push_config_opt(req, ::grpcio::CallOption::default()) - } - - pub fn modify_push_config_async_opt(&self, req: &super::pubsub::ModifyPushConfigRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_SUBSCRIBER_MODIFY_PUSH_CONFIG, req, opt) - } - - pub fn modify_push_config_async(&self, req: &super::pubsub::ModifyPushConfigRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.modify_push_config_async_opt(req, ::grpcio::CallOption::default()) - } - pub fn spawn(&self, f: F) where F: ::futures::Future + Send + 'static { - self.client.spawn(f) - } -} - -pub trait Subscriber { - fn create_subscription(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::Subscription, sink: ::grpcio::UnarySink); - fn get_subscription(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::GetSubscriptionRequest, sink: ::grpcio::UnarySink); - fn list_subscriptions(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ListSubscriptionsRequest, sink: ::grpcio::UnarySink); - fn delete_subscription(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::DeleteSubscriptionRequest, sink: ::grpcio::UnarySink); - fn modify_ack_deadline(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ModifyAckDeadlineRequest, sink: ::grpcio::UnarySink); - fn acknowledge(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::AcknowledgeRequest, sink: ::grpcio::UnarySink); - fn pull(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::PullRequest, sink: ::grpcio::UnarySink); - fn modify_push_config(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ModifyPushConfigRequest, sink: ::grpcio::UnarySink); -} - -pub fn create_subscriber(s: S) -> ::grpcio::Service { - let mut builder = ::grpcio::ServiceBuilder::new(); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_CREATE_SUBSCRIPTION, move |ctx, req, resp| { - instance.create_subscription(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_GET_SUBSCRIPTION, move |ctx, req, resp| { - instance.get_subscription(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_LIST_SUBSCRIPTIONS, move |ctx, req, resp| { - instance.list_subscriptions(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_DELETE_SUBSCRIPTION, move |ctx, req, resp| { - instance.delete_subscription(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_MODIFY_ACK_DEADLINE, move |ctx, req, resp| { - instance.modify_ack_deadline(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_ACKNOWLEDGE, move |ctx, req, resp| { - instance.acknowledge(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_PULL, move |ctx, req, resp| { - instance.pull(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_SUBSCRIBER_MODIFY_PUSH_CONFIG, move |ctx, req, resp| { - instance.modify_push_config(ctx, req, resp) - }); - builder.build() -} - -const METHOD_PUBLISHER_CREATE_TOPIC: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Publisher/CreateTopic", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_PUBLISH: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Publisher/Publish", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_GET_TOPIC: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Publisher/GetTopic", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_LIST_TOPICS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Publisher/ListTopics", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_LIST_TOPIC_SUBSCRIPTIONS: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Publisher/ListTopicSubscriptions", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -const METHOD_PUBLISHER_DELETE_TOPIC: ::grpcio::Method = ::grpcio::Method { - ty: ::grpcio::MethodType::Unary, - name: "/google.pubsub.v1beta2.Publisher/DeleteTopic", - req_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, - resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pb_ser, de: ::grpcio::pb_de }, -}; - -#[derive(Clone)] -pub struct PublisherClient { - client: ::grpcio::Client, -} - -impl PublisherClient { - pub fn new(channel: ::grpcio::Channel) -> Self { - PublisherClient { - client: ::grpcio::Client::new(channel), - } - } - - pub fn create_topic_opt(&self, req: &super::pubsub::Topic, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_CREATE_TOPIC, req, opt) - } - - pub fn create_topic(&self, req: &super::pubsub::Topic) -> ::grpcio::Result { - self.create_topic_opt(req, ::grpcio::CallOption::default()) - } - - pub fn create_topic_async_opt(&self, req: &super::pubsub::Topic, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_CREATE_TOPIC, req, opt) - } - - pub fn create_topic_async(&self, req: &super::pubsub::Topic) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.create_topic_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn publish_opt(&self, req: &super::pubsub::PublishRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_PUBLISH, req, opt) - } - - pub fn publish(&self, req: &super::pubsub::PublishRequest) -> ::grpcio::Result { - self.publish_opt(req, ::grpcio::CallOption::default()) - } - - pub fn publish_async_opt(&self, req: &super::pubsub::PublishRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_PUBLISH, req, opt) - } - - pub fn publish_async(&self, req: &super::pubsub::PublishRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.publish_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_topic_opt(&self, req: &super::pubsub::GetTopicRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_GET_TOPIC, req, opt) - } - - pub fn get_topic(&self, req: &super::pubsub::GetTopicRequest) -> ::grpcio::Result { - self.get_topic_opt(req, ::grpcio::CallOption::default()) - } - - pub fn get_topic_async_opt(&self, req: &super::pubsub::GetTopicRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_GET_TOPIC, req, opt) - } - - pub fn get_topic_async(&self, req: &super::pubsub::GetTopicRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.get_topic_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_topics_opt(&self, req: &super::pubsub::ListTopicsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_LIST_TOPICS, req, opt) - } - - pub fn list_topics(&self, req: &super::pubsub::ListTopicsRequest) -> ::grpcio::Result { - self.list_topics_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_topics_async_opt(&self, req: &super::pubsub::ListTopicsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_LIST_TOPICS, req, opt) - } - - pub fn list_topics_async(&self, req: &super::pubsub::ListTopicsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_topics_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_topic_subscriptions_opt(&self, req: &super::pubsub::ListTopicSubscriptionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_LIST_TOPIC_SUBSCRIPTIONS, req, opt) - } - - pub fn list_topic_subscriptions(&self, req: &super::pubsub::ListTopicSubscriptionsRequest) -> ::grpcio::Result { - self.list_topic_subscriptions_opt(req, ::grpcio::CallOption::default()) - } - - pub fn list_topic_subscriptions_async_opt(&self, req: &super::pubsub::ListTopicSubscriptionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_LIST_TOPIC_SUBSCRIPTIONS, req, opt) - } - - pub fn list_topic_subscriptions_async(&self, req: &super::pubsub::ListTopicSubscriptionsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.list_topic_subscriptions_async_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_topic_opt(&self, req: &super::pubsub::DeleteTopicRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { - self.client.unary_call(&METHOD_PUBLISHER_DELETE_TOPIC, req, opt) - } - - pub fn delete_topic(&self, req: &super::pubsub::DeleteTopicRequest) -> ::grpcio::Result { - self.delete_topic_opt(req, ::grpcio::CallOption::default()) - } - - pub fn delete_topic_async_opt(&self, req: &super::pubsub::DeleteTopicRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.client.unary_call_async(&METHOD_PUBLISHER_DELETE_TOPIC, req, opt) - } - - pub fn delete_topic_async(&self, req: &super::pubsub::DeleteTopicRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver> { - self.delete_topic_async_opt(req, ::grpcio::CallOption::default()) - } - pub fn spawn(&self, f: F) where F: ::futures::Future + Send + 'static { - self.client.spawn(f) - } -} - -pub trait Publisher { - fn create_topic(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::Topic, sink: ::grpcio::UnarySink); - fn publish(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::PublishRequest, sink: ::grpcio::UnarySink); - fn get_topic(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::GetTopicRequest, sink: ::grpcio::UnarySink); - fn list_topics(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ListTopicsRequest, sink: ::grpcio::UnarySink); - fn list_topic_subscriptions(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::ListTopicSubscriptionsRequest, sink: ::grpcio::UnarySink); - fn delete_topic(&mut self, ctx: ::grpcio::RpcContext, req: super::pubsub::DeleteTopicRequest, sink: ::grpcio::UnarySink); -} - -pub fn create_publisher(s: S) -> ::grpcio::Service { - let mut builder = ::grpcio::ServiceBuilder::new(); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_CREATE_TOPIC, move |ctx, req, resp| { - instance.create_topic(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_PUBLISH, move |ctx, req, resp| { - instance.publish(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_GET_TOPIC, move |ctx, req, resp| { - instance.get_topic(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_LIST_TOPICS, move |ctx, req, resp| { - instance.list_topics(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_LIST_TOPIC_SUBSCRIPTIONS, move |ctx, req, resp| { - instance.list_topic_subscriptions(ctx, req, resp) - }); - let mut instance = s.clone(); - builder = builder.add_unary_handler(&METHOD_PUBLISHER_DELETE_TOPIC, move |ctx, req, resp| { - instance.delete_topic(ctx, req, resp) - }); - builder.build() -} diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/code.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/code.rs index f764a689ea..662ec66950 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/code.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/code.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(Clone,PartialEq,Eq,Debug,Hash)] pub enum Code { @@ -99,10 +99,7 @@ impl ::protobuf::ProtobufEnum for Code { } fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { ::protobuf::reflect::EnumDescriptor::new("Code", file_descriptor_proto()) @@ -121,8 +118,8 @@ impl ::std::default::Default for Code { } impl ::protobuf::reflect::ProtobufValue for Code { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor()) } } @@ -137,7 +134,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x11\n\rUNIMPLEMENTED\x10\x0c\x12\x0c\n\x08INTERNAL\x10\r\x12\x0f\n\x0bU\ NAVAILABLE\x10\x0e\x12\r\n\tDATA_LOSS\x10\x0fBX\n\x0ecom.google.rpcB\tCo\ deProtoP\x01Z3google.golang.org/genproto/googleapis/rpc/code;code\xa2\ - \x02\x03RPCJ\xb45\n\x07\x12\x05\x0e\0\xb9\x01\x01\n\xbd\x04\n\x01\x0c\ + \x02\x03RPCJ\xe57\n\x07\x12\x05\x0e\0\xb9\x01\x01\n\xbd\x04\n\x01\x0c\ \x12\x03\x0e\0\x122\xb2\x04\x20Copyright\x202017\x20Google\x20Inc.\n\n\ \x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20\ (the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20e\ @@ -150,167 +147,180 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20impli\ ed.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20language\x20\ governing\x20permissions\x20and\n\x20limitations\x20under\x20the\x20Lice\ - nse.\n\n\x08\n\x01\x02\x12\x03\x10\0\x13\n\x08\n\x01\x08\x12\x03\x12\0J\ - \n\t\n\x02\x08\x0b\x12\x03\x12\0J\n\x08\n\x01\x08\x12\x03\x13\0\"\n\t\n\ - \x02\x08\n\x12\x03\x13\0\"\n\x08\n\x01\x08\x12\x03\x14\0*\n\t\n\x02\x08\ - \x08\x12\x03\x14\0*\n\x08\n\x01\x08\x12\x03\x15\0'\n\t\n\x02\x08\x01\x12\ - \x03\x15\0'\n\x08\n\x01\x08\x12\x03\x16\0!\n\t\n\x02\x08$\x12\x03\x16\0!\ - \n\xce\x02\n\x02\x05\0\x12\x05\x20\0\xb9\x01\x01\x1a\xc0\x02\x20The\x20c\ - anonical\x20error\x20codes\x20for\x20Google\x20APIs.\n\n\n\x20Sometimes\ - \x20multiple\x20error\x20codes\x20may\x20apply.\x20\x20Services\x20shoul\ - d\x20return\n\x20the\x20most\x20specific\x20error\x20code\x20that\x20app\ - lies.\x20\x20For\x20example,\x20prefer\n\x20`OUT_OF_RANGE`\x20over\x20`F\ - AILED_PRECONDITION`\x20if\x20both\x20codes\x20apply.\n\x20Similarly\x20p\ - refer\x20`NOT_FOUND`\x20or\x20`ALREADY_EXISTS`\x20over\x20`FAILED_PRECON\ - DITION`.\n\n\n\n\x03\x05\0\x01\x12\x03\x20\x05\t\nG\n\x04\x05\0\x02\0\ - \x12\x03$\x02\t\x1a:\x20Not\x20an\x20error;\x20returned\x20on\x20success\ - \n\n\x20HTTP\x20Mapping:\x20200\x20OK\n\n\x0c\n\x05\x05\0\x02\0\x01\x12\ - \x03$\x02\x04\n\x0c\n\x05\x05\0\x02\0\x02\x12\x03$\x07\x08\nn\n\x04\x05\ - \0\x02\x01\x12\x03)\x02\x10\x1aa\x20The\x20operation\x20was\x20cancelled\ - ,\x20typically\x20by\x20the\x20caller.\n\n\x20HTTP\x20Mapping:\x20499\ - \x20Client\x20Closed\x20Request\n\n\x0c\n\x05\x05\0\x02\x01\x01\x12\x03)\ - \x02\x0b\n\x0c\n\x05\x05\0\x02\x01\x02\x12\x03)\x0e\x0f\n\xda\x02\n\x04\ - \x05\0\x02\x02\x12\x032\x02\x0e\x1a\xcc\x02\x20Unknown\x20error.\x20\x20\ - For\x20example,\x20this\x20error\x20may\x20be\x20returned\x20when\n\x20a\ - \x20`Status`\x20value\x20received\x20from\x20another\x20address\x20space\ - \x20belongs\x20to\n\x20an\x20error\x20space\x20that\x20is\x20not\x20know\ - n\x20in\x20this\x20address\x20space.\x20\x20Also\n\x20errors\x20raised\ - \x20by\x20APIs\x20that\x20do\x20not\x20return\x20enough\x20error\x20info\ - rmation\n\x20may\x20be\x20converted\x20to\x20this\x20error.\n\n\x20HTTP\ - \x20Mapping:\x20500\x20Internal\x20Server\x20Error\n\n\x0c\n\x05\x05\0\ - \x02\x02\x01\x12\x032\x02\t\n\x0c\n\x05\x05\0\x02\x02\x02\x12\x032\x0c\r\ - \n\x92\x02\n\x04\x05\0\x02\x03\x12\x03:\x02\x17\x1a\x84\x02\x20The\x20cl\ - ient\x20specified\x20an\x20invalid\x20argument.\x20\x20Note\x20that\x20t\ - his\x20differs\n\x20from\x20`FAILED_PRECONDITION`.\x20\x20`INVALID_ARGUM\ - ENT`\x20indicates\x20arguments\n\x20that\x20are\x20problematic\x20regard\ - less\x20of\x20the\x20state\x20of\x20the\x20system\n\x20(e.g.,\x20a\x20ma\ - lformed\x20file\x20name).\n\n\x20HTTP\x20Mapping:\x20400\x20Bad\x20Reque\ - st\n\n\x0c\n\x05\x05\0\x02\x03\x01\x12\x03:\x02\x12\n\x0c\n\x05\x05\0\ - \x02\x03\x02\x12\x03:\x15\x16\n\xe4\x02\n\x04\x05\0\x02\x04\x12\x03C\x02\ - \x18\x1a\xd6\x02\x20The\x20deadline\x20expired\x20before\x20the\x20opera\ - tion\x20could\x20complete.\x20For\x20operations\n\x20that\x20change\x20t\ - he\x20state\x20of\x20the\x20system,\x20this\x20error\x20may\x20be\x20ret\ - urned\n\x20even\x20if\x20the\x20operation\x20has\x20completed\x20success\ - fully.\x20\x20For\x20example,\x20a\n\x20successful\x20response\x20from\ - \x20a\x20server\x20could\x20have\x20been\x20delayed\x20long\n\x20enough\ - \x20for\x20the\x20deadline\x20to\x20expire.\n\n\x20HTTP\x20Mapping:\x205\ - 04\x20Gateway\x20Timeout\n\n\x0c\n\x05\x05\0\x02\x04\x01\x12\x03C\x02\ - \x13\n\x0c\n\x05\x05\0\x02\x04\x02\x12\x03C\x16\x17\n\x9a\x03\n\x04\x05\ - \0\x02\x05\x12\x03N\x02\x10\x1a\x8c\x03\x20Some\x20requested\x20entity\ - \x20(e.g.,\x20file\x20or\x20directory)\x20was\x20not\x20found.\n\n\x20No\ - te\x20to\x20server\x20developers:\x20if\x20a\x20request\x20is\x20denied\ - \x20for\x20an\x20entire\x20class\n\x20of\x20users,\x20such\x20as\x20grad\ - ual\x20feature\x20rollout\x20or\x20undocumented\x20whitelist,\n\x20`NOT_\ - FOUND`\x20may\x20be\x20used.\x20If\x20a\x20request\x20is\x20denied\x20fo\ - r\x20some\x20users\x20within\n\x20a\x20class\x20of\x20users,\x20such\x20\ - as\x20user-based\x20access\x20control,\x20`PERMISSION_DENIED`\n\x20must\ - \x20be\x20used.\n\n\x20HTTP\x20Mapping:\x20404\x20Not\x20Found\n\n\x0c\n\ - \x05\x05\0\x02\x05\x01\x12\x03N\x02\x0b\n\x0c\n\x05\x05\0\x02\x05\x02\ - \x12\x03N\x0e\x0f\n\x83\x01\n\x04\x05\0\x02\x06\x12\x03T\x02\x15\x1av\ - \x20The\x20entity\x20that\x20a\x20client\x20attempted\x20to\x20create\ - \x20(e.g.,\x20file\x20or\x20directory)\n\x20already\x20exists.\n\n\x20HT\ - TP\x20Mapping:\x20409\x20Conflict\n\n\x0c\n\x05\x05\0\x02\x06\x01\x12\ - \x03T\x02\x10\n\x0c\n\x05\x05\0\x02\x06\x02\x12\x03T\x13\x14\n\xf9\x03\n\ - \x04\x05\0\x02\x07\x12\x03`\x02\x18\x1a\xeb\x03\x20The\x20caller\x20does\ - \x20not\x20have\x20permission\x20to\x20execute\x20the\x20specified\n\x20\ - operation.\x20`PERMISSION_DENIED`\x20must\x20not\x20be\x20used\x20for\ - \x20rejections\n\x20caused\x20by\x20exhausting\x20some\x20resource\x20(u\ - se\x20`RESOURCE_EXHAUSTED`\n\x20instead\x20for\x20those\x20errors).\x20`\ - PERMISSION_DENIED`\x20must\x20not\x20be\n\x20used\x20if\x20the\x20caller\ - \x20can\x20not\x20be\x20identified\x20(use\x20`UNAUTHENTICATED`\n\x20ins\ - tead\x20for\x20those\x20errors).\x20This\x20error\x20code\x20does\x20not\ - \x20imply\x20the\n\x20request\x20is\x20valid\x20or\x20the\x20requested\ - \x20entity\x20exists\x20or\x20satisfies\n\x20other\x20pre-conditions.\n\ - \n\x20HTTP\x20Mapping:\x20403\x20Forbidden\n\n\x0c\n\x05\x05\0\x02\x07\ - \x01\x12\x03`\x02\x13\n\x0c\n\x05\x05\0\x02\x07\x02\x12\x03`\x16\x17\n~\ - \n\x04\x05\0\x02\x08\x12\x03f\x02\x17\x1aq\x20The\x20request\x20does\x20\ - not\x20have\x20valid\x20authentication\x20credentials\x20for\x20the\n\ - \x20operation.\n\n\x20HTTP\x20Mapping:\x20401\x20Unauthorized\n\n\x0c\n\ - \x05\x05\0\x02\x08\x01\x12\x03f\x02\x11\n\x0c\n\x05\x05\0\x02\x08\x02\ - \x12\x03f\x14\x16\n\xa5\x01\n\x04\x05\0\x02\t\x12\x03l\x02\x19\x1a\x97\ - \x01\x20Some\x20resource\x20has\x20been\x20exhausted,\x20perhaps\x20a\ - \x20per-user\x20quota,\x20or\n\x20perhaps\x20the\x20entire\x20file\x20sy\ - stem\x20is\x20out\x20of\x20space.\n\n\x20HTTP\x20Mapping:\x20429\x20Too\ - \x20Many\x20Requests\n\n\x0c\n\x05\x05\0\x02\t\x01\x12\x03l\x02\x14\n\ - \x0c\n\x05\x05\0\x02\t\x02\x12\x03l\x17\x18\n\xd9\x07\n\x04\x05\0\x02\n\ - \x12\x04\x80\x01\x02\x1a\x1a\xca\x07\x20The\x20operation\x20was\x20rejec\ - ted\x20because\x20the\x20system\x20is\x20not\x20in\x20a\x20state\n\x20re\ - quired\x20for\x20the\x20operation's\x20execution.\x20\x20For\x20example,\ - \x20the\x20directory\n\x20to\x20be\x20deleted\x20is\x20non-empty,\x20an\ - \x20rmdir\x20operation\x20is\x20applied\x20to\n\x20a\x20non-directory,\ - \x20etc.\n\n\x20Service\x20implementors\x20can\x20use\x20the\x20followin\ - g\x20guidelines\x20to\x20decide\n\x20between\x20`FAILED_PRECONDITION`,\ - \x20`ABORTED`,\x20and\x20`UNAVAILABLE`:\n\x20\x20(a)\x20Use\x20`UNAVAILA\ - BLE`\x20if\x20the\x20client\x20can\x20retry\x20just\x20the\x20failing\ - \x20call.\n\x20\x20(b)\x20Use\x20`ABORTED`\x20if\x20the\x20client\x20sho\ - uld\x20retry\x20at\x20a\x20higher\x20level\n\x20\x20\x20\x20\x20\x20(e.g\ - .,\x20when\x20a\x20client-specified\x20test-and-set\x20fails,\x20indicat\ - ing\x20the\n\x20\x20\x20\x20\x20\x20client\x20should\x20restart\x20a\x20\ - read-modify-write\x20sequence).\n\x20\x20(c)\x20Use\x20`FAILED_PRECONDIT\ - ION`\x20if\x20the\x20client\x20should\x20not\x20retry\x20until\n\x20\x20\ - \x20\x20\x20\x20the\x20system\x20state\x20has\x20been\x20explicitly\x20f\ - ixed.\x20\x20E.g.,\x20if\x20an\x20\"rmdir\"\n\x20\x20\x20\x20\x20\x20fai\ - ls\x20because\x20the\x20directory\x20is\x20non-empty,\x20`FAILED_PRECOND\ - ITION`\n\x20\x20\x20\x20\x20\x20should\x20be\x20returned\x20since\x20the\ - \x20client\x20should\x20not\x20retry\x20unless\n\x20\x20\x20\x20\x20\x20\ - the\x20files\x20are\x20deleted\x20from\x20the\x20directory.\n\n\x20HTTP\ - \x20Mapping:\x20400\x20Bad\x20Request\n\n\r\n\x05\x05\0\x02\n\x01\x12\ - \x04\x80\x01\x02\x15\n\r\n\x05\x05\0\x02\n\x02\x12\x04\x80\x01\x18\x19\n\ - \x8c\x02\n\x04\x05\0\x02\x0b\x12\x04\x89\x01\x02\x0f\x1a\xfd\x01\x20The\ - \x20operation\x20was\x20aborted,\x20typically\x20due\x20to\x20a\x20concu\ - rrency\x20issue\x20such\x20as\n\x20a\x20sequencer\x20check\x20failure\ - \x20or\x20transaction\x20abort.\n\n\x20See\x20the\x20guidelines\x20above\ - \x20for\x20deciding\x20between\x20`FAILED_PRECONDITION`,\n\x20`ABORTED`,\ - \x20and\x20`UNAVAILABLE`.\n\n\x20HTTP\x20Mapping:\x20409\x20Conflict\n\n\ - \r\n\x05\x05\0\x02\x0b\x01\x12\x04\x89\x01\x02\t\n\r\n\x05\x05\0\x02\x0b\ - \x02\x12\x04\x89\x01\x0c\x0e\n\x85\x06\n\x04\x05\0\x02\x0c\x12\x04\x9c\ - \x01\x02\x14\x1a\xf6\x05\x20The\x20operation\x20was\x20attempted\x20past\ - \x20the\x20valid\x20range.\x20\x20E.g.,\x20seeking\x20or\n\x20reading\ - \x20past\x20end-of-file.\n\n\x20Unlike\x20`INVALID_ARGUMENT`,\x20this\ - \x20error\x20indicates\x20a\x20problem\x20that\x20may\n\x20be\x20fixed\ - \x20if\x20the\x20system\x20state\x20changes.\x20For\x20example,\x20a\x20\ - 32-bit\x20file\n\x20system\x20will\x20generate\x20`INVALID_ARGUMENT`\x20\ - if\x20asked\x20to\x20read\x20at\x20an\n\x20offset\x20that\x20is\x20not\ - \x20in\x20the\x20range\x20[0,2^32-1],\x20but\x20it\x20will\x20generate\n\ - \x20`OUT_OF_RANGE`\x20if\x20asked\x20to\x20read\x20from\x20an\x20offset\ - \x20past\x20the\x20current\n\x20file\x20size.\n\n\x20There\x20is\x20a\ - \x20fair\x20bit\x20of\x20overlap\x20between\x20`FAILED_PRECONDITION`\x20\ - and\n\x20`OUT_OF_RANGE`.\x20\x20We\x20recommend\x20using\x20`OUT_OF_RANG\ - E`\x20(the\x20more\x20specific\n\x20error)\x20when\x20it\x20applies\x20s\ - o\x20that\x20callers\x20who\x20are\x20iterating\x20through\n\x20a\x20spa\ - ce\x20can\x20easily\x20look\x20for\x20an\x20`OUT_OF_RANGE`\x20error\x20t\ - o\x20detect\x20when\n\x20they\x20are\x20done.\n\n\x20HTTP\x20Mapping:\ - \x20400\x20Bad\x20Request\n\n\r\n\x05\x05\0\x02\x0c\x01\x12\x04\x9c\x01\ - \x02\x0e\n\r\n\x05\x05\0\x02\x0c\x02\x12\x04\x9c\x01\x11\x13\n\x82\x01\n\ - \x04\x05\0\x02\r\x12\x04\xa2\x01\x02\x15\x1at\x20The\x20operation\x20is\ - \x20not\x20implemented\x20or\x20is\x20not\x20supported/enabled\x20in\x20\ - this\n\x20service.\n\n\x20HTTP\x20Mapping:\x20501\x20Not\x20Implemented\ - \n\n\r\n\x05\x05\0\x02\r\x01\x12\x04\xa2\x01\x02\x0f\n\r\n\x05\x05\0\x02\ - \r\x02\x12\x04\xa2\x01\x12\x14\n\xd3\x01\n\x04\x05\0\x02\x0e\x12\x04\xa9\ - \x01\x02\x10\x1a\xc4\x01\x20Internal\x20errors.\x20\x20This\x20means\x20\ - that\x20some\x20invariants\x20expected\x20by\x20the\n\x20underlying\x20s\ - ystem\x20have\x20been\x20broken.\x20\x20This\x20error\x20code\x20is\x20r\ - eserved\n\x20for\x20serious\x20errors.\n\n\x20HTTP\x20Mapping:\x20500\ - \x20Internal\x20Server\x20Error\n\n\r\n\x05\x05\0\x02\x0e\x01\x12\x04\ - \xa9\x01\x02\n\n\r\n\x05\x05\0\x02\x0e\x02\x12\x04\xa9\x01\r\x0f\n\xa5\ - \x02\n\x04\x05\0\x02\x0f\x12\x04\xb3\x01\x02\x13\x1a\x96\x02\x20The\x20s\ - ervice\x20is\x20currently\x20unavailable.\x20\x20This\x20is\x20most\x20l\ - ikely\x20a\n\x20transient\x20condition,\x20which\x20can\x20be\x20correct\ - ed\x20by\x20retrying\x20with\n\x20a\x20backoff.\n\n\x20See\x20the\x20gui\ - delines\x20above\x20for\x20deciding\x20between\x20`FAILED_PRECONDITION`,\ - \n\x20`ABORTED`,\x20and\x20`UNAVAILABLE`.\n\n\x20HTTP\x20Mapping:\x20503\ - \x20Service\x20Unavailable\n\n\r\n\x05\x05\0\x02\x0f\x01\x12\x04\xb3\x01\ - \x02\r\n\r\n\x05\x05\0\x02\x0f\x02\x12\x04\xb3\x01\x10\x12\n`\n\x04\x05\ - \0\x02\x10\x12\x04\xb8\x01\x02\x11\x1aR\x20Unrecoverable\x20data\x20loss\ - \x20or\x20corruption.\n\n\x20HTTP\x20Mapping:\x20500\x20Internal\x20Serv\ - er\x20Error\n\n\r\n\x05\x05\0\x02\x10\x01\x12\x04\xb8\x01\x02\x0b\n\r\n\ - \x05\x05\0\x02\x10\x02\x12\x04\xb8\x01\x0e\x10b\x06proto3\ + nse.\n\n\x08\n\x01\x02\x12\x03\x10\x08\x12\n\x08\n\x01\x08\x12\x03\x12\0\ + J\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x12\0J\n\x0c\n\x05\x08\xe7\x07\0\x02\ + \x12\x03\x12\x07\x11\n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\x12\x07\x11\n\ + \x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x12\x07\x11\n\x0c\n\x05\x08\ + \xe7\x07\0\x07\x12\x03\x12\x14I\n\x08\n\x01\x08\x12\x03\x13\0\"\n\x0b\n\ + \x04\x08\xe7\x07\x01\x12\x03\x13\0\"\n\x0c\n\x05\x08\xe7\x07\x01\x02\x12\ + \x03\x13\x07\x1a\n\r\n\x06\x08\xe7\x07\x01\x02\0\x12\x03\x13\x07\x1a\n\ + \x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\x13\x07\x1a\n\x0c\n\x05\x08\ + \xe7\x07\x01\x03\x12\x03\x13\x1d!\n\x08\n\x01\x08\x12\x03\x14\0*\n\x0b\n\ + \x04\x08\xe7\x07\x02\x12\x03\x14\0*\n\x0c\n\x05\x08\xe7\x07\x02\x02\x12\ + \x03\x14\x07\x1b\n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03\x14\x07\x1b\n\ + \x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\x03\x14\x07\x1b\n\x0c\n\x05\x08\ + \xe7\x07\x02\x07\x12\x03\x14\x1e)\n\x08\n\x01\x08\x12\x03\x15\0'\n\x0b\n\ + \x04\x08\xe7\x07\x03\x12\x03\x15\0'\n\x0c\n\x05\x08\xe7\x07\x03\x02\x12\ + \x03\x15\x07\x13\n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03\x15\x07\x13\n\ + \x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\x03\x15\x07\x13\n\x0c\n\x05\x08\ + \xe7\x07\x03\x07\x12\x03\x15\x16&\n\x08\n\x01\x08\x12\x03\x16\0!\n\x0b\n\ + \x04\x08\xe7\x07\x04\x12\x03\x16\0!\n\x0c\n\x05\x08\xe7\x07\x04\x02\x12\ + \x03\x16\x07\x18\n\r\n\x06\x08\xe7\x07\x04\x02\0\x12\x03\x16\x07\x18\n\ + \x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\x03\x16\x07\x18\n\x0c\n\x05\x08\ + \xe7\x07\x04\x07\x12\x03\x16\x1b\x20\n\xce\x02\n\x02\x05\0\x12\x05\x20\0\ + \xb9\x01\x01\x1a\xc0\x02\x20The\x20canonical\x20error\x20codes\x20for\ + \x20Google\x20APIs.\n\n\n\x20Sometimes\x20multiple\x20error\x20codes\x20\ + may\x20apply.\x20\x20Services\x20should\x20return\n\x20the\x20most\x20sp\ + ecific\x20error\x20code\x20that\x20applies.\x20\x20For\x20example,\x20pr\ + efer\n\x20`OUT_OF_RANGE`\x20over\x20`FAILED_PRECONDITION`\x20if\x20both\ + \x20codes\x20apply.\n\x20Similarly\x20prefer\x20`NOT_FOUND`\x20or\x20`AL\ + READY_EXISTS`\x20over\x20`FAILED_PRECONDITION`.\n\n\n\n\x03\x05\0\x01\ + \x12\x03\x20\x05\t\nG\n\x04\x05\0\x02\0\x12\x03$\x02\t\x1a:\x20Not\x20an\ + \x20error;\x20returned\x20on\x20success\n\n\x20HTTP\x20Mapping:\x20200\ + \x20OK\n\n\x0c\n\x05\x05\0\x02\0\x01\x12\x03$\x02\x04\n\x0c\n\x05\x05\0\ + \x02\0\x02\x12\x03$\x07\x08\nn\n\x04\x05\0\x02\x01\x12\x03)\x02\x10\x1aa\ + \x20The\x20operation\x20was\x20cancelled,\x20typically\x20by\x20the\x20c\ + aller.\n\n\x20HTTP\x20Mapping:\x20499\x20Client\x20Closed\x20Request\n\n\ + \x0c\n\x05\x05\0\x02\x01\x01\x12\x03)\x02\x0b\n\x0c\n\x05\x05\0\x02\x01\ + \x02\x12\x03)\x0e\x0f\n\xda\x02\n\x04\x05\0\x02\x02\x12\x032\x02\x0e\x1a\ + \xcc\x02\x20Unknown\x20error.\x20\x20For\x20example,\x20this\x20error\ + \x20may\x20be\x20returned\x20when\n\x20a\x20`Status`\x20value\x20receive\ + d\x20from\x20another\x20address\x20space\x20belongs\x20to\n\x20an\x20err\ + or\x20space\x20that\x20is\x20not\x20known\x20in\x20this\x20address\x20sp\ + ace.\x20\x20Also\n\x20errors\x20raised\x20by\x20APIs\x20that\x20do\x20no\ + t\x20return\x20enough\x20error\x20information\n\x20may\x20be\x20converte\ + d\x20to\x20this\x20error.\n\n\x20HTTP\x20Mapping:\x20500\x20Internal\x20\ + Server\x20Error\n\n\x0c\n\x05\x05\0\x02\x02\x01\x12\x032\x02\t\n\x0c\n\ + \x05\x05\0\x02\x02\x02\x12\x032\x0c\r\n\x92\x02\n\x04\x05\0\x02\x03\x12\ + \x03:\x02\x17\x1a\x84\x02\x20The\x20client\x20specified\x20an\x20invalid\ + \x20argument.\x20\x20Note\x20that\x20this\x20differs\n\x20from\x20`FAILE\ + D_PRECONDITION`.\x20\x20`INVALID_ARGUMENT`\x20indicates\x20arguments\n\ + \x20that\x20are\x20problematic\x20regardless\x20of\x20the\x20state\x20of\ + \x20the\x20system\n\x20(e.g.,\x20a\x20malformed\x20file\x20name).\n\n\ + \x20HTTP\x20Mapping:\x20400\x20Bad\x20Request\n\n\x0c\n\x05\x05\0\x02\ + \x03\x01\x12\x03:\x02\x12\n\x0c\n\x05\x05\0\x02\x03\x02\x12\x03:\x15\x16\ + \n\xe4\x02\n\x04\x05\0\x02\x04\x12\x03C\x02\x18\x1a\xd6\x02\x20The\x20de\ + adline\x20expired\x20before\x20the\x20operation\x20could\x20complete.\ + \x20For\x20operations\n\x20that\x20change\x20the\x20state\x20of\x20the\ + \x20system,\x20this\x20error\x20may\x20be\x20returned\n\x20even\x20if\ + \x20the\x20operation\x20has\x20completed\x20successfully.\x20\x20For\x20\ + example,\x20a\n\x20successful\x20response\x20from\x20a\x20server\x20coul\ + d\x20have\x20been\x20delayed\x20long\n\x20enough\x20for\x20the\x20deadli\ + ne\x20to\x20expire.\n\n\x20HTTP\x20Mapping:\x20504\x20Gateway\x20Timeout\ + \n\n\x0c\n\x05\x05\0\x02\x04\x01\x12\x03C\x02\x13\n\x0c\n\x05\x05\0\x02\ + \x04\x02\x12\x03C\x16\x17\n\x9a\x03\n\x04\x05\0\x02\x05\x12\x03N\x02\x10\ + \x1a\x8c\x03\x20Some\x20requested\x20entity\x20(e.g.,\x20file\x20or\x20d\ + irectory)\x20was\x20not\x20found.\n\n\x20Note\x20to\x20server\x20develop\ + ers:\x20if\x20a\x20request\x20is\x20denied\x20for\x20an\x20entire\x20cla\ + ss\n\x20of\x20users,\x20such\x20as\x20gradual\x20feature\x20rollout\x20o\ + r\x20undocumented\x20whitelist,\n\x20`NOT_FOUND`\x20may\x20be\x20used.\ + \x20If\x20a\x20request\x20is\x20denied\x20for\x20some\x20users\x20within\ + \n\x20a\x20class\x20of\x20users,\x20such\x20as\x20user-based\x20access\ + \x20control,\x20`PERMISSION_DENIED`\n\x20must\x20be\x20used.\n\n\x20HTTP\ + \x20Mapping:\x20404\x20Not\x20Found\n\n\x0c\n\x05\x05\0\x02\x05\x01\x12\ + \x03N\x02\x0b\n\x0c\n\x05\x05\0\x02\x05\x02\x12\x03N\x0e\x0f\n\x83\x01\n\ + \x04\x05\0\x02\x06\x12\x03T\x02\x15\x1av\x20The\x20entity\x20that\x20a\ + \x20client\x20attempted\x20to\x20create\x20(e.g.,\x20file\x20or\x20direc\ + tory)\n\x20already\x20exists.\n\n\x20HTTP\x20Mapping:\x20409\x20Conflict\ + \n\n\x0c\n\x05\x05\0\x02\x06\x01\x12\x03T\x02\x10\n\x0c\n\x05\x05\0\x02\ + \x06\x02\x12\x03T\x13\x14\n\xf9\x03\n\x04\x05\0\x02\x07\x12\x03`\x02\x18\ + \x1a\xeb\x03\x20The\x20caller\x20does\x20not\x20have\x20permission\x20to\ + \x20execute\x20the\x20specified\n\x20operation.\x20`PERMISSION_DENIED`\ + \x20must\x20not\x20be\x20used\x20for\x20rejections\n\x20caused\x20by\x20\ + exhausting\x20some\x20resource\x20(use\x20`RESOURCE_EXHAUSTED`\n\x20inst\ + ead\x20for\x20those\x20errors).\x20`PERMISSION_DENIED`\x20must\x20not\ + \x20be\n\x20used\x20if\x20the\x20caller\x20can\x20not\x20be\x20identifie\ + d\x20(use\x20`UNAUTHENTICATED`\n\x20instead\x20for\x20those\x20errors).\ + \x20This\x20error\x20code\x20does\x20not\x20imply\x20the\n\x20request\ + \x20is\x20valid\x20or\x20the\x20requested\x20entity\x20exists\x20or\x20s\ + atisfies\n\x20other\x20pre-conditions.\n\n\x20HTTP\x20Mapping:\x20403\ + \x20Forbidden\n\n\x0c\n\x05\x05\0\x02\x07\x01\x12\x03`\x02\x13\n\x0c\n\ + \x05\x05\0\x02\x07\x02\x12\x03`\x16\x17\n~\n\x04\x05\0\x02\x08\x12\x03f\ + \x02\x17\x1aq\x20The\x20request\x20does\x20not\x20have\x20valid\x20authe\ + ntication\x20credentials\x20for\x20the\n\x20operation.\n\n\x20HTTP\x20Ma\ + pping:\x20401\x20Unauthorized\n\n\x0c\n\x05\x05\0\x02\x08\x01\x12\x03f\ + \x02\x11\n\x0c\n\x05\x05\0\x02\x08\x02\x12\x03f\x14\x16\n\xa5\x01\n\x04\ + \x05\0\x02\t\x12\x03l\x02\x19\x1a\x97\x01\x20Some\x20resource\x20has\x20\ + been\x20exhausted,\x20perhaps\x20a\x20per-user\x20quota,\x20or\n\x20perh\ + aps\x20the\x20entire\x20file\x20system\x20is\x20out\x20of\x20space.\n\n\ + \x20HTTP\x20Mapping:\x20429\x20Too\x20Many\x20Requests\n\n\x0c\n\x05\x05\ + \0\x02\t\x01\x12\x03l\x02\x14\n\x0c\n\x05\x05\0\x02\t\x02\x12\x03l\x17\ + \x18\n\xd9\x07\n\x04\x05\0\x02\n\x12\x04\x80\x01\x02\x1a\x1a\xca\x07\x20\ + The\x20operation\x20was\x20rejected\x20because\x20the\x20system\x20is\ + \x20not\x20in\x20a\x20state\n\x20required\x20for\x20the\x20operation's\ + \x20execution.\x20\x20For\x20example,\x20the\x20directory\n\x20to\x20be\ + \x20deleted\x20is\x20non-empty,\x20an\x20rmdir\x20operation\x20is\x20app\ + lied\x20to\n\x20a\x20non-directory,\x20etc.\n\n\x20Service\x20implemento\ + rs\x20can\x20use\x20the\x20following\x20guidelines\x20to\x20decide\n\x20\ + between\x20`FAILED_PRECONDITION`,\x20`ABORTED`,\x20and\x20`UNAVAILABLE`:\ + \n\x20\x20(a)\x20Use\x20`UNAVAILABLE`\x20if\x20the\x20client\x20can\x20r\ + etry\x20just\x20the\x20failing\x20call.\n\x20\x20(b)\x20Use\x20`ABORTED`\ + \x20if\x20the\x20client\x20should\x20retry\x20at\x20a\x20higher\x20level\ + \n\x20\x20\x20\x20\x20\x20(e.g.,\x20when\x20a\x20client-specified\x20tes\ + t-and-set\x20fails,\x20indicating\x20the\n\x20\x20\x20\x20\x20\x20client\ + \x20should\x20restart\x20a\x20read-modify-write\x20sequence).\n\x20\x20(\ + c)\x20Use\x20`FAILED_PRECONDITION`\x20if\x20the\x20client\x20should\x20n\ + ot\x20retry\x20until\n\x20\x20\x20\x20\x20\x20the\x20system\x20state\x20\ + has\x20been\x20explicitly\x20fixed.\x20\x20E.g.,\x20if\x20an\x20\"rmdir\ + \"\n\x20\x20\x20\x20\x20\x20fails\x20because\x20the\x20directory\x20is\ + \x20non-empty,\x20`FAILED_PRECONDITION`\n\x20\x20\x20\x20\x20\x20should\ + \x20be\x20returned\x20since\x20the\x20client\x20should\x20not\x20retry\ + \x20unless\n\x20\x20\x20\x20\x20\x20the\x20files\x20are\x20deleted\x20fr\ + om\x20the\x20directory.\n\n\x20HTTP\x20Mapping:\x20400\x20Bad\x20Request\ + \n\n\r\n\x05\x05\0\x02\n\x01\x12\x04\x80\x01\x02\x15\n\r\n\x05\x05\0\x02\ + \n\x02\x12\x04\x80\x01\x18\x19\n\x8c\x02\n\x04\x05\0\x02\x0b\x12\x04\x89\ + \x01\x02\x0f\x1a\xfd\x01\x20The\x20operation\x20was\x20aborted,\x20typic\ + ally\x20due\x20to\x20a\x20concurrency\x20issue\x20such\x20as\n\x20a\x20s\ + equencer\x20check\x20failure\x20or\x20transaction\x20abort.\n\n\x20See\ + \x20the\x20guidelines\x20above\x20for\x20deciding\x20between\x20`FAILED_\ + PRECONDITION`,\n\x20`ABORTED`,\x20and\x20`UNAVAILABLE`.\n\n\x20HTTP\x20M\ + apping:\x20409\x20Conflict\n\n\r\n\x05\x05\0\x02\x0b\x01\x12\x04\x89\x01\ + \x02\t\n\r\n\x05\x05\0\x02\x0b\x02\x12\x04\x89\x01\x0c\x0e\n\x85\x06\n\ + \x04\x05\0\x02\x0c\x12\x04\x9c\x01\x02\x14\x1a\xf6\x05\x20The\x20operati\ + on\x20was\x20attempted\x20past\x20the\x20valid\x20range.\x20\x20E.g.,\ + \x20seeking\x20or\n\x20reading\x20past\x20end-of-file.\n\n\x20Unlike\x20\ + `INVALID_ARGUMENT`,\x20this\x20error\x20indicates\x20a\x20problem\x20tha\ + t\x20may\n\x20be\x20fixed\x20if\x20the\x20system\x20state\x20changes.\ + \x20For\x20example,\x20a\x2032-bit\x20file\n\x20system\x20will\x20genera\ + te\x20`INVALID_ARGUMENT`\x20if\x20asked\x20to\x20read\x20at\x20an\n\x20o\ + ffset\x20that\x20is\x20not\x20in\x20the\x20range\x20[0,2^32-1],\x20but\ + \x20it\x20will\x20generate\n\x20`OUT_OF_RANGE`\x20if\x20asked\x20to\x20r\ + ead\x20from\x20an\x20offset\x20past\x20the\x20current\n\x20file\x20size.\ + \n\n\x20There\x20is\x20a\x20fair\x20bit\x20of\x20overlap\x20between\x20`\ + FAILED_PRECONDITION`\x20and\n\x20`OUT_OF_RANGE`.\x20\x20We\x20recommend\ + \x20using\x20`OUT_OF_RANGE`\x20(the\x20more\x20specific\n\x20error)\x20w\ + hen\x20it\x20applies\x20so\x20that\x20callers\x20who\x20are\x20iterating\ + \x20through\n\x20a\x20space\x20can\x20easily\x20look\x20for\x20an\x20`OU\ + T_OF_RANGE`\x20error\x20to\x20detect\x20when\n\x20they\x20are\x20done.\n\ + \n\x20HTTP\x20Mapping:\x20400\x20Bad\x20Request\n\n\r\n\x05\x05\0\x02\ + \x0c\x01\x12\x04\x9c\x01\x02\x0e\n\r\n\x05\x05\0\x02\x0c\x02\x12\x04\x9c\ + \x01\x11\x13\n\x82\x01\n\x04\x05\0\x02\r\x12\x04\xa2\x01\x02\x15\x1at\ + \x20The\x20operation\x20is\x20not\x20implemented\x20or\x20is\x20not\x20s\ + upported/enabled\x20in\x20this\n\x20service.\n\n\x20HTTP\x20Mapping:\x20\ + 501\x20Not\x20Implemented\n\n\r\n\x05\x05\0\x02\r\x01\x12\x04\xa2\x01\ + \x02\x0f\n\r\n\x05\x05\0\x02\r\x02\x12\x04\xa2\x01\x12\x14\n\xd3\x01\n\ + \x04\x05\0\x02\x0e\x12\x04\xa9\x01\x02\x10\x1a\xc4\x01\x20Internal\x20er\ + rors.\x20\x20This\x20means\x20that\x20some\x20invariants\x20expected\x20\ + by\x20the\n\x20underlying\x20system\x20have\x20been\x20broken.\x20\x20Th\ + is\x20error\x20code\x20is\x20reserved\n\x20for\x20serious\x20errors.\n\n\ + \x20HTTP\x20Mapping:\x20500\x20Internal\x20Server\x20Error\n\n\r\n\x05\ + \x05\0\x02\x0e\x01\x12\x04\xa9\x01\x02\n\n\r\n\x05\x05\0\x02\x0e\x02\x12\ + \x04\xa9\x01\r\x0f\n\xa5\x02\n\x04\x05\0\x02\x0f\x12\x04\xb3\x01\x02\x13\ + \x1a\x96\x02\x20The\x20service\x20is\x20currently\x20unavailable.\x20\ + \x20This\x20is\x20most\x20likely\x20a\n\x20transient\x20condition,\x20wh\ + ich\x20can\x20be\x20corrected\x20by\x20retrying\x20with\n\x20a\x20backof\ + f.\n\n\x20See\x20the\x20guidelines\x20above\x20for\x20deciding\x20betwee\ + n\x20`FAILED_PRECONDITION`,\n\x20`ABORTED`,\x20and\x20`UNAVAILABLE`.\n\n\ + \x20HTTP\x20Mapping:\x20503\x20Service\x20Unavailable\n\n\r\n\x05\x05\0\ + \x02\x0f\x01\x12\x04\xb3\x01\x02\r\n\r\n\x05\x05\0\x02\x0f\x02\x12\x04\ + \xb3\x01\x10\x12\n`\n\x04\x05\0\x02\x10\x12\x04\xb8\x01\x02\x11\x1aR\x20\ + Unrecoverable\x20data\x20loss\x20or\x20corruption.\n\n\x20HTTP\x20Mappin\ + g:\x20500\x20Internal\x20Server\x20Error\n\n\r\n\x05\x05\0\x02\x10\x01\ + \x12\x04\xb8\x01\x02\x0b\n\r\n\x05\x05\0\x02\x10\x02\x12\x04\xb8\x01\x0e\ + \x10b\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/error_details.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/error_details.rs index ac34d6802c..3a1244a210 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/error_details.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/error_details.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct RetryInfo { @@ -90,7 +90,7 @@ impl ::protobuf::Message for RetryInfo { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -118,7 +118,7 @@ impl ::protobuf::Message for RetryInfo { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let Some(ref v) = self.retry_delay.as_ref() { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -140,13 +140,13 @@ impl ::protobuf::Message for RetryInfo { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -159,10 +159,7 @@ impl ::protobuf::Message for RetryInfo { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -181,10 +178,7 @@ impl ::protobuf::Message for RetryInfo { } fn default_instance() -> &'static RetryInfo { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RetryInfo, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(RetryInfo::new) } @@ -199,14 +193,14 @@ impl ::protobuf::Clear for RetryInfo { } impl ::std::fmt::Debug for RetryInfo { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for RetryInfo { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -288,7 +282,7 @@ impl ::protobuf::Message for DebugInfo { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -321,7 +315,7 @@ impl ::protobuf::Message for DebugInfo { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.stack_entries { os.write_string(1, &v)?; }; @@ -344,13 +338,13 @@ impl ::protobuf::Message for DebugInfo { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -363,10 +357,7 @@ impl ::protobuf::Message for DebugInfo { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -390,10 +381,7 @@ impl ::protobuf::Message for DebugInfo { } fn default_instance() -> &'static DebugInfo { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DebugInfo, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(DebugInfo::new) } @@ -409,14 +397,14 @@ impl ::protobuf::Clear for DebugInfo { } impl ::std::fmt::Debug for DebugInfo { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for DebugInfo { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -476,7 +464,7 @@ impl ::protobuf::Message for QuotaFailure { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -504,7 +492,7 @@ impl ::protobuf::Message for QuotaFailure { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.violations { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -526,13 +514,13 @@ impl ::protobuf::Message for QuotaFailure { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -545,10 +533,7 @@ impl ::protobuf::Message for QuotaFailure { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -567,10 +552,7 @@ impl ::protobuf::Message for QuotaFailure { } fn default_instance() -> &'static QuotaFailure { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const QuotaFailure, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(QuotaFailure::new) } @@ -585,14 +567,14 @@ impl ::protobuf::Clear for QuotaFailure { } impl ::std::fmt::Debug for QuotaFailure { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for QuotaFailure { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -675,7 +657,7 @@ impl ::protobuf::Message for QuotaFailure_Violation { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -708,7 +690,7 @@ impl ::protobuf::Message for QuotaFailure_Violation { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.subject.is_empty() { os.write_string(1, &self.subject)?; } @@ -731,13 +713,13 @@ impl ::protobuf::Message for QuotaFailure_Violation { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -750,10 +732,7 @@ impl ::protobuf::Message for QuotaFailure_Violation { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -777,10 +756,7 @@ impl ::protobuf::Message for QuotaFailure_Violation { } fn default_instance() -> &'static QuotaFailure_Violation { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const QuotaFailure_Violation, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(QuotaFailure_Violation::new) } @@ -796,14 +772,14 @@ impl ::protobuf::Clear for QuotaFailure_Violation { } impl ::std::fmt::Debug for QuotaFailure_Violation { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for QuotaFailure_Violation { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -863,7 +839,7 @@ impl ::protobuf::Message for PreconditionFailure { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -891,7 +867,7 @@ impl ::protobuf::Message for PreconditionFailure { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.violations { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -913,13 +889,13 @@ impl ::protobuf::Message for PreconditionFailure { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -932,10 +908,7 @@ impl ::protobuf::Message for PreconditionFailure { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -954,10 +927,7 @@ impl ::protobuf::Message for PreconditionFailure { } fn default_instance() -> &'static PreconditionFailure { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PreconditionFailure, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PreconditionFailure::new) } @@ -972,14 +942,14 @@ impl ::protobuf::Clear for PreconditionFailure { } impl ::std::fmt::Debug for PreconditionFailure { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PreconditionFailure { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1089,7 +1059,7 @@ impl ::protobuf::Message for PreconditionFailure_Violation { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1128,7 +1098,7 @@ impl ::protobuf::Message for PreconditionFailure_Violation { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.field_type.is_empty() { os.write_string(1, &self.field_type)?; } @@ -1154,13 +1124,13 @@ impl ::protobuf::Message for PreconditionFailure_Violation { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1173,10 +1143,7 @@ impl ::protobuf::Message for PreconditionFailure_Violation { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1205,10 +1172,7 @@ impl ::protobuf::Message for PreconditionFailure_Violation { } fn default_instance() -> &'static PreconditionFailure_Violation { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PreconditionFailure_Violation, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PreconditionFailure_Violation::new) } @@ -1225,14 +1189,14 @@ impl ::protobuf::Clear for PreconditionFailure_Violation { } impl ::std::fmt::Debug for PreconditionFailure_Violation { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PreconditionFailure_Violation { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1292,7 +1256,7 @@ impl ::protobuf::Message for BadRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1320,7 +1284,7 @@ impl ::protobuf::Message for BadRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.field_violations { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -1342,13 +1306,13 @@ impl ::protobuf::Message for BadRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1361,10 +1325,7 @@ impl ::protobuf::Message for BadRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1383,10 +1344,7 @@ impl ::protobuf::Message for BadRequest { } fn default_instance() -> &'static BadRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const BadRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(BadRequest::new) } @@ -1401,14 +1359,14 @@ impl ::protobuf::Clear for BadRequest { } impl ::std::fmt::Debug for BadRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for BadRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1491,7 +1449,7 @@ impl ::protobuf::Message for BadRequest_FieldViolation { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1524,7 +1482,7 @@ impl ::protobuf::Message for BadRequest_FieldViolation { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.field.is_empty() { os.write_string(1, &self.field)?; } @@ -1547,13 +1505,13 @@ impl ::protobuf::Message for BadRequest_FieldViolation { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1566,10 +1524,7 @@ impl ::protobuf::Message for BadRequest_FieldViolation { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1593,10 +1548,7 @@ impl ::protobuf::Message for BadRequest_FieldViolation { } fn default_instance() -> &'static BadRequest_FieldViolation { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const BadRequest_FieldViolation, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(BadRequest_FieldViolation::new) } @@ -1612,14 +1564,14 @@ impl ::protobuf::Clear for BadRequest_FieldViolation { } impl ::std::fmt::Debug for BadRequest_FieldViolation { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for BadRequest_FieldViolation { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1702,7 +1654,7 @@ impl ::protobuf::Message for RequestInfo { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1735,7 +1687,7 @@ impl ::protobuf::Message for RequestInfo { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.request_id.is_empty() { os.write_string(1, &self.request_id)?; } @@ -1758,13 +1710,13 @@ impl ::protobuf::Message for RequestInfo { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1777,10 +1729,7 @@ impl ::protobuf::Message for RequestInfo { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1804,10 +1753,7 @@ impl ::protobuf::Message for RequestInfo { } fn default_instance() -> &'static RequestInfo { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RequestInfo, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(RequestInfo::new) } @@ -1823,14 +1769,14 @@ impl ::protobuf::Clear for RequestInfo { } impl ::std::fmt::Debug for RequestInfo { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for RequestInfo { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1967,7 +1913,7 @@ impl ::protobuf::Message for ResourceInfo { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2012,7 +1958,7 @@ impl ::protobuf::Message for ResourceInfo { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.resource_type.is_empty() { os.write_string(1, &self.resource_type)?; } @@ -2041,13 +1987,13 @@ impl ::protobuf::Message for ResourceInfo { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2060,10 +2006,7 @@ impl ::protobuf::Message for ResourceInfo { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2097,10 +2040,7 @@ impl ::protobuf::Message for ResourceInfo { } fn default_instance() -> &'static ResourceInfo { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ResourceInfo, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ResourceInfo::new) } @@ -2118,14 +2058,14 @@ impl ::protobuf::Clear for ResourceInfo { } impl ::std::fmt::Debug for ResourceInfo { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ResourceInfo { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2185,7 +2125,7 @@ impl ::protobuf::Message for Help { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2213,7 +2153,7 @@ impl ::protobuf::Message for Help { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.links { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -2235,13 +2175,13 @@ impl ::protobuf::Message for Help { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2254,10 +2194,7 @@ impl ::protobuf::Message for Help { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2276,10 +2213,7 @@ impl ::protobuf::Message for Help { } fn default_instance() -> &'static Help { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Help, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Help::new) } @@ -2294,14 +2228,14 @@ impl ::protobuf::Clear for Help { } impl ::std::fmt::Debug for Help { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Help { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2384,7 +2318,7 @@ impl ::protobuf::Message for Help_Link { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2417,7 +2351,7 @@ impl ::protobuf::Message for Help_Link { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.description.is_empty() { os.write_string(1, &self.description)?; } @@ -2440,13 +2374,13 @@ impl ::protobuf::Message for Help_Link { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2459,10 +2393,7 @@ impl ::protobuf::Message for Help_Link { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2486,10 +2417,7 @@ impl ::protobuf::Message for Help_Link { } fn default_instance() -> &'static Help_Link { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Help_Link, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Help_Link::new) } @@ -2505,14 +2433,14 @@ impl ::protobuf::Clear for Help_Link { } impl ::std::fmt::Debug for Help_Link { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Help_Link { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2595,7 +2523,7 @@ impl ::protobuf::Message for LocalizedMessage { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2628,7 +2556,7 @@ impl ::protobuf::Message for LocalizedMessage { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.locale.is_empty() { os.write_string(1, &self.locale)?; } @@ -2651,13 +2579,13 @@ impl ::protobuf::Message for LocalizedMessage { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2670,10 +2598,7 @@ impl ::protobuf::Message for LocalizedMessage { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2697,10 +2622,7 @@ impl ::protobuf::Message for LocalizedMessage { } fn default_instance() -> &'static LocalizedMessage { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const LocalizedMessage, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(LocalizedMessage::new) } @@ -2716,14 +2638,14 @@ impl ::protobuf::Clear for LocalizedMessage { } impl ::std::fmt::Debug for LocalizedMessage { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for LocalizedMessage { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2755,7 +2677,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \tR\x03url\"D\n\x10LocalizedMessage\x12\x16\n\x06locale\x18\x01\x20\x01(\ \tR\x06locale\x12\x18\n\x07message\x18\x02\x20\x01(\tR\x07messageBl\n\ \x0ecom.google.rpcB\x11ErrorDetailsProtoP\x01Z?google.golang.org/genprot\ - o/googleapis/rpc/errdetails;errdetails\xa2\x02\x03RPCJ\xc7@\n\x07\x12\ + o/googleapis/rpc/errdetails;errdetails\xa2\x02\x03RPCJ\xf8B\n\x07\x12\ \x05\x0e\0\xc7\x01\x01\n\xbd\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb2\x04\ \x20Copyright\x202017\x20Google\x20Inc.\n\n\x20Licensed\x20under\x20the\ \x20Apache\x20License,\x20Version\x202.0\x20(the\x20\"License\");\n\x20y\ @@ -2769,236 +2691,248 @@ static file_descriptor_proto_data: &'static [u8] = b"\ NY\x20KIND,\x20either\x20express\x20or\x20implied.\n\x20See\x20the\x20Li\ cense\x20for\x20the\x20specific\x20language\x20governing\x20permissions\ \x20and\n\x20limitations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\ - \x12\x03\x10\0\x13\n\t\n\x02\x03\0\x12\x03\x12\0(\n\x08\n\x01\x08\x12\ - \x03\x14\0V\n\t\n\x02\x08\x0b\x12\x03\x14\0V\n\x08\n\x01\x08\x12\x03\x15\ - \0\"\n\t\n\x02\x08\n\x12\x03\x15\0\"\n\x08\n\x01\x08\x12\x03\x16\02\n\t\ - \n\x02\x08\x08\x12\x03\x16\02\n\x08\n\x01\x08\x12\x03\x17\0'\n\t\n\x02\ - \x08\x01\x12\x03\x17\0'\n\x08\n\x01\x08\x12\x03\x18\0!\n\t\n\x02\x08$\ - \x12\x03\x18\0!\n\x8b\x05\n\x02\x04\0\x12\x04(\0+\x01\x1a\xfe\x04\x20Des\ - cribes\x20when\x20the\x20clients\x20can\x20retry\x20a\x20failed\x20reque\ - st.\x20Clients\x20could\x20ignore\n\x20the\x20recommendation\x20here\x20\ - or\x20retry\x20when\x20this\x20information\x20is\x20missing\x20from\x20e\ - rror\n\x20responses.\n\n\x20It's\x20always\x20recommended\x20that\x20cli\ - ents\x20should\x20use\x20exponential\x20backoff\x20when\n\x20retrying.\n\ - \n\x20Clients\x20should\x20wait\x20until\x20`retry_delay`\x20amount\x20o\ - f\x20time\x20has\x20passed\x20since\n\x20receiving\x20the\x20error\x20re\ - sponse\x20before\x20retrying.\x20\x20If\x20retrying\x20requests\x20also\ - \n\x20fail,\x20clients\x20should\x20use\x20an\x20exponential\x20backoff\ - \x20scheme\x20to\x20gradually\x20increase\n\x20the\x20delay\x20between\ - \x20retries\x20based\x20on\x20`retry_delay`,\x20until\x20either\x20a\x20\ - maximum\n\x20number\x20of\x20retires\x20have\x20been\x20reached\x20or\ - \x20a\x20maximum\x20retry\x20delay\x20cap\x20has\x20been\n\x20reached.\n\ - \n\n\n\x03\x04\0\x01\x12\x03(\x08\x11\nX\n\x04\x04\0\x02\0\x12\x03*\x02+\ - \x1aK\x20Clients\x20should\x20wait\x20at\x20least\x20this\x20long\x20bet\ - ween\x20retrying\x20the\x20same\x20request.\n\n\r\n\x05\x04\0\x02\0\x04\ - \x12\x04*\x02(\x13\n\x0c\n\x05\x04\0\x02\0\x06\x12\x03*\x02\x1a\n\x0c\n\ - \x05\x04\0\x02\0\x01\x12\x03*\x1b&\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03*)\ - *\n2\n\x02\x04\x01\x12\x04.\04\x01\x1a&\x20Describes\x20additional\x20de\ - bugging\x20info.\n\n\n\n\x03\x04\x01\x01\x12\x03.\x08\x11\nK\n\x04\x04\ - \x01\x02\0\x12\x030\x02$\x1a>\x20The\x20stack\x20trace\x20entries\x20ind\ - icating\x20where\x20the\x20error\x20occurred.\n\n\x0c\n\x05\x04\x01\x02\ - \0\x04\x12\x030\x02\n\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x030\x0b\x11\n\ - \x0c\n\x05\x04\x01\x02\0\x01\x12\x030\x12\x1f\n\x0c\n\x05\x04\x01\x02\0\ - \x03\x12\x030\"#\nG\n\x04\x04\x01\x02\x01\x12\x033\x02\x14\x1a:\x20Addit\ - ional\x20debugging\x20information\x20provided\x20by\x20the\x20server.\n\ - \n\r\n\x05\x04\x01\x02\x01\x04\x12\x043\x020$\n\x0c\n\x05\x04\x01\x02\ - \x01\x05\x12\x033\x02\x08\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x033\t\x0f\ - \n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x033\x12\x13\n\xfe\x03\n\x02\x04\ - \x02\x12\x04A\0V\x01\x1a\xf1\x03\x20Describes\x20how\x20a\x20quota\x20ch\ - eck\x20failed.\n\n\x20For\x20example\x20if\x20a\x20daily\x20limit\x20was\ - \x20exceeded\x20for\x20the\x20calling\x20project,\n\x20a\x20service\x20c\ - ould\x20respond\x20with\x20a\x20QuotaFailure\x20detail\x20containing\x20\ - the\x20project\n\x20id\x20and\x20the\x20description\x20of\x20the\x20quot\ - a\x20limit\x20that\x20was\x20exceeded.\x20\x20If\x20the\n\x20calling\x20\ - project\x20hasn't\x20enabled\x20the\x20service\x20in\x20the\x20developer\ - \x20console,\x20then\n\x20a\x20service\x20could\x20respond\x20with\x20th\ - e\x20project\x20id\x20and\x20set\x20`service_disabled`\n\x20to\x20true.\ - \n\n\x20Also\x20see\x20RetryDetail\x20and\x20Help\x20types\x20for\x20oth\ - er\x20details\x20about\x20handling\x20a\n\x20quota\x20failure.\n\n\n\n\ - \x03\x04\x02\x01\x12\x03A\x08\x14\n\x8b\x01\n\x04\x04\x02\x03\0\x12\x04D\ - \x02R\x03\x1a}\x20A\x20message\x20type\x20used\x20to\x20describe\x20a\ - \x20single\x20quota\x20violation.\x20\x20For\x20example,\x20a\n\x20daily\ - \x20quota\x20or\x20a\x20custom\x20quota\x20that\x20was\x20exceeded.\n\n\ - \x0c\n\x05\x04\x02\x03\0\x01\x12\x03D\n\x13\n\x9b\x01\n\x06\x04\x02\x03\ - \0\x02\0\x12\x03H\x04\x17\x1a\x8b\x01\x20The\x20subject\x20on\x20which\ - \x20the\x20quota\x20check\x20failed.\n\x20For\x20example,\x20\"clientip:\ - \"\x20or\x20\"project:\".\n\n\x0f\n\x07\x04\x02\x03\0\x02\0\x04\x12\x04H\ - \x04D\x15\n\x0e\n\x07\x04\x02\x03\0\x02\0\x05\x12\x03H\x04\n\n\x0e\n\x07\ - \x04\x02\x03\0\x02\0\x01\x12\x03H\x0b\x12\n\x0e\n\x07\x04\x02\x03\0\x02\ - \0\x03\x12\x03H\x15\x16\n\xcc\x02\n\x06\x04\x02\x03\0\x02\x01\x12\x03Q\ - \x04\x1b\x1a\xbc\x02\x20A\x20description\x20of\x20how\x20the\x20quota\ - \x20check\x20failed.\x20Clients\x20can\x20use\x20this\n\x20description\ - \x20to\x20find\x20more\x20about\x20the\x20quota\x20configuration\x20in\ - \x20the\x20service's\n\x20public\x20documentation,\x20or\x20find\x20the\ - \x20relevant\x20quota\x20limit\x20to\x20adjust\x20through\n\x20developer\ - \x20console.\n\n\x20For\x20example:\x20\"Service\x20disabled\"\x20or\x20\ - \"Daily\x20Limit\x20for\x20read\x20operations\n\x20exceeded\".\n\n\x0f\n\ - \x07\x04\x02\x03\0\x02\x01\x04\x12\x04Q\x04H\x17\n\x0e\n\x07\x04\x02\x03\ - \0\x02\x01\x05\x12\x03Q\x04\n\n\x0e\n\x07\x04\x02\x03\0\x02\x01\x01\x12\ - \x03Q\x0b\x16\n\x0e\n\x07\x04\x02\x03\0\x02\x01\x03\x12\x03Q\x19\x1a\n.\ - \n\x04\x04\x02\x02\0\x12\x03U\x02$\x1a!\x20Describes\x20all\x20quota\x20\ - violations.\n\n\x0c\n\x05\x04\x02\x02\0\x04\x12\x03U\x02\n\n\x0c\n\x05\ - \x04\x02\x02\0\x06\x12\x03U\x0b\x14\n\x0c\n\x05\x04\x02\x02\0\x01\x12\ - \x03U\x15\x1f\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03U\"#\n\xe8\x01\n\x02\ - \x04\x03\x12\x04]\0s\x01\x1a\xdb\x01\x20Describes\x20what\x20preconditio\ - ns\x20have\x20failed.\n\n\x20For\x20example,\x20if\x20an\x20RPC\x20faile\ - d\x20because\x20it\x20required\x20the\x20Terms\x20of\x20Service\x20to\ - \x20be\n\x20acknowledged,\x20it\x20could\x20list\x20the\x20terms\x20of\ - \x20service\x20violation\x20in\x20the\n\x20PreconditionFailure\x20messag\ - e.\n\n\n\n\x03\x04\x03\x01\x12\x03]\x08\x1b\nN\n\x04\x04\x03\x03\0\x12\ - \x04_\x02o\x03\x1a@\x20A\x20message\x20type\x20used\x20to\x20describe\ - \x20a\x20single\x20precondition\x20failure.\n\n\x0c\n\x05\x04\x03\x03\0\ - \x01\x12\x03_\n\x13\n\xcf\x01\n\x06\x04\x03\x03\0\x02\0\x12\x03c\x04\x14\ - \x1a\xbf\x01\x20The\x20type\x20of\x20PreconditionFailure.\x20We\x20recom\ - mend\x20using\x20a\x20service-specific\n\x20enum\x20type\x20to\x20define\ - \x20the\x20supported\x20precondition\x20violation\x20types.\x20For\n\x20\ - example,\x20\"TOS\"\x20for\x20\"Terms\x20of\x20Service\x20violation\".\n\ - \n\x0f\n\x07\x04\x03\x03\0\x02\0\x04\x12\x04c\x04_\x15\n\x0e\n\x07\x04\ - \x03\x03\0\x02\0\x05\x12\x03c\x04\n\n\x0e\n\x07\x04\x03\x03\0\x02\0\x01\ - \x12\x03c\x0b\x0f\n\x0e\n\x07\x04\x03\x03\0\x02\0\x03\x12\x03c\x12\x13\n\ - \xb9\x01\n\x06\x04\x03\x03\0\x02\x01\x12\x03h\x04\x17\x1a\xa9\x01\x20The\ - \x20subject,\x20relative\x20to\x20the\x20type,\x20that\x20failed.\n\x20F\ - or\x20example,\x20\"google.com/cloud\"\x20relative\x20to\x20the\x20\"TOS\ - \"\x20type\x20would\n\x20indicate\x20which\x20terms\x20of\x20service\x20\ - is\x20being\x20referenced.\n\n\x0f\n\x07\x04\x03\x03\0\x02\x01\x04\x12\ - \x04h\x04c\x14\n\x0e\n\x07\x04\x03\x03\0\x02\x01\x05\x12\x03h\x04\n\n\ - \x0e\n\x07\x04\x03\x03\0\x02\x01\x01\x12\x03h\x0b\x12\n\x0e\n\x07\x04\ - \x03\x03\0\x02\x01\x03\x12\x03h\x15\x16\n\xba\x01\n\x06\x04\x03\x03\0\ - \x02\x02\x12\x03n\x04\x1b\x1a\xaa\x01\x20A\x20description\x20of\x20how\ - \x20the\x20precondition\x20failed.\x20Developers\x20can\x20use\x20this\n\ - \x20description\x20to\x20understand\x20how\x20to\x20fix\x20the\x20failur\ - e.\n\n\x20For\x20example:\x20\"Terms\x20of\x20service\x20not\x20accepted\ - \".\n\n\x0f\n\x07\x04\x03\x03\0\x02\x02\x04\x12\x04n\x04h\x17\n\x0e\n\ - \x07\x04\x03\x03\0\x02\x02\x05\x12\x03n\x04\n\n\x0e\n\x07\x04\x03\x03\0\ - \x02\x02\x01\x12\x03n\x0b\x16\n\x0e\n\x07\x04\x03\x03\0\x02\x02\x03\x12\ - \x03n\x19\x1a\n5\n\x04\x04\x03\x02\0\x12\x03r\x02$\x1a(\x20Describes\x20\ - all\x20precondition\x20violations.\n\n\x0c\n\x05\x04\x03\x02\0\x04\x12\ - \x03r\x02\n\n\x0c\n\x05\x04\x03\x02\0\x06\x12\x03r\x0b\x14\n\x0c\n\x05\ - \x04\x03\x02\0\x01\x12\x03r\x15\x1f\n\x0c\n\x05\x04\x03\x02\0\x03\x12\ - \x03r\"#\nz\n\x02\x04\x04\x12\x05w\0\x85\x01\x01\x1am\x20Describes\x20vi\ - olations\x20in\x20a\x20client\x20request.\x20This\x20error\x20type\x20fo\ - cuses\x20on\x20the\n\x20syntactic\x20aspects\x20of\x20the\x20request.\n\ - \n\n\n\x03\x04\x04\x01\x12\x03w\x08\x12\nL\n\x04\x04\x04\x03\0\x12\x05y\ - \x02\x81\x01\x03\x1a=\x20A\x20message\x20type\x20used\x20to\x20describe\ - \x20a\x20single\x20bad\x20request\x20field.\n\n\x0c\n\x05\x04\x04\x03\0\ - \x01\x12\x03y\n\x18\n\xdd\x01\n\x06\x04\x04\x03\0\x02\0\x12\x03}\x04\x15\ - \x1a\xcd\x01\x20A\x20path\x20leading\x20to\x20a\x20field\x20in\x20the\ - \x20request\x20body.\x20The\x20value\x20will\x20be\x20a\n\x20sequence\ - \x20of\x20dot-separated\x20identifiers\x20that\x20identify\x20a\x20proto\ - col\x20buffer\n\x20field.\x20E.g.,\x20\"field_violations.field\"\x20woul\ - d\x20identify\x20this\x20field.\n\n\x0f\n\x07\x04\x04\x03\0\x02\0\x04\ - \x12\x04}\x04y\x1a\n\x0e\n\x07\x04\x04\x03\0\x02\0\x05\x12\x03}\x04\n\n\ - \x0e\n\x07\x04\x04\x03\0\x02\0\x01\x12\x03}\x0b\x10\n\x0e\n\x07\x04\x04\ - \x03\0\x02\0\x03\x12\x03}\x13\x14\nB\n\x06\x04\x04\x03\0\x02\x01\x12\x04\ - \x80\x01\x04\x1b\x1a2\x20A\x20description\x20of\x20why\x20the\x20request\ - \x20element\x20is\x20bad.\n\n\x10\n\x07\x04\x04\x03\0\x02\x01\x04\x12\ - \x05\x80\x01\x04}\x15\n\x0f\n\x07\x04\x04\x03\0\x02\x01\x05\x12\x04\x80\ - \x01\x04\n\n\x0f\n\x07\x04\x04\x03\0\x02\x01\x01\x12\x04\x80\x01\x0b\x16\ - \n\x0f\n\x07\x04\x04\x03\0\x02\x01\x03\x12\x04\x80\x01\x19\x1a\n=\n\x04\ - \x04\x04\x02\0\x12\x04\x84\x01\x02/\x1a/\x20Describes\x20all\x20violatio\ - ns\x20in\x20a\x20client\x20request.\n\n\r\n\x05\x04\x04\x02\0\x04\x12\ - \x04\x84\x01\x02\n\n\r\n\x05\x04\x04\x02\0\x06\x12\x04\x84\x01\x0b\x19\n\ - \r\n\x05\x04\x04\x02\0\x01\x12\x04\x84\x01\x1a*\n\r\n\x05\x04\x04\x02\0\ - \x03\x12\x04\x84\x01-.\n\x84\x01\n\x02\x04\x05\x12\x06\x89\x01\0\x91\x01\ - \x01\x1av\x20Contains\x20metadata\x20about\x20the\x20request\x20that\x20\ - clients\x20can\x20attach\x20when\x20filing\x20a\x20bug\n\x20or\x20provid\ - ing\x20other\x20forms\x20of\x20feedback.\n\n\x0b\n\x03\x04\x05\x01\x12\ - \x04\x89\x01\x08\x13\n\xa8\x01\n\x04\x04\x05\x02\0\x12\x04\x8c\x01\x02\ - \x18\x1a\x99\x01\x20An\x20opaque\x20string\x20that\x20should\x20only\x20\ - be\x20interpreted\x20by\x20the\x20service\x20generating\n\x20it.\x20For\ - \x20example,\x20it\x20can\x20be\x20used\x20to\x20identify\x20requests\ - \x20in\x20the\x20service's\x20logs.\n\n\x0f\n\x05\x04\x05\x02\0\x04\x12\ - \x06\x8c\x01\x02\x89\x01\x15\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\x8c\x01\ - \x02\x08\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\x8c\x01\t\x13\n\r\n\x05\x04\ - \x05\x02\0\x03\x12\x04\x8c\x01\x16\x17\n\xa2\x01\n\x04\x04\x05\x02\x01\ - \x12\x04\x90\x01\x02\x1a\x1a\x93\x01\x20Any\x20data\x20that\x20was\x20us\ - ed\x20to\x20serve\x20this\x20request.\x20For\x20example,\x20an\x20encryp\ - ted\n\x20stack\x20trace\x20that\x20can\x20be\x20sent\x20back\x20to\x20th\ - e\x20service\x20provider\x20for\x20debugging.\n\n\x0f\n\x05\x04\x05\x02\ - \x01\x04\x12\x06\x90\x01\x02\x8c\x01\x18\n\r\n\x05\x04\x05\x02\x01\x05\ - \x12\x04\x90\x01\x02\x08\n\r\n\x05\x04\x05\x02\x01\x01\x12\x04\x90\x01\t\ - \x15\n\r\n\x05\x04\x05\x02\x01\x03\x12\x04\x90\x01\x18\x19\n>\n\x02\x04\ - \x06\x12\x06\x94\x01\0\xa8\x01\x01\x1a0\x20Describes\x20the\x20resource\ - \x20that\x20is\x20being\x20accessed.\n\n\x0b\n\x03\x04\x06\x01\x12\x04\ - \x94\x01\x08\x14\n\xdb\x01\n\x04\x04\x06\x02\0\x12\x04\x98\x01\x02\x1b\ - \x1a\xcc\x01\x20A\x20name\x20for\x20the\x20type\x20of\x20resource\x20bei\ - ng\x20accessed,\x20e.g.\x20\"sql\x20table\",\n\x20\"cloud\x20storage\x20\ - bucket\",\x20\"file\",\x20\"Google\x20calendar\";\x20or\x20the\x20type\ - \x20URL\n\x20of\x20the\x20resource:\x20e.g.\x20\"type.googleapis.com/goo\ - gle.pubsub.v1.Topic\".\n\n\x0f\n\x05\x04\x06\x02\0\x04\x12\x06\x98\x01\ - \x02\x94\x01\x16\n\r\n\x05\x04\x06\x02\0\x05\x12\x04\x98\x01\x02\x08\n\r\ - \n\x05\x04\x06\x02\0\x01\x12\x04\x98\x01\t\x16\n\r\n\x05\x04\x06\x02\0\ - \x03\x12\x04\x98\x01\x19\x1a\n\xf6\x01\n\x04\x04\x06\x02\x01\x12\x04\x9d\ - \x01\x02\x1b\x1a\xe7\x01\x20The\x20name\x20of\x20the\x20resource\x20bein\ - g\x20accessed.\x20\x20For\x20example,\x20a\x20shared\x20calendar\n\x20na\ - me:\x20\"example.com_4fghdhgsrgh@group.calendar.google.com\",\x20if\x20t\ - he\x20current\n\x20error\x20is\x20[google.rpc.Code.PERMISSION_DENIED][go\ - ogle.rpc.Code.PERMISSION_DENIED].\n\n\x0f\n\x05\x04\x06\x02\x01\x04\x12\ - \x06\x9d\x01\x02\x98\x01\x1b\n\r\n\x05\x04\x06\x02\x01\x05\x12\x04\x9d\ - \x01\x02\x08\n\r\n\x05\x04\x06\x02\x01\x01\x12\x04\x9d\x01\t\x16\n\r\n\ - \x05\x04\x06\x02\x01\x03\x12\x04\x9d\x01\x19\x1a\n\x85\x01\n\x04\x04\x06\ - \x02\x02\x12\x04\xa2\x01\x02\x13\x1aw\x20The\x20owner\x20of\x20the\x20re\ - source\x20(optional).\n\x20For\x20example,\x20\"user:\"\ - \x20or\x20\"project:\".\n\n\x0f\ - \n\x05\x04\x06\x02\x02\x04\x12\x06\xa2\x01\x02\x9d\x01\x1b\n\r\n\x05\x04\ - \x06\x02\x02\x05\x12\x04\xa2\x01\x02\x08\n\r\n\x05\x04\x06\x02\x02\x01\ - \x12\x04\xa2\x01\t\x0e\n\r\n\x05\x04\x06\x02\x02\x03\x12\x04\xa2\x01\x11\ - \x12\n\xc0\x01\n\x04\x04\x06\x02\x03\x12\x04\xa7\x01\x02\x19\x1a\xb1\x01\ - \x20Describes\x20what\x20error\x20is\x20encountered\x20when\x20accessing\ - \x20this\x20resource.\n\x20For\x20example,\x20updating\x20a\x20cloud\x20\ - project\x20may\x20require\x20the\x20`writer`\x20permission\n\x20on\x20th\ - e\x20developer\x20console\x20project.\n\n\x0f\n\x05\x04\x06\x02\x03\x04\ - \x12\x06\xa7\x01\x02\xa2\x01\x13\n\r\n\x05\x04\x06\x02\x03\x05\x12\x04\ - \xa7\x01\x02\x08\n\r\n\x05\x04\x06\x02\x03\x01\x12\x04\xa7\x01\t\x14\n\r\ - \n\x05\x04\x06\x02\x03\x03\x12\x04\xa7\x01\x17\x18\n\xba\x02\n\x02\x04\ - \x07\x12\x06\xaf\x01\0\xbb\x01\x01\x1a\xab\x02\x20Provides\x20links\x20t\ - o\x20documentation\x20or\x20for\x20performing\x20an\x20out\x20of\x20band\ - \x20action.\n\n\x20For\x20example,\x20if\x20a\x20quota\x20check\x20faile\ - d\x20with\x20an\x20error\x20indicating\x20the\x20calling\n\x20project\ - \x20hasn't\x20enabled\x20the\x20accessed\x20service,\x20this\x20can\x20c\ - ontain\x20a\x20URL\x20pointing\n\x20directly\x20to\x20the\x20right\x20pl\ - ace\x20in\x20the\x20developer\x20console\x20to\x20flip\x20the\x20bit.\n\ - \n\x0b\n\x03\x04\x07\x01\x12\x04\xaf\x01\x08\x0c\n'\n\x04\x04\x07\x03\0\ - \x12\x06\xb1\x01\x02\xb7\x01\x03\x1a\x17\x20Describes\x20a\x20URL\x20lin\ - k.\n\n\r\n\x05\x04\x07\x03\0\x01\x12\x04\xb1\x01\n\x0e\n1\n\x06\x04\x07\ - \x03\0\x02\0\x12\x04\xb3\x01\x04\x1b\x1a!\x20Describes\x20what\x20the\ - \x20link\x20offers.\n\n\x11\n\x07\x04\x07\x03\0\x02\0\x04\x12\x06\xb3\ - \x01\x04\xb1\x01\x10\n\x0f\n\x07\x04\x07\x03\0\x02\0\x05\x12\x04\xb3\x01\ - \x04\n\n\x0f\n\x07\x04\x07\x03\0\x02\0\x01\x12\x04\xb3\x01\x0b\x16\n\x0f\ - \n\x07\x04\x07\x03\0\x02\0\x03\x12\x04\xb3\x01\x19\x1a\n&\n\x06\x04\x07\ - \x03\0\x02\x01\x12\x04\xb6\x01\x04\x13\x1a\x16\x20The\x20URL\x20of\x20th\ - e\x20link.\n\n\x11\n\x07\x04\x07\x03\0\x02\x01\x04\x12\x06\xb6\x01\x04\ - \xb3\x01\x1b\n\x0f\n\x07\x04\x07\x03\0\x02\x01\x05\x12\x04\xb6\x01\x04\n\ - \n\x0f\n\x07\x04\x07\x03\0\x02\x01\x01\x12\x04\xb6\x01\x0b\x0e\n\x0f\n\ - \x07\x04\x07\x03\0\x02\x01\x03\x12\x04\xb6\x01\x11\x12\nX\n\x04\x04\x07\ - \x02\0\x12\x04\xba\x01\x02\x1a\x1aJ\x20URL(s)\x20pointing\x20to\x20addit\ - ional\x20information\x20on\x20handling\x20the\x20current\x20error.\n\n\r\ - \n\x05\x04\x07\x02\0\x04\x12\x04\xba\x01\x02\n\n\r\n\x05\x04\x07\x02\0\ - \x06\x12\x04\xba\x01\x0b\x0f\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\xba\x01\ - \x10\x15\n\r\n\x05\x04\x07\x02\0\x03\x12\x04\xba\x01\x18\x19\n}\n\x02\ - \x04\x08\x12\x06\xbf\x01\0\xc7\x01\x01\x1ao\x20Provides\x20a\x20localize\ - d\x20error\x20message\x20that\x20is\x20safe\x20to\x20return\x20to\x20the\ - \x20user\n\x20which\x20can\x20be\x20attached\x20to\x20an\x20RPC\x20error\ - .\n\n\x0b\n\x03\x04\x08\x01\x12\x04\xbf\x01\x08\x18\n\x9e\x01\n\x04\x04\ - \x08\x02\0\x12\x04\xc3\x01\x02\x14\x1a\x8f\x01\x20The\x20locale\x20used\ - \x20following\x20the\x20specification\x20defined\x20at\n\x20http://www.r\ - fc-editor.org/rfc/bcp/bcp47.txt.\n\x20Examples\x20are:\x20\"en-US\",\x20\ - \"fr-CH\",\x20\"es-MX\"\n\n\x0f\n\x05\x04\x08\x02\0\x04\x12\x06\xc3\x01\ - \x02\xbf\x01\x1a\n\r\n\x05\x04\x08\x02\0\x05\x12\x04\xc3\x01\x02\x08\n\r\ - \n\x05\x04\x08\x02\0\x01\x12\x04\xc3\x01\t\x0f\n\r\n\x05\x04\x08\x02\0\ - \x03\x12\x04\xc3\x01\x12\x13\n@\n\x04\x04\x08\x02\x01\x12\x04\xc6\x01\ - \x02\x15\x1a2\x20The\x20localized\x20error\x20message\x20in\x20the\x20ab\ - ove\x20locale.\n\n\x0f\n\x05\x04\x08\x02\x01\x04\x12\x06\xc6\x01\x02\xc3\ - \x01\x14\n\r\n\x05\x04\x08\x02\x01\x05\x12\x04\xc6\x01\x02\x08\n\r\n\x05\ - \x04\x08\x02\x01\x01\x12\x04\xc6\x01\t\x10\n\r\n\x05\x04\x08\x02\x01\x03\ - \x12\x04\xc6\x01\x13\x14b\x06proto3\ + \x12\x03\x10\x08\x12\n\t\n\x02\x03\0\x12\x03\x12\x07'\n\x08\n\x01\x08\ + \x12\x03\x14\0V\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x14\0V\n\x0c\n\x05\x08\ + \xe7\x07\0\x02\x12\x03\x14\x07\x11\n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\ + \x14\x07\x11\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x14\x07\x11\n\ + \x0c\n\x05\x08\xe7\x07\0\x07\x12\x03\x14\x14U\n\x08\n\x01\x08\x12\x03\ + \x15\0\"\n\x0b\n\x04\x08\xe7\x07\x01\x12\x03\x15\0\"\n\x0c\n\x05\x08\xe7\ + \x07\x01\x02\x12\x03\x15\x07\x1a\n\r\n\x06\x08\xe7\x07\x01\x02\0\x12\x03\ + \x15\x07\x1a\n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\x15\x07\x1a\n\ + \x0c\n\x05\x08\xe7\x07\x01\x03\x12\x03\x15\x1d!\n\x08\n\x01\x08\x12\x03\ + \x16\02\n\x0b\n\x04\x08\xe7\x07\x02\x12\x03\x16\02\n\x0c\n\x05\x08\xe7\ + \x07\x02\x02\x12\x03\x16\x07\x1b\n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03\ + \x16\x07\x1b\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\x03\x16\x07\x1b\n\ + \x0c\n\x05\x08\xe7\x07\x02\x07\x12\x03\x16\x1e1\n\x08\n\x01\x08\x12\x03\ + \x17\0'\n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x17\0'\n\x0c\n\x05\x08\xe7\ + \x07\x03\x02\x12\x03\x17\x07\x13\n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03\ + \x17\x07\x13\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\x03\x17\x07\x13\n\ + \x0c\n\x05\x08\xe7\x07\x03\x07\x12\x03\x17\x16&\n\x08\n\x01\x08\x12\x03\ + \x18\0!\n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x18\0!\n\x0c\n\x05\x08\xe7\ + \x07\x04\x02\x12\x03\x18\x07\x18\n\r\n\x06\x08\xe7\x07\x04\x02\0\x12\x03\ + \x18\x07\x18\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\x03\x18\x07\x18\n\ + \x0c\n\x05\x08\xe7\x07\x04\x07\x12\x03\x18\x1b\x20\n\x8b\x05\n\x02\x04\0\ + \x12\x04(\0+\x01\x1a\xfe\x04\x20Describes\x20when\x20the\x20clients\x20c\ + an\x20retry\x20a\x20failed\x20request.\x20Clients\x20could\x20ignore\n\ + \x20the\x20recommendation\x20here\x20or\x20retry\x20when\x20this\x20info\ + rmation\x20is\x20missing\x20from\x20error\n\x20responses.\n\n\x20It's\ + \x20always\x20recommended\x20that\x20clients\x20should\x20use\x20exponen\ + tial\x20backoff\x20when\n\x20retrying.\n\n\x20Clients\x20should\x20wait\ + \x20until\x20`retry_delay`\x20amount\x20of\x20time\x20has\x20passed\x20s\ + ince\n\x20receiving\x20the\x20error\x20response\x20before\x20retrying.\ + \x20\x20If\x20retrying\x20requests\x20also\n\x20fail,\x20clients\x20shou\ + ld\x20use\x20an\x20exponential\x20backoff\x20scheme\x20to\x20gradually\ + \x20increase\n\x20the\x20delay\x20between\x20retries\x20based\x20on\x20`\ + retry_delay`,\x20until\x20either\x20a\x20maximum\n\x20number\x20of\x20re\ + tires\x20have\x20been\x20reached\x20or\x20a\x20maximum\x20retry\x20delay\ + \x20cap\x20has\x20been\n\x20reached.\n\n\n\n\x03\x04\0\x01\x12\x03(\x08\ + \x11\nX\n\x04\x04\0\x02\0\x12\x03*\x02+\x1aK\x20Clients\x20should\x20wai\ + t\x20at\x20least\x20this\x20long\x20between\x20retrying\x20the\x20same\ + \x20request.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04*\x02(\x13\n\x0c\n\x05\ + \x04\0\x02\0\x06\x12\x03*\x02\x1a\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03*\ + \x1b&\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03*)*\n2\n\x02\x04\x01\x12\x04.\0\ + 4\x01\x1a&\x20Describes\x20additional\x20debugging\x20info.\n\n\n\n\x03\ + \x04\x01\x01\x12\x03.\x08\x11\nK\n\x04\x04\x01\x02\0\x12\x030\x02$\x1a>\ + \x20The\x20stack\x20trace\x20entries\x20indicating\x20where\x20the\x20er\ + ror\x20occurred.\n\n\x0c\n\x05\x04\x01\x02\0\x04\x12\x030\x02\n\n\x0c\n\ + \x05\x04\x01\x02\0\x05\x12\x030\x0b\x11\n\x0c\n\x05\x04\x01\x02\0\x01\ + \x12\x030\x12\x1f\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x030\"#\nG\n\x04\x04\ + \x01\x02\x01\x12\x033\x02\x14\x1a:\x20Additional\x20debugging\x20informa\ + tion\x20provided\x20by\x20the\x20server.\n\n\r\n\x05\x04\x01\x02\x01\x04\ + \x12\x043\x020$\n\x0c\n\x05\x04\x01\x02\x01\x05\x12\x033\x02\x08\n\x0c\n\ + \x05\x04\x01\x02\x01\x01\x12\x033\t\x0f\n\x0c\n\x05\x04\x01\x02\x01\x03\ + \x12\x033\x12\x13\n\xfe\x03\n\x02\x04\x02\x12\x04A\0V\x01\x1a\xf1\x03\ + \x20Describes\x20how\x20a\x20quota\x20check\x20failed.\n\n\x20For\x20exa\ + mple\x20if\x20a\x20daily\x20limit\x20was\x20exceeded\x20for\x20the\x20ca\ + lling\x20project,\n\x20a\x20service\x20could\x20respond\x20with\x20a\x20\ + QuotaFailure\x20detail\x20containing\x20the\x20project\n\x20id\x20and\ + \x20the\x20description\x20of\x20the\x20quota\x20limit\x20that\x20was\x20\ + exceeded.\x20\x20If\x20the\n\x20calling\x20project\x20hasn't\x20enabled\ + \x20the\x20service\x20in\x20the\x20developer\x20console,\x20then\n\x20a\ + \x20service\x20could\x20respond\x20with\x20the\x20project\x20id\x20and\ + \x20set\x20`service_disabled`\n\x20to\x20true.\n\n\x20Also\x20see\x20Ret\ + ryDetail\x20and\x20Help\x20types\x20for\x20other\x20details\x20about\x20\ + handling\x20a\n\x20quota\x20failure.\n\n\n\n\x03\x04\x02\x01\x12\x03A\ + \x08\x14\n\x8b\x01\n\x04\x04\x02\x03\0\x12\x04D\x02R\x03\x1a}\x20A\x20me\ + ssage\x20type\x20used\x20to\x20describe\x20a\x20single\x20quota\x20viola\ + tion.\x20\x20For\x20example,\x20a\n\x20daily\x20quota\x20or\x20a\x20cust\ + om\x20quota\x20that\x20was\x20exceeded.\n\n\x0c\n\x05\x04\x02\x03\0\x01\ + \x12\x03D\n\x13\n\x9b\x01\n\x06\x04\x02\x03\0\x02\0\x12\x03H\x04\x17\x1a\ + \x8b\x01\x20The\x20subject\x20on\x20which\x20the\x20quota\x20check\x20fa\ + iled.\n\x20For\x20example,\x20\"clientip:\ + \"\x20or\x20\"project:\".\n\n\ + \x0f\n\x07\x04\x02\x03\0\x02\0\x04\x12\x04H\x04D\x15\n\x0e\n\x07\x04\x02\ + \x03\0\x02\0\x05\x12\x03H\x04\n\n\x0e\n\x07\x04\x02\x03\0\x02\0\x01\x12\ + \x03H\x0b\x12\n\x0e\n\x07\x04\x02\x03\0\x02\0\x03\x12\x03H\x15\x16\n\xcc\ + \x02\n\x06\x04\x02\x03\0\x02\x01\x12\x03Q\x04\x1b\x1a\xbc\x02\x20A\x20de\ + scription\x20of\x20how\x20the\x20quota\x20check\x20failed.\x20Clients\ + \x20can\x20use\x20this\n\x20description\x20to\x20find\x20more\x20about\ + \x20the\x20quota\x20configuration\x20in\x20the\x20service's\n\x20public\ + \x20documentation,\x20or\x20find\x20the\x20relevant\x20quota\x20limit\ + \x20to\x20adjust\x20through\n\x20developer\x20console.\n\n\x20For\x20exa\ + mple:\x20\"Service\x20disabled\"\x20or\x20\"Daily\x20Limit\x20for\x20rea\ + d\x20operations\n\x20exceeded\".\n\n\x0f\n\x07\x04\x02\x03\0\x02\x01\x04\ + \x12\x04Q\x04H\x17\n\x0e\n\x07\x04\x02\x03\0\x02\x01\x05\x12\x03Q\x04\n\ + \n\x0e\n\x07\x04\x02\x03\0\x02\x01\x01\x12\x03Q\x0b\x16\n\x0e\n\x07\x04\ + \x02\x03\0\x02\x01\x03\x12\x03Q\x19\x1a\n.\n\x04\x04\x02\x02\0\x12\x03U\ + \x02$\x1a!\x20Describes\x20all\x20quota\x20violations.\n\n\x0c\n\x05\x04\ + \x02\x02\0\x04\x12\x03U\x02\n\n\x0c\n\x05\x04\x02\x02\0\x06\x12\x03U\x0b\ + \x14\n\x0c\n\x05\x04\x02\x02\0\x01\x12\x03U\x15\x1f\n\x0c\n\x05\x04\x02\ + \x02\0\x03\x12\x03U\"#\n\xe8\x01\n\x02\x04\x03\x12\x04]\0s\x01\x1a\xdb\ + \x01\x20Describes\x20what\x20preconditions\x20have\x20failed.\n\n\x20For\ + \x20example,\x20if\x20an\x20RPC\x20failed\x20because\x20it\x20required\ + \x20the\x20Terms\x20of\x20Service\x20to\x20be\n\x20acknowledged,\x20it\ + \x20could\x20list\x20the\x20terms\x20of\x20service\x20violation\x20in\ + \x20the\n\x20PreconditionFailure\x20message.\n\n\n\n\x03\x04\x03\x01\x12\ + \x03]\x08\x1b\nN\n\x04\x04\x03\x03\0\x12\x04_\x02o\x03\x1a@\x20A\x20mess\ + age\x20type\x20used\x20to\x20describe\x20a\x20single\x20precondition\x20\ + failure.\n\n\x0c\n\x05\x04\x03\x03\0\x01\x12\x03_\n\x13\n\xcf\x01\n\x06\ + \x04\x03\x03\0\x02\0\x12\x03c\x04\x14\x1a\xbf\x01\x20The\x20type\x20of\ + \x20PreconditionFailure.\x20We\x20recommend\x20using\x20a\x20service-spe\ + cific\n\x20enum\x20type\x20to\x20define\x20the\x20supported\x20precondit\ + ion\x20violation\x20types.\x20For\n\x20example,\x20\"TOS\"\x20for\x20\"T\ + erms\x20of\x20Service\x20violation\".\n\n\x0f\n\x07\x04\x03\x03\0\x02\0\ + \x04\x12\x04c\x04_\x15\n\x0e\n\x07\x04\x03\x03\0\x02\0\x05\x12\x03c\x04\ + \n\n\x0e\n\x07\x04\x03\x03\0\x02\0\x01\x12\x03c\x0b\x0f\n\x0e\n\x07\x04\ + \x03\x03\0\x02\0\x03\x12\x03c\x12\x13\n\xb9\x01\n\x06\x04\x03\x03\0\x02\ + \x01\x12\x03h\x04\x17\x1a\xa9\x01\x20The\x20subject,\x20relative\x20to\ + \x20the\x20type,\x20that\x20failed.\n\x20For\x20example,\x20\"google.com\ + /cloud\"\x20relative\x20to\x20the\x20\"TOS\"\x20type\x20would\n\x20indic\ + ate\x20which\x20terms\x20of\x20service\x20is\x20being\x20referenced.\n\n\ + \x0f\n\x07\x04\x03\x03\0\x02\x01\x04\x12\x04h\x04c\x14\n\x0e\n\x07\x04\ + \x03\x03\0\x02\x01\x05\x12\x03h\x04\n\n\x0e\n\x07\x04\x03\x03\0\x02\x01\ + \x01\x12\x03h\x0b\x12\n\x0e\n\x07\x04\x03\x03\0\x02\x01\x03\x12\x03h\x15\ + \x16\n\xba\x01\n\x06\x04\x03\x03\0\x02\x02\x12\x03n\x04\x1b\x1a\xaa\x01\ + \x20A\x20description\x20of\x20how\x20the\x20precondition\x20failed.\x20D\ + evelopers\x20can\x20use\x20this\n\x20description\x20to\x20understand\x20\ + how\x20to\x20fix\x20the\x20failure.\n\n\x20For\x20example:\x20\"Terms\ + \x20of\x20service\x20not\x20accepted\".\n\n\x0f\n\x07\x04\x03\x03\0\x02\ + \x02\x04\x12\x04n\x04h\x17\n\x0e\n\x07\x04\x03\x03\0\x02\x02\x05\x12\x03\ + n\x04\n\n\x0e\n\x07\x04\x03\x03\0\x02\x02\x01\x12\x03n\x0b\x16\n\x0e\n\ + \x07\x04\x03\x03\0\x02\x02\x03\x12\x03n\x19\x1a\n5\n\x04\x04\x03\x02\0\ + \x12\x03r\x02$\x1a(\x20Describes\x20all\x20precondition\x20violations.\n\ + \n\x0c\n\x05\x04\x03\x02\0\x04\x12\x03r\x02\n\n\x0c\n\x05\x04\x03\x02\0\ + \x06\x12\x03r\x0b\x14\n\x0c\n\x05\x04\x03\x02\0\x01\x12\x03r\x15\x1f\n\ + \x0c\n\x05\x04\x03\x02\0\x03\x12\x03r\"#\nz\n\x02\x04\x04\x12\x05w\0\x85\ + \x01\x01\x1am\x20Describes\x20violations\x20in\x20a\x20client\x20request\ + .\x20This\x20error\x20type\x20focuses\x20on\x20the\n\x20syntactic\x20asp\ + ects\x20of\x20the\x20request.\n\n\n\n\x03\x04\x04\x01\x12\x03w\x08\x12\n\ + L\n\x04\x04\x04\x03\0\x12\x05y\x02\x81\x01\x03\x1a=\x20A\x20message\x20t\ + ype\x20used\x20to\x20describe\x20a\x20single\x20bad\x20request\x20field.\ + \n\n\x0c\n\x05\x04\x04\x03\0\x01\x12\x03y\n\x18\n\xdd\x01\n\x06\x04\x04\ + \x03\0\x02\0\x12\x03}\x04\x15\x1a\xcd\x01\x20A\x20path\x20leading\x20to\ + \x20a\x20field\x20in\x20the\x20request\x20body.\x20The\x20value\x20will\ + \x20be\x20a\n\x20sequence\x20of\x20dot-separated\x20identifiers\x20that\ + \x20identify\x20a\x20protocol\x20buffer\n\x20field.\x20E.g.,\x20\"field_\ + violations.field\"\x20would\x20identify\x20this\x20field.\n\n\x0f\n\x07\ + \x04\x04\x03\0\x02\0\x04\x12\x04}\x04y\x1a\n\x0e\n\x07\x04\x04\x03\0\x02\ + \0\x05\x12\x03}\x04\n\n\x0e\n\x07\x04\x04\x03\0\x02\0\x01\x12\x03}\x0b\ + \x10\n\x0e\n\x07\x04\x04\x03\0\x02\0\x03\x12\x03}\x13\x14\nB\n\x06\x04\ + \x04\x03\0\x02\x01\x12\x04\x80\x01\x04\x1b\x1a2\x20A\x20description\x20o\ + f\x20why\x20the\x20request\x20element\x20is\x20bad.\n\n\x10\n\x07\x04\ + \x04\x03\0\x02\x01\x04\x12\x05\x80\x01\x04}\x15\n\x0f\n\x07\x04\x04\x03\ + \0\x02\x01\x05\x12\x04\x80\x01\x04\n\n\x0f\n\x07\x04\x04\x03\0\x02\x01\ + \x01\x12\x04\x80\x01\x0b\x16\n\x0f\n\x07\x04\x04\x03\0\x02\x01\x03\x12\ + \x04\x80\x01\x19\x1a\n=\n\x04\x04\x04\x02\0\x12\x04\x84\x01\x02/\x1a/\ + \x20Describes\x20all\x20violations\x20in\x20a\x20client\x20request.\n\n\ + \r\n\x05\x04\x04\x02\0\x04\x12\x04\x84\x01\x02\n\n\r\n\x05\x04\x04\x02\0\ + \x06\x12\x04\x84\x01\x0b\x19\n\r\n\x05\x04\x04\x02\0\x01\x12\x04\x84\x01\ + \x1a*\n\r\n\x05\x04\x04\x02\0\x03\x12\x04\x84\x01-.\n\x84\x01\n\x02\x04\ + \x05\x12\x06\x89\x01\0\x91\x01\x01\x1av\x20Contains\x20metadata\x20about\ + \x20the\x20request\x20that\x20clients\x20can\x20attach\x20when\x20filing\ + \x20a\x20bug\n\x20or\x20providing\x20other\x20forms\x20of\x20feedback.\n\ + \n\x0b\n\x03\x04\x05\x01\x12\x04\x89\x01\x08\x13\n\xa8\x01\n\x04\x04\x05\ + \x02\0\x12\x04\x8c\x01\x02\x18\x1a\x99\x01\x20An\x20opaque\x20string\x20\ + that\x20should\x20only\x20be\x20interpreted\x20by\x20the\x20service\x20g\ + enerating\n\x20it.\x20For\x20example,\x20it\x20can\x20be\x20used\x20to\ + \x20identify\x20requests\x20in\x20the\x20service's\x20logs.\n\n\x0f\n\ + \x05\x04\x05\x02\0\x04\x12\x06\x8c\x01\x02\x89\x01\x15\n\r\n\x05\x04\x05\ + \x02\0\x05\x12\x04\x8c\x01\x02\x08\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\ + \x8c\x01\t\x13\n\r\n\x05\x04\x05\x02\0\x03\x12\x04\x8c\x01\x16\x17\n\xa2\ + \x01\n\x04\x04\x05\x02\x01\x12\x04\x90\x01\x02\x1a\x1a\x93\x01\x20Any\ + \x20data\x20that\x20was\x20used\x20to\x20serve\x20this\x20request.\x20Fo\ + r\x20example,\x20an\x20encrypted\n\x20stack\x20trace\x20that\x20can\x20b\ + e\x20sent\x20back\x20to\x20the\x20service\x20provider\x20for\x20debuggin\ + g.\n\n\x0f\n\x05\x04\x05\x02\x01\x04\x12\x06\x90\x01\x02\x8c\x01\x18\n\r\ + \n\x05\x04\x05\x02\x01\x05\x12\x04\x90\x01\x02\x08\n\r\n\x05\x04\x05\x02\ + \x01\x01\x12\x04\x90\x01\t\x15\n\r\n\x05\x04\x05\x02\x01\x03\x12\x04\x90\ + \x01\x18\x19\n>\n\x02\x04\x06\x12\x06\x94\x01\0\xa8\x01\x01\x1a0\x20Desc\ + ribes\x20the\x20resource\x20that\x20is\x20being\x20accessed.\n\n\x0b\n\ + \x03\x04\x06\x01\x12\x04\x94\x01\x08\x14\n\xdb\x01\n\x04\x04\x06\x02\0\ + \x12\x04\x98\x01\x02\x1b\x1a\xcc\x01\x20A\x20name\x20for\x20the\x20type\ + \x20of\x20resource\x20being\x20accessed,\x20e.g.\x20\"sql\x20table\",\n\ + \x20\"cloud\x20storage\x20bucket\",\x20\"file\",\x20\"Google\x20calendar\ + \";\x20or\x20the\x20type\x20URL\n\x20of\x20the\x20resource:\x20e.g.\x20\ + \"type.googleapis.com/google.pubsub.v1.Topic\".\n\n\x0f\n\x05\x04\x06\ + \x02\0\x04\x12\x06\x98\x01\x02\x94\x01\x16\n\r\n\x05\x04\x06\x02\0\x05\ + \x12\x04\x98\x01\x02\x08\n\r\n\x05\x04\x06\x02\0\x01\x12\x04\x98\x01\t\ + \x16\n\r\n\x05\x04\x06\x02\0\x03\x12\x04\x98\x01\x19\x1a\n\xf6\x01\n\x04\ + \x04\x06\x02\x01\x12\x04\x9d\x01\x02\x1b\x1a\xe7\x01\x20The\x20name\x20o\ + f\x20the\x20resource\x20being\x20accessed.\x20\x20For\x20example,\x20a\ + \x20shared\x20calendar\n\x20name:\x20\"example.com_4fghdhgsrgh@group.cal\ + endar.google.com\",\x20if\x20the\x20current\n\x20error\x20is\x20[google.\ + rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].\n\n\x0f\ + \n\x05\x04\x06\x02\x01\x04\x12\x06\x9d\x01\x02\x98\x01\x1b\n\r\n\x05\x04\ + \x06\x02\x01\x05\x12\x04\x9d\x01\x02\x08\n\r\n\x05\x04\x06\x02\x01\x01\ + \x12\x04\x9d\x01\t\x16\n\r\n\x05\x04\x06\x02\x01\x03\x12\x04\x9d\x01\x19\ + \x1a\n\x85\x01\n\x04\x04\x06\x02\x02\x12\x04\xa2\x01\x02\x13\x1aw\x20The\ + \x20owner\x20of\x20the\x20resource\x20(optional).\n\x20For\x20example,\ + \x20\"user:\"\x20or\x20\"project:\".\n\n\x0f\n\x05\x04\x06\x02\x02\x04\x12\x06\xa2\ + \x01\x02\x9d\x01\x1b\n\r\n\x05\x04\x06\x02\x02\x05\x12\x04\xa2\x01\x02\ + \x08\n\r\n\x05\x04\x06\x02\x02\x01\x12\x04\xa2\x01\t\x0e\n\r\n\x05\x04\ + \x06\x02\x02\x03\x12\x04\xa2\x01\x11\x12\n\xc0\x01\n\x04\x04\x06\x02\x03\ + \x12\x04\xa7\x01\x02\x19\x1a\xb1\x01\x20Describes\x20what\x20error\x20is\ + \x20encountered\x20when\x20accessing\x20this\x20resource.\n\x20For\x20ex\ + ample,\x20updating\x20a\x20cloud\x20project\x20may\x20require\x20the\x20\ + `writer`\x20permission\n\x20on\x20the\x20developer\x20console\x20project\ + .\n\n\x0f\n\x05\x04\x06\x02\x03\x04\x12\x06\xa7\x01\x02\xa2\x01\x13\n\r\ + \n\x05\x04\x06\x02\x03\x05\x12\x04\xa7\x01\x02\x08\n\r\n\x05\x04\x06\x02\ + \x03\x01\x12\x04\xa7\x01\t\x14\n\r\n\x05\x04\x06\x02\x03\x03\x12\x04\xa7\ + \x01\x17\x18\n\xba\x02\n\x02\x04\x07\x12\x06\xaf\x01\0\xbb\x01\x01\x1a\ + \xab\x02\x20Provides\x20links\x20to\x20documentation\x20or\x20for\x20per\ + forming\x20an\x20out\x20of\x20band\x20action.\n\n\x20For\x20example,\x20\ + if\x20a\x20quota\x20check\x20failed\x20with\x20an\x20error\x20indicating\ + \x20the\x20calling\n\x20project\x20hasn't\x20enabled\x20the\x20accessed\ + \x20service,\x20this\x20can\x20contain\x20a\x20URL\x20pointing\n\x20dire\ + ctly\x20to\x20the\x20right\x20place\x20in\x20the\x20developer\x20console\ + \x20to\x20flip\x20the\x20bit.\n\n\x0b\n\x03\x04\x07\x01\x12\x04\xaf\x01\ + \x08\x0c\n'\n\x04\x04\x07\x03\0\x12\x06\xb1\x01\x02\xb7\x01\x03\x1a\x17\ + \x20Describes\x20a\x20URL\x20link.\n\n\r\n\x05\x04\x07\x03\0\x01\x12\x04\ + \xb1\x01\n\x0e\n1\n\x06\x04\x07\x03\0\x02\0\x12\x04\xb3\x01\x04\x1b\x1a!\ + \x20Describes\x20what\x20the\x20link\x20offers.\n\n\x11\n\x07\x04\x07\ + \x03\0\x02\0\x04\x12\x06\xb3\x01\x04\xb1\x01\x10\n\x0f\n\x07\x04\x07\x03\ + \0\x02\0\x05\x12\x04\xb3\x01\x04\n\n\x0f\n\x07\x04\x07\x03\0\x02\0\x01\ + \x12\x04\xb3\x01\x0b\x16\n\x0f\n\x07\x04\x07\x03\0\x02\0\x03\x12\x04\xb3\ + \x01\x19\x1a\n&\n\x06\x04\x07\x03\0\x02\x01\x12\x04\xb6\x01\x04\x13\x1a\ + \x16\x20The\x20URL\x20of\x20the\x20link.\n\n\x11\n\x07\x04\x07\x03\0\x02\ + \x01\x04\x12\x06\xb6\x01\x04\xb3\x01\x1b\n\x0f\n\x07\x04\x07\x03\0\x02\ + \x01\x05\x12\x04\xb6\x01\x04\n\n\x0f\n\x07\x04\x07\x03\0\x02\x01\x01\x12\ + \x04\xb6\x01\x0b\x0e\n\x0f\n\x07\x04\x07\x03\0\x02\x01\x03\x12\x04\xb6\ + \x01\x11\x12\nX\n\x04\x04\x07\x02\0\x12\x04\xba\x01\x02\x1a\x1aJ\x20URL(\ + s)\x20pointing\x20to\x20additional\x20information\x20on\x20handling\x20t\ + he\x20current\x20error.\n\n\r\n\x05\x04\x07\x02\0\x04\x12\x04\xba\x01\ + \x02\n\n\r\n\x05\x04\x07\x02\0\x06\x12\x04\xba\x01\x0b\x0f\n\r\n\x05\x04\ + \x07\x02\0\x01\x12\x04\xba\x01\x10\x15\n\r\n\x05\x04\x07\x02\0\x03\x12\ + \x04\xba\x01\x18\x19\n}\n\x02\x04\x08\x12\x06\xbf\x01\0\xc7\x01\x01\x1ao\ + \x20Provides\x20a\x20localized\x20error\x20message\x20that\x20is\x20safe\ + \x20to\x20return\x20to\x20the\x20user\n\x20which\x20can\x20be\x20attache\ + d\x20to\x20an\x20RPC\x20error.\n\n\x0b\n\x03\x04\x08\x01\x12\x04\xbf\x01\ + \x08\x18\n\x9e\x01\n\x04\x04\x08\x02\0\x12\x04\xc3\x01\x02\x14\x1a\x8f\ + \x01\x20The\x20locale\x20used\x20following\x20the\x20specification\x20de\ + fined\x20at\n\x20http://www.rfc-editor.org/rfc/bcp/bcp47.txt.\n\x20Examp\ + les\x20are:\x20\"en-US\",\x20\"fr-CH\",\x20\"es-MX\"\n\n\x0f\n\x05\x04\ + \x08\x02\0\x04\x12\x06\xc3\x01\x02\xbf\x01\x1a\n\r\n\x05\x04\x08\x02\0\ + \x05\x12\x04\xc3\x01\x02\x08\n\r\n\x05\x04\x08\x02\0\x01\x12\x04\xc3\x01\ + \t\x0f\n\r\n\x05\x04\x08\x02\0\x03\x12\x04\xc3\x01\x12\x13\n@\n\x04\x04\ + \x08\x02\x01\x12\x04\xc6\x01\x02\x15\x1a2\x20The\x20localized\x20error\ + \x20message\x20in\x20the\x20above\x20locale.\n\n\x0f\n\x05\x04\x08\x02\ + \x01\x04\x12\x06\xc6\x01\x02\xc3\x01\x14\n\r\n\x05\x04\x08\x02\x01\x05\ + \x12\x04\xc6\x01\x02\x08\n\r\n\x05\x04\x08\x02\x01\x01\x12\x04\xc6\x01\t\ + \x10\n\r\n\x05\x04\x08\x02\x01\x03\x12\x04\xc6\x01\x13\x14b\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/status.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/status.rs index 1745d7d256..f9a3d67151 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/status.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/status.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct Status { @@ -125,7 +125,7 @@ impl ::protobuf::Message for Status { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -169,7 +169,7 @@ impl ::protobuf::Message for Status { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if self.code != 0 { os.write_int32(1, self.code)?; } @@ -197,13 +197,13 @@ impl ::protobuf::Message for Status { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -216,10 +216,7 @@ impl ::protobuf::Message for Status { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -248,10 +245,7 @@ impl ::protobuf::Message for Status { } fn default_instance() -> &'static Status { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Status, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Status::new) } @@ -268,14 +262,14 @@ impl ::protobuf::Clear for Status { } impl ::std::fmt::Debug for Status { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Status { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -285,7 +279,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x12\x18\n\x07message\x18\x02\x20\x01(\tR\x07message\x12.\n\x07details\ \x18\x03\x20\x03(\x0b2\x14.google.protobuf.AnyR\x07detailsB^\n\x0ecom.go\ ogle.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc\ - /status;status\xa2\x02\x03RPCJ\x9b\x1e\n\x06\x12\x04\x0e\0[\x01\n\xbd\ + /status;status\xa2\x02\x03RPCJ\xcc\x20\n\x06\x12\x04\x0e\0[\x01\n\xbd\ \x04\n\x01\x0c\x12\x03\x0e\0\x122\xb2\x04\x20Copyright\x202017\x20Google\ \x20Inc.\n\n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Versio\ n\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\ @@ -298,91 +292,104 @@ static file_descriptor_proto_data: &'static [u8] = b"\ RRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\ \x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\ \x20language\x20governing\x20permissions\x20and\n\x20limitations\x20unde\ - r\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0\x13\n\t\n\x02\x03\0\ - \x12\x03\x12\0#\n\x08\n\x01\x08\x12\x03\x14\0N\n\t\n\x02\x08\x0b\x12\x03\ - \x14\0N\n\x08\n\x01\x08\x12\x03\x15\0\"\n\t\n\x02\x08\n\x12\x03\x15\0\"\ - \n\x08\n\x01\x08\x12\x03\x16\0,\n\t\n\x02\x08\x08\x12\x03\x16\0,\n\x08\n\ - \x01\x08\x12\x03\x17\0'\n\t\n\x02\x08\x01\x12\x03\x17\0'\n\x08\n\x01\x08\ - \x12\x03\x18\0!\n\t\n\x02\x08$\x12\x03\x18\0!\n\xcd\x13\n\x02\x04\0\x12\ - \x04O\0[\x01\x1a\xc0\x13\x20The\x20`Status`\x20type\x20defines\x20a\x20l\ - ogical\x20error\x20model\x20that\x20is\x20suitable\x20for\x20different\n\ - \x20programming\x20environments,\x20including\x20REST\x20APIs\x20and\x20\ - RPC\x20APIs.\x20It\x20is\x20used\x20by\n\x20[gRPC](https://github.com/gr\ - pc).\x20The\x20error\x20model\x20is\x20designed\x20to\x20be:\n\n\x20-\ - \x20Simple\x20to\x20use\x20and\x20understand\x20for\x20most\x20users\n\ - \x20-\x20Flexible\x20enough\x20to\x20meet\x20unexpected\x20needs\n\n\x20\ - #\x20Overview\n\n\x20The\x20`Status`\x20message\x20contains\x20three\x20\ - pieces\x20of\x20data:\x20error\x20code,\x20error\x20message,\n\x20and\ - \x20error\x20details.\x20The\x20error\x20code\x20should\x20be\x20an\x20e\ - num\x20value\x20of\n\x20[google.rpc.Code][google.rpc.Code],\x20but\x20it\ - \x20may\x20accept\x20additional\x20error\x20codes\x20if\x20needed.\x20\ - \x20The\n\x20error\x20message\x20should\x20be\x20a\x20developer-facing\ - \x20English\x20message\x20that\x20helps\n\x20developers\x20*understand*\ - \x20and\x20*resolve*\x20the\x20error.\x20If\x20a\x20localized\x20user-fa\ - cing\n\x20error\x20message\x20is\x20needed,\x20put\x20the\x20localized\ - \x20message\x20in\x20the\x20error\x20details\x20or\n\x20localize\x20it\ - \x20in\x20the\x20client.\x20The\x20optional\x20error\x20details\x20may\ - \x20contain\x20arbitrary\n\x20information\x20about\x20the\x20error.\x20T\ - here\x20is\x20a\x20predefined\x20set\x20of\x20error\x20detail\x20types\n\ - \x20in\x20the\x20package\x20`google.rpc`\x20that\x20can\x20be\x20used\ - \x20for\x20common\x20error\x20conditions.\n\n\x20#\x20Language\x20mappin\ - g\n\n\x20The\x20`Status`\x20message\x20is\x20the\x20logical\x20represent\ - ation\x20of\x20the\x20error\x20model,\x20but\x20it\n\x20is\x20not\x20nec\ - essarily\x20the\x20actual\x20wire\x20format.\x20When\x20the\x20`Status`\ - \x20message\x20is\n\x20exposed\x20in\x20different\x20client\x20libraries\ - \x20and\x20different\x20wire\x20protocols,\x20it\x20can\x20be\n\x20mappe\ - d\x20differently.\x20For\x20example,\x20it\x20will\x20likely\x20be\x20ma\ - pped\x20to\x20some\x20exceptions\n\x20in\x20Java,\x20but\x20more\x20like\ - ly\x20mapped\x20to\x20some\x20error\x20codes\x20in\x20C.\n\n\x20#\x20Oth\ - er\x20uses\n\n\x20The\x20error\x20model\x20and\x20the\x20`Status`\x20mes\ - sage\x20can\x20be\x20used\x20in\x20a\x20variety\x20of\n\x20environments,\ - \x20either\x20with\x20or\x20without\x20APIs,\x20to\x20provide\x20a\n\x20\ - consistent\x20developer\x20experience\x20across\x20different\x20environm\ - ents.\n\n\x20Example\x20uses\x20of\x20this\x20error\x20model\x20include:\ - \n\n\x20-\x20Partial\x20errors.\x20If\x20a\x20service\x20needs\x20to\x20\ - return\x20partial\x20errors\x20to\x20the\x20client,\n\x20\x20\x20\x20\ - \x20it\x20may\x20embed\x20the\x20`Status`\x20in\x20the\x20normal\x20resp\ - onse\x20to\x20indicate\x20the\x20partial\n\x20\x20\x20\x20\x20errors.\n\ - \n\x20-\x20Workflow\x20errors.\x20A\x20typical\x20workflow\x20has\x20mul\ - tiple\x20steps.\x20Each\x20step\x20may\n\x20\x20\x20\x20\x20have\x20a\ - \x20`Status`\x20message\x20for\x20error\x20reporting.\n\n\x20-\x20Batch\ - \x20operations.\x20If\x20a\x20client\x20uses\x20batch\x20request\x20and\ - \x20batch\x20response,\x20the\n\x20\x20\x20\x20\x20`Status`\x20message\ - \x20should\x20be\x20used\x20directly\x20inside\x20batch\x20response,\x20\ - one\x20for\n\x20\x20\x20\x20\x20each\x20error\x20sub-response.\n\n\x20-\ - \x20Asynchronous\x20operations.\x20If\x20an\x20API\x20call\x20embeds\x20\ - asynchronous\x20operation\n\x20\x20\x20\x20\x20results\x20in\x20its\x20r\ - esponse,\x20the\x20status\x20of\x20those\x20operations\x20should\x20be\n\ - \x20\x20\x20\x20\x20represented\x20directly\x20using\x20the\x20`Status`\ - \x20message.\n\n\x20-\x20Logging.\x20If\x20some\x20API\x20errors\x20are\ - \x20stored\x20in\x20logs,\x20the\x20message\x20`Status`\x20could\n\x20\ - \x20\x20\x20\x20be\x20used\x20directly\x20after\x20any\x20stripping\x20n\ - eeded\x20for\x20security/privacy\x20reasons.\n\n\n\n\x03\x04\0\x01\x12\ - \x03O\x08\x0e\nd\n\x04\x04\0\x02\0\x12\x03Q\x02\x11\x1aW\x20The\x20statu\ - s\x20code,\x20which\x20should\x20be\x20an\x20enum\x20value\x20of\x20[goo\ - gle.rpc.Code][google.rpc.Code].\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04Q\x02\ - O\x10\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03Q\x02\x07\n\x0c\n\x05\x04\0\x02\ - \0\x01\x12\x03Q\x08\x0c\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03Q\x0f\x10\n\ - \xeb\x01\n\x04\x04\0\x02\x01\x12\x03V\x02\x15\x1a\xdd\x01\x20A\x20develo\ - per-facing\x20error\x20message,\x20which\x20should\x20be\x20in\x20Englis\ - h.\x20Any\n\x20user-facing\x20error\x20message\x20should\x20be\x20locali\ - zed\x20and\x20sent\x20in\x20the\n\x20[google.rpc.Status.details][google.\ - rpc.Status.details]\x20field,\x20or\x20localized\x20by\x20the\x20client.\ - \n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04V\x02Q\x11\n\x0c\n\x05\x04\0\x02\ - \x01\x05\x12\x03V\x02\x08\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03V\t\x10\n\ - \x0c\n\x05\x04\0\x02\x01\x03\x12\x03V\x13\x14\ny\n\x04\x04\0\x02\x02\x12\ - \x03Z\x02+\x1al\x20A\x20list\x20of\x20messages\x20that\x20carry\x20the\ - \x20error\x20details.\x20\x20There\x20is\x20a\x20common\x20set\x20of\n\ - \x20message\x20types\x20for\x20APIs\x20to\x20use.\n\n\x0c\n\x05\x04\0\ - \x02\x02\x04\x12\x03Z\x02\n\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x03Z\x0b\ - \x1e\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03Z\x1f&\n\x0c\n\x05\x04\0\x02\ - \x02\x03\x12\x03Z)*b\x06proto3\ + r\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\x08\x12\n\t\n\x02\x03\ + \0\x12\x03\x12\x07\"\n\x08\n\x01\x08\x12\x03\x14\0N\n\x0b\n\x04\x08\xe7\ + \x07\0\x12\x03\x14\0N\n\x0c\n\x05\x08\xe7\x07\0\x02\x12\x03\x14\x07\x11\ + \n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\x14\x07\x11\n\x0e\n\x07\x08\xe7\ + \x07\0\x02\0\x01\x12\x03\x14\x07\x11\n\x0c\n\x05\x08\xe7\x07\0\x07\x12\ + \x03\x14\x14M\n\x08\n\x01\x08\x12\x03\x15\0\"\n\x0b\n\x04\x08\xe7\x07\ + \x01\x12\x03\x15\0\"\n\x0c\n\x05\x08\xe7\x07\x01\x02\x12\x03\x15\x07\x1a\ + \n\r\n\x06\x08\xe7\x07\x01\x02\0\x12\x03\x15\x07\x1a\n\x0e\n\x07\x08\xe7\ + \x07\x01\x02\0\x01\x12\x03\x15\x07\x1a\n\x0c\n\x05\x08\xe7\x07\x01\x03\ + \x12\x03\x15\x1d!\n\x08\n\x01\x08\x12\x03\x16\0,\n\x0b\n\x04\x08\xe7\x07\ + \x02\x12\x03\x16\0,\n\x0c\n\x05\x08\xe7\x07\x02\x02\x12\x03\x16\x07\x1b\ + \n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03\x16\x07\x1b\n\x0e\n\x07\x08\xe7\ + \x07\x02\x02\0\x01\x12\x03\x16\x07\x1b\n\x0c\n\x05\x08\xe7\x07\x02\x07\ + \x12\x03\x16\x1e+\n\x08\n\x01\x08\x12\x03\x17\0'\n\x0b\n\x04\x08\xe7\x07\ + \x03\x12\x03\x17\0'\n\x0c\n\x05\x08\xe7\x07\x03\x02\x12\x03\x17\x07\x13\ + \n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03\x17\x07\x13\n\x0e\n\x07\x08\xe7\ + \x07\x03\x02\0\x01\x12\x03\x17\x07\x13\n\x0c\n\x05\x08\xe7\x07\x03\x07\ + \x12\x03\x17\x16&\n\x08\n\x01\x08\x12\x03\x18\0!\n\x0b\n\x04\x08\xe7\x07\ + \x04\x12\x03\x18\0!\n\x0c\n\x05\x08\xe7\x07\x04\x02\x12\x03\x18\x07\x18\ + \n\r\n\x06\x08\xe7\x07\x04\x02\0\x12\x03\x18\x07\x18\n\x0e\n\x07\x08\xe7\ + \x07\x04\x02\0\x01\x12\x03\x18\x07\x18\n\x0c\n\x05\x08\xe7\x07\x04\x07\ + \x12\x03\x18\x1b\x20\n\xcd\x13\n\x02\x04\0\x12\x04O\0[\x01\x1a\xc0\x13\ + \x20The\x20`Status`\x20type\x20defines\x20a\x20logical\x20error\x20model\ + \x20that\x20is\x20suitable\x20for\x20different\n\x20programming\x20envir\ + onments,\x20including\x20REST\x20APIs\x20and\x20RPC\x20APIs.\x20It\x20is\ + \x20used\x20by\n\x20[gRPC](https://github.com/grpc).\x20The\x20error\x20\ + model\x20is\x20designed\x20to\x20be:\n\n\x20-\x20Simple\x20to\x20use\x20\ + and\x20understand\x20for\x20most\x20users\n\x20-\x20Flexible\x20enough\ + \x20to\x20meet\x20unexpected\x20needs\n\n\x20#\x20Overview\n\n\x20The\ + \x20`Status`\x20message\x20contains\x20three\x20pieces\x20of\x20data:\ + \x20error\x20code,\x20error\x20message,\n\x20and\x20error\x20details.\ + \x20The\x20error\x20code\x20should\x20be\x20an\x20enum\x20value\x20of\n\ + \x20[google.rpc.Code][google.rpc.Code],\x20but\x20it\x20may\x20accept\ + \x20additional\x20error\x20codes\x20if\x20needed.\x20\x20The\n\x20error\ + \x20message\x20should\x20be\x20a\x20developer-facing\x20English\x20messa\ + ge\x20that\x20helps\n\x20developers\x20*understand*\x20and\x20*resolve*\ + \x20the\x20error.\x20If\x20a\x20localized\x20user-facing\n\x20error\x20m\ + essage\x20is\x20needed,\x20put\x20the\x20localized\x20message\x20in\x20t\ + he\x20error\x20details\x20or\n\x20localize\x20it\x20in\x20the\x20client.\ + \x20The\x20optional\x20error\x20details\x20may\x20contain\x20arbitrary\n\ + \x20information\x20about\x20the\x20error.\x20There\x20is\x20a\x20predefi\ + ned\x20set\x20of\x20error\x20detail\x20types\n\x20in\x20the\x20package\ + \x20`google.rpc`\x20that\x20can\x20be\x20used\x20for\x20common\x20error\ + \x20conditions.\n\n\x20#\x20Language\x20mapping\n\n\x20The\x20`Status`\ + \x20message\x20is\x20the\x20logical\x20representation\x20of\x20the\x20er\ + ror\x20model,\x20but\x20it\n\x20is\x20not\x20necessarily\x20the\x20actua\ + l\x20wire\x20format.\x20When\x20the\x20`Status`\x20message\x20is\n\x20ex\ + posed\x20in\x20different\x20client\x20libraries\x20and\x20different\x20w\ + ire\x20protocols,\x20it\x20can\x20be\n\x20mapped\x20differently.\x20For\ + \x20example,\x20it\x20will\x20likely\x20be\x20mapped\x20to\x20some\x20ex\ + ceptions\n\x20in\x20Java,\x20but\x20more\x20likely\x20mapped\x20to\x20so\ + me\x20error\x20codes\x20in\x20C.\n\n\x20#\x20Other\x20uses\n\n\x20The\ + \x20error\x20model\x20and\x20the\x20`Status`\x20message\x20can\x20be\x20\ + used\x20in\x20a\x20variety\x20of\n\x20environments,\x20either\x20with\ + \x20or\x20without\x20APIs,\x20to\x20provide\x20a\n\x20consistent\x20deve\ + loper\x20experience\x20across\x20different\x20environments.\n\n\x20Examp\ + le\x20uses\x20of\x20this\x20error\x20model\x20include:\n\n\x20-\x20Parti\ + al\x20errors.\x20If\x20a\x20service\x20needs\x20to\x20return\x20partial\ + \x20errors\x20to\x20the\x20client,\n\x20\x20\x20\x20\x20it\x20may\x20emb\ + ed\x20the\x20`Status`\x20in\x20the\x20normal\x20response\x20to\x20indica\ + te\x20the\x20partial\n\x20\x20\x20\x20\x20errors.\n\n\x20-\x20Workflow\ + \x20errors.\x20A\x20typical\x20workflow\x20has\x20multiple\x20steps.\x20\ + Each\x20step\x20may\n\x20\x20\x20\x20\x20have\x20a\x20`Status`\x20messag\ + e\x20for\x20error\x20reporting.\n\n\x20-\x20Batch\x20operations.\x20If\ + \x20a\x20client\x20uses\x20batch\x20request\x20and\x20batch\x20response,\ + \x20the\n\x20\x20\x20\x20\x20`Status`\x20message\x20should\x20be\x20used\ + \x20directly\x20inside\x20batch\x20response,\x20one\x20for\n\x20\x20\x20\ + \x20\x20each\x20error\x20sub-response.\n\n\x20-\x20Asynchronous\x20opera\ + tions.\x20If\x20an\x20API\x20call\x20embeds\x20asynchronous\x20operation\ + \n\x20\x20\x20\x20\x20results\x20in\x20its\x20response,\x20the\x20status\ + \x20of\x20those\x20operations\x20should\x20be\n\x20\x20\x20\x20\x20repre\ + sented\x20directly\x20using\x20the\x20`Status`\x20message.\n\n\x20-\x20L\ + ogging.\x20If\x20some\x20API\x20errors\x20are\x20stored\x20in\x20logs,\ + \x20the\x20message\x20`Status`\x20could\n\x20\x20\x20\x20\x20be\x20used\ + \x20directly\x20after\x20any\x20stripping\x20needed\x20for\x20security/p\ + rivacy\x20reasons.\n\n\n\n\x03\x04\0\x01\x12\x03O\x08\x0e\nd\n\x04\x04\0\ + \x02\0\x12\x03Q\x02\x11\x1aW\x20The\x20status\x20code,\x20which\x20shoul\ + d\x20be\x20an\x20enum\x20value\x20of\x20[google.rpc.Code][google.rpc.Cod\ + e].\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04Q\x02O\x10\n\x0c\n\x05\x04\0\x02\ + \0\x05\x12\x03Q\x02\x07\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03Q\x08\x0c\n\ + \x0c\n\x05\x04\0\x02\0\x03\x12\x03Q\x0f\x10\n\xeb\x01\n\x04\x04\0\x02\ + \x01\x12\x03V\x02\x15\x1a\xdd\x01\x20A\x20developer-facing\x20error\x20m\ + essage,\x20which\x20should\x20be\x20in\x20English.\x20Any\n\x20user-faci\ + ng\x20error\x20message\x20should\x20be\x20localized\x20and\x20sent\x20in\ + \x20the\n\x20[google.rpc.Status.details][google.rpc.Status.details]\x20f\ + ield,\x20or\x20localized\x20by\x20the\x20client.\n\n\r\n\x05\x04\0\x02\ + \x01\x04\x12\x04V\x02Q\x11\n\x0c\n\x05\x04\0\x02\x01\x05\x12\x03V\x02\ + \x08\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03V\t\x10\n\x0c\n\x05\x04\0\x02\ + \x01\x03\x12\x03V\x13\x14\ny\n\x04\x04\0\x02\x02\x12\x03Z\x02+\x1al\x20A\ + \x20list\x20of\x20messages\x20that\x20carry\x20the\x20error\x20details.\ + \x20\x20There\x20is\x20a\x20common\x20set\x20of\n\x20message\x20types\ + \x20for\x20APIs\x20to\x20use.\n\n\x0c\n\x05\x04\0\x02\x02\x04\x12\x03Z\ + \x02\n\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x03Z\x0b\x1e\n\x0c\n\x05\x04\0\ + \x02\x02\x01\x12\x03Z\x1f&\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03Z)*b\x06\ + proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin.rs index 9bad1acde6..a607a3bdc2 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct Database { @@ -94,7 +94,7 @@ impl ::protobuf::Message for Database { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -127,7 +127,7 @@ impl ::protobuf::Message for Database { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -150,13 +150,13 @@ impl ::protobuf::Message for Database { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -169,10 +169,7 @@ impl ::protobuf::Message for Database { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -196,10 +193,7 @@ impl ::protobuf::Message for Database { } fn default_instance() -> &'static Database { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Database, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Database::new) } @@ -215,14 +209,14 @@ impl ::protobuf::Clear for Database { } impl ::std::fmt::Debug for Database { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Database { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -257,10 +251,7 @@ impl ::protobuf::ProtobufEnum for Database_State { } fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { ::protobuf::reflect::EnumDescriptor::new("Database_State", file_descriptor_proto()) @@ -279,8 +270,8 @@ impl ::std::default::Default for Database_State { } impl ::protobuf::reflect::ProtobufValue for Database_State { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor()) } } @@ -379,7 +370,7 @@ impl ::protobuf::Message for ListDatabasesRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -422,7 +413,7 @@ impl ::protobuf::Message for ListDatabasesRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.parent.is_empty() { os.write_string(1, &self.parent)?; } @@ -448,13 +439,13 @@ impl ::protobuf::Message for ListDatabasesRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -467,10 +458,7 @@ impl ::protobuf::Message for ListDatabasesRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -499,10 +487,7 @@ impl ::protobuf::Message for ListDatabasesRequest { } fn default_instance() -> &'static ListDatabasesRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListDatabasesRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ListDatabasesRequest::new) } @@ -519,14 +504,14 @@ impl ::protobuf::Clear for ListDatabasesRequest { } impl ::std::fmt::Debug for ListDatabasesRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ListDatabasesRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -613,7 +598,7 @@ impl ::protobuf::Message for ListDatabasesResponse { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -647,7 +632,7 @@ impl ::protobuf::Message for ListDatabasesResponse { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.databases { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -672,13 +657,13 @@ impl ::protobuf::Message for ListDatabasesResponse { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -691,10 +676,7 @@ impl ::protobuf::Message for ListDatabasesResponse { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -718,10 +700,7 @@ impl ::protobuf::Message for ListDatabasesResponse { } fn default_instance() -> &'static ListDatabasesResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListDatabasesResponse, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ListDatabasesResponse::new) } @@ -737,14 +716,14 @@ impl ::protobuf::Clear for ListDatabasesResponse { } impl ::std::fmt::Debug for ListDatabasesResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ListDatabasesResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -853,7 +832,7 @@ impl ::protobuf::Message for CreateDatabaseRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -892,7 +871,7 @@ impl ::protobuf::Message for CreateDatabaseRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.parent.is_empty() { os.write_string(1, &self.parent)?; } @@ -918,13 +897,13 @@ impl ::protobuf::Message for CreateDatabaseRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -937,10 +916,7 @@ impl ::protobuf::Message for CreateDatabaseRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -969,10 +945,7 @@ impl ::protobuf::Message for CreateDatabaseRequest { } fn default_instance() -> &'static CreateDatabaseRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateDatabaseRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(CreateDatabaseRequest::new) } @@ -989,14 +962,14 @@ impl ::protobuf::Clear for CreateDatabaseRequest { } impl ::std::fmt::Debug for CreateDatabaseRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for CreateDatabaseRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1052,7 +1025,7 @@ impl ::protobuf::Message for CreateDatabaseMetadata { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1079,7 +1052,7 @@ impl ::protobuf::Message for CreateDatabaseMetadata { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.database.is_empty() { os.write_string(1, &self.database)?; } @@ -1099,13 +1072,13 @@ impl ::protobuf::Message for CreateDatabaseMetadata { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1118,10 +1091,7 @@ impl ::protobuf::Message for CreateDatabaseMetadata { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1140,10 +1110,7 @@ impl ::protobuf::Message for CreateDatabaseMetadata { } fn default_instance() -> &'static CreateDatabaseMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateDatabaseMetadata, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(CreateDatabaseMetadata::new) } @@ -1158,14 +1125,14 @@ impl ::protobuf::Clear for CreateDatabaseMetadata { } impl ::std::fmt::Debug for CreateDatabaseMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for CreateDatabaseMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1221,7 +1188,7 @@ impl ::protobuf::Message for GetDatabaseRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1248,7 +1215,7 @@ impl ::protobuf::Message for GetDatabaseRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -1268,13 +1235,13 @@ impl ::protobuf::Message for GetDatabaseRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1287,10 +1254,7 @@ impl ::protobuf::Message for GetDatabaseRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1309,10 +1273,7 @@ impl ::protobuf::Message for GetDatabaseRequest { } fn default_instance() -> &'static GetDatabaseRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetDatabaseRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(GetDatabaseRequest::new) } @@ -1327,14 +1288,14 @@ impl ::protobuf::Clear for GetDatabaseRequest { } impl ::std::fmt::Debug for GetDatabaseRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for GetDatabaseRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1443,7 +1404,7 @@ impl ::protobuf::Message for UpdateDatabaseDdlRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1482,7 +1443,7 @@ impl ::protobuf::Message for UpdateDatabaseDdlRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.database.is_empty() { os.write_string(1, &self.database)?; } @@ -1508,13 +1469,13 @@ impl ::protobuf::Message for UpdateDatabaseDdlRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1527,10 +1488,7 @@ impl ::protobuf::Message for UpdateDatabaseDdlRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1559,10 +1517,7 @@ impl ::protobuf::Message for UpdateDatabaseDdlRequest { } fn default_instance() -> &'static UpdateDatabaseDdlRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateDatabaseDdlRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(UpdateDatabaseDdlRequest::new) } @@ -1579,14 +1534,14 @@ impl ::protobuf::Clear for UpdateDatabaseDdlRequest { } impl ::std::fmt::Debug for UpdateDatabaseDdlRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for UpdateDatabaseDdlRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1699,7 +1654,7 @@ impl ::protobuf::Message for UpdateDatabaseDdlMetadata { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1739,7 +1694,7 @@ impl ::protobuf::Message for UpdateDatabaseDdlMetadata { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.database.is_empty() { os.write_string(1, &self.database)?; } @@ -1767,13 +1722,13 @@ impl ::protobuf::Message for UpdateDatabaseDdlMetadata { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1786,10 +1741,7 @@ impl ::protobuf::Message for UpdateDatabaseDdlMetadata { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1818,10 +1770,7 @@ impl ::protobuf::Message for UpdateDatabaseDdlMetadata { } fn default_instance() -> &'static UpdateDatabaseDdlMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateDatabaseDdlMetadata, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(UpdateDatabaseDdlMetadata::new) } @@ -1838,14 +1787,14 @@ impl ::protobuf::Clear for UpdateDatabaseDdlMetadata { } impl ::std::fmt::Debug for UpdateDatabaseDdlMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for UpdateDatabaseDdlMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1901,7 +1850,7 @@ impl ::protobuf::Message for DropDatabaseRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1928,7 +1877,7 @@ impl ::protobuf::Message for DropDatabaseRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.database.is_empty() { os.write_string(1, &self.database)?; } @@ -1948,13 +1897,13 @@ impl ::protobuf::Message for DropDatabaseRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1967,10 +1916,7 @@ impl ::protobuf::Message for DropDatabaseRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1989,10 +1935,7 @@ impl ::protobuf::Message for DropDatabaseRequest { } fn default_instance() -> &'static DropDatabaseRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DropDatabaseRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(DropDatabaseRequest::new) } @@ -2007,14 +1950,14 @@ impl ::protobuf::Clear for DropDatabaseRequest { } impl ::std::fmt::Debug for DropDatabaseRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for DropDatabaseRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2070,7 +2013,7 @@ impl ::protobuf::Message for GetDatabaseDdlRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2097,7 +2040,7 @@ impl ::protobuf::Message for GetDatabaseDdlRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.database.is_empty() { os.write_string(1, &self.database)?; } @@ -2117,13 +2060,13 @@ impl ::protobuf::Message for GetDatabaseDdlRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2136,10 +2079,7 @@ impl ::protobuf::Message for GetDatabaseDdlRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2158,10 +2098,7 @@ impl ::protobuf::Message for GetDatabaseDdlRequest { } fn default_instance() -> &'static GetDatabaseDdlRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetDatabaseDdlRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(GetDatabaseDdlRequest::new) } @@ -2176,14 +2113,14 @@ impl ::protobuf::Clear for GetDatabaseDdlRequest { } impl ::std::fmt::Debug for GetDatabaseDdlRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for GetDatabaseDdlRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2238,7 +2175,7 @@ impl ::protobuf::Message for GetDatabaseDdlResponse { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2265,7 +2202,7 @@ impl ::protobuf::Message for GetDatabaseDdlResponse { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.statements { os.write_string(1, &v)?; }; @@ -2285,13 +2222,13 @@ impl ::protobuf::Message for GetDatabaseDdlResponse { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2304,10 +2241,7 @@ impl ::protobuf::Message for GetDatabaseDdlResponse { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2326,10 +2260,7 @@ impl ::protobuf::Message for GetDatabaseDdlResponse { } fn default_instance() -> &'static GetDatabaseDdlResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetDatabaseDdlResponse, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(GetDatabaseDdlResponse::new) } @@ -2344,14 +2275,14 @@ impl ::protobuf::Clear for GetDatabaseDdlResponse { } impl ::std::fmt::Debug for GetDatabaseDdlResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for GetDatabaseDdlResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2415,7 +2346,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ panner.admin.database.v1B\x19SpannerDatabaseAdminProtoP\x01ZHgoogle.gola\ ng.org/genproto/googleapis/spanner/admin/database/v1;database\xaa\x02&Go\ ogle.Cloud.Spanner.Admin.Database.V1\xca\x02&Google\\Cloud\\Spanner\\Adm\ - in\\Database\\V1J\xa0]\n\x07\x12\x05\x0e\0\xad\x02\x01\n\xbc\x04\n\x01\ + in\\Database\\V1J\xb6e\n\x07\x12\x05\x0e\0\xad\x02\x01\n\xbc\x04\n\x01\ \x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x202018\x20Google\x20LLC\n\ \n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\ \x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\ @@ -2428,218 +2359,269 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\ \x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20lan\ guage\x20governing\x20permissions\x20and\n\x20limitations\x20under\x20th\ - e\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0)\n\t\n\x02\x03\0\x12\x03\ - \x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\0(\n\t\n\x02\x03\x02\x12\x03\x14\0\ - $\n\t\n\x02\x03\x03\x12\x03\x15\0-\n\t\n\x02\x03\x04\x12\x03\x16\0%\n\t\ - \n\x02\x03\x05\x12\x03\x17\0)\n\x08\n\x01\x08\x12\x03\x19\0C\n\t\n\x02\ - \x08%\x12\x03\x19\0C\n\x08\n\x01\x08\x12\x03\x1a\0_\n\t\n\x02\x08\x0b\ - \x12\x03\x1a\0_\n\x08\n\x01\x08\x12\x03\x1b\0\"\n\t\n\x02\x08\n\x12\x03\ - \x1b\0\"\n\x08\n\x01\x08\x12\x03\x1c\0:\n\t\n\x02\x08\x08\x12\x03\x1c\0:\ - \n\x08\n\x01\x08\x12\x03\x1d\0=\n\t\n\x02\x08\x01\x12\x03\x1d\0=\n\x08\n\ - \x01\x08\x12\x03\x1e\0E\n\t\n\x02\x08)\x12\x03\x1e\0E\n\xc9\x01\n\x02\ - \x06\0\x12\x05&\0\x86\x01\x01\x1a\xbb\x01\x20Cloud\x20Spanner\x20Databas\ - e\x20Admin\x20API\n\n\x20The\x20Cloud\x20Spanner\x20Database\x20Admin\ - \x20API\x20can\x20be\x20used\x20to\x20create,\x20drop,\x20and\n\x20list\ - \x20databases.\x20It\x20also\x20enables\x20updating\x20the\x20schema\x20\ - of\x20pre-existing\n\x20databases.\n\n\n\n\x03\x06\0\x01\x12\x03&\x08\ - \x15\n.\n\x04\x06\0\x02\0\x12\x04(\x02,\x03\x1a\x20\x20Lists\x20Cloud\ - \x20Spanner\x20databases.\n\n\x0c\n\x05\x06\0\x02\0\x01\x12\x03(\x06\x13\ - \n\x0c\n\x05\x06\0\x02\0\x02\x12\x03(\x14(\n\x0c\n\x05\x06\0\x02\0\x03\ - \x12\x03(3H\n\r\n\x05\x06\0\x02\0\x04\x12\x04)\x04+\x06\n\x11\n\t\x06\0\ - \x02\0\x04\xb0\xca\xbc\"\x12\x04)\x04+\x06\n\xc8\x04\n\x04\x06\0\x02\x01\ - \x12\x046\x02;\x03\x1a\xb9\x04\x20Creates\x20a\x20new\x20Cloud\x20Spanne\ - r\x20database\x20and\x20starts\x20to\x20prepare\x20it\x20for\x20serving.\ - \n\x20The\x20returned\x20[long-running\x20operation][google.longrunning.\ - Operation]\x20will\n\x20have\x20a\x20name\x20of\x20the\x20format\x20`/operations/`\x20and\n\x20can\x20be\x20used\ - \x20to\x20track\x20preparation\x20of\x20the\x20database.\x20The\n\x20[me\ - tadata][google.longrunning.Operation.metadata]\x20field\x20type\x20is\n\ + e\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\x08(\n\t\n\x02\x03\0\x12\x03\ + \x12\x07%\n\t\n\x02\x03\x01\x12\x03\x13\x07'\n\t\n\x02\x03\x02\x12\x03\ + \x14\x07#\n\t\n\x02\x03\x03\x12\x03\x15\x07,\n\t\n\x02\x03\x04\x12\x03\ + \x16\x07$\n\t\n\x02\x03\x05\x12\x03\x17\x07(\n\x08\n\x01\x08\x12\x03\x19\ + \0C\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x19\0C\n\x0c\n\x05\x08\xe7\x07\0\ + \x02\x12\x03\x19\x07\x17\n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\x19\x07\ + \x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x19\x07\x17\n\x0c\n\x05\ + \x08\xe7\x07\0\x07\x12\x03\x19\x1aB\n\x08\n\x01\x08\x12\x03\x1a\0_\n\x0b\ + \n\x04\x08\xe7\x07\x01\x12\x03\x1a\0_\n\x0c\n\x05\x08\xe7\x07\x01\x02\ + \x12\x03\x1a\x07\x11\n\r\n\x06\x08\xe7\x07\x01\x02\0\x12\x03\x1a\x07\x11\ + \n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\x1a\x07\x11\n\x0c\n\x05\ + \x08\xe7\x07\x01\x07\x12\x03\x1a\x14^\n\x08\n\x01\x08\x12\x03\x1b\0\"\n\ + \x0b\n\x04\x08\xe7\x07\x02\x12\x03\x1b\0\"\n\x0c\n\x05\x08\xe7\x07\x02\ + \x02\x12\x03\x1b\x07\x1a\n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03\x1b\x07\ + \x1a\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\x03\x1b\x07\x1a\n\x0c\n\ + \x05\x08\xe7\x07\x02\x03\x12\x03\x1b\x1d!\n\x08\n\x01\x08\x12\x03\x1c\0:\ + \n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x1c\0:\n\x0c\n\x05\x08\xe7\x07\x03\ + \x02\x12\x03\x1c\x07\x1b\n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03\x1c\x07\ + \x1b\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\x03\x1c\x07\x1b\n\x0c\n\ + \x05\x08\xe7\x07\x03\x07\x12\x03\x1c\x1e9\n\x08\n\x01\x08\x12\x03\x1d\0=\ + \n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x1d\0=\n\x0c\n\x05\x08\xe7\x07\x04\ + \x02\x12\x03\x1d\x07\x13\n\r\n\x06\x08\xe7\x07\x04\x02\0\x12\x03\x1d\x07\ + \x13\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\x03\x1d\x07\x13\n\x0c\n\ + \x05\x08\xe7\x07\x04\x07\x12\x03\x1d\x16<\n\x08\n\x01\x08\x12\x03\x1e\0E\ + \n\x0b\n\x04\x08\xe7\x07\x05\x12\x03\x1e\0E\n\x0c\n\x05\x08\xe7\x07\x05\ + \x02\x12\x03\x1e\x07\x14\n\r\n\x06\x08\xe7\x07\x05\x02\0\x12\x03\x1e\x07\ + \x14\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\x03\x1e\x07\x14\n\x0c\n\ + \x05\x08\xe7\x07\x05\x07\x12\x03\x1e\x17D\n\xc9\x01\n\x02\x06\0\x12\x05&\ + \0\x86\x01\x01\x1a\xbb\x01\x20Cloud\x20Spanner\x20Database\x20Admin\x20A\ + PI\n\n\x20The\x20Cloud\x20Spanner\x20Database\x20Admin\x20API\x20can\x20\ + be\x20used\x20to\x20create,\x20drop,\x20and\n\x20list\x20databases.\x20I\ + t\x20also\x20enables\x20updating\x20the\x20schema\x20of\x20pre-existing\ + \n\x20databases.\n\n\n\n\x03\x06\0\x01\x12\x03&\x08\x15\n.\n\x04\x06\0\ + \x02\0\x12\x04(\x02,\x03\x1a\x20\x20Lists\x20Cloud\x20Spanner\x20databas\ + es.\n\n\x0c\n\x05\x06\0\x02\0\x01\x12\x03(\x06\x13\n\x0c\n\x05\x06\0\x02\ + \0\x02\x12\x03(\x14(\n\x0c\n\x05\x06\0\x02\0\x03\x12\x03(3H\n\r\n\x05\ + \x06\0\x02\0\x04\x12\x04)\x04+\x06\n\x10\n\x08\x06\0\x02\0\x04\xe7\x07\0\ + \x12\x04)\x04+\x06\n\x10\n\t\x06\0\x02\0\x04\xe7\x07\0\x02\x12\x03)\x0b\ + \x1c\n\x11\n\n\x06\0\x02\0\x04\xe7\x07\0\x02\0\x12\x03)\x0b\x1c\n\x12\n\ + \x0b\x06\0\x02\0\x04\xe7\x07\0\x02\0\x01\x12\x03)\x0c\x1b\n\x11\n\t\x06\ + \0\x02\0\x04\xe7\x07\0\x08\x12\x04)\x1f+\x05\n\xc8\x04\n\x04\x06\0\x02\ + \x01\x12\x046\x02;\x03\x1a\xb9\x04\x20Creates\x20a\x20new\x20Cloud\x20Sp\ + anner\x20database\x20and\x20starts\x20to\x20prepare\x20it\x20for\x20serv\ + ing.\n\x20The\x20returned\x20[long-running\x20operation][google.longrunn\ + ing.Operation]\x20will\n\x20have\x20a\x20name\x20of\x20the\x20format\x20\ + `/operations/`\x20and\n\x20can\x20be\x20use\ + d\x20to\x20track\x20preparation\x20of\x20the\x20database.\x20The\n\x20[m\ + etadata][google.longrunning.Operation.metadata]\x20field\x20type\x20is\n\ \x20[CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateData\ baseMetadata].\x20The\n\x20[response][google.longrunning.Operation.respo\ nse]\x20field\x20type\x20is\n\x20[Database][google.spanner.admin.databas\ e.v1.Database],\x20if\x20successful.\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\ \x036\x06\x14\n\x0c\n\x05\x06\0\x02\x01\x02\x12\x036\x15*\n\x0c\n\x05\ \x06\0\x02\x01\x03\x12\x0365Q\n\r\n\x05\x06\0\x02\x01\x04\x12\x047\x04:\ - \x06\n\x11\n\t\x06\0\x02\x01\x04\xb0\xca\xbc\"\x12\x047\x04:\x06\n;\n\ - \x04\x06\0\x02\x02\x12\x04>\x02B\x03\x1a-\x20Gets\x20the\x20state\x20of\ - \x20a\x20Cloud\x20Spanner\x20database.\n\n\x0c\n\x05\x06\0\x02\x02\x01\ - \x12\x03>\x06\x11\n\x0c\n\x05\x06\0\x02\x02\x02\x12\x03>\x12$\n\x0c\n\ - \x05\x06\0\x02\x02\x03\x12\x03>/7\n\r\n\x05\x06\0\x02\x02\x04\x12\x04?\ - \x04A\x06\n\x11\n\t\x06\0\x02\x02\x04\xb0\xca\xbc\"\x12\x04?\x04A\x06\n\ - \x8a\x04\n\x04\x06\0\x02\x03\x12\x04K\x02P\x03\x1a\xfb\x03\x20Updates\ - \x20the\x20schema\x20of\x20a\x20Cloud\x20Spanner\x20database\x20by\n\x20\ - creating/altering/dropping\x20tables,\x20columns,\x20indexes,\x20etc.\ - \x20The\x20returned\n\x20[long-running\x20operation][google.longrunning.\ - Operation]\x20will\x20have\x20a\x20name\x20of\n\x20the\x20format\x20`/operations/`\x20and\x20can\x20be\x20used\x20t\ - o\n\x20track\x20execution\x20of\x20the\x20schema\x20change(s).\x20The\n\ - \x20[metadata][google.longrunning.Operation.metadata]\x20field\x20type\ - \x20is\n\x20[UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1\ - .UpdateDatabaseDdlMetadata].\x20\x20The\x20operation\x20has\x20no\x20res\ - ponse.\n\n\x0c\n\x05\x06\0\x02\x03\x01\x12\x03K\x06\x17\n\x0c\n\x05\x06\ - \0\x02\x03\x02\x12\x03K\x180\n\x0c\n\x05\x06\0\x02\x03\x03\x12\x03K;W\n\ - \r\n\x05\x06\0\x02\x03\x04\x12\x04L\x04O\x06\n\x11\n\t\x06\0\x02\x03\x04\ - \xb0\xca\xbc\"\x12\x04L\x04O\x06\n=\n\x04\x06\0\x02\x04\x12\x04S\x02W\ - \x03\x1a/\x20Drops\x20(aka\x20deletes)\x20a\x20Cloud\x20Spanner\x20datab\ - ase.\n\n\x0c\n\x05\x06\0\x02\x04\x01\x12\x03S\x06\x12\n\x0c\n\x05\x06\0\ - \x02\x04\x02\x12\x03S\x13&\n\x0c\n\x05\x06\0\x02\x04\x03\x12\x03S1F\n\r\ - \n\x05\x06\0\x02\x04\x04\x12\x04T\x04V\x06\n\x11\n\t\x06\0\x02\x04\x04\ - \xb0\xca\xbc\"\x12\x04T\x04V\x06\n\xea\x01\n\x04\x06\0\x02\x05\x12\x04\\\ - \x02`\x03\x1a\xdb\x01\x20Returns\x20the\x20schema\x20of\x20a\x20Cloud\ - \x20Spanner\x20database\x20as\x20a\x20list\x20of\x20formatted\n\x20DDL\ - \x20statements.\x20This\x20method\x20does\x20not\x20show\x20pending\x20s\ - chema\x20updates,\x20those\x20may\n\x20be\x20queried\x20using\x20the\x20\ - [Operations][google.longrunning.Operations]\x20API.\n\n\x0c\n\x05\x06\0\ - \x02\x05\x01\x12\x03\\\x06\x14\n\x0c\n\x05\x06\0\x02\x05\x02\x12\x03\\\ - \x15*\n\x0c\n\x05\x06\0\x02\x05\x03\x12\x03\\5K\n\r\n\x05\x06\0\x02\x05\ - \x04\x12\x04]\x04_\x06\n\x11\n\t\x06\0\x02\x05\x04\xb0\xca\xbc\"\x12\x04\ - ]\x04_\x06\n\xe7\x01\n\x04\x06\0\x02\x06\x12\x04g\x02l\x03\x1a\xd8\x01\ - \x20Sets\x20the\x20access\x20control\x20policy\x20on\x20a\x20database\ - \x20resource.\x20Replaces\x20any\n\x20existing\x20policy.\n\n\x20Authori\ - zation\x20requires\x20`spanner.databases.setIamPolicy`\x20permission\x20\ - on\n\x20[resource][google.iam.v1.SetIamPolicyRequest.resource].\n\n\x0c\ - \n\x05\x06\0\x02\x06\x01\x12\x03g\x06\x12\n\x0c\n\x05\x06\0\x02\x06\x02\ - \x12\x03g\x134\n\x0c\n\x05\x06\0\x02\x06\x03\x12\x03g?S\n\r\n\x05\x06\0\ - \x02\x06\x04\x12\x04h\x04k\x06\n\x11\n\t\x06\0\x02\x06\x04\xb0\xca\xbc\"\ - \x12\x04h\x04k\x06\n\x97\x02\n\x04\x06\0\x02\x07\x12\x04s\x02x\x03\x1a\ - \x88\x02\x20Gets\x20the\x20access\x20control\x20policy\x20for\x20a\x20da\ - tabase\x20resource.\x20Returns\x20an\x20empty\n\x20policy\x20if\x20a\x20\ - database\x20exists\x20but\x20does\x20not\x20have\x20a\x20policy\x20set.\ - \n\n\x20Authorization\x20requires\x20`spanner.databases.getIamPolicy`\ - \x20permission\x20on\n\x20[resource][google.iam.v1.GetIamPolicyRequest.r\ - esource].\n\n\x0c\n\x05\x06\0\x02\x07\x01\x12\x03s\x06\x12\n\x0c\n\x05\ - \x06\0\x02\x07\x02\x12\x03s\x134\n\x0c\n\x05\x06\0\x02\x07\x03\x12\x03s?\ - S\n\r\n\x05\x06\0\x02\x07\x04\x12\x04t\x04w\x06\n\x11\n\t\x06\0\x02\x07\ - \x04\xb0\xca\xbc\"\x12\x04t\x04w\x06\n\xce\x02\n\x04\x06\0\x02\x08\x12\ - \x06\x80\x01\x02\x85\x01\x03\x1a\xbd\x02\x20Returns\x20permissions\x20th\ - at\x20the\x20caller\x20has\x20on\x20the\x20specified\x20database\x20reso\ - urce.\n\n\x20Attempting\x20this\x20RPC\x20on\x20a\x20non-existent\x20Clo\ - ud\x20Spanner\x20database\x20will\x20result\x20in\n\x20a\x20NOT_FOUND\ - \x20error\x20if\x20the\x20user\x20has\x20`spanner.databases.list`\x20per\ - mission\x20on\n\x20the\x20containing\x20Cloud\x20Spanner\x20instance.\ - \x20Otherwise\x20returns\x20an\x20empty\x20set\x20of\n\x20permissions.\n\ - \n\r\n\x05\x06\0\x02\x08\x01\x12\x04\x80\x01\x06\x18\n\r\n\x05\x06\0\x02\ - \x08\x02\x12\x04\x80\x01\x19@\n\r\n\x05\x06\0\x02\x08\x03\x12\x04\x80\ - \x01Ks\n\x0f\n\x05\x06\0\x02\x08\x04\x12\x06\x81\x01\x04\x84\x01\x06\n\ - \x13\n\t\x06\0\x02\x08\x04\xb0\xca\xbc\"\x12\x06\x81\x01\x04\x84\x01\x06\ - \n)\n\x02\x04\0\x12\x06\x89\x01\0\xa0\x01\x01\x1a\x1b\x20A\x20Cloud\x20S\ - panner\x20database.\n\n\x0b\n\x03\x04\0\x01\x12\x04\x89\x01\x08\x10\n>\n\ - \x04\x04\0\x04\0\x12\x06\x8b\x01\x02\x95\x01\x03\x1a.\x20Indicates\x20th\ - e\x20current\x20state\x20of\x20the\x20database.\n\n\r\n\x05\x04\0\x04\0\ - \x01\x12\x04\x8b\x01\x07\x0c\n\x20\n\x06\x04\0\x04\0\x02\0\x12\x04\x8d\ - \x01\x04\x1a\x1a\x10\x20Not\x20specified.\n\n\x0f\n\x07\x04\0\x04\0\x02\ - \0\x01\x12\x04\x8d\x01\x04\x15\n\x0f\n\x07\x04\0\x04\0\x02\0\x02\x12\x04\ - \x8d\x01\x18\x19\n\x85\x01\n\x06\x04\0\x04\0\x02\x01\x12\x04\x91\x01\x04\ - \x11\x1au\x20The\x20database\x20is\x20still\x20being\x20created.\x20Oper\ - ations\x20on\x20the\x20database\x20may\x20fail\n\x20with\x20`FAILED_PREC\ - ONDITION`\x20in\x20this\x20state.\n\n\x0f\n\x07\x04\0\x04\0\x02\x01\x01\ - \x12\x04\x91\x01\x04\x0c\n\x0f\n\x07\x04\0\x04\0\x02\x01\x02\x12\x04\x91\ - \x01\x0f\x10\nB\n\x06\x04\0\x04\0\x02\x02\x12\x04\x94\x01\x04\x0e\x1a2\ - \x20The\x20database\x20is\x20fully\x20created\x20and\x20ready\x20for\x20\ - use.\n\n\x0f\n\x07\x04\0\x04\0\x02\x02\x01\x12\x04\x94\x01\x04\t\n\x0f\n\ - \x07\x04\0\x04\0\x02\x02\x02\x12\x04\x94\x01\x0c\r\n\x9d\x02\n\x04\x04\0\ - \x02\0\x12\x04\x9c\x01\x02\x12\x1a\x8e\x02\x20Required.\x20The\x20name\ - \x20of\x20the\x20database.\x20Values\x20are\x20of\x20the\x20form\n\x20`p\ - rojects//instances//databases/`,\n\x20where\ - \x20``\x20is\x20as\x20specified\x20in\x20the\x20`CREATE\x20DAT\ - ABASE`\n\x20statement.\x20This\x20name\x20can\x20be\x20passed\x20to\x20o\ - ther\x20API\x20methods\x20to\n\x20identify\x20the\x20database.\n\n\x0f\n\ - \x05\x04\0\x02\0\x04\x12\x06\x9c\x01\x02\x95\x01\x03\n\r\n\x05\x04\0\x02\ - \0\x05\x12\x04\x9c\x01\x02\x08\n\r\n\x05\x04\0\x02\0\x01\x12\x04\x9c\x01\ - \t\r\n\r\n\x05\x04\0\x02\0\x03\x12\x04\x9c\x01\x10\x11\n8\n\x04\x04\0\ - \x02\x01\x12\x04\x9f\x01\x02\x12\x1a*\x20Output\x20only.\x20The\x20curre\ - nt\x20database\x20state.\n\n\x0f\n\x05\x04\0\x02\x01\x04\x12\x06\x9f\x01\ - \x02\x9c\x01\x12\n\r\n\x05\x04\0\x02\x01\x06\x12\x04\x9f\x01\x02\x07\n\r\ - \n\x05\x04\0\x02\x01\x01\x12\x04\x9f\x01\x08\r\n\r\n\x05\x04\0\x02\x01\ - \x03\x12\x04\x9f\x01\x10\x11\nn\n\x02\x04\x01\x12\x06\xa3\x01\0\xb0\x01\ - \x01\x1a`\x20The\x20request\x20for\x20[ListDatabases][google.spanner.adm\ - in.database.v1.DatabaseAdmin.ListDatabases].\n\n\x0b\n\x03\x04\x01\x01\ - \x12\x04\xa3\x01\x08\x1c\n\x8b\x01\n\x04\x04\x01\x02\0\x12\x04\xa6\x01\ - \x02\x14\x1a}\x20Required.\x20The\x20instance\x20whose\x20databases\x20s\ - hould\x20be\x20listed.\n\x20Values\x20are\x20of\x20the\x20form\x20`proje\ - cts//instances/`.\n\n\x0f\n\x05\x04\x01\x02\0\x04\x12\ - \x06\xa6\x01\x02\xa3\x01\x1e\n\r\n\x05\x04\x01\x02\0\x05\x12\x04\xa6\x01\ - \x02\x08\n\r\n\x05\x04\x01\x02\0\x01\x12\x04\xa6\x01\t\x0f\n\r\n\x05\x04\ - \x01\x02\0\x03\x12\x04\xa6\x01\x12\x13\n\x86\x01\n\x04\x04\x01\x02\x01\ - \x12\x04\xaa\x01\x02\x16\x1ax\x20Number\x20of\x20databases\x20to\x20be\ - \x20returned\x20in\x20the\x20response.\x20If\x200\x20or\x20less,\n\x20de\ - faults\x20to\x20the\x20server's\x20maximum\x20allowed\x20page\x20size.\n\ - \n\x0f\n\x05\x04\x01\x02\x01\x04\x12\x06\xaa\x01\x02\xa6\x01\x14\n\r\n\ - \x05\x04\x01\x02\x01\x05\x12\x04\xaa\x01\x02\x07\n\r\n\x05\x04\x01\x02\ - \x01\x01\x12\x04\xaa\x01\x08\x11\n\r\n\x05\x04\x01\x02\x01\x03\x12\x04\ - \xaa\x01\x14\x15\n\xf9\x01\n\x04\x04\x01\x02\x02\x12\x04\xaf\x01\x02\x18\ - \x1a\xea\x01\x20If\x20non-empty,\x20`page_token`\x20should\x20contain\ - \x20a\n\x20[next_page_token][google.spanner.admin.database.v1.ListDataba\ - sesResponse.next_page_token]\x20from\x20a\n\x20previous\x20[ListDatabase\ - sResponse][google.spanner.admin.database.v1.ListDatabasesResponse].\n\n\ - \x0f\n\x05\x04\x01\x02\x02\x04\x12\x06\xaf\x01\x02\xaa\x01\x16\n\r\n\x05\ - \x04\x01\x02\x02\x05\x12\x04\xaf\x01\x02\x08\n\r\n\x05\x04\x01\x02\x02\ - \x01\x12\x04\xaf\x01\t\x13\n\r\n\x05\x04\x01\x02\x02\x03\x12\x04\xaf\x01\ - \x16\x17\no\n\x02\x04\x02\x12\x06\xb3\x01\0\xbb\x01\x01\x1aa\x20The\x20r\ - esponse\x20for\x20[ListDatabases][google.spanner.admin.database.v1.Datab\ - aseAdmin.ListDatabases].\n\n\x0b\n\x03\x04\x02\x01\x12\x04\xb3\x01\x08\ - \x1d\n3\n\x04\x04\x02\x02\0\x12\x04\xb5\x01\x02\"\x1a%\x20Databases\x20t\ - hat\x20matched\x20the\x20request.\n\n\r\n\x05\x04\x02\x02\0\x04\x12\x04\ - \xb5\x01\x02\n\n\r\n\x05\x04\x02\x02\0\x06\x12\x04\xb5\x01\x0b\x13\n\r\n\ - \x05\x04\x02\x02\0\x01\x12\x04\xb5\x01\x14\x1d\n\r\n\x05\x04\x02\x02\0\ - \x03\x12\x04\xb5\x01\x20!\n\xbc\x01\n\x04\x04\x02\x02\x01\x12\x04\xba\ - \x01\x02\x1d\x1a\xad\x01\x20`next_page_token`\x20can\x20be\x20sent\x20in\ - \x20a\x20subsequent\n\x20[ListDatabases][google.spanner.admin.database.v\ - 1.DatabaseAdmin.ListDatabases]\x20call\x20to\x20fetch\x20more\n\x20of\ - \x20the\x20matching\x20databases.\n\n\x0f\n\x05\x04\x02\x02\x01\x04\x12\ - \x06\xba\x01\x02\xb5\x01\"\n\r\n\x05\x04\x02\x02\x01\x05\x12\x04\xba\x01\ - \x02\x08\n\r\n\x05\x04\x02\x02\x01\x01\x12\x04\xba\x01\t\x18\n\r\n\x05\ - \x04\x02\x02\x01\x03\x12\x04\xba\x01\x1b\x1c\np\n\x02\x04\x03\x12\x06\ - \xbe\x01\0\xcf\x01\x01\x1ab\x20The\x20request\x20for\x20[CreateDatabase]\ - [google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].\n\n\x0b\ - \n\x03\x04\x03\x01\x12\x04\xbe\x01\x08\x1d\n\x98\x01\n\x04\x04\x03\x02\0\ - \x12\x04\xc1\x01\x02\x14\x1a\x89\x01\x20Required.\x20The\x20name\x20of\ - \x20the\x20instance\x20that\x20will\x20serve\x20the\x20new\x20database.\ - \n\x20Values\x20are\x20of\x20the\x20form\x20`projects//instance\ - s/`.\n\n\x0f\n\x05\x04\x03\x02\0\x04\x12\x06\xc1\x01\x02\xbe\ - \x01\x1f\n\r\n\x05\x04\x03\x02\0\x05\x12\x04\xc1\x01\x02\x08\n\r\n\x05\ - \x04\x03\x02\0\x01\x12\x04\xc1\x01\t\x0f\n\r\n\x05\x04\x03\x02\0\x03\x12\ - \x04\xc1\x01\x12\x13\n\xe6\x02\n\x04\x04\x03\x02\x01\x12\x04\xc8\x01\x02\ - \x1e\x1a\xd7\x02\x20Required.\x20A\x20`CREATE\x20DATABASE`\x20statement,\ - \x20which\x20specifies\x20the\x20ID\x20of\x20the\n\x20new\x20database.\ - \x20\x20The\x20database\x20ID\x20must\x20conform\x20to\x20the\x20regular\ - \x20expression\n\x20`[a-z][a-z0-9_\\-]*[a-z0-9]`\x20and\x20be\x20between\ - \x202\x20and\x2030\x20characters\x20in\x20length.\n\x20If\x20the\x20data\ - base\x20ID\x20is\x20a\x20reserved\x20word\x20or\x20if\x20it\x20contains\ - \x20a\x20hyphen,\x20the\n\x20database\x20ID\x20must\x20be\x20enclosed\ - \x20in\x20backticks\x20(``\x20`\x20``).\n\n\x0f\n\x05\x04\x03\x02\x01\ - \x04\x12\x06\xc8\x01\x02\xc1\x01\x14\n\r\n\x05\x04\x03\x02\x01\x05\x12\ - \x04\xc8\x01\x02\x08\n\r\n\x05\x04\x03\x02\x01\x01\x12\x04\xc8\x01\t\x19\ - \n\r\n\x05\x04\x03\x02\x01\x03\x12\x04\xc8\x01\x1c\x1d\n\x97\x02\n\x04\ - \x04\x03\x02\x02\x12\x04\xce\x01\x02'\x1a\x88\x02\x20An\x20optional\x20l\ - ist\x20of\x20DDL\x20statements\x20to\x20run\x20inside\x20the\x20newly\ - \x20created\n\x20database.\x20Statements\x20can\x20create\x20tables,\x20\ - indexes,\x20etc.\x20These\n\x20statements\x20execute\x20atomically\x20wi\ - th\x20the\x20creation\x20of\x20the\x20database:\n\x20if\x20there\x20is\ - \x20an\x20error\x20in\x20any\x20statement,\x20the\x20database\x20is\x20n\ - ot\x20created.\n\n\r\n\x05\x04\x03\x02\x02\x04\x12\x04\xce\x01\x02\n\n\r\ - \n\x05\x04\x03\x02\x02\x05\x12\x04\xce\x01\x0b\x11\n\r\n\x05\x04\x03\x02\ - \x02\x01\x12\x04\xce\x01\x12\"\n\r\n\x05\x04\x03\x02\x02\x03\x12\x04\xce\ - \x01%&\n\x8d\x01\n\x02\x04\x04\x12\x06\xd3\x01\0\xd6\x01\x01\x1a\x7f\x20\ - Metadata\x20type\x20for\x20the\x20operation\x20returned\x20by\n\x20[Crea\ - teDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabas\ - e].\n\n\x0b\n\x03\x04\x04\x01\x12\x04\xd3\x01\x08\x1e\n+\n\x04\x04\x04\ - \x02\0\x12\x04\xd5\x01\x02\x16\x1a\x1d\x20The\x20database\x20being\x20cr\ - eated.\n\n\x0f\n\x05\x04\x04\x02\0\x04\x12\x06\xd5\x01\x02\xd3\x01\x20\n\ - \r\n\x05\x04\x04\x02\0\x05\x12\x04\xd5\x01\x02\x08\n\r\n\x05\x04\x04\x02\ - \0\x01\x12\x04\xd5\x01\t\x11\n\r\n\x05\x04\x04\x02\0\x03\x12\x04\xd5\x01\ - \x14\x15\nj\n\x02\x04\x05\x12\x06\xd9\x01\0\xdd\x01\x01\x1a\\\x20The\x20\ - request\x20for\x20[GetDatabase][google.spanner.admin.database.v1.Databas\ - eAdmin.GetDatabase].\n\n\x0b\n\x03\x04\x05\x01\x12\x04\xd9\x01\x08\x1a\n\ - \x96\x01\n\x04\x04\x05\x02\0\x12\x04\xdc\x01\x02\x12\x1a\x87\x01\x20Requ\ - ired.\x20The\x20name\x20of\x20the\x20requested\x20database.\x20Values\ - \x20are\x20of\x20the\x20form\n\x20`projects//instances//databases/`.\n\n\x0f\n\x05\x04\x05\x02\0\x04\x12\x06\xdc\ - \x01\x02\xd9\x01\x1c\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\xdc\x01\x02\x08\ - \n\r\n\x05\x04\x05\x02\0\x01\x12\x04\xdc\x01\t\r\n\r\n\x05\x04\x05\x02\0\ - \x03\x12\x04\xdc\x01\x10\x11\n\x99\x07\n\x02\x04\x06\x12\x06\xef\x01\0\ - \x8a\x02\x01\x1a\x8a\x07\x20Enqueues\x20the\x20given\x20DDL\x20statement\ - s\x20to\x20be\x20applied,\x20in\x20order\x20but\x20not\n\x20necessarily\ + \x06\n\x10\n\x08\x06\0\x02\x01\x04\xe7\x07\0\x12\x047\x04:\x06\n\x10\n\t\ + \x06\0\x02\x01\x04\xe7\x07\0\x02\x12\x037\x0b\x1c\n\x11\n\n\x06\0\x02\ + \x01\x04\xe7\x07\0\x02\0\x12\x037\x0b\x1c\n\x12\n\x0b\x06\0\x02\x01\x04\ + \xe7\x07\0\x02\0\x01\x12\x037\x0c\x1b\n\x11\n\t\x06\0\x02\x01\x04\xe7\ + \x07\0\x08\x12\x047\x1f:\x05\n;\n\x04\x06\0\x02\x02\x12\x04>\x02B\x03\ + \x1a-\x20Gets\x20the\x20state\x20of\x20a\x20Cloud\x20Spanner\x20database\ + .\n\n\x0c\n\x05\x06\0\x02\x02\x01\x12\x03>\x06\x11\n\x0c\n\x05\x06\0\x02\ + \x02\x02\x12\x03>\x12$\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x03>/7\n\r\n\ + \x05\x06\0\x02\x02\x04\x12\x04?\x04A\x06\n\x10\n\x08\x06\0\x02\x02\x04\ + \xe7\x07\0\x12\x04?\x04A\x06\n\x10\n\t\x06\0\x02\x02\x04\xe7\x07\0\x02\ + \x12\x03?\x0b\x1c\n\x11\n\n\x06\0\x02\x02\x04\xe7\x07\0\x02\0\x12\x03?\ + \x0b\x1c\n\x12\n\x0b\x06\0\x02\x02\x04\xe7\x07\0\x02\0\x01\x12\x03?\x0c\ + \x1b\n\x11\n\t\x06\0\x02\x02\x04\xe7\x07\0\x08\x12\x04?\x1fA\x05\n\x8a\ + \x04\n\x04\x06\0\x02\x03\x12\x04K\x02P\x03\x1a\xfb\x03\x20Updates\x20the\ + \x20schema\x20of\x20a\x20Cloud\x20Spanner\x20database\x20by\n\x20creatin\ + g/altering/dropping\x20tables,\x20columns,\x20indexes,\x20etc.\x20The\ + \x20returned\n\x20[long-running\x20operation][google.longrunning.Operati\ + on]\x20will\x20have\x20a\x20name\x20of\n\x20the\x20format\x20`/operations/`\x20and\x20can\x20be\x20used\x20to\n\x20\ + track\x20execution\x20of\x20the\x20schema\x20change(s).\x20The\n\x20[met\ + adata][google.longrunning.Operation.metadata]\x20field\x20type\x20is\n\ + \x20[UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateD\ + atabaseDdlMetadata].\x20\x20The\x20operation\x20has\x20no\x20response.\n\ + \n\x0c\n\x05\x06\0\x02\x03\x01\x12\x03K\x06\x17\n\x0c\n\x05\x06\0\x02\ + \x03\x02\x12\x03K\x180\n\x0c\n\x05\x06\0\x02\x03\x03\x12\x03K;W\n\r\n\ + \x05\x06\0\x02\x03\x04\x12\x04L\x04O\x06\n\x10\n\x08\x06\0\x02\x03\x04\ + \xe7\x07\0\x12\x04L\x04O\x06\n\x10\n\t\x06\0\x02\x03\x04\xe7\x07\0\x02\ + \x12\x03L\x0b\x1c\n\x11\n\n\x06\0\x02\x03\x04\xe7\x07\0\x02\0\x12\x03L\ + \x0b\x1c\n\x12\n\x0b\x06\0\x02\x03\x04\xe7\x07\0\x02\0\x01\x12\x03L\x0c\ + \x1b\n\x11\n\t\x06\0\x02\x03\x04\xe7\x07\0\x08\x12\x04L\x1fO\x05\n=\n\ + \x04\x06\0\x02\x04\x12\x04S\x02W\x03\x1a/\x20Drops\x20(aka\x20deletes)\ + \x20a\x20Cloud\x20Spanner\x20database.\n\n\x0c\n\x05\x06\0\x02\x04\x01\ + \x12\x03S\x06\x12\n\x0c\n\x05\x06\0\x02\x04\x02\x12\x03S\x13&\n\x0c\n\ + \x05\x06\0\x02\x04\x03\x12\x03S1F\n\r\n\x05\x06\0\x02\x04\x04\x12\x04T\ + \x04V\x06\n\x10\n\x08\x06\0\x02\x04\x04\xe7\x07\0\x12\x04T\x04V\x06\n\ + \x10\n\t\x06\0\x02\x04\x04\xe7\x07\0\x02\x12\x03T\x0b\x1c\n\x11\n\n\x06\ + \0\x02\x04\x04\xe7\x07\0\x02\0\x12\x03T\x0b\x1c\n\x12\n\x0b\x06\0\x02\ + \x04\x04\xe7\x07\0\x02\0\x01\x12\x03T\x0c\x1b\n\x11\n\t\x06\0\x02\x04\ + \x04\xe7\x07\0\x08\x12\x04T\x1fV\x05\n\xea\x01\n\x04\x06\0\x02\x05\x12\ + \x04\\\x02`\x03\x1a\xdb\x01\x20Returns\x20the\x20schema\x20of\x20a\x20Cl\ + oud\x20Spanner\x20database\x20as\x20a\x20list\x20of\x20formatted\n\x20DD\ + L\x20statements.\x20This\x20method\x20does\x20not\x20show\x20pending\x20\ + schema\x20updates,\x20those\x20may\n\x20be\x20queried\x20using\x20the\ + \x20[Operations][google.longrunning.Operations]\x20API.\n\n\x0c\n\x05\ + \x06\0\x02\x05\x01\x12\x03\\\x06\x14\n\x0c\n\x05\x06\0\x02\x05\x02\x12\ + \x03\\\x15*\n\x0c\n\x05\x06\0\x02\x05\x03\x12\x03\\5K\n\r\n\x05\x06\0\ + \x02\x05\x04\x12\x04]\x04_\x06\n\x10\n\x08\x06\0\x02\x05\x04\xe7\x07\0\ + \x12\x04]\x04_\x06\n\x10\n\t\x06\0\x02\x05\x04\xe7\x07\0\x02\x12\x03]\ + \x0b\x1c\n\x11\n\n\x06\0\x02\x05\x04\xe7\x07\0\x02\0\x12\x03]\x0b\x1c\n\ + \x12\n\x0b\x06\0\x02\x05\x04\xe7\x07\0\x02\0\x01\x12\x03]\x0c\x1b\n\x11\ + \n\t\x06\0\x02\x05\x04\xe7\x07\0\x08\x12\x04]\x1f_\x05\n\xe7\x01\n\x04\ + \x06\0\x02\x06\x12\x04g\x02l\x03\x1a\xd8\x01\x20Sets\x20the\x20access\ + \x20control\x20policy\x20on\x20a\x20database\x20resource.\x20Replaces\ + \x20any\n\x20existing\x20policy.\n\n\x20Authorization\x20requires\x20`sp\ + anner.databases.setIamPolicy`\x20permission\x20on\n\x20[resource][google\ + .iam.v1.SetIamPolicyRequest.resource].\n\n\x0c\n\x05\x06\0\x02\x06\x01\ + \x12\x03g\x06\x12\n\x0c\n\x05\x06\0\x02\x06\x02\x12\x03g\x134\n\x0c\n\ + \x05\x06\0\x02\x06\x03\x12\x03g?S\n\r\n\x05\x06\0\x02\x06\x04\x12\x04h\ + \x04k\x06\n\x10\n\x08\x06\0\x02\x06\x04\xe7\x07\0\x12\x04h\x04k\x06\n\ + \x10\n\t\x06\0\x02\x06\x04\xe7\x07\0\x02\x12\x03h\x0b\x1c\n\x11\n\n\x06\ + \0\x02\x06\x04\xe7\x07\0\x02\0\x12\x03h\x0b\x1c\n\x12\n\x0b\x06\0\x02\ + \x06\x04\xe7\x07\0\x02\0\x01\x12\x03h\x0c\x1b\n\x11\n\t\x06\0\x02\x06\ + \x04\xe7\x07\0\x08\x12\x04h\x1fk\x05\n\x97\x02\n\x04\x06\0\x02\x07\x12\ + \x04s\x02x\x03\x1a\x88\x02\x20Gets\x20the\x20access\x20control\x20policy\ + \x20for\x20a\x20database\x20resource.\x20Returns\x20an\x20empty\n\x20pol\ + icy\x20if\x20a\x20database\x20exists\x20but\x20does\x20not\x20have\x20a\ + \x20policy\x20set.\n\n\x20Authorization\x20requires\x20`spanner.database\ + s.getIamPolicy`\x20permission\x20on\n\x20[resource][google.iam.v1.GetIam\ + PolicyRequest.resource].\n\n\x0c\n\x05\x06\0\x02\x07\x01\x12\x03s\x06\ + \x12\n\x0c\n\x05\x06\0\x02\x07\x02\x12\x03s\x134\n\x0c\n\x05\x06\0\x02\ + \x07\x03\x12\x03s?S\n\r\n\x05\x06\0\x02\x07\x04\x12\x04t\x04w\x06\n\x10\ + \n\x08\x06\0\x02\x07\x04\xe7\x07\0\x12\x04t\x04w\x06\n\x10\n\t\x06\0\x02\ + \x07\x04\xe7\x07\0\x02\x12\x03t\x0b\x1c\n\x11\n\n\x06\0\x02\x07\x04\xe7\ + \x07\0\x02\0\x12\x03t\x0b\x1c\n\x12\n\x0b\x06\0\x02\x07\x04\xe7\x07\0\ + \x02\0\x01\x12\x03t\x0c\x1b\n\x11\n\t\x06\0\x02\x07\x04\xe7\x07\0\x08\ + \x12\x04t\x1fw\x05\n\xce\x02\n\x04\x06\0\x02\x08\x12\x06\x80\x01\x02\x85\ + \x01\x03\x1a\xbd\x02\x20Returns\x20permissions\x20that\x20the\x20caller\ + \x20has\x20on\x20the\x20specified\x20database\x20resource.\n\n\x20Attemp\ + ting\x20this\x20RPC\x20on\x20a\x20non-existent\x20Cloud\x20Spanner\x20da\ + tabase\x20will\x20result\x20in\n\x20a\x20NOT_FOUND\x20error\x20if\x20the\ + \x20user\x20has\x20`spanner.databases.list`\x20permission\x20on\n\x20the\ + \x20containing\x20Cloud\x20Spanner\x20instance.\x20Otherwise\x20returns\ + \x20an\x20empty\x20set\x20of\n\x20permissions.\n\n\r\n\x05\x06\0\x02\x08\ + \x01\x12\x04\x80\x01\x06\x18\n\r\n\x05\x06\0\x02\x08\x02\x12\x04\x80\x01\ + \x19@\n\r\n\x05\x06\0\x02\x08\x03\x12\x04\x80\x01Ks\n\x0f\n\x05\x06\0\ + \x02\x08\x04\x12\x06\x81\x01\x04\x84\x01\x06\n\x12\n\x08\x06\0\x02\x08\ + \x04\xe7\x07\0\x12\x06\x81\x01\x04\x84\x01\x06\n\x11\n\t\x06\0\x02\x08\ + \x04\xe7\x07\0\x02\x12\x04\x81\x01\x0b\x1c\n\x12\n\n\x06\0\x02\x08\x04\ + \xe7\x07\0\x02\0\x12\x04\x81\x01\x0b\x1c\n\x13\n\x0b\x06\0\x02\x08\x04\ + \xe7\x07\0\x02\0\x01\x12\x04\x81\x01\x0c\x1b\n\x13\n\t\x06\0\x02\x08\x04\ + \xe7\x07\0\x08\x12\x06\x81\x01\x1f\x84\x01\x05\n)\n\x02\x04\0\x12\x06\ + \x89\x01\0\xa0\x01\x01\x1a\x1b\x20A\x20Cloud\x20Spanner\x20database.\n\n\ + \x0b\n\x03\x04\0\x01\x12\x04\x89\x01\x08\x10\n>\n\x04\x04\0\x04\0\x12\ + \x06\x8b\x01\x02\x95\x01\x03\x1a.\x20Indicates\x20the\x20current\x20stat\ + e\x20of\x20the\x20database.\n\n\r\n\x05\x04\0\x04\0\x01\x12\x04\x8b\x01\ + \x07\x0c\n\x20\n\x06\x04\0\x04\0\x02\0\x12\x04\x8d\x01\x04\x1a\x1a\x10\ + \x20Not\x20specified.\n\n\x0f\n\x07\x04\0\x04\0\x02\0\x01\x12\x04\x8d\ + \x01\x04\x15\n\x0f\n\x07\x04\0\x04\0\x02\0\x02\x12\x04\x8d\x01\x18\x19\n\ + \x85\x01\n\x06\x04\0\x04\0\x02\x01\x12\x04\x91\x01\x04\x11\x1au\x20The\ + \x20database\x20is\x20still\x20being\x20created.\x20Operations\x20on\x20\ + the\x20database\x20may\x20fail\n\x20with\x20`FAILED_PRECONDITION`\x20in\ + \x20this\x20state.\n\n\x0f\n\x07\x04\0\x04\0\x02\x01\x01\x12\x04\x91\x01\ + \x04\x0c\n\x0f\n\x07\x04\0\x04\0\x02\x01\x02\x12\x04\x91\x01\x0f\x10\nB\ + \n\x06\x04\0\x04\0\x02\x02\x12\x04\x94\x01\x04\x0e\x1a2\x20The\x20databa\ + se\x20is\x20fully\x20created\x20and\x20ready\x20for\x20use.\n\n\x0f\n\ + \x07\x04\0\x04\0\x02\x02\x01\x12\x04\x94\x01\x04\t\n\x0f\n\x07\x04\0\x04\ + \0\x02\x02\x02\x12\x04\x94\x01\x0c\r\n\x9d\x02\n\x04\x04\0\x02\0\x12\x04\ + \x9c\x01\x02\x12\x1a\x8e\x02\x20Required.\x20The\x20name\x20of\x20the\ + \x20database.\x20Values\x20are\x20of\x20the\x20form\n\x20`projects//instances//databases/`,\n\x20where\x20``\x20is\x20as\x20specified\x20in\x20the\x20`CREATE\x20DATABASE`\n\x20s\ + tatement.\x20This\x20name\x20can\x20be\x20passed\x20to\x20other\x20API\ + \x20methods\x20to\n\x20identify\x20the\x20database.\n\n\x0f\n\x05\x04\0\ + \x02\0\x04\x12\x06\x9c\x01\x02\x95\x01\x03\n\r\n\x05\x04\0\x02\0\x05\x12\ + \x04\x9c\x01\x02\x08\n\r\n\x05\x04\0\x02\0\x01\x12\x04\x9c\x01\t\r\n\r\n\ + \x05\x04\0\x02\0\x03\x12\x04\x9c\x01\x10\x11\n8\n\x04\x04\0\x02\x01\x12\ + \x04\x9f\x01\x02\x12\x1a*\x20Output\x20only.\x20The\x20current\x20databa\ + se\x20state.\n\n\x0f\n\x05\x04\0\x02\x01\x04\x12\x06\x9f\x01\x02\x9c\x01\ + \x12\n\r\n\x05\x04\0\x02\x01\x06\x12\x04\x9f\x01\x02\x07\n\r\n\x05\x04\0\ + \x02\x01\x01\x12\x04\x9f\x01\x08\r\n\r\n\x05\x04\0\x02\x01\x03\x12\x04\ + \x9f\x01\x10\x11\nn\n\x02\x04\x01\x12\x06\xa3\x01\0\xb0\x01\x01\x1a`\x20\ + The\x20request\x20for\x20[ListDatabases][google.spanner.admin.database.v\ + 1.DatabaseAdmin.ListDatabases].\n\n\x0b\n\x03\x04\x01\x01\x12\x04\xa3\ + \x01\x08\x1c\n\x8b\x01\n\x04\x04\x01\x02\0\x12\x04\xa6\x01\x02\x14\x1a}\ + \x20Required.\x20The\x20instance\x20whose\x20databases\x20should\x20be\ + \x20listed.\n\x20Values\x20are\x20of\x20the\x20form\x20`projects//instances/`.\n\n\x0f\n\x05\x04\x01\x02\0\x04\x12\x06\xa6\ + \x01\x02\xa3\x01\x1e\n\r\n\x05\x04\x01\x02\0\x05\x12\x04\xa6\x01\x02\x08\ + \n\r\n\x05\x04\x01\x02\0\x01\x12\x04\xa6\x01\t\x0f\n\r\n\x05\x04\x01\x02\ + \0\x03\x12\x04\xa6\x01\x12\x13\n\x86\x01\n\x04\x04\x01\x02\x01\x12\x04\ + \xaa\x01\x02\x16\x1ax\x20Number\x20of\x20databases\x20to\x20be\x20return\ + ed\x20in\x20the\x20response.\x20If\x200\x20or\x20less,\n\x20defaults\x20\ + to\x20the\x20server's\x20maximum\x20allowed\x20page\x20size.\n\n\x0f\n\ + \x05\x04\x01\x02\x01\x04\x12\x06\xaa\x01\x02\xa6\x01\x14\n\r\n\x05\x04\ + \x01\x02\x01\x05\x12\x04\xaa\x01\x02\x07\n\r\n\x05\x04\x01\x02\x01\x01\ + \x12\x04\xaa\x01\x08\x11\n\r\n\x05\x04\x01\x02\x01\x03\x12\x04\xaa\x01\ + \x14\x15\n\xf9\x01\n\x04\x04\x01\x02\x02\x12\x04\xaf\x01\x02\x18\x1a\xea\ + \x01\x20If\x20non-empty,\x20`page_token`\x20should\x20contain\x20a\n\x20\ + [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse\ + .next_page_token]\x20from\x20a\n\x20previous\x20[ListDatabasesResponse][\ + google.spanner.admin.database.v1.ListDatabasesResponse].\n\n\x0f\n\x05\ + \x04\x01\x02\x02\x04\x12\x06\xaf\x01\x02\xaa\x01\x16\n\r\n\x05\x04\x01\ + \x02\x02\x05\x12\x04\xaf\x01\x02\x08\n\r\n\x05\x04\x01\x02\x02\x01\x12\ + \x04\xaf\x01\t\x13\n\r\n\x05\x04\x01\x02\x02\x03\x12\x04\xaf\x01\x16\x17\ + \no\n\x02\x04\x02\x12\x06\xb3\x01\0\xbb\x01\x01\x1aa\x20The\x20response\ + \x20for\x20[ListDatabases][google.spanner.admin.database.v1.DatabaseAdmi\ + n.ListDatabases].\n\n\x0b\n\x03\x04\x02\x01\x12\x04\xb3\x01\x08\x1d\n3\n\ + \x04\x04\x02\x02\0\x12\x04\xb5\x01\x02\"\x1a%\x20Databases\x20that\x20ma\ + tched\x20the\x20request.\n\n\r\n\x05\x04\x02\x02\0\x04\x12\x04\xb5\x01\ + \x02\n\n\r\n\x05\x04\x02\x02\0\x06\x12\x04\xb5\x01\x0b\x13\n\r\n\x05\x04\ + \x02\x02\0\x01\x12\x04\xb5\x01\x14\x1d\n\r\n\x05\x04\x02\x02\0\x03\x12\ + \x04\xb5\x01\x20!\n\xbc\x01\n\x04\x04\x02\x02\x01\x12\x04\xba\x01\x02\ + \x1d\x1a\xad\x01\x20`next_page_token`\x20can\x20be\x20sent\x20in\x20a\ + \x20subsequent\n\x20[ListDatabases][google.spanner.admin.database.v1.Dat\ + abaseAdmin.ListDatabases]\x20call\x20to\x20fetch\x20more\n\x20of\x20the\ + \x20matching\x20databases.\n\n\x0f\n\x05\x04\x02\x02\x01\x04\x12\x06\xba\ + \x01\x02\xb5\x01\"\n\r\n\x05\x04\x02\x02\x01\x05\x12\x04\xba\x01\x02\x08\ + \n\r\n\x05\x04\x02\x02\x01\x01\x12\x04\xba\x01\t\x18\n\r\n\x05\x04\x02\ + \x02\x01\x03\x12\x04\xba\x01\x1b\x1c\np\n\x02\x04\x03\x12\x06\xbe\x01\0\ + \xcf\x01\x01\x1ab\x20The\x20request\x20for\x20[CreateDatabase][google.sp\ + anner.admin.database.v1.DatabaseAdmin.CreateDatabase].\n\n\x0b\n\x03\x04\ + \x03\x01\x12\x04\xbe\x01\x08\x1d\n\x98\x01\n\x04\x04\x03\x02\0\x12\x04\ + \xc1\x01\x02\x14\x1a\x89\x01\x20Required.\x20The\x20name\x20of\x20the\ + \x20instance\x20that\x20will\x20serve\x20the\x20new\x20database.\n\x20Va\ + lues\x20are\x20of\x20the\x20form\x20`projects//instances/`.\n\n\x0f\n\x05\x04\x03\x02\0\x04\x12\x06\xc1\x01\x02\xbe\x01\x1f\n\ + \r\n\x05\x04\x03\x02\0\x05\x12\x04\xc1\x01\x02\x08\n\r\n\x05\x04\x03\x02\ + \0\x01\x12\x04\xc1\x01\t\x0f\n\r\n\x05\x04\x03\x02\0\x03\x12\x04\xc1\x01\ + \x12\x13\n\xe6\x02\n\x04\x04\x03\x02\x01\x12\x04\xc8\x01\x02\x1e\x1a\xd7\ + \x02\x20Required.\x20A\x20`CREATE\x20DATABASE`\x20statement,\x20which\ + \x20specifies\x20the\x20ID\x20of\x20the\n\x20new\x20database.\x20\x20The\ + \x20database\x20ID\x20must\x20conform\x20to\x20the\x20regular\x20express\ + ion\n\x20`[a-z][a-z0-9_\\-]*[a-z0-9]`\x20and\x20be\x20between\x202\x20an\ + d\x2030\x20characters\x20in\x20length.\n\x20If\x20the\x20database\x20ID\ + \x20is\x20a\x20reserved\x20word\x20or\x20if\x20it\x20contains\x20a\x20hy\ + phen,\x20the\n\x20database\x20ID\x20must\x20be\x20enclosed\x20in\x20back\ + ticks\x20(``\x20`\x20``).\n\n\x0f\n\x05\x04\x03\x02\x01\x04\x12\x06\xc8\ + \x01\x02\xc1\x01\x14\n\r\n\x05\x04\x03\x02\x01\x05\x12\x04\xc8\x01\x02\ + \x08\n\r\n\x05\x04\x03\x02\x01\x01\x12\x04\xc8\x01\t\x19\n\r\n\x05\x04\ + \x03\x02\x01\x03\x12\x04\xc8\x01\x1c\x1d\n\x97\x02\n\x04\x04\x03\x02\x02\ + \x12\x04\xce\x01\x02'\x1a\x88\x02\x20An\x20optional\x20list\x20of\x20DDL\ + \x20statements\x20to\x20run\x20inside\x20the\x20newly\x20created\n\x20da\ + tabase.\x20Statements\x20can\x20create\x20tables,\x20indexes,\x20etc.\ + \x20These\n\x20statements\x20execute\x20atomically\x20with\x20the\x20cre\ + ation\x20of\x20the\x20database:\n\x20if\x20there\x20is\x20an\x20error\ + \x20in\x20any\x20statement,\x20the\x20database\x20is\x20not\x20created.\ + \n\n\r\n\x05\x04\x03\x02\x02\x04\x12\x04\xce\x01\x02\n\n\r\n\x05\x04\x03\ + \x02\x02\x05\x12\x04\xce\x01\x0b\x11\n\r\n\x05\x04\x03\x02\x02\x01\x12\ + \x04\xce\x01\x12\"\n\r\n\x05\x04\x03\x02\x02\x03\x12\x04\xce\x01%&\n\x8d\ + \x01\n\x02\x04\x04\x12\x06\xd3\x01\0\xd6\x01\x01\x1a\x7f\x20Metadata\x20\ + type\x20for\x20the\x20operation\x20returned\x20by\n\x20[CreateDatabase][\ + google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].\n\n\x0b\ + \n\x03\x04\x04\x01\x12\x04\xd3\x01\x08\x1e\n+\n\x04\x04\x04\x02\0\x12\ + \x04\xd5\x01\x02\x16\x1a\x1d\x20The\x20database\x20being\x20created.\n\n\ + \x0f\n\x05\x04\x04\x02\0\x04\x12\x06\xd5\x01\x02\xd3\x01\x20\n\r\n\x05\ + \x04\x04\x02\0\x05\x12\x04\xd5\x01\x02\x08\n\r\n\x05\x04\x04\x02\0\x01\ + \x12\x04\xd5\x01\t\x11\n\r\n\x05\x04\x04\x02\0\x03\x12\x04\xd5\x01\x14\ + \x15\nj\n\x02\x04\x05\x12\x06\xd9\x01\0\xdd\x01\x01\x1a\\\x20The\x20requ\ + est\x20for\x20[GetDatabase][google.spanner.admin.database.v1.DatabaseAdm\ + in.GetDatabase].\n\n\x0b\n\x03\x04\x05\x01\x12\x04\xd9\x01\x08\x1a\n\x96\ + \x01\n\x04\x04\x05\x02\0\x12\x04\xdc\x01\x02\x12\x1a\x87\x01\x20Required\ + .\x20The\x20name\x20of\x20the\x20requested\x20database.\x20Values\x20are\ + \x20of\x20the\x20form\n\x20`projects//instances//data\ + bases/`.\n\n\x0f\n\x05\x04\x05\x02\0\x04\x12\x06\xdc\x01\x02\ + \xd9\x01\x1c\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\xdc\x01\x02\x08\n\r\n\ + \x05\x04\x05\x02\0\x01\x12\x04\xdc\x01\t\r\n\r\n\x05\x04\x05\x02\0\x03\ + \x12\x04\xdc\x01\x10\x11\n\x99\x07\n\x02\x04\x06\x12\x06\xef\x01\0\x8a\ + \x02\x01\x1a\x8a\x07\x20Enqueues\x20the\x20given\x20DDL\x20statements\ + \x20to\x20be\x20applied,\x20in\x20order\x20but\x20not\n\x20necessarily\ \x20all\x20at\x20once,\x20to\x20the\x20database\x20schema\x20at\x20some\ \x20point\x20(or\n\x20points)\x20in\x20the\x20future.\x20The\x20server\ \x20checks\x20that\x20the\x20statements\n\x20are\x20executable\x20(synta\ @@ -2739,10 +2721,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin_grpc.rs index 6b8d47d89b..14d18252dd 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin_grpc.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin_grpc.rs @@ -287,7 +287,7 @@ pub fn create_database_admin(s: S) -> builder = builder.add_unary_handler(&METHOD_DATABASE_ADMIN_GET_IAM_POLICY, move |ctx, req, resp| { instance.get_iam_policy(ctx, req, resp) }); - let mut instance = s.clone(); + let mut instance = s; builder = builder.add_unary_handler(&METHOD_DATABASE_ADMIN_TEST_IAM_PERMISSIONS, move |ctx, req, resp| { instance.test_iam_permissions(ctx, req, resp) }); diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/mod.rs index 35feced3e5..a3d6379494 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/mod.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/mod.rs @@ -1,5 +1,5 @@ -pub mod spanner_instance_admin; pub mod spanner_instance_admin_grpc; +pub mod spanner_instance_admin; pub(crate) use crate::{ empty, diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin.rs index 674f7e1911..b50c528f8e 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct InstanceConfig { @@ -105,7 +105,7 @@ impl ::protobuf::Message for InstanceConfig { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -138,7 +138,7 @@ impl ::protobuf::Message for InstanceConfig { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -161,13 +161,13 @@ impl ::protobuf::Message for InstanceConfig { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -180,10 +180,7 @@ impl ::protobuf::Message for InstanceConfig { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -207,10 +204,7 @@ impl ::protobuf::Message for InstanceConfig { } fn default_instance() -> &'static InstanceConfig { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const InstanceConfig, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(InstanceConfig::new) } @@ -226,14 +220,14 @@ impl ::protobuf::Clear for InstanceConfig { } impl ::std::fmt::Debug for InstanceConfig { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for InstanceConfig { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -401,7 +395,7 @@ impl ::protobuf::Message for Instance { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -460,7 +454,7 @@ impl ::protobuf::Message for Instance { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -493,13 +487,13 @@ impl ::protobuf::Message for Instance { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -512,10 +506,7 @@ impl ::protobuf::Message for Instance { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -559,10 +550,7 @@ impl ::protobuf::Message for Instance { } fn default_instance() -> &'static Instance { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Instance, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Instance::new) } @@ -582,14 +570,14 @@ impl ::protobuf::Clear for Instance { } impl ::std::fmt::Debug for Instance { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Instance { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -624,10 +612,7 @@ impl ::protobuf::ProtobufEnum for Instance_State { } fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { ::protobuf::reflect::EnumDescriptor::new("Instance_State", file_descriptor_proto()) @@ -646,8 +631,8 @@ impl ::std::default::Default for Instance_State { } impl ::protobuf::reflect::ProtobufValue for Instance_State { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor()) } } @@ -746,7 +731,7 @@ impl ::protobuf::Message for ListInstanceConfigsRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -789,7 +774,7 @@ impl ::protobuf::Message for ListInstanceConfigsRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.parent.is_empty() { os.write_string(1, &self.parent)?; } @@ -815,13 +800,13 @@ impl ::protobuf::Message for ListInstanceConfigsRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -834,10 +819,7 @@ impl ::protobuf::Message for ListInstanceConfigsRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -866,10 +848,7 @@ impl ::protobuf::Message for ListInstanceConfigsRequest { } fn default_instance() -> &'static ListInstanceConfigsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListInstanceConfigsRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ListInstanceConfigsRequest::new) } @@ -886,14 +865,14 @@ impl ::protobuf::Clear for ListInstanceConfigsRequest { } impl ::std::fmt::Debug for ListInstanceConfigsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ListInstanceConfigsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -980,7 +959,7 @@ impl ::protobuf::Message for ListInstanceConfigsResponse { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1014,7 +993,7 @@ impl ::protobuf::Message for ListInstanceConfigsResponse { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.instance_configs { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -1039,13 +1018,13 @@ impl ::protobuf::Message for ListInstanceConfigsResponse { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1058,10 +1037,7 @@ impl ::protobuf::Message for ListInstanceConfigsResponse { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1085,10 +1061,7 @@ impl ::protobuf::Message for ListInstanceConfigsResponse { } fn default_instance() -> &'static ListInstanceConfigsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListInstanceConfigsResponse, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ListInstanceConfigsResponse::new) } @@ -1104,14 +1077,14 @@ impl ::protobuf::Clear for ListInstanceConfigsResponse { } impl ::std::fmt::Debug for ListInstanceConfigsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ListInstanceConfigsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1167,7 +1140,7 @@ impl ::protobuf::Message for GetInstanceConfigRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1194,7 +1167,7 @@ impl ::protobuf::Message for GetInstanceConfigRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -1214,13 +1187,13 @@ impl ::protobuf::Message for GetInstanceConfigRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1233,10 +1206,7 @@ impl ::protobuf::Message for GetInstanceConfigRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1255,10 +1225,7 @@ impl ::protobuf::Message for GetInstanceConfigRequest { } fn default_instance() -> &'static GetInstanceConfigRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetInstanceConfigRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(GetInstanceConfigRequest::new) } @@ -1273,14 +1240,14 @@ impl ::protobuf::Clear for GetInstanceConfigRequest { } impl ::std::fmt::Debug for GetInstanceConfigRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for GetInstanceConfigRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1336,7 +1303,7 @@ impl ::protobuf::Message for GetInstanceRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1363,7 +1330,7 @@ impl ::protobuf::Message for GetInstanceRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -1383,13 +1350,13 @@ impl ::protobuf::Message for GetInstanceRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1402,10 +1369,7 @@ impl ::protobuf::Message for GetInstanceRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1424,10 +1388,7 @@ impl ::protobuf::Message for GetInstanceRequest { } fn default_instance() -> &'static GetInstanceRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetInstanceRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(GetInstanceRequest::new) } @@ -1442,14 +1403,14 @@ impl ::protobuf::Clear for GetInstanceRequest { } impl ::std::fmt::Debug for GetInstanceRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for GetInstanceRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1571,7 +1532,7 @@ impl ::protobuf::Message for CreateInstanceRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1611,7 +1572,7 @@ impl ::protobuf::Message for CreateInstanceRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.parent.is_empty() { os.write_string(1, &self.parent)?; } @@ -1639,13 +1600,13 @@ impl ::protobuf::Message for CreateInstanceRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1658,10 +1619,7 @@ impl ::protobuf::Message for CreateInstanceRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1690,10 +1648,7 @@ impl ::protobuf::Message for CreateInstanceRequest { } fn default_instance() -> &'static CreateInstanceRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateInstanceRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(CreateInstanceRequest::new) } @@ -1710,14 +1665,14 @@ impl ::protobuf::Clear for CreateInstanceRequest { } impl ::std::fmt::Debug for CreateInstanceRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for CreateInstanceRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1843,7 +1798,7 @@ impl ::protobuf::Message for ListInstancesRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1892,7 +1847,7 @@ impl ::protobuf::Message for ListInstancesRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.parent.is_empty() { os.write_string(1, &self.parent)?; } @@ -1921,13 +1876,13 @@ impl ::protobuf::Message for ListInstancesRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1940,10 +1895,7 @@ impl ::protobuf::Message for ListInstancesRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1977,10 +1929,7 @@ impl ::protobuf::Message for ListInstancesRequest { } fn default_instance() -> &'static ListInstancesRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListInstancesRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ListInstancesRequest::new) } @@ -1998,14 +1947,14 @@ impl ::protobuf::Clear for ListInstancesRequest { } impl ::std::fmt::Debug for ListInstancesRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ListInstancesRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2092,7 +2041,7 @@ impl ::protobuf::Message for ListInstancesResponse { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2126,7 +2075,7 @@ impl ::protobuf::Message for ListInstancesResponse { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.instances { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -2151,13 +2100,13 @@ impl ::protobuf::Message for ListInstancesResponse { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2170,10 +2119,7 @@ impl ::protobuf::Message for ListInstancesResponse { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2197,10 +2143,7 @@ impl ::protobuf::Message for ListInstancesResponse { } fn default_instance() -> &'static ListInstancesResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListInstancesResponse, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ListInstancesResponse::new) } @@ -2216,14 +2159,14 @@ impl ::protobuf::Clear for ListInstancesResponse { } impl ::std::fmt::Debug for ListInstancesResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ListInstancesResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2330,7 +2273,7 @@ impl ::protobuf::Message for UpdateInstanceRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2365,7 +2308,7 @@ impl ::protobuf::Message for UpdateInstanceRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let Some(ref v) = self.instance.as_ref() { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -2392,13 +2335,13 @@ impl ::protobuf::Message for UpdateInstanceRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2411,10 +2354,7 @@ impl ::protobuf::Message for UpdateInstanceRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2438,10 +2378,7 @@ impl ::protobuf::Message for UpdateInstanceRequest { } fn default_instance() -> &'static UpdateInstanceRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateInstanceRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(UpdateInstanceRequest::new) } @@ -2457,14 +2394,14 @@ impl ::protobuf::Clear for UpdateInstanceRequest { } impl ::std::fmt::Debug for UpdateInstanceRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for UpdateInstanceRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2520,7 +2457,7 @@ impl ::protobuf::Message for DeleteInstanceRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2547,7 +2484,7 @@ impl ::protobuf::Message for DeleteInstanceRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -2567,13 +2504,13 @@ impl ::protobuf::Message for DeleteInstanceRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2586,10 +2523,7 @@ impl ::protobuf::Message for DeleteInstanceRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2608,10 +2542,7 @@ impl ::protobuf::Message for DeleteInstanceRequest { } fn default_instance() -> &'static DeleteInstanceRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteInstanceRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(DeleteInstanceRequest::new) } @@ -2626,14 +2557,14 @@ impl ::protobuf::Clear for DeleteInstanceRequest { } impl ::std::fmt::Debug for DeleteInstanceRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for DeleteInstanceRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2818,7 +2749,7 @@ impl ::protobuf::Message for CreateInstanceMetadata { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2867,7 +2798,7 @@ impl ::protobuf::Message for CreateInstanceMetadata { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let Some(ref v) = self.instance.as_ref() { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -2904,13 +2835,13 @@ impl ::protobuf::Message for CreateInstanceMetadata { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2923,10 +2854,7 @@ impl ::protobuf::Message for CreateInstanceMetadata { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2960,10 +2888,7 @@ impl ::protobuf::Message for CreateInstanceMetadata { } fn default_instance() -> &'static CreateInstanceMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateInstanceMetadata, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(CreateInstanceMetadata::new) } @@ -2981,14 +2906,14 @@ impl ::protobuf::Clear for CreateInstanceMetadata { } impl ::std::fmt::Debug for CreateInstanceMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for CreateInstanceMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -3173,7 +3098,7 @@ impl ::protobuf::Message for UpdateInstanceMetadata { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -3222,7 +3147,7 @@ impl ::protobuf::Message for UpdateInstanceMetadata { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let Some(ref v) = self.instance.as_ref() { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -3259,13 +3184,13 @@ impl ::protobuf::Message for UpdateInstanceMetadata { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -3278,10 +3203,7 @@ impl ::protobuf::Message for UpdateInstanceMetadata { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -3315,10 +3237,7 @@ impl ::protobuf::Message for UpdateInstanceMetadata { } fn default_instance() -> &'static UpdateInstanceMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const UpdateInstanceMetadata, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(UpdateInstanceMetadata::new) } @@ -3336,14 +3255,14 @@ impl ::protobuf::Clear for UpdateInstanceMetadata { } impl ::std::fmt::Debug for UpdateInstanceMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for UpdateInstanceMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -3428,7 +3347,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ :\x01*B\xdf\x01\n$com.google.spanner.admin.instance.v1B\x19SpannerInstan\ ceAdminProtoP\x01ZHgoogle.golang.org/genproto/googleapis/spanner/admin/i\ nstance/v1;instance\xaa\x02&Google.Cloud.Spanner.Admin.Instance.V1\xca\ - \x02&Google\\Cloud\\Spanner\\Admin\\Instance\\V1J\xa6\x9b\x01\n\x07\x12\ + \x02&Google\\Cloud\\Spanner\\Admin\\Instance\\V1J\x9b\xa4\x01\n\x07\x12\ \x05\x0e\0\xda\x03\x01\n\xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\ \x20Copyright\x202018\x20Google\x20LLC\n\n\x20Licensed\x20under\x20the\ \x20Apache\x20License,\x20Version\x202.0\x20(the\x20\"License\");\n\x20y\ @@ -3442,185 +3361,241 @@ static file_descriptor_proto_data: &'static [u8] = b"\ NY\x20KIND,\x20either\x20express\x20or\x20implied.\n\x20See\x20the\x20Li\ cense\x20for\x20the\x20specific\x20language\x20governing\x20permissions\ \x20and\n\x20limitations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\ - \x12\x03\x10\0)\n\t\n\x02\x03\0\x12\x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\ - \x13\0(\n\t\n\x02\x03\x02\x12\x03\x14\0$\n\t\n\x02\x03\x03\x12\x03\x15\0\ - -\n\t\n\x02\x03\x04\x12\x03\x16\0%\n\t\n\x02\x03\x05\x12\x03\x17\0*\n\t\ - \n\x02\x03\x06\x12\x03\x18\0)\n\x08\n\x01\x08\x12\x03\x1a\0C\n\t\n\x02\ - \x08%\x12\x03\x1a\0C\n\x08\n\x01\x08\x12\x03\x1b\0_\n\t\n\x02\x08\x0b\ - \x12\x03\x1b\0_\n\x08\n\x01\x08\x12\x03\x1c\0\"\n\t\n\x02\x08\n\x12\x03\ - \x1c\0\"\n\x08\n\x01\x08\x12\x03\x1d\0:\n\t\n\x02\x08\x08\x12\x03\x1d\0:\ - \n\x08\n\x01\x08\x12\x03\x1e\0=\n\t\n\x02\x08\x01\x12\x03\x1e\0=\n\x08\n\ - \x01\x08\x12\x03\x1f\0E\n\t\n\x02\x08)\x12\x03\x1f\0E\n\xdd\x08\n\x02\ - \x06\0\x12\x057\0\xe1\x01\x01\x1a\xcf\x08\x20Cloud\x20Spanner\x20Instanc\ - e\x20Admin\x20API\n\n\x20The\x20Cloud\x20Spanner\x20Instance\x20Admin\ - \x20API\x20can\x20be\x20used\x20to\x20create,\x20delete,\n\x20modify\x20\ - and\x20list\x20instances.\x20Instances\x20are\x20dedicated\x20Cloud\x20S\ - panner\x20serving\n\x20and\x20storage\x20resources\x20to\x20be\x20used\ - \x20by\x20Cloud\x20Spanner\x20databases.\n\n\x20Each\x20instance\x20has\ - \x20a\x20\"configuration\",\x20which\x20dictates\x20where\x20the\n\x20se\ - rving\x20resources\x20for\x20the\x20Cloud\x20Spanner\x20instance\x20are\ - \x20located\x20(e.g.,\n\x20US-central,\x20Europe).\x20Configurations\x20\ - are\x20created\x20by\x20Google\x20based\x20on\n\x20resource\x20availabil\ - ity.\n\n\x20Cloud\x20Spanner\x20billing\x20is\x20based\x20on\x20the\x20i\ - nstances\x20that\x20exist\x20and\x20their\n\x20sizes.\x20After\x20an\x20\ - instance\x20exists,\x20there\x20are\x20no\x20additional\n\x20per-databas\ - e\x20or\x20per-operation\x20charges\x20for\x20use\x20of\x20the\x20instan\ - ce\n\x20(though\x20there\x20may\x20be\x20additional\x20network\x20bandwi\ - dth\x20charges).\n\x20Instances\x20offer\x20isolation:\x20problems\x20wi\ - th\x20databases\x20in\x20one\x20instance\n\x20will\x20not\x20affect\x20o\ - ther\x20instances.\x20However,\x20within\x20an\x20instance\n\x20database\ - s\x20can\x20affect\x20each\x20other.\x20For\x20example,\x20if\x20one\x20\ - database\x20in\x20an\n\x20instance\x20receives\x20a\x20lot\x20of\x20requ\ - ests\x20and\x20consumes\x20most\x20of\x20the\n\x20instance\x20resources,\ - \x20fewer\x20resources\x20are\x20available\x20for\x20other\n\x20database\ - s\x20in\x20that\x20instance,\x20and\x20their\x20performance\x20may\x20su\ - ffer.\n\n\n\n\x03\x06\0\x01\x12\x037\x08\x15\nP\n\x04\x06\0\x02\0\x12\ - \x049\x02=\x03\x1aB\x20Lists\x20the\x20supported\x20instance\x20configur\ - ations\x20for\x20a\x20given\x20project.\n\n\x0c\n\x05\x06\0\x02\0\x01\ - \x12\x039\x06\x19\n\x0c\n\x05\x06\0\x02\0\x02\x12\x039\x1a4\n\x0c\n\x05\ - \x06\0\x02\0\x03\x12\x039?Z\n\r\n\x05\x06\0\x02\0\x04\x12\x04:\x04<\x06\ - \n\x11\n\t\x06\0\x02\0\x04\xb0\xca\xbc\"\x12\x04:\x04<\x06\nK\n\x04\x06\ - \0\x02\x01\x12\x04@\x02D\x03\x1a=\x20Gets\x20information\x20about\x20a\ - \x20particular\x20instance\x20configuration.\n\n\x0c\n\x05\x06\0\x02\x01\ - \x01\x12\x03@\x06\x17\n\x0c\n\x05\x06\0\x02\x01\x02\x12\x03@\x180\n\x0c\ - \n\x05\x06\0\x02\x01\x03\x12\x03@;I\n\r\n\x05\x06\0\x02\x01\x04\x12\x04A\ - \x04C\x06\n\x11\n\t\x06\0\x02\x01\x04\xb0\xca\xbc\"\x12\x04A\x04C\x06\n9\ - \n\x04\x06\0\x02\x02\x12\x04G\x02K\x03\x1a+\x20Lists\x20all\x20instances\ - \x20in\x20the\x20given\x20project.\n\n\x0c\n\x05\x06\0\x02\x02\x01\x12\ - \x03G\x06\x13\n\x0c\n\x05\x06\0\x02\x02\x02\x12\x03G\x14(\n\x0c\n\x05\ - \x06\0\x02\x02\x03\x12\x03G3H\n\r\n\x05\x06\0\x02\x02\x04\x12\x04H\x04J\ - \x06\n\x11\n\t\x06\0\x02\x02\x04\xb0\xca\xbc\"\x12\x04H\x04J\x06\n=\n\ - \x04\x06\0\x02\x03\x12\x04N\x02R\x03\x1a/\x20Gets\x20information\x20abou\ - t\x20a\x20particular\x20instance.\n\n\x0c\n\x05\x06\0\x02\x03\x01\x12\ - \x03N\x06\x11\n\x0c\n\x05\x06\0\x02\x03\x02\x12\x03N\x12$\n\x0c\n\x05\ - \x06\0\x02\x03\x03\x12\x03N/7\n\r\n\x05\x06\0\x02\x03\x04\x12\x04O\x04Q\ - \x06\n\x11\n\t\x06\0\x02\x03\x04\xb0\xca\xbc\"\x12\x04O\x04Q\x06\n\xa8\ - \x0c\n\x04\x06\0\x02\x04\x12\x04v\x02{\x03\x1a\x99\x0c\x20Creates\x20an\ - \x20instance\x20and\x20begins\x20preparing\x20it\x20to\x20begin\x20servi\ - ng.\x20The\n\x20returned\x20[long-running\x20operation][google.longrunni\ - ng.Operation]\n\x20can\x20be\x20used\x20to\x20track\x20the\x20progress\ - \x20of\x20preparing\x20the\x20new\n\x20instance.\x20The\x20instance\x20n\ - ame\x20is\x20assigned\x20by\x20the\x20caller.\x20If\x20the\n\x20named\ - \x20instance\x20already\x20exists,\x20`CreateInstance`\x20returns\n\x20`\ - ALREADY_EXISTS`.\n\n\x20Immediately\x20upon\x20completion\x20of\x20this\ - \x20request:\n\n\x20\x20\x20*\x20The\x20instance\x20is\x20readable\x20vi\ - a\x20the\x20API,\x20with\x20all\x20requested\x20attributes\n\x20\x20\x20\ - \x20\x20but\x20no\x20allocated\x20resources.\x20Its\x20state\x20is\x20`C\ - REATING`.\n\n\x20Until\x20completion\x20of\x20the\x20returned\x20operati\ - on:\n\n\x20\x20\x20*\x20Cancelling\x20the\x20operation\x20renders\x20the\ - \x20instance\x20immediately\x20unreadable\n\x20\x20\x20\x20\x20via\x20th\ - e\x20API.\n\x20\x20\x20*\x20The\x20instance\x20can\x20be\x20deleted.\n\ - \x20\x20\x20*\x20All\x20other\x20attempts\x20to\x20modify\x20the\x20inst\ - ance\x20are\x20rejected.\n\n\x20Upon\x20completion\x20of\x20the\x20retur\ - ned\x20operation:\n\n\x20\x20\x20*\x20Billing\x20for\x20all\x20successfu\ - lly-allocated\x20resources\x20begins\x20(some\x20types\n\x20\x20\x20\x20\ + \x12\x03\x10\x08(\n\t\n\x02\x03\0\x12\x03\x12\x07%\n\t\n\x02\x03\x01\x12\ + \x03\x13\x07'\n\t\n\x02\x03\x02\x12\x03\x14\x07#\n\t\n\x02\x03\x03\x12\ + \x03\x15\x07,\n\t\n\x02\x03\x04\x12\x03\x16\x07$\n\t\n\x02\x03\x05\x12\ + \x03\x17\x07)\n\t\n\x02\x03\x06\x12\x03\x18\x07(\n\x08\n\x01\x08\x12\x03\ + \x1a\0C\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x1a\0C\n\x0c\n\x05\x08\xe7\x07\ + \0\x02\x12\x03\x1a\x07\x17\n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\x1a\x07\ + \x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x1a\x07\x17\n\x0c\n\x05\ + \x08\xe7\x07\0\x07\x12\x03\x1a\x1aB\n\x08\n\x01\x08\x12\x03\x1b\0_\n\x0b\ + \n\x04\x08\xe7\x07\x01\x12\x03\x1b\0_\n\x0c\n\x05\x08\xe7\x07\x01\x02\ + \x12\x03\x1b\x07\x11\n\r\n\x06\x08\xe7\x07\x01\x02\0\x12\x03\x1b\x07\x11\ + \n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\x1b\x07\x11\n\x0c\n\x05\ + \x08\xe7\x07\x01\x07\x12\x03\x1b\x14^\n\x08\n\x01\x08\x12\x03\x1c\0\"\n\ + \x0b\n\x04\x08\xe7\x07\x02\x12\x03\x1c\0\"\n\x0c\n\x05\x08\xe7\x07\x02\ + \x02\x12\x03\x1c\x07\x1a\n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03\x1c\x07\ + \x1a\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\x03\x1c\x07\x1a\n\x0c\n\ + \x05\x08\xe7\x07\x02\x03\x12\x03\x1c\x1d!\n\x08\n\x01\x08\x12\x03\x1d\0:\ + \n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x1d\0:\n\x0c\n\x05\x08\xe7\x07\x03\ + \x02\x12\x03\x1d\x07\x1b\n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03\x1d\x07\ + \x1b\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\x03\x1d\x07\x1b\n\x0c\n\ + \x05\x08\xe7\x07\x03\x07\x12\x03\x1d\x1e9\n\x08\n\x01\x08\x12\x03\x1e\0=\ + \n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x1e\0=\n\x0c\n\x05\x08\xe7\x07\x04\ + \x02\x12\x03\x1e\x07\x13\n\r\n\x06\x08\xe7\x07\x04\x02\0\x12\x03\x1e\x07\ + \x13\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\x03\x1e\x07\x13\n\x0c\n\ + \x05\x08\xe7\x07\x04\x07\x12\x03\x1e\x16<\n\x08\n\x01\x08\x12\x03\x1f\0E\ + \n\x0b\n\x04\x08\xe7\x07\x05\x12\x03\x1f\0E\n\x0c\n\x05\x08\xe7\x07\x05\ + \x02\x12\x03\x1f\x07\x14\n\r\n\x06\x08\xe7\x07\x05\x02\0\x12\x03\x1f\x07\ + \x14\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\x03\x1f\x07\x14\n\x0c\n\ + \x05\x08\xe7\x07\x05\x07\x12\x03\x1f\x17D\n\xdd\x08\n\x02\x06\0\x12\x057\ + \0\xe1\x01\x01\x1a\xcf\x08\x20Cloud\x20Spanner\x20Instance\x20Admin\x20A\ + PI\n\n\x20The\x20Cloud\x20Spanner\x20Instance\x20Admin\x20API\x20can\x20\ + be\x20used\x20to\x20create,\x20delete,\n\x20modify\x20and\x20list\x20ins\ + tances.\x20Instances\x20are\x20dedicated\x20Cloud\x20Spanner\x20serving\ + \n\x20and\x20storage\x20resources\x20to\x20be\x20used\x20by\x20Cloud\x20\ + Spanner\x20databases.\n\n\x20Each\x20instance\x20has\x20a\x20\"configura\ + tion\",\x20which\x20dictates\x20where\x20the\n\x20serving\x20resources\ + \x20for\x20the\x20Cloud\x20Spanner\x20instance\x20are\x20located\x20(e.g\ + .,\n\x20US-central,\x20Europe).\x20Configurations\x20are\x20created\x20b\ + y\x20Google\x20based\x20on\n\x20resource\x20availability.\n\n\x20Cloud\ + \x20Spanner\x20billing\x20is\x20based\x20on\x20the\x20instances\x20that\ + \x20exist\x20and\x20their\n\x20sizes.\x20After\x20an\x20instance\x20exis\ + ts,\x20there\x20are\x20no\x20additional\n\x20per-database\x20or\x20per-o\ + peration\x20charges\x20for\x20use\x20of\x20the\x20instance\n\x20(though\ + \x20there\x20may\x20be\x20additional\x20network\x20bandwidth\x20charges)\ + .\n\x20Instances\x20offer\x20isolation:\x20problems\x20with\x20databases\ + \x20in\x20one\x20instance\n\x20will\x20not\x20affect\x20other\x20instanc\ + es.\x20However,\x20within\x20an\x20instance\n\x20databases\x20can\x20aff\ + ect\x20each\x20other.\x20For\x20example,\x20if\x20one\x20database\x20in\ + \x20an\n\x20instance\x20receives\x20a\x20lot\x20of\x20requests\x20and\ + \x20consumes\x20most\x20of\x20the\n\x20instance\x20resources,\x20fewer\ + \x20resources\x20are\x20available\x20for\x20other\n\x20databases\x20in\ + \x20that\x20instance,\x20and\x20their\x20performance\x20may\x20suffer.\n\ + \n\n\n\x03\x06\0\x01\x12\x037\x08\x15\nP\n\x04\x06\0\x02\0\x12\x049\x02=\ + \x03\x1aB\x20Lists\x20the\x20supported\x20instance\x20configurations\x20\ + for\x20a\x20given\x20project.\n\n\x0c\n\x05\x06\0\x02\0\x01\x12\x039\x06\ + \x19\n\x0c\n\x05\x06\0\x02\0\x02\x12\x039\x1a4\n\x0c\n\x05\x06\0\x02\0\ + \x03\x12\x039?Z\n\r\n\x05\x06\0\x02\0\x04\x12\x04:\x04<\x06\n\x10\n\x08\ + \x06\0\x02\0\x04\xe7\x07\0\x12\x04:\x04<\x06\n\x10\n\t\x06\0\x02\0\x04\ + \xe7\x07\0\x02\x12\x03:\x0b\x1c\n\x11\n\n\x06\0\x02\0\x04\xe7\x07\0\x02\ + \0\x12\x03:\x0b\x1c\n\x12\n\x0b\x06\0\x02\0\x04\xe7\x07\0\x02\0\x01\x12\ + \x03:\x0c\x1b\n\x11\n\t\x06\0\x02\0\x04\xe7\x07\0\x08\x12\x04:\x1f<\x05\ + \nK\n\x04\x06\0\x02\x01\x12\x04@\x02D\x03\x1a=\x20Gets\x20information\ + \x20about\x20a\x20particular\x20instance\x20configuration.\n\n\x0c\n\x05\ + \x06\0\x02\x01\x01\x12\x03@\x06\x17\n\x0c\n\x05\x06\0\x02\x01\x02\x12\ + \x03@\x180\n\x0c\n\x05\x06\0\x02\x01\x03\x12\x03@;I\n\r\n\x05\x06\0\x02\ + \x01\x04\x12\x04A\x04C\x06\n\x10\n\x08\x06\0\x02\x01\x04\xe7\x07\0\x12\ + \x04A\x04C\x06\n\x10\n\t\x06\0\x02\x01\x04\xe7\x07\0\x02\x12\x03A\x0b\ + \x1c\n\x11\n\n\x06\0\x02\x01\x04\xe7\x07\0\x02\0\x12\x03A\x0b\x1c\n\x12\ + \n\x0b\x06\0\x02\x01\x04\xe7\x07\0\x02\0\x01\x12\x03A\x0c\x1b\n\x11\n\t\ + \x06\0\x02\x01\x04\xe7\x07\0\x08\x12\x04A\x1fC\x05\n9\n\x04\x06\0\x02\ + \x02\x12\x04G\x02K\x03\x1a+\x20Lists\x20all\x20instances\x20in\x20the\ + \x20given\x20project.\n\n\x0c\n\x05\x06\0\x02\x02\x01\x12\x03G\x06\x13\n\ + \x0c\n\x05\x06\0\x02\x02\x02\x12\x03G\x14(\n\x0c\n\x05\x06\0\x02\x02\x03\ + \x12\x03G3H\n\r\n\x05\x06\0\x02\x02\x04\x12\x04H\x04J\x06\n\x10\n\x08\ + \x06\0\x02\x02\x04\xe7\x07\0\x12\x04H\x04J\x06\n\x10\n\t\x06\0\x02\x02\ + \x04\xe7\x07\0\x02\x12\x03H\x0b\x1c\n\x11\n\n\x06\0\x02\x02\x04\xe7\x07\ + \0\x02\0\x12\x03H\x0b\x1c\n\x12\n\x0b\x06\0\x02\x02\x04\xe7\x07\0\x02\0\ + \x01\x12\x03H\x0c\x1b\n\x11\n\t\x06\0\x02\x02\x04\xe7\x07\0\x08\x12\x04H\ + \x1fJ\x05\n=\n\x04\x06\0\x02\x03\x12\x04N\x02R\x03\x1a/\x20Gets\x20infor\ + mation\x20about\x20a\x20particular\x20instance.\n\n\x0c\n\x05\x06\0\x02\ + \x03\x01\x12\x03N\x06\x11\n\x0c\n\x05\x06\0\x02\x03\x02\x12\x03N\x12$\n\ + \x0c\n\x05\x06\0\x02\x03\x03\x12\x03N/7\n\r\n\x05\x06\0\x02\x03\x04\x12\ + \x04O\x04Q\x06\n\x10\n\x08\x06\0\x02\x03\x04\xe7\x07\0\x12\x04O\x04Q\x06\ + \n\x10\n\t\x06\0\x02\x03\x04\xe7\x07\0\x02\x12\x03O\x0b\x1c\n\x11\n\n\ + \x06\0\x02\x03\x04\xe7\x07\0\x02\0\x12\x03O\x0b\x1c\n\x12\n\x0b\x06\0\ + \x02\x03\x04\xe7\x07\0\x02\0\x01\x12\x03O\x0c\x1b\n\x11\n\t\x06\0\x02\ + \x03\x04\xe7\x07\0\x08\x12\x04O\x1fQ\x05\n\xa8\x0c\n\x04\x06\0\x02\x04\ + \x12\x04v\x02{\x03\x1a\x99\x0c\x20Creates\x20an\x20instance\x20and\x20be\ + gins\x20preparing\x20it\x20to\x20begin\x20serving.\x20The\n\x20returned\ + \x20[long-running\x20operation][google.longrunning.Operation]\n\x20can\ + \x20be\x20used\x20to\x20track\x20the\x20progress\x20of\x20preparing\x20t\ + he\x20new\n\x20instance.\x20The\x20instance\x20name\x20is\x20assigned\ + \x20by\x20the\x20caller.\x20If\x20the\n\x20named\x20instance\x20already\ + \x20exists,\x20`CreateInstance`\x20returns\n\x20`ALREADY_EXISTS`.\n\n\ + \x20Immediately\x20upon\x20completion\x20of\x20this\x20request:\n\n\x20\ + \x20\x20*\x20The\x20instance\x20is\x20readable\x20via\x20the\x20API,\x20\ + with\x20all\x20requested\x20attributes\n\x20\x20\x20\x20\x20but\x20no\ + \x20allocated\x20resources.\x20Its\x20state\x20is\x20`CREATING`.\n\n\x20\ + Until\x20completion\x20of\x20the\x20returned\x20operation:\n\n\x20\x20\ + \x20*\x20Cancelling\x20the\x20operation\x20renders\x20the\x20instance\ + \x20immediately\x20unreadable\n\x20\x20\x20\x20\x20via\x20the\x20API.\n\ + \x20\x20\x20*\x20The\x20instance\x20can\x20be\x20deleted.\n\x20\x20\x20*\ + \x20All\x20other\x20attempts\x20to\x20modify\x20the\x20instance\x20are\ + \x20rejected.\n\n\x20Upon\x20completion\x20of\x20the\x20returned\x20oper\ + ation:\n\n\x20\x20\x20*\x20Billing\x20for\x20all\x20successfully-allocat\ + ed\x20resources\x20begins\x20(some\x20types\n\x20\x20\x20\x20\x20may\x20\ + have\x20lower\x20than\x20the\x20requested\x20levels).\n\x20\x20\x20*\x20\ + Databases\x20can\x20be\x20created\x20in\x20the\x20instance.\n\x20\x20\ + \x20*\x20The\x20instance's\x20allocated\x20resource\x20levels\x20are\x20\ + readable\x20via\x20the\x20API.\n\x20\x20\x20*\x20The\x20instance's\x20st\ + ate\x20becomes\x20`READY`.\n\n\x20The\x20returned\x20[long-running\x20op\ + eration][google.longrunning.Operation]\x20will\n\x20have\x20a\x20name\ + \x20of\x20the\x20format\x20`/operations/`\ + \x20and\n\x20can\x20be\x20used\x20to\x20track\x20creation\x20of\x20the\ + \x20instance.\x20\x20The\n\x20[metadata][google.longrunning.Operation.me\ + tadata]\x20field\x20type\x20is\n\x20[CreateInstanceMetadata][google.span\ + ner.admin.instance.v1.CreateInstanceMetadata].\n\x20The\x20[response][go\ + ogle.longrunning.Operation.response]\x20field\x20type\x20is\n\x20[Instan\ + ce][google.spanner.admin.instance.v1.Instance],\x20if\x20successful.\n\n\ + \x0c\n\x05\x06\0\x02\x04\x01\x12\x03v\x06\x14\n\x0c\n\x05\x06\0\x02\x04\ + \x02\x12\x03v\x15*\n\x0c\n\x05\x06\0\x02\x04\x03\x12\x03v5Q\n\r\n\x05\ + \x06\0\x02\x04\x04\x12\x04w\x04z\x06\n\x10\n\x08\x06\0\x02\x04\x04\xe7\ + \x07\0\x12\x04w\x04z\x06\n\x10\n\t\x06\0\x02\x04\x04\xe7\x07\0\x02\x12\ + \x03w\x0b\x1c\n\x11\n\n\x06\0\x02\x04\x04\xe7\x07\0\x02\0\x12\x03w\x0b\ + \x1c\n\x12\n\x0b\x06\0\x02\x04\x04\xe7\x07\0\x02\0\x01\x12\x03w\x0c\x1b\ + \n\x11\n\t\x06\0\x02\x04\x04\xe7\x07\0\x08\x12\x04w\x1fz\x05\n\xb8\x0f\n\ + \x04\x06\0\x02\x05\x12\x06\xa5\x01\x02\xaa\x01\x03\x1a\xa7\x0f\x20Update\ + s\x20an\x20instance,\x20and\x20begins\x20allocating\x20or\x20releasing\ + \x20resources\n\x20as\x20requested.\x20The\x20returned\x20[long-running\ + \n\x20operation][google.longrunning.Operation]\x20can\x20be\x20used\x20t\ + o\x20track\x20the\n\x20progress\x20of\x20updating\x20the\x20instance.\ + \x20If\x20the\x20named\x20instance\x20does\x20not\n\x20exist,\x20returns\ + \x20`NOT_FOUND`.\n\n\x20Immediately\x20upon\x20completion\x20of\x20this\ + \x20request:\n\n\x20\x20\x20*\x20For\x20resource\x20types\x20for\x20whic\ + h\x20a\x20decrease\x20in\x20the\x20instance's\x20allocation\n\x20\x20\ + \x20\x20\x20has\x20been\x20requested,\x20billing\x20is\x20based\x20on\ + \x20the\x20newly-requested\x20level.\n\n\x20Until\x20completion\x20of\ + \x20the\x20returned\x20operation:\n\n\x20\x20\x20*\x20Cancelling\x20the\ + \x20operation\x20sets\x20its\x20metadata's\n\x20\x20\x20\x20\x20[cancel_\ + time][google.spanner.admin.instance.v1.UpdateInstanceMetadata.cancel_tim\ + e],\x20and\x20begins\n\x20\x20\x20\x20\x20restoring\x20resources\x20to\ + \x20their\x20pre-request\x20values.\x20The\x20operation\n\x20\x20\x20\ + \x20\x20is\x20guaranteed\x20to\x20succeed\x20at\x20undoing\x20all\x20res\ + ource\x20changes,\n\x20\x20\x20\x20\x20after\x20which\x20point\x20it\x20\ + terminates\x20with\x20a\x20`CANCELLED`\x20status.\n\x20\x20\x20*\x20All\ + \x20other\x20attempts\x20to\x20modify\x20the\x20instance\x20are\x20rejec\ + ted.\n\x20\x20\x20*\x20Reading\x20the\x20instance\x20via\x20the\x20API\ + \x20continues\x20to\x20give\x20the\x20pre-request\n\x20\x20\x20\x20\x20r\ + esource\x20levels.\n\n\x20Upon\x20completion\x20of\x20the\x20returned\ + \x20operation:\n\n\x20\x20\x20*\x20Billing\x20begins\x20for\x20all\x20su\ + ccessfully-allocated\x20resources\x20(some\x20types\n\x20\x20\x20\x20\ \x20may\x20have\x20lower\x20than\x20the\x20requested\x20levels).\n\x20\ - \x20\x20*\x20Databases\x20can\x20be\x20created\x20in\x20the\x20instance.\ - \n\x20\x20\x20*\x20The\x20instance's\x20allocated\x20resource\x20levels\ - \x20are\x20readable\x20via\x20the\x20API.\n\x20\x20\x20*\x20The\x20insta\ - nce's\x20state\x20becomes\x20`READY`.\n\n\x20The\x20returned\x20[long-ru\ - nning\x20operation][google.longrunning.Operation]\x20will\n\x20have\x20a\ - \x20name\x20of\x20the\x20format\x20`/operations/`\x20and\n\x20can\x20be\x20used\x20to\x20track\x20creation\x20of\ - \x20the\x20instance.\x20\x20The\n\x20[metadata][google.longrunning.Opera\ - tion.metadata]\x20field\x20type\x20is\n\x20[CreateInstanceMetadata][goog\ - le.spanner.admin.instance.v1.CreateInstanceMetadata].\n\x20The\x20[respo\ - nse][google.longrunning.Operation.response]\x20field\x20type\x20is\n\x20\ - [Instance][google.spanner.admin.instance.v1.Instance],\x20if\x20successf\ - ul.\n\n\x0c\n\x05\x06\0\x02\x04\x01\x12\x03v\x06\x14\n\x0c\n\x05\x06\0\ - \x02\x04\x02\x12\x03v\x15*\n\x0c\n\x05\x06\0\x02\x04\x03\x12\x03v5Q\n\r\ - \n\x05\x06\0\x02\x04\x04\x12\x04w\x04z\x06\n\x11\n\t\x06\0\x02\x04\x04\ - \xb0\xca\xbc\"\x12\x04w\x04z\x06\n\xb8\x0f\n\x04\x06\0\x02\x05\x12\x06\ - \xa5\x01\x02\xaa\x01\x03\x1a\xa7\x0f\x20Updates\x20an\x20instance,\x20an\ - d\x20begins\x20allocating\x20or\x20releasing\x20resources\n\x20as\x20req\ - uested.\x20The\x20returned\x20[long-running\n\x20operation][google.longr\ - unning.Operation]\x20can\x20be\x20used\x20to\x20track\x20the\n\x20progre\ - ss\x20of\x20updating\x20the\x20instance.\x20If\x20the\x20named\x20instan\ - ce\x20does\x20not\n\x20exist,\x20returns\x20`NOT_FOUND`.\n\n\x20Immediat\ - ely\x20upon\x20completion\x20of\x20this\x20request:\n\n\x20\x20\x20*\x20\ - For\x20resource\x20types\x20for\x20which\x20a\x20decrease\x20in\x20the\ - \x20instance's\x20allocation\n\x20\x20\x20\x20\x20has\x20been\x20request\ - ed,\x20billing\x20is\x20based\x20on\x20the\x20newly-requested\x20level.\ - \n\n\x20Until\x20completion\x20of\x20the\x20returned\x20operation:\n\n\ - \x20\x20\x20*\x20Cancelling\x20the\x20operation\x20sets\x20its\x20metada\ - ta's\n\x20\x20\x20\x20\x20[cancel_time][google.spanner.admin.instance.v1\ - .UpdateInstanceMetadata.cancel_time],\x20and\x20begins\n\x20\x20\x20\x20\ - \x20restoring\x20resources\x20to\x20their\x20pre-request\x20values.\x20T\ - he\x20operation\n\x20\x20\x20\x20\x20is\x20guaranteed\x20to\x20succeed\ - \x20at\x20undoing\x20all\x20resource\x20changes,\n\x20\x20\x20\x20\x20af\ - ter\x20which\x20point\x20it\x20terminates\x20with\x20a\x20`CANCELLED`\ - \x20status.\n\x20\x20\x20*\x20All\x20other\x20attempts\x20to\x20modify\ - \x20the\x20instance\x20are\x20rejected.\n\x20\x20\x20*\x20Reading\x20the\ - \x20instance\x20via\x20the\x20API\x20continues\x20to\x20give\x20the\x20p\ - re-request\n\x20\x20\x20\x20\x20resource\x20levels.\n\n\x20Upon\x20compl\ - etion\x20of\x20the\x20returned\x20operation:\n\n\x20\x20\x20*\x20Billing\ - \x20begins\x20for\x20all\x20successfully-allocated\x20resources\x20(some\ - \x20types\n\x20\x20\x20\x20\x20may\x20have\x20lower\x20than\x20the\x20re\ - quested\x20levels).\n\x20\x20\x20*\x20All\x20newly-reserved\x20resources\ - \x20are\x20available\x20for\x20serving\x20the\x20instance's\n\x20\x20\ - \x20\x20\x20tables.\n\x20\x20\x20*\x20The\x20instance's\x20new\x20resour\ - ce\x20levels\x20are\x20readable\x20via\x20the\x20API.\n\n\x20The\x20retu\ - rned\x20[long-running\x20operation][google.longrunning.Operation]\x20wil\ - l\n\x20have\x20a\x20name\x20of\x20the\x20format\x20`/oper\ - ations/`\x20and\n\x20can\x20be\x20used\x20to\x20track\x20t\ - he\x20instance\x20modification.\x20\x20The\n\x20[metadata][google.longru\ - nning.Operation.metadata]\x20field\x20type\x20is\n\x20[UpdateInstanceMet\ - adata][google.spanner.admin.instance.v1.UpdateInstanceMetadata].\n\x20Th\ - e\x20[response][google.longrunning.Operation.response]\x20field\x20type\ - \x20is\n\x20[Instance][google.spanner.admin.instance.v1.Instance],\x20if\ - \x20successful.\n\n\x20Authorization\x20requires\x20`spanner.instances.u\ - pdate`\x20permission\x20on\n\x20resource\x20[name][google.spanner.admin.\ - instance.v1.Instance.name].\n\n\r\n\x05\x06\0\x02\x05\x01\x12\x04\xa5\ - \x01\x06\x14\n\r\n\x05\x06\0\x02\x05\x02\x12\x04\xa5\x01\x15*\n\r\n\x05\ - \x06\0\x02\x05\x03\x12\x04\xa5\x015Q\n\x0f\n\x05\x06\0\x02\x05\x04\x12\ - \x06\xa6\x01\x04\xa9\x01\x06\n\x13\n\t\x06\0\x02\x05\x04\xb0\xca\xbc\"\ - \x12\x06\xa6\x01\x04\xa9\x01\x06\n\xc8\x02\n\x04\x06\0\x02\x06\x12\x06\ - \xb7\x01\x02\xbb\x01\x03\x1a\xb7\x02\x20Deletes\x20an\x20instance.\n\n\ - \x20Immediately\x20upon\x20completion\x20of\x20the\x20request:\n\n\x20\ - \x20\x20*\x20Billing\x20ceases\x20for\x20all\x20of\x20the\x20instance's\ - \x20reserved\x20resources.\n\n\x20Soon\x20afterward:\n\n\x20\x20\x20*\ - \x20The\x20instance\x20and\x20*all\x20of\x20its\x20databases*\x20immedia\ - tely\x20and\n\x20\x20\x20\x20\x20irrevocably\x20disappear\x20from\x20the\ - \x20API.\x20All\x20data\x20in\x20the\x20databases\n\x20\x20\x20\x20\x20i\ - s\x20permanently\x20deleted.\n\n\r\n\x05\x06\0\x02\x06\x01\x12\x04\xb7\ - \x01\x06\x14\n\r\n\x05\x06\0\x02\x06\x02\x12\x04\xb7\x01\x15*\n\r\n\x05\ - \x06\0\x02\x06\x03\x12\x04\xb7\x015J\n\x0f\n\x05\x06\0\x02\x06\x04\x12\ - \x06\xb8\x01\x04\xba\x01\x06\n\x13\n\t\x06\0\x02\x06\x04\xb0\xca\xbc\"\ - \x12\x06\xb8\x01\x04\xba\x01\x06\n\xdf\x01\n\x04\x06\0\x02\x07\x12\x06\ - \xc2\x01\x02\xc7\x01\x03\x1a\xce\x01\x20Sets\x20the\x20access\x20control\ - \x20policy\x20on\x20an\x20instance\x20resource.\x20Replaces\x20any\n\x20\ - existing\x20policy.\n\n\x20Authorization\x20requires\x20`spanner.instanc\ - es.setIamPolicy`\x20on\n\x20[resource][google.iam.v1.SetIamPolicyRequest\ - .resource].\n\n\r\n\x05\x06\0\x02\x07\x01\x12\x04\xc2\x01\x06\x12\n\r\n\ - \x05\x06\0\x02\x07\x02\x12\x04\xc2\x01\x134\n\r\n\x05\x06\0\x02\x07\x03\ - \x12\x04\xc2\x01?S\n\x0f\n\x05\x06\0\x02\x07\x04\x12\x06\xc3\x01\x04\xc6\ - \x01\x06\n\x13\n\t\x06\0\x02\x07\x04\xb0\xca\xbc\"\x12\x06\xc3\x01\x04\ - \xc6\x01\x06\n\x90\x02\n\x04\x06\0\x02\x08\x12\x06\xce\x01\x02\xd3\x01\ - \x03\x1a\xff\x01\x20Gets\x20the\x20access\x20control\x20policy\x20for\ - \x20an\x20instance\x20resource.\x20Returns\x20an\x20empty\n\x20policy\ - \x20if\x20an\x20instance\x20exists\x20but\x20does\x20not\x20have\x20a\ - \x20policy\x20set.\n\n\x20Authorization\x20requires\x20`spanner.instance\ - s.getIamPolicy`\x20on\n\x20[resource][google.iam.v1.GetIamPolicyRequest.\ - resource].\n\n\r\n\x05\x06\0\x02\x08\x01\x12\x04\xce\x01\x06\x12\n\r\n\ - \x05\x06\0\x02\x08\x02\x12\x04\xce\x01\x134\n\r\n\x05\x06\0\x02\x08\x03\ - \x12\x04\xce\x01?S\n\x0f\n\x05\x06\0\x02\x08\x04\x12\x06\xcf\x01\x04\xd2\ - \x01\x06\n\x13\n\t\x06\0\x02\x08\x04\xb0\xca\xbc\"\x12\x06\xcf\x01\x04\ - \xd2\x01\x06\n\xd5\x02\n\x04\x06\0\x02\t\x12\x06\xdb\x01\x02\xe0\x01\x03\ - \x1a\xc4\x02\x20Returns\x20permissions\x20that\x20the\x20caller\x20has\ - \x20on\x20the\x20specified\x20instance\x20resource.\n\n\x20Attempting\ - \x20this\x20RPC\x20on\x20a\x20non-existent\x20Cloud\x20Spanner\x20instan\ - ce\x20resource\x20will\n\x20result\x20in\x20a\x20NOT_FOUND\x20error\x20i\ - f\x20the\x20user\x20has\x20`spanner.instances.list`\n\x20permission\x20o\ - n\x20the\x20containing\x20Google\x20Cloud\x20Project.\x20Otherwise\x20re\ - turns\x20an\n\x20empty\x20set\x20of\x20permissions.\n\n\r\n\x05\x06\0\ - \x02\t\x01\x12\x04\xdb\x01\x06\x18\n\r\n\x05\x06\0\x02\t\x02\x12\x04\xdb\ - \x01\x19@\n\r\n\x05\x06\0\x02\t\x03\x12\x04\xdb\x01Ks\n\x0f\n\x05\x06\0\ - \x02\t\x04\x12\x06\xdc\x01\x04\xdf\x01\x06\n\x13\n\t\x06\0\x02\t\x04\xb0\ - \xca\xbc\"\x12\x06\xdc\x01\x04\xdf\x01\x06\n\x97\x01\n\x02\x04\0\x12\x06\ - \xe5\x01\0\xed\x01\x01\x1a\x88\x01\x20A\x20possible\x20configuration\x20\ - for\x20a\x20Cloud\x20Spanner\x20instance.\x20Configurations\n\x20define\ - \x20the\x20geographic\x20placement\x20of\x20nodes\x20and\x20their\x20rep\ - lication.\n\n\x0b\n\x03\x04\0\x01\x12\x04\xe5\x01\x08\x16\n\x93\x01\n\ + \x20\x20*\x20All\x20newly-reserved\x20resources\x20are\x20available\x20f\ + or\x20serving\x20the\x20instance's\n\x20\x20\x20\x20\x20tables.\n\x20\ + \x20\x20*\x20The\x20instance's\x20new\x20resource\x20levels\x20are\x20re\ + adable\x20via\x20the\x20API.\n\n\x20The\x20returned\x20[long-running\x20\ + operation][google.longrunning.Operation]\x20will\n\x20have\x20a\x20name\ + \x20of\x20the\x20format\x20`/operations/`\ + \x20and\n\x20can\x20be\x20used\x20to\x20track\x20the\x20instance\x20modi\ + fication.\x20\x20The\n\x20[metadata][google.longrunning.Operation.metada\ + ta]\x20field\x20type\x20is\n\x20[UpdateInstanceMetadata][google.spanner.\ + admin.instance.v1.UpdateInstanceMetadata].\n\x20The\x20[response][google\ + .longrunning.Operation.response]\x20field\x20type\x20is\n\x20[Instance][\ + google.spanner.admin.instance.v1.Instance],\x20if\x20successful.\n\n\x20\ + Authorization\x20requires\x20`spanner.instances.update`\x20permission\ + \x20on\n\x20resource\x20[name][google.spanner.admin.instance.v1.Instance\ + .name].\n\n\r\n\x05\x06\0\x02\x05\x01\x12\x04\xa5\x01\x06\x14\n\r\n\x05\ + \x06\0\x02\x05\x02\x12\x04\xa5\x01\x15*\n\r\n\x05\x06\0\x02\x05\x03\x12\ + \x04\xa5\x015Q\n\x0f\n\x05\x06\0\x02\x05\x04\x12\x06\xa6\x01\x04\xa9\x01\ + \x06\n\x12\n\x08\x06\0\x02\x05\x04\xe7\x07\0\x12\x06\xa6\x01\x04\xa9\x01\ + \x06\n\x11\n\t\x06\0\x02\x05\x04\xe7\x07\0\x02\x12\x04\xa6\x01\x0b\x1c\n\ + \x12\n\n\x06\0\x02\x05\x04\xe7\x07\0\x02\0\x12\x04\xa6\x01\x0b\x1c\n\x13\ + \n\x0b\x06\0\x02\x05\x04\xe7\x07\0\x02\0\x01\x12\x04\xa6\x01\x0c\x1b\n\ + \x13\n\t\x06\0\x02\x05\x04\xe7\x07\0\x08\x12\x06\xa6\x01\x1f\xa9\x01\x05\ + \n\xc8\x02\n\x04\x06\0\x02\x06\x12\x06\xb7\x01\x02\xbb\x01\x03\x1a\xb7\ + \x02\x20Deletes\x20an\x20instance.\n\n\x20Immediately\x20upon\x20complet\ + ion\x20of\x20the\x20request:\n\n\x20\x20\x20*\x20Billing\x20ceases\x20fo\ + r\x20all\x20of\x20the\x20instance's\x20reserved\x20resources.\n\n\x20Soo\ + n\x20afterward:\n\n\x20\x20\x20*\x20The\x20instance\x20and\x20*all\x20of\ + \x20its\x20databases*\x20immediately\x20and\n\x20\x20\x20\x20\x20irrevoc\ + ably\x20disappear\x20from\x20the\x20API.\x20All\x20data\x20in\x20the\x20\ + databases\n\x20\x20\x20\x20\x20is\x20permanently\x20deleted.\n\n\r\n\x05\ + \x06\0\x02\x06\x01\x12\x04\xb7\x01\x06\x14\n\r\n\x05\x06\0\x02\x06\x02\ + \x12\x04\xb7\x01\x15*\n\r\n\x05\x06\0\x02\x06\x03\x12\x04\xb7\x015J\n\ + \x0f\n\x05\x06\0\x02\x06\x04\x12\x06\xb8\x01\x04\xba\x01\x06\n\x12\n\x08\ + \x06\0\x02\x06\x04\xe7\x07\0\x12\x06\xb8\x01\x04\xba\x01\x06\n\x11\n\t\ + \x06\0\x02\x06\x04\xe7\x07\0\x02\x12\x04\xb8\x01\x0b\x1c\n\x12\n\n\x06\0\ + \x02\x06\x04\xe7\x07\0\x02\0\x12\x04\xb8\x01\x0b\x1c\n\x13\n\x0b\x06\0\ + \x02\x06\x04\xe7\x07\0\x02\0\x01\x12\x04\xb8\x01\x0c\x1b\n\x13\n\t\x06\0\ + \x02\x06\x04\xe7\x07\0\x08\x12\x06\xb8\x01\x1f\xba\x01\x05\n\xdf\x01\n\ + \x04\x06\0\x02\x07\x12\x06\xc2\x01\x02\xc7\x01\x03\x1a\xce\x01\x20Sets\ + \x20the\x20access\x20control\x20policy\x20on\x20an\x20instance\x20resour\ + ce.\x20Replaces\x20any\n\x20existing\x20policy.\n\n\x20Authorization\x20\ + requires\x20`spanner.instances.setIamPolicy`\x20on\n\x20[resource][googl\ + e.iam.v1.SetIamPolicyRequest.resource].\n\n\r\n\x05\x06\0\x02\x07\x01\ + \x12\x04\xc2\x01\x06\x12\n\r\n\x05\x06\0\x02\x07\x02\x12\x04\xc2\x01\x13\ + 4\n\r\n\x05\x06\0\x02\x07\x03\x12\x04\xc2\x01?S\n\x0f\n\x05\x06\0\x02\ + \x07\x04\x12\x06\xc3\x01\x04\xc6\x01\x06\n\x12\n\x08\x06\0\x02\x07\x04\ + \xe7\x07\0\x12\x06\xc3\x01\x04\xc6\x01\x06\n\x11\n\t\x06\0\x02\x07\x04\ + \xe7\x07\0\x02\x12\x04\xc3\x01\x0b\x1c\n\x12\n\n\x06\0\x02\x07\x04\xe7\ + \x07\0\x02\0\x12\x04\xc3\x01\x0b\x1c\n\x13\n\x0b\x06\0\x02\x07\x04\xe7\ + \x07\0\x02\0\x01\x12\x04\xc3\x01\x0c\x1b\n\x13\n\t\x06\0\x02\x07\x04\xe7\ + \x07\0\x08\x12\x06\xc3\x01\x1f\xc6\x01\x05\n\x90\x02\n\x04\x06\0\x02\x08\ + \x12\x06\xce\x01\x02\xd3\x01\x03\x1a\xff\x01\x20Gets\x20the\x20access\ + \x20control\x20policy\x20for\x20an\x20instance\x20resource.\x20Returns\ + \x20an\x20empty\n\x20policy\x20if\x20an\x20instance\x20exists\x20but\x20\ + does\x20not\x20have\x20a\x20policy\x20set.\n\n\x20Authorization\x20requi\ + res\x20`spanner.instances.getIamPolicy`\x20on\n\x20[resource][google.iam\ + .v1.GetIamPolicyRequest.resource].\n\n\r\n\x05\x06\0\x02\x08\x01\x12\x04\ + \xce\x01\x06\x12\n\r\n\x05\x06\0\x02\x08\x02\x12\x04\xce\x01\x134\n\r\n\ + \x05\x06\0\x02\x08\x03\x12\x04\xce\x01?S\n\x0f\n\x05\x06\0\x02\x08\x04\ + \x12\x06\xcf\x01\x04\xd2\x01\x06\n\x12\n\x08\x06\0\x02\x08\x04\xe7\x07\0\ + \x12\x06\xcf\x01\x04\xd2\x01\x06\n\x11\n\t\x06\0\x02\x08\x04\xe7\x07\0\ + \x02\x12\x04\xcf\x01\x0b\x1c\n\x12\n\n\x06\0\x02\x08\x04\xe7\x07\0\x02\0\ + \x12\x04\xcf\x01\x0b\x1c\n\x13\n\x0b\x06\0\x02\x08\x04\xe7\x07\0\x02\0\ + \x01\x12\x04\xcf\x01\x0c\x1b\n\x13\n\t\x06\0\x02\x08\x04\xe7\x07\0\x08\ + \x12\x06\xcf\x01\x1f\xd2\x01\x05\n\xd5\x02\n\x04\x06\0\x02\t\x12\x06\xdb\ + \x01\x02\xe0\x01\x03\x1a\xc4\x02\x20Returns\x20permissions\x20that\x20th\ + e\x20caller\x20has\x20on\x20the\x20specified\x20instance\x20resource.\n\ + \n\x20Attempting\x20this\x20RPC\x20on\x20a\x20non-existent\x20Cloud\x20S\ + panner\x20instance\x20resource\x20will\n\x20result\x20in\x20a\x20NOT_FOU\ + ND\x20error\x20if\x20the\x20user\x20has\x20`spanner.instances.list`\n\ + \x20permission\x20on\x20the\x20containing\x20Google\x20Cloud\x20Project.\ + \x20Otherwise\x20returns\x20an\n\x20empty\x20set\x20of\x20permissions.\n\ + \n\r\n\x05\x06\0\x02\t\x01\x12\x04\xdb\x01\x06\x18\n\r\n\x05\x06\0\x02\t\ + \x02\x12\x04\xdb\x01\x19@\n\r\n\x05\x06\0\x02\t\x03\x12\x04\xdb\x01Ks\n\ + \x0f\n\x05\x06\0\x02\t\x04\x12\x06\xdc\x01\x04\xdf\x01\x06\n\x12\n\x08\ + \x06\0\x02\t\x04\xe7\x07\0\x12\x06\xdc\x01\x04\xdf\x01\x06\n\x11\n\t\x06\ + \0\x02\t\x04\xe7\x07\0\x02\x12\x04\xdc\x01\x0b\x1c\n\x12\n\n\x06\0\x02\t\ + \x04\xe7\x07\0\x02\0\x12\x04\xdc\x01\x0b\x1c\n\x13\n\x0b\x06\0\x02\t\x04\ + \xe7\x07\0\x02\0\x01\x12\x04\xdc\x01\x0c\x1b\n\x13\n\t\x06\0\x02\t\x04\ + \xe7\x07\0\x08\x12\x06\xdc\x01\x1f\xdf\x01\x05\n\x97\x01\n\x02\x04\0\x12\ + \x06\xe5\x01\0\xed\x01\x01\x1a\x88\x01\x20A\x20possible\x20configuration\ + \x20for\x20a\x20Cloud\x20Spanner\x20instance.\x20Configurations\n\x20def\ + ine\x20the\x20geographic\x20placement\x20of\x20nodes\x20and\x20their\x20\ + replication.\n\n\x0b\n\x03\x04\0\x01\x12\x04\xe5\x01\x08\x16\n\x93\x01\n\ \x04\x04\0\x02\0\x12\x04\xe9\x01\x02\x12\x1a\x84\x01\x20A\x20unique\x20i\ dentifier\x20for\x20the\x20instance\x20configuration.\x20\x20Values\n\ \x20are\x20of\x20the\x20form\n\x20`projects//instanceConfigs/[a\ @@ -3959,10 +3934,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \xd9\x03'(b\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin_grpc.rs index 09e0789ebd..b44dea3d30 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin_grpc.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin_grpc.rs @@ -315,7 +315,7 @@ pub fn create_instance_admin(s: S) -> builder = builder.add_unary_handler(&METHOD_INSTANCE_ADMIN_GET_IAM_POLICY, move |ctx, req, resp| { instance.get_iam_policy(ctx, req, resp) }); - let mut instance = s.clone(); + let mut instance = s; builder = builder.add_unary_handler(&METHOD_INSTANCE_ADMIN_TEST_IAM_PERMISSIONS, move |ctx, req, resp| { instance.test_iam_permissions(ctx, req, resp) }); diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/keys.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/keys.rs index bb3550c0d3..5d76c7586a 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/keys.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/keys.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -22,9 +22,9 @@ use protobuf::Message as Message_imported_for_functions; use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; -/// Generated files are compatible only with the same version -/// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// Generated files are compatible only with the same version +// of protobuf runtime. +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct KeyRange { @@ -281,7 +281,7 @@ impl ::protobuf::Message for KeyRange { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -350,7 +350,7 @@ impl ::protobuf::Message for KeyRange { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let ::std::option::Option::Some(ref v) = self.start_key_type { match v { &KeyRange_oneof_start_key_type::start_closed(ref v) => { @@ -395,13 +395,13 @@ impl ::protobuf::Message for KeyRange { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -414,10 +414,7 @@ impl ::protobuf::Message for KeyRange { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -451,10 +448,7 @@ impl ::protobuf::Message for KeyRange { } fn default_instance() -> &'static KeyRange { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const KeyRange, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(KeyRange::new) } @@ -472,14 +466,14 @@ impl ::protobuf::Clear for KeyRange { } impl ::std::fmt::Debug for KeyRange { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for KeyRange { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -586,7 +580,7 @@ impl ::protobuf::Message for KeySet { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -631,7 +625,7 @@ impl ::protobuf::Message for KeySet { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.keys { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -661,13 +655,13 @@ impl ::protobuf::Message for KeySet { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -680,10 +674,7 @@ impl ::protobuf::Message for KeySet { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -712,10 +703,7 @@ impl ::protobuf::Message for KeySet { } fn default_instance() -> &'static KeySet { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const KeySet, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(KeySet::new) } @@ -732,14 +720,14 @@ impl ::protobuf::Clear for KeySet { } impl ::std::fmt::Debug for KeySet { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for KeySet { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -757,7 +745,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ .v1.KeyRangeR\x06ranges\x12\x10\n\x03all\x18\x03\x20\x01(\x08R\x03allB\ \x92\x01\n\x15com.google.spanner.v1B\tKeysProtoP\x01Z8google.golang.org/\ genproto/googleapis/spanner/v1;spanner\xaa\x02\x17Google.Cloud.Spanner.V\ - 1\xca\x02\x17Google\\Cloud\\Spanner\\V1J\x82,\n\x07\x12\x05\x0e\0\xa2\ + 1\xca\x02\x17Google\\Cloud\\Spanner\\V1J\xf0.\n\x07\x12\x05\x0e\0\xa2\ \x01\x01\n\xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x20\ 2018\x20Google\x20LLC\n\n\x20Licensed\x20under\x20the\x20Apache\x20Licen\ se,\x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\ @@ -770,142 +758,158 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20e\ ither\x20express\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20\ the\x20specific\x20language\x20governing\x20permissions\x20and\n\x20limi\ - tations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0\x1a\ - \n\t\n\x02\x03\0\x12\x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\0&\n\x08\n\ - \x01\x08\x12\x03\x15\04\n\t\n\x02\x08%\x12\x03\x15\04\n\x08\n\x01\x08\ - \x12\x03\x16\0O\n\t\n\x02\x08\x0b\x12\x03\x16\0O\n\x08\n\x01\x08\x12\x03\ - \x17\0\"\n\t\n\x02\x08\n\x12\x03\x17\0\"\n\x08\n\x01\x08\x12\x03\x18\0*\ - \n\t\n\x02\x08\x08\x12\x03\x18\0*\n\x08\n\x01\x08\x12\x03\x19\0.\n\t\n\ - \x02\x08\x01\x12\x03\x19\0.\n\x08\n\x01\x08\x12\x03\x1a\04\n\t\n\x02\x08\ - )\x12\x03\x1a\04\n\xb4\x15\n\x02\x04\0\x12\x05t\0\x8a\x01\x01\x1a\xa6\ - \x15\x20KeyRange\x20represents\x20a\x20range\x20of\x20rows\x20in\x20a\ - \x20table\x20or\x20index.\n\n\x20A\x20range\x20has\x20a\x20start\x20key\ - \x20and\x20an\x20end\x20key.\x20These\x20keys\x20can\x20be\x20open\x20or\ - \n\x20closed,\x20indicating\x20if\x20the\x20range\x20includes\x20rows\ - \x20with\x20that\x20key.\n\n\x20Keys\x20are\x20represented\x20by\x20list\ - s,\x20where\x20the\x20ith\x20value\x20in\x20the\x20list\n\x20corresponds\ - \x20to\x20the\x20ith\x20component\x20of\x20the\x20table\x20or\x20index\ - \x20primary\x20key.\n\x20Individual\x20values\x20are\x20encoded\x20as\ - \x20described\x20[here][google.spanner.v1.TypeCode].\n\n\x20For\x20examp\ - le,\x20consider\x20the\x20following\x20table\x20definition:\n\n\x20\x20\ - \x20\x20\x20CREATE\x20TABLE\x20UserEvents\x20(\n\x20\x20\x20\x20\x20\x20\ - \x20UserName\x20STRING(MAX),\n\x20\x20\x20\x20\x20\x20\x20EventDate\x20S\ - TRING(10)\n\x20\x20\x20\x20\x20)\x20PRIMARY\x20KEY(UserName,\x20EventDat\ - e);\n\n\x20The\x20following\x20keys\x20name\x20rows\x20in\x20this\x20tab\ - le:\n\n\x20\x20\x20\x20\x20[\"Bob\",\x20\"2014-09-23\"]\n\x20\x20\x20\ - \x20\x20[\"Alfred\",\x20\"2015-06-12\"]\n\n\x20Since\x20the\x20`UserEven\ - ts`\x20table's\x20`PRIMARY\x20KEY`\x20clause\x20names\x20two\n\x20column\ - s,\x20each\x20`UserEvents`\x20key\x20has\x20two\x20elements;\x20the\x20f\ - irst\x20is\x20the\n\x20`UserName`,\x20and\x20the\x20second\x20is\x20the\ - \x20`EventDate`.\n\n\x20Key\x20ranges\x20with\x20multiple\x20components\ - \x20are\x20interpreted\n\x20lexicographically\x20by\x20component\x20usin\ - g\x20the\x20table\x20or\x20index\x20key's\x20declared\n\x20sort\x20order\ - .\x20For\x20example,\x20the\x20following\x20range\x20returns\x20all\x20e\ - vents\x20for\n\x20user\x20`\"Bob\"`\x20that\x20occurred\x20in\x20the\x20\ - year\x202015:\n\n\x20\x20\x20\x20\x20\"start_closed\":\x20[\"Bob\",\x20\ - \"2015-01-01\"]\n\x20\x20\x20\x20\x20\"end_closed\":\x20[\"Bob\",\x20\"2\ - 015-12-31\"]\n\n\x20Start\x20and\x20end\x20keys\x20can\x20omit\x20traili\ - ng\x20key\x20components.\x20This\x20affects\x20the\n\x20inclusion\x20and\ - \x20exclusion\x20of\x20rows\x20that\x20exactly\x20match\x20the\x20provid\ - ed\x20key\n\x20components:\x20if\x20the\x20key\x20is\x20closed,\x20then\ - \x20rows\x20that\x20exactly\x20match\x20the\n\x20provided\x20components\ - \x20are\x20included;\x20if\x20the\x20key\x20is\x20open,\x20then\x20rows\ - \n\x20that\x20exactly\x20match\x20are\x20not\x20included.\n\n\x20For\x20\ - example,\x20the\x20following\x20range\x20includes\x20all\x20events\x20fo\ - r\x20`\"Bob\"`\x20that\n\x20occurred\x20during\x20and\x20after\x20the\ - \x20year\x202000:\n\n\x20\x20\x20\x20\x20\"start_closed\":\x20[\"Bob\",\ - \x20\"2000-01-01\"]\n\x20\x20\x20\x20\x20\"end_closed\":\x20[\"Bob\"]\n\ - \n\x20The\x20next\x20example\x20retrieves\x20all\x20events\x20for\x20`\"\ - Bob\"`:\n\n\x20\x20\x20\x20\x20\"start_closed\":\x20[\"Bob\"]\n\x20\x20\ - \x20\x20\x20\"end_closed\":\x20[\"Bob\"]\n\n\x20To\x20retrieve\x20events\ - \x20before\x20the\x20year\x202000:\n\n\x20\x20\x20\x20\x20\"start_closed\ - \":\x20[\"Bob\"]\n\x20\x20\x20\x20\x20\"end_open\":\x20[\"Bob\",\x20\"20\ - 00-01-01\"]\n\n\x20The\x20following\x20range\x20includes\x20all\x20rows\ - \x20in\x20the\x20table:\n\n\x20\x20\x20\x20\x20\"start_closed\":\x20[]\n\ - \x20\x20\x20\x20\x20\"end_closed\":\x20[]\n\n\x20This\x20range\x20return\ - s\x20all\x20users\x20whose\x20`UserName`\x20begins\x20with\x20any\n\x20c\ - haracter\x20from\x20A\x20to\x20C:\n\n\x20\x20\x20\x20\x20\"start_closed\ - \":\x20[\"A\"]\n\x20\x20\x20\x20\x20\"end_open\":\x20[\"D\"]\n\n\x20This\ - \x20range\x20returns\x20all\x20users\x20whose\x20`UserName`\x20begins\ - \x20with\x20B:\n\n\x20\x20\x20\x20\x20\"start_closed\":\x20[\"B\"]\n\x20\ - \x20\x20\x20\x20\"end_open\":\x20[\"C\"]\n\n\x20Key\x20ranges\x20honor\ - \x20column\x20sort\x20order.\x20For\x20example,\x20suppose\x20a\x20table\ - \x20is\n\x20defined\x20as\x20follows:\n\n\x20\x20\x20\x20\x20CREATE\x20T\ - ABLE\x20DescendingSortedTable\x20{\n\x20\x20\x20\x20\x20\x20\x20Key\x20I\ - NT64,\n\x20\x20\x20\x20\x20\x20\x20...\n\x20\x20\x20\x20\x20)\x20PRIMARY\ - \x20KEY(Key\x20DESC);\n\n\x20The\x20following\x20range\x20retrieves\x20a\ - ll\x20rows\x20with\x20key\x20values\x20between\x201\n\x20and\x20100\x20i\ - nclusive:\n\n\x20\x20\x20\x20\x20\"start_closed\":\x20[\"100\"]\n\x20\ - \x20\x20\x20\x20\"end_closed\":\x20[\"1\"]\n\n\x20Note\x20that\x20100\ - \x20is\x20passed\x20as\x20the\x20start,\x20and\x201\x20is\x20passed\x20a\ - s\x20the\x20end,\n\x20because\x20`Key`\x20is\x20a\x20descending\x20colum\ - n\x20in\x20the\x20schema.\n\n\n\n\x03\x04\0\x01\x12\x03t\x08\x10\nP\n\ - \x04\x04\0\x08\0\x12\x04v\x02~\x03\x1aB\x20The\x20start\x20key\x20must\ - \x20be\x20provided.\x20It\x20can\x20be\x20either\x20closed\x20or\x20open\ - .\n\n\x0c\n\x05\x04\0\x08\0\x01\x12\x03v\x08\x16\n\x93\x01\n\x04\x04\0\ - \x02\0\x12\x03y\x04/\x1a\x85\x01\x20If\x20the\x20start\x20is\x20closed,\ - \x20then\x20the\x20range\x20includes\x20all\x20rows\x20whose\n\x20first\ - \x20`len(start_closed)`\x20key\x20columns\x20exactly\x20match\x20`start_\ - closed`.\n\n\x0c\n\x05\x04\0\x02\0\x06\x12\x03y\x04\x1d\n\x0c\n\x05\x04\ - \0\x02\0\x01\x12\x03y\x1e*\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03y-.\n\x88\ - \x01\n\x04\x04\0\x02\x01\x12\x03}\x04-\x1a{\x20If\x20the\x20start\x20is\ - \x20open,\x20then\x20the\x20range\x20excludes\x20rows\x20whose\x20first\ - \n\x20`len(start_open)`\x20key\x20columns\x20exactly\x20match\x20`start_\ - open`.\n\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03}\x04\x1d\n\x0c\n\x05\x04\ - \0\x02\x01\x01\x12\x03}\x1e(\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03}+,\nP\ - \n\x04\x04\0\x08\x01\x12\x06\x81\x01\x02\x89\x01\x03\x1a@\x20The\x20end\ - \x20key\x20must\x20be\x20provided.\x20It\x20can\x20be\x20either\x20close\ - d\x20or\x20open.\n\n\r\n\x05\x04\0\x08\x01\x01\x12\x04\x81\x01\x08\x14\n\ - \x8d\x01\n\x04\x04\0\x02\x02\x12\x04\x84\x01\x04-\x1a\x7f\x20If\x20the\ - \x20end\x20is\x20closed,\x20then\x20the\x20range\x20includes\x20all\x20r\ - ows\x20whose\n\x20first\x20`len(end_closed)`\x20key\x20columns\x20exactl\ - y\x20match\x20`end_closed`.\n\n\r\n\x05\x04\0\x02\x02\x06\x12\x04\x84\ - \x01\x04\x1d\n\r\n\x05\x04\0\x02\x02\x01\x12\x04\x84\x01\x1e(\n\r\n\x05\ - \x04\0\x02\x02\x03\x12\x04\x84\x01+,\n\x83\x01\n\x04\x04\0\x02\x03\x12\ - \x04\x88\x01\x04+\x1au\x20If\x20the\x20end\x20is\x20open,\x20then\x20the\ - \x20range\x20excludes\x20rows\x20whose\x20first\n\x20`len(end_open)`\x20\ - key\x20columns\x20exactly\x20match\x20`end_open`.\n\n\r\n\x05\x04\0\x02\ - \x03\x06\x12\x04\x88\x01\x04\x1d\n\r\n\x05\x04\0\x02\x03\x01\x12\x04\x88\ - \x01\x1e&\n\r\n\x05\x04\0\x02\x03\x03\x12\x04\x88\x01)*\n\x86\x03\n\x02\ - \x04\x01\x12\x06\x93\x01\0\xa2\x01\x01\x1a\xf7\x02\x20`KeySet`\x20define\ - s\x20a\x20collection\x20of\x20Cloud\x20Spanner\x20keys\x20and/or\x20key\ - \x20ranges.\x20All\n\x20the\x20keys\x20are\x20expected\x20to\x20be\x20in\ - \x20the\x20same\x20table\x20or\x20index.\x20The\x20keys\x20need\n\x20not\ - \x20be\x20sorted\x20in\x20any\x20particular\x20way.\n\n\x20If\x20the\x20\ - same\x20key\x20is\x20specified\x20multiple\x20times\x20in\x20the\x20set\ - \x20(for\x20example\n\x20if\x20two\x20ranges,\x20two\x20keys,\x20or\x20a\ - \x20key\x20and\x20a\x20range\x20overlap),\x20Cloud\x20Spanner\n\x20behav\ - es\x20as\x20if\x20the\x20key\x20were\x20only\x20specified\x20once.\n\n\ - \x0b\n\x03\x04\x01\x01\x12\x04\x93\x01\x08\x0e\n\x8a\x02\n\x04\x04\x01\ - \x02\0\x12\x04\x98\x01\x02.\x1a\xfb\x01\x20A\x20list\x20of\x20specific\ - \x20keys.\x20Entries\x20in\x20`keys`\x20should\x20have\x20exactly\x20as\ - \n\x20many\x20elements\x20as\x20there\x20are\x20columns\x20in\x20the\x20\ - primary\x20or\x20index\x20key\n\x20with\x20which\x20this\x20`KeySet`\x20\ - is\x20used.\x20\x20Individual\x20key\x20values\x20are\n\x20encoded\x20as\ - \x20described\x20[here][google.spanner.v1.TypeCode].\n\n\r\n\x05\x04\x01\ - \x02\0\x04\x12\x04\x98\x01\x02\n\n\r\n\x05\x04\x01\x02\0\x06\x12\x04\x98\ - \x01\x0b$\n\r\n\x05\x04\x01\x02\0\x01\x12\x04\x98\x01%)\n\r\n\x05\x04\ - \x01\x02\0\x03\x12\x04\x98\x01,-\n\x86\x01\n\x04\x04\x01\x02\x01\x12\x04\ - \x9c\x01\x02\x1f\x1ax\x20A\x20list\x20of\x20key\x20ranges.\x20See\x20[Ke\ - yRange][google.spanner.v1.KeyRange]\x20for\x20more\x20information\x20abo\ - ut\n\x20key\x20range\x20specifications.\n\n\r\n\x05\x04\x01\x02\x01\x04\ - \x12\x04\x9c\x01\x02\n\n\r\n\x05\x04\x01\x02\x01\x06\x12\x04\x9c\x01\x0b\ - \x13\n\r\n\x05\x04\x01\x02\x01\x01\x12\x04\x9c\x01\x14\x1a\n\r\n\x05\x04\ - \x01\x02\x01\x03\x12\x04\x9c\x01\x1d\x1e\n\xce\x01\n\x04\x04\x01\x02\x02\ - \x12\x04\xa1\x01\x02\x0f\x1a\xbf\x01\x20For\x20convenience\x20`all`\x20c\ - an\x20be\x20set\x20to\x20`true`\x20to\x20indicate\x20that\x20this\n\x20`\ - KeySet`\x20matches\x20all\x20keys\x20in\x20the\x20table\x20or\x20index.\ - \x20Note\x20that\x20any\x20keys\n\x20specified\x20in\x20`keys`\x20or\x20\ - `ranges`\x20are\x20only\x20yielded\x20once.\n\n\x0f\n\x05\x04\x01\x02\ - \x02\x04\x12\x06\xa1\x01\x02\x9c\x01\x1f\n\r\n\x05\x04\x01\x02\x02\x05\ - \x12\x04\xa1\x01\x02\x06\n\r\n\x05\x04\x01\x02\x02\x01\x12\x04\xa1\x01\ - \x07\n\n\r\n\x05\x04\x01\x02\x02\x03\x12\x04\xa1\x01\r\x0eb\x06proto3\ + tations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\x08\ + \x19\n\t\n\x02\x03\0\x12\x03\x12\x07%\n\t\n\x02\x03\x01\x12\x03\x13\x07%\ + \n\x08\n\x01\x08\x12\x03\x15\04\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x15\04\ + \n\x0c\n\x05\x08\xe7\x07\0\x02\x12\x03\x15\x07\x17\n\r\n\x06\x08\xe7\x07\ + \0\x02\0\x12\x03\x15\x07\x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\ + \x15\x07\x17\n\x0c\n\x05\x08\xe7\x07\0\x07\x12\x03\x15\x1a3\n\x08\n\x01\ + \x08\x12\x03\x16\0O\n\x0b\n\x04\x08\xe7\x07\x01\x12\x03\x16\0O\n\x0c\n\ + \x05\x08\xe7\x07\x01\x02\x12\x03\x16\x07\x11\n\r\n\x06\x08\xe7\x07\x01\ + \x02\0\x12\x03\x16\x07\x11\n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\ + \x16\x07\x11\n\x0c\n\x05\x08\xe7\x07\x01\x07\x12\x03\x16\x14N\n\x08\n\ + \x01\x08\x12\x03\x17\0\"\n\x0b\n\x04\x08\xe7\x07\x02\x12\x03\x17\0\"\n\ + \x0c\n\x05\x08\xe7\x07\x02\x02\x12\x03\x17\x07\x1a\n\r\n\x06\x08\xe7\x07\ + \x02\x02\0\x12\x03\x17\x07\x1a\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\ + \x03\x17\x07\x1a\n\x0c\n\x05\x08\xe7\x07\x02\x03\x12\x03\x17\x1d!\n\x08\ + \n\x01\x08\x12\x03\x18\0*\n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x18\0*\n\ + \x0c\n\x05\x08\xe7\x07\x03\x02\x12\x03\x18\x07\x1b\n\r\n\x06\x08\xe7\x07\ + \x03\x02\0\x12\x03\x18\x07\x1b\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\ + \x03\x18\x07\x1b\n\x0c\n\x05\x08\xe7\x07\x03\x07\x12\x03\x18\x1e)\n\x08\ + \n\x01\x08\x12\x03\x19\0.\n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x19\0.\n\ + \x0c\n\x05\x08\xe7\x07\x04\x02\x12\x03\x19\x07\x13\n\r\n\x06\x08\xe7\x07\ + \x04\x02\0\x12\x03\x19\x07\x13\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\ + \x03\x19\x07\x13\n\x0c\n\x05\x08\xe7\x07\x04\x07\x12\x03\x19\x16-\n\x08\ + \n\x01\x08\x12\x03\x1a\04\n\x0b\n\x04\x08\xe7\x07\x05\x12\x03\x1a\04\n\ + \x0c\n\x05\x08\xe7\x07\x05\x02\x12\x03\x1a\x07\x14\n\r\n\x06\x08\xe7\x07\ + \x05\x02\0\x12\x03\x1a\x07\x14\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\ + \x03\x1a\x07\x14\n\x0c\n\x05\x08\xe7\x07\x05\x07\x12\x03\x1a\x173\n\xb4\ + \x15\n\x02\x04\0\x12\x05t\0\x8a\x01\x01\x1a\xa6\x15\x20KeyRange\x20repre\ + sents\x20a\x20range\x20of\x20rows\x20in\x20a\x20table\x20or\x20index.\n\ + \n\x20A\x20range\x20has\x20a\x20start\x20key\x20and\x20an\x20end\x20key.\ + \x20These\x20keys\x20can\x20be\x20open\x20or\n\x20closed,\x20indicating\ + \x20if\x20the\x20range\x20includes\x20rows\x20with\x20that\x20key.\n\n\ + \x20Keys\x20are\x20represented\x20by\x20lists,\x20where\x20the\x20ith\ + \x20value\x20in\x20the\x20list\n\x20corresponds\x20to\x20the\x20ith\x20c\ + omponent\x20of\x20the\x20table\x20or\x20index\x20primary\x20key.\n\x20In\ + dividual\x20values\x20are\x20encoded\x20as\x20described\x20[here][google\ + .spanner.v1.TypeCode].\n\n\x20For\x20example,\x20consider\x20the\x20foll\ + owing\x20table\x20definition:\n\n\x20\x20\x20\x20\x20CREATE\x20TABLE\x20\ + UserEvents\x20(\n\x20\x20\x20\x20\x20\x20\x20UserName\x20STRING(MAX),\n\ + \x20\x20\x20\x20\x20\x20\x20EventDate\x20STRING(10)\n\x20\x20\x20\x20\ + \x20)\x20PRIMARY\x20KEY(UserName,\x20EventDate);\n\n\x20The\x20following\ + \x20keys\x20name\x20rows\x20in\x20this\x20table:\n\n\x20\x20\x20\x20\x20\ + [\"Bob\",\x20\"2014-09-23\"]\n\x20\x20\x20\x20\x20[\"Alfred\",\x20\"2015\ + -06-12\"]\n\n\x20Since\x20the\x20`UserEvents`\x20table's\x20`PRIMARY\x20\ + KEY`\x20clause\x20names\x20two\n\x20columns,\x20each\x20`UserEvents`\x20\ + key\x20has\x20two\x20elements;\x20the\x20first\x20is\x20the\n\x20`UserNa\ + me`,\x20and\x20the\x20second\x20is\x20the\x20`EventDate`.\n\n\x20Key\x20\ + ranges\x20with\x20multiple\x20components\x20are\x20interpreted\n\x20lexi\ + cographically\x20by\x20component\x20using\x20the\x20table\x20or\x20index\ + \x20key's\x20declared\n\x20sort\x20order.\x20For\x20example,\x20the\x20f\ + ollowing\x20range\x20returns\x20all\x20events\x20for\n\x20user\x20`\"Bob\ + \"`\x20that\x20occurred\x20in\x20the\x20year\x202015:\n\n\x20\x20\x20\ + \x20\x20\"start_closed\":\x20[\"Bob\",\x20\"2015-01-01\"]\n\x20\x20\x20\ + \x20\x20\"end_closed\":\x20[\"Bob\",\x20\"2015-12-31\"]\n\n\x20Start\x20\ + and\x20end\x20keys\x20can\x20omit\x20trailing\x20key\x20components.\x20T\ + his\x20affects\x20the\n\x20inclusion\x20and\x20exclusion\x20of\x20rows\ + \x20that\x20exactly\x20match\x20the\x20provided\x20key\n\x20components:\ + \x20if\x20the\x20key\x20is\x20closed,\x20then\x20rows\x20that\x20exactly\ + \x20match\x20the\n\x20provided\x20components\x20are\x20included;\x20if\ + \x20the\x20key\x20is\x20open,\x20then\x20rows\n\x20that\x20exactly\x20ma\ + tch\x20are\x20not\x20included.\n\n\x20For\x20example,\x20the\x20followin\ + g\x20range\x20includes\x20all\x20events\x20for\x20`\"Bob\"`\x20that\n\ + \x20occurred\x20during\x20and\x20after\x20the\x20year\x202000:\n\n\x20\ + \x20\x20\x20\x20\"start_closed\":\x20[\"Bob\",\x20\"2000-01-01\"]\n\x20\ + \x20\x20\x20\x20\"end_closed\":\x20[\"Bob\"]\n\n\x20The\x20next\x20examp\ + le\x20retrieves\x20all\x20events\x20for\x20`\"Bob\"`:\n\n\x20\x20\x20\ + \x20\x20\"start_closed\":\x20[\"Bob\"]\n\x20\x20\x20\x20\x20\"end_closed\ + \":\x20[\"Bob\"]\n\n\x20To\x20retrieve\x20events\x20before\x20the\x20yea\ + r\x202000:\n\n\x20\x20\x20\x20\x20\"start_closed\":\x20[\"Bob\"]\n\x20\ + \x20\x20\x20\x20\"end_open\":\x20[\"Bob\",\x20\"2000-01-01\"]\n\n\x20The\ + \x20following\x20range\x20includes\x20all\x20rows\x20in\x20the\x20table:\ + \n\n\x20\x20\x20\x20\x20\"start_closed\":\x20[]\n\x20\x20\x20\x20\x20\"e\ + nd_closed\":\x20[]\n\n\x20This\x20range\x20returns\x20all\x20users\x20wh\ + ose\x20`UserName`\x20begins\x20with\x20any\n\x20character\x20from\x20A\ + \x20to\x20C:\n\n\x20\x20\x20\x20\x20\"start_closed\":\x20[\"A\"]\n\x20\ + \x20\x20\x20\x20\"end_open\":\x20[\"D\"]\n\n\x20This\x20range\x20returns\ + \x20all\x20users\x20whose\x20`UserName`\x20begins\x20with\x20B:\n\n\x20\ + \x20\x20\x20\x20\"start_closed\":\x20[\"B\"]\n\x20\x20\x20\x20\x20\"end_\ + open\":\x20[\"C\"]\n\n\x20Key\x20ranges\x20honor\x20column\x20sort\x20or\ + der.\x20For\x20example,\x20suppose\x20a\x20table\x20is\n\x20defined\x20a\ + s\x20follows:\n\n\x20\x20\x20\x20\x20CREATE\x20TABLE\x20DescendingSorted\ + Table\x20{\n\x20\x20\x20\x20\x20\x20\x20Key\x20INT64,\n\x20\x20\x20\x20\ + \x20\x20\x20...\n\x20\x20\x20\x20\x20)\x20PRIMARY\x20KEY(Key\x20DESC);\n\ + \n\x20The\x20following\x20range\x20retrieves\x20all\x20rows\x20with\x20k\ + ey\x20values\x20between\x201\n\x20and\x20100\x20inclusive:\n\n\x20\x20\ + \x20\x20\x20\"start_closed\":\x20[\"100\"]\n\x20\x20\x20\x20\x20\"end_cl\ + osed\":\x20[\"1\"]\n\n\x20Note\x20that\x20100\x20is\x20passed\x20as\x20t\ + he\x20start,\x20and\x201\x20is\x20passed\x20as\x20the\x20end,\n\x20becau\ + se\x20`Key`\x20is\x20a\x20descending\x20column\x20in\x20the\x20schema.\n\ + \n\n\n\x03\x04\0\x01\x12\x03t\x08\x10\nP\n\x04\x04\0\x08\0\x12\x04v\x02~\ + \x03\x1aB\x20The\x20start\x20key\x20must\x20be\x20provided.\x20It\x20can\ + \x20be\x20either\x20closed\x20or\x20open.\n\n\x0c\n\x05\x04\0\x08\0\x01\ + \x12\x03v\x08\x16\n\x93\x01\n\x04\x04\0\x02\0\x12\x03y\x04/\x1a\x85\x01\ + \x20If\x20the\x20start\x20is\x20closed,\x20then\x20the\x20range\x20inclu\ + des\x20all\x20rows\x20whose\n\x20first\x20`len(start_closed)`\x20key\x20\ + columns\x20exactly\x20match\x20`start_closed`.\n\n\x0c\n\x05\x04\0\x02\0\ + \x06\x12\x03y\x04\x1d\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03y\x1e*\n\x0c\n\ + \x05\x04\0\x02\0\x03\x12\x03y-.\n\x88\x01\n\x04\x04\0\x02\x01\x12\x03}\ + \x04-\x1a{\x20If\x20the\x20start\x20is\x20open,\x20then\x20the\x20range\ + \x20excludes\x20rows\x20whose\x20first\n\x20`len(start_open)`\x20key\x20\ + columns\x20exactly\x20match\x20`start_open`.\n\n\x0c\n\x05\x04\0\x02\x01\ + \x06\x12\x03}\x04\x1d\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03}\x1e(\n\x0c\ + \n\x05\x04\0\x02\x01\x03\x12\x03}+,\nP\n\x04\x04\0\x08\x01\x12\x06\x81\ + \x01\x02\x89\x01\x03\x1a@\x20The\x20end\x20key\x20must\x20be\x20provided\ + .\x20It\x20can\x20be\x20either\x20closed\x20or\x20open.\n\n\r\n\x05\x04\ + \0\x08\x01\x01\x12\x04\x81\x01\x08\x14\n\x8d\x01\n\x04\x04\0\x02\x02\x12\ + \x04\x84\x01\x04-\x1a\x7f\x20If\x20the\x20end\x20is\x20closed,\x20then\ + \x20the\x20range\x20includes\x20all\x20rows\x20whose\n\x20first\x20`len(\ + end_closed)`\x20key\x20columns\x20exactly\x20match\x20`end_closed`.\n\n\ + \r\n\x05\x04\0\x02\x02\x06\x12\x04\x84\x01\x04\x1d\n\r\n\x05\x04\0\x02\ + \x02\x01\x12\x04\x84\x01\x1e(\n\r\n\x05\x04\0\x02\x02\x03\x12\x04\x84\ + \x01+,\n\x83\x01\n\x04\x04\0\x02\x03\x12\x04\x88\x01\x04+\x1au\x20If\x20\ + the\x20end\x20is\x20open,\x20then\x20the\x20range\x20excludes\x20rows\ + \x20whose\x20first\n\x20`len(end_open)`\x20key\x20columns\x20exactly\x20\ + match\x20`end_open`.\n\n\r\n\x05\x04\0\x02\x03\x06\x12\x04\x88\x01\x04\ + \x1d\n\r\n\x05\x04\0\x02\x03\x01\x12\x04\x88\x01\x1e&\n\r\n\x05\x04\0\ + \x02\x03\x03\x12\x04\x88\x01)*\n\x86\x03\n\x02\x04\x01\x12\x06\x93\x01\0\ + \xa2\x01\x01\x1a\xf7\x02\x20`KeySet`\x20defines\x20a\x20collection\x20of\ + \x20Cloud\x20Spanner\x20keys\x20and/or\x20key\x20ranges.\x20All\n\x20the\ + \x20keys\x20are\x20expected\x20to\x20be\x20in\x20the\x20same\x20table\ + \x20or\x20index.\x20The\x20keys\x20need\n\x20not\x20be\x20sorted\x20in\ + \x20any\x20particular\x20way.\n\n\x20If\x20the\x20same\x20key\x20is\x20s\ + pecified\x20multiple\x20times\x20in\x20the\x20set\x20(for\x20example\n\ + \x20if\x20two\x20ranges,\x20two\x20keys,\x20or\x20a\x20key\x20and\x20a\ + \x20range\x20overlap),\x20Cloud\x20Spanner\n\x20behaves\x20as\x20if\x20t\ + he\x20key\x20were\x20only\x20specified\x20once.\n\n\x0b\n\x03\x04\x01\ + \x01\x12\x04\x93\x01\x08\x0e\n\x8a\x02\n\x04\x04\x01\x02\0\x12\x04\x98\ + \x01\x02.\x1a\xfb\x01\x20A\x20list\x20of\x20specific\x20keys.\x20Entries\ + \x20in\x20`keys`\x20should\x20have\x20exactly\x20as\n\x20many\x20element\ + s\x20as\x20there\x20are\x20columns\x20in\x20the\x20primary\x20or\x20inde\ + x\x20key\n\x20with\x20which\x20this\x20`KeySet`\x20is\x20used.\x20\x20In\ + dividual\x20key\x20values\x20are\n\x20encoded\x20as\x20described\x20[her\ + e][google.spanner.v1.TypeCode].\n\n\r\n\x05\x04\x01\x02\0\x04\x12\x04\ + \x98\x01\x02\n\n\r\n\x05\x04\x01\x02\0\x06\x12\x04\x98\x01\x0b$\n\r\n\ + \x05\x04\x01\x02\0\x01\x12\x04\x98\x01%)\n\r\n\x05\x04\x01\x02\0\x03\x12\ + \x04\x98\x01,-\n\x86\x01\n\x04\x04\x01\x02\x01\x12\x04\x9c\x01\x02\x1f\ + \x1ax\x20A\x20list\x20of\x20key\x20ranges.\x20See\x20[KeyRange][google.s\ + panner.v1.KeyRange]\x20for\x20more\x20information\x20about\n\x20key\x20r\ + ange\x20specifications.\n\n\r\n\x05\x04\x01\x02\x01\x04\x12\x04\x9c\x01\ + \x02\n\n\r\n\x05\x04\x01\x02\x01\x06\x12\x04\x9c\x01\x0b\x13\n\r\n\x05\ + \x04\x01\x02\x01\x01\x12\x04\x9c\x01\x14\x1a\n\r\n\x05\x04\x01\x02\x01\ + \x03\x12\x04\x9c\x01\x1d\x1e\n\xce\x01\n\x04\x04\x01\x02\x02\x12\x04\xa1\ + \x01\x02\x0f\x1a\xbf\x01\x20For\x20convenience\x20`all`\x20can\x20be\x20\ + set\x20to\x20`true`\x20to\x20indicate\x20that\x20this\n\x20`KeySet`\x20m\ + atches\x20all\x20keys\x20in\x20the\x20table\x20or\x20index.\x20Note\x20t\ + hat\x20any\x20keys\n\x20specified\x20in\x20`keys`\x20or\x20`ranges`\x20a\ + re\x20only\x20yielded\x20once.\n\n\x0f\n\x05\x04\x01\x02\x02\x04\x12\x06\ + \xa1\x01\x02\x9c\x01\x1f\n\r\n\x05\x04\x01\x02\x02\x05\x12\x04\xa1\x01\ + \x02\x06\n\r\n\x05\x04\x01\x02\x02\x01\x12\x04\xa1\x01\x07\n\n\r\n\x05\ + \x04\x01\x02\x02\x03\x12\x04\xa1\x01\r\x0eb\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mod.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mod.rs index e16823d123..35d6ff386b 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mod.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mod.rs @@ -2,8 +2,8 @@ pub mod keys; pub mod mutation; pub mod query_plan; pub mod result_set; -pub mod spanner; pub mod spanner_grpc; +pub mod spanner; pub mod transaction; pub mod type_pb; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mutation.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mutation.rs index df553ceb7a..8054b304eb 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mutation.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mutation.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct Mutation { @@ -331,7 +331,7 @@ impl ::protobuf::Message for Mutation { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -406,7 +406,7 @@ impl ::protobuf::Message for Mutation { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let ::std::option::Option::Some(ref v) = self.operation { match v { &Mutation_oneof_operation::insert(ref v) => { @@ -452,13 +452,13 @@ impl ::protobuf::Message for Mutation { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -471,10 +471,7 @@ impl ::protobuf::Message for Mutation { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -513,10 +510,7 @@ impl ::protobuf::Message for Mutation { } fn default_instance() -> &'static Mutation { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Mutation::new) } @@ -535,14 +529,14 @@ impl ::protobuf::Clear for Mutation { } impl ::std::fmt::Debug for Mutation { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Mutation { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -655,7 +649,7 @@ impl ::protobuf::Message for Mutation_Write { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -695,7 +689,7 @@ impl ::protobuf::Message for Mutation_Write { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.table.is_empty() { os.write_string(1, &self.table)?; } @@ -723,13 +717,13 @@ impl ::protobuf::Message for Mutation_Write { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -742,10 +736,7 @@ impl ::protobuf::Message for Mutation_Write { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -774,10 +765,7 @@ impl ::protobuf::Message for Mutation_Write { } fn default_instance() -> &'static Mutation_Write { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation_Write, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Mutation_Write::new) } @@ -794,14 +782,14 @@ impl ::protobuf::Clear for Mutation_Write { } impl ::std::fmt::Debug for Mutation_Write { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Mutation_Write { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -896,7 +884,7 @@ impl ::protobuf::Message for Mutation_Delete { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -930,7 +918,7 @@ impl ::protobuf::Message for Mutation_Delete { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.table.is_empty() { os.write_string(1, &self.table)?; } @@ -955,13 +943,13 @@ impl ::protobuf::Message for Mutation_Delete { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -974,10 +962,7 @@ impl ::protobuf::Message for Mutation_Delete { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1001,10 +986,7 @@ impl ::protobuf::Message for Mutation_Delete { } fn default_instance() -> &'static Mutation_Delete { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Mutation_Delete, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Mutation_Delete::new) } @@ -1020,14 +1002,14 @@ impl ::protobuf::Clear for Mutation_Delete { } impl ::std::fmt::Debug for Mutation_Delete { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Mutation_Delete { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1048,7 +1030,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ _set\x18\x02\x20\x01(\x0b2\x19.google.spanner.v1.KeySetR\x06keySetB\x0b\ \n\toperationB\x96\x01\n\x15com.google.spanner.v1B\rMutationProtoP\x01Z8\ google.golang.org/genproto/googleapis/spanner/v1;spanner\xaa\x02\x17Goog\ - le.Cloud.Spanner.V1\xca\x02\x17Google\\Cloud\\Spanner\\V1J\xf1\x1f\n\x06\ + le.Cloud.Spanner.V1\xca\x02\x17Google\\Cloud\\Spanner\\V1J\xdf\"\n\x06\ \x12\x04\x0e\0^\x01\n\xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Co\ pyright\x202018\x20Google\x20LLC\n\n\x20Licensed\x20under\x20the\x20Apac\ he\x20License,\x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20ma\ @@ -1062,106 +1044,121 @@ static file_descriptor_proto_data: &'static [u8] = b"\ D,\x20either\x20express\x20or\x20implied.\n\x20See\x20the\x20License\x20\ for\x20the\x20specific\x20language\x20governing\x20permissions\x20and\n\ \x20limitations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\ - \x10\0\x1a\n\t\n\x02\x03\0\x12\x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\ - \0&\n\t\n\x02\x03\x02\x12\x03\x14\0&\n\x08\n\x01\x08\x12\x03\x16\04\n\t\ - \n\x02\x08%\x12\x03\x16\04\n\x08\n\x01\x08\x12\x03\x17\0O\n\t\n\x02\x08\ - \x0b\x12\x03\x17\0O\n\x08\n\x01\x08\x12\x03\x18\0\"\n\t\n\x02\x08\n\x12\ - \x03\x18\0\"\n\x08\n\x01\x08\x12\x03\x19\0.\n\t\n\x02\x08\x08\x12\x03\ - \x19\0.\n\x08\n\x01\x08\x12\x03\x1a\0.\n\t\n\x02\x08\x01\x12\x03\x1a\0.\ - \n\x08\n\x01\x08\x12\x03\x1b\04\n\t\n\x02\x08)\x12\x03\x1b\04\n\xbe\x01\ - \n\x02\x04\0\x12\x04!\0^\x01\x1a\xb1\x01\x20A\x20modification\x20to\x20o\ - ne\x20or\x20more\x20Cloud\x20Spanner\x20rows.\x20\x20Mutations\x20can\ - \x20be\n\x20applied\x20to\x20a\x20Cloud\x20Spanner\x20database\x20by\x20\ - sending\x20them\x20in\x20a\n\x20[Commit][google.spanner.v1.Spanner.Commi\ - t]\x20call.\n\n\n\n\x03\x04\0\x01\x12\x03!\x08\x10\n\xf7\x01\n\x04\x04\0\ - \x03\0\x12\x04$\x028\x03\x1a\xe8\x01\x20Arguments\x20to\x20[insert][goog\ - le.spanner.v1.Mutation.insert],\x20[update][google.spanner.v1.Mutation.u\ - pdate],\x20[insert_or_update][google.spanner.v1.Mutation.insert_or_updat\ - e],\x20and\n\x20[replace][google.spanner.v1.Mutation.replace]\x20operati\ - ons.\n\n\x0c\n\x05\x04\0\x03\0\x01\x12\x03$\n\x0f\n@\n\x06\x04\0\x03\0\ - \x02\0\x12\x03&\x04\x15\x1a1\x20Required.\x20The\x20table\x20whose\x20ro\ - ws\x20will\x20be\x20written.\n\n\x0f\n\x07\x04\0\x03\0\x02\0\x04\x12\x04\ - &\x04$\x11\n\x0e\n\x07\x04\0\x03\0\x02\0\x05\x12\x03&\x04\n\n\x0e\n\x07\ - \x04\0\x03\0\x02\0\x01\x12\x03&\x0b\x10\n\x0e\n\x07\x04\0\x03\0\x02\0\ - \x03\x12\x03&\x13\x14\n\x82\x02\n\x06\x04\0\x03\0\x02\x01\x12\x03-\x04\ - \x20\x1a\xf2\x01\x20The\x20names\x20of\x20the\x20columns\x20in\x20[table\ - ][google.spanner.v1.Mutation.Write.table]\x20to\x20be\x20written.\n\n\ - \x20The\x20list\x20of\x20columns\x20must\x20contain\x20enough\x20columns\ - \x20to\x20allow\n\x20Cloud\x20Spanner\x20to\x20derive\x20values\x20for\ - \x20all\x20primary\x20key\x20columns\x20in\x20the\n\x20row(s)\x20to\x20b\ - e\x20modified.\n\n\x0e\n\x07\x04\0\x03\0\x02\x01\x04\x12\x03-\x04\x0c\n\ - \x0e\n\x07\x04\0\x03\0\x02\x01\x05\x12\x03-\r\x13\n\x0e\n\x07\x04\0\x03\ - \0\x02\x01\x01\x12\x03-\x14\x1b\n\x0e\n\x07\x04\0\x03\0\x02\x01\x03\x12\ - \x03-\x1e\x1f\n\xf8\x04\n\x06\x04\0\x03\0\x02\x02\x12\x037\x042\x1a\xe8\ - \x04\x20The\x20values\x20to\x20be\x20written.\x20`values`\x20can\x20cont\ - ain\x20more\x20than\x20one\n\x20list\x20of\x20values.\x20If\x20it\x20doe\ - s,\x20then\x20multiple\x20rows\x20are\x20written,\x20one\n\x20for\x20eac\ - h\x20entry\x20in\x20`values`.\x20Each\x20list\x20in\x20`values`\x20must\ - \x20have\n\x20exactly\x20as\x20many\x20entries\x20as\x20there\x20are\x20\ - entries\x20in\x20[columns][google.spanner.v1.Mutation.Write.columns]\n\ - \x20above.\x20Sending\x20multiple\x20lists\x20is\x20equivalent\x20to\x20\ - sending\x20multiple\n\x20`Mutation`s,\x20each\x20containing\x20one\x20`v\ - alues`\x20entry\x20and\x20repeating\n\x20[table][google.spanner.v1.Mutat\ - ion.Write.table]\x20and\x20[columns][google.spanner.v1.Mutation.Write.co\ - lumns].\x20Individual\x20values\x20in\x20each\x20list\x20are\n\x20encode\ - d\x20as\x20described\x20[here][google.spanner.v1.TypeCode].\n\n\x0e\n\ - \x07\x04\0\x03\0\x02\x02\x04\x12\x037\x04\x0c\n\x0e\n\x07\x04\0\x03\0\ - \x02\x02\x06\x12\x037\r&\n\x0e\n\x07\x04\0\x03\0\x02\x02\x01\x12\x037'-\ - \n\x0e\n\x07\x04\0\x03\0\x02\x02\x03\x12\x03701\nT\n\x04\x04\0\x03\x01\ - \x12\x04;\x02C\x03\x1aF\x20Arguments\x20to\x20[delete][google.spanner.v1\ - .Mutation.delete]\x20operations.\n\n\x0c\n\x05\x04\0\x03\x01\x01\x12\x03\ - ;\n\x10\n@\n\x06\x04\0\x03\x01\x02\0\x12\x03=\x04\x15\x1a1\x20Required.\ - \x20The\x20table\x20whose\x20rows\x20will\x20be\x20deleted.\n\n\x0f\n\ - \x07\x04\0\x03\x01\x02\0\x04\x12\x04=\x04;\x12\n\x0e\n\x07\x04\0\x03\x01\ - \x02\0\x05\x12\x03=\x04\n\n\x0e\n\x07\x04\0\x03\x01\x02\0\x01\x12\x03=\ - \x0b\x10\n\x0e\n\x07\x04\0\x03\x01\x02\0\x03\x12\x03=\x13\x14\n\xd7\x01\ - \n\x06\x04\0\x03\x01\x02\x01\x12\x03B\x04\x17\x1a\xc7\x01\x20Required.\ - \x20The\x20primary\x20keys\x20of\x20the\x20rows\x20within\x20[table][goo\ - gle.spanner.v1.Mutation.Delete.table]\x20to\x20delete.\n\x20Delete\x20is\ - \x20idempotent.\x20The\x20transaction\x20will\x20succeed\x20even\x20if\ - \x20some\x20or\x20all\n\x20rows\x20do\x20not\x20exist.\n\n\x0f\n\x07\x04\ - \0\x03\x01\x02\x01\x04\x12\x04B\x04=\x15\n\x0e\n\x07\x04\0\x03\x01\x02\ - \x01\x06\x12\x03B\x04\n\n\x0e\n\x07\x04\0\x03\x01\x02\x01\x01\x12\x03B\ - \x0b\x12\n\x0e\n\x07\x04\0\x03\x01\x02\x01\x03\x12\x03B\x15\x16\n3\n\x04\ - \x04\0\x08\0\x12\x04F\x02]\x03\x1a%\x20Required.\x20The\x20operation\x20\ - to\x20perform.\n\n\x0c\n\x05\x04\0\x08\0\x01\x12\x03F\x08\x11\n\x89\x01\ - \n\x04\x04\0\x02\0\x12\x03I\x04\x15\x1a|\x20Insert\x20new\x20rows\x20in\ - \x20a\x20table.\x20If\x20any\x20of\x20the\x20rows\x20already\x20exist,\n\ - \x20the\x20write\x20or\x20transaction\x20fails\x20with\x20error\x20`ALRE\ - ADY_EXISTS`.\n\n\x0c\n\x05\x04\0\x02\0\x06\x12\x03I\x04\t\n\x0c\n\x05\ - \x04\0\x02\0\x01\x12\x03I\n\x10\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03I\x13\ - \x14\n\x89\x01\n\x04\x04\0\x02\x01\x12\x03M\x04\x15\x1a|\x20Update\x20ex\ - isting\x20rows\x20in\x20a\x20table.\x20If\x20any\x20of\x20the\x20rows\ - \x20does\x20not\n\x20already\x20exist,\x20the\x20transaction\x20fails\ - \x20with\x20error\x20`NOT_FOUND`.\n\n\x0c\n\x05\x04\0\x02\x01\x06\x12\ - \x03M\x04\t\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03M\n\x10\n\x0c\n\x05\x04\ - \0\x02\x01\x03\x12\x03M\x13\x14\n\xe1\x01\n\x04\x04\0\x02\x02\x12\x03R\ - \x04\x1f\x1a\xd3\x01\x20Like\x20[insert][google.spanner.v1.Mutation.inse\ - rt],\x20except\x20that\x20if\x20the\x20row\x20already\x20exists,\x20then\ - \n\x20its\x20column\x20values\x20are\x20overwritten\x20with\x20the\x20on\ - es\x20provided.\x20Any\n\x20column\x20values\x20not\x20explicitly\x20wri\ - tten\x20are\x20preserved.\n\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x03R\x04\t\ - \n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03R\n\x1a\n\x0c\n\x05\x04\0\x02\x02\ - \x03\x12\x03R\x1d\x1e\n\xb3\x02\n\x04\x04\0\x02\x03\x12\x03X\x04\x16\x1a\ - \xa5\x02\x20Like\x20[insert][google.spanner.v1.Mutation.insert],\x20exce\ - pt\x20that\x20if\x20the\x20row\x20already\x20exists,\x20it\x20is\n\x20de\ - leted,\x20and\x20the\x20column\x20values\x20provided\x20are\x20inserted\ - \n\x20instead.\x20Unlike\x20[insert_or_update][google.spanner.v1.Mutatio\ - n.insert_or_update],\x20this\x20means\x20any\x20values\x20not\n\x20expli\ - citly\x20written\x20become\x20`NULL`.\n\n\x0c\n\x05\x04\0\x02\x03\x06\ - \x12\x03X\x04\t\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03X\n\x11\n\x0c\n\x05\ - \x04\0\x02\x03\x03\x12\x03X\x14\x15\n^\n\x04\x04\0\x02\x04\x12\x03\\\x04\ - \x16\x1aQ\x20Delete\x20rows\x20from\x20a\x20table.\x20Succeeds\x20whethe\ - r\x20or\x20not\x20the\x20named\n\x20rows\x20were\x20present.\n\n\x0c\n\ - \x05\x04\0\x02\x04\x06\x12\x03\\\x04\n\n\x0c\n\x05\x04\0\x02\x04\x01\x12\ - \x03\\\x0b\x11\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03\\\x14\x15b\x06proto\ - 3\ + \x10\x08\x19\n\t\n\x02\x03\0\x12\x03\x12\x07%\n\t\n\x02\x03\x01\x12\x03\ + \x13\x07%\n\t\n\x02\x03\x02\x12\x03\x14\x07%\n\x08\n\x01\x08\x12\x03\x16\ + \04\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x16\04\n\x0c\n\x05\x08\xe7\x07\0\ + \x02\x12\x03\x16\x07\x17\n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\x16\x07\ + \x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x16\x07\x17\n\x0c\n\x05\ + \x08\xe7\x07\0\x07\x12\x03\x16\x1a3\n\x08\n\x01\x08\x12\x03\x17\0O\n\x0b\ + \n\x04\x08\xe7\x07\x01\x12\x03\x17\0O\n\x0c\n\x05\x08\xe7\x07\x01\x02\ + \x12\x03\x17\x07\x11\n\r\n\x06\x08\xe7\x07\x01\x02\0\x12\x03\x17\x07\x11\ + \n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\x17\x07\x11\n\x0c\n\x05\ + \x08\xe7\x07\x01\x07\x12\x03\x17\x14N\n\x08\n\x01\x08\x12\x03\x18\0\"\n\ + \x0b\n\x04\x08\xe7\x07\x02\x12\x03\x18\0\"\n\x0c\n\x05\x08\xe7\x07\x02\ + \x02\x12\x03\x18\x07\x1a\n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03\x18\x07\ + \x1a\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\x03\x18\x07\x1a\n\x0c\n\ + \x05\x08\xe7\x07\x02\x03\x12\x03\x18\x1d!\n\x08\n\x01\x08\x12\x03\x19\0.\ + \n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x19\0.\n\x0c\n\x05\x08\xe7\x07\x03\ + \x02\x12\x03\x19\x07\x1b\n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03\x19\x07\ + \x1b\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\x03\x19\x07\x1b\n\x0c\n\ + \x05\x08\xe7\x07\x03\x07\x12\x03\x19\x1e-\n\x08\n\x01\x08\x12\x03\x1a\0.\ + \n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x1a\0.\n\x0c\n\x05\x08\xe7\x07\x04\ + \x02\x12\x03\x1a\x07\x13\n\r\n\x06\x08\xe7\x07\x04\x02\0\x12\x03\x1a\x07\ + \x13\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\x03\x1a\x07\x13\n\x0c\n\ + \x05\x08\xe7\x07\x04\x07\x12\x03\x1a\x16-\n\x08\n\x01\x08\x12\x03\x1b\04\ + \n\x0b\n\x04\x08\xe7\x07\x05\x12\x03\x1b\04\n\x0c\n\x05\x08\xe7\x07\x05\ + \x02\x12\x03\x1b\x07\x14\n\r\n\x06\x08\xe7\x07\x05\x02\0\x12\x03\x1b\x07\ + \x14\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\x03\x1b\x07\x14\n\x0c\n\ + \x05\x08\xe7\x07\x05\x07\x12\x03\x1b\x173\n\xbe\x01\n\x02\x04\0\x12\x04!\ + \0^\x01\x1a\xb1\x01\x20A\x20modification\x20to\x20one\x20or\x20more\x20C\ + loud\x20Spanner\x20rows.\x20\x20Mutations\x20can\x20be\n\x20applied\x20t\ + o\x20a\x20Cloud\x20Spanner\x20database\x20by\x20sending\x20them\x20in\ + \x20a\n\x20[Commit][google.spanner.v1.Spanner.Commit]\x20call.\n\n\n\n\ + \x03\x04\0\x01\x12\x03!\x08\x10\n\xf7\x01\n\x04\x04\0\x03\0\x12\x04$\x02\ + 8\x03\x1a\xe8\x01\x20Arguments\x20to\x20[insert][google.spanner.v1.Mutat\ + ion.insert],\x20[update][google.spanner.v1.Mutation.update],\x20[insert_\ + or_update][google.spanner.v1.Mutation.insert_or_update],\x20and\n\x20[re\ + place][google.spanner.v1.Mutation.replace]\x20operations.\n\n\x0c\n\x05\ + \x04\0\x03\0\x01\x12\x03$\n\x0f\n@\n\x06\x04\0\x03\0\x02\0\x12\x03&\x04\ + \x15\x1a1\x20Required.\x20The\x20table\x20whose\x20rows\x20will\x20be\ + \x20written.\n\n\x0f\n\x07\x04\0\x03\0\x02\0\x04\x12\x04&\x04$\x11\n\x0e\ + \n\x07\x04\0\x03\0\x02\0\x05\x12\x03&\x04\n\n\x0e\n\x07\x04\0\x03\0\x02\ + \0\x01\x12\x03&\x0b\x10\n\x0e\n\x07\x04\0\x03\0\x02\0\x03\x12\x03&\x13\ + \x14\n\x82\x02\n\x06\x04\0\x03\0\x02\x01\x12\x03-\x04\x20\x1a\xf2\x01\ + \x20The\x20names\x20of\x20the\x20columns\x20in\x20[table][google.spanner\ + .v1.Mutation.Write.table]\x20to\x20be\x20written.\n\n\x20The\x20list\x20\ + of\x20columns\x20must\x20contain\x20enough\x20columns\x20to\x20allow\n\ + \x20Cloud\x20Spanner\x20to\x20derive\x20values\x20for\x20all\x20primary\ + \x20key\x20columns\x20in\x20the\n\x20row(s)\x20to\x20be\x20modified.\n\n\ + \x0e\n\x07\x04\0\x03\0\x02\x01\x04\x12\x03-\x04\x0c\n\x0e\n\x07\x04\0\ + \x03\0\x02\x01\x05\x12\x03-\r\x13\n\x0e\n\x07\x04\0\x03\0\x02\x01\x01\ + \x12\x03-\x14\x1b\n\x0e\n\x07\x04\0\x03\0\x02\x01\x03\x12\x03-\x1e\x1f\n\ + \xf8\x04\n\x06\x04\0\x03\0\x02\x02\x12\x037\x042\x1a\xe8\x04\x20The\x20v\ + alues\x20to\x20be\x20written.\x20`values`\x20can\x20contain\x20more\x20t\ + han\x20one\n\x20list\x20of\x20values.\x20If\x20it\x20does,\x20then\x20mu\ + ltiple\x20rows\x20are\x20written,\x20one\n\x20for\x20each\x20entry\x20in\ + \x20`values`.\x20Each\x20list\x20in\x20`values`\x20must\x20have\n\x20exa\ + ctly\x20as\x20many\x20entries\x20as\x20there\x20are\x20entries\x20in\x20\ + [columns][google.spanner.v1.Mutation.Write.columns]\n\x20above.\x20Sendi\ + ng\x20multiple\x20lists\x20is\x20equivalent\x20to\x20sending\x20multiple\ + \n\x20`Mutation`s,\x20each\x20containing\x20one\x20`values`\x20entry\x20\ + and\x20repeating\n\x20[table][google.spanner.v1.Mutation.Write.table]\ + \x20and\x20[columns][google.spanner.v1.Mutation.Write.columns].\x20Indiv\ + idual\x20values\x20in\x20each\x20list\x20are\n\x20encoded\x20as\x20descr\ + ibed\x20[here][google.spanner.v1.TypeCode].\n\n\x0e\n\x07\x04\0\x03\0\ + \x02\x02\x04\x12\x037\x04\x0c\n\x0e\n\x07\x04\0\x03\0\x02\x02\x06\x12\ + \x037\r&\n\x0e\n\x07\x04\0\x03\0\x02\x02\x01\x12\x037'-\n\x0e\n\x07\x04\ + \0\x03\0\x02\x02\x03\x12\x03701\nT\n\x04\x04\0\x03\x01\x12\x04;\x02C\x03\ + \x1aF\x20Arguments\x20to\x20[delete][google.spanner.v1.Mutation.delete]\ + \x20operations.\n\n\x0c\n\x05\x04\0\x03\x01\x01\x12\x03;\n\x10\n@\n\x06\ + \x04\0\x03\x01\x02\0\x12\x03=\x04\x15\x1a1\x20Required.\x20The\x20table\ + \x20whose\x20rows\x20will\x20be\x20deleted.\n\n\x0f\n\x07\x04\0\x03\x01\ + \x02\0\x04\x12\x04=\x04;\x12\n\x0e\n\x07\x04\0\x03\x01\x02\0\x05\x12\x03\ + =\x04\n\n\x0e\n\x07\x04\0\x03\x01\x02\0\x01\x12\x03=\x0b\x10\n\x0e\n\x07\ + \x04\0\x03\x01\x02\0\x03\x12\x03=\x13\x14\n\xd7\x01\n\x06\x04\0\x03\x01\ + \x02\x01\x12\x03B\x04\x17\x1a\xc7\x01\x20Required.\x20The\x20primary\x20\ + keys\x20of\x20the\x20rows\x20within\x20[table][google.spanner.v1.Mutatio\ + n.Delete.table]\x20to\x20delete.\n\x20Delete\x20is\x20idempotent.\x20The\ + \x20transaction\x20will\x20succeed\x20even\x20if\x20some\x20or\x20all\n\ + \x20rows\x20do\x20not\x20exist.\n\n\x0f\n\x07\x04\0\x03\x01\x02\x01\x04\ + \x12\x04B\x04=\x15\n\x0e\n\x07\x04\0\x03\x01\x02\x01\x06\x12\x03B\x04\n\ + \n\x0e\n\x07\x04\0\x03\x01\x02\x01\x01\x12\x03B\x0b\x12\n\x0e\n\x07\x04\ + \0\x03\x01\x02\x01\x03\x12\x03B\x15\x16\n3\n\x04\x04\0\x08\0\x12\x04F\ + \x02]\x03\x1a%\x20Required.\x20The\x20operation\x20to\x20perform.\n\n\ + \x0c\n\x05\x04\0\x08\0\x01\x12\x03F\x08\x11\n\x89\x01\n\x04\x04\0\x02\0\ + \x12\x03I\x04\x15\x1a|\x20Insert\x20new\x20rows\x20in\x20a\x20table.\x20\ + If\x20any\x20of\x20the\x20rows\x20already\x20exist,\n\x20the\x20write\ + \x20or\x20transaction\x20fails\x20with\x20error\x20`ALREADY_EXISTS`.\n\n\ + \x0c\n\x05\x04\0\x02\0\x06\x12\x03I\x04\t\n\x0c\n\x05\x04\0\x02\0\x01\ + \x12\x03I\n\x10\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03I\x13\x14\n\x89\x01\n\ + \x04\x04\0\x02\x01\x12\x03M\x04\x15\x1a|\x20Update\x20existing\x20rows\ + \x20in\x20a\x20table.\x20If\x20any\x20of\x20the\x20rows\x20does\x20not\n\ + \x20already\x20exist,\x20the\x20transaction\x20fails\x20with\x20error\ + \x20`NOT_FOUND`.\n\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03M\x04\t\n\x0c\n\ + \x05\x04\0\x02\x01\x01\x12\x03M\n\x10\n\x0c\n\x05\x04\0\x02\x01\x03\x12\ + \x03M\x13\x14\n\xe1\x01\n\x04\x04\0\x02\x02\x12\x03R\x04\x1f\x1a\xd3\x01\ + \x20Like\x20[insert][google.spanner.v1.Mutation.insert],\x20except\x20th\ + at\x20if\x20the\x20row\x20already\x20exists,\x20then\n\x20its\x20column\ + \x20values\x20are\x20overwritten\x20with\x20the\x20ones\x20provided.\x20\ + Any\n\x20column\x20values\x20not\x20explicitly\x20written\x20are\x20pres\ + erved.\n\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x03R\x04\t\n\x0c\n\x05\x04\0\ + \x02\x02\x01\x12\x03R\n\x1a\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03R\x1d\ + \x1e\n\xb3\x02\n\x04\x04\0\x02\x03\x12\x03X\x04\x16\x1a\xa5\x02\x20Like\ + \x20[insert][google.spanner.v1.Mutation.insert],\x20except\x20that\x20if\ + \x20the\x20row\x20already\x20exists,\x20it\x20is\n\x20deleted,\x20and\ + \x20the\x20column\x20values\x20provided\x20are\x20inserted\n\x20instead.\ + \x20Unlike\x20[insert_or_update][google.spanner.v1.Mutation.insert_or_up\ + date],\x20this\x20means\x20any\x20values\x20not\n\x20explicitly\x20writt\ + en\x20become\x20`NULL`.\n\n\x0c\n\x05\x04\0\x02\x03\x06\x12\x03X\x04\t\n\ + \x0c\n\x05\x04\0\x02\x03\x01\x12\x03X\n\x11\n\x0c\n\x05\x04\0\x02\x03\ + \x03\x12\x03X\x14\x15\n^\n\x04\x04\0\x02\x04\x12\x03\\\x04\x16\x1aQ\x20D\ + elete\x20rows\x20from\x20a\x20table.\x20Succeeds\x20whether\x20or\x20not\ + \x20the\x20named\n\x20rows\x20were\x20present.\n\n\x0c\n\x05\x04\0\x02\ + \x04\x06\x12\x03\\\x04\n\n\x0c\n\x05\x04\0\x02\x04\x01\x12\x03\\\x0b\x11\ + \n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03\\\x14\x15b\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/query_plan.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/query_plan.rs index b7da4404ca..4e556c2dfa 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/query_plan.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/query_plan.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct PlanNode { @@ -258,7 +258,7 @@ impl ::protobuf::Message for PlanNode { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -329,7 +329,7 @@ impl ::protobuf::Message for PlanNode { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if self.index != 0 { os.write_int32(1, self.index)?; } @@ -375,13 +375,13 @@ impl ::protobuf::Message for PlanNode { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -394,10 +394,7 @@ impl ::protobuf::Message for PlanNode { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -446,10 +443,7 @@ impl ::protobuf::Message for PlanNode { } fn default_instance() -> &'static PlanNode { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PlanNode, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PlanNode::new) } @@ -470,14 +464,14 @@ impl ::protobuf::Clear for PlanNode { } impl ::std::fmt::Debug for PlanNode { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PlanNode { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -576,7 +570,7 @@ impl ::protobuf::Message for PlanNode_ChildLink { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -619,7 +613,7 @@ impl ::protobuf::Message for PlanNode_ChildLink { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if self.child_index != 0 { os.write_int32(1, self.child_index)?; } @@ -645,13 +639,13 @@ impl ::protobuf::Message for PlanNode_ChildLink { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -664,10 +658,7 @@ impl ::protobuf::Message for PlanNode_ChildLink { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -696,10 +687,7 @@ impl ::protobuf::Message for PlanNode_ChildLink { } fn default_instance() -> &'static PlanNode_ChildLink { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PlanNode_ChildLink, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PlanNode_ChildLink::new) } @@ -716,14 +704,14 @@ impl ::protobuf::Clear for PlanNode_ChildLink { } impl ::std::fmt::Debug for PlanNode_ChildLink { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PlanNode_ChildLink { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -805,7 +793,7 @@ impl ::protobuf::Message for PlanNode_ShortRepresentation { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -836,7 +824,7 @@ impl ::protobuf::Message for PlanNode_ShortRepresentation { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.description.is_empty() { os.write_string(1, &self.description)?; } @@ -857,13 +845,13 @@ impl ::protobuf::Message for PlanNode_ShortRepresentation { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -876,10 +864,7 @@ impl ::protobuf::Message for PlanNode_ShortRepresentation { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -903,10 +888,7 @@ impl ::protobuf::Message for PlanNode_ShortRepresentation { } fn default_instance() -> &'static PlanNode_ShortRepresentation { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PlanNode_ShortRepresentation, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PlanNode_ShortRepresentation::new) } @@ -922,14 +904,14 @@ impl ::protobuf::Clear for PlanNode_ShortRepresentation { } impl ::std::fmt::Debug for PlanNode_ShortRepresentation { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PlanNode_ShortRepresentation { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -964,10 +946,7 @@ impl ::protobuf::ProtobufEnum for PlanNode_Kind { } fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { ::protobuf::reflect::EnumDescriptor::new("PlanNode_Kind", file_descriptor_proto()) @@ -986,8 +965,8 @@ impl ::std::default::Default for PlanNode_Kind { } impl ::protobuf::reflect::ProtobufValue for PlanNode_Kind { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor()) } } @@ -1047,7 +1026,7 @@ impl ::protobuf::Message for QueryPlan { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1075,7 +1054,7 @@ impl ::protobuf::Message for QueryPlan { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.plan_nodes { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -1097,13 +1076,13 @@ impl ::protobuf::Message for QueryPlan { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1116,10 +1095,7 @@ impl ::protobuf::Message for QueryPlan { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1138,10 +1114,7 @@ impl ::protobuf::Message for QueryPlan { } fn default_instance() -> &'static QueryPlan { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const QueryPlan, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(QueryPlan::new) } @@ -1156,14 +1129,14 @@ impl ::protobuf::Clear for QueryPlan { } impl ::std::fmt::Debug for QueryPlan { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for QueryPlan { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1191,7 +1164,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x03(\x0b2\x1b.google.spanner.v1.PlanNodeR\tplanNodesB\x97\x01\n\x15com.\ google.spanner.v1B\x0eQueryPlanProtoP\x01Z8google.golang.org/genproto/go\ ogleapis/spanner/v1;spanner\xaa\x02\x17Google.Cloud.Spanner.V1\xca\x02\ - \x17Google\\Cloud\\Spanner\\V1J\xc6*\n\x07\x12\x05\x0e\0\x80\x01\x01\n\ + \x17Google\\Cloud\\Spanner\\V1J\xb4-\n\x07\x12\x05\x0e\0\x80\x01\x01\n\ \xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x202018\x20Go\ ogle\x20LLC\n\n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Ver\ sion\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20th\ @@ -1204,56 +1177,75 @@ static file_descriptor_proto_data: &'static [u8] = b"\ WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20expres\ s\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\ \x20language\x20governing\x20permissions\x20and\n\x20limitations\x20unde\ - r\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0\x1a\n\t\n\x02\x03\0\ - \x12\x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\0&\n\x08\n\x01\x08\x12\x03\ - \x15\04\n\t\n\x02\x08%\x12\x03\x15\04\n\x08\n\x01\x08\x12\x03\x16\0O\n\t\ - \n\x02\x08\x0b\x12\x03\x16\0O\n\x08\n\x01\x08\x12\x03\x17\0\"\n\t\n\x02\ - \x08\n\x12\x03\x17\0\"\n\x08\n\x01\x08\x12\x03\x18\0/\n\t\n\x02\x08\x08\ - \x12\x03\x18\0/\n\x08\n\x01\x08\x12\x03\x19\0.\n\t\n\x02\x08\x01\x12\x03\ - \x19\0.\n\x08\n\x01\x08\x12\x03\x1a\04\n\t\n\x02\x08)\x12\x03\x1a\04\nw\ - \n\x02\x04\0\x12\x04\x1e\0x\x01\x1ak\x20Node\x20information\x20for\x20no\ - des\x20appearing\x20in\x20a\x20[QueryPlan.plan_nodes][google.spanner.v1.\ - QueryPlan.plan_nodes].\n\n\n\n\x03\x04\0\x01\x12\x03\x1e\x08\x10\n|\n\ - \x04\x04\0\x03\0\x12\x04!\x024\x03\x1an\x20Metadata\x20associated\x20wit\ - h\x20a\x20parent-child\x20relationship\x20appearing\x20in\x20a\n\x20[Pla\ - nNode][google.spanner.v1.PlanNode].\n\n\x0c\n\x05\x04\0\x03\0\x01\x12\ - \x03!\n\x13\n3\n\x06\x04\0\x03\0\x02\0\x12\x03#\x04\x1a\x1a$\x20The\x20n\ - ode\x20to\x20which\x20the\x20link\x20points.\n\n\x0f\n\x07\x04\0\x03\0\ - \x02\0\x04\x12\x04#\x04!\x15\n\x0e\n\x07\x04\0\x03\0\x02\0\x05\x12\x03#\ - \x04\t\n\x0e\n\x07\x04\0\x03\0\x02\0\x01\x12\x03#\n\x15\n\x0e\n\x07\x04\ - \0\x03\0\x02\0\x03\x12\x03#\x18\x19\n\x84\x02\n\x06\x04\0\x03\0\x02\x01\ - \x12\x03)\x04\x14\x1a\xf4\x01\x20The\x20type\x20of\x20the\x20link.\x20Fo\ - r\x20example,\x20in\x20Hash\x20Joins\x20this\x20could\x20be\x20used\x20t\ - o\n\x20distinguish\x20between\x20the\x20build\x20child\x20and\x20the\x20\ - probe\x20child,\x20or\x20in\x20the\x20case\n\x20of\x20the\x20child\x20be\ - ing\x20an\x20output\x20variable,\x20to\x20represent\x20the\x20tag\x20ass\ - ociated\n\x20with\x20the\x20output\x20variable.\n\n\x0f\n\x07\x04\0\x03\ - \0\x02\x01\x04\x12\x04)\x04#\x1a\n\x0e\n\x07\x04\0\x03\0\x02\x01\x05\x12\ - \x03)\x04\n\n\x0e\n\x07\x04\0\x03\0\x02\x01\x01\x12\x03)\x0b\x0f\n\x0e\n\ - \x07\x04\0\x03\0\x02\x01\x03\x12\x03)\x12\x13\n\xfc\x03\n\x06\x04\0\x03\ - \0\x02\x02\x12\x033\x04\x18\x1a\xec\x03\x20Only\x20present\x20if\x20the\ - \x20child\x20node\x20is\x20[SCALAR][google.spanner.v1.PlanNode.Kind.SCAL\ - AR]\x20and\x20corresponds\n\x20to\x20an\x20output\x20variable\x20of\x20t\ - he\x20parent\x20node.\x20The\x20field\x20carries\x20the\x20name\x20of\n\ - \x20the\x20output\x20variable.\n\x20For\x20example,\x20a\x20`TableScan`\ - \x20operator\x20that\x20reads\x20rows\x20from\x20a\x20table\x20will\n\ - \x20have\x20child\x20links\x20to\x20the\x20`SCALAR`\x20nodes\x20represen\ - ting\x20the\x20output\x20variables\n\x20created\x20for\x20each\x20column\ - \x20that\x20is\x20read\x20by\x20the\x20operator.\x20The\x20corresponding\ - \n\x20`variable`\x20fields\x20will\x20be\x20set\x20to\x20the\x20variable\ - \x20names\x20assigned\x20to\x20the\n\x20columns.\n\n\x0f\n\x07\x04\0\x03\ - \0\x02\x02\x04\x12\x043\x04)\x14\n\x0e\n\x07\x04\0\x03\0\x02\x02\x05\x12\ - \x033\x04\n\n\x0e\n\x07\x04\0\x03\0\x02\x02\x01\x12\x033\x0b\x13\n\x0e\n\ - \x07\x04\0\x03\0\x02\x02\x03\x12\x033\x16\x17\n\x89\x01\n\x04\x04\0\x03\ - \x01\x12\x048\x02B\x03\x1a{\x20Condensed\x20representation\x20of\x20a\ - \x20node\x20and\x20its\x20subtree.\x20Only\x20present\x20for\n\x20`SCALA\ - R`\x20[PlanNode(s)][google.spanner.v1.PlanNode].\n\n\x0c\n\x05\x04\0\x03\ - \x01\x01\x12\x038\n\x1d\nW\n\x06\x04\0\x03\x01\x02\0\x12\x03:\x04\x1b\ - \x1aH\x20A\x20string\x20representation\x20of\x20the\x20expression\x20sub\ - tree\x20rooted\x20at\x20this\x20node.\n\n\x0f\n\x07\x04\0\x03\x01\x02\0\ - \x04\x12\x04:\x048\x1f\n\x0e\n\x07\x04\0\x03\x01\x02\0\x05\x12\x03:\x04\ - \n\n\x0e\n\x07\x04\0\x03\x01\x02\0\x01\x12\x03:\x0b\x16\n\x0e\n\x07\x04\ - \0\x03\x01\x02\0\x03\x12\x03:\x19\x1a\n\xb4\x02\n\x06\x04\0\x03\x01\x02\ + r\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\x08\x19\n\t\n\x02\x03\ + \0\x12\x03\x12\x07%\n\t\n\x02\x03\x01\x12\x03\x13\x07%\n\x08\n\x01\x08\ + \x12\x03\x15\04\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x15\04\n\x0c\n\x05\x08\ + \xe7\x07\0\x02\x12\x03\x15\x07\x17\n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\ + \x15\x07\x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x15\x07\x17\n\ + \x0c\n\x05\x08\xe7\x07\0\x07\x12\x03\x15\x1a3\n\x08\n\x01\x08\x12\x03\ + \x16\0O\n\x0b\n\x04\x08\xe7\x07\x01\x12\x03\x16\0O\n\x0c\n\x05\x08\xe7\ + \x07\x01\x02\x12\x03\x16\x07\x11\n\r\n\x06\x08\xe7\x07\x01\x02\0\x12\x03\ + \x16\x07\x11\n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\x16\x07\x11\n\ + \x0c\n\x05\x08\xe7\x07\x01\x07\x12\x03\x16\x14N\n\x08\n\x01\x08\x12\x03\ + \x17\0\"\n\x0b\n\x04\x08\xe7\x07\x02\x12\x03\x17\0\"\n\x0c\n\x05\x08\xe7\ + \x07\x02\x02\x12\x03\x17\x07\x1a\n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03\ + \x17\x07\x1a\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\x03\x17\x07\x1a\n\ + \x0c\n\x05\x08\xe7\x07\x02\x03\x12\x03\x17\x1d!\n\x08\n\x01\x08\x12\x03\ + \x18\0/\n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x18\0/\n\x0c\n\x05\x08\xe7\ + \x07\x03\x02\x12\x03\x18\x07\x1b\n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03\ + \x18\x07\x1b\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\x03\x18\x07\x1b\n\ + \x0c\n\x05\x08\xe7\x07\x03\x07\x12\x03\x18\x1e.\n\x08\n\x01\x08\x12\x03\ + \x19\0.\n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x19\0.\n\x0c\n\x05\x08\xe7\ + \x07\x04\x02\x12\x03\x19\x07\x13\n\r\n\x06\x08\xe7\x07\x04\x02\0\x12\x03\ + \x19\x07\x13\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\x03\x19\x07\x13\n\ + \x0c\n\x05\x08\xe7\x07\x04\x07\x12\x03\x19\x16-\n\x08\n\x01\x08\x12\x03\ + \x1a\04\n\x0b\n\x04\x08\xe7\x07\x05\x12\x03\x1a\04\n\x0c\n\x05\x08\xe7\ + \x07\x05\x02\x12\x03\x1a\x07\x14\n\r\n\x06\x08\xe7\x07\x05\x02\0\x12\x03\ + \x1a\x07\x14\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\x03\x1a\x07\x14\n\ + \x0c\n\x05\x08\xe7\x07\x05\x07\x12\x03\x1a\x173\nw\n\x02\x04\0\x12\x04\ + \x1e\0x\x01\x1ak\x20Node\x20information\x20for\x20nodes\x20appearing\x20\ + in\x20a\x20[QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes\ + ].\n\n\n\n\x03\x04\0\x01\x12\x03\x1e\x08\x10\n|\n\x04\x04\0\x03\0\x12\ + \x04!\x024\x03\x1an\x20Metadata\x20associated\x20with\x20a\x20parent-chi\ + ld\x20relationship\x20appearing\x20in\x20a\n\x20[PlanNode][google.spanne\ + r.v1.PlanNode].\n\n\x0c\n\x05\x04\0\x03\0\x01\x12\x03!\n\x13\n3\n\x06\ + \x04\0\x03\0\x02\0\x12\x03#\x04\x1a\x1a$\x20The\x20node\x20to\x20which\ + \x20the\x20link\x20points.\n\n\x0f\n\x07\x04\0\x03\0\x02\0\x04\x12\x04#\ + \x04!\x15\n\x0e\n\x07\x04\0\x03\0\x02\0\x05\x12\x03#\x04\t\n\x0e\n\x07\ + \x04\0\x03\0\x02\0\x01\x12\x03#\n\x15\n\x0e\n\x07\x04\0\x03\0\x02\0\x03\ + \x12\x03#\x18\x19\n\x84\x02\n\x06\x04\0\x03\0\x02\x01\x12\x03)\x04\x14\ + \x1a\xf4\x01\x20The\x20type\x20of\x20the\x20link.\x20For\x20example,\x20\ + in\x20Hash\x20Joins\x20this\x20could\x20be\x20used\x20to\n\x20distinguis\ + h\x20between\x20the\x20build\x20child\x20and\x20the\x20probe\x20child,\ + \x20or\x20in\x20the\x20case\n\x20of\x20the\x20child\x20being\x20an\x20ou\ + tput\x20variable,\x20to\x20represent\x20the\x20tag\x20associated\n\x20wi\ + th\x20the\x20output\x20variable.\n\n\x0f\n\x07\x04\0\x03\0\x02\x01\x04\ + \x12\x04)\x04#\x1a\n\x0e\n\x07\x04\0\x03\0\x02\x01\x05\x12\x03)\x04\n\n\ + \x0e\n\x07\x04\0\x03\0\x02\x01\x01\x12\x03)\x0b\x0f\n\x0e\n\x07\x04\0\ + \x03\0\x02\x01\x03\x12\x03)\x12\x13\n\xfc\x03\n\x06\x04\0\x03\0\x02\x02\ + \x12\x033\x04\x18\x1a\xec\x03\x20Only\x20present\x20if\x20the\x20child\ + \x20node\x20is\x20[SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR]\x20an\ + d\x20corresponds\n\x20to\x20an\x20output\x20variable\x20of\x20the\x20par\ + ent\x20node.\x20The\x20field\x20carries\x20the\x20name\x20of\n\x20the\ + \x20output\x20variable.\n\x20For\x20example,\x20a\x20`TableScan`\x20oper\ + ator\x20that\x20reads\x20rows\x20from\x20a\x20table\x20will\n\x20have\ + \x20child\x20links\x20to\x20the\x20`SCALAR`\x20nodes\x20representing\x20\ + the\x20output\x20variables\n\x20created\x20for\x20each\x20column\x20that\ + \x20is\x20read\x20by\x20the\x20operator.\x20The\x20corresponding\n\x20`v\ + ariable`\x20fields\x20will\x20be\x20set\x20to\x20the\x20variable\x20name\ + s\x20assigned\x20to\x20the\n\x20columns.\n\n\x0f\n\x07\x04\0\x03\0\x02\ + \x02\x04\x12\x043\x04)\x14\n\x0e\n\x07\x04\0\x03\0\x02\x02\x05\x12\x033\ + \x04\n\n\x0e\n\x07\x04\0\x03\0\x02\x02\x01\x12\x033\x0b\x13\n\x0e\n\x07\ + \x04\0\x03\0\x02\x02\x03\x12\x033\x16\x17\n\x89\x01\n\x04\x04\0\x03\x01\ + \x12\x048\x02B\x03\x1a{\x20Condensed\x20representation\x20of\x20a\x20nod\ + e\x20and\x20its\x20subtree.\x20Only\x20present\x20for\n\x20`SCALAR`\x20[\ + PlanNode(s)][google.spanner.v1.PlanNode].\n\n\x0c\n\x05\x04\0\x03\x01\ + \x01\x12\x038\n\x1d\nW\n\x06\x04\0\x03\x01\x02\0\x12\x03:\x04\x1b\x1aH\ + \x20A\x20string\x20representation\x20of\x20the\x20expression\x20subtree\ + \x20rooted\x20at\x20this\x20node.\n\n\x0f\n\x07\x04\0\x03\x01\x02\0\x04\ + \x12\x04:\x048\x1f\n\x0e\n\x07\x04\0\x03\x01\x02\0\x05\x12\x03:\x04\n\n\ + \x0e\n\x07\x04\0\x03\x01\x02\0\x01\x12\x03:\x0b\x16\n\x0e\n\x07\x04\0\ + \x03\x01\x02\0\x03\x12\x03:\x19\x1a\n\xb4\x02\n\x06\x04\0\x03\x01\x02\ \x01\x12\x03A\x04&\x1a\xa4\x02\x20A\x20mapping\x20of\x20(subquery\x20var\ iable\x20name)\x20->\x20(subquery\x20node\x20id)\x20for\x20cases\n\x20wh\ ere\x20the\x20`description`\x20string\x20of\x20this\x20node\x20reference\ @@ -1342,10 +1334,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x7f!\"b\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/result_set.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/result_set.rs index 15245e2504..ac6ef7e6ed 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/result_set.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/result_set.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct ResultSet { @@ -160,7 +160,7 @@ impl ::protobuf::Message for ResultSet { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -202,7 +202,7 @@ impl ::protobuf::Message for ResultSet { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let Some(ref v) = self.metadata.as_ref() { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -234,13 +234,13 @@ impl ::protobuf::Message for ResultSet { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -253,10 +253,7 @@ impl ::protobuf::Message for ResultSet { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -285,10 +282,7 @@ impl ::protobuf::Message for ResultSet { } fn default_instance() -> &'static ResultSet { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ResultSet, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ResultSet::new) } @@ -305,14 +299,14 @@ impl ::protobuf::Clear for ResultSet { } impl ::std::fmt::Debug for ResultSet { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ResultSet { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -493,7 +487,7 @@ impl ::protobuf::Message for PartialResultSet { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -551,7 +545,7 @@ impl ::protobuf::Message for PartialResultSet { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let Some(ref v) = self.metadata.as_ref() { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -589,13 +583,13 @@ impl ::protobuf::Message for PartialResultSet { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -608,10 +602,7 @@ impl ::protobuf::Message for PartialResultSet { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -650,10 +641,7 @@ impl ::protobuf::Message for PartialResultSet { } fn default_instance() -> &'static PartialResultSet { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PartialResultSet, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PartialResultSet::new) } @@ -672,14 +660,14 @@ impl ::protobuf::Clear for PartialResultSet { } impl ::std::fmt::Debug for PartialResultSet { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PartialResultSet { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -786,7 +774,7 @@ impl ::protobuf::Message for ResultSetMetadata { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -821,7 +809,7 @@ impl ::protobuf::Message for ResultSetMetadata { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let Some(ref v) = self.row_type.as_ref() { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -848,13 +836,13 @@ impl ::protobuf::Message for ResultSetMetadata { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -867,10 +855,7 @@ impl ::protobuf::Message for ResultSetMetadata { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -894,10 +879,7 @@ impl ::protobuf::Message for ResultSetMetadata { } fn default_instance() -> &'static ResultSetMetadata { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ResultSetMetadata, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ResultSetMetadata::new) } @@ -913,14 +895,14 @@ impl ::protobuf::Clear for ResultSetMetadata { } impl ::std::fmt::Debug for ResultSetMetadata { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ResultSetMetadata { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1085,7 +1067,7 @@ impl ::protobuf::Message for ResultSetStats { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1142,7 +1124,7 @@ impl ::protobuf::Message for ResultSetStats { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let Some(ref v) = self.query_plan.as_ref() { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -1179,13 +1161,13 @@ impl ::protobuf::Message for ResultSetStats { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1198,10 +1180,7 @@ impl ::protobuf::Message for ResultSetStats { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1235,10 +1214,7 @@ impl ::protobuf::Message for ResultSetStats { } fn default_instance() -> &'static ResultSetStats { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ResultSetStats, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ResultSetStats::new) } @@ -1256,14 +1232,14 @@ impl ::protobuf::Clear for ResultSetStats { } impl ::std::fmt::Debug for ResultSetStats { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ResultSetStats { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1291,7 +1267,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ ound\x18\x04\x20\x01(\x03H\0R\x12rowCountLowerBoundB\x0b\n\trow_countB\ \x9a\x01\n\x15com.google.spanner.v1B\x0eResultSetProtoP\x01Z8google.gola\ ng.org/genproto/googleapis/spanner/v1;spanner\xf8\x01\x01\xaa\x02\x17Goo\ - gle.Cloud.Spanner.V1\xca\x02\x17Google\\Cloud\\Spanner\\V1J\xd0@\n\x07\ + gle.Cloud.Spanner.V1\xca\x02\x17Google\\Cloud\\Spanner\\V1J\xfbC\n\x07\ \x12\x05\x0e\0\xcc\x01\x01\n\xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\ \x04\x20Copyright\x202018\x20Google\x20LLC\n\n\x20Licensed\x20under\x20t\ he\x20Apache\x20License,\x20Version\x202.0\x20(the\x20\"License\");\n\ @@ -1305,20 +1281,42 @@ static file_descriptor_proto_data: &'static [u8] = b"\ NY\x20KIND,\x20either\x20express\x20or\x20implied.\n\x20See\x20the\x20Li\ cense\x20for\x20the\x20specific\x20language\x20governing\x20permissions\ \x20and\n\x20limitations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\ - \x12\x03\x10\0\x1a\n\t\n\x02\x03\0\x12\x03\x12\0&\n\t\n\x02\x03\x01\x12\ - \x03\x13\0&\n\t\n\x02\x03\x02\x12\x03\x14\0,\n\t\n\x02\x03\x03\x12\x03\ - \x15\0-\n\t\n\x02\x03\x04\x12\x03\x16\0&\n\x08\n\x01\x08\x12\x03\x18\0\ - \x1f\n\t\n\x02\x08\x1f\x12\x03\x18\0\x1f\n\x08\n\x01\x08\x12\x03\x19\04\ - \n\t\n\x02\x08%\x12\x03\x19\04\n\x08\n\x01\x08\x12\x03\x1a\0O\n\t\n\x02\ - \x08\x0b\x12\x03\x1a\0O\n\x08\n\x01\x08\x12\x03\x1b\0\"\n\t\n\x02\x08\n\ - \x12\x03\x1b\0\"\n\x08\n\x01\x08\x12\x03\x1c\0/\n\t\n\x02\x08\x08\x12\ - \x03\x1c\0/\n\x08\n\x01\x08\x12\x03\x1d\0.\n\t\n\x02\x08\x01\x12\x03\x1d\ - \0.\n\x08\n\x01\x08\x12\x03\x1e\04\n\t\n\x02\x08)\x12\x03\x1e\04\ny\n\ - \x02\x04\0\x12\x04#\08\x01\x1am\x20Results\x20from\x20[Read][google.span\ - ner.v1.Spanner.Read]\x20or\n\x20[ExecuteSql][google.spanner.v1.Spanner.E\ - xecuteSql].\n\n\n\n\x03\x04\0\x01\x12\x03#\x08\x11\nK\n\x04\x04\0\x02\0\ - \x12\x03%\x02!\x1a>\x20Metadata\x20about\x20the\x20result\x20set,\x20suc\ - h\x20as\x20row\x20type\x20information.\n\n\r\n\x05\x04\0\x02\0\x04\x12\ + \x12\x03\x10\x08\x19\n\t\n\x02\x03\0\x12\x03\x12\x07%\n\t\n\x02\x03\x01\ + \x12\x03\x13\x07%\n\t\n\x02\x03\x02\x12\x03\x14\x07+\n\t\n\x02\x03\x03\ + \x12\x03\x15\x07,\n\t\n\x02\x03\x04\x12\x03\x16\x07%\n\x08\n\x01\x08\x12\ + \x03\x18\0\x1f\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x18\0\x1f\n\x0c\n\x05\ + \x08\xe7\x07\0\x02\x12\x03\x18\x07\x17\n\r\n\x06\x08\xe7\x07\0\x02\0\x12\ + \x03\x18\x07\x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x18\x07\x17\ + \n\x0c\n\x05\x08\xe7\x07\0\x03\x12\x03\x18\x1a\x1e\n\x08\n\x01\x08\x12\ + \x03\x19\04\n\x0b\n\x04\x08\xe7\x07\x01\x12\x03\x19\04\n\x0c\n\x05\x08\ + \xe7\x07\x01\x02\x12\x03\x19\x07\x17\n\r\n\x06\x08\xe7\x07\x01\x02\0\x12\ + \x03\x19\x07\x17\n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\x19\x07\ + \x17\n\x0c\n\x05\x08\xe7\x07\x01\x07\x12\x03\x19\x1a3\n\x08\n\x01\x08\ + \x12\x03\x1a\0O\n\x0b\n\x04\x08\xe7\x07\x02\x12\x03\x1a\0O\n\x0c\n\x05\ + \x08\xe7\x07\x02\x02\x12\x03\x1a\x07\x11\n\r\n\x06\x08\xe7\x07\x02\x02\0\ + \x12\x03\x1a\x07\x11\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\x03\x1a\ + \x07\x11\n\x0c\n\x05\x08\xe7\x07\x02\x07\x12\x03\x1a\x14N\n\x08\n\x01\ + \x08\x12\x03\x1b\0\"\n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x1b\0\"\n\x0c\n\ + \x05\x08\xe7\x07\x03\x02\x12\x03\x1b\x07\x1a\n\r\n\x06\x08\xe7\x07\x03\ + \x02\0\x12\x03\x1b\x07\x1a\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\x03\ + \x1b\x07\x1a\n\x0c\n\x05\x08\xe7\x07\x03\x03\x12\x03\x1b\x1d!\n\x08\n\ + \x01\x08\x12\x03\x1c\0/\n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x1c\0/\n\x0c\ + \n\x05\x08\xe7\x07\x04\x02\x12\x03\x1c\x07\x1b\n\r\n\x06\x08\xe7\x07\x04\ + \x02\0\x12\x03\x1c\x07\x1b\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\x03\ + \x1c\x07\x1b\n\x0c\n\x05\x08\xe7\x07\x04\x07\x12\x03\x1c\x1e.\n\x08\n\ + \x01\x08\x12\x03\x1d\0.\n\x0b\n\x04\x08\xe7\x07\x05\x12\x03\x1d\0.\n\x0c\ + \n\x05\x08\xe7\x07\x05\x02\x12\x03\x1d\x07\x13\n\r\n\x06\x08\xe7\x07\x05\ + \x02\0\x12\x03\x1d\x07\x13\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\x03\ + \x1d\x07\x13\n\x0c\n\x05\x08\xe7\x07\x05\x07\x12\x03\x1d\x16-\n\x08\n\ + \x01\x08\x12\x03\x1e\04\n\x0b\n\x04\x08\xe7\x07\x06\x12\x03\x1e\04\n\x0c\ + \n\x05\x08\xe7\x07\x06\x02\x12\x03\x1e\x07\x14\n\r\n\x06\x08\xe7\x07\x06\ + \x02\0\x12\x03\x1e\x07\x14\n\x0e\n\x07\x08\xe7\x07\x06\x02\0\x01\x12\x03\ + \x1e\x07\x14\n\x0c\n\x05\x08\xe7\x07\x06\x07\x12\x03\x1e\x173\ny\n\x02\ + \x04\0\x12\x04#\08\x01\x1am\x20Results\x20from\x20[Read][google.spanner.\ + v1.Spanner.Read]\x20or\n\x20[ExecuteSql][google.spanner.v1.Spanner.Execu\ + teSql].\n\n\n\n\x03\x04\0\x01\x12\x03#\x08\x11\nK\n\x04\x04\0\x02\0\x12\ + \x03%\x02!\x1a>\x20Metadata\x20about\x20the\x20result\x20set,\x20such\ + \x20as\x20row\x20type\x20information.\n\n\r\n\x05\x04\0\x02\0\x04\x12\ \x04%\x02#\x13\n\x0c\n\x05\x04\0\x02\0\x06\x12\x03%\x02\x13\n\x0c\n\x05\ \x04\0\x02\0\x01\x12\x03%\x14\x1c\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03%\ \x1f\x20\n\xde\x02\n\x04\x04\0\x02\x01\x12\x03-\x02.\x1a\xd0\x02\x20Each\ @@ -1510,10 +1508,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x12\x04\xca\x01\"#b\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner.rs index 4e3d0d7178..da5927a7a2 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct CreateSessionRequest { @@ -117,7 +117,7 @@ impl ::protobuf::Message for CreateSessionRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -151,7 +151,7 @@ impl ::protobuf::Message for CreateSessionRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.database.is_empty() { os.write_string(1, &self.database)?; } @@ -176,13 +176,13 @@ impl ::protobuf::Message for CreateSessionRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -195,10 +195,7 @@ impl ::protobuf::Message for CreateSessionRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -222,10 +219,7 @@ impl ::protobuf::Message for CreateSessionRequest { } fn default_instance() -> &'static CreateSessionRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CreateSessionRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(CreateSessionRequest::new) } @@ -241,14 +235,14 @@ impl ::protobuf::Clear for CreateSessionRequest { } impl ::std::fmt::Debug for CreateSessionRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for CreateSessionRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -408,7 +402,7 @@ impl ::protobuf::Message for Session { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -453,7 +447,7 @@ impl ::protobuf::Message for Session { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -484,13 +478,13 @@ impl ::protobuf::Message for Session { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -503,10 +497,7 @@ impl ::protobuf::Message for Session { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -540,10 +531,7 @@ impl ::protobuf::Message for Session { } fn default_instance() -> &'static Session { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Session, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Session::new) } @@ -561,14 +549,14 @@ impl ::protobuf::Clear for Session { } impl ::std::fmt::Debug for Session { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Session { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -624,7 +612,7 @@ impl ::protobuf::Message for GetSessionRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -651,7 +639,7 @@ impl ::protobuf::Message for GetSessionRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -671,13 +659,13 @@ impl ::protobuf::Message for GetSessionRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -690,10 +678,7 @@ impl ::protobuf::Message for GetSessionRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -712,10 +697,7 @@ impl ::protobuf::Message for GetSessionRequest { } fn default_instance() -> &'static GetSessionRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const GetSessionRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(GetSessionRequest::new) } @@ -730,14 +712,14 @@ impl ::protobuf::Clear for GetSessionRequest { } impl ::std::fmt::Debug for GetSessionRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for GetSessionRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -863,7 +845,7 @@ impl ::protobuf::Message for ListSessionsRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -912,7 +894,7 @@ impl ::protobuf::Message for ListSessionsRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.database.is_empty() { os.write_string(1, &self.database)?; } @@ -941,13 +923,13 @@ impl ::protobuf::Message for ListSessionsRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -960,10 +942,7 @@ impl ::protobuf::Message for ListSessionsRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -997,10 +976,7 @@ impl ::protobuf::Message for ListSessionsRequest { } fn default_instance() -> &'static ListSessionsRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListSessionsRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ListSessionsRequest::new) } @@ -1018,14 +994,14 @@ impl ::protobuf::Clear for ListSessionsRequest { } impl ::std::fmt::Debug for ListSessionsRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ListSessionsRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1112,7 +1088,7 @@ impl ::protobuf::Message for ListSessionsResponse { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1146,7 +1122,7 @@ impl ::protobuf::Message for ListSessionsResponse { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.sessions { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -1171,13 +1147,13 @@ impl ::protobuf::Message for ListSessionsResponse { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1190,10 +1166,7 @@ impl ::protobuf::Message for ListSessionsResponse { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1217,10 +1190,7 @@ impl ::protobuf::Message for ListSessionsResponse { } fn default_instance() -> &'static ListSessionsResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ListSessionsResponse, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ListSessionsResponse::new) } @@ -1236,14 +1206,14 @@ impl ::protobuf::Clear for ListSessionsResponse { } impl ::std::fmt::Debug for ListSessionsResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ListSessionsResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1299,7 +1269,7 @@ impl ::protobuf::Message for DeleteSessionRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1326,7 +1296,7 @@ impl ::protobuf::Message for DeleteSessionRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -1346,13 +1316,13 @@ impl ::protobuf::Message for DeleteSessionRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1365,10 +1335,7 @@ impl ::protobuf::Message for DeleteSessionRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1387,10 +1354,7 @@ impl ::protobuf::Message for DeleteSessionRequest { } fn default_instance() -> &'static DeleteSessionRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const DeleteSessionRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(DeleteSessionRequest::new) } @@ -1405,14 +1369,14 @@ impl ::protobuf::Clear for DeleteSessionRequest { } impl ::std::fmt::Debug for DeleteSessionRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for DeleteSessionRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1685,7 +1649,7 @@ impl ::protobuf::Message for ExecuteSqlRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1764,7 +1728,7 @@ impl ::protobuf::Message for ExecuteSqlRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.session.is_empty() { os.write_string(1, &self.session)?; } @@ -1810,13 +1774,13 @@ impl ::protobuf::Message for ExecuteSqlRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1829,10 +1793,7 @@ impl ::protobuf::Message for ExecuteSqlRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1891,10 +1852,7 @@ impl ::protobuf::Message for ExecuteSqlRequest { } fn default_instance() -> &'static ExecuteSqlRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ExecuteSqlRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ExecuteSqlRequest::new) } @@ -1917,14 +1875,14 @@ impl ::protobuf::Clear for ExecuteSqlRequest { } impl ::std::fmt::Debug for ExecuteSqlRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ExecuteSqlRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1959,10 +1917,7 @@ impl ::protobuf::ProtobufEnum for ExecuteSqlRequest_QueryMode { } fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { ::protobuf::reflect::EnumDescriptor::new("ExecuteSqlRequest_QueryMode", file_descriptor_proto()) @@ -1981,8 +1936,8 @@ impl ::std::default::Default for ExecuteSqlRequest_QueryMode { } impl ::protobuf::reflect::ProtobufValue for ExecuteSqlRequest_QueryMode { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor()) } } @@ -2043,7 +1998,7 @@ impl ::protobuf::Message for PartitionOptions { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2084,7 +2039,7 @@ impl ::protobuf::Message for PartitionOptions { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if self.partition_size_bytes != 0 { os.write_int64(1, self.partition_size_bytes)?; } @@ -2107,13 +2062,13 @@ impl ::protobuf::Message for PartitionOptions { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2126,10 +2081,7 @@ impl ::protobuf::Message for PartitionOptions { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2153,10 +2105,7 @@ impl ::protobuf::Message for PartitionOptions { } fn default_instance() -> &'static PartitionOptions { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PartitionOptions, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PartitionOptions::new) } @@ -2172,14 +2121,14 @@ impl ::protobuf::Clear for PartitionOptions { } impl ::std::fmt::Debug for PartitionOptions { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PartitionOptions { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2405,7 +2354,7 @@ impl ::protobuf::Message for PartitionQueryRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2463,7 +2412,7 @@ impl ::protobuf::Message for PartitionQueryRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.session.is_empty() { os.write_string(1, &self.session)?; } @@ -2502,13 +2451,13 @@ impl ::protobuf::Message for PartitionQueryRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2521,10 +2470,7 @@ impl ::protobuf::Message for PartitionQueryRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -2568,10 +2514,7 @@ impl ::protobuf::Message for PartitionQueryRequest { } fn default_instance() -> &'static PartitionQueryRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PartitionQueryRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PartitionQueryRequest::new) } @@ -2591,14 +2534,14 @@ impl ::protobuf::Clear for PartitionQueryRequest { } impl ::std::fmt::Debug for PartitionQueryRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PartitionQueryRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -2851,7 +2794,7 @@ impl ::protobuf::Message for PartitionReadRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -2917,7 +2860,7 @@ impl ::protobuf::Message for PartitionReadRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.session.is_empty() { os.write_string(1, &self.session)?; } @@ -2961,13 +2904,13 @@ impl ::protobuf::Message for PartitionReadRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -2980,10 +2923,7 @@ impl ::protobuf::Message for PartitionReadRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -3032,10 +2972,7 @@ impl ::protobuf::Message for PartitionReadRequest { } fn default_instance() -> &'static PartitionReadRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PartitionReadRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PartitionReadRequest::new) } @@ -3056,14 +2993,14 @@ impl ::protobuf::Clear for PartitionReadRequest { } impl ::std::fmt::Debug for PartitionReadRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PartitionReadRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -3119,7 +3056,7 @@ impl ::protobuf::Message for Partition { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -3146,7 +3083,7 @@ impl ::protobuf::Message for Partition { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.partition_token.is_empty() { os.write_bytes(1, &self.partition_token)?; } @@ -3166,13 +3103,13 @@ impl ::protobuf::Message for Partition { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -3185,10 +3122,7 @@ impl ::protobuf::Message for Partition { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -3207,10 +3141,7 @@ impl ::protobuf::Message for Partition { } fn default_instance() -> &'static Partition { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Partition, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Partition::new) } @@ -3225,14 +3156,14 @@ impl ::protobuf::Clear for Partition { } impl ::std::fmt::Debug for Partition { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Partition { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -3331,7 +3262,7 @@ impl ::protobuf::Message for PartitionResponse { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -3366,7 +3297,7 @@ impl ::protobuf::Message for PartitionResponse { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.partitions { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -3393,13 +3324,13 @@ impl ::protobuf::Message for PartitionResponse { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -3412,10 +3343,7 @@ impl ::protobuf::Message for PartitionResponse { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -3439,10 +3367,7 @@ impl ::protobuf::Message for PartitionResponse { } fn default_instance() -> &'static PartitionResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const PartitionResponse, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(PartitionResponse::new) } @@ -3458,14 +3383,14 @@ impl ::protobuf::Clear for PartitionResponse { } impl ::std::fmt::Debug for PartitionResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for PartitionResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -3749,7 +3674,7 @@ impl ::protobuf::Message for ReadRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -3830,7 +3755,7 @@ impl ::protobuf::Message for ReadRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.session.is_empty() { os.write_string(1, &self.session)?; } @@ -3878,13 +3803,13 @@ impl ::protobuf::Message for ReadRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -3897,10 +3822,7 @@ impl ::protobuf::Message for ReadRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -3959,10 +3881,7 @@ impl ::protobuf::Message for ReadRequest { } fn default_instance() -> &'static ReadRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ReadRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(ReadRequest::new) } @@ -3985,14 +3904,14 @@ impl ::protobuf::Clear for ReadRequest { } impl ::std::fmt::Debug for ReadRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for ReadRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -4087,7 +4006,7 @@ impl ::protobuf::Message for BeginTransactionRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -4121,7 +4040,7 @@ impl ::protobuf::Message for BeginTransactionRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.session.is_empty() { os.write_string(1, &self.session)?; } @@ -4146,13 +4065,13 @@ impl ::protobuf::Message for BeginTransactionRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -4165,10 +4084,7 @@ impl ::protobuf::Message for BeginTransactionRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -4192,10 +4108,7 @@ impl ::protobuf::Message for BeginTransactionRequest { } fn default_instance() -> &'static BeginTransactionRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const BeginTransactionRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(BeginTransactionRequest::new) } @@ -4211,14 +4124,14 @@ impl ::protobuf::Clear for BeginTransactionRequest { } impl ::std::fmt::Debug for BeginTransactionRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for BeginTransactionRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -4416,7 +4329,7 @@ impl ::protobuf::Message for CommitRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -4473,7 +4386,7 @@ impl ::protobuf::Message for CommitRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.session.is_empty() { os.write_string(1, &self.session)?; } @@ -4510,13 +4423,13 @@ impl ::protobuf::Message for CommitRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -4529,10 +4442,7 @@ impl ::protobuf::Message for CommitRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -4566,10 +4476,7 @@ impl ::protobuf::Message for CommitRequest { } fn default_instance() -> &'static CommitRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CommitRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(CommitRequest::new) } @@ -4587,14 +4494,14 @@ impl ::protobuf::Clear for CommitRequest { } impl ::std::fmt::Debug for CommitRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for CommitRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -4662,7 +4569,7 @@ impl ::protobuf::Message for CommitResponse { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -4690,7 +4597,7 @@ impl ::protobuf::Message for CommitResponse { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let Some(ref v) = self.commit_timestamp.as_ref() { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -4712,13 +4619,13 @@ impl ::protobuf::Message for CommitResponse { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -4731,10 +4638,7 @@ impl ::protobuf::Message for CommitResponse { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -4753,10 +4657,7 @@ impl ::protobuf::Message for CommitResponse { } fn default_instance() -> &'static CommitResponse { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const CommitResponse, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(CommitResponse::new) } @@ -4771,14 +4672,14 @@ impl ::protobuf::Clear for CommitResponse { } impl ::std::fmt::Debug for CommitResponse { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for CommitResponse { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -4861,7 +4762,7 @@ impl ::protobuf::Message for RollbackRequest { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -4894,7 +4795,7 @@ impl ::protobuf::Message for RollbackRequest { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.session.is_empty() { os.write_string(1, &self.session)?; } @@ -4917,13 +4818,13 @@ impl ::protobuf::Message for RollbackRequest { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -4936,10 +4837,7 @@ impl ::protobuf::Message for RollbackRequest { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -4963,10 +4861,7 @@ impl ::protobuf::Message for RollbackRequest { } fn default_instance() -> &'static RollbackRequest { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const RollbackRequest, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(RollbackRequest::new) } @@ -4982,14 +4877,14 @@ impl ::protobuf::Clear for RollbackRequest { } impl ::std::fmt::Debug for RollbackRequest { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for RollbackRequest { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -5113,7 +5008,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ abases/*/sessions/*}:partitionRead:\x01*B\x95\x01\n\x15com.google.spanne\ r.v1B\x0cSpannerProtoP\x01Z8google.golang.org/genproto/googleapis/spanne\ r/v1;spanner\xaa\x02\x17Google.Cloud.Spanner.V1\xca\x02\x17Google\\Cloud\ - \\Spanner\\V1J\xc8\xda\x01\n\x07\x12\x05\x0e\0\x84\x05\x01\n\xbc\x04\n\ + \\Spanner\\V1J\xa8\xe5\x01\n\x07\x12\x05\x0e\0\x84\x05\x01\n\xbc\x04\n\ \x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x202018\x20Google\x20LL\ C\n\n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.\ 0\x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\ @@ -5126,758 +5021,822 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\ \x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20lan\ guage\x20governing\x20permissions\x20and\n\x20limitations\x20under\x20th\ - e\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0\x1a\n\t\n\x02\x03\0\x12\ - \x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\0%\n\t\n\x02\x03\x02\x12\x03\ - \x14\0&\n\t\n\x02\x03\x03\x12\x03\x15\0)\n\t\n\x02\x03\x04\x12\x03\x16\0\ - &\n\t\n\x02\x03\x05\x12\x03\x17\0*\n\t\n\x02\x03\x06\x12\x03\x18\0,\n\t\ - \n\x02\x03\x07\x12\x03\x19\0-\n\t\n\x02\x03\x08\x12\x03\x1a\0&\n\x08\n\ - \x01\x08\x12\x03\x1c\04\n\t\n\x02\x08%\x12\x03\x1c\04\n\x08\n\x01\x08\ - \x12\x03\x1d\0O\n\t\n\x02\x08\x0b\x12\x03\x1d\0O\n\x08\n\x01\x08\x12\x03\ - \x1e\0\"\n\t\n\x02\x08\n\x12\x03\x1e\0\"\n\x08\n\x01\x08\x12\x03\x1f\0-\ - \n\t\n\x02\x08\x08\x12\x03\x1f\0-\n\x08\n\x01\x08\x12\x03\x20\0.\n\t\n\ - \x02\x08\x01\x12\x03\x20\0.\n\x08\n\x01\x08\x12\x03!\04\n\t\n\x02\x08)\ - \x12\x03!\04\n\x9d\x01\n\x02\x06\0\x12\x05(\0\xe6\x01\x01\x1a\x8f\x01\ - \x20Cloud\x20Spanner\x20API\n\n\x20The\x20Cloud\x20Spanner\x20API\x20can\ - \x20be\x20used\x20to\x20manage\x20sessions\x20and\x20execute\n\x20transa\ - ctions\x20on\x20data\x20stored\x20in\x20Cloud\x20Spanner\x20databases.\n\ - \n\n\n\x03\x06\0\x01\x12\x03(\x08\x0f\n\x8a\x07\n\x04\x06\0\x02\0\x12\ - \x04<\x02A\x03\x1a\xfb\x06\x20Creates\x20a\x20new\x20session.\x20A\x20se\ - ssion\x20can\x20be\x20used\x20to\x20perform\n\x20transactions\x20that\ - \x20read\x20and/or\x20modify\x20data\x20in\x20a\x20Cloud\x20Spanner\x20d\ - atabase.\n\x20Sessions\x20are\x20meant\x20to\x20be\x20reused\x20for\x20m\ - any\x20consecutive\n\x20transactions.\n\n\x20Sessions\x20can\x20only\x20\ - execute\x20one\x20transaction\x20at\x20a\x20time.\x20To\x20execute\n\x20\ - multiple\x20concurrent\x20read-write/write-only\x20transactions,\x20crea\ - te\n\x20multiple\x20sessions.\x20Note\x20that\x20standalone\x20reads\x20\ - and\x20queries\x20use\x20a\n\x20transaction\x20internally,\x20and\x20cou\ - nt\x20toward\x20the\x20one\x20transaction\n\x20limit.\n\n\x20Cloud\x20Sp\ - anner\x20limits\x20the\x20number\x20of\x20sessions\x20that\x20can\x20exi\ - st\x20at\x20any\x20given\n\x20time;\x20thus,\x20it\x20is\x20a\x20good\ - \x20idea\x20to\x20delete\x20idle\x20and/or\x20unneeded\x20sessions.\n\ - \x20Aside\x20from\x20explicit\x20deletes,\x20Cloud\x20Spanner\x20can\x20\ - delete\x20sessions\x20for\x20which\x20no\n\x20operations\x20are\x20sent\ - \x20for\x20more\x20than\x20an\x20hour.\x20If\x20a\x20session\x20is\x20de\ - leted,\n\x20requests\x20to\x20it\x20return\x20`NOT_FOUND`.\n\n\x20Idle\ - \x20sessions\x20can\x20be\x20kept\x20alive\x20by\x20sending\x20a\x20triv\ - ial\x20SQL\x20query\n\x20periodically,\x20e.g.,\x20`\"SELECT\x201\"`.\n\ - \n\x0c\n\x05\x06\0\x02\0\x01\x12\x03<\x06\x13\n\x0c\n\x05\x06\0\x02\0\ - \x02\x12\x03<\x14(\n\x0c\n\x05\x06\0\x02\0\x03\x12\x03<3:\n\r\n\x05\x06\ - \0\x02\0\x04\x12\x04=\x04@\x06\n\x11\n\t\x06\0\x02\0\x04\xb0\xca\xbc\"\ - \x12\x04=\x04@\x06\n\x9d\x01\n\x04\x06\0\x02\x01\x12\x04F\x02J\x03\x1a\ - \x8e\x01\x20Gets\x20a\x20session.\x20Returns\x20`NOT_FOUND`\x20if\x20the\ - \x20session\x20does\x20not\x20exist.\n\x20This\x20is\x20mainly\x20useful\ - \x20for\x20determining\x20whether\x20a\x20session\x20is\x20still\n\x20al\ - ive.\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\x03F\x06\x10\n\x0c\n\x05\x06\0\ - \x02\x01\x02\x12\x03F\x11\"\n\x0c\n\x05\x06\0\x02\x01\x03\x12\x03F-4\n\r\ - \n\x05\x06\0\x02\x01\x04\x12\x04G\x04I\x06\n\x11\n\t\x06\0\x02\x01\x04\ - \xb0\xca\xbc\"\x12\x04G\x04I\x06\n7\n\x04\x06\0\x02\x02\x12\x04M\x02Q\ - \x03\x1a)\x20Lists\x20all\x20sessions\x20in\x20a\x20given\x20database.\n\ - \n\x0c\n\x05\x06\0\x02\x02\x01\x12\x03M\x06\x12\n\x0c\n\x05\x06\0\x02\ - \x02\x02\x12\x03M\x13&\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x03M1E\n\r\n\ - \x05\x06\0\x02\x02\x04\x12\x04N\x04P\x06\n\x11\n\t\x06\0\x02\x02\x04\xb0\ - \xca\xbc\"\x12\x04N\x04P\x06\nN\n\x04\x06\0\x02\x03\x12\x04T\x02X\x03\ - \x1a@\x20Ends\x20a\x20session,\x20releasing\x20server\x20resources\x20as\ - sociated\x20with\x20it.\n\n\x0c\n\x05\x06\0\x02\x03\x01\x12\x03T\x06\x13\ - \n\x0c\n\x05\x06\0\x02\x03\x02\x12\x03T\x14(\n\x0c\n\x05\x06\0\x02\x03\ - \x03\x12\x03T3H\n\r\n\x05\x06\0\x02\x03\x04\x12\x04U\x04W\x06\n\x11\n\t\ - \x06\0\x02\x03\x04\xb0\xca\xbc\"\x12\x04U\x04W\x06\n\xe9\x04\n\x04\x06\0\ - \x02\x04\x12\x04e\x02j\x03\x1a\xda\x04\x20Executes\x20an\x20SQL\x20state\ - ment,\x20returning\x20all\x20results\x20in\x20a\x20single\x20reply.\x20T\ - his\n\x20method\x20cannot\x20be\x20used\x20to\x20return\x20a\x20result\ - \x20set\x20larger\x20than\x2010\x20MiB;\n\x20if\x20the\x20query\x20yield\ - s\x20more\x20data\x20than\x20that,\x20the\x20query\x20fails\x20with\n\ - \x20a\x20`FAILED_PRECONDITION`\x20error.\n\n\x20Operations\x20inside\x20\ - read-write\x20transactions\x20might\x20return\x20`ABORTED`.\x20If\n\x20t\ - his\x20occurs,\x20the\x20application\x20should\x20restart\x20the\x20tran\ - saction\x20from\n\x20the\x20beginning.\x20See\x20[Transaction][google.sp\ - anner.v1.Transaction]\x20for\x20more\x20details.\n\n\x20Larger\x20result\ - \x20sets\x20can\x20be\x20fetched\x20in\x20streaming\x20fashion\x20by\x20\ - calling\n\x20[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStre\ - amingSql]\x20instead.\n\n\x0c\n\x05\x06\0\x02\x04\x01\x12\x03e\x06\x10\n\ - \x0c\n\x05\x06\0\x02\x04\x02\x12\x03e\x11\"\n\x0c\n\x05\x06\0\x02\x04\ - \x03\x12\x03e-6\n\r\n\x05\x06\0\x02\x04\x04\x12\x04f\x04i\x06\n\x11\n\t\ - \x06\0\x02\x04\x04\xb0\xca\xbc\"\x12\x04f\x04i\x06\n\xd5\x02\n\x04\x06\0\ - \x02\x05\x12\x04q\x02v\x03\x1a\xc6\x02\x20Like\x20[ExecuteSql][google.sp\ - anner.v1.Spanner.ExecuteSql],\x20except\x20returns\x20the\x20result\n\ - \x20set\x20as\x20a\x20stream.\x20Unlike\x20[ExecuteSql][google.spanner.v\ - 1.Spanner.ExecuteSql],\x20there\n\x20is\x20no\x20limit\x20on\x20the\x20s\ - ize\x20of\x20the\x20returned\x20result\x20set.\x20However,\x20no\n\x20in\ - dividual\x20row\x20in\x20the\x20result\x20set\x20can\x20exceed\x20100\ - \x20MiB,\x20and\x20no\n\x20column\x20value\x20can\x20exceed\x2010\x20MiB\ - .\n\n\x0c\n\x05\x06\0\x02\x05\x01\x12\x03q\x06\x19\n\x0c\n\x05\x06\0\x02\ - \x05\x02\x12\x03q\x1a+\n\x0c\n\x05\x06\0\x02\x05\x06\x12\x03q6<\n\x0c\n\ - \x05\x06\0\x02\x05\x03\x12\x03q=M\n\r\n\x05\x06\0\x02\x05\x04\x12\x04r\ - \x04u\x06\n\x11\n\t\x06\0\x02\x05\x04\xb0\xca\xbc\"\x12\x04r\x04u\x06\n\ - \xb1\x05\n\x04\x06\0\x02\x06\x12\x06\x85\x01\x02\x8a\x01\x03\x1a\xa0\x05\ - \x20Reads\x20rows\x20from\x20the\x20database\x20using\x20key\x20lookups\ - \x20and\x20scans,\x20as\x20a\n\x20simple\x20key/value\x20style\x20altern\ - ative\x20to\n\x20[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].\x20\ - \x20This\x20method\x20cannot\x20be\x20used\x20to\n\x20return\x20a\x20res\ - ult\x20set\x20larger\x20than\x2010\x20MiB;\x20if\x20the\x20read\x20match\ - es\x20more\n\x20data\x20than\x20that,\x20the\x20read\x20fails\x20with\ - \x20a\x20`FAILED_PRECONDITION`\n\x20error.\n\n\x20Reads\x20inside\x20rea\ - d-write\x20transactions\x20might\x20return\x20`ABORTED`.\x20If\n\x20this\ - \x20occurs,\x20the\x20application\x20should\x20restart\x20the\x20transac\ - tion\x20from\n\x20the\x20beginning.\x20See\x20[Transaction][google.spann\ - er.v1.Transaction]\x20for\x20more\x20details.\n\n\x20Larger\x20result\ - \x20sets\x20can\x20be\x20yielded\x20in\x20streaming\x20fashion\x20by\x20\ - calling\n\x20[StreamingRead][google.spanner.v1.Spanner.StreamingRead]\ - \x20instead.\n\n\r\n\x05\x06\0\x02\x06\x01\x12\x04\x85\x01\x06\n\n\r\n\ - \x05\x06\0\x02\x06\x02\x12\x04\x85\x01\x0b\x16\n\r\n\x05\x06\0\x02\x06\ - \x03\x12\x04\x85\x01!*\n\x0f\n\x05\x06\0\x02\x06\x04\x12\x06\x86\x01\x04\ - \x89\x01\x06\n\x13\n\t\x06\0\x02\x06\x04\xb0\xca\xbc\"\x12\x06\x86\x01\ - \x04\x89\x01\x06\n\xbf\x02\n\x04\x06\0\x02\x07\x12\x06\x91\x01\x02\x96\ - \x01\x03\x1a\xae\x02\x20Like\x20[Read][google.spanner.v1.Spanner.Read],\ - \x20except\x20returns\x20the\x20result\x20set\x20as\x20a\n\x20stream.\ - \x20Unlike\x20[Read][google.spanner.v1.Spanner.Read],\x20there\x20is\x20\ - no\x20limit\x20on\x20the\n\x20size\x20of\x20the\x20returned\x20result\ - \x20set.\x20However,\x20no\x20individual\x20row\x20in\n\x20the\x20result\ - \x20set\x20can\x20exceed\x20100\x20MiB,\x20and\x20no\x20column\x20value\ - \x20can\x20exceed\n\x2010\x20MiB.\n\n\r\n\x05\x06\0\x02\x07\x01\x12\x04\ - \x91\x01\x06\x13\n\r\n\x05\x06\0\x02\x07\x02\x12\x04\x91\x01\x14\x1f\n\r\ - \n\x05\x06\0\x02\x07\x06\x12\x04\x91\x01*0\n\r\n\x05\x06\0\x02\x07\x03\ - \x12\x04\x91\x011A\n\x0f\n\x05\x06\0\x02\x07\x04\x12\x06\x92\x01\x04\x95\ - \x01\x06\n\x13\n\t\x06\0\x02\x07\x04\xb0\xca\xbc\"\x12\x06\x92\x01\x04\ - \x95\x01\x06\n\x87\x02\n\x04\x06\0\x02\x08\x12\x06\x9c\x01\x02\xa1\x01\ - \x03\x1a\xf6\x01\x20Begins\x20a\x20new\x20transaction.\x20This\x20step\ - \x20can\x20often\x20be\x20skipped:\n\x20[Read][google.spanner.v1.Spanner\ - .Read],\x20[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]\x20and\n\ - \x20[Commit][google.spanner.v1.Spanner.Commit]\x20can\x20begin\x20a\x20n\ - ew\x20transaction\x20as\x20a\n\x20side-effect.\n\n\r\n\x05\x06\0\x02\x08\ - \x01\x12\x04\x9c\x01\x06\x16\n\r\n\x05\x06\0\x02\x08\x02\x12\x04\x9c\x01\ - \x17.\n\r\n\x05\x06\0\x02\x08\x03\x12\x04\x9c\x019D\n\x0f\n\x05\x06\0\ - \x02\x08\x04\x12\x06\x9d\x01\x04\xa0\x01\x06\n\x13\n\t\x06\0\x02\x08\x04\ - \xb0\xca\xbc\"\x12\x06\x9d\x01\x04\xa0\x01\x06\n\xb6\x03\n\x04\x06\0\x02\ - \t\x12\x06\xab\x01\x02\xb0\x01\x03\x1a\xa5\x03\x20Commits\x20a\x20transa\ - ction.\x20The\x20request\x20includes\x20the\x20mutations\x20to\x20be\n\ - \x20applied\x20to\x20rows\x20in\x20the\x20database.\n\n\x20`Commit`\x20m\ - ight\x20return\x20an\x20`ABORTED`\x20error.\x20This\x20can\x20occur\x20a\ - t\x20any\x20time;\n\x20commonly,\x20the\x20cause\x20is\x20conflicts\x20w\ - ith\x20concurrent\n\x20transactions.\x20However,\x20it\x20can\x20also\ - \x20happen\x20for\x20a\x20variety\x20of\x20other\n\x20reasons.\x20If\x20\ - `Commit`\x20returns\x20`ABORTED`,\x20the\x20caller\x20should\x20re-attem\ - pt\n\x20the\x20transaction\x20from\x20the\x20beginning,\x20re-using\x20t\ - he\x20same\x20session.\n\n\r\n\x05\x06\0\x02\t\x01\x12\x04\xab\x01\x06\ - \x0c\n\r\n\x05\x06\0\x02\t\x02\x12\x04\xab\x01\r\x1a\n\r\n\x05\x06\0\x02\ - \t\x03\x12\x04\xab\x01%3\n\x0f\n\x05\x06\0\x02\t\x04\x12\x06\xac\x01\x04\ - \xaf\x01\x06\n\x13\n\t\x06\0\x02\t\x04\xb0\xca\xbc\"\x12\x06\xac\x01\x04\ - \xaf\x01\x06\n\xd7\x03\n\x04\x06\0\x02\n\x12\x06\xba\x01\x02\xbf\x01\x03\ - \x1a\xc6\x03\x20Rolls\x20back\x20a\x20transaction,\x20releasing\x20any\ - \x20locks\x20it\x20holds.\x20It\x20is\x20a\x20good\n\x20idea\x20to\x20ca\ - ll\x20this\x20for\x20any\x20transaction\x20that\x20includes\x20one\x20or\ - \x20more\n\x20[Read][google.spanner.v1.Spanner.Read]\x20or\x20[ExecuteSq\ - l][google.spanner.v1.Spanner.ExecuteSql]\x20requests\x20and\n\x20ultimat\ - ely\x20decides\x20not\x20to\x20commit.\n\n\x20`Rollback`\x20returns\x20`\ - OK`\x20if\x20it\x20successfully\x20aborts\x20the\x20transaction,\x20the\ - \n\x20transaction\x20was\x20already\x20aborted,\x20or\x20the\x20transact\ - ion\x20is\x20not\n\x20found.\x20`Rollback`\x20never\x20returns\x20`ABORT\ - ED`.\n\n\r\n\x05\x06\0\x02\n\x01\x12\x04\xba\x01\x06\x0e\n\r\n\x05\x06\0\ - \x02\n\x02\x12\x04\xba\x01\x0f\x1e\n\r\n\x05\x06\0\x02\n\x03\x12\x04\xba\ - \x01)>\n\x0f\n\x05\x06\0\x02\n\x04\x12\x06\xbb\x01\x04\xbe\x01\x06\n\x13\ - \n\t\x06\0\x02\n\x04\xb0\xca\xbc\"\x12\x06\xbb\x01\x04\xbe\x01\x06\n\xef\ - \x05\n\x04\x06\0\x02\x0b\x12\x06\xcc\x01\x02\xd1\x01\x03\x1a\xde\x05\x20\ - Creates\x20a\x20set\x20of\x20partition\x20tokens\x20that\x20can\x20be\ - \x20used\x20to\x20execute\x20a\x20query\n\x20operation\x20in\x20parallel\ - .\x20\x20Each\x20of\x20the\x20returned\x20partition\x20tokens\x20can\x20\ - be\x20used\n\x20by\x20[ExecuteStreamingSql][google.spanner.v1.Spanner.Ex\ - ecuteStreamingSql]\x20to\x20specify\x20a\x20subset\n\x20of\x20the\x20que\ - ry\x20result\x20to\x20read.\x20\x20The\x20same\x20session\x20and\x20read\ - -only\x20transaction\n\x20must\x20be\x20used\x20by\x20the\x20PartitionQu\ - eryRequest\x20used\x20to\x20create\x20the\n\x20partition\x20tokens\x20an\ - d\x20the\x20ExecuteSqlRequests\x20that\x20use\x20the\x20partition\x20tok\ - ens.\n\n\x20Partition\x20tokens\x20become\x20invalid\x20when\x20the\x20s\ - ession\x20used\x20to\x20create\x20them\n\x20is\x20deleted,\x20is\x20idle\ - \x20for\x20too\x20long,\x20begins\x20a\x20new\x20transaction,\x20or\x20b\ - ecomes\x20too\n\x20old.\x20\x20When\x20any\x20of\x20these\x20happen,\x20\ - it\x20is\x20not\x20possible\x20to\x20resume\x20the\x20query,\x20and\n\ - \x20the\x20whole\x20operation\x20must\x20be\x20restarted\x20from\x20the\ - \x20beginning.\n\n\r\n\x05\x06\0\x02\x0b\x01\x12\x04\xcc\x01\x06\x14\n\r\ - \n\x05\x06\0\x02\x0b\x02\x12\x04\xcc\x01\x15*\n\r\n\x05\x06\0\x02\x0b\ - \x03\x12\x04\xcc\x015F\n\x0f\n\x05\x06\0\x02\x0b\x04\x12\x06\xcd\x01\x04\ - \xd0\x01\x06\n\x13\n\t\x06\0\x02\x0b\x04\xb0\xca\xbc\"\x12\x06\xcd\x01\ - \x04\xd0\x01\x06\n\x84\x07\n\x04\x06\0\x02\x0c\x12\x06\xe0\x01\x02\xe5\ - \x01\x03\x1a\xf3\x06\x20Creates\x20a\x20set\x20of\x20partition\x20tokens\ - \x20that\x20can\x20be\x20used\x20to\x20execute\x20a\x20read\n\x20operati\ - on\x20in\x20parallel.\x20\x20Each\x20of\x20the\x20returned\x20partition\ - \x20tokens\x20can\x20be\x20used\n\x20by\x20[StreamingRead][google.spanne\ - r.v1.Spanner.StreamingRead]\x20to\x20specify\x20a\x20subset\x20of\x20the\ - \x20read\n\x20result\x20to\x20read.\x20\x20The\x20same\x20session\x20and\ - \x20read-only\x20transaction\x20must\x20be\x20used\x20by\n\x20the\x20Par\ - titionReadRequest\x20used\x20to\x20create\x20the\x20partition\x20tokens\ - \x20and\x20the\n\x20ReadRequests\x20that\x20use\x20the\x20partition\x20t\ - okens.\x20\x20There\x20are\x20no\x20ordering\n\x20guarantees\x20on\x20ro\ - ws\x20returned\x20among\x20the\x20returned\x20partition\x20tokens,\x20or\ - \x20even\n\x20within\x20each\x20individual\x20StreamingRead\x20call\x20i\ - ssued\x20with\x20a\x20partition_token.\n\n\x20Partition\x20tokens\x20bec\ - ome\x20invalid\x20when\x20the\x20session\x20used\x20to\x20create\x20them\ - \n\x20is\x20deleted,\x20is\x20idle\x20for\x20too\x20long,\x20begins\x20a\ - \x20new\x20transaction,\x20or\x20becomes\x20too\n\x20old.\x20\x20When\ - \x20any\x20of\x20these\x20happen,\x20it\x20is\x20not\x20possible\x20to\ - \x20resume\x20the\x20read,\x20and\n\x20the\x20whole\x20operation\x20must\ - \x20be\x20restarted\x20from\x20the\x20beginning.\n\n\r\n\x05\x06\0\x02\ - \x0c\x01\x12\x04\xe0\x01\x06\x13\n\r\n\x05\x06\0\x02\x0c\x02\x12\x04\xe0\ - \x01\x14(\n\r\n\x05\x06\0\x02\x0c\x03\x12\x04\xe0\x013D\n\x0f\n\x05\x06\ - \0\x02\x0c\x04\x12\x06\xe1\x01\x04\xe4\x01\x06\n\x13\n\t\x06\0\x02\x0c\ - \x04\xb0\xca\xbc\"\x12\x06\xe1\x01\x04\xe4\x01\x06\nY\n\x02\x04\0\x12\ - \x06\xe9\x01\0\xef\x01\x01\x1aK\x20The\x20request\x20for\x20[CreateSessi\ - on][google.spanner.v1.Spanner.CreateSession].\n\n\x0b\n\x03\x04\0\x01\ - \x12\x04\xe9\x01\x08\x1c\nK\n\x04\x04\0\x02\0\x12\x04\xeb\x01\x02\x16\ - \x1a=\x20Required.\x20The\x20database\x20in\x20which\x20the\x20new\x20se\ - ssion\x20is\x20created.\n\n\x0f\n\x05\x04\0\x02\0\x04\x12\x06\xeb\x01\ - \x02\xe9\x01\x1e\n\r\n\x05\x04\0\x02\0\x05\x12\x04\xeb\x01\x02\x08\n\r\n\ - \x05\x04\0\x02\0\x01\x12\x04\xeb\x01\t\x11\n\r\n\x05\x04\0\x02\0\x03\x12\ - \x04\xeb\x01\x14\x15\n&\n\x04\x04\0\x02\x01\x12\x04\xee\x01\x02\x16\x1a\ - \x18\x20The\x20session\x20to\x20create.\n\n\x0f\n\x05\x04\0\x02\x01\x04\ - \x12\x06\xee\x01\x02\xeb\x01\x16\n\r\n\x05\x04\0\x02\x01\x06\x12\x04\xee\ - \x01\x02\t\n\r\n\x05\x04\0\x02\x01\x01\x12\x04\xee\x01\n\x11\n\r\n\x05\ - \x04\0\x02\x01\x03\x12\x04\xee\x01\x14\x15\n3\n\x02\x04\x01\x12\x06\xf2\ - \x01\0\x88\x02\x01\x1a%\x20A\x20session\x20in\x20the\x20Cloud\x20Spanner\ - \x20API.\n\n\x0b\n\x03\x04\x01\x01\x12\x04\xf2\x01\x08\x0f\n~\n\x04\x04\ - \x01\x02\0\x12\x04\xf5\x01\x02\x12\x1ap\x20The\x20name\x20of\x20the\x20s\ - ession.\x20This\x20is\x20always\x20system-assigned;\x20values\x20provide\ - d\n\x20when\x20creating\x20a\x20session\x20are\x20ignored.\n\n\x0f\n\x05\ - \x04\x01\x02\0\x04\x12\x06\xf5\x01\x02\xf2\x01\x11\n\r\n\x05\x04\x01\x02\ - \0\x05\x12\x04\xf5\x01\x02\x08\n\r\n\x05\x04\x01\x02\0\x01\x12\x04\xf5\ - \x01\t\r\n\r\n\x05\x04\x01\x02\0\x03\x12\x04\xf5\x01\x10\x11\n\xd6\x03\n\ - \x04\x04\x01\x02\x01\x12\x04\x80\x02\x02!\x1a\xc7\x03\x20The\x20labels\ - \x20for\x20the\x20session.\n\n\x20\x20*\x20Label\x20keys\x20must\x20be\ - \x20between\x201\x20and\x2063\x20characters\x20long\x20and\x20must\x20co\ - nform\x20to\n\x20\x20\x20\x20the\x20following\x20regular\x20expression:\ - \x20`[a-z]([-a-z0-9]*[a-z0-9])?`.\n\x20\x20*\x20Label\x20values\x20must\ - \x20be\x20between\x200\x20and\x2063\x20characters\x20long\x20and\x20must\ - \x20conform\n\x20\x20\x20\x20to\x20the\x20regular\x20expression\x20`([a-\ - z]([-a-z0-9]*[a-z0-9])?)?`.\n\x20\x20*\x20No\x20more\x20than\x2064\x20la\ - bels\x20can\x20be\x20associated\x20with\x20a\x20given\x20session.\n\n\ - \x20See\x20https://goo.gl/xmQnxf\x20for\x20more\x20information\x20on\x20\ - and\x20examples\x20of\x20labels.\n\n\x0f\n\x05\x04\x01\x02\x01\x04\x12\ - \x06\x80\x02\x02\xf5\x01\x12\n\r\n\x05\x04\x01\x02\x01\x06\x12\x04\x80\ - \x02\x02\x15\n\r\n\x05\x04\x01\x02\x01\x01\x12\x04\x80\x02\x16\x1c\n\r\n\ - \x05\x04\x01\x02\x01\x03\x12\x04\x80\x02\x1f\x20\nG\n\x04\x04\x01\x02\ - \x02\x12\x04\x83\x02\x02,\x1a9\x20Output\x20only.\x20The\x20timestamp\ - \x20when\x20the\x20session\x20is\x20created.\n\n\x0f\n\x05\x04\x01\x02\ - \x02\x04\x12\x06\x83\x02\x02\x80\x02!\n\r\n\x05\x04\x01\x02\x02\x06\x12\ - \x04\x83\x02\x02\x1b\n\r\n\x05\x04\x01\x02\x02\x01\x12\x04\x83\x02\x1c'\ - \n\r\n\x05\x04\x01\x02\x02\x03\x12\x04\x83\x02*+\n\x8d\x01\n\x04\x04\x01\ - \x02\x03\x12\x04\x87\x02\x02:\x1a\x7f\x20Output\x20only.\x20The\x20appro\ - ximate\x20timestamp\x20when\x20the\x20session\x20is\x20last\x20used.\x20\ - It\x20is\n\x20typically\x20earlier\x20than\x20the\x20actual\x20last\x20u\ - se\x20time.\n\n\x0f\n\x05\x04\x01\x02\x03\x04\x12\x06\x87\x02\x02\x83\ - \x02,\n\r\n\x05\x04\x01\x02\x03\x06\x12\x04\x87\x02\x02\x1b\n\r\n\x05\ - \x04\x01\x02\x03\x01\x12\x04\x87\x02\x1c5\n\r\n\x05\x04\x01\x02\x03\x03\ - \x12\x04\x87\x0289\nS\n\x02\x04\x02\x12\x06\x8b\x02\0\x8e\x02\x01\x1aE\ - \x20The\x20request\x20for\x20[GetSession][google.spanner.v1.Spanner.GetS\ - ession].\n\n\x0b\n\x03\x04\x02\x01\x12\x04\x8b\x02\x08\x19\n>\n\x04\x04\ - \x02\x02\0\x12\x04\x8d\x02\x02\x12\x1a0\x20Required.\x20The\x20name\x20o\ - f\x20the\x20session\x20to\x20retrieve.\n\n\x0f\n\x05\x04\x02\x02\0\x04\ - \x12\x06\x8d\x02\x02\x8b\x02\x1b\n\r\n\x05\x04\x02\x02\0\x05\x12\x04\x8d\ - \x02\x02\x08\n\r\n\x05\x04\x02\x02\0\x01\x12\x04\x8d\x02\t\r\n\r\n\x05\ - \x04\x02\x02\0\x03\x12\x04\x8d\x02\x10\x11\nW\n\x02\x04\x03\x12\x06\x91\ - \x02\0\xa9\x02\x01\x1aI\x20The\x20request\x20for\x20[ListSessions][googl\ - e.spanner.v1.Spanner.ListSessions].\n\n\x0b\n\x03\x04\x03\x01\x12\x04\ - \x91\x02\x08\x1b\nA\n\x04\x04\x03\x02\0\x12\x04\x93\x02\x02\x16\x1a3\x20\ - Required.\x20The\x20database\x20in\x20which\x20to\x20list\x20sessions.\n\ - \n\x0f\n\x05\x04\x03\x02\0\x04\x12\x06\x93\x02\x02\x91\x02\x1d\n\r\n\x05\ - \x04\x03\x02\0\x05\x12\x04\x93\x02\x02\x08\n\r\n\x05\x04\x03\x02\0\x01\ - \x12\x04\x93\x02\t\x11\n\r\n\x05\x04\x03\x02\0\x03\x12\x04\x93\x02\x14\ - \x15\n\x85\x01\n\x04\x04\x03\x02\x01\x12\x04\x97\x02\x02\x16\x1aw\x20Num\ - ber\x20of\x20sessions\x20to\x20be\x20returned\x20in\x20the\x20response.\ - \x20If\x200\x20or\x20less,\x20defaults\n\x20to\x20the\x20server's\x20max\ - imum\x20allowed\x20page\x20size.\n\n\x0f\n\x05\x04\x03\x02\x01\x04\x12\ - \x06\x97\x02\x02\x93\x02\x16\n\r\n\x05\x04\x03\x02\x01\x05\x12\x04\x97\ - \x02\x02\x07\n\r\n\x05\x04\x03\x02\x01\x01\x12\x04\x97\x02\x08\x11\n\r\n\ - \x05\x04\x03\x02\x01\x03\x12\x04\x97\x02\x14\x15\n\xd8\x01\n\x04\x04\x03\ - \x02\x02\x12\x04\x9c\x02\x02\x18\x1a\xc9\x01\x20If\x20non-empty,\x20`pag\ - e_token`\x20should\x20contain\x20a\n\x20[next_page_token][google.spanner\ - .v1.ListSessionsResponse.next_page_token]\x20from\x20a\x20previous\n\x20\ - [ListSessionsResponse][google.spanner.v1.ListSessionsResponse].\n\n\x0f\ - \n\x05\x04\x03\x02\x02\x04\x12\x06\x9c\x02\x02\x97\x02\x16\n\r\n\x05\x04\ - \x03\x02\x02\x05\x12\x04\x9c\x02\x02\x08\n\r\n\x05\x04\x03\x02\x02\x01\ - \x12\x04\x9c\x02\t\x13\n\r\n\x05\x04\x03\x02\x02\x03\x12\x04\x9c\x02\x16\ - \x17\n\xaf\x03\n\x04\x04\x03\x02\x03\x12\x04\xa8\x02\x02\x14\x1a\xa0\x03\ - \x20An\x20expression\x20for\x20filtering\x20the\x20results\x20of\x20the\ - \x20request.\x20Filter\x20rules\x20are\n\x20case\x20insensitive.\x20The\ - \x20fields\x20eligible\x20for\x20filtering\x20are:\n\n\x20\x20\x20*\x20`\ - labels.key`\x20where\x20key\x20is\x20the\x20name\x20of\x20a\x20label\n\n\ - \x20Some\x20examples\x20of\x20using\x20filters\x20are:\n\n\x20\x20\x20*\ - \x20`labels.env:*`\x20-->\x20The\x20session\x20has\x20the\x20label\x20\"\ - env\".\n\x20\x20\x20*\x20`labels.env:dev`\x20-->\x20The\x20session\x20ha\ - s\x20the\x20label\x20\"env\"\x20and\x20the\x20value\x20of\n\x20\x20\x20\ - \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ - \x20\x20\x20the\x20label\x20contains\x20the\x20string\x20\"dev\".\n\n\ - \x0f\n\x05\x04\x03\x02\x03\x04\x12\x06\xa8\x02\x02\x9c\x02\x18\n\r\n\x05\ - \x04\x03\x02\x03\x05\x12\x04\xa8\x02\x02\x08\n\r\n\x05\x04\x03\x02\x03\ - \x01\x12\x04\xa8\x02\t\x0f\n\r\n\x05\x04\x03\x02\x03\x03\x12\x04\xa8\x02\ - \x12\x13\nX\n\x02\x04\x04\x12\x06\xac\x02\0\xb4\x02\x01\x1aJ\x20The\x20r\ - esponse\x20for\x20[ListSessions][google.spanner.v1.Spanner.ListSessions]\ - .\n\n\x0b\n\x03\x04\x04\x01\x12\x04\xac\x02\x08\x1c\n/\n\x04\x04\x04\x02\ - \0\x12\x04\xae\x02\x02\x20\x1a!\x20The\x20list\x20of\x20requested\x20ses\ - sions.\n\n\r\n\x05\x04\x04\x02\0\x04\x12\x04\xae\x02\x02\n\n\r\n\x05\x04\ - \x04\x02\0\x06\x12\x04\xae\x02\x0b\x12\n\r\n\x05\x04\x04\x02\0\x01\x12\ - \x04\xae\x02\x13\x1b\n\r\n\x05\x04\x04\x02\0\x03\x12\x04\xae\x02\x1e\x1f\ - \n\xa4\x01\n\x04\x04\x04\x02\x01\x12\x04\xb3\x02\x02\x1d\x1a\x95\x01\x20\ - `next_page_token`\x20can\x20be\x20sent\x20in\x20a\x20subsequent\n\x20[Li\ - stSessions][google.spanner.v1.Spanner.ListSessions]\x20call\x20to\x20fet\ - ch\x20more\x20of\x20the\x20matching\n\x20sessions.\n\n\x0f\n\x05\x04\x04\ - \x02\x01\x04\x12\x06\xb3\x02\x02\xae\x02\x20\n\r\n\x05\x04\x04\x02\x01\ - \x05\x12\x04\xb3\x02\x02\x08\n\r\n\x05\x04\x04\x02\x01\x01\x12\x04\xb3\ - \x02\t\x18\n\r\n\x05\x04\x04\x02\x01\x03\x12\x04\xb3\x02\x1b\x1c\nY\n\ - \x02\x04\x05\x12\x06\xb7\x02\0\xba\x02\x01\x1aK\x20The\x20request\x20for\ - \x20[DeleteSession][google.spanner.v1.Spanner.DeleteSession].\n\n\x0b\n\ - \x03\x04\x05\x01\x12\x04\xb7\x02\x08\x1c\n<\n\x04\x04\x05\x02\0\x12\x04\ - \xb9\x02\x02\x12\x1a.\x20Required.\x20The\x20name\x20of\x20the\x20sessio\ - n\x20to\x20delete.\n\n\x0f\n\x05\x04\x05\x02\0\x04\x12\x06\xb9\x02\x02\ - \xb7\x02\x1e\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\xb9\x02\x02\x08\n\r\n\ - \x05\x04\x05\x02\0\x01\x12\x04\xb9\x02\t\r\n\r\n\x05\x04\x05\x02\0\x03\ - \x12\x04\xb9\x02\x10\x11\n\x9e\x01\n\x02\x04\x06\x12\x06\xbe\x02\0\x9a\ - \x03\x01\x1a\x8f\x01\x20The\x20request\x20for\x20[ExecuteSql][google.spa\ - nner.v1.Spanner.ExecuteSql]\x20and\n\x20[ExecuteStreamingSql][google.spa\ - nner.v1.Spanner.ExecuteStreamingSql].\n\n\x0b\n\x03\x04\x06\x01\x12\x04\ - \xbe\x02\x08\x19\n@\n\x04\x04\x06\x04\0\x12\x06\xc0\x02\x02\xcb\x02\x03\ - \x1a0\x20Mode\x20in\x20which\x20the\x20statement\x20must\x20be\x20proces\ - sed.\n\n\r\n\x05\x04\x06\x04\0\x01\x12\x04\xc0\x02\x07\x10\nL\n\x06\x04\ - \x06\x04\0\x02\0\x12\x04\xc2\x02\x04\x0f\x1a<\x20The\x20default\x20mode.\ - \x20Only\x20the\x20statement\x20results\x20are\x20returned.\n\n\x0f\n\ - \x07\x04\x06\x04\0\x02\0\x01\x12\x04\xc2\x02\x04\n\n\x0f\n\x07\x04\x06\ - \x04\0\x02\0\x02\x12\x04\xc2\x02\r\x0e\nr\n\x06\x04\x06\x04\0\x02\x01\ - \x12\x04\xc6\x02\x04\r\x1ab\x20This\x20mode\x20returns\x20only\x20the\ - \x20query\x20plan,\x20without\x20any\x20results\x20or\n\x20execution\x20\ - statistics\x20information.\n\n\x0f\n\x07\x04\x06\x04\0\x02\x01\x01\x12\ - \x04\xc6\x02\x04\x08\n\x0f\n\x07\x04\x06\x04\0\x02\x01\x02\x12\x04\xc6\ - \x02\x0b\x0c\nm\n\x06\x04\x06\x04\0\x02\x02\x12\x04\xca\x02\x04\x10\x1a]\ - \x20This\x20mode\x20returns\x20both\x20the\x20query\x20plan\x20and\x20th\ - e\x20execution\x20statistics\x20along\n\x20with\x20the\x20results.\n\n\ - \x0f\n\x07\x04\x06\x04\0\x02\x02\x01\x12\x04\xca\x02\x04\x0b\n\x0f\n\x07\ - \x04\x06\x04\0\x02\x02\x02\x12\x04\xca\x02\x0e\x0f\nQ\n\x04\x04\x06\x02\ - \0\x12\x04\xce\x02\x02\x15\x1aC\x20Required.\x20The\x20session\x20in\x20\ - which\x20the\x20SQL\x20query\x20should\x20be\x20performed.\n\n\x0f\n\x05\ - \x04\x06\x02\0\x04\x12\x06\xce\x02\x02\xcb\x02\x03\n\r\n\x05\x04\x06\x02\ - \0\x05\x12\x04\xce\x02\x02\x08\n\r\n\x05\x04\x06\x02\0\x01\x12\x04\xce\ - \x02\t\x10\n\r\n\x05\x04\x06\x02\0\x03\x12\x04\xce\x02\x13\x14\n\xa7\x04\ - \n\x04\x04\x06\x02\x01\x12\x04\xdd\x02\x02&\x1a\x98\x04\x20The\x20transa\ - ction\x20to\x20use.\x20If\x20none\x20is\x20provided,\x20the\x20default\ - \x20is\x20a\n\x20temporary\x20read-only\x20transaction\x20with\x20strong\ - \x20concurrency.\n\n\x20The\x20transaction\x20to\x20use.\n\n\x20For\x20q\ - ueries,\x20if\x20none\x20is\x20provided,\x20the\x20default\x20is\x20a\ - \x20temporary\x20read-only\n\x20transaction\x20with\x20strong\x20concurr\ - ency.\n\n\x20Standard\x20DML\x20statements\x20require\x20a\x20ReadWrite\ - \x20transaction.\x20Single-use\n\x20transactions\x20are\x20not\x20suppor\ - ted\x20(to\x20avoid\x20replay).\x20\x20The\x20caller\x20must\n\x20either\ - \x20supply\x20an\x20existing\x20transaction\x20ID\x20or\x20begin\x20a\ - \x20new\x20transaction.\n\n\x20Partitioned\x20DML\x20requires\x20an\x20e\ - xisting\x20PartitionedDml\x20transaction\x20ID.\n\n\x0f\n\x05\x04\x06\ - \x02\x01\x04\x12\x06\xdd\x02\x02\xce\x02\x15\n\r\n\x05\x04\x06\x02\x01\ - \x06\x12\x04\xdd\x02\x02\x15\n\r\n\x05\x04\x06\x02\x01\x01\x12\x04\xdd\ - \x02\x16!\n\r\n\x05\x04\x06\x02\x01\x03\x12\x04\xdd\x02$%\n)\n\x04\x04\ - \x06\x02\x02\x12\x04\xe0\x02\x02\x11\x1a\x1b\x20Required.\x20The\x20SQL\ - \x20string.\n\n\x0f\n\x05\x04\x06\x02\x02\x04\x12\x06\xe0\x02\x02\xdd\ - \x02&\n\r\n\x05\x04\x06\x02\x02\x05\x12\x04\xe0\x02\x02\x08\n\r\n\x05\ - \x04\x06\x02\x02\x01\x12\x04\xe0\x02\t\x0c\n\r\n\x05\x04\x06\x02\x02\x03\ - \x12\x04\xe0\x02\x0f\x10\n\x81\x05\n\x04\x04\x06\x02\x03\x12\x04\xf0\x02\ - \x02$\x1a\xf2\x04\x20The\x20SQL\x20string\x20can\x20contain\x20parameter\ - \x20placeholders.\x20A\x20parameter\n\x20placeholder\x20consists\x20of\ - \x20`'@'`\x20followed\x20by\x20the\x20parameter\n\x20name.\x20Parameter\ - \x20names\x20consist\x20of\x20any\x20combination\x20of\x20letters,\n\x20\ - numbers,\x20and\x20underscores.\n\n\x20Parameters\x20can\x20appear\x20an\ - ywhere\x20that\x20a\x20literal\x20value\x20is\x20expected.\x20\x20The\ - \x20same\n\x20parameter\x20name\x20can\x20be\x20used\x20more\x20than\x20\ - once,\x20for\x20example:\n\x20\x20\x20`\"WHERE\x20id\x20>\x20@msg_id\x20\ - AND\x20id\x20<\x20@msg_id\x20+\x20100\"`\n\n\x20It\x20is\x20an\x20error\ - \x20to\x20execute\x20an\x20SQL\x20statement\x20with\x20unbound\x20parame\ - ters.\n\n\x20Parameter\x20values\x20are\x20specified\x20using\x20`params\ - `,\x20which\x20is\x20a\x20JSON\n\x20object\x20whose\x20keys\x20are\x20pa\ - rameter\x20names,\x20and\x20whose\x20values\x20are\x20the\n\x20correspon\ - ding\x20parameter\x20values.\n\n\x0f\n\x05\x04\x06\x02\x03\x04\x12\x06\ - \xf0\x02\x02\xe0\x02\x11\n\r\n\x05\x04\x06\x02\x03\x06\x12\x04\xf0\x02\ - \x02\x18\n\r\n\x05\x04\x06\x02\x03\x01\x12\x04\xf0\x02\x19\x1f\n\r\n\x05\ - \x04\x06\x02\x03\x03\x12\x04\xf0\x02\"#\n\xdc\x03\n\x04\x04\x06\x02\x04\ - \x12\x04\xfa\x02\x02$\x1a\xcd\x03\x20It\x20is\x20not\x20always\x20possib\ - le\x20for\x20Cloud\x20Spanner\x20to\x20infer\x20the\x20right\x20SQL\x20t\ - ype\n\x20from\x20a\x20JSON\x20value.\x20\x20For\x20example,\x20values\ - \x20of\x20type\x20`BYTES`\x20and\x20values\n\x20of\x20type\x20`STRING`\ - \x20both\x20appear\x20in\x20[params][google.spanner.v1.ExecuteSqlRequest\ - .params]\x20as\x20JSON\x20strings.\n\n\x20In\x20these\x20cases,\x20`para\ - m_types`\x20can\x20be\x20used\x20to\x20specify\x20the\x20exact\n\x20SQL\ - \x20type\x20for\x20some\x20or\x20all\x20of\x20the\x20SQL\x20statement\ - \x20parameters.\x20See\x20the\n\x20definition\x20of\x20[Type][google.spa\ - nner.v1.Type]\x20for\x20more\x20information\n\x20about\x20SQL\x20types.\ - \n\n\x0f\n\x05\x04\x06\x02\x04\x04\x12\x06\xfa\x02\x02\xf0\x02$\n\r\n\ - \x05\x04\x06\x02\x04\x06\x12\x04\xfa\x02\x02\x13\n\r\n\x05\x04\x06\x02\ - \x04\x01\x12\x04\xfa\x02\x14\x1f\n\r\n\x05\x04\x06\x02\x04\x03\x12\x04\ - \xfa\x02\"#\n\x9e\x03\n\x04\x04\x06\x02\x05\x12\x04\x82\x03\x02\x19\x1a\ - \x8f\x03\x20If\x20this\x20request\x20is\x20resuming\x20a\x20previously\ - \x20interrupted\x20SQL\x20statement\n\x20execution,\x20`resume_token`\ - \x20should\x20be\x20copied\x20from\x20the\x20last\n\x20[PartialResultSet\ - ][google.spanner.v1.PartialResultSet]\x20yielded\x20before\x20the\x20int\ - erruption.\x20Doing\x20this\n\x20enables\x20the\x20new\x20SQL\x20stateme\ - nt\x20execution\x20to\x20resume\x20where\x20the\x20last\x20one\x20left\n\ - \x20off.\x20The\x20rest\x20of\x20the\x20request\x20parameters\x20must\ - \x20exactly\x20match\x20the\n\x20request\x20that\x20yielded\x20this\x20t\ - oken.\n\n\x0f\n\x05\x04\x06\x02\x05\x04\x12\x06\x82\x03\x02\xfa\x02$\n\r\ - \n\x05\x04\x06\x02\x05\x05\x12\x04\x82\x03\x02\x07\n\r\n\x05\x04\x06\x02\ - \x05\x01\x12\x04\x82\x03\x08\x14\n\r\n\x05\x04\x06\x02\x05\x03\x12\x04\ - \x82\x03\x17\x18\n\xf2\x02\n\x04\x04\x06\x02\x06\x12\x04\x87\x03\x02\x1b\ - \x1a\xe3\x02\x20Used\x20to\x20control\x20the\x20amount\x20of\x20debuggin\ - g\x20information\x20returned\x20in\n\x20[ResultSetStats][google.spanner.\ - v1.ResultSetStats].\x20If\x20[partition_token][google.spanner.v1.Execute\ - SqlRequest.partition_token]\x20is\x20set,\x20[query_mode][google.spanner\ - .v1.ExecuteSqlRequest.query_mode]\x20can\x20only\n\x20be\x20set\x20to\ - \x20[QueryMode.NORMAL][google.spanner.v1.ExecuteSqlRequest.QueryMode.NOR\ - MAL].\n\n\x0f\n\x05\x04\x06\x02\x06\x04\x12\x06\x87\x03\x02\x82\x03\x19\ - \n\r\n\x05\x04\x06\x02\x06\x06\x12\x04\x87\x03\x02\x0b\n\r\n\x05\x04\x06\ - \x02\x06\x01\x12\x04\x87\x03\x0c\x16\n\r\n\x05\x04\x06\x02\x06\x03\x12\ - \x04\x87\x03\x19\x1a\n\x99\x02\n\x04\x04\x06\x02\x07\x12\x04\x8d\x03\x02\ - \x1c\x1a\x8a\x02\x20If\x20present,\x20results\x20will\x20be\x20restricte\ - d\x20to\x20the\x20specified\x20partition\n\x20previously\x20created\x20u\ - sing\x20PartitionQuery().\x20\x20There\x20must\x20be\x20an\x20exact\n\ - \x20match\x20for\x20the\x20values\x20of\x20fields\x20common\x20to\x20thi\ - s\x20message\x20and\x20the\n\x20PartitionQueryRequest\x20message\x20used\ - \x20to\x20create\x20this\x20partition_token.\n\n\x0f\n\x05\x04\x06\x02\ - \x07\x04\x12\x06\x8d\x03\x02\x87\x03\x1b\n\r\n\x05\x04\x06\x02\x07\x05\ - \x12\x04\x8d\x03\x02\x07\n\r\n\x05\x04\x06\x02\x07\x01\x12\x04\x8d\x03\ - \x08\x17\n\r\n\x05\x04\x06\x02\x07\x03\x12\x04\x8d\x03\x1a\x1b\n\x95\x04\ - \n\x04\x04\x06\x02\x08\x12\x04\x99\x03\x02\x12\x1a\x86\x04\x20A\x20per-t\ - ransaction\x20sequence\x20number\x20used\x20to\x20identify\x20this\x20re\ - quest.\x20This\n\x20makes\x20each\x20request\x20idempotent\x20such\x20th\ - at\x20if\x20the\x20request\x20is\x20received\x20multiple\n\x20times,\x20\ - at\x20most\x20one\x20will\x20succeed.\n\n\x20The\x20sequence\x20number\ - \x20must\x20be\x20monotonically\x20increasing\x20within\x20the\n\x20tran\ - saction.\x20If\x20a\x20request\x20arrives\x20for\x20the\x20first\x20time\ - \x20with\x20an\x20out-of-order\n\x20sequence\x20number,\x20the\x20transa\ - ction\x20may\x20be\x20aborted.\x20Replays\x20of\x20previously\n\x20handl\ - ed\x20requests\x20will\x20yield\x20the\x20same\x20response\x20as\x20the\ - \x20first\x20execution.\n\n\x20Required\x20for\x20DML\x20statements.\x20\ - Ignored\x20for\x20queries.\n\n\x0f\n\x05\x04\x06\x02\x08\x04\x12\x06\x99\ - \x03\x02\x8d\x03\x1c\n\r\n\x05\x04\x06\x02\x08\x05\x12\x04\x99\x03\x02\ - \x07\n\r\n\x05\x04\x06\x02\x08\x01\x12\x04\x99\x03\x08\r\n\r\n\x05\x04\ - \x06\x02\x08\x03\x12\x04\x99\x03\x10\x11\nN\n\x02\x04\x07\x12\x06\x9e\ - \x03\0\xb0\x03\x01\x1a@\x20Options\x20for\x20a\x20PartitionQueryRequest\ - \x20and\n\x20PartitionReadRequest.\n\n\x0b\n\x03\x04\x07\x01\x12\x04\x9e\ - \x03\x08\x18\n\xba\x02\n\x04\x04\x07\x02\0\x12\x04\xa5\x03\x02!\x1a\xab\ - \x02\x20**Note:**\x20This\x20hint\x20is\x20currently\x20ignored\x20by\ - \x20PartitionQuery\x20and\n\x20PartitionRead\x20requests.\n\n\x20The\x20\ - desired\x20data\x20size\x20for\x20each\x20partition\x20generated.\x20\ - \x20The\x20default\x20for\x20this\n\x20option\x20is\x20currently\x201\ - \x20GiB.\x20\x20This\x20is\x20only\x20a\x20hint.\x20The\x20actual\x20siz\ - e\x20of\x20each\n\x20partition\x20may\x20be\x20smaller\x20or\x20larger\ - \x20than\x20this\x20size\x20request.\n\n\x0f\n\x05\x04\x07\x02\0\x04\x12\ - \x06\xa5\x03\x02\x9e\x03\x1a\n\r\n\x05\x04\x07\x02\0\x05\x12\x04\xa5\x03\ - \x02\x07\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\xa5\x03\x08\x1c\n\r\n\x05\ - \x04\x07\x02\0\x03\x12\x04\xa5\x03\x1f\x20\n\xb8\x03\n\x04\x04\x07\x02\ - \x01\x12\x04\xaf\x03\x02\x1b\x1a\xa9\x03\x20**Note:**\x20This\x20hint\ - \x20is\x20currently\x20ignored\x20by\x20PartitionQuery\x20and\n\x20Parti\ - tionRead\x20requests.\n\n\x20The\x20desired\x20maximum\x20number\x20of\ - \x20partitions\x20to\x20return.\x20\x20For\x20example,\x20this\x20may\n\ - \x20be\x20set\x20to\x20the\x20number\x20of\x20workers\x20available.\x20\ - \x20The\x20default\x20for\x20this\x20option\n\x20is\x20currently\x2010,0\ - 00.\x20The\x20maximum\x20value\x20is\x20currently\x20200,000.\x20\x20Thi\ - s\x20is\x20only\n\x20a\x20hint.\x20\x20The\x20actual\x20number\x20of\x20\ - partitions\x20returned\x20may\x20be\x20smaller\x20or\x20larger\n\x20than\ - \x20this\x20maximum\x20count\x20request.\n\n\x0f\n\x05\x04\x07\x02\x01\ - \x04\x12\x06\xaf\x03\x02\xa5\x03!\n\r\n\x05\x04\x07\x02\x01\x05\x12\x04\ - \xaf\x03\x02\x07\n\r\n\x05\x04\x07\x02\x01\x01\x12\x04\xaf\x03\x08\x16\n\ - \r\n\x05\x04\x07\x02\x01\x03\x12\x04\xaf\x03\x19\x1a\nZ\n\x02\x04\x08\ - \x12\x06\xb3\x03\0\xe3\x03\x01\x1aL\x20The\x20request\x20for\x20[Partiti\ - onQuery][google.spanner.v1.Spanner.PartitionQuery]\n\n\x0b\n\x03\x04\x08\ - \x01\x12\x04\xb3\x03\x08\x1d\nD\n\x04\x04\x08\x02\0\x12\x04\xb5\x03\x02\ - \x15\x1a6\x20Required.\x20The\x20session\x20used\x20to\x20create\x20the\ - \x20partitions.\n\n\x0f\n\x05\x04\x08\x02\0\x04\x12\x06\xb5\x03\x02\xb3\ - \x03\x1f\n\r\n\x05\x04\x08\x02\0\x05\x12\x04\xb5\x03\x02\x08\n\r\n\x05\ - \x04\x08\x02\0\x01\x12\x04\xb5\x03\t\x10\n\r\n\x05\x04\x08\x02\0\x03\x12\ - \x04\xb5\x03\x13\x14\no\n\x04\x04\x08\x02\x01\x12\x04\xb9\x03\x02&\x1aa\ - \x20Read\x20only\x20snapshot\x20transactions\x20are\x20supported,\x20rea\ - d/write\x20and\x20single\x20use\n\x20transactions\x20are\x20not.\n\n\x0f\ - \n\x05\x04\x08\x02\x01\x04\x12\x06\xb9\x03\x02\xb5\x03\x15\n\r\n\x05\x04\ - \x08\x02\x01\x06\x12\x04\xb9\x03\x02\x15\n\r\n\x05\x04\x08\x02\x01\x01\ - \x12\x04\xb9\x03\x16!\n\r\n\x05\x04\x08\x02\x01\x03\x12\x04\xb9\x03$%\n\ - \xee\x04\n\x04\x04\x08\x02\x02\x12\x04\xc5\x03\x02\x11\x1a\xdf\x04\x20Th\ - e\x20query\x20request\x20to\x20generate\x20partitions\x20for.\x20The\x20\ - request\x20will\x20fail\x20if\n\x20the\x20query\x20is\x20not\x20root\x20\ - partitionable.\x20The\x20query\x20plan\x20of\x20a\x20root\n\x20partition\ - able\x20query\x20has\x20a\x20single\x20distributed\x20union\x20operator.\ - \x20A\x20distributed\n\x20union\x20operator\x20conceptually\x20divides\ - \x20one\x20or\x20more\x20tables\x20into\x20multiple\n\x20splits,\x20remo\ - tely\x20evaluates\x20a\x20subquery\x20independently\x20on\x20each\x20spl\ - it,\x20and\n\x20then\x20unions\x20all\x20results.\n\n\x20This\x20must\ - \x20not\x20contain\x20DML\x20commands,\x20such\x20as\x20INSERT,\x20UPDAT\ - E,\x20or\n\x20DELETE.\x20Use\x20[ExecuteStreamingSql][google.spanner.v1.\ - Spanner.ExecuteStreamingSql]\x20with\x20a\n\x20PartitionedDml\x20transac\ - tion\x20for\x20large,\x20partition-friendly\x20DML\x20operations.\n\n\ - \x0f\n\x05\x04\x08\x02\x02\x04\x12\x06\xc5\x03\x02\xb9\x03&\n\r\n\x05\ - \x04\x08\x02\x02\x05\x12\x04\xc5\x03\x02\x08\n\r\n\x05\x04\x08\x02\x02\ - \x01\x12\x04\xc5\x03\t\x0c\n\r\n\x05\x04\x08\x02\x02\x03\x12\x04\xc5\x03\ - \x0f\x10\n\x83\x05\n\x04\x04\x08\x02\x03\x12\x04\xd5\x03\x02$\x1a\xf4\ - \x04\x20The\x20SQL\x20query\x20string\x20can\x20contain\x20parameter\x20\ - placeholders.\x20A\x20parameter\n\x20placeholder\x20consists\x20of\x20`'\ - @'`\x20followed\x20by\x20the\x20parameter\n\x20name.\x20Parameter\x20nam\ - es\x20consist\x20of\x20any\x20combination\x20of\x20letters,\n\x20numbers\ - ,\x20and\x20underscores.\n\n\x20Parameters\x20can\x20appear\x20anywhere\ - \x20that\x20a\x20literal\x20value\x20is\x20expected.\x20\x20The\x20same\ - \n\x20parameter\x20name\x20can\x20be\x20used\x20more\x20than\x20once,\ - \x20for\x20example:\n\x20\x20\x20`\"WHERE\x20id\x20>\x20@msg_id\x20AND\ - \x20id\x20<\x20@msg_id\x20+\x20100\"`\n\n\x20It\x20is\x20an\x20error\x20\ - to\x20execute\x20an\x20SQL\x20query\x20with\x20unbound\x20parameters.\n\ - \n\x20Parameter\x20values\x20are\x20specified\x20using\x20`params`,\x20w\ - hich\x20is\x20a\x20JSON\n\x20object\x20whose\x20keys\x20are\x20parameter\ - \x20names,\x20and\x20whose\x20values\x20are\x20the\n\x20corresponding\ - \x20parameter\x20values.\n\n\x0f\n\x05\x04\x08\x02\x03\x04\x12\x06\xd5\ - \x03\x02\xc5\x03\x11\n\r\n\x05\x04\x08\x02\x03\x06\x12\x04\xd5\x03\x02\ - \x18\n\r\n\x05\x04\x08\x02\x03\x01\x12\x04\xd5\x03\x19\x1f\n\r\n\x05\x04\ - \x08\x02\x03\x03\x12\x04\xd5\x03\"#\n\xdc\x03\n\x04\x04\x08\x02\x04\x12\ - \x04\xdf\x03\x02$\x1a\xcd\x03\x20It\x20is\x20not\x20always\x20possible\ - \x20for\x20Cloud\x20Spanner\x20to\x20infer\x20the\x20right\x20SQL\x20typ\ - e\n\x20from\x20a\x20JSON\x20value.\x20\x20For\x20example,\x20values\x20o\ - f\x20type\x20`BYTES`\x20and\x20values\n\x20of\x20type\x20`STRING`\x20bot\ - h\x20appear\x20in\x20[params][google.spanner.v1.PartitionQueryRequest.pa\ - rams]\x20as\x20JSON\x20strings.\n\n\x20In\x20these\x20cases,\x20`param_t\ - ypes`\x20can\x20be\x20used\x20to\x20specify\x20the\x20exact\n\x20SQL\x20\ - type\x20for\x20some\x20or\x20all\x20of\x20the\x20SQL\x20query\x20paramet\ - ers.\x20See\x20the\n\x20definition\x20of\x20[Type][google.spanner.v1.Typ\ - e]\x20for\x20more\x20information\n\x20about\x20SQL\x20types.\n\n\x0f\n\ - \x05\x04\x08\x02\x04\x04\x12\x06\xdf\x03\x02\xd5\x03$\n\r\n\x05\x04\x08\ - \x02\x04\x06\x12\x04\xdf\x03\x02\x13\n\r\n\x05\x04\x08\x02\x04\x01\x12\ - \x04\xdf\x03\x14\x1f\n\r\n\x05\x04\x08\x02\x04\x03\x12\x04\xdf\x03\"#\nO\ - \n\x04\x04\x08\x02\x05\x12\x04\xe2\x03\x02)\x1aA\x20Additional\x20option\ - s\x20that\x20affect\x20how\x20many\x20partitions\x20are\x20created.\n\n\ - \x0f\n\x05\x04\x08\x02\x05\x04\x12\x06\xe2\x03\x02\xdf\x03$\n\r\n\x05\ - \x04\x08\x02\x05\x06\x12\x04\xe2\x03\x02\x12\n\r\n\x05\x04\x08\x02\x05\ - \x01\x12\x04\xe2\x03\x13$\n\r\n\x05\x04\x08\x02\x05\x03\x12\x04\xe2\x03'\ - (\nX\n\x02\x04\t\x12\x06\xe6\x03\0\x85\x04\x01\x1aJ\x20The\x20request\ - \x20for\x20[PartitionRead][google.spanner.v1.Spanner.PartitionRead]\n\n\ - \x0b\n\x03\x04\t\x01\x12\x04\xe6\x03\x08\x1c\nD\n\x04\x04\t\x02\0\x12\ - \x04\xe8\x03\x02\x15\x1a6\x20Required.\x20The\x20session\x20used\x20to\ - \x20create\x20the\x20partitions.\n\n\x0f\n\x05\x04\t\x02\0\x04\x12\x06\ - \xe8\x03\x02\xe6\x03\x1e\n\r\n\x05\x04\t\x02\0\x05\x12\x04\xe8\x03\x02\ - \x08\n\r\n\x05\x04\t\x02\0\x01\x12\x04\xe8\x03\t\x10\n\r\n\x05\x04\t\x02\ - \0\x03\x12\x04\xe8\x03\x13\x14\no\n\x04\x04\t\x02\x01\x12\x04\xec\x03\ - \x02&\x1aa\x20Read\x20only\x20snapshot\x20transactions\x20are\x20support\ - ed,\x20read/write\x20and\x20single\x20use\n\x20transactions\x20are\x20no\ - t.\n\n\x0f\n\x05\x04\t\x02\x01\x04\x12\x06\xec\x03\x02\xe8\x03\x15\n\r\n\ - \x05\x04\t\x02\x01\x06\x12\x04\xec\x03\x02\x15\n\r\n\x05\x04\t\x02\x01\ - \x01\x12\x04\xec\x03\x16!\n\r\n\x05\x04\t\x02\x01\x03\x12\x04\xec\x03$%\ - \nK\n\x04\x04\t\x02\x02\x12\x04\xef\x03\x02\x13\x1a=\x20Required.\x20The\ - \x20name\x20of\x20the\x20table\x20in\x20the\x20database\x20to\x20be\x20r\ - ead.\n\n\x0f\n\x05\x04\t\x02\x02\x04\x12\x06\xef\x03\x02\xec\x03&\n\r\n\ - \x05\x04\t\x02\x02\x05\x12\x04\xef\x03\x02\x08\n\r\n\x05\x04\t\x02\x02\ - \x01\x12\x04\xef\x03\t\x0e\n\r\n\x05\x04\t\x02\x02\x03\x12\x04\xef\x03\ - \x11\x12\n\xdf\x02\n\x04\x04\t\x02\x03\x12\x04\xf4\x03\x02\x13\x1a\xd0\ - \x02\x20If\x20non-empty,\x20the\x20name\x20of\x20an\x20index\x20on\x20[t\ - able][google.spanner.v1.PartitionReadRequest.table].\x20This\x20index\ - \x20is\n\x20used\x20instead\x20of\x20the\x20table\x20primary\x20key\x20w\ - hen\x20interpreting\x20[key_set][google.spanner.v1.PartitionReadRequest.\ - key_set]\n\x20and\x20sorting\x20result\x20rows.\x20See\x20[key_set][goog\ - le.spanner.v1.PartitionReadRequest.key_set]\x20for\x20further\x20informa\ - tion.\n\n\x0f\n\x05\x04\t\x02\x03\x04\x12\x06\xf4\x03\x02\xef\x03\x13\n\ - \r\n\x05\x04\t\x02\x03\x05\x12\x04\xf4\x03\x02\x08\n\r\n\x05\x04\t\x02\ - \x03\x01\x12\x04\xf4\x03\t\x0e\n\r\n\x05\x04\t\x02\x03\x03\x12\x04\xf4\ - \x03\x11\x12\n\x88\x01\n\x04\x04\t\x02\x04\x12\x04\xf8\x03\x02\x1e\x1az\ - \x20The\x20columns\x20of\x20[table][google.spanner.v1.PartitionReadReque\ - st.table]\x20to\x20be\x20returned\x20for\x20each\x20row\x20matching\n\ - \x20this\x20request.\n\n\r\n\x05\x04\t\x02\x04\x04\x12\x04\xf8\x03\x02\n\ - \n\r\n\x05\x04\t\x02\x04\x05\x12\x04\xf8\x03\x0b\x11\n\r\n\x05\x04\t\x02\ - \x04\x01\x12\x04\xf8\x03\x12\x19\n\r\n\x05\x04\t\x02\x04\x03\x12\x04\xf8\ - \x03\x1c\x1d\n\xe1\x04\n\x04\x04\t\x02\x05\x12\x04\x81\x04\x02\x15\x1a\ - \xd2\x04\x20Required.\x20`key_set`\x20identifies\x20the\x20rows\x20to\ + e\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\x08\x19\n\t\n\x02\x03\0\x12\ + \x03\x12\x07%\n\t\n\x02\x03\x01\x12\x03\x13\x07$\n\t\n\x02\x03\x02\x12\ + \x03\x14\x07%\n\t\n\x02\x03\x03\x12\x03\x15\x07(\n\t\n\x02\x03\x04\x12\ + \x03\x16\x07%\n\t\n\x02\x03\x05\x12\x03\x17\x07)\n\t\n\x02\x03\x06\x12\ + \x03\x18\x07+\n\t\n\x02\x03\x07\x12\x03\x19\x07,\n\t\n\x02\x03\x08\x12\ + \x03\x1a\x07%\n\x08\n\x01\x08\x12\x03\x1c\04\n\x0b\n\x04\x08\xe7\x07\0\ + \x12\x03\x1c\04\n\x0c\n\x05\x08\xe7\x07\0\x02\x12\x03\x1c\x07\x17\n\r\n\ + \x06\x08\xe7\x07\0\x02\0\x12\x03\x1c\x07\x17\n\x0e\n\x07\x08\xe7\x07\0\ + \x02\0\x01\x12\x03\x1c\x07\x17\n\x0c\n\x05\x08\xe7\x07\0\x07\x12\x03\x1c\ + \x1a3\n\x08\n\x01\x08\x12\x03\x1d\0O\n\x0b\n\x04\x08\xe7\x07\x01\x12\x03\ + \x1d\0O\n\x0c\n\x05\x08\xe7\x07\x01\x02\x12\x03\x1d\x07\x11\n\r\n\x06\ + \x08\xe7\x07\x01\x02\0\x12\x03\x1d\x07\x11\n\x0e\n\x07\x08\xe7\x07\x01\ + \x02\0\x01\x12\x03\x1d\x07\x11\n\x0c\n\x05\x08\xe7\x07\x01\x07\x12\x03\ + \x1d\x14N\n\x08\n\x01\x08\x12\x03\x1e\0\"\n\x0b\n\x04\x08\xe7\x07\x02\ + \x12\x03\x1e\0\"\n\x0c\n\x05\x08\xe7\x07\x02\x02\x12\x03\x1e\x07\x1a\n\r\ + \n\x06\x08\xe7\x07\x02\x02\0\x12\x03\x1e\x07\x1a\n\x0e\n\x07\x08\xe7\x07\ + \x02\x02\0\x01\x12\x03\x1e\x07\x1a\n\x0c\n\x05\x08\xe7\x07\x02\x03\x12\ + \x03\x1e\x1d!\n\x08\n\x01\x08\x12\x03\x1f\0-\n\x0b\n\x04\x08\xe7\x07\x03\ + \x12\x03\x1f\0-\n\x0c\n\x05\x08\xe7\x07\x03\x02\x12\x03\x1f\x07\x1b\n\r\ + \n\x06\x08\xe7\x07\x03\x02\0\x12\x03\x1f\x07\x1b\n\x0e\n\x07\x08\xe7\x07\ + \x03\x02\0\x01\x12\x03\x1f\x07\x1b\n\x0c\n\x05\x08\xe7\x07\x03\x07\x12\ + \x03\x1f\x1e,\n\x08\n\x01\x08\x12\x03\x20\0.\n\x0b\n\x04\x08\xe7\x07\x04\ + \x12\x03\x20\0.\n\x0c\n\x05\x08\xe7\x07\x04\x02\x12\x03\x20\x07\x13\n\r\ + \n\x06\x08\xe7\x07\x04\x02\0\x12\x03\x20\x07\x13\n\x0e\n\x07\x08\xe7\x07\ + \x04\x02\0\x01\x12\x03\x20\x07\x13\n\x0c\n\x05\x08\xe7\x07\x04\x07\x12\ + \x03\x20\x16-\n\x08\n\x01\x08\x12\x03!\04\n\x0b\n\x04\x08\xe7\x07\x05\ + \x12\x03!\04\n\x0c\n\x05\x08\xe7\x07\x05\x02\x12\x03!\x07\x14\n\r\n\x06\ + \x08\xe7\x07\x05\x02\0\x12\x03!\x07\x14\n\x0e\n\x07\x08\xe7\x07\x05\x02\ + \0\x01\x12\x03!\x07\x14\n\x0c\n\x05\x08\xe7\x07\x05\x07\x12\x03!\x173\n\ + \x9d\x01\n\x02\x06\0\x12\x05(\0\xe6\x01\x01\x1a\x8f\x01\x20Cloud\x20Span\ + ner\x20API\n\n\x20The\x20Cloud\x20Spanner\x20API\x20can\x20be\x20used\ + \x20to\x20manage\x20sessions\x20and\x20execute\n\x20transactions\x20on\ + \x20data\x20stored\x20in\x20Cloud\x20Spanner\x20databases.\n\n\n\n\x03\ + \x06\0\x01\x12\x03(\x08\x0f\n\x8a\x07\n\x04\x06\0\x02\0\x12\x04<\x02A\ + \x03\x1a\xfb\x06\x20Creates\x20a\x20new\x20session.\x20A\x20session\x20c\ + an\x20be\x20used\x20to\x20perform\n\x20transactions\x20that\x20read\x20a\ + nd/or\x20modify\x20data\x20in\x20a\x20Cloud\x20Spanner\x20database.\n\ + \x20Sessions\x20are\x20meant\x20to\x20be\x20reused\x20for\x20many\x20con\ + secutive\n\x20transactions.\n\n\x20Sessions\x20can\x20only\x20execute\ + \x20one\x20transaction\x20at\x20a\x20time.\x20To\x20execute\n\x20multipl\ + e\x20concurrent\x20read-write/write-only\x20transactions,\x20create\n\ + \x20multiple\x20sessions.\x20Note\x20that\x20standalone\x20reads\x20and\ + \x20queries\x20use\x20a\n\x20transaction\x20internally,\x20and\x20count\ + \x20toward\x20the\x20one\x20transaction\n\x20limit.\n\n\x20Cloud\x20Span\ + ner\x20limits\x20the\x20number\x20of\x20sessions\x20that\x20can\x20exist\ + \x20at\x20any\x20given\n\x20time;\x20thus,\x20it\x20is\x20a\x20good\x20i\ + dea\x20to\x20delete\x20idle\x20and/or\x20unneeded\x20sessions.\n\x20Asid\ + e\x20from\x20explicit\x20deletes,\x20Cloud\x20Spanner\x20can\x20delete\ + \x20sessions\x20for\x20which\x20no\n\x20operations\x20are\x20sent\x20for\ + \x20more\x20than\x20an\x20hour.\x20If\x20a\x20session\x20is\x20deleted,\ + \n\x20requests\x20to\x20it\x20return\x20`NOT_FOUND`.\n\n\x20Idle\x20sess\ + ions\x20can\x20be\x20kept\x20alive\x20by\x20sending\x20a\x20trivial\x20S\ + QL\x20query\n\x20periodically,\x20e.g.,\x20`\"SELECT\x201\"`.\n\n\x0c\n\ + \x05\x06\0\x02\0\x01\x12\x03<\x06\x13\n\x0c\n\x05\x06\0\x02\0\x02\x12\ + \x03<\x14(\n\x0c\n\x05\x06\0\x02\0\x03\x12\x03<3:\n\r\n\x05\x06\0\x02\0\ + \x04\x12\x04=\x04@\x06\n\x10\n\x08\x06\0\x02\0\x04\xe7\x07\0\x12\x04=\ + \x04@\x06\n\x10\n\t\x06\0\x02\0\x04\xe7\x07\0\x02\x12\x03=\x0b\x1c\n\x11\ + \n\n\x06\0\x02\0\x04\xe7\x07\0\x02\0\x12\x03=\x0b\x1c\n\x12\n\x0b\x06\0\ + \x02\0\x04\xe7\x07\0\x02\0\x01\x12\x03=\x0c\x1b\n\x11\n\t\x06\0\x02\0\ + \x04\xe7\x07\0\x08\x12\x04=\x1f@\x05\n\x9d\x01\n\x04\x06\0\x02\x01\x12\ + \x04F\x02J\x03\x1a\x8e\x01\x20Gets\x20a\x20session.\x20Returns\x20`NOT_F\ + OUND`\x20if\x20the\x20session\x20does\x20not\x20exist.\n\x20This\x20is\ + \x20mainly\x20useful\x20for\x20determining\x20whether\x20a\x20session\ + \x20is\x20still\n\x20alive.\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\x03F\x06\ + \x10\n\x0c\n\x05\x06\0\x02\x01\x02\x12\x03F\x11\"\n\x0c\n\x05\x06\0\x02\ + \x01\x03\x12\x03F-4\n\r\n\x05\x06\0\x02\x01\x04\x12\x04G\x04I\x06\n\x10\ + \n\x08\x06\0\x02\x01\x04\xe7\x07\0\x12\x04G\x04I\x06\n\x10\n\t\x06\0\x02\ + \x01\x04\xe7\x07\0\x02\x12\x03G\x0b\x1c\n\x11\n\n\x06\0\x02\x01\x04\xe7\ + \x07\0\x02\0\x12\x03G\x0b\x1c\n\x12\n\x0b\x06\0\x02\x01\x04\xe7\x07\0\ + \x02\0\x01\x12\x03G\x0c\x1b\n\x11\n\t\x06\0\x02\x01\x04\xe7\x07\0\x08\ + \x12\x04G\x1fI\x05\n7\n\x04\x06\0\x02\x02\x12\x04M\x02Q\x03\x1a)\x20List\ + s\x20all\x20sessions\x20in\x20a\x20given\x20database.\n\n\x0c\n\x05\x06\ + \0\x02\x02\x01\x12\x03M\x06\x12\n\x0c\n\x05\x06\0\x02\x02\x02\x12\x03M\ + \x13&\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x03M1E\n\r\n\x05\x06\0\x02\x02\ + \x04\x12\x04N\x04P\x06\n\x10\n\x08\x06\0\x02\x02\x04\xe7\x07\0\x12\x04N\ + \x04P\x06\n\x10\n\t\x06\0\x02\x02\x04\xe7\x07\0\x02\x12\x03N\x0b\x1c\n\ + \x11\n\n\x06\0\x02\x02\x04\xe7\x07\0\x02\0\x12\x03N\x0b\x1c\n\x12\n\x0b\ + \x06\0\x02\x02\x04\xe7\x07\0\x02\0\x01\x12\x03N\x0c\x1b\n\x11\n\t\x06\0\ + \x02\x02\x04\xe7\x07\0\x08\x12\x04N\x1fP\x05\nN\n\x04\x06\0\x02\x03\x12\ + \x04T\x02X\x03\x1a@\x20Ends\x20a\x20session,\x20releasing\x20server\x20r\ + esources\x20associated\x20with\x20it.\n\n\x0c\n\x05\x06\0\x02\x03\x01\ + \x12\x03T\x06\x13\n\x0c\n\x05\x06\0\x02\x03\x02\x12\x03T\x14(\n\x0c\n\ + \x05\x06\0\x02\x03\x03\x12\x03T3H\n\r\n\x05\x06\0\x02\x03\x04\x12\x04U\ + \x04W\x06\n\x10\n\x08\x06\0\x02\x03\x04\xe7\x07\0\x12\x04U\x04W\x06\n\ + \x10\n\t\x06\0\x02\x03\x04\xe7\x07\0\x02\x12\x03U\x0b\x1c\n\x11\n\n\x06\ + \0\x02\x03\x04\xe7\x07\0\x02\0\x12\x03U\x0b\x1c\n\x12\n\x0b\x06\0\x02\ + \x03\x04\xe7\x07\0\x02\0\x01\x12\x03U\x0c\x1b\n\x11\n\t\x06\0\x02\x03\ + \x04\xe7\x07\0\x08\x12\x04U\x1fW\x05\n\xe9\x04\n\x04\x06\0\x02\x04\x12\ + \x04e\x02j\x03\x1a\xda\x04\x20Executes\x20an\x20SQL\x20statement,\x20ret\ + urning\x20all\x20results\x20in\x20a\x20single\x20reply.\x20This\n\x20met\ + hod\x20cannot\x20be\x20used\x20to\x20return\x20a\x20result\x20set\x20lar\ + ger\x20than\x2010\x20MiB;\n\x20if\x20the\x20query\x20yields\x20more\x20d\ + ata\x20than\x20that,\x20the\x20query\x20fails\x20with\n\x20a\x20`FAILED_\ + PRECONDITION`\x20error.\n\n\x20Operations\x20inside\x20read-write\x20tra\ + nsactions\x20might\x20return\x20`ABORTED`.\x20If\n\x20this\x20occurs,\ + \x20the\x20application\x20should\x20restart\x20the\x20transaction\x20fro\ + m\n\x20the\x20beginning.\x20See\x20[Transaction][google.spanner.v1.Trans\ + action]\x20for\x20more\x20details.\n\n\x20Larger\x20result\x20sets\x20ca\ + n\x20be\x20fetched\x20in\x20streaming\x20fashion\x20by\x20calling\n\x20[\ + ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql]\x20i\ + nstead.\n\n\x0c\n\x05\x06\0\x02\x04\x01\x12\x03e\x06\x10\n\x0c\n\x05\x06\ + \0\x02\x04\x02\x12\x03e\x11\"\n\x0c\n\x05\x06\0\x02\x04\x03\x12\x03e-6\n\ + \r\n\x05\x06\0\x02\x04\x04\x12\x04f\x04i\x06\n\x10\n\x08\x06\0\x02\x04\ + \x04\xe7\x07\0\x12\x04f\x04i\x06\n\x10\n\t\x06\0\x02\x04\x04\xe7\x07\0\ + \x02\x12\x03f\x0b\x1c\n\x11\n\n\x06\0\x02\x04\x04\xe7\x07\0\x02\0\x12\ + \x03f\x0b\x1c\n\x12\n\x0b\x06\0\x02\x04\x04\xe7\x07\0\x02\0\x01\x12\x03f\ + \x0c\x1b\n\x11\n\t\x06\0\x02\x04\x04\xe7\x07\0\x08\x12\x04f\x1fi\x05\n\ + \xd5\x02\n\x04\x06\0\x02\x05\x12\x04q\x02v\x03\x1a\xc6\x02\x20Like\x20[E\ + xecuteSql][google.spanner.v1.Spanner.ExecuteSql],\x20except\x20returns\ + \x20the\x20result\n\x20set\x20as\x20a\x20stream.\x20Unlike\x20[ExecuteSq\ + l][google.spanner.v1.Spanner.ExecuteSql],\x20there\n\x20is\x20no\x20limi\ + t\x20on\x20the\x20size\x20of\x20the\x20returned\x20result\x20set.\x20How\ + ever,\x20no\n\x20individual\x20row\x20in\x20the\x20result\x20set\x20can\ + \x20exceed\x20100\x20MiB,\x20and\x20no\n\x20column\x20value\x20can\x20ex\ + ceed\x2010\x20MiB.\n\n\x0c\n\x05\x06\0\x02\x05\x01\x12\x03q\x06\x19\n\ + \x0c\n\x05\x06\0\x02\x05\x02\x12\x03q\x1a+\n\x0c\n\x05\x06\0\x02\x05\x06\ + \x12\x03q6<\n\x0c\n\x05\x06\0\x02\x05\x03\x12\x03q=M\n\r\n\x05\x06\0\x02\ + \x05\x04\x12\x04r\x04u\x06\n\x10\n\x08\x06\0\x02\x05\x04\xe7\x07\0\x12\ + \x04r\x04u\x06\n\x10\n\t\x06\0\x02\x05\x04\xe7\x07\0\x02\x12\x03r\x0b\ + \x1c\n\x11\n\n\x06\0\x02\x05\x04\xe7\x07\0\x02\0\x12\x03r\x0b\x1c\n\x12\ + \n\x0b\x06\0\x02\x05\x04\xe7\x07\0\x02\0\x01\x12\x03r\x0c\x1b\n\x11\n\t\ + \x06\0\x02\x05\x04\xe7\x07\0\x08\x12\x04r\x1fu\x05\n\xb1\x05\n\x04\x06\0\ + \x02\x06\x12\x06\x85\x01\x02\x8a\x01\x03\x1a\xa0\x05\x20Reads\x20rows\ + \x20from\x20the\x20database\x20using\x20key\x20lookups\x20and\x20scans,\ + \x20as\x20a\n\x20simple\x20key/value\x20style\x20alternative\x20to\n\x20\ + [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].\x20\x20This\x20metho\ + d\x20cannot\x20be\x20used\x20to\n\x20return\x20a\x20result\x20set\x20lar\ + ger\x20than\x2010\x20MiB;\x20if\x20the\x20read\x20matches\x20more\n\x20d\ + ata\x20than\x20that,\x20the\x20read\x20fails\x20with\x20a\x20`FAILED_PRE\ + CONDITION`\n\x20error.\n\n\x20Reads\x20inside\x20read-write\x20transacti\ + ons\x20might\x20return\x20`ABORTED`.\x20If\n\x20this\x20occurs,\x20the\ + \x20application\x20should\x20restart\x20the\x20transaction\x20from\n\x20\ + the\x20beginning.\x20See\x20[Transaction][google.spanner.v1.Transaction]\ + \x20for\x20more\x20details.\n\n\x20Larger\x20result\x20sets\x20can\x20be\ + \x20yielded\x20in\x20streaming\x20fashion\x20by\x20calling\n\x20[Streami\ + ngRead][google.spanner.v1.Spanner.StreamingRead]\x20instead.\n\n\r\n\x05\ + \x06\0\x02\x06\x01\x12\x04\x85\x01\x06\n\n\r\n\x05\x06\0\x02\x06\x02\x12\ + \x04\x85\x01\x0b\x16\n\r\n\x05\x06\0\x02\x06\x03\x12\x04\x85\x01!*\n\x0f\ + \n\x05\x06\0\x02\x06\x04\x12\x06\x86\x01\x04\x89\x01\x06\n\x12\n\x08\x06\ + \0\x02\x06\x04\xe7\x07\0\x12\x06\x86\x01\x04\x89\x01\x06\n\x11\n\t\x06\0\ + \x02\x06\x04\xe7\x07\0\x02\x12\x04\x86\x01\x0b\x1c\n\x12\n\n\x06\0\x02\ + \x06\x04\xe7\x07\0\x02\0\x12\x04\x86\x01\x0b\x1c\n\x13\n\x0b\x06\0\x02\ + \x06\x04\xe7\x07\0\x02\0\x01\x12\x04\x86\x01\x0c\x1b\n\x13\n\t\x06\0\x02\ + \x06\x04\xe7\x07\0\x08\x12\x06\x86\x01\x1f\x89\x01\x05\n\xbf\x02\n\x04\ + \x06\0\x02\x07\x12\x06\x91\x01\x02\x96\x01\x03\x1a\xae\x02\x20Like\x20[R\ + ead][google.spanner.v1.Spanner.Read],\x20except\x20returns\x20the\x20res\ + ult\x20set\x20as\x20a\n\x20stream.\x20Unlike\x20[Read][google.spanner.v1\ + .Spanner.Read],\x20there\x20is\x20no\x20limit\x20on\x20the\n\x20size\x20\ + of\x20the\x20returned\x20result\x20set.\x20However,\x20no\x20individual\ + \x20row\x20in\n\x20the\x20result\x20set\x20can\x20exceed\x20100\x20MiB,\ + \x20and\x20no\x20column\x20value\x20can\x20exceed\n\x2010\x20MiB.\n\n\r\ + \n\x05\x06\0\x02\x07\x01\x12\x04\x91\x01\x06\x13\n\r\n\x05\x06\0\x02\x07\ + \x02\x12\x04\x91\x01\x14\x1f\n\r\n\x05\x06\0\x02\x07\x06\x12\x04\x91\x01\ + *0\n\r\n\x05\x06\0\x02\x07\x03\x12\x04\x91\x011A\n\x0f\n\x05\x06\0\x02\ + \x07\x04\x12\x06\x92\x01\x04\x95\x01\x06\n\x12\n\x08\x06\0\x02\x07\x04\ + \xe7\x07\0\x12\x06\x92\x01\x04\x95\x01\x06\n\x11\n\t\x06\0\x02\x07\x04\ + \xe7\x07\0\x02\x12\x04\x92\x01\x0b\x1c\n\x12\n\n\x06\0\x02\x07\x04\xe7\ + \x07\0\x02\0\x12\x04\x92\x01\x0b\x1c\n\x13\n\x0b\x06\0\x02\x07\x04\xe7\ + \x07\0\x02\0\x01\x12\x04\x92\x01\x0c\x1b\n\x13\n\t\x06\0\x02\x07\x04\xe7\ + \x07\0\x08\x12\x06\x92\x01\x1f\x95\x01\x05\n\x87\x02\n\x04\x06\0\x02\x08\ + \x12\x06\x9c\x01\x02\xa1\x01\x03\x1a\xf6\x01\x20Begins\x20a\x20new\x20tr\ + ansaction.\x20This\x20step\x20can\x20often\x20be\x20skipped:\n\x20[Read]\ + [google.spanner.v1.Spanner.Read],\x20[ExecuteSql][google.spanner.v1.Span\ + ner.ExecuteSql]\x20and\n\x20[Commit][google.spanner.v1.Spanner.Commit]\ + \x20can\x20begin\x20a\x20new\x20transaction\x20as\x20a\n\x20side-effect.\ + \n\n\r\n\x05\x06\0\x02\x08\x01\x12\x04\x9c\x01\x06\x16\n\r\n\x05\x06\0\ + \x02\x08\x02\x12\x04\x9c\x01\x17.\n\r\n\x05\x06\0\x02\x08\x03\x12\x04\ + \x9c\x019D\n\x0f\n\x05\x06\0\x02\x08\x04\x12\x06\x9d\x01\x04\xa0\x01\x06\ + \n\x12\n\x08\x06\0\x02\x08\x04\xe7\x07\0\x12\x06\x9d\x01\x04\xa0\x01\x06\ + \n\x11\n\t\x06\0\x02\x08\x04\xe7\x07\0\x02\x12\x04\x9d\x01\x0b\x1c\n\x12\ + \n\n\x06\0\x02\x08\x04\xe7\x07\0\x02\0\x12\x04\x9d\x01\x0b\x1c\n\x13\n\ + \x0b\x06\0\x02\x08\x04\xe7\x07\0\x02\0\x01\x12\x04\x9d\x01\x0c\x1b\n\x13\ + \n\t\x06\0\x02\x08\x04\xe7\x07\0\x08\x12\x06\x9d\x01\x1f\xa0\x01\x05\n\ + \xb6\x03\n\x04\x06\0\x02\t\x12\x06\xab\x01\x02\xb0\x01\x03\x1a\xa5\x03\ + \x20Commits\x20a\x20transaction.\x20The\x20request\x20includes\x20the\ + \x20mutations\x20to\x20be\n\x20applied\x20to\x20rows\x20in\x20the\x20dat\ + abase.\n\n\x20`Commit`\x20might\x20return\x20an\x20`ABORTED`\x20error.\ + \x20This\x20can\x20occur\x20at\x20any\x20time;\n\x20commonly,\x20the\x20\ + cause\x20is\x20conflicts\x20with\x20concurrent\n\x20transactions.\x20How\ + ever,\x20it\x20can\x20also\x20happen\x20for\x20a\x20variety\x20of\x20oth\ + er\n\x20reasons.\x20If\x20`Commit`\x20returns\x20`ABORTED`,\x20the\x20ca\ + ller\x20should\x20re-attempt\n\x20the\x20transaction\x20from\x20the\x20b\ + eginning,\x20re-using\x20the\x20same\x20session.\n\n\r\n\x05\x06\0\x02\t\ + \x01\x12\x04\xab\x01\x06\x0c\n\r\n\x05\x06\0\x02\t\x02\x12\x04\xab\x01\r\ + \x1a\n\r\n\x05\x06\0\x02\t\x03\x12\x04\xab\x01%3\n\x0f\n\x05\x06\0\x02\t\ + \x04\x12\x06\xac\x01\x04\xaf\x01\x06\n\x12\n\x08\x06\0\x02\t\x04\xe7\x07\ + \0\x12\x06\xac\x01\x04\xaf\x01\x06\n\x11\n\t\x06\0\x02\t\x04\xe7\x07\0\ + \x02\x12\x04\xac\x01\x0b\x1c\n\x12\n\n\x06\0\x02\t\x04\xe7\x07\0\x02\0\ + \x12\x04\xac\x01\x0b\x1c\n\x13\n\x0b\x06\0\x02\t\x04\xe7\x07\0\x02\0\x01\ + \x12\x04\xac\x01\x0c\x1b\n\x13\n\t\x06\0\x02\t\x04\xe7\x07\0\x08\x12\x06\ + \xac\x01\x1f\xaf\x01\x05\n\xd7\x03\n\x04\x06\0\x02\n\x12\x06\xba\x01\x02\ + \xbf\x01\x03\x1a\xc6\x03\x20Rolls\x20back\x20a\x20transaction,\x20releas\ + ing\x20any\x20locks\x20it\x20holds.\x20It\x20is\x20a\x20good\n\x20idea\ + \x20to\x20call\x20this\x20for\x20any\x20transaction\x20that\x20includes\ + \x20one\x20or\x20more\n\x20[Read][google.spanner.v1.Spanner.Read]\x20or\ + \x20[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]\x20requests\x20an\ + d\n\x20ultimately\x20decides\x20not\x20to\x20commit.\n\n\x20`Rollback`\ + \x20returns\x20`OK`\x20if\x20it\x20successfully\x20aborts\x20the\x20tran\ + saction,\x20the\n\x20transaction\x20was\x20already\x20aborted,\x20or\x20\ + the\x20transaction\x20is\x20not\n\x20found.\x20`Rollback`\x20never\x20re\ + turns\x20`ABORTED`.\n\n\r\n\x05\x06\0\x02\n\x01\x12\x04\xba\x01\x06\x0e\ + \n\r\n\x05\x06\0\x02\n\x02\x12\x04\xba\x01\x0f\x1e\n\r\n\x05\x06\0\x02\n\ + \x03\x12\x04\xba\x01)>\n\x0f\n\x05\x06\0\x02\n\x04\x12\x06\xbb\x01\x04\ + \xbe\x01\x06\n\x12\n\x08\x06\0\x02\n\x04\xe7\x07\0\x12\x06\xbb\x01\x04\ + \xbe\x01\x06\n\x11\n\t\x06\0\x02\n\x04\xe7\x07\0\x02\x12\x04\xbb\x01\x0b\ + \x1c\n\x12\n\n\x06\0\x02\n\x04\xe7\x07\0\x02\0\x12\x04\xbb\x01\x0b\x1c\n\ + \x13\n\x0b\x06\0\x02\n\x04\xe7\x07\0\x02\0\x01\x12\x04\xbb\x01\x0c\x1b\n\ + \x13\n\t\x06\0\x02\n\x04\xe7\x07\0\x08\x12\x06\xbb\x01\x1f\xbe\x01\x05\n\ + \xef\x05\n\x04\x06\0\x02\x0b\x12\x06\xcc\x01\x02\xd1\x01\x03\x1a\xde\x05\ + \x20Creates\x20a\x20set\x20of\x20partition\x20tokens\x20that\x20can\x20b\ + e\x20used\x20to\x20execute\x20a\x20query\n\x20operation\x20in\x20paralle\ + l.\x20\x20Each\x20of\x20the\x20returned\x20partition\x20tokens\x20can\ + \x20be\x20used\n\x20by\x20[ExecuteStreamingSql][google.spanner.v1.Spanne\ + r.ExecuteStreamingSql]\x20to\x20specify\x20a\x20subset\n\x20of\x20the\ + \x20query\x20result\x20to\x20read.\x20\x20The\x20same\x20session\x20and\ + \x20read-only\x20transaction\n\x20must\x20be\x20used\x20by\x20the\x20Par\ + titionQueryRequest\x20used\x20to\x20create\x20the\n\x20partition\x20toke\ + ns\x20and\x20the\x20ExecuteSqlRequests\x20that\x20use\x20the\x20partitio\ + n\x20tokens.\n\n\x20Partition\x20tokens\x20become\x20invalid\x20when\x20\ + the\x20session\x20used\x20to\x20create\x20them\n\x20is\x20deleted,\x20is\ + \x20idle\x20for\x20too\x20long,\x20begins\x20a\x20new\x20transaction,\ + \x20or\x20becomes\x20too\n\x20old.\x20\x20When\x20any\x20of\x20these\x20\ + happen,\x20it\x20is\x20not\x20possible\x20to\x20resume\x20the\x20query,\ + \x20and\n\x20the\x20whole\x20operation\x20must\x20be\x20restarted\x20fro\ + m\x20the\x20beginning.\n\n\r\n\x05\x06\0\x02\x0b\x01\x12\x04\xcc\x01\x06\ + \x14\n\r\n\x05\x06\0\x02\x0b\x02\x12\x04\xcc\x01\x15*\n\r\n\x05\x06\0\ + \x02\x0b\x03\x12\x04\xcc\x015F\n\x0f\n\x05\x06\0\x02\x0b\x04\x12\x06\xcd\ + \x01\x04\xd0\x01\x06\n\x12\n\x08\x06\0\x02\x0b\x04\xe7\x07\0\x12\x06\xcd\ + \x01\x04\xd0\x01\x06\n\x11\n\t\x06\0\x02\x0b\x04\xe7\x07\0\x02\x12\x04\ + \xcd\x01\x0b\x1c\n\x12\n\n\x06\0\x02\x0b\x04\xe7\x07\0\x02\0\x12\x04\xcd\ + \x01\x0b\x1c\n\x13\n\x0b\x06\0\x02\x0b\x04\xe7\x07\0\x02\0\x01\x12\x04\ + \xcd\x01\x0c\x1b\n\x13\n\t\x06\0\x02\x0b\x04\xe7\x07\0\x08\x12\x06\xcd\ + \x01\x1f\xd0\x01\x05\n\x84\x07\n\x04\x06\0\x02\x0c\x12\x06\xe0\x01\x02\ + \xe5\x01\x03\x1a\xf3\x06\x20Creates\x20a\x20set\x20of\x20partition\x20to\ + kens\x20that\x20can\x20be\x20used\x20to\x20execute\x20a\x20read\n\x20ope\ + ration\x20in\x20parallel.\x20\x20Each\x20of\x20the\x20returned\x20partit\ + ion\x20tokens\x20can\x20be\x20used\n\x20by\x20[StreamingRead][google.spa\ + nner.v1.Spanner.StreamingRead]\x20to\x20specify\x20a\x20subset\x20of\x20\ + the\x20read\n\x20result\x20to\x20read.\x20\x20The\x20same\x20session\x20\ + and\x20read-only\x20transaction\x20must\x20be\x20used\x20by\n\x20the\x20\ + PartitionReadRequest\x20used\x20to\x20create\x20the\x20partition\x20toke\ + ns\x20and\x20the\n\x20ReadRequests\x20that\x20use\x20the\x20partition\ + \x20tokens.\x20\x20There\x20are\x20no\x20ordering\n\x20guarantees\x20on\ + \x20rows\x20returned\x20among\x20the\x20returned\x20partition\x20tokens,\ + \x20or\x20even\n\x20within\x20each\x20individual\x20StreamingRead\x20cal\ + l\x20issued\x20with\x20a\x20partition_token.\n\n\x20Partition\x20tokens\ + \x20become\x20invalid\x20when\x20the\x20session\x20used\x20to\x20create\ + \x20them\n\x20is\x20deleted,\x20is\x20idle\x20for\x20too\x20long,\x20beg\ + ins\x20a\x20new\x20transaction,\x20or\x20becomes\x20too\n\x20old.\x20\ + \x20When\x20any\x20of\x20these\x20happen,\x20it\x20is\x20not\x20possible\ + \x20to\x20resume\x20the\x20read,\x20and\n\x20the\x20whole\x20operation\ + \x20must\x20be\x20restarted\x20from\x20the\x20beginning.\n\n\r\n\x05\x06\ + \0\x02\x0c\x01\x12\x04\xe0\x01\x06\x13\n\r\n\x05\x06\0\x02\x0c\x02\x12\ + \x04\xe0\x01\x14(\n\r\n\x05\x06\0\x02\x0c\x03\x12\x04\xe0\x013D\n\x0f\n\ + \x05\x06\0\x02\x0c\x04\x12\x06\xe1\x01\x04\xe4\x01\x06\n\x12\n\x08\x06\0\ + \x02\x0c\x04\xe7\x07\0\x12\x06\xe1\x01\x04\xe4\x01\x06\n\x11\n\t\x06\0\ + \x02\x0c\x04\xe7\x07\0\x02\x12\x04\xe1\x01\x0b\x1c\n\x12\n\n\x06\0\x02\ + \x0c\x04\xe7\x07\0\x02\0\x12\x04\xe1\x01\x0b\x1c\n\x13\n\x0b\x06\0\x02\ + \x0c\x04\xe7\x07\0\x02\0\x01\x12\x04\xe1\x01\x0c\x1b\n\x13\n\t\x06\0\x02\ + \x0c\x04\xe7\x07\0\x08\x12\x06\xe1\x01\x1f\xe4\x01\x05\nY\n\x02\x04\0\ + \x12\x06\xe9\x01\0\xef\x01\x01\x1aK\x20The\x20request\x20for\x20[CreateS\ + ession][google.spanner.v1.Spanner.CreateSession].\n\n\x0b\n\x03\x04\0\ + \x01\x12\x04\xe9\x01\x08\x1c\nK\n\x04\x04\0\x02\0\x12\x04\xeb\x01\x02\ + \x16\x1a=\x20Required.\x20The\x20database\x20in\x20which\x20the\x20new\ + \x20session\x20is\x20created.\n\n\x0f\n\x05\x04\0\x02\0\x04\x12\x06\xeb\ + \x01\x02\xe9\x01\x1e\n\r\n\x05\x04\0\x02\0\x05\x12\x04\xeb\x01\x02\x08\n\ + \r\n\x05\x04\0\x02\0\x01\x12\x04\xeb\x01\t\x11\n\r\n\x05\x04\0\x02\0\x03\ + \x12\x04\xeb\x01\x14\x15\n&\n\x04\x04\0\x02\x01\x12\x04\xee\x01\x02\x16\ + \x1a\x18\x20The\x20session\x20to\x20create.\n\n\x0f\n\x05\x04\0\x02\x01\ + \x04\x12\x06\xee\x01\x02\xeb\x01\x16\n\r\n\x05\x04\0\x02\x01\x06\x12\x04\ + \xee\x01\x02\t\n\r\n\x05\x04\0\x02\x01\x01\x12\x04\xee\x01\n\x11\n\r\n\ + \x05\x04\0\x02\x01\x03\x12\x04\xee\x01\x14\x15\n3\n\x02\x04\x01\x12\x06\ + \xf2\x01\0\x88\x02\x01\x1a%\x20A\x20session\x20in\x20the\x20Cloud\x20Spa\ + nner\x20API.\n\n\x0b\n\x03\x04\x01\x01\x12\x04\xf2\x01\x08\x0f\n~\n\x04\ + \x04\x01\x02\0\x12\x04\xf5\x01\x02\x12\x1ap\x20The\x20name\x20of\x20the\ + \x20session.\x20This\x20is\x20always\x20system-assigned;\x20values\x20pr\ + ovided\n\x20when\x20creating\x20a\x20session\x20are\x20ignored.\n\n\x0f\ + \n\x05\x04\x01\x02\0\x04\x12\x06\xf5\x01\x02\xf2\x01\x11\n\r\n\x05\x04\ + \x01\x02\0\x05\x12\x04\xf5\x01\x02\x08\n\r\n\x05\x04\x01\x02\0\x01\x12\ + \x04\xf5\x01\t\r\n\r\n\x05\x04\x01\x02\0\x03\x12\x04\xf5\x01\x10\x11\n\ + \xd6\x03\n\x04\x04\x01\x02\x01\x12\x04\x80\x02\x02!\x1a\xc7\x03\x20The\ + \x20labels\x20for\x20the\x20session.\n\n\x20\x20*\x20Label\x20keys\x20mu\ + st\x20be\x20between\x201\x20and\x2063\x20characters\x20long\x20and\x20mu\ + st\x20conform\x20to\n\x20\x20\x20\x20the\x20following\x20regular\x20expr\ + ession:\x20`[a-z]([-a-z0-9]*[a-z0-9])?`.\n\x20\x20*\x20Label\x20values\ + \x20must\x20be\x20between\x200\x20and\x2063\x20characters\x20long\x20and\ + \x20must\x20conform\n\x20\x20\x20\x20to\x20the\x20regular\x20expression\ + \x20`([a-z]([-a-z0-9]*[a-z0-9])?)?`.\n\x20\x20*\x20No\x20more\x20than\ + \x2064\x20labels\x20can\x20be\x20associated\x20with\x20a\x20given\x20ses\ + sion.\n\n\x20See\x20https://goo.gl/xmQnxf\x20for\x20more\x20information\ + \x20on\x20and\x20examples\x20of\x20labels.\n\n\x0f\n\x05\x04\x01\x02\x01\ + \x04\x12\x06\x80\x02\x02\xf5\x01\x12\n\r\n\x05\x04\x01\x02\x01\x06\x12\ + \x04\x80\x02\x02\x15\n\r\n\x05\x04\x01\x02\x01\x01\x12\x04\x80\x02\x16\ + \x1c\n\r\n\x05\x04\x01\x02\x01\x03\x12\x04\x80\x02\x1f\x20\nG\n\x04\x04\ + \x01\x02\x02\x12\x04\x83\x02\x02,\x1a9\x20Output\x20only.\x20The\x20time\ + stamp\x20when\x20the\x20session\x20is\x20created.\n\n\x0f\n\x05\x04\x01\ + \x02\x02\x04\x12\x06\x83\x02\x02\x80\x02!\n\r\n\x05\x04\x01\x02\x02\x06\ + \x12\x04\x83\x02\x02\x1b\n\r\n\x05\x04\x01\x02\x02\x01\x12\x04\x83\x02\ + \x1c'\n\r\n\x05\x04\x01\x02\x02\x03\x12\x04\x83\x02*+\n\x8d\x01\n\x04\ + \x04\x01\x02\x03\x12\x04\x87\x02\x02:\x1a\x7f\x20Output\x20only.\x20The\ + \x20approximate\x20timestamp\x20when\x20the\x20session\x20is\x20last\x20\ + used.\x20It\x20is\n\x20typically\x20earlier\x20than\x20the\x20actual\x20\ + last\x20use\x20time.\n\n\x0f\n\x05\x04\x01\x02\x03\x04\x12\x06\x87\x02\ + \x02\x83\x02,\n\r\n\x05\x04\x01\x02\x03\x06\x12\x04\x87\x02\x02\x1b\n\r\ + \n\x05\x04\x01\x02\x03\x01\x12\x04\x87\x02\x1c5\n\r\n\x05\x04\x01\x02\ + \x03\x03\x12\x04\x87\x0289\nS\n\x02\x04\x02\x12\x06\x8b\x02\0\x8e\x02\ + \x01\x1aE\x20The\x20request\x20for\x20[GetSession][google.spanner.v1.Spa\ + nner.GetSession].\n\n\x0b\n\x03\x04\x02\x01\x12\x04\x8b\x02\x08\x19\n>\n\ + \x04\x04\x02\x02\0\x12\x04\x8d\x02\x02\x12\x1a0\x20Required.\x20The\x20n\ + ame\x20of\x20the\x20session\x20to\x20retrieve.\n\n\x0f\n\x05\x04\x02\x02\ + \0\x04\x12\x06\x8d\x02\x02\x8b\x02\x1b\n\r\n\x05\x04\x02\x02\0\x05\x12\ + \x04\x8d\x02\x02\x08\n\r\n\x05\x04\x02\x02\0\x01\x12\x04\x8d\x02\t\r\n\r\ + \n\x05\x04\x02\x02\0\x03\x12\x04\x8d\x02\x10\x11\nW\n\x02\x04\x03\x12\ + \x06\x91\x02\0\xa9\x02\x01\x1aI\x20The\x20request\x20for\x20[ListSession\ + s][google.spanner.v1.Spanner.ListSessions].\n\n\x0b\n\x03\x04\x03\x01\ + \x12\x04\x91\x02\x08\x1b\nA\n\x04\x04\x03\x02\0\x12\x04\x93\x02\x02\x16\ + \x1a3\x20Required.\x20The\x20database\x20in\x20which\x20to\x20list\x20se\ + ssions.\n\n\x0f\n\x05\x04\x03\x02\0\x04\x12\x06\x93\x02\x02\x91\x02\x1d\ + \n\r\n\x05\x04\x03\x02\0\x05\x12\x04\x93\x02\x02\x08\n\r\n\x05\x04\x03\ + \x02\0\x01\x12\x04\x93\x02\t\x11\n\r\n\x05\x04\x03\x02\0\x03\x12\x04\x93\ + \x02\x14\x15\n\x85\x01\n\x04\x04\x03\x02\x01\x12\x04\x97\x02\x02\x16\x1a\ + w\x20Number\x20of\x20sessions\x20to\x20be\x20returned\x20in\x20the\x20re\ + sponse.\x20If\x200\x20or\x20less,\x20defaults\n\x20to\x20the\x20server's\ + \x20maximum\x20allowed\x20page\x20size.\n\n\x0f\n\x05\x04\x03\x02\x01\ + \x04\x12\x06\x97\x02\x02\x93\x02\x16\n\r\n\x05\x04\x03\x02\x01\x05\x12\ + \x04\x97\x02\x02\x07\n\r\n\x05\x04\x03\x02\x01\x01\x12\x04\x97\x02\x08\ + \x11\n\r\n\x05\x04\x03\x02\x01\x03\x12\x04\x97\x02\x14\x15\n\xd8\x01\n\ + \x04\x04\x03\x02\x02\x12\x04\x9c\x02\x02\x18\x1a\xc9\x01\x20If\x20non-em\ + pty,\x20`page_token`\x20should\x20contain\x20a\n\x20[next_page_token][go\ + ogle.spanner.v1.ListSessionsResponse.next_page_token]\x20from\x20a\x20pr\ + evious\n\x20[ListSessionsResponse][google.spanner.v1.ListSessionsRespons\ + e].\n\n\x0f\n\x05\x04\x03\x02\x02\x04\x12\x06\x9c\x02\x02\x97\x02\x16\n\ + \r\n\x05\x04\x03\x02\x02\x05\x12\x04\x9c\x02\x02\x08\n\r\n\x05\x04\x03\ + \x02\x02\x01\x12\x04\x9c\x02\t\x13\n\r\n\x05\x04\x03\x02\x02\x03\x12\x04\ + \x9c\x02\x16\x17\n\xaf\x03\n\x04\x04\x03\x02\x03\x12\x04\xa8\x02\x02\x14\ + \x1a\xa0\x03\x20An\x20expression\x20for\x20filtering\x20the\x20results\ + \x20of\x20the\x20request.\x20Filter\x20rules\x20are\n\x20case\x20insensi\ + tive.\x20The\x20fields\x20eligible\x20for\x20filtering\x20are:\n\n\x20\ + \x20\x20*\x20`labels.key`\x20where\x20key\x20is\x20the\x20name\x20of\x20\ + a\x20label\n\n\x20Some\x20examples\x20of\x20using\x20filters\x20are:\n\n\ + \x20\x20\x20*\x20`labels.env:*`\x20-->\x20The\x20session\x20has\x20the\ + \x20label\x20\"env\".\n\x20\x20\x20*\x20`labels.env:dev`\x20-->\x20The\ + \x20session\x20has\x20the\x20label\x20\"env\"\x20and\x20the\x20value\x20\ + of\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\ + \x20\x20\x20\x20\x20\x20\x20the\x20label\x20contains\x20the\x20string\ + \x20\"dev\".\n\n\x0f\n\x05\x04\x03\x02\x03\x04\x12\x06\xa8\x02\x02\x9c\ + \x02\x18\n\r\n\x05\x04\x03\x02\x03\x05\x12\x04\xa8\x02\x02\x08\n\r\n\x05\ + \x04\x03\x02\x03\x01\x12\x04\xa8\x02\t\x0f\n\r\n\x05\x04\x03\x02\x03\x03\ + \x12\x04\xa8\x02\x12\x13\nX\n\x02\x04\x04\x12\x06\xac\x02\0\xb4\x02\x01\ + \x1aJ\x20The\x20response\x20for\x20[ListSessions][google.spanner.v1.Span\ + ner.ListSessions].\n\n\x0b\n\x03\x04\x04\x01\x12\x04\xac\x02\x08\x1c\n/\ + \n\x04\x04\x04\x02\0\x12\x04\xae\x02\x02\x20\x1a!\x20The\x20list\x20of\ + \x20requested\x20sessions.\n\n\r\n\x05\x04\x04\x02\0\x04\x12\x04\xae\x02\ + \x02\n\n\r\n\x05\x04\x04\x02\0\x06\x12\x04\xae\x02\x0b\x12\n\r\n\x05\x04\ + \x04\x02\0\x01\x12\x04\xae\x02\x13\x1b\n\r\n\x05\x04\x04\x02\0\x03\x12\ + \x04\xae\x02\x1e\x1f\n\xa4\x01\n\x04\x04\x04\x02\x01\x12\x04\xb3\x02\x02\ + \x1d\x1a\x95\x01\x20`next_page_token`\x20can\x20be\x20sent\x20in\x20a\ + \x20subsequent\n\x20[ListSessions][google.spanner.v1.Spanner.ListSession\ + s]\x20call\x20to\x20fetch\x20more\x20of\x20the\x20matching\n\x20sessions\ + .\n\n\x0f\n\x05\x04\x04\x02\x01\x04\x12\x06\xb3\x02\x02\xae\x02\x20\n\r\ + \n\x05\x04\x04\x02\x01\x05\x12\x04\xb3\x02\x02\x08\n\r\n\x05\x04\x04\x02\ + \x01\x01\x12\x04\xb3\x02\t\x18\n\r\n\x05\x04\x04\x02\x01\x03\x12\x04\xb3\ + \x02\x1b\x1c\nY\n\x02\x04\x05\x12\x06\xb7\x02\0\xba\x02\x01\x1aK\x20The\ + \x20request\x20for\x20[DeleteSession][google.spanner.v1.Spanner.DeleteSe\ + ssion].\n\n\x0b\n\x03\x04\x05\x01\x12\x04\xb7\x02\x08\x1c\n<\n\x04\x04\ + \x05\x02\0\x12\x04\xb9\x02\x02\x12\x1a.\x20Required.\x20The\x20name\x20o\ + f\x20the\x20session\x20to\x20delete.\n\n\x0f\n\x05\x04\x05\x02\0\x04\x12\ + \x06\xb9\x02\x02\xb7\x02\x1e\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\xb9\x02\ + \x02\x08\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\xb9\x02\t\r\n\r\n\x05\x04\ + \x05\x02\0\x03\x12\x04\xb9\x02\x10\x11\n\x9e\x01\n\x02\x04\x06\x12\x06\ + \xbe\x02\0\x9a\x03\x01\x1a\x8f\x01\x20The\x20request\x20for\x20[ExecuteS\ + ql][google.spanner.v1.Spanner.ExecuteSql]\x20and\n\x20[ExecuteStreamingS\ + ql][google.spanner.v1.Spanner.ExecuteStreamingSql].\n\n\x0b\n\x03\x04\ + \x06\x01\x12\x04\xbe\x02\x08\x19\n@\n\x04\x04\x06\x04\0\x12\x06\xc0\x02\ + \x02\xcb\x02\x03\x1a0\x20Mode\x20in\x20which\x20the\x20statement\x20must\ + \x20be\x20processed.\n\n\r\n\x05\x04\x06\x04\0\x01\x12\x04\xc0\x02\x07\ + \x10\nL\n\x06\x04\x06\x04\0\x02\0\x12\x04\xc2\x02\x04\x0f\x1a<\x20The\ + \x20default\x20mode.\x20Only\x20the\x20statement\x20results\x20are\x20re\ + turned.\n\n\x0f\n\x07\x04\x06\x04\0\x02\0\x01\x12\x04\xc2\x02\x04\n\n\ + \x0f\n\x07\x04\x06\x04\0\x02\0\x02\x12\x04\xc2\x02\r\x0e\nr\n\x06\x04\ + \x06\x04\0\x02\x01\x12\x04\xc6\x02\x04\r\x1ab\x20This\x20mode\x20returns\ + \x20only\x20the\x20query\x20plan,\x20without\x20any\x20results\x20or\n\ + \x20execution\x20statistics\x20information.\n\n\x0f\n\x07\x04\x06\x04\0\ + \x02\x01\x01\x12\x04\xc6\x02\x04\x08\n\x0f\n\x07\x04\x06\x04\0\x02\x01\ + \x02\x12\x04\xc6\x02\x0b\x0c\nm\n\x06\x04\x06\x04\0\x02\x02\x12\x04\xca\ + \x02\x04\x10\x1a]\x20This\x20mode\x20returns\x20both\x20the\x20query\x20\ + plan\x20and\x20the\x20execution\x20statistics\x20along\n\x20with\x20the\ + \x20results.\n\n\x0f\n\x07\x04\x06\x04\0\x02\x02\x01\x12\x04\xca\x02\x04\ + \x0b\n\x0f\n\x07\x04\x06\x04\0\x02\x02\x02\x12\x04\xca\x02\x0e\x0f\nQ\n\ + \x04\x04\x06\x02\0\x12\x04\xce\x02\x02\x15\x1aC\x20Required.\x20The\x20s\ + ession\x20in\x20which\x20the\x20SQL\x20query\x20should\x20be\x20performe\ + d.\n\n\x0f\n\x05\x04\x06\x02\0\x04\x12\x06\xce\x02\x02\xcb\x02\x03\n\r\n\ + \x05\x04\x06\x02\0\x05\x12\x04\xce\x02\x02\x08\n\r\n\x05\x04\x06\x02\0\ + \x01\x12\x04\xce\x02\t\x10\n\r\n\x05\x04\x06\x02\0\x03\x12\x04\xce\x02\ + \x13\x14\n\xa7\x04\n\x04\x04\x06\x02\x01\x12\x04\xdd\x02\x02&\x1a\x98\ + \x04\x20The\x20transaction\x20to\x20use.\x20If\x20none\x20is\x20provided\ + ,\x20the\x20default\x20is\x20a\n\x20temporary\x20read-only\x20transactio\ + n\x20with\x20strong\x20concurrency.\n\n\x20The\x20transaction\x20to\x20u\ + se.\n\n\x20For\x20queries,\x20if\x20none\x20is\x20provided,\x20the\x20de\ + fault\x20is\x20a\x20temporary\x20read-only\n\x20transaction\x20with\x20s\ + trong\x20concurrency.\n\n\x20Standard\x20DML\x20statements\x20require\ + \x20a\x20ReadWrite\x20transaction.\x20Single-use\n\x20transactions\x20ar\ + e\x20not\x20supported\x20(to\x20avoid\x20replay).\x20\x20The\x20caller\ + \x20must\n\x20either\x20supply\x20an\x20existing\x20transaction\x20ID\ + \x20or\x20begin\x20a\x20new\x20transaction.\n\n\x20Partitioned\x20DML\ + \x20requires\x20an\x20existing\x20PartitionedDml\x20transaction\x20ID.\n\ + \n\x0f\n\x05\x04\x06\x02\x01\x04\x12\x06\xdd\x02\x02\xce\x02\x15\n\r\n\ + \x05\x04\x06\x02\x01\x06\x12\x04\xdd\x02\x02\x15\n\r\n\x05\x04\x06\x02\ + \x01\x01\x12\x04\xdd\x02\x16!\n\r\n\x05\x04\x06\x02\x01\x03\x12\x04\xdd\ + \x02$%\n)\n\x04\x04\x06\x02\x02\x12\x04\xe0\x02\x02\x11\x1a\x1b\x20Requi\ + red.\x20The\x20SQL\x20string.\n\n\x0f\n\x05\x04\x06\x02\x02\x04\x12\x06\ + \xe0\x02\x02\xdd\x02&\n\r\n\x05\x04\x06\x02\x02\x05\x12\x04\xe0\x02\x02\ + \x08\n\r\n\x05\x04\x06\x02\x02\x01\x12\x04\xe0\x02\t\x0c\n\r\n\x05\x04\ + \x06\x02\x02\x03\x12\x04\xe0\x02\x0f\x10\n\x81\x05\n\x04\x04\x06\x02\x03\ + \x12\x04\xf0\x02\x02$\x1a\xf2\x04\x20The\x20SQL\x20string\x20can\x20cont\ + ain\x20parameter\x20placeholders.\x20A\x20parameter\n\x20placeholder\x20\ + consists\x20of\x20`'@'`\x20followed\x20by\x20the\x20parameter\n\x20name.\ + \x20Parameter\x20names\x20consist\x20of\x20any\x20combination\x20of\x20l\ + etters,\n\x20numbers,\x20and\x20underscores.\n\n\x20Parameters\x20can\ + \x20appear\x20anywhere\x20that\x20a\x20literal\x20value\x20is\x20expecte\ + d.\x20\x20The\x20same\n\x20parameter\x20name\x20can\x20be\x20used\x20mor\ + e\x20than\x20once,\x20for\x20example:\n\x20\x20\x20`\"WHERE\x20id\x20>\ + \x20@msg_id\x20AND\x20id\x20<\x20@msg_id\x20+\x20100\"`\n\n\x20It\x20is\ + \x20an\x20error\x20to\x20execute\x20an\x20SQL\x20statement\x20with\x20un\ + bound\x20parameters.\n\n\x20Parameter\x20values\x20are\x20specified\x20u\ + sing\x20`params`,\x20which\x20is\x20a\x20JSON\n\x20object\x20whose\x20ke\ + ys\x20are\x20parameter\x20names,\x20and\x20whose\x20values\x20are\x20the\ + \n\x20corresponding\x20parameter\x20values.\n\n\x0f\n\x05\x04\x06\x02\ + \x03\x04\x12\x06\xf0\x02\x02\xe0\x02\x11\n\r\n\x05\x04\x06\x02\x03\x06\ + \x12\x04\xf0\x02\x02\x18\n\r\n\x05\x04\x06\x02\x03\x01\x12\x04\xf0\x02\ + \x19\x1f\n\r\n\x05\x04\x06\x02\x03\x03\x12\x04\xf0\x02\"#\n\xdc\x03\n\ + \x04\x04\x06\x02\x04\x12\x04\xfa\x02\x02$\x1a\xcd\x03\x20It\x20is\x20not\ + \x20always\x20possible\x20for\x20Cloud\x20Spanner\x20to\x20infer\x20the\ + \x20right\x20SQL\x20type\n\x20from\x20a\x20JSON\x20value.\x20\x20For\x20\ + example,\x20values\x20of\x20type\x20`BYTES`\x20and\x20values\n\x20of\x20\ + type\x20`STRING`\x20both\x20appear\x20in\x20[params][google.spanner.v1.E\ + xecuteSqlRequest.params]\x20as\x20JSON\x20strings.\n\n\x20In\x20these\ + \x20cases,\x20`param_types`\x20can\x20be\x20used\x20to\x20specify\x20the\ + \x20exact\n\x20SQL\x20type\x20for\x20some\x20or\x20all\x20of\x20the\x20S\ + QL\x20statement\x20parameters.\x20See\x20the\n\x20definition\x20of\x20[T\ + ype][google.spanner.v1.Type]\x20for\x20more\x20information\n\x20about\ + \x20SQL\x20types.\n\n\x0f\n\x05\x04\x06\x02\x04\x04\x12\x06\xfa\x02\x02\ + \xf0\x02$\n\r\n\x05\x04\x06\x02\x04\x06\x12\x04\xfa\x02\x02\x13\n\r\n\ + \x05\x04\x06\x02\x04\x01\x12\x04\xfa\x02\x14\x1f\n\r\n\x05\x04\x06\x02\ + \x04\x03\x12\x04\xfa\x02\"#\n\x9e\x03\n\x04\x04\x06\x02\x05\x12\x04\x82\ + \x03\x02\x19\x1a\x8f\x03\x20If\x20this\x20request\x20is\x20resuming\x20a\ + \x20previously\x20interrupted\x20SQL\x20statement\n\x20execution,\x20`re\ + sume_token`\x20should\x20be\x20copied\x20from\x20the\x20last\n\x20[Parti\ + alResultSet][google.spanner.v1.PartialResultSet]\x20yielded\x20before\ + \x20the\x20interruption.\x20Doing\x20this\n\x20enables\x20the\x20new\x20\ + SQL\x20statement\x20execution\x20to\x20resume\x20where\x20the\x20last\ + \x20one\x20left\n\x20off.\x20The\x20rest\x20of\x20the\x20request\x20para\ + meters\x20must\x20exactly\x20match\x20the\n\x20request\x20that\x20yielde\ + d\x20this\x20token.\n\n\x0f\n\x05\x04\x06\x02\x05\x04\x12\x06\x82\x03\ + \x02\xfa\x02$\n\r\n\x05\x04\x06\x02\x05\x05\x12\x04\x82\x03\x02\x07\n\r\ + \n\x05\x04\x06\x02\x05\x01\x12\x04\x82\x03\x08\x14\n\r\n\x05\x04\x06\x02\ + \x05\x03\x12\x04\x82\x03\x17\x18\n\xf2\x02\n\x04\x04\x06\x02\x06\x12\x04\ + \x87\x03\x02\x1b\x1a\xe3\x02\x20Used\x20to\x20control\x20the\x20amount\ + \x20of\x20debugging\x20information\x20returned\x20in\n\x20[ResultSetStat\ + s][google.spanner.v1.ResultSetStats].\x20If\x20[partition_token][google.\ + spanner.v1.ExecuteSqlRequest.partition_token]\x20is\x20set,\x20[query_mo\ + de][google.spanner.v1.ExecuteSqlRequest.query_mode]\x20can\x20only\n\x20\ + be\x20set\x20to\x20[QueryMode.NORMAL][google.spanner.v1.ExecuteSqlReques\ + t.QueryMode.NORMAL].\n\n\x0f\n\x05\x04\x06\x02\x06\x04\x12\x06\x87\x03\ + \x02\x82\x03\x19\n\r\n\x05\x04\x06\x02\x06\x06\x12\x04\x87\x03\x02\x0b\n\ + \r\n\x05\x04\x06\x02\x06\x01\x12\x04\x87\x03\x0c\x16\n\r\n\x05\x04\x06\ + \x02\x06\x03\x12\x04\x87\x03\x19\x1a\n\x99\x02\n\x04\x04\x06\x02\x07\x12\ + \x04\x8d\x03\x02\x1c\x1a\x8a\x02\x20If\x20present,\x20results\x20will\ + \x20be\x20restricted\x20to\x20the\x20specified\x20partition\n\x20previou\ + sly\x20created\x20using\x20PartitionQuery().\x20\x20There\x20must\x20be\ + \x20an\x20exact\n\x20match\x20for\x20the\x20values\x20of\x20fields\x20co\ + mmon\x20to\x20this\x20message\x20and\x20the\n\x20PartitionQueryRequest\ + \x20message\x20used\x20to\x20create\x20this\x20partition_token.\n\n\x0f\ + \n\x05\x04\x06\x02\x07\x04\x12\x06\x8d\x03\x02\x87\x03\x1b\n\r\n\x05\x04\ + \x06\x02\x07\x05\x12\x04\x8d\x03\x02\x07\n\r\n\x05\x04\x06\x02\x07\x01\ + \x12\x04\x8d\x03\x08\x17\n\r\n\x05\x04\x06\x02\x07\x03\x12\x04\x8d\x03\ + \x1a\x1b\n\x95\x04\n\x04\x04\x06\x02\x08\x12\x04\x99\x03\x02\x12\x1a\x86\ + \x04\x20A\x20per-transaction\x20sequence\x20number\x20used\x20to\x20iden\ + tify\x20this\x20request.\x20This\n\x20makes\x20each\x20request\x20idempo\ + tent\x20such\x20that\x20if\x20the\x20request\x20is\x20received\x20multip\ + le\n\x20times,\x20at\x20most\x20one\x20will\x20succeed.\n\n\x20The\x20se\ + quence\x20number\x20must\x20be\x20monotonically\x20increasing\x20within\ + \x20the\n\x20transaction.\x20If\x20a\x20request\x20arrives\x20for\x20the\ + \x20first\x20time\x20with\x20an\x20out-of-order\n\x20sequence\x20number,\ + \x20the\x20transaction\x20may\x20be\x20aborted.\x20Replays\x20of\x20prev\ + iously\n\x20handled\x20requests\x20will\x20yield\x20the\x20same\x20respo\ + nse\x20as\x20the\x20first\x20execution.\n\n\x20Required\x20for\x20DML\ + \x20statements.\x20Ignored\x20for\x20queries.\n\n\x0f\n\x05\x04\x06\x02\ + \x08\x04\x12\x06\x99\x03\x02\x8d\x03\x1c\n\r\n\x05\x04\x06\x02\x08\x05\ + \x12\x04\x99\x03\x02\x07\n\r\n\x05\x04\x06\x02\x08\x01\x12\x04\x99\x03\ + \x08\r\n\r\n\x05\x04\x06\x02\x08\x03\x12\x04\x99\x03\x10\x11\nN\n\x02\ + \x04\x07\x12\x06\x9e\x03\0\xb0\x03\x01\x1a@\x20Options\x20for\x20a\x20Pa\ + rtitionQueryRequest\x20and\n\x20PartitionReadRequest.\n\n\x0b\n\x03\x04\ + \x07\x01\x12\x04\x9e\x03\x08\x18\n\xba\x02\n\x04\x04\x07\x02\0\x12\x04\ + \xa5\x03\x02!\x1a\xab\x02\x20**Note:**\x20This\x20hint\x20is\x20currentl\ + y\x20ignored\x20by\x20PartitionQuery\x20and\n\x20PartitionRead\x20reques\ + ts.\n\n\x20The\x20desired\x20data\x20size\x20for\x20each\x20partition\ + \x20generated.\x20\x20The\x20default\x20for\x20this\n\x20option\x20is\ + \x20currently\x201\x20GiB.\x20\x20This\x20is\x20only\x20a\x20hint.\x20Th\ + e\x20actual\x20size\x20of\x20each\n\x20partition\x20may\x20be\x20smaller\ + \x20or\x20larger\x20than\x20this\x20size\x20request.\n\n\x0f\n\x05\x04\ + \x07\x02\0\x04\x12\x06\xa5\x03\x02\x9e\x03\x1a\n\r\n\x05\x04\x07\x02\0\ + \x05\x12\x04\xa5\x03\x02\x07\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\xa5\x03\ + \x08\x1c\n\r\n\x05\x04\x07\x02\0\x03\x12\x04\xa5\x03\x1f\x20\n\xb8\x03\n\ + \x04\x04\x07\x02\x01\x12\x04\xaf\x03\x02\x1b\x1a\xa9\x03\x20**Note:**\ + \x20This\x20hint\x20is\x20currently\x20ignored\x20by\x20PartitionQuery\ + \x20and\n\x20PartitionRead\x20requests.\n\n\x20The\x20desired\x20maximum\ + \x20number\x20of\x20partitions\x20to\x20return.\x20\x20For\x20example,\ + \x20this\x20may\n\x20be\x20set\x20to\x20the\x20number\x20of\x20workers\ + \x20available.\x20\x20The\x20default\x20for\x20this\x20option\n\x20is\ + \x20currently\x2010,000.\x20The\x20maximum\x20value\x20is\x20currently\ + \x20200,000.\x20\x20This\x20is\x20only\n\x20a\x20hint.\x20\x20The\x20act\ + ual\x20number\x20of\x20partitions\x20returned\x20may\x20be\x20smaller\ + \x20or\x20larger\n\x20than\x20this\x20maximum\x20count\x20request.\n\n\ + \x0f\n\x05\x04\x07\x02\x01\x04\x12\x06\xaf\x03\x02\xa5\x03!\n\r\n\x05\ + \x04\x07\x02\x01\x05\x12\x04\xaf\x03\x02\x07\n\r\n\x05\x04\x07\x02\x01\ + \x01\x12\x04\xaf\x03\x08\x16\n\r\n\x05\x04\x07\x02\x01\x03\x12\x04\xaf\ + \x03\x19\x1a\nZ\n\x02\x04\x08\x12\x06\xb3\x03\0\xe3\x03\x01\x1aL\x20The\ + \x20request\x20for\x20[PartitionQuery][google.spanner.v1.Spanner.Partiti\ + onQuery]\n\n\x0b\n\x03\x04\x08\x01\x12\x04\xb3\x03\x08\x1d\nD\n\x04\x04\ + \x08\x02\0\x12\x04\xb5\x03\x02\x15\x1a6\x20Required.\x20The\x20session\ + \x20used\x20to\x20create\x20the\x20partitions.\n\n\x0f\n\x05\x04\x08\x02\ + \0\x04\x12\x06\xb5\x03\x02\xb3\x03\x1f\n\r\n\x05\x04\x08\x02\0\x05\x12\ + \x04\xb5\x03\x02\x08\n\r\n\x05\x04\x08\x02\0\x01\x12\x04\xb5\x03\t\x10\n\ + \r\n\x05\x04\x08\x02\0\x03\x12\x04\xb5\x03\x13\x14\no\n\x04\x04\x08\x02\ + \x01\x12\x04\xb9\x03\x02&\x1aa\x20Read\x20only\x20snapshot\x20transactio\ + ns\x20are\x20supported,\x20read/write\x20and\x20single\x20use\n\x20trans\ + actions\x20are\x20not.\n\n\x0f\n\x05\x04\x08\x02\x01\x04\x12\x06\xb9\x03\ + \x02\xb5\x03\x15\n\r\n\x05\x04\x08\x02\x01\x06\x12\x04\xb9\x03\x02\x15\n\ + \r\n\x05\x04\x08\x02\x01\x01\x12\x04\xb9\x03\x16!\n\r\n\x05\x04\x08\x02\ + \x01\x03\x12\x04\xb9\x03$%\n\xee\x04\n\x04\x04\x08\x02\x02\x12\x04\xc5\ + \x03\x02\x11\x1a\xdf\x04\x20The\x20query\x20request\x20to\x20generate\ + \x20partitions\x20for.\x20The\x20request\x20will\x20fail\x20if\n\x20the\ + \x20query\x20is\x20not\x20root\x20partitionable.\x20The\x20query\x20plan\ + \x20of\x20a\x20root\n\x20partitionable\x20query\x20has\x20a\x20single\ + \x20distributed\x20union\x20operator.\x20A\x20distributed\n\x20union\x20\ + operator\x20conceptually\x20divides\x20one\x20or\x20more\x20tables\x20in\ + to\x20multiple\n\x20splits,\x20remotely\x20evaluates\x20a\x20subquery\ + \x20independently\x20on\x20each\x20split,\x20and\n\x20then\x20unions\x20\ + all\x20results.\n\n\x20This\x20must\x20not\x20contain\x20DML\x20commands\ + ,\x20such\x20as\x20INSERT,\x20UPDATE,\x20or\n\x20DELETE.\x20Use\x20[Exec\ + uteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql]\x20with\ + \x20a\n\x20PartitionedDml\x20transaction\x20for\x20large,\x20partition-f\ + riendly\x20DML\x20operations.\n\n\x0f\n\x05\x04\x08\x02\x02\x04\x12\x06\ + \xc5\x03\x02\xb9\x03&\n\r\n\x05\x04\x08\x02\x02\x05\x12\x04\xc5\x03\x02\ + \x08\n\r\n\x05\x04\x08\x02\x02\x01\x12\x04\xc5\x03\t\x0c\n\r\n\x05\x04\ + \x08\x02\x02\x03\x12\x04\xc5\x03\x0f\x10\n\x83\x05\n\x04\x04\x08\x02\x03\ + \x12\x04\xd5\x03\x02$\x1a\xf4\x04\x20The\x20SQL\x20query\x20string\x20ca\ + n\x20contain\x20parameter\x20placeholders.\x20A\x20parameter\n\x20placeh\ + older\x20consists\x20of\x20`'@'`\x20followed\x20by\x20the\x20parameter\n\ + \x20name.\x20Parameter\x20names\x20consist\x20of\x20any\x20combination\ + \x20of\x20letters,\n\x20numbers,\x20and\x20underscores.\n\n\x20Parameter\ + s\x20can\x20appear\x20anywhere\x20that\x20a\x20literal\x20value\x20is\ + \x20expected.\x20\x20The\x20same\n\x20parameter\x20name\x20can\x20be\x20\ + used\x20more\x20than\x20once,\x20for\x20example:\n\x20\x20\x20`\"WHERE\ + \x20id\x20>\x20@msg_id\x20AND\x20id\x20<\x20@msg_id\x20+\x20100\"`\n\n\ + \x20It\x20is\x20an\x20error\x20to\x20execute\x20an\x20SQL\x20query\x20wi\ + th\x20unbound\x20parameters.\n\n\x20Parameter\x20values\x20are\x20specif\ + ied\x20using\x20`params`,\x20which\x20is\x20a\x20JSON\n\x20object\x20who\ + se\x20keys\x20are\x20parameter\x20names,\x20and\x20whose\x20values\x20ar\ + e\x20the\n\x20corresponding\x20parameter\x20values.\n\n\x0f\n\x05\x04\ + \x08\x02\x03\x04\x12\x06\xd5\x03\x02\xc5\x03\x11\n\r\n\x05\x04\x08\x02\ + \x03\x06\x12\x04\xd5\x03\x02\x18\n\r\n\x05\x04\x08\x02\x03\x01\x12\x04\ + \xd5\x03\x19\x1f\n\r\n\x05\x04\x08\x02\x03\x03\x12\x04\xd5\x03\"#\n\xdc\ + \x03\n\x04\x04\x08\x02\x04\x12\x04\xdf\x03\x02$\x1a\xcd\x03\x20It\x20is\ + \x20not\x20always\x20possible\x20for\x20Cloud\x20Spanner\x20to\x20infer\ + \x20the\x20right\x20SQL\x20type\n\x20from\x20a\x20JSON\x20value.\x20\x20\ + For\x20example,\x20values\x20of\x20type\x20`BYTES`\x20and\x20values\n\ + \x20of\x20type\x20`STRING`\x20both\x20appear\x20in\x20[params][google.sp\ + anner.v1.PartitionQueryRequest.params]\x20as\x20JSON\x20strings.\n\n\x20\ + In\x20these\x20cases,\x20`param_types`\x20can\x20be\x20used\x20to\x20spe\ + cify\x20the\x20exact\n\x20SQL\x20type\x20for\x20some\x20or\x20all\x20of\ + \x20the\x20SQL\x20query\x20parameters.\x20See\x20the\n\x20definition\x20\ + of\x20[Type][google.spanner.v1.Type]\x20for\x20more\x20information\n\x20\ + about\x20SQL\x20types.\n\n\x0f\n\x05\x04\x08\x02\x04\x04\x12\x06\xdf\x03\ + \x02\xd5\x03$\n\r\n\x05\x04\x08\x02\x04\x06\x12\x04\xdf\x03\x02\x13\n\r\ + \n\x05\x04\x08\x02\x04\x01\x12\x04\xdf\x03\x14\x1f\n\r\n\x05\x04\x08\x02\ + \x04\x03\x12\x04\xdf\x03\"#\nO\n\x04\x04\x08\x02\x05\x12\x04\xe2\x03\x02\ + )\x1aA\x20Additional\x20options\x20that\x20affect\x20how\x20many\x20part\ + itions\x20are\x20created.\n\n\x0f\n\x05\x04\x08\x02\x05\x04\x12\x06\xe2\ + \x03\x02\xdf\x03$\n\r\n\x05\x04\x08\x02\x05\x06\x12\x04\xe2\x03\x02\x12\ + \n\r\n\x05\x04\x08\x02\x05\x01\x12\x04\xe2\x03\x13$\n\r\n\x05\x04\x08\ + \x02\x05\x03\x12\x04\xe2\x03'(\nX\n\x02\x04\t\x12\x06\xe6\x03\0\x85\x04\ + \x01\x1aJ\x20The\x20request\x20for\x20[PartitionRead][google.spanner.v1.\ + Spanner.PartitionRead]\n\n\x0b\n\x03\x04\t\x01\x12\x04\xe6\x03\x08\x1c\n\ + D\n\x04\x04\t\x02\0\x12\x04\xe8\x03\x02\x15\x1a6\x20Required.\x20The\x20\ + session\x20used\x20to\x20create\x20the\x20partitions.\n\n\x0f\n\x05\x04\ + \t\x02\0\x04\x12\x06\xe8\x03\x02\xe6\x03\x1e\n\r\n\x05\x04\t\x02\0\x05\ + \x12\x04\xe8\x03\x02\x08\n\r\n\x05\x04\t\x02\0\x01\x12\x04\xe8\x03\t\x10\ + \n\r\n\x05\x04\t\x02\0\x03\x12\x04\xe8\x03\x13\x14\no\n\x04\x04\t\x02\ + \x01\x12\x04\xec\x03\x02&\x1aa\x20Read\x20only\x20snapshot\x20transactio\ + ns\x20are\x20supported,\x20read/write\x20and\x20single\x20use\n\x20trans\ + actions\x20are\x20not.\n\n\x0f\n\x05\x04\t\x02\x01\x04\x12\x06\xec\x03\ + \x02\xe8\x03\x15\n\r\n\x05\x04\t\x02\x01\x06\x12\x04\xec\x03\x02\x15\n\r\ + \n\x05\x04\t\x02\x01\x01\x12\x04\xec\x03\x16!\n\r\n\x05\x04\t\x02\x01\ + \x03\x12\x04\xec\x03$%\nK\n\x04\x04\t\x02\x02\x12\x04\xef\x03\x02\x13\ + \x1a=\x20Required.\x20The\x20name\x20of\x20the\x20table\x20in\x20the\x20\ + database\x20to\x20be\x20read.\n\n\x0f\n\x05\x04\t\x02\x02\x04\x12\x06\ + \xef\x03\x02\xec\x03&\n\r\n\x05\x04\t\x02\x02\x05\x12\x04\xef\x03\x02\ + \x08\n\r\n\x05\x04\t\x02\x02\x01\x12\x04\xef\x03\t\x0e\n\r\n\x05\x04\t\ + \x02\x02\x03\x12\x04\xef\x03\x11\x12\n\xdf\x02\n\x04\x04\t\x02\x03\x12\ + \x04\xf4\x03\x02\x13\x1a\xd0\x02\x20If\x20non-empty,\x20the\x20name\x20o\ + f\x20an\x20index\x20on\x20[table][google.spanner.v1.PartitionReadRequest\ + .table].\x20This\x20index\x20is\n\x20used\x20instead\x20of\x20the\x20tab\ + le\x20primary\x20key\x20when\x20interpreting\x20[key_set][google.spanner\ + .v1.PartitionReadRequest.key_set]\n\x20and\x20sorting\x20result\x20rows.\ + \x20See\x20[key_set][google.spanner.v1.PartitionReadRequest.key_set]\x20\ + for\x20further\x20information.\n\n\x0f\n\x05\x04\t\x02\x03\x04\x12\x06\ + \xf4\x03\x02\xef\x03\x13\n\r\n\x05\x04\t\x02\x03\x05\x12\x04\xf4\x03\x02\ + \x08\n\r\n\x05\x04\t\x02\x03\x01\x12\x04\xf4\x03\t\x0e\n\r\n\x05\x04\t\ + \x02\x03\x03\x12\x04\xf4\x03\x11\x12\n\x88\x01\n\x04\x04\t\x02\x04\x12\ + \x04\xf8\x03\x02\x1e\x1az\x20The\x20columns\x20of\x20[table][google.span\ + ner.v1.PartitionReadRequest.table]\x20to\x20be\x20returned\x20for\x20eac\ + h\x20row\x20matching\n\x20this\x20request.\n\n\r\n\x05\x04\t\x02\x04\x04\ + \x12\x04\xf8\x03\x02\n\n\r\n\x05\x04\t\x02\x04\x05\x12\x04\xf8\x03\x0b\ + \x11\n\r\n\x05\x04\t\x02\x04\x01\x12\x04\xf8\x03\x12\x19\n\r\n\x05\x04\t\ + \x02\x04\x03\x12\x04\xf8\x03\x1c\x1d\n\xe1\x04\n\x04\x04\t\x02\x05\x12\ + \x04\x81\x04\x02\x15\x1a\xd2\x04\x20Required.\x20`key_set`\x20identifies\ + \x20the\x20rows\x20to\x20be\x20yielded.\x20`key_set`\x20names\x20the\n\ + \x20primary\x20keys\x20of\x20the\x20rows\x20in\x20[table][google.spanner\ + .v1.PartitionReadRequest.table]\x20to\x20be\x20yielded,\x20unless\x20[in\ + dex][google.spanner.v1.PartitionReadRequest.index]\n\x20is\x20present.\ + \x20If\x20[index][google.spanner.v1.PartitionReadRequest.index]\x20is\ + \x20present,\x20then\x20[key_set][google.spanner.v1.PartitionReadRequest\ + .key_set]\x20instead\x20names\n\x20index\x20keys\x20in\x20[index][google\ + .spanner.v1.PartitionReadRequest.index].\n\n\x20It\x20is\x20not\x20an\ + \x20error\x20for\x20the\x20`key_set`\x20to\x20name\x20rows\x20that\x20do\ + \x20not\n\x20exist\x20in\x20the\x20database.\x20Read\x20yields\x20nothin\ + g\x20for\x20nonexistent\x20rows.\n\n\x0f\n\x05\x04\t\x02\x05\x04\x12\x06\ + \x81\x04\x02\xf8\x03\x1e\n\r\n\x05\x04\t\x02\x05\x06\x12\x04\x81\x04\x02\ + \x08\n\r\n\x05\x04\t\x02\x05\x01\x12\x04\x81\x04\t\x10\n\r\n\x05\x04\t\ + \x02\x05\x03\x12\x04\x81\x04\x13\x14\nO\n\x04\x04\t\x02\x06\x12\x04\x84\ + \x04\x02)\x1aA\x20Additional\x20options\x20that\x20affect\x20how\x20many\ + \x20partitions\x20are\x20created.\n\n\x0f\n\x05\x04\t\x02\x06\x04\x12\ + \x06\x84\x04\x02\x81\x04\x15\n\r\n\x05\x04\t\x02\x06\x06\x12\x04\x84\x04\ + \x02\x12\n\r\n\x05\x04\t\x02\x06\x01\x12\x04\x84\x04\x13$\n\r\n\x05\x04\ + \t\x02\x06\x03\x12\x04\x84\x04'(\nY\n\x02\x04\n\x12\x06\x89\x04\0\x8e\ + \x04\x01\x1aK\x20Information\x20returned\x20for\x20each\x20partition\x20\ + returned\x20in\x20a\n\x20PartitionResponse.\n\n\x0b\n\x03\x04\n\x01\x12\ + \x04\x89\x04\x08\x11\n\xb4\x01\n\x04\x04\n\x02\0\x12\x04\x8d\x04\x02\x1c\ + \x1a\xa5\x01\x20This\x20token\x20can\x20be\x20passed\x20to\x20Read,\x20S\ + treamingRead,\x20ExecuteSql,\x20or\n\x20ExecuteStreamingSql\x20requests\ + \x20to\x20restrict\x20the\x20results\x20to\x20those\x20identified\x20by\ + \n\x20this\x20partition\x20token.\n\n\x0f\n\x05\x04\n\x02\0\x04\x12\x06\ + \x8d\x04\x02\x89\x04\x13\n\r\n\x05\x04\n\x02\0\x05\x12\x04\x8d\x04\x02\ + \x07\n\r\n\x05\x04\n\x02\0\x01\x12\x04\x8d\x04\x08\x17\n\r\n\x05\x04\n\ + \x02\0\x03\x12\x04\x8d\x04\x1a\x1b\n\x99\x01\n\x02\x04\x0b\x12\x06\x92\ + \x04\0\x98\x04\x01\x1a\x8a\x01\x20The\x20response\x20for\x20[PartitionQu\ + ery][google.spanner.v1.Spanner.PartitionQuery]\n\x20or\x20[PartitionRead\ + ][google.spanner.v1.Spanner.PartitionRead]\n\n\x0b\n\x03\x04\x0b\x01\x12\ + \x04\x92\x04\x08\x19\n3\n\x04\x04\x0b\x02\0\x12\x04\x94\x04\x02$\x1a%\ + \x20Partitions\x20created\x20by\x20this\x20request.\n\n\r\n\x05\x04\x0b\ + \x02\0\x04\x12\x04\x94\x04\x02\n\n\r\n\x05\x04\x0b\x02\0\x06\x12\x04\x94\ + \x04\x0b\x14\n\r\n\x05\x04\x0b\x02\0\x01\x12\x04\x94\x04\x15\x1f\n\r\n\ + \x05\x04\x0b\x02\0\x03\x12\x04\x94\x04\"#\n4\n\x04\x04\x0b\x02\x01\x12\ + \x04\x97\x04\x02\x1e\x1a&\x20Transaction\x20created\x20by\x20this\x20req\ + uest.\n\n\x0f\n\x05\x04\x0b\x02\x01\x04\x12\x06\x97\x04\x02\x94\x04$\n\r\ + \n\x05\x04\x0b\x02\x01\x06\x12\x04\x97\x04\x02\r\n\r\n\x05\x04\x0b\x02\ + \x01\x01\x12\x04\x97\x04\x0e\x19\n\r\n\x05\x04\x0b\x02\x01\x03\x12\x04\ + \x97\x04\x1c\x1d\n\x85\x01\n\x02\x04\x0c\x12\x06\x9c\x04\0\xd0\x04\x01\ + \x1aw\x20The\x20request\x20for\x20[Read][google.spanner.v1.Spanner.Read]\ + \x20and\n\x20[StreamingRead][google.spanner.v1.Spanner.StreamingRead].\n\ + \n\x0b\n\x03\x04\x0c\x01\x12\x04\x9c\x04\x08\x13\nL\n\x04\x04\x0c\x02\0\ + \x12\x04\x9e\x04\x02\x15\x1a>\x20Required.\x20The\x20session\x20in\x20wh\ + ich\x20the\x20read\x20should\x20be\x20performed.\n\n\x0f\n\x05\x04\x0c\ + \x02\0\x04\x12\x06\x9e\x04\x02\x9c\x04\x15\n\r\n\x05\x04\x0c\x02\0\x05\ + \x12\x04\x9e\x04\x02\x08\n\r\n\x05\x04\x0c\x02\0\x01\x12\x04\x9e\x04\t\ + \x10\n\r\n\x05\x04\x0c\x02\0\x03\x12\x04\x9e\x04\x13\x14\n\x87\x01\n\x04\ + \x04\x0c\x02\x01\x12\x04\xa2\x04\x02&\x1ay\x20The\x20transaction\x20to\ + \x20use.\x20If\x20none\x20is\x20provided,\x20the\x20default\x20is\x20a\n\ + \x20temporary\x20read-only\x20transaction\x20with\x20strong\x20concurren\ + cy.\n\n\x0f\n\x05\x04\x0c\x02\x01\x04\x12\x06\xa2\x04\x02\x9e\x04\x15\n\ + \r\n\x05\x04\x0c\x02\x01\x06\x12\x04\xa2\x04\x02\x15\n\r\n\x05\x04\x0c\ + \x02\x01\x01\x12\x04\xa2\x04\x16!\n\r\n\x05\x04\x0c\x02\x01\x03\x12\x04\ + \xa2\x04$%\nK\n\x04\x04\x0c\x02\x02\x12\x04\xa5\x04\x02\x13\x1a=\x20Requ\ + ired.\x20The\x20name\x20of\x20the\x20table\x20in\x20the\x20database\x20t\ + o\x20be\x20read.\n\n\x0f\n\x05\x04\x0c\x02\x02\x04\x12\x06\xa5\x04\x02\ + \xa2\x04&\n\r\n\x05\x04\x0c\x02\x02\x05\x12\x04\xa5\x04\x02\x08\n\r\n\ + \x05\x04\x0c\x02\x02\x01\x12\x04\xa5\x04\t\x0e\n\r\n\x05\x04\x0c\x02\x02\ + \x03\x12\x04\xa5\x04\x11\x12\n\xc4\x02\n\x04\x04\x0c\x02\x03\x12\x04\xaa\ + \x04\x02\x13\x1a\xb5\x02\x20If\x20non-empty,\x20the\x20name\x20of\x20an\ + \x20index\x20on\x20[table][google.spanner.v1.ReadRequest.table].\x20This\ + \x20index\x20is\n\x20used\x20instead\x20of\x20the\x20table\x20primary\ + \x20key\x20when\x20interpreting\x20[key_set][google.spanner.v1.ReadReque\ + st.key_set]\n\x20and\x20sorting\x20result\x20rows.\x20See\x20[key_set][g\ + oogle.spanner.v1.ReadRequest.key_set]\x20for\x20further\x20information.\ + \n\n\x0f\n\x05\x04\x0c\x02\x03\x04\x12\x06\xaa\x04\x02\xa5\x04\x13\n\r\n\ + \x05\x04\x0c\x02\x03\x05\x12\x04\xaa\x04\x02\x08\n\r\n\x05\x04\x0c\x02\ + \x03\x01\x12\x04\xaa\x04\t\x0e\n\r\n\x05\x04\x0c\x02\x03\x03\x12\x04\xaa\ + \x04\x11\x12\n\x7f\n\x04\x04\x0c\x02\x04\x12\x04\xae\x04\x02\x1e\x1aq\ + \x20The\x20columns\x20of\x20[table][google.spanner.v1.ReadRequest.table]\ + \x20to\x20be\x20returned\x20for\x20each\x20row\x20matching\n\x20this\x20\ + request.\n\n\r\n\x05\x04\x0c\x02\x04\x04\x12\x04\xae\x04\x02\n\n\r\n\x05\ + \x04\x0c\x02\x04\x05\x12\x04\xae\x04\x0b\x11\n\r\n\x05\x04\x0c\x02\x04\ + \x01\x12\x04\xae\x04\x12\x19\n\r\n\x05\x04\x0c\x02\x04\x03\x12\x04\xae\ + \x04\x1c\x1d\n\xd6\x07\n\x04\x04\x0c\x02\x05\x12\x04\xbc\x04\x02\x15\x1a\ + \xc7\x07\x20Required.\x20`key_set`\x20identifies\x20the\x20rows\x20to\ \x20be\x20yielded.\x20`key_set`\x20names\x20the\n\x20primary\x20keys\x20\ - of\x20the\x20rows\x20in\x20[table][google.spanner.v1.PartitionReadReques\ - t.table]\x20to\x20be\x20yielded,\x20unless\x20[index][google.spanner.v1.\ - PartitionReadRequest.index]\n\x20is\x20present.\x20If\x20[index][google.\ - spanner.v1.PartitionReadRequest.index]\x20is\x20present,\x20then\x20[key\ - _set][google.spanner.v1.PartitionReadRequest.key_set]\x20instead\x20name\ - s\n\x20index\x20keys\x20in\x20[index][google.spanner.v1.PartitionReadReq\ - uest.index].\n\n\x20It\x20is\x20not\x20an\x20error\x20for\x20the\x20`key\ - _set`\x20to\x20name\x20rows\x20that\x20do\x20not\n\x20exist\x20in\x20the\ - \x20database.\x20Read\x20yields\x20nothing\x20for\x20nonexistent\x20rows\ - .\n\n\x0f\n\x05\x04\t\x02\x05\x04\x12\x06\x81\x04\x02\xf8\x03\x1e\n\r\n\ - \x05\x04\t\x02\x05\x06\x12\x04\x81\x04\x02\x08\n\r\n\x05\x04\t\x02\x05\ - \x01\x12\x04\x81\x04\t\x10\n\r\n\x05\x04\t\x02\x05\x03\x12\x04\x81\x04\ - \x13\x14\nO\n\x04\x04\t\x02\x06\x12\x04\x84\x04\x02)\x1aA\x20Additional\ - \x20options\x20that\x20affect\x20how\x20many\x20partitions\x20are\x20cre\ - ated.\n\n\x0f\n\x05\x04\t\x02\x06\x04\x12\x06\x84\x04\x02\x81\x04\x15\n\ - \r\n\x05\x04\t\x02\x06\x06\x12\x04\x84\x04\x02\x12\n\r\n\x05\x04\t\x02\ - \x06\x01\x12\x04\x84\x04\x13$\n\r\n\x05\x04\t\x02\x06\x03\x12\x04\x84\ - \x04'(\nY\n\x02\x04\n\x12\x06\x89\x04\0\x8e\x04\x01\x1aK\x20Information\ - \x20returned\x20for\x20each\x20partition\x20returned\x20in\x20a\n\x20Par\ - titionResponse.\n\n\x0b\n\x03\x04\n\x01\x12\x04\x89\x04\x08\x11\n\xb4\ - \x01\n\x04\x04\n\x02\0\x12\x04\x8d\x04\x02\x1c\x1a\xa5\x01\x20This\x20to\ - ken\x20can\x20be\x20passed\x20to\x20Read,\x20StreamingRead,\x20ExecuteSq\ - l,\x20or\n\x20ExecuteStreamingSql\x20requests\x20to\x20restrict\x20the\ - \x20results\x20to\x20those\x20identified\x20by\n\x20this\x20partition\ - \x20token.\n\n\x0f\n\x05\x04\n\x02\0\x04\x12\x06\x8d\x04\x02\x89\x04\x13\ - \n\r\n\x05\x04\n\x02\0\x05\x12\x04\x8d\x04\x02\x07\n\r\n\x05\x04\n\x02\0\ - \x01\x12\x04\x8d\x04\x08\x17\n\r\n\x05\x04\n\x02\0\x03\x12\x04\x8d\x04\ - \x1a\x1b\n\x99\x01\n\x02\x04\x0b\x12\x06\x92\x04\0\x98\x04\x01\x1a\x8a\ - \x01\x20The\x20response\x20for\x20[PartitionQuery][google.spanner.v1.Spa\ - nner.PartitionQuery]\n\x20or\x20[PartitionRead][google.spanner.v1.Spanne\ - r.PartitionRead]\n\n\x0b\n\x03\x04\x0b\x01\x12\x04\x92\x04\x08\x19\n3\n\ - \x04\x04\x0b\x02\0\x12\x04\x94\x04\x02$\x1a%\x20Partitions\x20created\ - \x20by\x20this\x20request.\n\n\r\n\x05\x04\x0b\x02\0\x04\x12\x04\x94\x04\ - \x02\n\n\r\n\x05\x04\x0b\x02\0\x06\x12\x04\x94\x04\x0b\x14\n\r\n\x05\x04\ - \x0b\x02\0\x01\x12\x04\x94\x04\x15\x1f\n\r\n\x05\x04\x0b\x02\0\x03\x12\ - \x04\x94\x04\"#\n4\n\x04\x04\x0b\x02\x01\x12\x04\x97\x04\x02\x1e\x1a&\ - \x20Transaction\x20created\x20by\x20this\x20request.\n\n\x0f\n\x05\x04\ - \x0b\x02\x01\x04\x12\x06\x97\x04\x02\x94\x04$\n\r\n\x05\x04\x0b\x02\x01\ - \x06\x12\x04\x97\x04\x02\r\n\r\n\x05\x04\x0b\x02\x01\x01\x12\x04\x97\x04\ - \x0e\x19\n\r\n\x05\x04\x0b\x02\x01\x03\x12\x04\x97\x04\x1c\x1d\n\x85\x01\ - \n\x02\x04\x0c\x12\x06\x9c\x04\0\xd0\x04\x01\x1aw\x20The\x20request\x20f\ - or\x20[Read][google.spanner.v1.Spanner.Read]\x20and\n\x20[StreamingRead]\ - [google.spanner.v1.Spanner.StreamingRead].\n\n\x0b\n\x03\x04\x0c\x01\x12\ - \x04\x9c\x04\x08\x13\nL\n\x04\x04\x0c\x02\0\x12\x04\x9e\x04\x02\x15\x1a>\ - \x20Required.\x20The\x20session\x20in\x20which\x20the\x20read\x20should\ - \x20be\x20performed.\n\n\x0f\n\x05\x04\x0c\x02\0\x04\x12\x06\x9e\x04\x02\ - \x9c\x04\x15\n\r\n\x05\x04\x0c\x02\0\x05\x12\x04\x9e\x04\x02\x08\n\r\n\ - \x05\x04\x0c\x02\0\x01\x12\x04\x9e\x04\t\x10\n\r\n\x05\x04\x0c\x02\0\x03\ - \x12\x04\x9e\x04\x13\x14\n\x87\x01\n\x04\x04\x0c\x02\x01\x12\x04\xa2\x04\ - \x02&\x1ay\x20The\x20transaction\x20to\x20use.\x20If\x20none\x20is\x20pr\ - ovided,\x20the\x20default\x20is\x20a\n\x20temporary\x20read-only\x20tran\ - saction\x20with\x20strong\x20concurrency.\n\n\x0f\n\x05\x04\x0c\x02\x01\ - \x04\x12\x06\xa2\x04\x02\x9e\x04\x15\n\r\n\x05\x04\x0c\x02\x01\x06\x12\ - \x04\xa2\x04\x02\x15\n\r\n\x05\x04\x0c\x02\x01\x01\x12\x04\xa2\x04\x16!\ - \n\r\n\x05\x04\x0c\x02\x01\x03\x12\x04\xa2\x04$%\nK\n\x04\x04\x0c\x02\ - \x02\x12\x04\xa5\x04\x02\x13\x1a=\x20Required.\x20The\x20name\x20of\x20t\ - he\x20table\x20in\x20the\x20database\x20to\x20be\x20read.\n\n\x0f\n\x05\ - \x04\x0c\x02\x02\x04\x12\x06\xa5\x04\x02\xa2\x04&\n\r\n\x05\x04\x0c\x02\ - \x02\x05\x12\x04\xa5\x04\x02\x08\n\r\n\x05\x04\x0c\x02\x02\x01\x12\x04\ - \xa5\x04\t\x0e\n\r\n\x05\x04\x0c\x02\x02\x03\x12\x04\xa5\x04\x11\x12\n\ - \xc4\x02\n\x04\x04\x0c\x02\x03\x12\x04\xaa\x04\x02\x13\x1a\xb5\x02\x20If\ - \x20non-empty,\x20the\x20name\x20of\x20an\x20index\x20on\x20[table][goog\ - le.spanner.v1.ReadRequest.table].\x20This\x20index\x20is\n\x20used\x20in\ - stead\x20of\x20the\x20table\x20primary\x20key\x20when\x20interpreting\ - \x20[key_set][google.spanner.v1.ReadRequest.key_set]\n\x20and\x20sorting\ - \x20result\x20rows.\x20See\x20[key_set][google.spanner.v1.ReadRequest.ke\ - y_set]\x20for\x20further\x20information.\n\n\x0f\n\x05\x04\x0c\x02\x03\ - \x04\x12\x06\xaa\x04\x02\xa5\x04\x13\n\r\n\x05\x04\x0c\x02\x03\x05\x12\ - \x04\xaa\x04\x02\x08\n\r\n\x05\x04\x0c\x02\x03\x01\x12\x04\xaa\x04\t\x0e\ - \n\r\n\x05\x04\x0c\x02\x03\x03\x12\x04\xaa\x04\x11\x12\n\x7f\n\x04\x04\ - \x0c\x02\x04\x12\x04\xae\x04\x02\x1e\x1aq\x20The\x20columns\x20of\x20[ta\ - ble][google.spanner.v1.ReadRequest.table]\x20to\x20be\x20returned\x20for\ - \x20each\x20row\x20matching\n\x20this\x20request.\n\n\r\n\x05\x04\x0c\ - \x02\x04\x04\x12\x04\xae\x04\x02\n\n\r\n\x05\x04\x0c\x02\x04\x05\x12\x04\ - \xae\x04\x0b\x11\n\r\n\x05\x04\x0c\x02\x04\x01\x12\x04\xae\x04\x12\x19\n\ - \r\n\x05\x04\x0c\x02\x04\x03\x12\x04\xae\x04\x1c\x1d\n\xd6\x07\n\x04\x04\ - \x0c\x02\x05\x12\x04\xbc\x04\x02\x15\x1a\xc7\x07\x20Required.\x20`key_se\ - t`\x20identifies\x20the\x20rows\x20to\x20be\x20yielded.\x20`key_set`\x20\ - names\x20the\n\x20primary\x20keys\x20of\x20the\x20rows\x20in\x20[table][\ - google.spanner.v1.ReadRequest.table]\x20to\x20be\x20yielded,\x20unless\ - \x20[index][google.spanner.v1.ReadRequest.index]\n\x20is\x20present.\x20\ - If\x20[index][google.spanner.v1.ReadRequest.index]\x20is\x20present,\x20\ - then\x20[key_set][google.spanner.v1.ReadRequest.key_set]\x20instead\x20n\ - ames\n\x20index\x20keys\x20in\x20[index][google.spanner.v1.ReadRequest.i\ - ndex].\n\n\x20If\x20the\x20[partition_token][google.spanner.v1.ReadReque\ - st.partition_token]\x20field\x20is\x20empty,\x20rows\x20are\x20yielded\n\ - \x20in\x20table\x20primary\x20key\x20order\x20(if\x20[index][google.span\ - ner.v1.ReadRequest.index]\x20is\x20empty)\x20or\x20index\x20key\x20order\ - \n\x20(if\x20[index][google.spanner.v1.ReadRequest.index]\x20is\x20non-e\ - mpty).\x20\x20If\x20the\x20[partition_token][google.spanner.v1.ReadReque\ - st.partition_token]\x20field\x20is\x20not\n\x20empty,\x20rows\x20will\ - \x20be\x20yielded\x20in\x20an\x20unspecified\x20order.\n\n\x20It\x20is\ - \x20not\x20an\x20error\x20for\x20the\x20`key_set`\x20to\x20name\x20rows\ - \x20that\x20do\x20not\n\x20exist\x20in\x20the\x20database.\x20Read\x20yi\ - elds\x20nothing\x20for\x20nonexistent\x20rows.\n\n\x0f\n\x05\x04\x0c\x02\ - \x05\x04\x12\x06\xbc\x04\x02\xae\x04\x1e\n\r\n\x05\x04\x0c\x02\x05\x06\ - \x12\x04\xbc\x04\x02\x08\n\r\n\x05\x04\x0c\x02\x05\x01\x12\x04\xbc\x04\t\ - \x10\n\r\n\x05\x04\x0c\x02\x05\x03\x12\x04\xbc\x04\x13\x14\n\xb7\x01\n\ - \x04\x04\x0c\x02\x06\x12\x04\xc1\x04\x02\x12\x1a\xa8\x01\x20If\x20greate\ - r\x20than\x20zero,\x20only\x20the\x20first\x20`limit`\x20rows\x20are\x20\ - yielded.\x20If\x20`limit`\n\x20is\x20zero,\x20the\x20default\x20is\x20no\ - \x20limit.\x20A\x20limit\x20cannot\x20be\x20specified\x20if\n\x20`partit\ - ion_token`\x20is\x20set.\n\n\x0f\n\x05\x04\x0c\x02\x06\x04\x12\x06\xc1\ - \x04\x02\xbc\x04\x15\n\r\n\x05\x04\x0c\x02\x06\x05\x12\x04\xc1\x04\x02\ - \x07\n\r\n\x05\x04\x0c\x02\x06\x01\x12\x04\xc1\x04\x08\r\n\r\n\x05\x04\ - \x0c\x02\x06\x03\x12\x04\xc1\x04\x10\x11\n\xf9\x02\n\x04\x04\x0c\x02\x07\ - \x12\x04\xc9\x04\x02\x19\x1a\xea\x02\x20If\x20this\x20request\x20is\x20r\ - esuming\x20a\x20previously\x20interrupted\x20read,\n\x20`resume_token`\ - \x20should\x20be\x20copied\x20from\x20the\x20last\n\x20[PartialResultSet\ - ][google.spanner.v1.PartialResultSet]\x20yielded\x20before\x20the\x20int\ - erruption.\x20Doing\x20this\n\x20enables\x20the\x20new\x20read\x20to\x20\ - resume\x20where\x20the\x20last\x20read\x20left\x20off.\x20The\n\x20rest\ - \x20of\x20the\x20request\x20parameters\x20must\x20exactly\x20match\x20th\ - e\x20request\n\x20that\x20yielded\x20this\x20token.\n\n\x0f\n\x05\x04\ - \x0c\x02\x07\x04\x12\x06\xc9\x04\x02\xc1\x04\x12\n\r\n\x05\x04\x0c\x02\ - \x07\x05\x12\x04\xc9\x04\x02\x07\n\r\n\x05\x04\x0c\x02\x07\x01\x12\x04\ - \xc9\x04\x08\x14\n\r\n\x05\x04\x0c\x02\x07\x03\x12\x04\xc9\x04\x17\x18\n\ - \x99\x02\n\x04\x04\x0c\x02\x08\x12\x04\xcf\x04\x02\x1d\x1a\x8a\x02\x20If\ - \x20present,\x20results\x20will\x20be\x20restricted\x20to\x20the\x20spec\ - ified\x20partition\n\x20previously\x20created\x20using\x20PartitionRead(\ - ).\x20\x20\x20\x20There\x20must\x20be\x20an\x20exact\n\x20match\x20for\ - \x20the\x20values\x20of\x20fields\x20common\x20to\x20this\x20message\x20\ - and\x20the\n\x20PartitionReadRequest\x20message\x20used\x20to\x20create\ - \x20this\x20partition_token.\n\n\x0f\n\x05\x04\x0c\x02\x08\x04\x12\x06\ - \xcf\x04\x02\xc9\x04\x19\n\r\n\x05\x04\x0c\x02\x08\x05\x12\x04\xcf\x04\ - \x02\x07\n\r\n\x05\x04\x0c\x02\x08\x01\x12\x04\xcf\x04\x08\x17\n\r\n\x05\ - \x04\x0c\x02\x08\x03\x12\x04\xcf\x04\x1a\x1c\n_\n\x02\x04\r\x12\x06\xd3\ - \x04\0\xd9\x04\x01\x1aQ\x20The\x20request\x20for\x20[BeginTransaction][g\ - oogle.spanner.v1.Spanner.BeginTransaction].\n\n\x0b\n\x03\x04\r\x01\x12\ - \x04\xd3\x04\x08\x1f\nD\n\x04\x04\r\x02\0\x12\x04\xd5\x04\x02\x15\x1a6\ - \x20Required.\x20The\x20session\x20in\x20which\x20the\x20transaction\x20\ - runs.\n\n\x0f\n\x05\x04\r\x02\0\x04\x12\x06\xd5\x04\x02\xd3\x04!\n\r\n\ - \x05\x04\r\x02\0\x05\x12\x04\xd5\x04\x02\x08\n\r\n\x05\x04\r\x02\0\x01\ - \x12\x04\xd5\x04\t\x10\n\r\n\x05\x04\r\x02\0\x03\x12\x04\xd5\x04\x13\x14\ - \n:\n\x04\x04\r\x02\x01\x12\x04\xd8\x04\x02!\x1a,\x20Required.\x20Option\ - s\x20for\x20the\x20new\x20transaction.\n\n\x0f\n\x05\x04\r\x02\x01\x04\ - \x12\x06\xd8\x04\x02\xd5\x04\x15\n\r\n\x05\x04\r\x02\x01\x06\x12\x04\xd8\ - \x04\x02\x14\n\r\n\x05\x04\r\x02\x01\x01\x12\x04\xd8\x04\x15\x1c\n\r\n\ - \x05\x04\r\x02\x01\x03\x12\x04\xd8\x04\x1f\x20\nK\n\x02\x04\x0e\x12\x06\ - \xdc\x04\0\xf5\x04\x01\x1a=\x20The\x20request\x20for\x20[Commit][google.\ - spanner.v1.Spanner.Commit].\n\n\x0b\n\x03\x04\x0e\x01\x12\x04\xdc\x04\ - \x08\x15\nZ\n\x04\x04\x0e\x02\0\x12\x04\xde\x04\x02\x15\x1aL\x20Required\ - .\x20The\x20session\x20in\x20which\x20the\x20transaction\x20to\x20be\x20\ - committed\x20is\x20running.\n\n\x0f\n\x05\x04\x0e\x02\0\x04\x12\x06\xde\ - \x04\x02\xdc\x04\x17\n\r\n\x05\x04\x0e\x02\0\x05\x12\x04\xde\x04\x02\x08\ - \n\r\n\x05\x04\x0e\x02\0\x01\x12\x04\xde\x04\t\x10\n\r\n\x05\x04\x0e\x02\ - \0\x03\x12\x04\xde\x04\x13\x14\n?\n\x04\x04\x0e\x08\0\x12\x06\xe1\x04\ - \x02\xef\x04\x03\x1a/\x20Required.\x20The\x20transaction\x20in\x20which\ - \x20to\x20commit.\n\n\r\n\x05\x04\x0e\x08\0\x01\x12\x04\xe1\x04\x08\x13\ - \n8\n\x04\x04\x0e\x02\x01\x12\x04\xe3\x04\x04\x1d\x1a*\x20Commit\x20a\ - \x20previously-started\x20transaction.\n\n\r\n\x05\x04\x0e\x02\x01\x05\ - \x12\x04\xe3\x04\x04\t\n\r\n\x05\x04\x0e\x02\x01\x01\x12\x04\xe3\x04\n\ - \x18\n\r\n\x05\x04\x0e\x02\x01\x03\x12\x04\xe3\x04\x1b\x1c\n\xa4\x04\n\ - \x04\x04\x0e\x02\x02\x12\x04\xee\x04\x042\x1a\x95\x04\x20Execute\x20muta\ - tions\x20in\x20a\x20temporary\x20transaction.\x20Note\x20that\x20unlike\ - \n\x20commit\x20of\x20a\x20previously-started\x20transaction,\x20commit\ - \x20with\x20a\n\x20temporary\x20transaction\x20is\x20non-idempotent.\x20\ - That\x20is,\x20if\x20the\n\x20`CommitRequest`\x20is\x20sent\x20to\x20Clo\ - ud\x20Spanner\x20more\x20than\x20once\x20(for\n\x20instance,\x20due\x20t\ - o\x20retries\x20in\x20the\x20application,\x20or\x20in\x20the\n\x20transp\ - ort\x20library),\x20it\x20is\x20possible\x20that\x20the\x20mutations\x20\ - are\n\x20executed\x20more\x20than\x20once.\x20If\x20this\x20is\x20undesi\ - rable,\x20use\n\x20[BeginTransaction][google.spanner.v1.Spanner.BeginTra\ - nsaction]\x20and\n\x20[Commit][google.spanner.v1.Spanner.Commit]\x20inst\ - ead.\n\n\r\n\x05\x04\x0e\x02\x02\x06\x12\x04\xee\x04\x04\x16\n\r\n\x05\ - \x04\x0e\x02\x02\x01\x12\x04\xee\x04\x17-\n\r\n\x05\x04\x0e\x02\x02\x03\ - \x12\x04\xee\x0401\n\x9b\x01\n\x04\x04\x0e\x02\x03\x12\x04\xf4\x04\x02\"\ - \x1a\x8c\x01\x20The\x20mutations\x20to\x20be\x20executed\x20when\x20this\ - \x20transaction\x20commits.\x20All\n\x20mutations\x20are\x20applied\x20a\ - tomically,\x20in\x20the\x20order\x20they\x20appear\x20in\n\x20this\x20li\ - st.\n\n\r\n\x05\x04\x0e\x02\x03\x04\x12\x04\xf4\x04\x02\n\n\r\n\x05\x04\ - \x0e\x02\x03\x06\x12\x04\xf4\x04\x0b\x13\n\r\n\x05\x04\x0e\x02\x03\x01\ - \x12\x04\xf4\x04\x14\x1d\n\r\n\x05\x04\x0e\x02\x03\x03\x12\x04\xf4\x04\ - \x20!\nL\n\x02\x04\x0f\x12\x06\xf8\x04\0\xfb\x04\x01\x1a>\x20The\x20resp\ - onse\x20for\x20[Commit][google.spanner.v1.Spanner.Commit].\n\n\x0b\n\x03\ - \x04\x0f\x01\x12\x04\xf8\x04\x08\x16\nO\n\x04\x04\x0f\x02\0\x12\x04\xfa\ - \x04\x021\x1aA\x20The\x20Cloud\x20Spanner\x20timestamp\x20at\x20which\ - \x20the\x20transaction\x20committed.\n\n\x0f\n\x05\x04\x0f\x02\0\x04\x12\ - \x06\xfa\x04\x02\xf8\x04\x18\n\r\n\x05\x04\x0f\x02\0\x06\x12\x04\xfa\x04\ - \x02\x1b\n\r\n\x05\x04\x0f\x02\0\x01\x12\x04\xfa\x04\x1c,\n\r\n\x05\x04\ - \x0f\x02\0\x03\x12\x04\xfa\x04/0\nO\n\x02\x04\x10\x12\x06\xfe\x04\0\x84\ - \x05\x01\x1aA\x20The\x20request\x20for\x20[Rollback][google.spanner.v1.S\ - panner.Rollback].\n\n\x0b\n\x03\x04\x10\x01\x12\x04\xfe\x04\x08\x17\nW\n\ - \x04\x04\x10\x02\0\x12\x04\x80\x05\x02\x15\x1aI\x20Required.\x20The\x20s\ - ession\x20in\x20which\x20the\x20transaction\x20to\x20roll\x20back\x20is\ - \x20running.\n\n\x0f\n\x05\x04\x10\x02\0\x04\x12\x06\x80\x05\x02\xfe\x04\ - \x19\n\r\n\x05\x04\x10\x02\0\x05\x12\x04\x80\x05\x02\x08\n\r\n\x05\x04\ - \x10\x02\0\x01\x12\x04\x80\x05\t\x10\n\r\n\x05\x04\x10\x02\0\x03\x12\x04\ - \x80\x05\x13\x14\n7\n\x04\x04\x10\x02\x01\x12\x04\x83\x05\x02\x1b\x1a)\ - \x20Required.\x20The\x20transaction\x20to\x20roll\x20back.\n\n\x0f\n\x05\ - \x04\x10\x02\x01\x04\x12\x06\x83\x05\x02\x80\x05\x15\n\r\n\x05\x04\x10\ - \x02\x01\x05\x12\x04\x83\x05\x02\x07\n\r\n\x05\x04\x10\x02\x01\x01\x12\ - \x04\x83\x05\x08\x16\n\r\n\x05\x04\x10\x02\x01\x03\x12\x04\x83\x05\x19\ - \x1ab\x06proto3\ + of\x20the\x20rows\x20in\x20[table][google.spanner.v1.ReadRequest.table]\ + \x20to\x20be\x20yielded,\x20unless\x20[index][google.spanner.v1.ReadRequ\ + est.index]\n\x20is\x20present.\x20If\x20[index][google.spanner.v1.ReadRe\ + quest.index]\x20is\x20present,\x20then\x20[key_set][google.spanner.v1.Re\ + adRequest.key_set]\x20instead\x20names\n\x20index\x20keys\x20in\x20[inde\ + x][google.spanner.v1.ReadRequest.index].\n\n\x20If\x20the\x20[partition_\ + token][google.spanner.v1.ReadRequest.partition_token]\x20field\x20is\x20\ + empty,\x20rows\x20are\x20yielded\n\x20in\x20table\x20primary\x20key\x20o\ + rder\x20(if\x20[index][google.spanner.v1.ReadRequest.index]\x20is\x20emp\ + ty)\x20or\x20index\x20key\x20order\n\x20(if\x20[index][google.spanner.v1\ + .ReadRequest.index]\x20is\x20non-empty).\x20\x20If\x20the\x20[partition_\ + token][google.spanner.v1.ReadRequest.partition_token]\x20field\x20is\x20\ + not\n\x20empty,\x20rows\x20will\x20be\x20yielded\x20in\x20an\x20unspecif\ + ied\x20order.\n\n\x20It\x20is\x20not\x20an\x20error\x20for\x20the\x20`ke\ + y_set`\x20to\x20name\x20rows\x20that\x20do\x20not\n\x20exist\x20in\x20th\ + e\x20database.\x20Read\x20yields\x20nothing\x20for\x20nonexistent\x20row\ + s.\n\n\x0f\n\x05\x04\x0c\x02\x05\x04\x12\x06\xbc\x04\x02\xae\x04\x1e\n\r\ + \n\x05\x04\x0c\x02\x05\x06\x12\x04\xbc\x04\x02\x08\n\r\n\x05\x04\x0c\x02\ + \x05\x01\x12\x04\xbc\x04\t\x10\n\r\n\x05\x04\x0c\x02\x05\x03\x12\x04\xbc\ + \x04\x13\x14\n\xb7\x01\n\x04\x04\x0c\x02\x06\x12\x04\xc1\x04\x02\x12\x1a\ + \xa8\x01\x20If\x20greater\x20than\x20zero,\x20only\x20the\x20first\x20`l\ + imit`\x20rows\x20are\x20yielded.\x20If\x20`limit`\n\x20is\x20zero,\x20th\ + e\x20default\x20is\x20no\x20limit.\x20A\x20limit\x20cannot\x20be\x20spec\ + ified\x20if\n\x20`partition_token`\x20is\x20set.\n\n\x0f\n\x05\x04\x0c\ + \x02\x06\x04\x12\x06\xc1\x04\x02\xbc\x04\x15\n\r\n\x05\x04\x0c\x02\x06\ + \x05\x12\x04\xc1\x04\x02\x07\n\r\n\x05\x04\x0c\x02\x06\x01\x12\x04\xc1\ + \x04\x08\r\n\r\n\x05\x04\x0c\x02\x06\x03\x12\x04\xc1\x04\x10\x11\n\xf9\ + \x02\n\x04\x04\x0c\x02\x07\x12\x04\xc9\x04\x02\x19\x1a\xea\x02\x20If\x20\ + this\x20request\x20is\x20resuming\x20a\x20previously\x20interrupted\x20r\ + ead,\n\x20`resume_token`\x20should\x20be\x20copied\x20from\x20the\x20las\ + t\n\x20[PartialResultSet][google.spanner.v1.PartialResultSet]\x20yielded\ + \x20before\x20the\x20interruption.\x20Doing\x20this\n\x20enables\x20the\ + \x20new\x20read\x20to\x20resume\x20where\x20the\x20last\x20read\x20left\ + \x20off.\x20The\n\x20rest\x20of\x20the\x20request\x20parameters\x20must\ + \x20exactly\x20match\x20the\x20request\n\x20that\x20yielded\x20this\x20t\ + oken.\n\n\x0f\n\x05\x04\x0c\x02\x07\x04\x12\x06\xc9\x04\x02\xc1\x04\x12\ + \n\r\n\x05\x04\x0c\x02\x07\x05\x12\x04\xc9\x04\x02\x07\n\r\n\x05\x04\x0c\ + \x02\x07\x01\x12\x04\xc9\x04\x08\x14\n\r\n\x05\x04\x0c\x02\x07\x03\x12\ + \x04\xc9\x04\x17\x18\n\x99\x02\n\x04\x04\x0c\x02\x08\x12\x04\xcf\x04\x02\ + \x1d\x1a\x8a\x02\x20If\x20present,\x20results\x20will\x20be\x20restricte\ + d\x20to\x20the\x20specified\x20partition\n\x20previously\x20created\x20u\ + sing\x20PartitionRead().\x20\x20\x20\x20There\x20must\x20be\x20an\x20exa\ + ct\n\x20match\x20for\x20the\x20values\x20of\x20fields\x20common\x20to\ + \x20this\x20message\x20and\x20the\n\x20PartitionReadRequest\x20message\ + \x20used\x20to\x20create\x20this\x20partition_token.\n\n\x0f\n\x05\x04\ + \x0c\x02\x08\x04\x12\x06\xcf\x04\x02\xc9\x04\x19\n\r\n\x05\x04\x0c\x02\ + \x08\x05\x12\x04\xcf\x04\x02\x07\n\r\n\x05\x04\x0c\x02\x08\x01\x12\x04\ + \xcf\x04\x08\x17\n\r\n\x05\x04\x0c\x02\x08\x03\x12\x04\xcf\x04\x1a\x1c\n\ + _\n\x02\x04\r\x12\x06\xd3\x04\0\xd9\x04\x01\x1aQ\x20The\x20request\x20fo\ + r\x20[BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].\n\n\ + \x0b\n\x03\x04\r\x01\x12\x04\xd3\x04\x08\x1f\nD\n\x04\x04\r\x02\0\x12\ + \x04\xd5\x04\x02\x15\x1a6\x20Required.\x20The\x20session\x20in\x20which\ + \x20the\x20transaction\x20runs.\n\n\x0f\n\x05\x04\r\x02\0\x04\x12\x06\ + \xd5\x04\x02\xd3\x04!\n\r\n\x05\x04\r\x02\0\x05\x12\x04\xd5\x04\x02\x08\ + \n\r\n\x05\x04\r\x02\0\x01\x12\x04\xd5\x04\t\x10\n\r\n\x05\x04\r\x02\0\ + \x03\x12\x04\xd5\x04\x13\x14\n:\n\x04\x04\r\x02\x01\x12\x04\xd8\x04\x02!\ + \x1a,\x20Required.\x20Options\x20for\x20the\x20new\x20transaction.\n\n\ + \x0f\n\x05\x04\r\x02\x01\x04\x12\x06\xd8\x04\x02\xd5\x04\x15\n\r\n\x05\ + \x04\r\x02\x01\x06\x12\x04\xd8\x04\x02\x14\n\r\n\x05\x04\r\x02\x01\x01\ + \x12\x04\xd8\x04\x15\x1c\n\r\n\x05\x04\r\x02\x01\x03\x12\x04\xd8\x04\x1f\ + \x20\nK\n\x02\x04\x0e\x12\x06\xdc\x04\0\xf5\x04\x01\x1a=\x20The\x20reque\ + st\x20for\x20[Commit][google.spanner.v1.Spanner.Commit].\n\n\x0b\n\x03\ + \x04\x0e\x01\x12\x04\xdc\x04\x08\x15\nZ\n\x04\x04\x0e\x02\0\x12\x04\xde\ + \x04\x02\x15\x1aL\x20Required.\x20The\x20session\x20in\x20which\x20the\ + \x20transaction\x20to\x20be\x20committed\x20is\x20running.\n\n\x0f\n\x05\ + \x04\x0e\x02\0\x04\x12\x06\xde\x04\x02\xdc\x04\x17\n\r\n\x05\x04\x0e\x02\ + \0\x05\x12\x04\xde\x04\x02\x08\n\r\n\x05\x04\x0e\x02\0\x01\x12\x04\xde\ + \x04\t\x10\n\r\n\x05\x04\x0e\x02\0\x03\x12\x04\xde\x04\x13\x14\n?\n\x04\ + \x04\x0e\x08\0\x12\x06\xe1\x04\x02\xef\x04\x03\x1a/\x20Required.\x20The\ + \x20transaction\x20in\x20which\x20to\x20commit.\n\n\r\n\x05\x04\x0e\x08\ + \0\x01\x12\x04\xe1\x04\x08\x13\n8\n\x04\x04\x0e\x02\x01\x12\x04\xe3\x04\ + \x04\x1d\x1a*\x20Commit\x20a\x20previously-started\x20transaction.\n\n\r\ + \n\x05\x04\x0e\x02\x01\x05\x12\x04\xe3\x04\x04\t\n\r\n\x05\x04\x0e\x02\ + \x01\x01\x12\x04\xe3\x04\n\x18\n\r\n\x05\x04\x0e\x02\x01\x03\x12\x04\xe3\ + \x04\x1b\x1c\n\xa4\x04\n\x04\x04\x0e\x02\x02\x12\x04\xee\x04\x042\x1a\ + \x95\x04\x20Execute\x20mutations\x20in\x20a\x20temporary\x20transaction.\ + \x20Note\x20that\x20unlike\n\x20commit\x20of\x20a\x20previously-started\ + \x20transaction,\x20commit\x20with\x20a\n\x20temporary\x20transaction\ + \x20is\x20non-idempotent.\x20That\x20is,\x20if\x20the\n\x20`CommitReques\ + t`\x20is\x20sent\x20to\x20Cloud\x20Spanner\x20more\x20than\x20once\x20(f\ + or\n\x20instance,\x20due\x20to\x20retries\x20in\x20the\x20application,\ + \x20or\x20in\x20the\n\x20transport\x20library),\x20it\x20is\x20possible\ + \x20that\x20the\x20mutations\x20are\n\x20executed\x20more\x20than\x20onc\ + e.\x20If\x20this\x20is\x20undesirable,\x20use\n\x20[BeginTransaction][go\ + ogle.spanner.v1.Spanner.BeginTransaction]\x20and\n\x20[Commit][google.sp\ + anner.v1.Spanner.Commit]\x20instead.\n\n\r\n\x05\x04\x0e\x02\x02\x06\x12\ + \x04\xee\x04\x04\x16\n\r\n\x05\x04\x0e\x02\x02\x01\x12\x04\xee\x04\x17-\ + \n\r\n\x05\x04\x0e\x02\x02\x03\x12\x04\xee\x0401\n\x9b\x01\n\x04\x04\x0e\ + \x02\x03\x12\x04\xf4\x04\x02\"\x1a\x8c\x01\x20The\x20mutations\x20to\x20\ + be\x20executed\x20when\x20this\x20transaction\x20commits.\x20All\n\x20mu\ + tations\x20are\x20applied\x20atomically,\x20in\x20the\x20order\x20they\ + \x20appear\x20in\n\x20this\x20list.\n\n\r\n\x05\x04\x0e\x02\x03\x04\x12\ + \x04\xf4\x04\x02\n\n\r\n\x05\x04\x0e\x02\x03\x06\x12\x04\xf4\x04\x0b\x13\ + \n\r\n\x05\x04\x0e\x02\x03\x01\x12\x04\xf4\x04\x14\x1d\n\r\n\x05\x04\x0e\ + \x02\x03\x03\x12\x04\xf4\x04\x20!\nL\n\x02\x04\x0f\x12\x06\xf8\x04\0\xfb\ + \x04\x01\x1a>\x20The\x20response\x20for\x20[Commit][google.spanner.v1.Sp\ + anner.Commit].\n\n\x0b\n\x03\x04\x0f\x01\x12\x04\xf8\x04\x08\x16\nO\n\ + \x04\x04\x0f\x02\0\x12\x04\xfa\x04\x021\x1aA\x20The\x20Cloud\x20Spanner\ + \x20timestamp\x20at\x20which\x20the\x20transaction\x20committed.\n\n\x0f\ + \n\x05\x04\x0f\x02\0\x04\x12\x06\xfa\x04\x02\xf8\x04\x18\n\r\n\x05\x04\ + \x0f\x02\0\x06\x12\x04\xfa\x04\x02\x1b\n\r\n\x05\x04\x0f\x02\0\x01\x12\ + \x04\xfa\x04\x1c,\n\r\n\x05\x04\x0f\x02\0\x03\x12\x04\xfa\x04/0\nO\n\x02\ + \x04\x10\x12\x06\xfe\x04\0\x84\x05\x01\x1aA\x20The\x20request\x20for\x20\ + [Rollback][google.spanner.v1.Spanner.Rollback].\n\n\x0b\n\x03\x04\x10\ + \x01\x12\x04\xfe\x04\x08\x17\nW\n\x04\x04\x10\x02\0\x12\x04\x80\x05\x02\ + \x15\x1aI\x20Required.\x20The\x20session\x20in\x20which\x20the\x20transa\ + ction\x20to\x20roll\x20back\x20is\x20running.\n\n\x0f\n\x05\x04\x10\x02\ + \0\x04\x12\x06\x80\x05\x02\xfe\x04\x19\n\r\n\x05\x04\x10\x02\0\x05\x12\ + \x04\x80\x05\x02\x08\n\r\n\x05\x04\x10\x02\0\x01\x12\x04\x80\x05\t\x10\n\ + \r\n\x05\x04\x10\x02\0\x03\x12\x04\x80\x05\x13\x14\n7\n\x04\x04\x10\x02\ + \x01\x12\x04\x83\x05\x02\x1b\x1a)\x20Required.\x20The\x20transaction\x20\ + to\x20roll\x20back.\n\n\x0f\n\x05\x04\x10\x02\x01\x04\x12\x06\x83\x05\ + \x02\x80\x05\x15\n\r\n\x05\x04\x10\x02\x01\x05\x12\x04\x83\x05\x02\x07\n\ + \r\n\x05\x04\x10\x02\x01\x01\x12\x04\x83\x05\x08\x16\n\r\n\x05\x04\x10\ + \x02\x01\x03\x12\x04\x83\x05\x19\x1ab\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner_grpc.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner_grpc.rs index 7d493531f3..a4206c7bcd 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner_grpc.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner_grpc.rs @@ -383,7 +383,7 @@ pub fn create_spanner(s: S) -> ::grpcio::Se builder = builder.add_unary_handler(&METHOD_SPANNER_PARTITION_QUERY, move |ctx, req, resp| { instance.partition_query(ctx, req, resp) }); - let mut instance = s.clone(); + let mut instance = s; builder = builder.add_unary_handler(&METHOD_SPANNER_PARTITION_READ, move |ctx, req, resp| { instance.partition_read(ctx, req, resp) }); diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/transaction.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/transaction.rs index 382adea05c..b56447554b 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/transaction.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/transaction.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct TransactionOptions { @@ -221,7 +221,7 @@ impl ::protobuf::Message for TransactionOptions { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -276,7 +276,7 @@ impl ::protobuf::Message for TransactionOptions { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let ::std::option::Option::Some(ref v) = self.mode { match v { &TransactionOptions_oneof_mode::read_write(ref v) => { @@ -312,13 +312,13 @@ impl ::protobuf::Message for TransactionOptions { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -331,10 +331,7 @@ impl ::protobuf::Message for TransactionOptions { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -363,10 +360,7 @@ impl ::protobuf::Message for TransactionOptions { } fn default_instance() -> &'static TransactionOptions { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const TransactionOptions, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(TransactionOptions::new) } @@ -383,14 +377,14 @@ impl ::protobuf::Clear for TransactionOptions { } impl ::std::fmt::Debug for TransactionOptions { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for TransactionOptions { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -418,7 +412,7 @@ impl ::protobuf::Message for TransactionOptions_ReadWrite { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -439,7 +433,7 @@ impl ::protobuf::Message for TransactionOptions_ReadWrite { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { os.write_unknown_fields(self.get_unknown_fields())?; ::std::result::Result::Ok(()) } @@ -456,13 +450,13 @@ impl ::protobuf::Message for TransactionOptions_ReadWrite { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -475,10 +469,7 @@ impl ::protobuf::Message for TransactionOptions_ReadWrite { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let fields = ::std::vec::Vec::new(); @@ -492,10 +483,7 @@ impl ::protobuf::Message for TransactionOptions_ReadWrite { } fn default_instance() -> &'static TransactionOptions_ReadWrite { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const TransactionOptions_ReadWrite, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(TransactionOptions_ReadWrite::new) } @@ -509,14 +497,14 @@ impl ::protobuf::Clear for TransactionOptions_ReadWrite { } impl ::std::fmt::Debug for TransactionOptions_ReadWrite { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for TransactionOptions_ReadWrite { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -544,7 +532,7 @@ impl ::protobuf::Message for TransactionOptions_PartitionedDml { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -565,7 +553,7 @@ impl ::protobuf::Message for TransactionOptions_PartitionedDml { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { os.write_unknown_fields(self.get_unknown_fields())?; ::std::result::Result::Ok(()) } @@ -582,13 +570,13 @@ impl ::protobuf::Message for TransactionOptions_PartitionedDml { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -601,10 +589,7 @@ impl ::protobuf::Message for TransactionOptions_PartitionedDml { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let fields = ::std::vec::Vec::new(); @@ -618,10 +603,7 @@ impl ::protobuf::Message for TransactionOptions_PartitionedDml { } fn default_instance() -> &'static TransactionOptions_PartitionedDml { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const TransactionOptions_PartitionedDml, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(TransactionOptions_PartitionedDml::new) } @@ -635,14 +617,14 @@ impl ::protobuf::Clear for TransactionOptions_PartitionedDml { } impl ::std::fmt::Debug for TransactionOptions_PartitionedDml { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for TransactionOptions_PartitionedDml { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -939,7 +921,7 @@ impl ::protobuf::Message for TransactionOptions_ReadOnly { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1023,7 +1005,7 @@ impl ::protobuf::Message for TransactionOptions_ReadOnly { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if self.return_read_timestamp != false { os.write_bool(6, self.return_read_timestamp)?; } @@ -1070,13 +1052,13 @@ impl ::protobuf::Message for TransactionOptions_ReadOnly { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1089,10 +1071,7 @@ impl ::protobuf::Message for TransactionOptions_ReadOnly { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1136,10 +1115,7 @@ impl ::protobuf::Message for TransactionOptions_ReadOnly { } fn default_instance() -> &'static TransactionOptions_ReadOnly { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const TransactionOptions_ReadOnly, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(TransactionOptions_ReadOnly::new) } @@ -1159,14 +1135,14 @@ impl ::protobuf::Clear for TransactionOptions_ReadOnly { } impl ::std::fmt::Debug for TransactionOptions_ReadOnly { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for TransactionOptions_ReadOnly { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1261,7 +1237,7 @@ impl ::protobuf::Message for Transaction { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1295,7 +1271,7 @@ impl ::protobuf::Message for Transaction { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.id.is_empty() { os.write_bytes(1, &self.id)?; } @@ -1320,13 +1296,13 @@ impl ::protobuf::Message for Transaction { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1339,10 +1315,7 @@ impl ::protobuf::Message for Transaction { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1366,10 +1339,7 @@ impl ::protobuf::Message for Transaction { } fn default_instance() -> &'static Transaction { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Transaction, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Transaction::new) } @@ -1385,14 +1355,14 @@ impl ::protobuf::Clear for Transaction { } impl ::std::fmt::Debug for Transaction { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Transaction { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1586,7 +1556,7 @@ impl ::protobuf::Message for TransactionSelector { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -1640,7 +1610,7 @@ impl ::protobuf::Message for TransactionSelector { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if let ::std::option::Option::Some(ref v) = self.selector { match v { &TransactionSelector_oneof_selector::single_use(ref v) => { @@ -1674,13 +1644,13 @@ impl ::protobuf::Message for TransactionSelector { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -1693,10 +1663,7 @@ impl ::protobuf::Message for TransactionSelector { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -1725,10 +1692,7 @@ impl ::protobuf::Message for TransactionSelector { } fn default_instance() -> &'static TransactionSelector { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const TransactionSelector, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(TransactionSelector::new) } @@ -1745,14 +1709,14 @@ impl ::protobuf::Clear for TransactionSelector { } impl ::std::fmt::Debug for TransactionSelector { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for TransactionSelector { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -1782,7 +1746,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ e.spanner.v1.TransactionOptionsH\0R\x05beginB\n\n\x08selectorB\x99\x01\n\ \x15com.google.spanner.v1B\x10TransactionProtoP\x01Z8google.golang.org/g\ enproto/googleapis/spanner/v1;spanner\xaa\x02\x17Google.Cloud.Spanner.V1\ - \xca\x02\x17Google\\Cloud\\Spanner\\V1J\xce\x99\x01\n\x07\x12\x05\x0e\0\ + \xca\x02\x17Google\\Cloud\\Spanner\\V1J\xbc\x9c\x01\n\x07\x12\x05\x0e\0\ \xc7\x03\x01\n\xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\ \x202018\x20Google\x20LLC\n\n\x20Licensed\x20under\x20the\x20Apache\x20L\ icense,\x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20no\ @@ -1795,258 +1759,277 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20e\ ither\x20express\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20\ the\x20specific\x20language\x20governing\x20permissions\x20and\n\x20limi\ - tations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0\x1a\ - \n\t\n\x02\x03\0\x12\x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\0(\n\t\n\ - \x02\x03\x02\x12\x03\x14\0)\n\x08\n\x01\x08\x12\x03\x16\04\n\t\n\x02\x08\ - %\x12\x03\x16\04\n\x08\n\x01\x08\x12\x03\x17\0O\n\t\n\x02\x08\x0b\x12\ - \x03\x17\0O\n\x08\n\x01\x08\x12\x03\x18\0\"\n\t\n\x02\x08\n\x12\x03\x18\ - \0\"\n\x08\n\x01\x08\x12\x03\x19\01\n\t\n\x02\x08\x08\x12\x03\x19\01\n\ - \x08\n\x01\x08\x12\x03\x1a\0.\n\t\n\x02\x08\x01\x12\x03\x1a\0.\n\x08\n\ - \x01\x08\x12\x03\x1b\04\n\t\n\x02\x08)\x12\x03\x1b\04\n\x80e\n\x02\x04\0\ - \x12\x06\xb3\x02\0\x9a\x03\x01\x1a\xf1d\x20#\x20Transactions\n\n\n\x20Ea\ - ch\x20session\x20can\x20have\x20at\x20most\x20one\x20active\x20transacti\ - on\x20at\x20a\x20time.\x20After\x20the\n\x20active\x20transaction\x20is\ - \x20completed,\x20the\x20session\x20can\x20immediately\x20be\n\x20re-use\ - d\x20for\x20the\x20next\x20transaction.\x20It\x20is\x20not\x20necessary\ - \x20to\x20create\x20a\n\x20new\x20session\x20for\x20each\x20transaction.\ - \n\n\x20#\x20Transaction\x20Modes\n\n\x20Cloud\x20Spanner\x20supports\ - \x20three\x20transaction\x20modes:\n\n\x20\x20\x201.\x20Locking\x20read-\ - write.\x20This\x20type\x20of\x20transaction\x20is\x20the\x20only\x20way\ - \n\x20\x20\x20\x20\x20\x20to\x20write\x20data\x20into\x20Cloud\x20Spanne\ - r.\x20These\x20transactions\x20rely\x20on\n\x20\x20\x20\x20\x20\x20pessi\ - mistic\x20locking\x20and,\x20if\x20necessary,\x20two-phase\x20commit.\n\ - \x20\x20\x20\x20\x20\x20Locking\x20read-write\x20transactions\x20may\x20\ - abort,\x20requiring\x20the\n\x20\x20\x20\x20\x20\x20application\x20to\ - \x20retry.\n\n\x20\x20\x202.\x20Snapshot\x20read-only.\x20This\x20transa\ - ction\x20type\x20provides\x20guaranteed\n\x20\x20\x20\x20\x20\x20consist\ - ency\x20across\x20several\x20reads,\x20but\x20does\x20not\x20allow\n\x20\ - \x20\x20\x20\x20\x20writes.\x20Snapshot\x20read-only\x20transactions\x20\ - can\x20be\x20configured\x20to\n\x20\x20\x20\x20\x20\x20read\x20at\x20tim\ - estamps\x20in\x20the\x20past.\x20Snapshot\x20read-only\n\x20\x20\x20\x20\ - \x20\x20transactions\x20do\x20not\x20need\x20to\x20be\x20committed.\n\n\ - \x20\x20\x203.\x20Partitioned\x20DML.\x20This\x20type\x20of\x20transacti\ - on\x20is\x20used\x20to\x20execute\n\x20\x20\x20\x20\x20\x20a\x20single\ - \x20Partitioned\x20DML\x20statement.\x20Partitioned\x20DML\x20partitions\ - \n\x20\x20\x20\x20\x20\x20the\x20key\x20space\x20and\x20runs\x20the\x20D\ - ML\x20statement\x20over\x20each\x20partition\n\x20\x20\x20\x20\x20\x20in\ - \x20parallel\x20using\x20separate,\x20internal\x20transactions\x20that\ - \x20commit\n\x20\x20\x20\x20\x20\x20independently.\x20Partitioned\x20DML\ - \x20transactions\x20do\x20not\x20need\x20to\x20be\n\x20\x20\x20\x20\x20\ - \x20committed.\n\n\x20For\x20transactions\x20that\x20only\x20read,\x20sn\ - apshot\x20read-only\x20transactions\n\x20provide\x20simpler\x20semantics\ - \x20and\x20are\x20almost\x20always\x20faster.\x20In\n\x20particular,\x20\ - read-only\x20transactions\x20do\x20not\x20take\x20locks,\x20so\x20they\ - \x20do\n\x20not\x20conflict\x20with\x20read-write\x20transactions.\x20As\ - \x20a\x20consequence\x20of\x20not\n\x20taking\x20locks,\x20they\x20also\ - \x20do\x20not\x20abort,\x20so\x20retry\x20loops\x20are\x20not\x20needed.\ - \n\n\x20Transactions\x20may\x20only\x20read/write\x20data\x20in\x20a\x20\ - single\x20database.\x20They\n\x20may,\x20however,\x20read/write\x20data\ - \x20in\x20different\x20tables\x20within\x20that\n\x20database.\n\n\x20##\ - \x20Locking\x20Read-Write\x20Transactions\n\n\x20Locking\x20transactions\ - \x20may\x20be\x20used\x20to\x20atomically\x20read-modify-write\n\x20data\ - \x20anywhere\x20in\x20a\x20database.\x20This\x20type\x20of\x20transactio\ - n\x20is\x20externally\n\x20consistent.\n\n\x20Clients\x20should\x20attem\ - pt\x20to\x20minimize\x20the\x20amount\x20of\x20time\x20a\x20transaction\ - \n\x20is\x20active.\x20Faster\x20transactions\x20commit\x20with\x20highe\ - r\x20probability\n\x20and\x20cause\x20less\x20contention.\x20Cloud\x20Sp\ - anner\x20attempts\x20to\x20keep\x20read\x20locks\n\x20active\x20as\x20lo\ - ng\x20as\x20the\x20transaction\x20continues\x20to\x20do\x20reads,\x20and\ - \x20the\n\x20transaction\x20has\x20not\x20been\x20terminated\x20by\n\x20\ - [Commit][google.spanner.v1.Spanner.Commit]\x20or\n\x20[Rollback][google.\ - spanner.v1.Spanner.Rollback].\x20\x20Long\x20periods\x20of\n\x20inactivi\ - ty\x20at\x20the\x20client\x20may\x20cause\x20Cloud\x20Spanner\x20to\x20r\ - elease\x20a\n\x20transaction's\x20locks\x20and\x20abort\x20it.\n\n\x20Co\ - nceptually,\x20a\x20read-write\x20transaction\x20consists\x20of\x20zero\ - \x20or\x20more\n\x20reads\x20or\x20SQL\x20statements\x20followed\x20by\n\ - \x20[Commit][google.spanner.v1.Spanner.Commit].\x20At\x20any\x20time\x20\ - before\n\x20[Commit][google.spanner.v1.Spanner.Commit],\x20the\x20client\ - \x20can\x20send\x20a\n\x20[Rollback][google.spanner.v1.Spanner.Rollback]\ - \x20request\x20to\x20abort\x20the\n\x20transaction.\n\n\x20###\x20Semant\ - ics\n\n\x20Cloud\x20Spanner\x20can\x20commit\x20the\x20transaction\x20if\ - \x20all\x20read\x20locks\x20it\x20acquired\n\x20are\x20still\x20valid\ - \x20at\x20commit\x20time,\x20and\x20it\x20is\x20able\x20to\x20acquire\ - \x20write\n\x20locks\x20for\x20all\x20writes.\x20Cloud\x20Spanner\x20can\ - \x20abort\x20the\x20transaction\x20for\x20any\n\x20reason.\x20If\x20a\ - \x20commit\x20attempt\x20returns\x20`ABORTED`,\x20Cloud\x20Spanner\x20gu\ - arantees\n\x20that\x20the\x20transaction\x20has\x20not\x20modified\x20an\ - y\x20user\x20data\x20in\x20Cloud\x20Spanner.\n\n\x20Unless\x20the\x20tra\ - nsaction\x20commits,\x20Cloud\x20Spanner\x20makes\x20no\x20guarantees\ - \x20about\n\x20how\x20long\x20the\x20transaction's\x20locks\x20were\x20h\ - eld\x20for.\x20It\x20is\x20an\x20error\x20to\n\x20use\x20Cloud\x20Spanne\ - r\x20locks\x20for\x20any\x20sort\x20of\x20mutual\x20exclusion\x20other\ - \x20than\n\x20between\x20Cloud\x20Spanner\x20transactions\x20themselves.\ - \n\n\x20###\x20Retrying\x20Aborted\x20Transactions\n\n\x20When\x20a\x20t\ - ransaction\x20aborts,\x20the\x20application\x20can\x20choose\x20to\x20re\ - try\x20the\n\x20whole\x20transaction\x20again.\x20To\x20maximize\x20the\ - \x20chances\x20of\x20successfully\n\x20committing\x20the\x20retry,\x20th\ - e\x20client\x20should\x20execute\x20the\x20retry\x20in\x20the\n\x20same\ - \x20session\x20as\x20the\x20original\x20attempt.\x20The\x20original\x20s\ - ession's\x20lock\n\x20priority\x20increases\x20with\x20each\x20consecuti\ - ve\x20abort,\x20meaning\x20that\x20each\n\x20attempt\x20has\x20a\x20slig\ - htly\x20better\x20chance\x20of\x20success\x20than\x20the\x20previous.\n\ - \n\x20Under\x20some\x20circumstances\x20(e.g.,\x20many\x20transactions\ - \x20attempting\x20to\n\x20modify\x20the\x20same\x20row(s)),\x20a\x20tran\ - saction\x20can\x20abort\x20many\x20times\x20in\x20a\n\x20short\x20period\ - \x20before\x20successfully\x20committing.\x20Thus,\x20it\x20is\x20not\ - \x20a\x20good\n\x20idea\x20to\x20cap\x20the\x20number\x20of\x20retries\ - \x20a\x20transaction\x20can\x20attempt;\n\x20instead,\x20it\x20is\x20bet\ - ter\x20to\x20limit\x20the\x20total\x20amount\x20of\x20wall\x20time\x20sp\ - ent\n\x20retrying.\n\n\x20###\x20Idle\x20Transactions\n\n\x20A\x20transa\ - ction\x20is\x20considered\x20idle\x20if\x20it\x20has\x20no\x20outstandin\ - g\x20reads\x20or\n\x20SQL\x20queries\x20and\x20has\x20not\x20started\x20\ - a\x20read\x20or\x20SQL\x20query\x20within\x20the\x20last\x2010\n\x20seco\ - nds.\x20Idle\x20transactions\x20can\x20be\x20aborted\x20by\x20Cloud\x20S\ - panner\x20so\x20that\x20they\n\x20don't\x20hold\x20on\x20to\x20locks\x20\ - indefinitely.\x20In\x20that\x20case,\x20the\x20commit\x20will\n\x20fail\ - \x20with\x20error\x20`ABORTED`.\n\n\x20If\x20this\x20behavior\x20is\x20u\ - ndesirable,\x20periodically\x20executing\x20a\x20simple\n\x20SQL\x20quer\ - y\x20in\x20the\x20transaction\x20(e.g.,\x20`SELECT\x201`)\x20prevents\ - \x20the\n\x20transaction\x20from\x20becoming\x20idle.\n\n\x20##\x20Snaps\ - hot\x20Read-Only\x20Transactions\n\n\x20Snapshot\x20read-only\x20transac\ - tions\x20provides\x20a\x20simpler\x20method\x20than\n\x20locking\x20read\ - -write\x20transactions\x20for\x20doing\x20several\x20consistent\n\x20rea\ - ds.\x20However,\x20this\x20type\x20of\x20transaction\x20does\x20not\x20s\ - upport\x20writes.\n\n\x20Snapshot\x20transactions\x20do\x20not\x20take\ - \x20locks.\x20Instead,\x20they\x20work\x20by\n\x20choosing\x20a\x20Cloud\ - \x20Spanner\x20timestamp,\x20then\x20executing\x20all\x20reads\x20at\x20\ - that\n\x20timestamp.\x20Since\x20they\x20do\x20not\x20acquire\x20locks,\ - \x20they\x20do\x20not\x20block\n\x20concurrent\x20read-write\x20transact\ - ions.\n\n\x20Unlike\x20locking\x20read-write\x20transactions,\x20snapsho\ - t\x20read-only\n\x20transactions\x20never\x20abort.\x20They\x20can\x20fa\ - il\x20if\x20the\x20chosen\x20read\n\x20timestamp\x20is\x20garbage\x20col\ - lected;\x20however,\x20the\x20default\x20garbage\n\x20collection\x20poli\ - cy\x20is\x20generous\x20enough\x20that\x20most\x20applications\x20do\x20\ - not\n\x20need\x20to\x20worry\x20about\x20this\x20in\x20practice.\n\n\x20\ - Snapshot\x20read-only\x20transactions\x20do\x20not\x20need\x20to\x20call\ - \n\x20[Commit][google.spanner.v1.Spanner.Commit]\x20or\n\x20[Rollback][g\ - oogle.spanner.v1.Spanner.Rollback]\x20(and\x20in\x20fact\x20are\x20not\n\ - \x20permitted\x20to\x20do\x20so).\n\n\x20To\x20execute\x20a\x20snapshot\ - \x20transaction,\x20the\x20client\x20specifies\x20a\x20timestamp\n\x20bo\ - und,\x20which\x20tells\x20Cloud\x20Spanner\x20how\x20to\x20choose\x20a\ - \x20read\x20timestamp.\n\n\x20The\x20types\x20of\x20timestamp\x20bound\ - \x20are:\n\n\x20\x20\x20-\x20Strong\x20(the\x20default).\n\x20\x20\x20-\ - \x20Bounded\x20staleness.\n\x20\x20\x20-\x20Exact\x20staleness.\n\n\x20I\ - f\x20the\x20Cloud\x20Spanner\x20database\x20to\x20be\x20read\x20is\x20ge\ - ographically\x20distributed,\n\x20stale\x20read-only\x20transactions\x20\ - can\x20execute\x20more\x20quickly\x20than\x20strong\n\x20or\x20read-writ\ - e\x20transaction,\x20because\x20they\x20are\x20able\x20to\x20execute\x20\ - far\n\x20from\x20the\x20leader\x20replica.\n\n\x20Each\x20type\x20of\x20\ - timestamp\x20bound\x20is\x20discussed\x20in\x20detail\x20below.\n\n\x20#\ - ##\x20Strong\n\n\x20Strong\x20reads\x20are\x20guaranteed\x20to\x20see\ - \x20the\x20effects\x20of\x20all\x20transactions\n\x20that\x20have\x20com\ - mitted\x20before\x20the\x20start\x20of\x20the\x20read.\x20Furthermore,\ - \x20all\n\x20rows\x20yielded\x20by\x20a\x20single\x20read\x20are\x20cons\ - istent\x20with\x20each\x20other\x20--\x20if\n\x20any\x20part\x20of\x20th\ - e\x20read\x20observes\x20a\x20transaction,\x20all\x20parts\x20of\x20the\ - \x20read\n\x20see\x20the\x20transaction.\n\n\x20Strong\x20reads\x20are\ - \x20not\x20repeatable:\x20two\x20consecutive\x20strong\x20read-only\n\ - \x20transactions\x20might\x20return\x20inconsistent\x20results\x20if\x20\ - there\x20are\n\x20concurrent\x20writes.\x20If\x20consistency\x20across\ - \x20reads\x20is\x20required,\x20the\n\x20reads\x20should\x20be\x20execut\ - ed\x20within\x20a\x20transaction\x20or\x20at\x20an\x20exact\x20read\n\ - \x20timestamp.\n\n\x20See\x20[TransactionOptions.ReadOnly.strong][google\ - .spanner.v1.TransactionOptions.ReadOnly.strong].\n\n\x20###\x20Exact\x20\ - Staleness\n\n\x20These\x20timestamp\x20bounds\x20execute\x20reads\x20at\ - \x20a\x20user-specified\n\x20timestamp.\x20Reads\x20at\x20a\x20timestamp\ - \x20are\x20guaranteed\x20to\x20see\x20a\x20consistent\n\x20prefix\x20of\ - \x20the\x20global\x20transaction\x20history:\x20they\x20observe\n\x20mod\ - ifications\x20done\x20by\x20all\x20transactions\x20with\x20a\x20commit\ - \x20timestamp\x20<=\n\x20the\x20read\x20timestamp,\x20and\x20observe\x20\ - none\x20of\x20the\x20modifications\x20done\x20by\n\x20transactions\x20wi\ - th\x20a\x20larger\x20commit\x20timestamp.\x20They\x20will\x20block\x20un\ - til\n\x20all\x20conflicting\x20transactions\x20that\x20may\x20be\x20assi\ - gned\x20commit\x20timestamps\n\x20<=\x20the\x20read\x20timestamp\x20have\ - \x20finished.\n\n\x20The\x20timestamp\x20can\x20either\x20be\x20expresse\ - d\x20as\x20an\x20absolute\x20Cloud\x20Spanner\x20commit\n\x20timestamp\ - \x20or\x20a\x20staleness\x20relative\x20to\x20the\x20current\x20time.\n\ - \n\x20These\x20modes\x20do\x20not\x20require\x20a\x20\"negotiation\x20ph\ - ase\"\x20to\x20pick\x20a\n\x20timestamp.\x20As\x20a\x20result,\x20they\ - \x20execute\x20slightly\x20faster\x20than\x20the\n\x20equivalent\x20boun\ - dedly\x20stale\x20concurrency\x20modes.\x20On\x20the\x20other\x20hand,\n\ - \x20boundedly\x20stale\x20reads\x20usually\x20return\x20fresher\x20resul\ - ts.\n\n\x20See\x20[TransactionOptions.ReadOnly.read_timestamp][google.sp\ - anner.v1.TransactionOptions.ReadOnly.read_timestamp]\x20and\n\x20[Transa\ - ctionOptions.ReadOnly.exact_staleness][google.spanner.v1.TransactionOpti\ - ons.ReadOnly.exact_staleness].\n\n\x20###\x20Bounded\x20Staleness\n\n\ - \x20Bounded\x20staleness\x20modes\x20allow\x20Cloud\x20Spanner\x20to\x20\ - pick\x20the\x20read\x20timestamp,\n\x20subject\x20to\x20a\x20user-provid\ - ed\x20staleness\x20bound.\x20Cloud\x20Spanner\x20chooses\x20the\n\x20new\ - est\x20timestamp\x20within\x20the\x20staleness\x20bound\x20that\x20allow\ - s\x20execution\n\x20of\x20the\x20reads\x20at\x20the\x20closest\x20availa\ - ble\x20replica\x20without\x20blocking.\n\n\x20All\x20rows\x20yielded\x20\ - are\x20consistent\x20with\x20each\x20other\x20--\x20if\x20any\x20part\ - \x20of\n\x20the\x20read\x20observes\x20a\x20transaction,\x20all\x20parts\ - \x20of\x20the\x20read\x20see\x20the\n\x20transaction.\x20Boundedly\x20st\ - ale\x20reads\x20are\x20not\x20repeatable:\x20two\x20stale\n\x20reads,\ - \x20even\x20if\x20they\x20use\x20the\x20same\x20staleness\x20bound,\x20c\ - an\x20execute\x20at\n\x20different\x20timestamps\x20and\x20thus\x20retur\ - n\x20inconsistent\x20results.\n\n\x20Boundedly\x20stale\x20reads\x20exec\ - ute\x20in\x20two\x20phases:\x20the\x20first\x20phase\n\x20negotiates\x20\ - a\x20timestamp\x20among\x20all\x20replicas\x20needed\x20to\x20serve\x20t\ - he\n\x20read.\x20In\x20the\x20second\x20phase,\x20reads\x20are\x20execut\ - ed\x20at\x20the\x20negotiated\n\x20timestamp.\n\n\x20As\x20a\x20result\ - \x20of\x20the\x20two\x20phase\x20execution,\x20bounded\x20staleness\x20r\ - eads\x20are\n\x20usually\x20a\x20little\x20slower\x20than\x20comparable\ - \x20exact\x20staleness\n\x20reads.\x20However,\x20they\x20are\x20typical\ - ly\x20able\x20to\x20return\x20fresher\n\x20results,\x20and\x20are\x20mor\ - e\x20likely\x20to\x20execute\x20at\x20the\x20closest\x20replica.\n\n\x20\ - Because\x20the\x20timestamp\x20negotiation\x20requires\x20up-front\x20kn\ - owledge\x20of\n\x20which\x20rows\x20will\x20be\x20read,\x20it\x20can\x20\ - only\x20be\x20used\x20with\x20single-use\n\x20read-only\x20transactions.\ - \n\n\x20See\x20[TransactionOptions.ReadOnly.max_staleness][google.spanne\ - r.v1.TransactionOptions.ReadOnly.max_staleness]\x20and\n\x20[Transaction\ - Options.ReadOnly.min_read_timestamp][google.spanner.v1.TransactionOption\ - s.ReadOnly.min_read_timestamp].\n\n\x20###\x20Old\x20Read\x20Timestamps\ - \x20and\x20Garbage\x20Collection\n\n\x20Cloud\x20Spanner\x20continuously\ - \x20garbage\x20collects\x20deleted\x20and\x20overwritten\x20data\n\x20in\ - \x20the\x20background\x20to\x20reclaim\x20storage\x20space.\x20This\x20p\ - rocess\x20is\x20known\n\x20as\x20\"version\x20GC\".\x20By\x20default,\ - \x20version\x20GC\x20reclaims\x20versions\x20after\x20they\n\x20are\x20o\ - ne\x20hour\x20old.\x20Because\x20of\x20this,\x20Cloud\x20Spanner\x20cann\ - ot\x20perform\x20reads\n\x20at\x20read\x20timestamps\x20more\x20than\x20\ - one\x20hour\x20in\x20the\x20past.\x20This\n\x20restriction\x20also\x20ap\ - plies\x20to\x20in-progress\x20reads\x20and/or\x20SQL\x20queries\x20whose\ - \n\x20timestamp\x20become\x20too\x20old\x20while\x20executing.\x20Reads\ - \x20and\x20SQL\x20queries\x20with\n\x20too-old\x20read\x20timestamps\x20\ - fail\x20with\x20the\x20error\x20`FAILED_PRECONDITION`.\n\n\x20##\x20Part\ - itioned\x20DML\x20Transactions\n\n\x20Partitioned\x20DML\x20transactions\ - \x20are\x20used\x20to\x20execute\x20DML\x20statements\x20with\x20a\n\x20\ - different\x20execution\x20strategy\x20that\x20provides\x20different,\x20\ - and\x20often\x20better,\n\x20scalability\x20properties\x20for\x20large,\ - \x20table-wide\x20operations\x20than\x20DML\x20in\x20a\n\x20ReadWrite\ - \x20transaction.\x20Smaller\x20scoped\x20statements,\x20such\x20as\x20an\ - \x20OLTP\x20workload,\n\x20should\x20prefer\x20using\x20ReadWrite\x20tra\ - nsactions.\n\n\x20Partitioned\x20DML\x20partitions\x20the\x20keyspace\ - \x20and\x20runs\x20the\x20DML\x20statement\x20on\x20each\n\x20partition\ - \x20in\x20separate,\x20internal\x20transactions.\x20These\x20transaction\ - s\x20commit\n\x20automatically\x20when\x20complete,\x20and\x20run\x20ind\ - ependently\x20from\x20one\x20another.\n\n\x20To\x20reduce\x20lock\x20con\ - tention,\x20this\x20execution\x20strategy\x20only\x20acquires\x20read\ - \x20locks\n\x20on\x20rows\x20that\x20match\x20the\x20WHERE\x20clause\x20\ - of\x20the\x20statement.\x20Additionally,\x20the\n\x20smaller\x20per-part\ - ition\x20transactions\x20hold\x20locks\x20for\x20less\x20time.\n\n\x20Th\ - at\x20said,\x20Partitioned\x20DML\x20is\x20not\x20a\x20drop-in\x20replac\ - ement\x20for\x20standard\x20DML\x20used\n\x20in\x20ReadWrite\x20transact\ - ions.\n\n\x20\x20-\x20The\x20DML\x20statement\x20must\x20be\x20fully-par\ - titionable.\x20Specifically,\x20the\x20statement\n\x20\x20\x20\x20must\ - \x20be\x20expressible\x20as\x20the\x20union\x20of\x20many\x20statements\ - \x20which\x20each\x20access\x20only\n\x20\x20\x20\x20a\x20single\x20row\ - \x20of\x20the\x20table.\n\n\x20\x20-\x20The\x20statement\x20is\x20not\ - \x20applied\x20atomically\x20to\x20all\x20rows\x20of\x20the\x20table.\ - \x20Rather,\n\x20\x20\x20\x20the\x20statement\x20is\x20applied\x20atomic\ - ally\x20to\x20partitions\x20of\x20the\x20table,\x20in\n\x20\x20\x20\x20i\ - ndependent\x20transactions.\x20Secondary\x20index\x20rows\x20are\x20upda\ - ted\x20atomically\n\x20\x20\x20\x20with\x20the\x20base\x20table\x20rows.\ - \n\n\x20\x20-\x20Partitioned\x20DML\x20does\x20not\x20guarantee\x20exact\ - ly-once\x20execution\x20semantics\n\x20\x20\x20\x20against\x20a\x20parti\ - tion.\x20The\x20statement\x20will\x20be\x20applied\x20at\x20least\x20onc\ - e\x20to\x20each\n\x20\x20\x20\x20partition.\x20It\x20is\x20strongly\x20r\ - ecommended\x20that\x20the\x20DML\x20statement\x20should\x20be\n\x20\x20\ - \x20\x20idempotent\x20to\x20avoid\x20unexpected\x20results.\x20For\x20in\ - stance,\x20it\x20is\x20potentially\n\x20\x20\x20\x20dangerous\x20to\x20r\ - un\x20a\x20statement\x20such\x20as\n\x20\x20\x20\x20`UPDATE\x20table\x20\ - SET\x20column\x20=\x20column\x20+\x201`\x20as\x20it\x20could\x20be\x20ru\ - n\x20multiple\x20times\n\x20\x20\x20\x20against\x20some\x20rows.\n\n\x20\ + tations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\x08\ + \x19\n\t\n\x02\x03\0\x12\x03\x12\x07%\n\t\n\x02\x03\x01\x12\x03\x13\x07'\ + \n\t\n\x02\x03\x02\x12\x03\x14\x07(\n\x08\n\x01\x08\x12\x03\x16\04\n\x0b\ + \n\x04\x08\xe7\x07\0\x12\x03\x16\04\n\x0c\n\x05\x08\xe7\x07\0\x02\x12\ + \x03\x16\x07\x17\n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\x16\x07\x17\n\x0e\ + \n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x16\x07\x17\n\x0c\n\x05\x08\xe7\ + \x07\0\x07\x12\x03\x16\x1a3\n\x08\n\x01\x08\x12\x03\x17\0O\n\x0b\n\x04\ + \x08\xe7\x07\x01\x12\x03\x17\0O\n\x0c\n\x05\x08\xe7\x07\x01\x02\x12\x03\ + \x17\x07\x11\n\r\n\x06\x08\xe7\x07\x01\x02\0\x12\x03\x17\x07\x11\n\x0e\n\ + \x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\x17\x07\x11\n\x0c\n\x05\x08\xe7\ + \x07\x01\x07\x12\x03\x17\x14N\n\x08\n\x01\x08\x12\x03\x18\0\"\n\x0b\n\ + \x04\x08\xe7\x07\x02\x12\x03\x18\0\"\n\x0c\n\x05\x08\xe7\x07\x02\x02\x12\ + \x03\x18\x07\x1a\n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03\x18\x07\x1a\n\ + \x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\x03\x18\x07\x1a\n\x0c\n\x05\x08\ + \xe7\x07\x02\x03\x12\x03\x18\x1d!\n\x08\n\x01\x08\x12\x03\x19\01\n\x0b\n\ + \x04\x08\xe7\x07\x03\x12\x03\x19\01\n\x0c\n\x05\x08\xe7\x07\x03\x02\x12\ + \x03\x19\x07\x1b\n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03\x19\x07\x1b\n\ + \x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\x03\x19\x07\x1b\n\x0c\n\x05\x08\ + \xe7\x07\x03\x07\x12\x03\x19\x1e0\n\x08\n\x01\x08\x12\x03\x1a\0.\n\x0b\n\ + \x04\x08\xe7\x07\x04\x12\x03\x1a\0.\n\x0c\n\x05\x08\xe7\x07\x04\x02\x12\ + \x03\x1a\x07\x13\n\r\n\x06\x08\xe7\x07\x04\x02\0\x12\x03\x1a\x07\x13\n\ + \x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\x03\x1a\x07\x13\n\x0c\n\x05\x08\ + \xe7\x07\x04\x07\x12\x03\x1a\x16-\n\x08\n\x01\x08\x12\x03\x1b\04\n\x0b\n\ + \x04\x08\xe7\x07\x05\x12\x03\x1b\04\n\x0c\n\x05\x08\xe7\x07\x05\x02\x12\ + \x03\x1b\x07\x14\n\r\n\x06\x08\xe7\x07\x05\x02\0\x12\x03\x1b\x07\x14\n\ + \x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\x03\x1b\x07\x14\n\x0c\n\x05\x08\ + \xe7\x07\x05\x07\x12\x03\x1b\x173\n\x80e\n\x02\x04\0\x12\x06\xb3\x02\0\ + \x9a\x03\x01\x1a\xf1d\x20#\x20Transactions\n\n\n\x20Each\x20session\x20c\ + an\x20have\x20at\x20most\x20one\x20active\x20transaction\x20at\x20a\x20t\ + ime.\x20After\x20the\n\x20active\x20transaction\x20is\x20completed,\x20t\ + he\x20session\x20can\x20immediately\x20be\n\x20re-used\x20for\x20the\x20\ + next\x20transaction.\x20It\x20is\x20not\x20necessary\x20to\x20create\x20\ + a\n\x20new\x20session\x20for\x20each\x20transaction.\n\n\x20#\x20Transac\ + tion\x20Modes\n\n\x20Cloud\x20Spanner\x20supports\x20three\x20transactio\ + n\x20modes:\n\n\x20\x20\x201.\x20Locking\x20read-write.\x20This\x20type\ + \x20of\x20transaction\x20is\x20the\x20only\x20way\n\x20\x20\x20\x20\x20\ + \x20to\x20write\x20data\x20into\x20Cloud\x20Spanner.\x20These\x20transac\ + tions\x20rely\x20on\n\x20\x20\x20\x20\x20\x20pessimistic\x20locking\x20a\ + nd,\x20if\x20necessary,\x20two-phase\x20commit.\n\x20\x20\x20\x20\x20\ + \x20Locking\x20read-write\x20transactions\x20may\x20abort,\x20requiring\ + \x20the\n\x20\x20\x20\x20\x20\x20application\x20to\x20retry.\n\n\x20\x20\ + \x202.\x20Snapshot\x20read-only.\x20This\x20transaction\x20type\x20provi\ + des\x20guaranteed\n\x20\x20\x20\x20\x20\x20consistency\x20across\x20seve\ + ral\x20reads,\x20but\x20does\x20not\x20allow\n\x20\x20\x20\x20\x20\x20wr\ + ites.\x20Snapshot\x20read-only\x20transactions\x20can\x20be\x20configure\ + d\x20to\n\x20\x20\x20\x20\x20\x20read\x20at\x20timestamps\x20in\x20the\ + \x20past.\x20Snapshot\x20read-only\n\x20\x20\x20\x20\x20\x20transactions\ + \x20do\x20not\x20need\x20to\x20be\x20committed.\n\n\x20\x20\x203.\x20Par\ + titioned\x20DML.\x20This\x20type\x20of\x20transaction\x20is\x20used\x20t\ + o\x20execute\n\x20\x20\x20\x20\x20\x20a\x20single\x20Partitioned\x20DML\ + \x20statement.\x20Partitioned\x20DML\x20partitions\n\x20\x20\x20\x20\x20\ + \x20the\x20key\x20space\x20and\x20runs\x20the\x20DML\x20statement\x20ove\ + r\x20each\x20partition\n\x20\x20\x20\x20\x20\x20in\x20parallel\x20using\ + \x20separate,\x20internal\x20transactions\x20that\x20commit\n\x20\x20\ + \x20\x20\x20\x20independently.\x20Partitioned\x20DML\x20transactions\x20\ + do\x20not\x20need\x20to\x20be\n\x20\x20\x20\x20\x20\x20committed.\n\n\ + \x20For\x20transactions\x20that\x20only\x20read,\x20snapshot\x20read-onl\ + y\x20transactions\n\x20provide\x20simpler\x20semantics\x20and\x20are\x20\ + almost\x20always\x20faster.\x20In\n\x20particular,\x20read-only\x20trans\ + actions\x20do\x20not\x20take\x20locks,\x20so\x20they\x20do\n\x20not\x20c\ + onflict\x20with\x20read-write\x20transactions.\x20As\x20a\x20consequence\ + \x20of\x20not\n\x20taking\x20locks,\x20they\x20also\x20do\x20not\x20abor\ + t,\x20so\x20retry\x20loops\x20are\x20not\x20needed.\n\n\x20Transactions\ + \x20may\x20only\x20read/write\x20data\x20in\x20a\x20single\x20database.\ + \x20They\n\x20may,\x20however,\x20read/write\x20data\x20in\x20different\ + \x20tables\x20within\x20that\n\x20database.\n\n\x20##\x20Locking\x20Read\ + -Write\x20Transactions\n\n\x20Locking\x20transactions\x20may\x20be\x20us\ + ed\x20to\x20atomically\x20read-modify-write\n\x20data\x20anywhere\x20in\ + \x20a\x20database.\x20This\x20type\x20of\x20transaction\x20is\x20externa\ + lly\n\x20consistent.\n\n\x20Clients\x20should\x20attempt\x20to\x20minimi\ + ze\x20the\x20amount\x20of\x20time\x20a\x20transaction\n\x20is\x20active.\ + \x20Faster\x20transactions\x20commit\x20with\x20higher\x20probability\n\ + \x20and\x20cause\x20less\x20contention.\x20Cloud\x20Spanner\x20attempts\ + \x20to\x20keep\x20read\x20locks\n\x20active\x20as\x20long\x20as\x20the\ + \x20transaction\x20continues\x20to\x20do\x20reads,\x20and\x20the\n\x20tr\ + ansaction\x20has\x20not\x20been\x20terminated\x20by\n\x20[Commit][google\ + .spanner.v1.Spanner.Commit]\x20or\n\x20[Rollback][google.spanner.v1.Span\ + ner.Rollback].\x20\x20Long\x20periods\x20of\n\x20inactivity\x20at\x20the\ + \x20client\x20may\x20cause\x20Cloud\x20Spanner\x20to\x20release\x20a\n\ + \x20transaction's\x20locks\x20and\x20abort\x20it.\n\n\x20Conceptually,\ + \x20a\x20read-write\x20transaction\x20consists\x20of\x20zero\x20or\x20mo\ + re\n\x20reads\x20or\x20SQL\x20statements\x20followed\x20by\n\x20[Commit]\ + [google.spanner.v1.Spanner.Commit].\x20At\x20any\x20time\x20before\n\x20\ + [Commit][google.spanner.v1.Spanner.Commit],\x20the\x20client\x20can\x20s\ + end\x20a\n\x20[Rollback][google.spanner.v1.Spanner.Rollback]\x20request\ + \x20to\x20abort\x20the\n\x20transaction.\n\n\x20###\x20Semantics\n\n\x20\ + Cloud\x20Spanner\x20can\x20commit\x20the\x20transaction\x20if\x20all\x20\ + read\x20locks\x20it\x20acquired\n\x20are\x20still\x20valid\x20at\x20comm\ + it\x20time,\x20and\x20it\x20is\x20able\x20to\x20acquire\x20write\n\x20lo\ + cks\x20for\x20all\x20writes.\x20Cloud\x20Spanner\x20can\x20abort\x20the\ + \x20transaction\x20for\x20any\n\x20reason.\x20If\x20a\x20commit\x20attem\ + pt\x20returns\x20`ABORTED`,\x20Cloud\x20Spanner\x20guarantees\n\x20that\ + \x20the\x20transaction\x20has\x20not\x20modified\x20any\x20user\x20data\ + \x20in\x20Cloud\x20Spanner.\n\n\x20Unless\x20the\x20transaction\x20commi\ + ts,\x20Cloud\x20Spanner\x20makes\x20no\x20guarantees\x20about\n\x20how\ + \x20long\x20the\x20transaction's\x20locks\x20were\x20held\x20for.\x20It\ + \x20is\x20an\x20error\x20to\n\x20use\x20Cloud\x20Spanner\x20locks\x20for\ + \x20any\x20sort\x20of\x20mutual\x20exclusion\x20other\x20than\n\x20betwe\ + en\x20Cloud\x20Spanner\x20transactions\x20themselves.\n\n\x20###\x20Retr\ + ying\x20Aborted\x20Transactions\n\n\x20When\x20a\x20transaction\x20abort\ + s,\x20the\x20application\x20can\x20choose\x20to\x20retry\x20the\n\x20who\ + le\x20transaction\x20again.\x20To\x20maximize\x20the\x20chances\x20of\ + \x20successfully\n\x20committing\x20the\x20retry,\x20the\x20client\x20sh\ + ould\x20execute\x20the\x20retry\x20in\x20the\n\x20same\x20session\x20as\ + \x20the\x20original\x20attempt.\x20The\x20original\x20session's\x20lock\ + \n\x20priority\x20increases\x20with\x20each\x20consecutive\x20abort,\x20\ + meaning\x20that\x20each\n\x20attempt\x20has\x20a\x20slightly\x20better\ + \x20chance\x20of\x20success\x20than\x20the\x20previous.\n\n\x20Under\x20\ + some\x20circumstances\x20(e.g.,\x20many\x20transactions\x20attempting\ + \x20to\n\x20modify\x20the\x20same\x20row(s)),\x20a\x20transaction\x20can\ + \x20abort\x20many\x20times\x20in\x20a\n\x20short\x20period\x20before\x20\ + successfully\x20committing.\x20Thus,\x20it\x20is\x20not\x20a\x20good\n\ + \x20idea\x20to\x20cap\x20the\x20number\x20of\x20retries\x20a\x20transact\ + ion\x20can\x20attempt;\n\x20instead,\x20it\x20is\x20better\x20to\x20limi\ + t\x20the\x20total\x20amount\x20of\x20wall\x20time\x20spent\n\x20retrying\ + .\n\n\x20###\x20Idle\x20Transactions\n\n\x20A\x20transaction\x20is\x20co\ + nsidered\x20idle\x20if\x20it\x20has\x20no\x20outstanding\x20reads\x20or\ + \n\x20SQL\x20queries\x20and\x20has\x20not\x20started\x20a\x20read\x20or\ + \x20SQL\x20query\x20within\x20the\x20last\x2010\n\x20seconds.\x20Idle\ + \x20transactions\x20can\x20be\x20aborted\x20by\x20Cloud\x20Spanner\x20so\ + \x20that\x20they\n\x20don't\x20hold\x20on\x20to\x20locks\x20indefinitely\ + .\x20In\x20that\x20case,\x20the\x20commit\x20will\n\x20fail\x20with\x20e\ + rror\x20`ABORTED`.\n\n\x20If\x20this\x20behavior\x20is\x20undesirable,\ + \x20periodically\x20executing\x20a\x20simple\n\x20SQL\x20query\x20in\x20\ + the\x20transaction\x20(e.g.,\x20`SELECT\x201`)\x20prevents\x20the\n\x20t\ + ransaction\x20from\x20becoming\x20idle.\n\n\x20##\x20Snapshot\x20Read-On\ + ly\x20Transactions\n\n\x20Snapshot\x20read-only\x20transactions\x20provi\ + des\x20a\x20simpler\x20method\x20than\n\x20locking\x20read-write\x20tran\ + sactions\x20for\x20doing\x20several\x20consistent\n\x20reads.\x20However\ + ,\x20this\x20type\x20of\x20transaction\x20does\x20not\x20support\x20writ\ + es.\n\n\x20Snapshot\x20transactions\x20do\x20not\x20take\x20locks.\x20In\ + stead,\x20they\x20work\x20by\n\x20choosing\x20a\x20Cloud\x20Spanner\x20t\ + imestamp,\x20then\x20executing\x20all\x20reads\x20at\x20that\n\x20timest\ + amp.\x20Since\x20they\x20do\x20not\x20acquire\x20locks,\x20they\x20do\ + \x20not\x20block\n\x20concurrent\x20read-write\x20transactions.\n\n\x20U\ + nlike\x20locking\x20read-write\x20transactions,\x20snapshot\x20read-only\ + \n\x20transactions\x20never\x20abort.\x20They\x20can\x20fail\x20if\x20th\ + e\x20chosen\x20read\n\x20timestamp\x20is\x20garbage\x20collected;\x20how\ + ever,\x20the\x20default\x20garbage\n\x20collection\x20policy\x20is\x20ge\ + nerous\x20enough\x20that\x20most\x20applications\x20do\x20not\n\x20need\ + \x20to\x20worry\x20about\x20this\x20in\x20practice.\n\n\x20Snapshot\x20r\ + ead-only\x20transactions\x20do\x20not\x20need\x20to\x20call\n\x20[Commit\ + ][google.spanner.v1.Spanner.Commit]\x20or\n\x20[Rollback][google.spanner\ + .v1.Spanner.Rollback]\x20(and\x20in\x20fact\x20are\x20not\n\x20permitted\ + \x20to\x20do\x20so).\n\n\x20To\x20execute\x20a\x20snapshot\x20transactio\ + n,\x20the\x20client\x20specifies\x20a\x20timestamp\n\x20bound,\x20which\ + \x20tells\x20Cloud\x20Spanner\x20how\x20to\x20choose\x20a\x20read\x20tim\ + estamp.\n\n\x20The\x20types\x20of\x20timestamp\x20bound\x20are:\n\n\x20\ + \x20\x20-\x20Strong\x20(the\x20default).\n\x20\x20\x20-\x20Bounded\x20st\ + aleness.\n\x20\x20\x20-\x20Exact\x20staleness.\n\n\x20If\x20the\x20Cloud\ + \x20Spanner\x20database\x20to\x20be\x20read\x20is\x20geographically\x20d\ + istributed,\n\x20stale\x20read-only\x20transactions\x20can\x20execute\ + \x20more\x20quickly\x20than\x20strong\n\x20or\x20read-write\x20transacti\ + on,\x20because\x20they\x20are\x20able\x20to\x20execute\x20far\n\x20from\ + \x20the\x20leader\x20replica.\n\n\x20Each\x20type\x20of\x20timestamp\x20\ + bound\x20is\x20discussed\x20in\x20detail\x20below.\n\n\x20###\x20Strong\ + \n\n\x20Strong\x20reads\x20are\x20guaranteed\x20to\x20see\x20the\x20effe\ + cts\x20of\x20all\x20transactions\n\x20that\x20have\x20committed\x20befor\ + e\x20the\x20start\x20of\x20the\x20read.\x20Furthermore,\x20all\n\x20rows\ + \x20yielded\x20by\x20a\x20single\x20read\x20are\x20consistent\x20with\ + \x20each\x20other\x20--\x20if\n\x20any\x20part\x20of\x20the\x20read\x20o\ + bserves\x20a\x20transaction,\x20all\x20parts\x20of\x20the\x20read\n\x20s\ + ee\x20the\x20transaction.\n\n\x20Strong\x20reads\x20are\x20not\x20repeat\ + able:\x20two\x20consecutive\x20strong\x20read-only\n\x20transactions\x20\ + might\x20return\x20inconsistent\x20results\x20if\x20there\x20are\n\x20co\ + ncurrent\x20writes.\x20If\x20consistency\x20across\x20reads\x20is\x20req\ + uired,\x20the\n\x20reads\x20should\x20be\x20executed\x20within\x20a\x20t\ + ransaction\x20or\x20at\x20an\x20exact\x20read\n\x20timestamp.\n\n\x20See\ + \x20[TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOp\ + tions.ReadOnly.strong].\n\n\x20###\x20Exact\x20Staleness\n\n\x20These\ + \x20timestamp\x20bounds\x20execute\x20reads\x20at\x20a\x20user-specified\ + \n\x20timestamp.\x20Reads\x20at\x20a\x20timestamp\x20are\x20guaranteed\ + \x20to\x20see\x20a\x20consistent\n\x20prefix\x20of\x20the\x20global\x20t\ + ransaction\x20history:\x20they\x20observe\n\x20modifications\x20done\x20\ + by\x20all\x20transactions\x20with\x20a\x20commit\x20timestamp\x20<=\n\ + \x20the\x20read\x20timestamp,\x20and\x20observe\x20none\x20of\x20the\x20\ + modifications\x20done\x20by\n\x20transactions\x20with\x20a\x20larger\x20\ + commit\x20timestamp.\x20They\x20will\x20block\x20until\n\x20all\x20confl\ + icting\x20transactions\x20that\x20may\x20be\x20assigned\x20commit\x20tim\ + estamps\n\x20<=\x20the\x20read\x20timestamp\x20have\x20finished.\n\n\x20\ + The\x20timestamp\x20can\x20either\x20be\x20expressed\x20as\x20an\x20abso\ + lute\x20Cloud\x20Spanner\x20commit\n\x20timestamp\x20or\x20a\x20stalenes\ + s\x20relative\x20to\x20the\x20current\x20time.\n\n\x20These\x20modes\x20\ + do\x20not\x20require\x20a\x20\"negotiation\x20phase\"\x20to\x20pick\x20a\ + \n\x20timestamp.\x20As\x20a\x20result,\x20they\x20execute\x20slightly\ + \x20faster\x20than\x20the\n\x20equivalent\x20boundedly\x20stale\x20concu\ + rrency\x20modes.\x20On\x20the\x20other\x20hand,\n\x20boundedly\x20stale\ + \x20reads\x20usually\x20return\x20fresher\x20results.\n\n\x20See\x20[Tra\ + nsactionOptions.ReadOnly.read_timestamp][google.spanner.v1.TransactionOp\ + tions.ReadOnly.read_timestamp]\x20and\n\x20[TransactionOptions.ReadOnly.\ + exact_staleness][google.spanner.v1.TransactionOptions.ReadOnly.exact_sta\ + leness].\n\n\x20###\x20Bounded\x20Staleness\n\n\x20Bounded\x20staleness\ + \x20modes\x20allow\x20Cloud\x20Spanner\x20to\x20pick\x20the\x20read\x20t\ + imestamp,\n\x20subject\x20to\x20a\x20user-provided\x20staleness\x20bound\ + .\x20Cloud\x20Spanner\x20chooses\x20the\n\x20newest\x20timestamp\x20with\ + in\x20the\x20staleness\x20bound\x20that\x20allows\x20execution\n\x20of\ + \x20the\x20reads\x20at\x20the\x20closest\x20available\x20replica\x20with\ + out\x20blocking.\n\n\x20All\x20rows\x20yielded\x20are\x20consistent\x20w\ + ith\x20each\x20other\x20--\x20if\x20any\x20part\x20of\n\x20the\x20read\ + \x20observes\x20a\x20transaction,\x20all\x20parts\x20of\x20the\x20read\ + \x20see\x20the\n\x20transaction.\x20Boundedly\x20stale\x20reads\x20are\ + \x20not\x20repeatable:\x20two\x20stale\n\x20reads,\x20even\x20if\x20they\ + \x20use\x20the\x20same\x20staleness\x20bound,\x20can\x20execute\x20at\n\ + \x20different\x20timestamps\x20and\x20thus\x20return\x20inconsistent\x20\ + results.\n\n\x20Boundedly\x20stale\x20reads\x20execute\x20in\x20two\x20p\ + hases:\x20the\x20first\x20phase\n\x20negotiates\x20a\x20timestamp\x20amo\ + ng\x20all\x20replicas\x20needed\x20to\x20serve\x20the\n\x20read.\x20In\ + \x20the\x20second\x20phase,\x20reads\x20are\x20executed\x20at\x20the\x20\ + negotiated\n\x20timestamp.\n\n\x20As\x20a\x20result\x20of\x20the\x20two\ + \x20phase\x20execution,\x20bounded\x20staleness\x20reads\x20are\n\x20usu\ + ally\x20a\x20little\x20slower\x20than\x20comparable\x20exact\x20stalenes\ + s\n\x20reads.\x20However,\x20they\x20are\x20typically\x20able\x20to\x20r\ + eturn\x20fresher\n\x20results,\x20and\x20are\x20more\x20likely\x20to\x20\ + execute\x20at\x20the\x20closest\x20replica.\n\n\x20Because\x20the\x20tim\ + estamp\x20negotiation\x20requires\x20up-front\x20knowledge\x20of\n\x20wh\ + ich\x20rows\x20will\x20be\x20read,\x20it\x20can\x20only\x20be\x20used\ + \x20with\x20single-use\n\x20read-only\x20transactions.\n\n\x20See\x20[Tr\ + ansactionOptions.ReadOnly.max_staleness][google.spanner.v1.TransactionOp\ + tions.ReadOnly.max_staleness]\x20and\n\x20[TransactionOptions.ReadOnly.m\ + in_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.min_rea\ + d_timestamp].\n\n\x20###\x20Old\x20Read\x20Timestamps\x20and\x20Garbage\ + \x20Collection\n\n\x20Cloud\x20Spanner\x20continuously\x20garbage\x20col\ + lects\x20deleted\x20and\x20overwritten\x20data\n\x20in\x20the\x20backgro\ + und\x20to\x20reclaim\x20storage\x20space.\x20This\x20process\x20is\x20kn\ + own\n\x20as\x20\"version\x20GC\".\x20By\x20default,\x20version\x20GC\x20\ + reclaims\x20versions\x20after\x20they\n\x20are\x20one\x20hour\x20old.\ + \x20Because\x20of\x20this,\x20Cloud\x20Spanner\x20cannot\x20perform\x20r\ + eads\n\x20at\x20read\x20timestamps\x20more\x20than\x20one\x20hour\x20in\ + \x20the\x20past.\x20This\n\x20restriction\x20also\x20applies\x20to\x20in\ + -progress\x20reads\x20and/or\x20SQL\x20queries\x20whose\n\x20timestamp\ + \x20become\x20too\x20old\x20while\x20executing.\x20Reads\x20and\x20SQL\ + \x20queries\x20with\n\x20too-old\x20read\x20timestamps\x20fail\x20with\ + \x20the\x20error\x20`FAILED_PRECONDITION`.\n\n\x20##\x20Partitioned\x20D\ + ML\x20Transactions\n\n\x20Partitioned\x20DML\x20transactions\x20are\x20u\ + sed\x20to\x20execute\x20DML\x20statements\x20with\x20a\n\x20different\ + \x20execution\x20strategy\x20that\x20provides\x20different,\x20and\x20of\ + ten\x20better,\n\x20scalability\x20properties\x20for\x20large,\x20table-\ + wide\x20operations\x20than\x20DML\x20in\x20a\n\x20ReadWrite\x20transacti\ + on.\x20Smaller\x20scoped\x20statements,\x20such\x20as\x20an\x20OLTP\x20w\ + orkload,\n\x20should\x20prefer\x20using\x20ReadWrite\x20transactions.\n\ + \n\x20Partitioned\x20DML\x20partitions\x20the\x20keyspace\x20and\x20runs\ + \x20the\x20DML\x20statement\x20on\x20each\n\x20partition\x20in\x20separa\ + te,\x20internal\x20transactions.\x20These\x20transactions\x20commit\n\ + \x20automatically\x20when\x20complete,\x20and\x20run\x20independently\ + \x20from\x20one\x20another.\n\n\x20To\x20reduce\x20lock\x20contention,\ + \x20this\x20execution\x20strategy\x20only\x20acquires\x20read\x20locks\n\ + \x20on\x20rows\x20that\x20match\x20the\x20WHERE\x20clause\x20of\x20the\ + \x20statement.\x20Additionally,\x20the\n\x20smaller\x20per-partition\x20\ + transactions\x20hold\x20locks\x20for\x20less\x20time.\n\n\x20That\x20sai\ + d,\x20Partitioned\x20DML\x20is\x20not\x20a\x20drop-in\x20replacement\x20\ + for\x20standard\x20DML\x20used\n\x20in\x20ReadWrite\x20transactions.\n\n\ + \x20\x20-\x20The\x20DML\x20statement\x20must\x20be\x20fully-partitionabl\ + e.\x20Specifically,\x20the\x20statement\n\x20\x20\x20\x20must\x20be\x20e\ + xpressible\x20as\x20the\x20union\x20of\x20many\x20statements\x20which\ + \x20each\x20access\x20only\n\x20\x20\x20\x20a\x20single\x20row\x20of\x20\ + the\x20table.\n\n\x20\x20-\x20The\x20statement\x20is\x20not\x20applied\ + \x20atomically\x20to\x20all\x20rows\x20of\x20the\x20table.\x20Rather,\n\ + \x20\x20\x20\x20the\x20statement\x20is\x20applied\x20atomically\x20to\ + \x20partitions\x20of\x20the\x20table,\x20in\n\x20\x20\x20\x20independent\ + \x20transactions.\x20Secondary\x20index\x20rows\x20are\x20updated\x20ato\ + mically\n\x20\x20\x20\x20with\x20the\x20base\x20table\x20rows.\n\n\x20\ + \x20-\x20Partitioned\x20DML\x20does\x20not\x20guarantee\x20exactly-once\ + \x20execution\x20semantics\n\x20\x20\x20\x20against\x20a\x20partition.\ + \x20The\x20statement\x20will\x20be\x20applied\x20at\x20least\x20once\x20\ + to\x20each\n\x20\x20\x20\x20partition.\x20It\x20is\x20strongly\x20recomm\ + ended\x20that\x20the\x20DML\x20statement\x20should\x20be\n\x20\x20\x20\ + \x20idempotent\x20to\x20avoid\x20unexpected\x20results.\x20For\x20instan\ + ce,\x20it\x20is\x20potentially\n\x20\x20\x20\x20dangerous\x20to\x20run\ + \x20a\x20statement\x20such\x20as\n\x20\x20\x20\x20`UPDATE\x20table\x20SE\ + T\x20column\x20=\x20column\x20+\x201`\x20as\x20it\x20could\x20be\x20run\ + \x20multiple\x20times\n\x20\x20\x20\x20against\x20some\x20rows.\n\n\x20\ \x20-\x20The\x20partitions\x20are\x20committed\x20automatically\x20-\x20\ there\x20is\x20no\x20support\x20for\n\x20\x20\x20\x20Commit\x20or\x20Rol\ lback.\x20If\x20the\x20call\x20returns\x20an\x20error,\x20or\x20if\x20th\ @@ -2227,10 +2210,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \r\n\x05\x04\x02\x02\x02\x03\x12\x04\xc5\x03\x1f\x20b\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/type_pb.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/type_pb.rs index 6a8468fd2e..f3f73db859 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/type_pb.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/type_pb.rs @@ -1,7 +1,7 @@ -// This file is generated by rust-protobuf 2.7.0. Do not edit +// This file is generated by rust-protobuf 2.11.0. Do not edit // @generated -// https://github.com/Manishearth/rust-clippy/issues/702 +// https://github.com/rust-lang/rust-clippy/issues/702 #![allow(unknown_lints)] #![allow(clippy::all)] @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_7_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; #[derive(PartialEq,Clone,Default)] pub struct Type { @@ -145,7 +145,7 @@ impl ::protobuf::Message for Type { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -186,7 +186,7 @@ impl ::protobuf::Message for Type { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if self.code != TypeCode::TYPE_CODE_UNSPECIFIED { os.write_enum(1, self.code.value())?; } @@ -216,13 +216,13 @@ impl ::protobuf::Message for Type { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -235,10 +235,7 @@ impl ::protobuf::Message for Type { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -267,10 +264,7 @@ impl ::protobuf::Message for Type { } fn default_instance() -> &'static Type { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const Type, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(Type::new) } @@ -287,14 +281,14 @@ impl ::protobuf::Clear for Type { } impl ::std::fmt::Debug for Type { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for Type { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -354,7 +348,7 @@ impl ::protobuf::Message for StructType { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -382,7 +376,7 @@ impl ::protobuf::Message for StructType { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { for v in &self.fields { os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?; os.write_raw_varint32(v.get_cached_size())?; @@ -404,13 +398,13 @@ impl ::protobuf::Message for StructType { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -423,10 +417,7 @@ impl ::protobuf::Message for StructType { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -445,10 +436,7 @@ impl ::protobuf::Message for StructType { } fn default_instance() -> &'static StructType { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const StructType, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(StructType::new) } @@ -463,14 +451,14 @@ impl ::protobuf::Clear for StructType { } impl ::std::fmt::Debug for StructType { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for StructType { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -565,7 +553,7 @@ impl ::protobuf::Message for StructType_Field { true } - fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { + fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> { while !is.eof()? { let (field_number, wire_type) = is.read_tag_unpack()?; match field_number { @@ -599,7 +587,7 @@ impl ::protobuf::Message for StructType_Field { my_size } - fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { + fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> { if !self.name.is_empty() { os.write_string(1, &self.name)?; } @@ -624,13 +612,13 @@ impl ::protobuf::Message for StructType_Field { &mut self.unknown_fields } - fn as_any(&self) -> &::std::any::Any { - self as &::std::any::Any + fn as_any(&self) -> &dyn (::std::any::Any) { + self as &dyn (::std::any::Any) } - fn as_any_mut(&mut self) -> &mut ::std::any::Any { - self as &mut ::std::any::Any + fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { + self as &mut dyn (::std::any::Any) } - fn into_any(self: Box) -> ::std::boxed::Box<::std::any::Any> { + fn into_any(self: Box) -> ::std::boxed::Box { self } @@ -643,10 +631,7 @@ impl ::protobuf::Message for StructType_Field { } fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::MessageDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { let mut fields = ::std::vec::Vec::new(); @@ -670,10 +655,7 @@ impl ::protobuf::Message for StructType_Field { } fn default_instance() -> &'static StructType_Field { - static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const StructType_Field, - }; + static mut instance: ::protobuf::lazy::Lazy = ::protobuf::lazy::Lazy::INIT; unsafe { instance.get(StructType_Field::new) } @@ -689,14 +671,14 @@ impl ::protobuf::Clear for StructType_Field { } impl ::std::fmt::Debug for StructType_Field { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { ::protobuf::text_format::fmt(self, f) } } impl ::protobuf::reflect::ProtobufValue for StructType_Field { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Message(self) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Message(self) } } @@ -752,10 +734,7 @@ impl ::protobuf::ProtobufEnum for TypeCode { } fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor { - static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::reflect::EnumDescriptor, - }; + static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { ::protobuf::reflect::EnumDescriptor::new("TypeCode", file_descriptor_proto()) @@ -774,8 +753,8 @@ impl ::std::default::Default for TypeCode { } impl ::protobuf::reflect::ProtobufValue for TypeCode { - fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef { - ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor()) + fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef { + ::protobuf::reflect::ReflectValueRef::Enum(self.descriptor()) } } @@ -795,7 +774,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\ \x05BYTES\x10\x07\x12\t\n\x05ARRAY\x10\x08\x12\n\n\x06STRUCT\x10\tB\x92\ \x01\n\x15com.google.spanner.v1B\tTypeProtoP\x01Z8google.golang.org/genp\ roto/googleapis/spanner/v1;spanner\xaa\x02\x17Google.Cloud.Spanner.V1\ - \xca\x02\x17Google\\Cloud\\Spanner\\V1J\xc8\"\n\x06\x12\x04\x0e\0u\x01\n\ + \xca\x02\x17Google\\Cloud\\Spanner\\V1J\xb6%\n\x06\x12\x04\x0e\0u\x01\n\ \xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x202018\x20Go\ ogle\x20LLC\n\n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Ver\ sion\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20th\ @@ -808,120 +787,136 @@ static file_descriptor_proto_data: &'static [u8] = b"\ WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20expres\ s\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\ \x20language\x20governing\x20permissions\x20and\n\x20limitations\x20unde\ - r\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0\x1a\n\t\n\x02\x03\0\ - \x12\x03\x12\0&\n\x08\n\x01\x08\x12\x03\x14\04\n\t\n\x02\x08%\x12\x03\ - \x14\04\n\x08\n\x01\x08\x12\x03\x15\0O\n\t\n\x02\x08\x0b\x12\x03\x15\0O\ - \n\x08\n\x01\x08\x12\x03\x16\0\"\n\t\n\x02\x08\n\x12\x03\x16\0\"\n\x08\n\ - \x01\x08\x12\x03\x17\0*\n\t\n\x02\x08\x08\x12\x03\x17\0*\n\x08\n\x01\x08\ - \x12\x03\x18\0.\n\t\n\x02\x08\x01\x12\x03\x18\0.\n\x08\n\x01\x08\x12\x03\ - \x19\04\n\t\n\x02\x08)\x12\x03\x19\04\n\x84\x01\n\x02\x04\0\x12\x04\x1e\ - \0)\x01\x1ax\x20`Type`\x20indicates\x20the\x20type\x20of\x20a\x20Cloud\ - \x20Spanner\x20value,\x20as\x20might\x20be\x20stored\x20in\x20a\n\x20tab\ - le\x20cell\x20or\x20returned\x20from\x20an\x20SQL\x20query.\n\n\n\n\x03\ - \x04\0\x01\x12\x03\x1e\x08\x0c\nR\n\x04\x04\0\x02\0\x12\x03\x20\x02\x14\ - \x1aE\x20Required.\x20The\x20[TypeCode][google.spanner.v1.TypeCode]\x20f\ - or\x20this\x20type.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04\x20\x02\x1e\x0e\ - \n\x0c\n\x05\x04\0\x02\0\x06\x12\x03\x20\x02\n\n\x0c\n\x05\x04\0\x02\0\ - \x01\x12\x03\x20\x0b\x0f\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03\x20\x12\x13\ - \n\xa2\x01\n\x04\x04\0\x02\x01\x12\x03$\x02\x1e\x1a\x94\x01\x20If\x20[co\ - de][google.spanner.v1.Type.code]\x20==\x20[ARRAY][google.spanner.v1.Type\ - Code.ARRAY],\x20then\x20`array_element_type`\n\x20is\x20the\x20type\x20o\ - f\x20the\x20array\x20elements.\n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04$\ - \x02\x20\x14\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03$\x02\x06\n\x0c\n\x05\ - \x04\0\x02\x01\x01\x12\x03$\x07\x19\n\x0c\n\x05\x04\0\x02\x01\x03\x12\ - \x03$\x1c\x1d\n\xad\x01\n\x04\x04\0\x02\x02\x12\x03(\x02\x1d\x1a\x9f\x01\ - \x20If\x20[code][google.spanner.v1.Type.code]\x20==\x20[STRUCT][google.s\ - panner.v1.TypeCode.STRUCT],\x20then\x20`struct_type`\n\x20provides\x20ty\ - pe\x20information\x20for\x20the\x20struct's\x20fields.\n\n\r\n\x05\x04\0\ - \x02\x02\x04\x12\x04(\x02$\x1e\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x03(\ - \x02\x0c\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03(\r\x18\n\x0c\n\x05\x04\0\ - \x02\x02\x03\x12\x03(\x1b\x1c\nd\n\x02\x04\x01\x12\x04,\0C\x01\x1aX\x20`\ - StructType`\x20defines\x20the\x20fields\x20of\x20a\x20[STRUCT][google.sp\ - anner.v1.TypeCode.STRUCT]\x20type.\n\n\n\n\x03\x04\x01\x01\x12\x03,\x08\ - \x12\n@\n\x04\x04\x01\x03\0\x12\x04.\x02:\x03\x1a2\x20Message\x20represe\ - nting\x20a\x20single\x20field\x20of\x20a\x20struct.\n\n\x0c\n\x05\x04\ - \x01\x03\0\x01\x12\x03.\n\x0f\n\x99\x03\n\x06\x04\x01\x03\0\x02\0\x12\ - \x036\x04\x14\x1a\x89\x03\x20The\x20name\x20of\x20the\x20field.\x20For\ - \x20reads,\x20this\x20is\x20the\x20column\x20name.\x20For\n\x20SQL\x20qu\ - eries,\x20it\x20is\x20the\x20column\x20alias\x20(e.g.,\x20`\"Word\"`\x20\ - in\x20the\n\x20query\x20`\"SELECT\x20'hello'\x20AS\x20Word\"`),\x20or\ - \x20the\x20column\x20name\x20(e.g.,\n\x20`\"ColName\"`\x20in\x20the\x20q\ - uery\x20`\"SELECT\x20ColName\x20FROM\x20Table\"`).\x20Some\n\x20columns\ - \x20might\x20have\x20an\x20empty\x20name\x20(e.g.,\x20!\"SELECT\n\x20UPP\ - ER(ColName)\"`).\x20Note\x20that\x20a\x20query\x20result\x20can\x20conta\ - in\n\x20multiple\x20fields\x20with\x20the\x20same\x20name.\n\n\x0f\n\x07\ - \x04\x01\x03\0\x02\0\x04\x12\x046\x04.\x11\n\x0e\n\x07\x04\x01\x03\0\x02\ - \0\x05\x12\x036\x04\n\n\x0e\n\x07\x04\x01\x03\0\x02\0\x01\x12\x036\x0b\ - \x0f\n\x0e\n\x07\x04\x01\x03\0\x02\0\x03\x12\x036\x12\x13\n'\n\x06\x04\ - \x01\x03\0\x02\x01\x12\x039\x04\x12\x1a\x18\x20The\x20type\x20of\x20the\ - \x20field.\n\n\x0f\n\x07\x04\x01\x03\0\x02\x01\x04\x12\x049\x046\x14\n\ - \x0e\n\x07\x04\x01\x03\0\x02\x01\x06\x12\x039\x04\x08\n\x0e\n\x07\x04\ - \x01\x03\0\x02\x01\x01\x12\x039\t\r\n\x0e\n\x07\x04\x01\x03\0\x02\x01\ - \x03\x12\x039\x10\x11\n\x8a\x03\n\x04\x04\x01\x02\0\x12\x03B\x02\x1c\x1a\ - \xfc\x02\x20The\x20list\x20of\x20fields\x20that\x20make\x20up\x20this\ - \x20struct.\x20Order\x20is\n\x20significant,\x20because\x20values\x20of\ - \x20this\x20struct\x20type\x20are\x20represented\x20as\n\x20lists,\x20wh\ - ere\x20the\x20order\x20of\x20field\x20values\x20matches\x20the\x20order\ - \x20of\n\x20fields\x20in\x20the\x20[StructType][google.spanner.v1.Struct\ - Type].\x20In\x20turn,\x20the\x20order\x20of\x20fields\n\x20matches\x20th\ - e\x20order\x20of\x20columns\x20in\x20a\x20read\x20request,\x20or\x20the\ - \x20order\x20of\n\x20fields\x20in\x20the\x20`SELECT`\x20clause\x20of\x20\ - a\x20query.\n\n\x0c\n\x05\x04\x01\x02\0\x04\x12\x03B\x02\n\n\x0c\n\x05\ - \x04\x01\x02\0\x06\x12\x03B\x0b\x10\n\x0c\n\x05\x04\x01\x02\0\x01\x12\ - \x03B\x11\x17\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03B\x1a\x1b\n\xd9\x02\n\ - \x02\x05\0\x12\x04L\0u\x01\x1a\xcc\x02\x20`TypeCode`\x20is\x20used\x20as\ - \x20part\x20of\x20[Type][google.spanner.v1.Type]\x20to\n\x20indicate\x20\ - the\x20type\x20of\x20a\x20Cloud\x20Spanner\x20value.\n\n\x20Each\x20lega\ - l\x20value\x20of\x20a\x20type\x20can\x20be\x20encoded\x20to\x20or\x20dec\ - oded\x20from\x20a\x20JSON\n\x20value,\x20using\x20the\x20encodings\x20de\ - scribed\x20below.\x20All\x20Cloud\x20Spanner\x20values\x20can\n\x20be\ - \x20`null`,\x20regardless\x20of\x20type;\x20`null`s\x20are\x20always\x20\ - encoded\x20as\x20a\x20JSON\n\x20`null`.\n\n\n\n\x03\x05\0\x01\x12\x03L\ - \x05\r\n\x1d\n\x04\x05\0\x02\0\x12\x03N\x02\x1c\x1a\x10\x20Not\x20specif\ - ied.\n\n\x0c\n\x05\x05\0\x02\0\x01\x12\x03N\x02\x17\n\x0c\n\x05\x05\0\ - \x02\0\x02\x12\x03N\x1a\x1b\n1\n\x04\x05\0\x02\x01\x12\x03Q\x02\x0b\x1a$\ - \x20Encoded\x20as\x20JSON\x20`true`\x20or\x20`false`.\n\n\x0c\n\x05\x05\ - \0\x02\x01\x01\x12\x03Q\x02\x06\n\x0c\n\x05\x05\0\x02\x01\x02\x12\x03Q\t\ - \n\n6\n\x04\x05\0\x02\x02\x12\x03T\x02\x0c\x1a)\x20Encoded\x20as\x20`str\ - ing`,\x20in\x20decimal\x20format.\n\n\x0c\n\x05\x05\0\x02\x02\x01\x12\ - \x03T\x02\x07\n\x0c\n\x05\x05\0\x02\x02\x02\x12\x03T\n\x0b\n\\\n\x04\x05\ - \0\x02\x03\x12\x03X\x02\x0e\x1aO\x20Encoded\x20as\x20`number`,\x20or\x20\ - the\x20strings\x20`\"NaN\"`,\x20`\"Infinity\"`,\x20or\n\x20`\"-Infinity\ - \"`.\n\n\x0c\n\x05\x05\0\x02\x03\x01\x12\x03X\x02\t\n\x0c\n\x05\x05\0\ - \x02\x03\x02\x12\x03X\x0c\r\n\xdd\x02\n\x04\x05\0\x02\x04\x12\x03b\x02\ - \x10\x1a\xcf\x02\x20Encoded\x20as\x20`string`\x20in\x20RFC\x203339\x20ti\ - mestamp\x20format.\x20The\x20time\x20zone\n\x20must\x20be\x20present,\ - \x20and\x20must\x20be\x20`\"Z\"`.\n\n\x20If\x20the\x20schema\x20has\x20t\ - he\x20column\x20option\n\x20`allow_commit_timestamp=true`,\x20the\x20pla\ - ceholder\x20string\n\x20`\"spanner.commit_timestamp()\"`\x20can\x20be\ - \x20used\x20to\x20instruct\x20the\x20system\n\x20to\x20insert\x20the\x20\ - commit\x20timestamp\x20associated\x20with\x20the\x20transaction\n\x20com\ - mit.\n\n\x0c\n\x05\x05\0\x02\x04\x01\x12\x03b\x02\x0b\n\x0c\n\x05\x05\0\ - \x02\x04\x02\x12\x03b\x0e\x0f\n;\n\x04\x05\0\x02\x05\x12\x03e\x02\x0b\ - \x1a.\x20Encoded\x20as\x20`string`\x20in\x20RFC\x203339\x20date\x20forma\ - t.\n\n\x0c\n\x05\x05\0\x02\x05\x01\x12\x03e\x02\x06\n\x0c\n\x05\x05\0\ - \x02\x05\x02\x12\x03e\t\n\n#\n\x04\x05\0\x02\x06\x12\x03h\x02\r\x1a\x16\ - \x20Encoded\x20as\x20`string`.\n\n\x0c\n\x05\x05\0\x02\x06\x01\x12\x03h\ - \x02\x08\n\x0c\n\x05\x05\0\x02\x06\x02\x12\x03h\x0b\x0c\nZ\n\x04\x05\0\ - \x02\x07\x12\x03l\x02\x0c\x1aM\x20Encoded\x20as\x20a\x20base64-encoded\ - \x20`string`,\x20as\x20described\x20in\x20RFC\x204648,\n\x20section\x204\ - .\n\n\x0c\n\x05\x05\0\x02\x07\x01\x12\x03l\x02\x07\n\x0c\n\x05\x05\0\x02\ - \x07\x02\x12\x03l\n\x0b\n\x99\x01\n\x04\x05\0\x02\x08\x12\x03p\x02\x0c\ - \x1a\x8b\x01\x20Encoded\x20as\x20`list`,\x20where\x20the\x20list\x20elem\ - ents\x20are\x20represented\n\x20according\x20to\x20[array_element_type][\ - google.spanner.v1.Type.array_element_type].\n\n\x0c\n\x05\x05\0\x02\x08\ - \x01\x12\x03p\x02\x07\n\x0c\n\x05\x05\0\x02\x08\x02\x12\x03p\n\x0b\n\x94\ - \x01\n\x04\x05\0\x02\t\x12\x03t\x02\r\x1a\x86\x01\x20Encoded\x20as\x20`l\ - ist`,\x20where\x20list\x20element\x20`i`\x20is\x20represented\x20accordi\ - ng\n\x20to\x20[struct_type.fields[i]][google.spanner.v1.StructType.field\ - s].\n\n\x0c\n\x05\x05\0\x02\t\x01\x12\x03t\x02\x08\n\x0c\n\x05\x05\0\x02\ - \t\x02\x12\x03t\x0b\x0cb\x06proto3\ + r\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\x08\x19\n\t\n\x02\x03\ + \0\x12\x03\x12\x07%\n\x08\n\x01\x08\x12\x03\x14\04\n\x0b\n\x04\x08\xe7\ + \x07\0\x12\x03\x14\04\n\x0c\n\x05\x08\xe7\x07\0\x02\x12\x03\x14\x07\x17\ + \n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\x14\x07\x17\n\x0e\n\x07\x08\xe7\ + \x07\0\x02\0\x01\x12\x03\x14\x07\x17\n\x0c\n\x05\x08\xe7\x07\0\x07\x12\ + \x03\x14\x1a3\n\x08\n\x01\x08\x12\x03\x15\0O\n\x0b\n\x04\x08\xe7\x07\x01\ + \x12\x03\x15\0O\n\x0c\n\x05\x08\xe7\x07\x01\x02\x12\x03\x15\x07\x11\n\r\ + \n\x06\x08\xe7\x07\x01\x02\0\x12\x03\x15\x07\x11\n\x0e\n\x07\x08\xe7\x07\ + \x01\x02\0\x01\x12\x03\x15\x07\x11\n\x0c\n\x05\x08\xe7\x07\x01\x07\x12\ + \x03\x15\x14N\n\x08\n\x01\x08\x12\x03\x16\0\"\n\x0b\n\x04\x08\xe7\x07\ + \x02\x12\x03\x16\0\"\n\x0c\n\x05\x08\xe7\x07\x02\x02\x12\x03\x16\x07\x1a\ + \n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03\x16\x07\x1a\n\x0e\n\x07\x08\xe7\ + \x07\x02\x02\0\x01\x12\x03\x16\x07\x1a\n\x0c\n\x05\x08\xe7\x07\x02\x03\ + \x12\x03\x16\x1d!\n\x08\n\x01\x08\x12\x03\x17\0*\n\x0b\n\x04\x08\xe7\x07\ + \x03\x12\x03\x17\0*\n\x0c\n\x05\x08\xe7\x07\x03\x02\x12\x03\x17\x07\x1b\ + \n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03\x17\x07\x1b\n\x0e\n\x07\x08\xe7\ + \x07\x03\x02\0\x01\x12\x03\x17\x07\x1b\n\x0c\n\x05\x08\xe7\x07\x03\x07\ + \x12\x03\x17\x1e)\n\x08\n\x01\x08\x12\x03\x18\0.\n\x0b\n\x04\x08\xe7\x07\ + \x04\x12\x03\x18\0.\n\x0c\n\x05\x08\xe7\x07\x04\x02\x12\x03\x18\x07\x13\ + \n\r\n\x06\x08\xe7\x07\x04\x02\0\x12\x03\x18\x07\x13\n\x0e\n\x07\x08\xe7\ + \x07\x04\x02\0\x01\x12\x03\x18\x07\x13\n\x0c\n\x05\x08\xe7\x07\x04\x07\ + \x12\x03\x18\x16-\n\x08\n\x01\x08\x12\x03\x19\04\n\x0b\n\x04\x08\xe7\x07\ + \x05\x12\x03\x19\04\n\x0c\n\x05\x08\xe7\x07\x05\x02\x12\x03\x19\x07\x14\ + \n\r\n\x06\x08\xe7\x07\x05\x02\0\x12\x03\x19\x07\x14\n\x0e\n\x07\x08\xe7\ + \x07\x05\x02\0\x01\x12\x03\x19\x07\x14\n\x0c\n\x05\x08\xe7\x07\x05\x07\ + \x12\x03\x19\x173\n\x84\x01\n\x02\x04\0\x12\x04\x1e\0)\x01\x1ax\x20`Type\ + `\x20indicates\x20the\x20type\x20of\x20a\x20Cloud\x20Spanner\x20value,\ + \x20as\x20might\x20be\x20stored\x20in\x20a\n\x20table\x20cell\x20or\x20r\ + eturned\x20from\x20an\x20SQL\x20query.\n\n\n\n\x03\x04\0\x01\x12\x03\x1e\ + \x08\x0c\nR\n\x04\x04\0\x02\0\x12\x03\x20\x02\x14\x1aE\x20Required.\x20T\ + he\x20[TypeCode][google.spanner.v1.TypeCode]\x20for\x20this\x20type.\n\n\ + \r\n\x05\x04\0\x02\0\x04\x12\x04\x20\x02\x1e\x0e\n\x0c\n\x05\x04\0\x02\0\ + \x06\x12\x03\x20\x02\n\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03\x20\x0b\x0f\n\ + \x0c\n\x05\x04\0\x02\0\x03\x12\x03\x20\x12\x13\n\xa2\x01\n\x04\x04\0\x02\ + \x01\x12\x03$\x02\x1e\x1a\x94\x01\x20If\x20[code][google.spanner.v1.Type\ + .code]\x20==\x20[ARRAY][google.spanner.v1.TypeCode.ARRAY],\x20then\x20`a\ + rray_element_type`\n\x20is\x20the\x20type\x20of\x20the\x20array\x20eleme\ + nts.\n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04$\x02\x20\x14\n\x0c\n\x05\x04\ + \0\x02\x01\x06\x12\x03$\x02\x06\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03$\ + \x07\x19\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03$\x1c\x1d\n\xad\x01\n\x04\ + \x04\0\x02\x02\x12\x03(\x02\x1d\x1a\x9f\x01\x20If\x20[code][google.spann\ + er.v1.Type.code]\x20==\x20[STRUCT][google.spanner.v1.TypeCode.STRUCT],\ + \x20then\x20`struct_type`\n\x20provides\x20type\x20information\x20for\ + \x20the\x20struct's\x20fields.\n\n\r\n\x05\x04\0\x02\x02\x04\x12\x04(\ + \x02$\x1e\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x03(\x02\x0c\n\x0c\n\x05\x04\ + \0\x02\x02\x01\x12\x03(\r\x18\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03(\x1b\ + \x1c\nd\n\x02\x04\x01\x12\x04,\0C\x01\x1aX\x20`StructType`\x20defines\ + \x20the\x20fields\x20of\x20a\x20[STRUCT][google.spanner.v1.TypeCode.STRU\ + CT]\x20type.\n\n\n\n\x03\x04\x01\x01\x12\x03,\x08\x12\n@\n\x04\x04\x01\ + \x03\0\x12\x04.\x02:\x03\x1a2\x20Message\x20representing\x20a\x20single\ + \x20field\x20of\x20a\x20struct.\n\n\x0c\n\x05\x04\x01\x03\0\x01\x12\x03.\ + \n\x0f\n\x99\x03\n\x06\x04\x01\x03\0\x02\0\x12\x036\x04\x14\x1a\x89\x03\ + \x20The\x20name\x20of\x20the\x20field.\x20For\x20reads,\x20this\x20is\ + \x20the\x20column\x20name.\x20For\n\x20SQL\x20queries,\x20it\x20is\x20th\ + e\x20column\x20alias\x20(e.g.,\x20`\"Word\"`\x20in\x20the\n\x20query\x20\ + `\"SELECT\x20'hello'\x20AS\x20Word\"`),\x20or\x20the\x20column\x20name\ + \x20(e.g.,\n\x20`\"ColName\"`\x20in\x20the\x20query\x20`\"SELECT\x20ColN\ + ame\x20FROM\x20Table\"`).\x20Some\n\x20columns\x20might\x20have\x20an\ + \x20empty\x20name\x20(e.g.,\x20!\"SELECT\n\x20UPPER(ColName)\"`).\x20Not\ + e\x20that\x20a\x20query\x20result\x20can\x20contain\n\x20multiple\x20fie\ + lds\x20with\x20the\x20same\x20name.\n\n\x0f\n\x07\x04\x01\x03\0\x02\0\ + \x04\x12\x046\x04.\x11\n\x0e\n\x07\x04\x01\x03\0\x02\0\x05\x12\x036\x04\ + \n\n\x0e\n\x07\x04\x01\x03\0\x02\0\x01\x12\x036\x0b\x0f\n\x0e\n\x07\x04\ + \x01\x03\0\x02\0\x03\x12\x036\x12\x13\n'\n\x06\x04\x01\x03\0\x02\x01\x12\ + \x039\x04\x12\x1a\x18\x20The\x20type\x20of\x20the\x20field.\n\n\x0f\n\ + \x07\x04\x01\x03\0\x02\x01\x04\x12\x049\x046\x14\n\x0e\n\x07\x04\x01\x03\ + \0\x02\x01\x06\x12\x039\x04\x08\n\x0e\n\x07\x04\x01\x03\0\x02\x01\x01\ + \x12\x039\t\r\n\x0e\n\x07\x04\x01\x03\0\x02\x01\x03\x12\x039\x10\x11\n\ + \x8a\x03\n\x04\x04\x01\x02\0\x12\x03B\x02\x1c\x1a\xfc\x02\x20The\x20list\ + \x20of\x20fields\x20that\x20make\x20up\x20this\x20struct.\x20Order\x20is\ + \n\x20significant,\x20because\x20values\x20of\x20this\x20struct\x20type\ + \x20are\x20represented\x20as\n\x20lists,\x20where\x20the\x20order\x20of\ + \x20field\x20values\x20matches\x20the\x20order\x20of\n\x20fields\x20in\ + \x20the\x20[StructType][google.spanner.v1.StructType].\x20In\x20turn,\ + \x20the\x20order\x20of\x20fields\n\x20matches\x20the\x20order\x20of\x20c\ + olumns\x20in\x20a\x20read\x20request,\x20or\x20the\x20order\x20of\n\x20f\ + ields\x20in\x20the\x20`SELECT`\x20clause\x20of\x20a\x20query.\n\n\x0c\n\ + \x05\x04\x01\x02\0\x04\x12\x03B\x02\n\n\x0c\n\x05\x04\x01\x02\0\x06\x12\ + \x03B\x0b\x10\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03B\x11\x17\n\x0c\n\x05\ + \x04\x01\x02\0\x03\x12\x03B\x1a\x1b\n\xd9\x02\n\x02\x05\0\x12\x04L\0u\ + \x01\x1a\xcc\x02\x20`TypeCode`\x20is\x20used\x20as\x20part\x20of\x20[Typ\ + e][google.spanner.v1.Type]\x20to\n\x20indicate\x20the\x20type\x20of\x20a\ + \x20Cloud\x20Spanner\x20value.\n\n\x20Each\x20legal\x20value\x20of\x20a\ + \x20type\x20can\x20be\x20encoded\x20to\x20or\x20decoded\x20from\x20a\x20\ + JSON\n\x20value,\x20using\x20the\x20encodings\x20described\x20below.\x20\ + All\x20Cloud\x20Spanner\x20values\x20can\n\x20be\x20`null`,\x20regardles\ + s\x20of\x20type;\x20`null`s\x20are\x20always\x20encoded\x20as\x20a\x20JS\ + ON\n\x20`null`.\n\n\n\n\x03\x05\0\x01\x12\x03L\x05\r\n\x1d\n\x04\x05\0\ + \x02\0\x12\x03N\x02\x1c\x1a\x10\x20Not\x20specified.\n\n\x0c\n\x05\x05\0\ + \x02\0\x01\x12\x03N\x02\x17\n\x0c\n\x05\x05\0\x02\0\x02\x12\x03N\x1a\x1b\ + \n1\n\x04\x05\0\x02\x01\x12\x03Q\x02\x0b\x1a$\x20Encoded\x20as\x20JSON\ + \x20`true`\x20or\x20`false`.\n\n\x0c\n\x05\x05\0\x02\x01\x01\x12\x03Q\ + \x02\x06\n\x0c\n\x05\x05\0\x02\x01\x02\x12\x03Q\t\n\n6\n\x04\x05\0\x02\ + \x02\x12\x03T\x02\x0c\x1a)\x20Encoded\x20as\x20`string`,\x20in\x20decima\ + l\x20format.\n\n\x0c\n\x05\x05\0\x02\x02\x01\x12\x03T\x02\x07\n\x0c\n\ + \x05\x05\0\x02\x02\x02\x12\x03T\n\x0b\n\\\n\x04\x05\0\x02\x03\x12\x03X\ + \x02\x0e\x1aO\x20Encoded\x20as\x20`number`,\x20or\x20the\x20strings\x20`\ + \"NaN\"`,\x20`\"Infinity\"`,\x20or\n\x20`\"-Infinity\"`.\n\n\x0c\n\x05\ + \x05\0\x02\x03\x01\x12\x03X\x02\t\n\x0c\n\x05\x05\0\x02\x03\x02\x12\x03X\ + \x0c\r\n\xdd\x02\n\x04\x05\0\x02\x04\x12\x03b\x02\x10\x1a\xcf\x02\x20Enc\ + oded\x20as\x20`string`\x20in\x20RFC\x203339\x20timestamp\x20format.\x20T\ + he\x20time\x20zone\n\x20must\x20be\x20present,\x20and\x20must\x20be\x20`\ + \"Z\"`.\n\n\x20If\x20the\x20schema\x20has\x20the\x20column\x20option\n\ + \x20`allow_commit_timestamp=true`,\x20the\x20placeholder\x20string\n\x20\ + `\"spanner.commit_timestamp()\"`\x20can\x20be\x20used\x20to\x20instruct\ + \x20the\x20system\n\x20to\x20insert\x20the\x20commit\x20timestamp\x20ass\ + ociated\x20with\x20the\x20transaction\n\x20commit.\n\n\x0c\n\x05\x05\0\ + \x02\x04\x01\x12\x03b\x02\x0b\n\x0c\n\x05\x05\0\x02\x04\x02\x12\x03b\x0e\ + \x0f\n;\n\x04\x05\0\x02\x05\x12\x03e\x02\x0b\x1a.\x20Encoded\x20as\x20`s\ + tring`\x20in\x20RFC\x203339\x20date\x20format.\n\n\x0c\n\x05\x05\0\x02\ + \x05\x01\x12\x03e\x02\x06\n\x0c\n\x05\x05\0\x02\x05\x02\x12\x03e\t\n\n#\ + \n\x04\x05\0\x02\x06\x12\x03h\x02\r\x1a\x16\x20Encoded\x20as\x20`string`\ + .\n\n\x0c\n\x05\x05\0\x02\x06\x01\x12\x03h\x02\x08\n\x0c\n\x05\x05\0\x02\ + \x06\x02\x12\x03h\x0b\x0c\nZ\n\x04\x05\0\x02\x07\x12\x03l\x02\x0c\x1aM\ + \x20Encoded\x20as\x20a\x20base64-encoded\x20`string`,\x20as\x20described\ + \x20in\x20RFC\x204648,\n\x20section\x204.\n\n\x0c\n\x05\x05\0\x02\x07\ + \x01\x12\x03l\x02\x07\n\x0c\n\x05\x05\0\x02\x07\x02\x12\x03l\n\x0b\n\x99\ + \x01\n\x04\x05\0\x02\x08\x12\x03p\x02\x0c\x1a\x8b\x01\x20Encoded\x20as\ + \x20`list`,\x20where\x20the\x20list\x20elements\x20are\x20represented\n\ + \x20according\x20to\x20[array_element_type][google.spanner.v1.Type.array\ + _element_type].\n\n\x0c\n\x05\x05\0\x02\x08\x01\x12\x03p\x02\x07\n\x0c\n\ + \x05\x05\0\x02\x08\x02\x12\x03p\n\x0b\n\x94\x01\n\x04\x05\0\x02\t\x12\ + \x03t\x02\r\x1a\x86\x01\x20Encoded\x20as\x20`list`,\x20where\x20list\x20\ + element\x20`i`\x20is\x20represented\x20according\n\x20to\x20[struct_type\ + .fields[i]][google.spanner.v1.StructType.fields].\n\n\x0c\n\x05\x05\0\ + \x02\t\x01\x12\x03t\x02\x08\n\x0c\n\x05\x05\0\x02\t\x02\x12\x03t\x0b\x0c\ + b\x06proto3\ "; -static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy { - lock: ::protobuf::lazy::ONCE_INIT, - ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto, -}; +static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT; fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto { ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap() diff --git a/vendor/mozilla-rust-sdk/googleapis/src/spanner.rs b/vendor/mozilla-rust-sdk/googleapis/src/spanner.rs index 1a5ff31f16..a0d7365208 100644 --- a/vendor/mozilla-rust-sdk/googleapis/src/spanner.rs +++ b/vendor/mozilla-rust-sdk/googleapis/src/spanner.rs @@ -14,6 +14,7 @@ pub struct Client { session: Session, } +#[allow(dead_code)] impl Client { /// Creates a new Spanner client. /// From e27deda75389250c919f9154acca63acc9ad17a3 Mon Sep 17 00:00:00 2001 From: jrconlin Date: Thu, 26 Mar 2020 10:15:10 -0700 Subject: [PATCH 14/21] f update to protobuf 2.12.0, because it's been 24 hours. * Updated generate.sh to be more aggressive about things --- .../googleapis-raw/generate.sh | 11 +++++ .../googleapis-raw/src/empty.rs | 6 +-- .../googleapis-raw/src/iam/v1/iam_policy.rs | 12 +++--- .../googleapis-raw/src/iam/v1/policy.rs | 14 +++---- .../googleapis-raw/src/lib.rs | 4 +- .../src/longrunning/operations.rs | 16 ++++---- .../googleapis-raw/src/rpc/code.rs | 6 +-- .../googleapis-raw/src/rpc/error_details.rs | 38 +++++++++--------- .../googleapis-raw/src/rpc/status.rs | 6 +-- .../database/v1/spanner_database_admin.rs | 28 ++++++------- .../instance/v1/spanner_instance_admin.rs | 32 +++++++-------- .../googleapis-raw/src/spanner/v1/keys.rs | 12 +++--- .../googleapis-raw/src/spanner/v1/mutation.rs | 14 +++---- .../src/spanner/v1/query_plan.rs | 18 ++++----- .../src/spanner/v1/result_set.rs | 12 +++--- .../googleapis-raw/src/spanner/v1/spanner.rs | 40 +++++++++---------- .../src/spanner/v1/transaction.rs | 22 +++++----- .../googleapis-raw/src/spanner/v1/type_pb.rs | 14 +++---- 18 files changed, 158 insertions(+), 147 deletions(-) diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/generate.sh b/vendor/mozilla-rust-sdk/googleapis-raw/generate.sh index bf981f2a60..fc36d28cae 100755 --- a/vendor/mozilla-rust-sdk/googleapis-raw/generate.sh +++ b/vendor/mozilla-rust-sdk/googleapis-raw/generate.sh @@ -9,6 +9,16 @@ set -e cd "$(dirname "$0")" +## remove old files: +echo "Purging old files..." +find src -name "*.rs" -and -not \( -name "mod.rs" -or -name "lib.rs" \) -print -delete + +## updating plugins +echo "Updating cargo..." +cargo update +echo "Updating plugin..." +cargo install protobuf-codegen + if ! [[ -x "$(command -v grpc_rust_plugin)" ]]; then echo "Error: grpc_rust_plugin was not found" echo @@ -61,6 +71,7 @@ spanner/v1 " SRC_ROOT=$PWD + for dir in $proto_dirs; do mkdir -p "$SRC_ROOT/src/$dir" echo "Processing: $dir..." diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/empty.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/empty.rs index a23bd5e287..ecf53a04bc 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/empty.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/empty.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct Empty { @@ -111,7 +111,7 @@ impl ::protobuf::Message for Empty { unsafe { descriptor.get(|| { let fields = ::std::vec::Vec::new(); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Empty", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy.rs index 5401b02faf..971f90940b 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/iam_policy.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct SetIamPolicyRequest { @@ -209,7 +209,7 @@ impl ::protobuf::Message for SetIamPolicyRequest { |m: &SetIamPolicyRequest| { &m.policy }, |m: &mut SetIamPolicyRequest| { &mut m.policy }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "SetIamPolicyRequest", fields, file_descriptor_proto() @@ -373,7 +373,7 @@ impl ::protobuf::Message for GetIamPolicyRequest { |m: &GetIamPolicyRequest| { &m.resource }, |m: &mut GetIamPolicyRequest| { &mut m.resource }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "GetIamPolicyRequest", fields, file_descriptor_proto() @@ -576,7 +576,7 @@ impl ::protobuf::Message for TestIamPermissionsRequest { |m: &TestIamPermissionsRequest| { &m.permissions }, |m: &mut TestIamPermissionsRequest| { &mut m.permissions }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "TestIamPermissionsRequest", fields, file_descriptor_proto() @@ -739,7 +739,7 @@ impl ::protobuf::Message for TestIamPermissionsResponse { |m: &TestIamPermissionsResponse| { &m.permissions }, |m: &mut TestIamPermissionsResponse| { &mut m.permissions }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "TestIamPermissionsResponse", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/policy.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/policy.rs index 6c2a871ffe..2328c3be32 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/policy.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/iam/v1/policy.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct Policy { @@ -235,7 +235,7 @@ impl ::protobuf::Message for Policy { |m: &Policy| { &m.etag }, |m: &mut Policy| { &mut m.etag }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Policy", fields, file_descriptor_proto() @@ -440,7 +440,7 @@ impl ::protobuf::Message for Binding { |m: &Binding| { &m.members }, |m: &mut Binding| { &mut m.members }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Binding", fields, file_descriptor_proto() @@ -611,7 +611,7 @@ impl ::protobuf::Message for PolicyDelta { |m: &PolicyDelta| { &m.binding_deltas }, |m: &mut PolicyDelta| { &mut m.binding_deltas }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "PolicyDelta", fields, file_descriptor_proto() @@ -845,7 +845,7 @@ impl ::protobuf::Message for BindingDelta { |m: &BindingDelta| { &m.member }, |m: &mut BindingDelta| { &mut m.member }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "BindingDelta", fields, file_descriptor_proto() @@ -917,7 +917,7 @@ impl ::protobuf::ProtobufEnum for BindingDelta_Action { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("BindingDelta_Action", file_descriptor_proto()) + ::protobuf::reflect::EnumDescriptor::new_pb_name::("BindingDelta.Action", file_descriptor_proto()) }) } } diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/lib.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/lib.rs index b96a658d15..ff29cba26c 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/lib.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/lib.rs @@ -3,11 +3,11 @@ // This appears as a comment in each generated file. Add it once here // to save a bit of time and effort. -const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; pub mod empty; pub(crate) mod iam; pub mod longrunning; pub(crate) mod rpc; -pub mod spanner; \ No newline at end of file +pub mod spanner; diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations.rs index 1e5ffb7a3d..4a29ce767c 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/longrunning/operations.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct Operation { @@ -407,7 +407,7 @@ impl ::protobuf::Message for Operation { Operation::has_response, Operation::get_response, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Operation", fields, file_descriptor_proto() @@ -574,7 +574,7 @@ impl ::protobuf::Message for GetOperationRequest { |m: &GetOperationRequest| { &m.name }, |m: &mut GetOperationRequest| { &mut m.name }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "GetOperationRequest", fields, file_descriptor_proto() @@ -853,7 +853,7 @@ impl ::protobuf::Message for ListOperationsRequest { |m: &ListOperationsRequest| { &m.page_token }, |m: &mut ListOperationsRequest| { &mut m.page_token }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ListOperationsRequest", fields, file_descriptor_proto() @@ -1067,7 +1067,7 @@ impl ::protobuf::Message for ListOperationsResponse { |m: &ListOperationsResponse| { &m.next_page_token }, |m: &mut ListOperationsResponse| { &mut m.next_page_token }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ListOperationsResponse", fields, file_descriptor_proto() @@ -1231,7 +1231,7 @@ impl ::protobuf::Message for CancelOperationRequest { |m: &CancelOperationRequest| { &m.name }, |m: &mut CancelOperationRequest| { &mut m.name }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "CancelOperationRequest", fields, file_descriptor_proto() @@ -1394,7 +1394,7 @@ impl ::protobuf::Message for DeleteOperationRequest { |m: &DeleteOperationRequest| { &m.name }, |m: &mut DeleteOperationRequest| { &mut m.name }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "DeleteOperationRequest", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/code.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/code.rs index 662ec66950..4e197eea9b 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/code.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/code.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(Clone,PartialEq,Eq,Debug,Hash)] pub enum Code { @@ -102,7 +102,7 @@ impl ::protobuf::ProtobufEnum for Code { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Code", file_descriptor_proto()) + ::protobuf::reflect::EnumDescriptor::new_pb_name::("Code", file_descriptor_proto()) }) } } diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/error_details.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/error_details.rs index 3a1244a210..4f9aa83b1f 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/error_details.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/error_details.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct RetryInfo { @@ -168,7 +168,7 @@ impl ::protobuf::Message for RetryInfo { |m: &RetryInfo| { &m.retry_delay }, |m: &mut RetryInfo| { &mut m.retry_delay }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "RetryInfo", fields, file_descriptor_proto() @@ -371,7 +371,7 @@ impl ::protobuf::Message for DebugInfo { |m: &DebugInfo| { &m.detail }, |m: &mut DebugInfo| { &mut m.detail }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "DebugInfo", fields, file_descriptor_proto() @@ -542,7 +542,7 @@ impl ::protobuf::Message for QuotaFailure { |m: &QuotaFailure| { &m.violations }, |m: &mut QuotaFailure| { &mut m.violations }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "QuotaFailure", fields, file_descriptor_proto() @@ -746,8 +746,8 @@ impl ::protobuf::Message for QuotaFailure_Violation { |m: &QuotaFailure_Violation| { &m.description }, |m: &mut QuotaFailure_Violation| { &mut m.description }, )); - ::protobuf::reflect::MessageDescriptor::new::( - "QuotaFailure_Violation", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "QuotaFailure.Violation", fields, file_descriptor_proto() ) @@ -917,7 +917,7 @@ impl ::protobuf::Message for PreconditionFailure { |m: &PreconditionFailure| { &m.violations }, |m: &mut PreconditionFailure| { &mut m.violations }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "PreconditionFailure", fields, file_descriptor_proto() @@ -1162,8 +1162,8 @@ impl ::protobuf::Message for PreconditionFailure_Violation { |m: &PreconditionFailure_Violation| { &m.description }, |m: &mut PreconditionFailure_Violation| { &mut m.description }, )); - ::protobuf::reflect::MessageDescriptor::new::( - "PreconditionFailure_Violation", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "PreconditionFailure.Violation", fields, file_descriptor_proto() ) @@ -1334,7 +1334,7 @@ impl ::protobuf::Message for BadRequest { |m: &BadRequest| { &m.field_violations }, |m: &mut BadRequest| { &mut m.field_violations }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "BadRequest", fields, file_descriptor_proto() @@ -1538,8 +1538,8 @@ impl ::protobuf::Message for BadRequest_FieldViolation { |m: &BadRequest_FieldViolation| { &m.description }, |m: &mut BadRequest_FieldViolation| { &mut m.description }, )); - ::protobuf::reflect::MessageDescriptor::new::( - "BadRequest_FieldViolation", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "BadRequest.FieldViolation", fields, file_descriptor_proto() ) @@ -1743,7 +1743,7 @@ impl ::protobuf::Message for RequestInfo { |m: &RequestInfo| { &m.serving_data }, |m: &mut RequestInfo| { &mut m.serving_data }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "RequestInfo", fields, file_descriptor_proto() @@ -2030,7 +2030,7 @@ impl ::protobuf::Message for ResourceInfo { |m: &ResourceInfo| { &m.description }, |m: &mut ResourceInfo| { &mut m.description }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ResourceInfo", fields, file_descriptor_proto() @@ -2203,7 +2203,7 @@ impl ::protobuf::Message for Help { |m: &Help| { &m.links }, |m: &mut Help| { &mut m.links }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Help", fields, file_descriptor_proto() @@ -2407,8 +2407,8 @@ impl ::protobuf::Message for Help_Link { |m: &Help_Link| { &m.url }, |m: &mut Help_Link| { &mut m.url }, )); - ::protobuf::reflect::MessageDescriptor::new::( - "Help_Link", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "Help.Link", fields, file_descriptor_proto() ) @@ -2612,7 +2612,7 @@ impl ::protobuf::Message for LocalizedMessage { |m: &LocalizedMessage| { &m.message }, |m: &mut LocalizedMessage| { &mut m.message }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "LocalizedMessage", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/status.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/status.rs index f9a3d67151..351b65bb20 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/status.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/rpc/status.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct Status { @@ -235,7 +235,7 @@ impl ::protobuf::Message for Status { |m: &Status| { &m.details }, |m: &mut Status| { &mut m.details }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Status", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin.rs index a607a3bdc2..00956b9472 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/database/v1/spanner_database_admin.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct Database { @@ -183,7 +183,7 @@ impl ::protobuf::Message for Database { |m: &Database| { &m.state }, |m: &mut Database| { &mut m.state }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Database", fields, file_descriptor_proto() @@ -254,7 +254,7 @@ impl ::protobuf::ProtobufEnum for Database_State { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Database_State", file_descriptor_proto()) + ::protobuf::reflect::EnumDescriptor::new_pb_name::("Database.State", file_descriptor_proto()) }) } } @@ -477,7 +477,7 @@ impl ::protobuf::Message for ListDatabasesRequest { |m: &ListDatabasesRequest| { &m.page_token }, |m: &mut ListDatabasesRequest| { &mut m.page_token }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ListDatabasesRequest", fields, file_descriptor_proto() @@ -690,7 +690,7 @@ impl ::protobuf::Message for ListDatabasesResponse { |m: &ListDatabasesResponse| { &m.next_page_token }, |m: &mut ListDatabasesResponse| { &mut m.next_page_token }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ListDatabasesResponse", fields, file_descriptor_proto() @@ -935,7 +935,7 @@ impl ::protobuf::Message for CreateDatabaseRequest { |m: &CreateDatabaseRequest| { &m.extra_statements }, |m: &mut CreateDatabaseRequest| { &mut m.extra_statements }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "CreateDatabaseRequest", fields, file_descriptor_proto() @@ -1100,7 +1100,7 @@ impl ::protobuf::Message for CreateDatabaseMetadata { |m: &CreateDatabaseMetadata| { &m.database }, |m: &mut CreateDatabaseMetadata| { &mut m.database }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "CreateDatabaseMetadata", fields, file_descriptor_proto() @@ -1263,7 +1263,7 @@ impl ::protobuf::Message for GetDatabaseRequest { |m: &GetDatabaseRequest| { &m.name }, |m: &mut GetDatabaseRequest| { &mut m.name }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "GetDatabaseRequest", fields, file_descriptor_proto() @@ -1507,7 +1507,7 @@ impl ::protobuf::Message for UpdateDatabaseDdlRequest { |m: &UpdateDatabaseDdlRequest| { &m.operation_id }, |m: &mut UpdateDatabaseDdlRequest| { &mut m.operation_id }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "UpdateDatabaseDdlRequest", fields, file_descriptor_proto() @@ -1760,7 +1760,7 @@ impl ::protobuf::Message for UpdateDatabaseDdlMetadata { |m: &UpdateDatabaseDdlMetadata| { &m.commit_timestamps }, |m: &mut UpdateDatabaseDdlMetadata| { &mut m.commit_timestamps }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "UpdateDatabaseDdlMetadata", fields, file_descriptor_proto() @@ -1925,7 +1925,7 @@ impl ::protobuf::Message for DropDatabaseRequest { |m: &DropDatabaseRequest| { &m.database }, |m: &mut DropDatabaseRequest| { &mut m.database }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "DropDatabaseRequest", fields, file_descriptor_proto() @@ -2088,7 +2088,7 @@ impl ::protobuf::Message for GetDatabaseDdlRequest { |m: &GetDatabaseDdlRequest| { &m.database }, |m: &mut GetDatabaseDdlRequest| { &mut m.database }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "GetDatabaseDdlRequest", fields, file_descriptor_proto() @@ -2250,7 +2250,7 @@ impl ::protobuf::Message for GetDatabaseDdlResponse { |m: &GetDatabaseDdlResponse| { &m.statements }, |m: &mut GetDatabaseDdlResponse| { &mut m.statements }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "GetDatabaseDdlResponse", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin.rs index b50c528f8e..fa9c67452d 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/admin/instance/v1/spanner_instance_admin.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct InstanceConfig { @@ -194,7 +194,7 @@ impl ::protobuf::Message for InstanceConfig { |m: &InstanceConfig| { &m.display_name }, |m: &mut InstanceConfig| { &mut m.display_name }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "InstanceConfig", fields, file_descriptor_proto() @@ -540,7 +540,7 @@ impl ::protobuf::Message for Instance { |m: &Instance| { &m.labels }, |m: &mut Instance| { &mut m.labels }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Instance", fields, file_descriptor_proto() @@ -615,7 +615,7 @@ impl ::protobuf::ProtobufEnum for Instance_State { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("Instance_State", file_descriptor_proto()) + ::protobuf::reflect::EnumDescriptor::new_pb_name::("Instance.State", file_descriptor_proto()) }) } } @@ -838,7 +838,7 @@ impl ::protobuf::Message for ListInstanceConfigsRequest { |m: &ListInstanceConfigsRequest| { &m.page_token }, |m: &mut ListInstanceConfigsRequest| { &mut m.page_token }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ListInstanceConfigsRequest", fields, file_descriptor_proto() @@ -1051,7 +1051,7 @@ impl ::protobuf::Message for ListInstanceConfigsResponse { |m: &ListInstanceConfigsResponse| { &m.next_page_token }, |m: &mut ListInstanceConfigsResponse| { &mut m.next_page_token }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ListInstanceConfigsResponse", fields, file_descriptor_proto() @@ -1215,7 +1215,7 @@ impl ::protobuf::Message for GetInstanceConfigRequest { |m: &GetInstanceConfigRequest| { &m.name }, |m: &mut GetInstanceConfigRequest| { &mut m.name }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "GetInstanceConfigRequest", fields, file_descriptor_proto() @@ -1378,7 +1378,7 @@ impl ::protobuf::Message for GetInstanceRequest { |m: &GetInstanceRequest| { &m.name }, |m: &mut GetInstanceRequest| { &mut m.name }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "GetInstanceRequest", fields, file_descriptor_proto() @@ -1638,7 +1638,7 @@ impl ::protobuf::Message for CreateInstanceRequest { |m: &CreateInstanceRequest| { &m.instance }, |m: &mut CreateInstanceRequest| { &mut m.instance }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "CreateInstanceRequest", fields, file_descriptor_proto() @@ -1919,7 +1919,7 @@ impl ::protobuf::Message for ListInstancesRequest { |m: &ListInstancesRequest| { &m.filter }, |m: &mut ListInstancesRequest| { &mut m.filter }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ListInstancesRequest", fields, file_descriptor_proto() @@ -2133,7 +2133,7 @@ impl ::protobuf::Message for ListInstancesResponse { |m: &ListInstancesResponse| { &m.next_page_token }, |m: &mut ListInstancesResponse| { &mut m.next_page_token }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ListInstancesResponse", fields, file_descriptor_proto() @@ -2368,7 +2368,7 @@ impl ::protobuf::Message for UpdateInstanceRequest { |m: &UpdateInstanceRequest| { &m.field_mask }, |m: &mut UpdateInstanceRequest| { &mut m.field_mask }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "UpdateInstanceRequest", fields, file_descriptor_proto() @@ -2532,7 +2532,7 @@ impl ::protobuf::Message for DeleteInstanceRequest { |m: &DeleteInstanceRequest| { &m.name }, |m: &mut DeleteInstanceRequest| { &mut m.name }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "DeleteInstanceRequest", fields, file_descriptor_proto() @@ -2878,7 +2878,7 @@ impl ::protobuf::Message for CreateInstanceMetadata { |m: &CreateInstanceMetadata| { &m.end_time }, |m: &mut CreateInstanceMetadata| { &mut m.end_time }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "CreateInstanceMetadata", fields, file_descriptor_proto() @@ -3227,7 +3227,7 @@ impl ::protobuf::Message for UpdateInstanceMetadata { |m: &UpdateInstanceMetadata| { &m.end_time }, |m: &mut UpdateInstanceMetadata| { &mut m.end_time }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "UpdateInstanceMetadata", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/keys.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/keys.rs index 5d76c7586a..7d25aec686 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/keys.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/keys.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -22,9 +22,9 @@ use protobuf::Message as Message_imported_for_functions; use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; -// Generated files are compatible only with the same version -// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +/// Generated files are compatible only with the same version +/// of protobuf runtime. +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct KeyRange { @@ -438,7 +438,7 @@ impl ::protobuf::Message for KeyRange { KeyRange::has_end_open, KeyRange::get_end_open, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "KeyRange", fields, file_descriptor_proto() @@ -693,7 +693,7 @@ impl ::protobuf::Message for KeySet { |m: &KeySet| { &m.all }, |m: &mut KeySet| { &mut m.all }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "KeySet", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mutation.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mutation.rs index 8054b304eb..46f952e021 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mutation.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/mutation.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct Mutation { @@ -500,7 +500,7 @@ impl ::protobuf::Message for Mutation { Mutation::has_delete, Mutation::get_delete, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Mutation", fields, file_descriptor_proto() @@ -755,8 +755,8 @@ impl ::protobuf::Message for Mutation_Write { |m: &Mutation_Write| { &m.values }, |m: &mut Mutation_Write| { &mut m.values }, )); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation_Write", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "Mutation.Write", fields, file_descriptor_proto() ) @@ -976,8 +976,8 @@ impl ::protobuf::Message for Mutation_Delete { |m: &Mutation_Delete| { &m.key_set }, |m: &mut Mutation_Delete| { &mut m.key_set }, )); - ::protobuf::reflect::MessageDescriptor::new::( - "Mutation_Delete", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "Mutation.Delete", fields, file_descriptor_proto() ) diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/query_plan.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/query_plan.rs index 4e556c2dfa..176014b9dd 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/query_plan.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/query_plan.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct PlanNode { @@ -433,7 +433,7 @@ impl ::protobuf::Message for PlanNode { |m: &PlanNode| { &m.execution_stats }, |m: &mut PlanNode| { &mut m.execution_stats }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "PlanNode", fields, file_descriptor_proto() @@ -677,8 +677,8 @@ impl ::protobuf::Message for PlanNode_ChildLink { |m: &PlanNode_ChildLink| { &m.variable }, |m: &mut PlanNode_ChildLink| { &mut m.variable }, )); - ::protobuf::reflect::MessageDescriptor::new::( - "PlanNode_ChildLink", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "PlanNode.ChildLink", fields, file_descriptor_proto() ) @@ -878,8 +878,8 @@ impl ::protobuf::Message for PlanNode_ShortRepresentation { |m: &PlanNode_ShortRepresentation| { &m.subqueries }, |m: &mut PlanNode_ShortRepresentation| { &mut m.subqueries }, )); - ::protobuf::reflect::MessageDescriptor::new::( - "PlanNode_ShortRepresentation", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "PlanNode.ShortRepresentation", fields, file_descriptor_proto() ) @@ -949,7 +949,7 @@ impl ::protobuf::ProtobufEnum for PlanNode_Kind { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("PlanNode_Kind", file_descriptor_proto()) + ::protobuf::reflect::EnumDescriptor::new_pb_name::("PlanNode.Kind", file_descriptor_proto()) }) } } @@ -1104,7 +1104,7 @@ impl ::protobuf::Message for QueryPlan { |m: &QueryPlan| { &m.plan_nodes }, |m: &mut QueryPlan| { &mut m.plan_nodes }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "QueryPlan", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/result_set.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/result_set.rs index ac6ef7e6ed..5bee512c9a 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/result_set.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/result_set.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct ResultSet { @@ -272,7 +272,7 @@ impl ::protobuf::Message for ResultSet { |m: &ResultSet| { &m.stats }, |m: &mut ResultSet| { &mut m.stats }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ResultSet", fields, file_descriptor_proto() @@ -631,7 +631,7 @@ impl ::protobuf::Message for PartialResultSet { |m: &PartialResultSet| { &m.stats }, |m: &mut PartialResultSet| { &mut m.stats }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "PartialResultSet", fields, file_descriptor_proto() @@ -869,7 +869,7 @@ impl ::protobuf::Message for ResultSetMetadata { |m: &ResultSetMetadata| { &m.transaction }, |m: &mut ResultSetMetadata| { &mut m.transaction }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ResultSetMetadata", fields, file_descriptor_proto() @@ -1204,7 +1204,7 @@ impl ::protobuf::Message for ResultSetStats { ResultSetStats::has_row_count_lower_bound, ResultSetStats::get_row_count_lower_bound, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ResultSetStats", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner.rs index da5927a7a2..640b5b5cf6 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/spanner.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct CreateSessionRequest { @@ -209,7 +209,7 @@ impl ::protobuf::Message for CreateSessionRequest { |m: &CreateSessionRequest| { &m.session }, |m: &mut CreateSessionRequest| { &mut m.session }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "CreateSessionRequest", fields, file_descriptor_proto() @@ -521,7 +521,7 @@ impl ::protobuf::Message for Session { |m: &Session| { &m.approximate_last_use_time }, |m: &mut Session| { &mut m.approximate_last_use_time }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Session", fields, file_descriptor_proto() @@ -687,7 +687,7 @@ impl ::protobuf::Message for GetSessionRequest { |m: &GetSessionRequest| { &m.name }, |m: &mut GetSessionRequest| { &mut m.name }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "GetSessionRequest", fields, file_descriptor_proto() @@ -966,7 +966,7 @@ impl ::protobuf::Message for ListSessionsRequest { |m: &ListSessionsRequest| { &m.filter }, |m: &mut ListSessionsRequest| { &mut m.filter }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ListSessionsRequest", fields, file_descriptor_proto() @@ -1180,7 +1180,7 @@ impl ::protobuf::Message for ListSessionsResponse { |m: &ListSessionsResponse| { &m.next_page_token }, |m: &mut ListSessionsResponse| { &mut m.next_page_token }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ListSessionsResponse", fields, file_descriptor_proto() @@ -1344,7 +1344,7 @@ impl ::protobuf::Message for DeleteSessionRequest { |m: &DeleteSessionRequest| { &m.name }, |m: &mut DeleteSessionRequest| { &mut m.name }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "DeleteSessionRequest", fields, file_descriptor_proto() @@ -1842,7 +1842,7 @@ impl ::protobuf::Message for ExecuteSqlRequest { |m: &ExecuteSqlRequest| { &m.seqno }, |m: &mut ExecuteSqlRequest| { &mut m.seqno }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ExecuteSqlRequest", fields, file_descriptor_proto() @@ -1920,7 +1920,7 @@ impl ::protobuf::ProtobufEnum for ExecuteSqlRequest_QueryMode { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("ExecuteSqlRequest_QueryMode", file_descriptor_proto()) + ::protobuf::reflect::EnumDescriptor::new_pb_name::("ExecuteSqlRequest.QueryMode", file_descriptor_proto()) }) } } @@ -2095,7 +2095,7 @@ impl ::protobuf::Message for PartitionOptions { |m: &PartitionOptions| { &m.max_partitions }, |m: &mut PartitionOptions| { &mut m.max_partitions }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "PartitionOptions", fields, file_descriptor_proto() @@ -2504,7 +2504,7 @@ impl ::protobuf::Message for PartitionQueryRequest { |m: &PartitionQueryRequest| { &m.partition_options }, |m: &mut PartitionQueryRequest| { &mut m.partition_options }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "PartitionQueryRequest", fields, file_descriptor_proto() @@ -2962,7 +2962,7 @@ impl ::protobuf::Message for PartitionReadRequest { |m: &PartitionReadRequest| { &m.partition_options }, |m: &mut PartitionReadRequest| { &mut m.partition_options }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "PartitionReadRequest", fields, file_descriptor_proto() @@ -3131,7 +3131,7 @@ impl ::protobuf::Message for Partition { |m: &Partition| { &m.partition_token }, |m: &mut Partition| { &mut m.partition_token }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Partition", fields, file_descriptor_proto() @@ -3357,7 +3357,7 @@ impl ::protobuf::Message for PartitionResponse { |m: &PartitionResponse| { &m.transaction }, |m: &mut PartitionResponse| { &mut m.transaction }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "PartitionResponse", fields, file_descriptor_proto() @@ -3871,7 +3871,7 @@ impl ::protobuf::Message for ReadRequest { |m: &ReadRequest| { &m.partition_token }, |m: &mut ReadRequest| { &mut m.partition_token }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "ReadRequest", fields, file_descriptor_proto() @@ -4098,7 +4098,7 @@ impl ::protobuf::Message for BeginTransactionRequest { |m: &BeginTransactionRequest| { &m.options }, |m: &mut BeginTransactionRequest| { &mut m.options }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "BeginTransactionRequest", fields, file_descriptor_proto() @@ -4466,7 +4466,7 @@ impl ::protobuf::Message for CommitRequest { |m: &CommitRequest| { &m.mutations }, |m: &mut CommitRequest| { &mut m.mutations }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "CommitRequest", fields, file_descriptor_proto() @@ -4647,7 +4647,7 @@ impl ::protobuf::Message for CommitResponse { |m: &CommitResponse| { &m.commit_timestamp }, |m: &mut CommitResponse| { &mut m.commit_timestamp }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "CommitResponse", fields, file_descriptor_proto() @@ -4851,7 +4851,7 @@ impl ::protobuf::Message for RollbackRequest { |m: &RollbackRequest| { &m.transaction_id }, |m: &mut RollbackRequest| { &mut m.transaction_id }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "RollbackRequest", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/transaction.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/transaction.rs index b56447554b..8ff2d254af 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/transaction.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/transaction.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct TransactionOptions { @@ -350,7 +350,7 @@ impl ::protobuf::Message for TransactionOptions { TransactionOptions::has_read_only, TransactionOptions::get_read_only, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "TransactionOptions", fields, file_descriptor_proto() @@ -473,8 +473,8 @@ impl ::protobuf::Message for TransactionOptions_ReadWrite { unsafe { descriptor.get(|| { let fields = ::std::vec::Vec::new(); - ::protobuf::reflect::MessageDescriptor::new::( - "TransactionOptions_ReadWrite", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "TransactionOptions.ReadWrite", fields, file_descriptor_proto() ) @@ -593,8 +593,8 @@ impl ::protobuf::Message for TransactionOptions_PartitionedDml { unsafe { descriptor.get(|| { let fields = ::std::vec::Vec::new(); - ::protobuf::reflect::MessageDescriptor::new::( - "TransactionOptions_PartitionedDml", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "TransactionOptions.PartitionedDml", fields, file_descriptor_proto() ) @@ -1105,8 +1105,8 @@ impl ::protobuf::Message for TransactionOptions_ReadOnly { |m: &TransactionOptions_ReadOnly| { &m.return_read_timestamp }, |m: &mut TransactionOptions_ReadOnly| { &mut m.return_read_timestamp }, )); - ::protobuf::reflect::MessageDescriptor::new::( - "TransactionOptions_ReadOnly", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "TransactionOptions.ReadOnly", fields, file_descriptor_proto() ) @@ -1329,7 +1329,7 @@ impl ::protobuf::Message for Transaction { |m: &Transaction| { &m.read_timestamp }, |m: &mut Transaction| { &mut m.read_timestamp }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Transaction", fields, file_descriptor_proto() @@ -1682,7 +1682,7 @@ impl ::protobuf::Message for TransactionSelector { TransactionSelector::has_begin, TransactionSelector::get_begin, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "TransactionSelector", fields, file_descriptor_proto() diff --git a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/type_pb.rs b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/type_pb.rs index f3f73db859..ca118bfad3 100644 --- a/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/type_pb.rs +++ b/vendor/mozilla-rust-sdk/googleapis-raw/src/spanner/v1/type_pb.rs @@ -1,4 +1,4 @@ -// This file is generated by rust-protobuf 2.11.0. Do not edit +// This file is generated by rust-protobuf 2.12.0. Do not edit // @generated // https://github.com/rust-lang/rust-clippy/issues/702 @@ -24,7 +24,7 @@ use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions; /// Generated files are compatible only with the same version /// of protobuf runtime. -// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_11_0; +// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_12_0; #[derive(PartialEq,Clone,Default)] pub struct Type { @@ -254,7 +254,7 @@ impl ::protobuf::Message for Type { |m: &Type| { &m.struct_type }, |m: &mut Type| { &mut m.struct_type }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "Type", fields, file_descriptor_proto() @@ -426,7 +426,7 @@ impl ::protobuf::Message for StructType { |m: &StructType| { &m.fields }, |m: &mut StructType| { &mut m.fields }, )); - ::protobuf::reflect::MessageDescriptor::new::( + ::protobuf::reflect::MessageDescriptor::new_pb_name::( "StructType", fields, file_descriptor_proto() @@ -645,8 +645,8 @@ impl ::protobuf::Message for StructType_Field { |m: &StructType_Field| { &m.field_type }, |m: &mut StructType_Field| { &mut m.field_type }, )); - ::protobuf::reflect::MessageDescriptor::new::( - "StructType_Field", + ::protobuf::reflect::MessageDescriptor::new_pb_name::( + "StructType.Field", fields, file_descriptor_proto() ) @@ -737,7 +737,7 @@ impl ::protobuf::ProtobufEnum for TypeCode { static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy::INIT; unsafe { descriptor.get(|| { - ::protobuf::reflect::EnumDescriptor::new("TypeCode", file_descriptor_proto()) + ::protobuf::reflect::EnumDescriptor::new_pb_name::("TypeCode", file_descriptor_proto()) }) } } From bc53a64c73d03ce517a05c9a921ca9d3c4df37d1 Mon Sep 17 00:00:00 2001 From: jrconlin Date: Thu, 26 Mar 2020 10:33:49 -0700 Subject: [PATCH 15/21] f and update the master lock --- Cargo.lock | 517 +++++++++++++++++++++++++---------------------------- 1 file changed, 243 insertions(+), 274 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6337c2c2ae..d3f655a6e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,9 +17,9 @@ dependencies = [ [[package]] name = "actix-connect" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f2b61480a8d30c94d5c883d79ef026b02ad6809931b0a4bb703f9545cd8c986" +checksum = "c95cc9569221e9802bf4c377f6c18b90ef10227d787611decf79fd47d2a8e76c" dependencies = [ "actix-codec", "actix-rt", @@ -28,7 +28,7 @@ dependencies = [ "derive_more", "either", "futures 0.3.4", - "http 0.2.0", + "http 0.2.1", "log", "trust-dns-proto", "trust-dns-resolver", @@ -73,8 +73,8 @@ dependencies = [ "futures-core", "futures-util", "fxhash", - "h2 0.2.1", - "http 0.2.0", + "h2 0.2.3", + "http 0.2.1", "httparse", "indexmap", "language-tags", @@ -110,7 +110,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d7a10ca4d94e8c8e7a87c5173aba1b97ba9a6563ca02b0e1cd23531093d3ec8" dependencies = [ "bytestring", - "http 0.2.0", + "http 0.2.1", "log", "regex", "serde 1.0.105", @@ -131,9 +131,9 @@ dependencies = [ [[package]] name = "actix-server" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d3455eaac03ca3e49d7b822eb35c884b861f715627254ccbe4309d08f1841a" +checksum = "582a7173c281a4f46b5aa168a11e7f37183dcb71177a39312cc2264da7a632c9" dependencies = [ "actix-codec", "actix-rt", @@ -150,9 +150,9 @@ dependencies = [ [[package]] name = "actix-service" -version = "1.0.2" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fba4171f1952aa15f3cf410facac388d18110b1e8754f84a407ab7f9d5ac7ee" +checksum = "d3e4fc95dfa7e24171b2d0bb46b85f8ab0e8499e4e3caec691fc4ea65c287564" dependencies = [ "futures-util", "pin-project", @@ -260,9 +260,9 @@ dependencies = [ [[package]] name = "actix-web-codegen" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de0878b30e62623770a4713a6338329fd0119703bafc211d3e4144f4d4a7bdd5" +checksum = "4f00371942083469785f7e28c540164af1913ee7c96a4534acb9cea92c39f057" dependencies = [ "proc-macro2", "quote", @@ -277,24 +277,24 @@ checksum = "5d2e7343e7fc9de883d1b0341e0b13970f764c14101234857d2ddafa1cb1cac2" [[package]] name = "aho-corasick" -version = "0.7.6" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d" +checksum = "8716408b8bc624ed7f65d223ddb9ac2d044c0547b6fa4b0d554f3a9540496ada" dependencies = [ "memchr", ] [[package]] name = "arc-swap" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7b8a9123b8027467bce0099fe556c628a53c8d83df0507084c31e9ba2e39aff" +checksum = "d663a8e9a99154b5fb793032533f6328da35e23aac63d5c152279aa8ba356825" [[package]] name = "arrayref" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d382e583f07208808f6b1249e60848879ba3543f57c32277bf52d69c2f0f0ee" +checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" [[package]] name = "arrayvec" @@ -313,9 +313,9 @@ checksum = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8" [[package]] name = "async-trait" -version = "0.1.22" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8df72488e87761e772f14ae0c2480396810e51b2c2ade912f97f0f7e5b95e3c" +checksum = "21a03abb7c9b93ae229356151a083d26218c0358866a2a59d4280c856e9482e6" dependencies = [ "proc-macro2", "quote", @@ -324,10 +324,11 @@ dependencies = [ [[package]] name = "atty" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ + "hermit-abi", "libc", "winapi 0.3.8", ] @@ -369,9 +370,9 @@ dependencies = [ [[package]] name = "backtrace" -version = "0.3.45" +version = "0.3.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad235dabf00f36301792cfe82499880ba54c6486be094d1047b02bacb67c14e8" +checksum = "b1e692897359247cc6bb902933361652380af0f1b7651ae5c5013407f30e109e" dependencies = [ "backtrace-sys", "cfg-if", @@ -381,9 +382,9 @@ dependencies = [ [[package]] name = "backtrace-sys" -version = "0.1.34" +version = "0.1.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca797db0057bae1a7aa2eef3283a874695455cecf08a43bfb8507ee0ebc1ed69" +checksum = "7de8aba10a69c8e8d7622c5710229485ec32e9d55fdad160ea559c086fdcd118" dependencies = [ "cc", "libc", @@ -443,18 +444,18 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" [[package]] name = "bitmaps" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81e039a80914325b37fde728ef7693c212f0ac913d5599607d7b95a9484aae0b" +checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2" dependencies = [ "typenum", ] [[package]] name = "blake2b_simd" -version = "0.5.9" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b83b7baab1e671718d78204225800d6b170e648188ac7dc992e9d6bddf87d0c0" +checksum = "d8fb2d74254a3a0b5cac33ac9f8ed0e44aa50378d9dbb2e5d83bd21ed1dc2c8a" dependencies = [ "arrayref", "arrayvec 0.5.1", @@ -516,9 +517,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "byteorder" -version = "1.3.2" +version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5" +checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" [[package]] name = "bytes" @@ -539,22 +540,13 @@ checksum = "130aac562c0dd69c56b3b1cc8ffd2e17be31d0b6c25b61c96b76231aa23e39e1" [[package]] name = "bytestring" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b24c107a4432e408d2caa58d3f5e763b219236221406ea58a4076b62343a039d" +checksum = "fc267467f58ef6cc8874064c62a0423eb0d099362c8a23edd1c6d044f46eead4" dependencies = [ "bytes 0.5.4", ] -[[package]] -name = "c2-chacha" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "214238caa1bf3a496ec3392968969cab8549f96ff30652c9e56885329315f6bb" -dependencies = [ - "ppv-lite86", -] - [[package]] name = "cadence" version = "0.19.1" @@ -566,9 +558,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.48" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52a465a666ca3d838ebbf08b241383421412fe7ebb463527bba275526d89f76" +checksum = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd" [[package]] name = "cexpr" @@ -592,7 +584,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "80094f509cf8b5ae86a4966a39b3ff66cd7e2a3e594accec3743ff3fabeab5b2" dependencies = [ "num-integer", - "num-traits 0.2.10", + "num-traits 0.2.11", "serde 1.0.105", "time 0.1.42", ] @@ -644,9 +636,9 @@ dependencies = [ [[package]] name = "constant_time_eq" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "995a44c877f9212528ccc74b21a232f66ad69001e40ede5bcee2ac9ef2657120" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "cookie" @@ -684,9 +676,9 @@ checksum = "6ff9c56c9fb2a49c05ef0e431485a22400af20d33226dc0764d891d09e724127" [[package]] name = "core-foundation" -version = "0.6.4" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25b9e03f145fd4f2bf705e07b900cd41fc636598fe5dc452fd0db1441c3f496d" +checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171" dependencies = [ "core-foundation-sys", "libc", @@ -694,9 +686,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.6.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ca8a5221364ef15ce201e8ed2f609fc312682a8f4e0e3d4aa5879764e0fa3b" +checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac" [[package]] name = "crc32fast" @@ -714,11 +706,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e" dependencies = [ "cfg-if", - "crossbeam-channel 0.4.0", + "crossbeam-channel 0.4.2", "crossbeam-deque", "crossbeam-epoch", - "crossbeam-queue 0.2.1", - "crossbeam-utils 0.7.0", + "crossbeam-queue", + "crossbeam-utils 0.7.2", ] [[package]] @@ -732,46 +724,40 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.4.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acec9a3b0b3559f15aee4f90746c4e5e293b701c0f7d3925d24e01645267b68c" +checksum = "cced8691919c02aac3cb0a1bc2e9b73d89e832bf9a06fc579d4e71b68a2da061" dependencies = [ - "crossbeam-utils 0.7.0", + "crossbeam-utils 0.7.2", + "maybe-uninit", ] [[package]] name = "crossbeam-deque" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3aa945d63861bfe624b55d153a39684da1e8c0bc8fba932f7ee3a3c16cea3ca" +checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285" dependencies = [ "crossbeam-epoch", - "crossbeam-utils 0.7.0", + "crossbeam-utils 0.7.2", + "maybe-uninit", ] [[package]] name = "crossbeam-epoch" -version = "0.8.0" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5064ebdbf05ce3cb95e45c8b086f72263f4166b29b97f6baff7ef7fe047b55ac" +checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" dependencies = [ - "autocfg 0.1.7", + "autocfg 1.0.0", "cfg-if", - "crossbeam-utils 0.7.0", + "crossbeam-utils 0.7.2", "lazy_static", + "maybe-uninit", "memoffset", "scopeguard", ] -[[package]] -name = "crossbeam-queue" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b" -dependencies = [ - "crossbeam-utils 0.6.6", -] - [[package]] name = "crossbeam-queue" version = "0.2.1" @@ -779,7 +765,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db" dependencies = [ "cfg-if", - "crossbeam-utils 0.7.0", + "crossbeam-utils 0.7.2", ] [[package]] @@ -794,11 +780,11 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.7.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce446db02cdc3165b94ae73111e570793400d0794e46125cc4056c81cbb039f4" +checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" dependencies = [ - "autocfg 0.1.7", + "autocfg 1.0.0", "cfg-if", "lazy_static", ] @@ -815,9 +801,9 @@ dependencies = [ [[package]] name = "curl" -version = "0.4.25" +version = "0.4.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06aa71e9208a54def20792d877bc663d6aae0732b9852e612c4a933177c31283" +checksum = "eda1c0c03cacf3365d84818a40293f0e3f3953db8759c9c565a3b434edf0b52e" dependencies = [ "curl-sys", "libc", @@ -830,9 +816,9 @@ dependencies = [ [[package]] name = "curl-sys" -version = "0.4.24" +version = "0.4.30+curl-7.69.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f659f3ffac9582d6177bb86d1d2aa649f4eb9d0d4de9d03ccc08b402832ea340" +checksum = "923b38e423a8f47a4058e96f2a1fa2865a6231097ee860debd678d244277d50c" dependencies = [ "cc", "libc", @@ -845,9 +831,9 @@ dependencies = [ [[package]] name = "debugid" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c49e2ce8d9607581c6b246ccd1e3ca2185991952e3ac9985291ed61ae668ea4b" +checksum = "36294832663d7747e17832f32492daedb65ae665d5ae1b369edabf52a2a92afc" dependencies = [ "lazy_static", "regex", @@ -857,9 +843,9 @@ dependencies = [ [[package]] name = "derive_more" -version = "0.99.2" +version = "0.99.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2159be042979966de68315bce7034bb000c775f22e3e834e1c52ff78f041cae8" +checksum = "a806e96c59a76a5ba6e18735b6cf833344671e61e7863f2edb5c518ea2cac95c" dependencies = [ "proc-macro2", "quote", @@ -962,9 +948,9 @@ dependencies = [ [[package]] name = "dtoa" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea57b42383d091c85abcc2706240b94ab2a8fa1fc81c10ff23c4de06e2a90b5e" +checksum = "4358a9e11b9a09cf52383b451b49a169e8d797b68aa02301ff586d70d9661ea3" [[package]] name = "either" @@ -983,9 +969,9 @@ dependencies = [ [[package]] name = "enum-as-inner" -version = "0.3.0" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900a6c7fbe523f4c2884eaf26b57b81bb69b6810a01a236390a7ac021d09492e" +checksum = "bc4bfcfacb61d231109d1d55202c1f33263319668b168843e02ad4652725ec9c" dependencies = [ "heck", "proc-macro2", @@ -1008,20 +994,20 @@ dependencies = [ [[package]] name = "erased-serde" -version = "0.3.9" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3beee4bc16478a1b26f2e80ad819a52d24745e292f521a63c16eea5f74b7eb60" +checksum = "cd7d80305c9bd8cd78e3c753eb9fb110f83621e5211f1a3afffcc812b104daf9" dependencies = [ "serde 1.0.105", ] [[package]] name = "error-chain" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab49e9dcb602294bc42f9a7dfc9bc6e936fca4418ea300dbfb84fe16de0b7d9" +checksum = "d371106cc88ffdfb1eabd7111e432da544f16f3e2d7bf1dfe8bf575f1df045cd" dependencies = [ - "version_check 0.1.5", + "version_check 0.9.1", ] [[package]] @@ -1054,9 +1040,9 @@ checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" [[package]] name = "flate2" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bd6d6f4752952feb71363cffc9ebac9411b75b87c6ab6058c40c8900cf43c0f" +checksum = "2cfff41391129e0a856d6d822600b8d71179d46879e310417eb9c762eb178b42" dependencies = [ "cfg-if", "crc32fast", @@ -1256,9 +1242,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.1.13" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7db7ca94ed4cd01190ceee0d8a8052f08a247aa1b469a7f68c6a3b71afcf407" +checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb" dependencies = [ "cfg-if", "libc", @@ -1328,16 +1314,16 @@ dependencies = [ [[package]] name = "h2" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9433d71e471c1736fd5a61b671fc0b148d7a2992f666c958d03cd8feb3b88d1" +checksum = "7938e6aa2a31df4e21f224dc84704bd31c089a6d1355c535b03667371cccc843" dependencies = [ "bytes 0.5.4", "fnv", "futures-core", "futures-sink", "futures-util", - "http 0.2.0", + "http 0.2.1", "indexmap", "log", "slab", @@ -1371,9 +1357,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.1.5" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f629dc602392d3ec14bfc8a09b5e644d7ffd725102b48b81e59f90f2633621d7" +checksum = "1010591b26bbfe835e9faeabeb11866061cc7dcebffd56ad7d0942d0e61aefd8" dependencies = [ "libc", ] @@ -1432,9 +1418,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b708cc7f06493459026f53b9a61a7a121a5d1ec6238dee58ea4941132b30156b" +checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9" dependencies = [ "bytes 0.5.4", "fnv", @@ -1460,7 +1446,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" dependencies = [ "bytes 0.5.4", - "http 0.2.0", + "http 0.2.1", ] [[package]] @@ -1516,16 +1502,16 @@ dependencies = [ [[package]] name = "hyper" -version = "0.13.2" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa1c527bbc634be72aa7ba31e4e4def9bbb020f5416916279b7c705cd838893e" +checksum = "ed6081100e960d9d74734659ffc9cc91daf1c0fc7aceb8eaa94ee1a3f5046f2e" dependencies = [ "bytes 0.5.4", "futures-channel", "futures-core", "futures-util", - "h2 0.2.1", - "http 0.2.0", + "h2 0.2.3", + "http 0.2.1", "http-body 0.3.1", "httparse", "itoa", @@ -1558,7 +1544,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3adcd308402b9553630734e9c36b77a7e48b3821251ca2493e8cd596763aafaa" dependencies = [ "bytes 0.5.4", - "hyper 0.13.2", + "hyper 0.13.4", "native-tls", "tokio 0.2.13", "tokio-tls", @@ -1608,11 +1594,11 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.3.0" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712d7b3ea5827fcb9d4fda14bf4da5f136f0db2ae9c8f4bd4e2d1c6fde4e6db2" +checksum = "076f042c5b7b98f31d205f1249267e12a6518c1481e9dae9764af19b707d2292" dependencies = [ - "autocfg 0.1.7", + "autocfg 1.0.0", ] [[package]] @@ -1647,15 +1633,15 @@ dependencies = [ [[package]] name = "itoa" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f" +checksum = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e" [[package]] name = "js-sys" -version = "0.3.36" +version = "0.3.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cb931d43e71f560c81badb0191596562bafad2be06a3f9025b845c847c60df5" +checksum = "6a27d435371a2fa5b6d2b028a74bbdb1234f308da363226a2854ca3ff8ba7055" dependencies = [ "wasm-bindgen", ] @@ -1697,9 +1683,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.66" +version = "0.2.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558" +checksum = "dea0c0405123bba743ee3f91f49b1c7cfb684eef0da0a50110f758ccf24cdff0" [[package]] name = "libloading" @@ -1741,9 +1727,9 @@ checksum = "ae91b68aebc4ddb91978b11a1b02ddd8602a05ec19002801c5666000e05e0f83" [[package]] name = "lock_api" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e57b3997725d2b60dbec1297f6c2e2957cc383db1cebd6be812163f969c7d586" +checksum = "79b2de95ecb4691949fea4716ca53cdbcfccb2c612e19644a8bad05edcf9f47b" dependencies = [ "scopeguard", ] @@ -1786,33 +1772,33 @@ checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" [[package]] name = "memchr" -version = "2.2.1" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e" +checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" [[package]] name = "memoffset" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9" +checksum = "b4fc2c02a7e374099d4ee95a193111f72d2110197fe200272371758f6c3643d8" dependencies = [ - "rustc_version", + "autocfg 1.0.0", ] [[package]] name = "migrations_internals" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8089920229070f914b9ce9b07ef60e175b2b9bc2d35c3edd8bf4433604e863b9" +checksum = "2b4fc84e4af020b837029e017966f86a1c2d5e83e64b589963d5047525995860" dependencies = [ "diesel", ] [[package]] name = "migrations_macros" -version = "1.4.1" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719ef0bc7f531428764c9b70661c14abd50a7f3d21f355752d9985aa21251c9e" +checksum = "9753f12909fd8d923f75ae5c3258cae1ed3c8ec052e1b38c93c21a6d157f789c" dependencies = [ "migrations_internals", "proc-macro2", @@ -1828,9 +1814,9 @@ checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" [[package]] name = "mime_guess" -version = "2.0.1" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a0ed03949aef72dbdf3116a383d7b38b4768e6f960528cd6a6044aa9ed68599" +checksum = "2684d4c2e97d99848d30b324b00c8fcc7e5c897b7cbb5819b09e7c90e8baf212" dependencies = [ "mime", "unicase", @@ -1838,9 +1824,9 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f3f74f726ae935c3f514300cc6773a0c9492abc5e972d42ba0c0ebb88757625" +checksum = "aa679ff6578b1cddee93d7e82e263b94a575e0bfced07284eb0c037c1d2416a5" dependencies = [ "adler32", ] @@ -1910,9 +1896,9 @@ dependencies = [ [[package]] name = "native-tls" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2df1a4c22fd44a62147fd8f13dd0f95c9d8ca7b2610299b2a2f9cf8964274e" +checksum = "2b0d88c06fe90d5ee94048ba40409ef1d9315d86f6f38c2efdaad4fb50c58b2d" dependencies = [ "lazy_static", "libc", @@ -1966,12 +1952,12 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.41" +version = "0.1.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09" +checksum = "3f6ea62e9d81a77cd3ee9a2a5b9b609447857f3d358704331e4ef39eb247fcba" dependencies = [ - "autocfg 0.1.7", - "num-traits 0.2.10", + "autocfg 1.0.0", + "num-traits 0.2.11", ] [[package]] @@ -1980,16 +1966,16 @@ version = "0.1.43" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31" dependencies = [ - "num-traits 0.2.10", + "num-traits 0.2.11", ] [[package]] name = "num-traits" -version = "0.2.10" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c81ffc11c212fa327657cb19dd85eb7419e163b5b076bede2bdb5c974c07e4" +checksum = "c62be47e61d1842b9170f0fdeec8eba98e60e90e5446449a0545e5152acd7096" dependencies = [ - "autocfg 0.1.7", + "autocfg 1.0.0", ] [[package]] @@ -2093,7 +2079,7 @@ dependencies = [ "cloudabi", "libc", "redox_syscall", - "smallvec 1.1.0", + "smallvec 1.2.0", "winapi 0.3.8", ] @@ -2117,18 +2103,18 @@ checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" [[package]] name = "pin-project" -version = "0.4.6" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b90146c7216e4cb534069fb91366de4ea0ea353105ee45ed297e2d1619e469" +checksum = "7804a463a8d9572f13453c516a5faea534a2403d7ced2f0c7e100eeff072772c" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "0.4.6" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44ca92f893f0656d3cba8158dd0f2b99b94de256a4a54e870bd6922fcc6c8355" +checksum = "385322a45f2ecf3410c68d2a549a4a2685e8051d0f278e39743ff4e451cb9b3f" dependencies = [ "proc-macro2", "quote", @@ -2137,9 +2123,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8822eb8bb72452f038ebf6048efa02c3fe22bf83f76519c9583e47fc194a422" +checksum = "237844750cfbb86f67afe27eee600dfbbcb6188d734139b534cbfbf4f96792ae" [[package]] name = "pin-utils" @@ -2161,35 +2147,30 @@ checksum = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b" [[package]] name = "proc-macro-hack" -version = "0.5.11" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd45702f76d6d3c75a80564378ae228a85f0b59d2f3ed43c91b4a69eb2ebfc5" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] +checksum = "fcfdefadc3d57ca21cf17990a28ef4c0f7c61383a28cb7604cf4a18e6ede1420" [[package]] name = "proc-macro-nested" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "369a6ed065f249a159e06c45752c780bda2fb53c995718f9e484d08daa9eb42e" +checksum = "8e946095f9d3ed29ec38de908c22f95d9ac008e424c7bcae54c75a79c527c694" [[package]] name = "proc-macro2" -version = "1.0.6" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27" +checksum = "6c09721c6781493a2a492a96b5a5bf19b65917fe6728884e7c44dd0c60ca3435" dependencies = [ "unicode-xid", ] [[package]] name = "protobuf" -version = "2.11.0" +version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc1b4a8efc42cf150049e8a490f618c7c60e82332405065f202a7e33aa5a1f06" +checksum = "71964f34fd51cf04882d7ae3325fa0794d4cad66a03d0003f38d8ae4f63ba126" [[package]] name = "publicsuffix" @@ -2206,15 +2187,15 @@ dependencies = [ [[package]] name = "quick-error" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quote" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" +checksum = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f" dependencies = [ "proc-macro2", ] @@ -2257,7 +2238,7 @@ checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ "getrandom", "libc", - "rand_chacha 0.2.1", + "rand_chacha 0.2.2", "rand_core 0.5.1", "rand_hc 0.2.0", ] @@ -2274,11 +2255,11 @@ dependencies = [ [[package]] name = "rand_chacha" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" dependencies = [ - "c2-chacha", + "ppv-lite86", "rand_core 0.5.1", ] @@ -2403,21 +2384,20 @@ checksum = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" [[package]] name = "redox_users" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ecedbca3bf205f8d8f5c2b44d83cd0690e39ee84b951ed649e9f1841132b66d" +checksum = "09b23093265f8d200fa7b4c2c76297f47e681c655f6f1285a8780d6a022f7431" dependencies = [ - "failure", - "rand_os", + "getrandom", "redox_syscall", "rust-argon2", ] [[package]] name = "regex" -version = "1.3.5" +version = "1.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8900ebc1363efa7ea1c399ccc32daed870b4002651e0bed86e72d501ebbe0048" +checksum = "7f6946991529684867e47d86474e3a6d0c0ab9b82d5821e314b1ede31fa3a4b3" dependencies = [ "aho-corasick", "memchr", @@ -2476,18 +2456,18 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.10.3" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9f62f24514117d09a8fc74b803d3d65faa27cea1c7378fb12b0d002913f3831" +checksum = "02b81e49ddec5109a9dcfc5f2a317ff53377c915e9ae9d4f2fb50914b85614e2" dependencies = [ "base64 0.11.0", "bytes 0.5.4", "encoding_rs", "futures-core", "futures-util", - "http 0.2.0", + "http 0.2.1", "http-body 0.3.1", - "hyper 0.13.2", + "hyper 0.13.4", "hyper-tls 0.4.1", "js-sys", "lazy_static", @@ -2512,11 +2492,11 @@ dependencies = [ [[package]] name = "resolv-conf" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b263b4aa1b5de9ffc0054a2386f96992058bb6870aab516f8cdeb8a667d56dcb" +checksum = "11834e137f3b14e309437a8276714eed3a80d1ef894869e510f2c0c0b98b9f4a" dependencies = [ - "hostname 0.1.5", + "hostname 0.3.1", "quick-error", ] @@ -2537,13 +2517,14 @@ dependencies = [ [[package]] name = "rust-argon2" -version = "0.5.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ca4eaef519b494d1f2848fc602d18816fed808a981aedf4f1f00ceb7c9d32cf" +checksum = "2bc8af4bda8e1ff4932523b94d3dd20ee30a87232323eda55903ffd71d2fb017" dependencies = [ - "base64 0.10.1", + "base64 0.11.0", "blake2b_simd", - "crossbeam-utils 0.6.6", + "constant_time_eq", + "crossbeam-utils 0.7.2", ] [[package]] @@ -2560,12 +2541,9 @@ checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" [[package]] name = "rustc-hash" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7540fc8b0c49f096ee9c961cda096467dce8084bec6bdca2fc83895fd9b28cb8" -dependencies = [ - "byteorder", -] +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc_version" @@ -2589,24 +2567,24 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8" +checksum = "535622e6be132bccd223f4bb2b8ac8d53cda3c7a6394944d3b2b33fb974f9d76" [[package]] name = "same-file" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "585e8ddcedc187886a30fa705c47985c3fa88d06624095856b36ca0b82ff4421" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" dependencies = [ "winapi-util", ] [[package]] name = "schannel" -version = "0.1.16" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f550b06b6cba9c8b8be3ee73f391990116bf527450d2556e9b9ce263b9a021" +checksum = "039c25b130bd8c1321ee2d7de7fde2659fa9c2744e4bb29711cfc852ea53cd19" dependencies = [ "lazy_static", "winapi 0.3.8", @@ -2623,29 +2601,30 @@ dependencies = [ [[package]] name = "scopeguard" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d" +checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "security-framework" -version = "0.3.4" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ef2429d7cefe5fd28bd1d2ed41c944547d4ff84776f5935b456da44593a16df" +checksum = "97bbedbe81904398b6ebb054b3e912f99d55807125790f3198ac990d98def5b0" dependencies = [ + "bitflags", "core-foundation", "core-foundation-sys", - "libc", "security-framework-sys", ] [[package]] name = "security-framework-sys" -version = "0.3.3" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e31493fc37615debb8c5090a7aeb4a9730bc61e77ab10b9af59f1a202284f895" +checksum = "06fd2f23e31ef68dd2328cc383bd493142e46107a3a0e24f7d734e3f3b80fe4c" dependencies = [ "core-foundation-sys", + "libc", ] [[package]] @@ -2679,7 +2658,7 @@ dependencies = [ "libc", "rand 0.7.3", "regex", - "reqwest 0.10.3", + "reqwest 0.10.4", "rustc_version", "sentry-types", "serde_json", @@ -2850,7 +2829,7 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51b3336ce47ce2f96673499fc07eb85e3472727b9a7a2959964b002c2ce8fbbb" dependencies = [ - "crossbeam-channel 0.4.0", + "crossbeam-channel 0.4.2", "slog", "take_mut", "thread_local", @@ -2930,9 +2909,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e59e0c9fa00817912ae6e4e6e3c4fe04455e75699d06eedc7d85917ed8e8f4" +checksum = "5c2fb2ec9bcd216a5b0d0ccf31ab17b5ed1d627960edff65bbe95d3ce221cefc" [[package]] name = "socket2" @@ -3036,9 +3015,9 @@ checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" [[package]] name = "syn" -version = "1.0.11" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff0acdb207ae2fe6d5976617f887eb1e35a2ba52c13c7234c790960cdad9238" +checksum = "0df0eb663f387145cab623dea85b09c2c5b4b0aef44e945d928e682fce71bb03" dependencies = [ "proc-macro2", "quote", @@ -3149,11 +3128,11 @@ dependencies = [ [[package]] name = "termcolor" -version = "1.0.5" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d6098003bde162e4277c70665bd87c326f5a0c3f3fbfb285787fa482d54e6e" +checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f" dependencies = [ - "wincolor", + "winapi-util", ] [[package]] @@ -3276,9 +3255,9 @@ dependencies = [ [[package]] name = "tokio-current-thread" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16217cad7f1b840c5a97dfb3c43b0c871fef423a6e8d2118c604e843662a443" +checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e" dependencies = [ "futures 0.1.29", "tokio-executor", @@ -3286,19 +3265,19 @@ dependencies = [ [[package]] name = "tokio-executor" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca6df436c42b0c3330a82d855d2ef017cd793090ad550a6bc2184f4b933532ab" +checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" dependencies = [ - "crossbeam-utils 0.6.6", + "crossbeam-utils 0.7.2", "futures 0.1.29", ] [[package]] name = "tokio-io" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5090db468dad16e1a7a54c8c67280c5e4b544f3d3e018f0b913b400261f85926" +checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674" dependencies = [ "bytes 0.4.12", "futures 0.1.29", @@ -3307,11 +3286,11 @@ dependencies = [ [[package]] name = "tokio-reactor" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6732fe6b53c8d11178dcb77ac6d9682af27fc6d4cb87789449152e5377377146" +checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" dependencies = [ - "crossbeam-utils 0.6.6", + "crossbeam-utils 0.7.2", "futures 0.1.29", "lazy_static", "log", @@ -3326,9 +3305,9 @@ dependencies = [ [[package]] name = "tokio-sync" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06554cce1ae4a50f42fba8023918afa931413aded705b560e29600ccf7c6d76" +checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee" dependencies = [ "fnv", "futures 0.1.29", @@ -3336,9 +3315,9 @@ dependencies = [ [[package]] name = "tokio-tcp" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d14b10654be682ac43efee27401d792507e30fd8d26389e1da3b185de2e4119" +checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72" dependencies = [ "bytes 0.4.12", "futures 0.1.29", @@ -3350,13 +3329,13 @@ dependencies = [ [[package]] name = "tokio-threadpool" -version = "0.1.17" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c32ffea4827978e9aa392d2f743d973c1dfa3730a2ed3f22ce1e6984da848c" +checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" dependencies = [ "crossbeam-deque", - "crossbeam-queue 0.1.2", - "crossbeam-utils 0.6.6", + "crossbeam-queue", + "crossbeam-utils 0.7.2", "futures 0.1.29", "lazy_static", "log", @@ -3367,11 +3346,11 @@ dependencies = [ [[package]] name = "tokio-timer" -version = "0.2.12" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1739638e364e558128461fc1ad84d997702c8e31c2e6b18fb99842268199e827" +checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" dependencies = [ - "crossbeam-utils 0.6.6", + "crossbeam-utils 0.7.2", "futures 0.1.29", "slab", "tokio-executor", @@ -3430,7 +3409,7 @@ dependencies = [ "lazy_static", "log", "rand 0.7.3", - "smallvec 1.1.0", + "smallvec 1.2.0", "socket2", "tokio 0.2.13", "url 2.1.1", @@ -3450,7 +3429,7 @@ dependencies = [ "log", "lru-cache", "resolv-conf", - "smallvec 1.1.0", + "smallvec 1.2.0", "tokio 0.2.13", "trust-dns-proto", ] @@ -3505,11 +3484,11 @@ dependencies = [ [[package]] name = "unicode-normalization" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b561e267b2326bb4cebfc0ef9e68355c7abe6c6f522aeac2f5bf95d56c59bdcf" +checksum = "5479532badd04e128284890390c1e876ef7a993d0570b3597ae43dfa1d59afa4" dependencies = [ - "smallvec 1.1.0", + "smallvec 1.2.0", ] [[package]] @@ -3622,9 +3601,9 @@ checksum = "078775d0255232fb988e6fccf26ddc9d1ac274299aaedcedce21c6f72cc533ce" [[package]] name = "walkdir" -version = "2.2.9" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9658c94fa8b940eab2250bd5a457f9c48b748420d71293b165c8cdbe2f55f71e" +checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d" dependencies = [ "same-file", "winapi 0.3.8", @@ -3654,15 +3633,15 @@ dependencies = [ [[package]] name = "wasi" -version = "0.7.0" +version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" [[package]] name = "wasm-bindgen" -version = "0.2.59" +version = "0.2.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3557c397ab5a8e347d434782bcd31fc1483d927a6826804cec05cc792ee2519d" +checksum = "2cc57ce05287f8376e998cbddfb4c8cb43b84a7ec55cf4551d7c00eef317a47f" dependencies = [ "cfg-if", "serde 1.0.105", @@ -3672,9 +3651,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.59" +version = "0.2.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0da9c9a19850d3af6df1cb9574970b566d617ecfaf36eb0b706b6f3ef9bd2f8" +checksum = "d967d37bf6c16cca2973ca3af071d0a2523392e4a594548155d89a678f4237cd" dependencies = [ "bumpalo", "lazy_static", @@ -3687,9 +3666,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "457414a91863c0ec00090dba537f88ab955d93ca6555862c29b6d860990b8a8a" +checksum = "7add542ea1ac7fdaa9dc25e031a6af33b7d63376292bd24140c637d00d1c312a" dependencies = [ "cfg-if", "js-sys", @@ -3699,9 +3678,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.59" +version = "0.2.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f6fde1d36e75a714b5fe0cffbb78978f222ea6baebb726af13c78869fdb4205" +checksum = "8bd151b63e1ea881bb742cd20e1d6127cef28399558f3b5d415289bc41eee3a4" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -3709,9 +3688,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.59" +version = "0.2.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25bda4168030a6412ea8a047e27238cadf56f0e53516e1e83fec0a8b7c786f6d" +checksum = "d68a5b36eef1be7868f668632863292e37739656a80fc4b9acec7b0bd35a4931" dependencies = [ "proc-macro2", "quote", @@ -3722,15 +3701,15 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.59" +version = "0.2.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc9f36ad51f25b0219a3d4d13b90eb44cd075dff8b6280cca015775d7acaddd8" +checksum = "daf76fe7d25ac79748a37538b7daeed1c7a6867c92d3245c12c6222e4a20d639" [[package]] name = "web-sys" -version = "0.3.36" +version = "0.3.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "721c6263e2c66fd44501cc5efbfa2b7dfa775d13e4ea38c46299646ed1f9c70a" +checksum = "2d6f51648d8c56c366144378a33290049eafdd784071077f6fe37dae64c1c4cb" dependencies = [ "js-sys", "wasm-bindgen", @@ -3772,9 +3751,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7168bab6e1daee33b4557efd0e95d5ca70a03706d39fa5f3fe7a236f584b03c9" +checksum = "4ccfbf554c6ad11084fb7517daca16cfdcaccbdadba4fc336f032a8b12c2ad80" dependencies = [ "winapi 0.3.8", ] @@ -3785,16 +3764,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "wincolor" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96f5016b18804d24db43cebf3c77269e7569b8954a8464501c216cc5e070eaa9" -dependencies = [ - "winapi 0.3.8", - "winapi-util", -] - [[package]] name = "winreg" version = "0.6.2" From 85113f681c7538e0292d426673412b0d5adc2195 Mon Sep 17 00:00:00 2001 From: jrconlin Date: Thu, 26 Mar 2020 15:34:37 -0700 Subject: [PATCH 16/21] f update protobuf, reinstate audit, fix err levels --- .circleci/config.yml | 3 +-- Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b4701fb79..4f334410db 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,8 +29,7 @@ commands: name: Core Rust Checks command: | cargo fmt -- --check - echo "Skip audit for now since hawk 3.1.0 -> ring 0.16.11 -> abandoned `spin`" - echo "cargo audit" + cargo audit rust-clippy: steps: - run: diff --git a/Cargo.toml b/Cargo.toml index 57a80546b9..c79aaccc84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ mime = "0.3" mozsvc-common = "0.1" num_cpus = "1.12" # must match what's used by googleapis-raw -protobuf = "2.11" +protobuf = "2.12" openssl ="0.10" rand = "0.7" regex = "1.3" @@ -54,8 +54,8 @@ serde_json = { version = "1.0", features = ["arbitrary_precision"] } serde_urlencoded = "0.6.1" scheduled-thread-pool = "0.2" sha2 = "0.8" -slog = { version = "2.5", features = ["max_level_trace", "release_max_level_error", "dynamic-keys"] } -slog-async = "2.4" +slog = { version = "2.5", features = ["max_level_info", "release_max_level_info", "dynamic-keys"] } +slog-async = "2.5" slog-envlogger = "2.2.0" slog-mozlog-json = "0.1" slog-scope = "4.3" From 52f3def47a0ceaeaea8ecc429d244ee9954c2cbf Mon Sep 17 00:00:00 2001 From: jrconlin Date: Fri, 27 Mar 2020 07:54:36 -0700 Subject: [PATCH 17/21] f remove rust version --- tools/migration_rs/Cargo.toml | 39 ----- tools/migration_rs/src/db/collections.rs | 85 ---------- tools/migration_rs/src/db/mod.rs | 73 --------- tools/migration_rs/src/db/mysql/mod.rs | 197 ----------------------- tools/migration_rs/src/db/spanner/mod.rs | 196 ---------------------- tools/migration_rs/src/db/users.rs | 3 - tools/migration_rs/src/error.rs | 125 -------------- tools/migration_rs/src/fxa.rs | 82 ---------- tools/migration_rs/src/logging.rs | 45 ------ tools/migration_rs/src/main.rs | 39 ----- tools/migration_rs/src/settings.rs | 177 -------------------- 11 files changed, 1061 deletions(-) delete mode 100644 tools/migration_rs/Cargo.toml delete mode 100644 tools/migration_rs/src/db/collections.rs delete mode 100644 tools/migration_rs/src/db/mod.rs delete mode 100644 tools/migration_rs/src/db/mysql/mod.rs delete mode 100644 tools/migration_rs/src/db/spanner/mod.rs delete mode 100644 tools/migration_rs/src/db/users.rs delete mode 100644 tools/migration_rs/src/error.rs delete mode 100644 tools/migration_rs/src/fxa.rs delete mode 100644 tools/migration_rs/src/logging.rs delete mode 100644 tools/migration_rs/src/main.rs delete mode 100644 tools/migration_rs/src/settings.rs diff --git a/tools/migration_rs/Cargo.toml b/tools/migration_rs/Cargo.toml deleted file mode 100644 index a0485ff2d9..0000000000 --- a/tools/migration_rs/Cargo.toml +++ /dev/null @@ -1,39 +0,0 @@ -[package] -name = "migration_rs" -version = "0.1.0" -authors = ["jrconlin "] -edition = "2018" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] -csv="1.1" -base64="0.12" -hex="0.4" -futures="0.3" -pool = "0.1" -# eventually use these -#diesel = {version="1.4", features=["mysql", "r2d2"]} -#diesel_logger = "0.1" -# quick hack: -mysql_async="0.22" -env_logger = "0.7" -failure="0.1" -googleapis-raw={version="0", path="../../vendor/mozilla-rust-sdk/googleapis-raw"} -grpcio={version="0.5"} -log={version="0.4", features=["max_level_info", "release_max_level_info"]} -protobuf = "2.7" -rand="0.7" -serde={version="1.0", features=["derive"]} -serde_derive="1.0" -serde_json={version="1.0", features=["arbitrary_precision"]} -slog = { version = "2.5", features = ["max_level_trace", "release_max_level_error"] } -slog-async = "2.4" -slog-envlogger = "2.2.0" -slog-mozlog-json = "0.1" -slog-scope = "4.3" -slog-stdlog = "4.0" -slog-term = "2.5" -time = "0.2.9" -url="2.1" -structopt="0.3" \ No newline at end of file diff --git a/tools/migration_rs/src/db/collections.rs b/tools/migration_rs/src/db/collections.rs deleted file mode 100644 index 6b9c9127fc..0000000000 --- a/tools/migration_rs/src/db/collections.rs +++ /dev/null @@ -1,85 +0,0 @@ -use std::collections::HashMap; - -use futures::executor::block_on; - -use crate::db::Dbs; -use crate::error::ApiResult; -use crate::settings::Settings; - -#[derive(Clone)] -pub struct Collection { - pub name: String, - pub collection: u16, - pub last_modified: i32, -} - -#[derive(Clone)] -pub struct Collections { - by_name: HashMap, -} - -impl Default for Collections { - fn default() -> Self { - let mut names: HashMap = HashMap::new(); - for (name, idx) in &[ - ("clients", 1), - ("crypto", 2), - ("forms", 3), - ("history", 4), - ("keys", 5), - ("meta", 6), - ("bookmarks", 7), - ("prefs", 8), - ("tabs", 9), - ("passwords", 10), - ("addons", 11), - ("addresses", 12), - ("creditcards", 13), - ("reserved", 100), - ] { - names.insert( - name.to_string(), - Collection { - name: name.to_string(), - collection: *idx, - last_modified: 0, - }, - ); - } - Self { by_name: names } - } -} - -impl Collections { - pub fn empty() -> Collections { - // used by db::collections to contain "new", unencountered user collections - // this differs from the "default" set of well-known collections. - Collections { - by_name: HashMap::new(), - } - } - - pub fn new(_settings: &Settings, dbs: &Dbs) -> ApiResult { - let mysql = &dbs.mysql; - let span = dbs.spanner.clone(); - let mut collections = block_on(span.get_collections()).unwrap(); - let new_collections = block_on(mysql.merge_collections(&mut collections)).unwrap(); - block_on(span.add_new_collections(new_collections)).unwrap(); - Ok(collections) - } - - pub fn get(&self, key: &str) -> Option<&Collection> { - self.by_name.get(key) - } - - pub fn set(&mut self, key: &str, col: Collection) { - self.by_name.insert(key.to_owned(), col); - } - - pub fn items(self) -> Vec { - self.by_name - .values() - .map(Clone::clone) - .collect::>() - } -} diff --git a/tools/migration_rs/src/db/mod.rs b/tools/migration_rs/src/db/mod.rs deleted file mode 100644 index 5557b87fac..0000000000 --- a/tools/migration_rs/src/db/mod.rs +++ /dev/null @@ -1,73 +0,0 @@ -pub mod mysql; -pub mod spanner; -pub mod collections; - -use futures::executor::block_on; - -use crate::error::{ApiResult}; -use crate::settings::Settings; -use crate::fxa::{FxaInfo, FxaData}; -use crate::db::collections::Collections; - -pub struct Dbs { - settings: Settings, - mysql: mysql::MysqlDb, - spanner: spanner::Spanner, -} - -pub struct Bso { - col_name: String, - col_id: u16, - bso_id: u64, - expiry: u64, - modify: u64, - payload: String, - sort_index: Option, -} - -pub struct User { - uid: u64, - fxa_data: FxaData, -} - -impl Dbs { - pub fn connect(settings: &Settings) -> ApiResult { - Ok(Self { - settings: settings.clone(), - mysql: mysql::MysqlDb::new(&settings)?, - spanner: spanner::Spanner::new(&settings)?, - }) - } - - pub fn get_users(&self, bso_num:&u8, fxa: &FxaInfo) -> ApiResult> { - let mut result: Vec = Vec::new(); - for uid in block_on(self.mysql.get_user_ids(bso_num)).unwrap() { - if let Some(fxa_data) = fxa.get_fxa_data(&uid) { - result.push(User{ - uid, - fxa_data, - }) - } - }; - Ok(result) - } - - pub fn move_user(&mut self, user: &User, bso_num: &u8, collections: &Collections) -> ApiResult<()> { - // move user collections - let user_collections = block_on(self.mysql.get_user_collections(user, bso_num)).unwrap(); - block_on(self.spanner.load_user_collections(user, user_collections)).unwrap(); - - // fetch and handle the user BSOs - let bsos = block_on(self.mysql.get_user_bsos(user, bso_num)).unwrap(); - // divvy up according to the readchunk - let blocks = bsos.windows(self.settings.readchunk.unwrap_or(1000) as usize); - for block in blocks { - // TODO add abort stuff - match block_on(self.spanner.add_user_bsos(user, block, &collections)){ - Ok(_) => {}, - Err(e) => {panic!("Unknown Error: {}", e)} - }; - } - Ok(()) - } -} diff --git a/tools/migration_rs/src/db/mysql/mod.rs b/tools/migration_rs/src/db/mysql/mod.rs deleted file mode 100644 index 6dce6d37e4..0000000000 --- a/tools/migration_rs/src/db/mysql/mod.rs +++ /dev/null @@ -1,197 +0,0 @@ -use std::str::FromStr; -use mysql_async::{self, params}; -use mysql_async::prelude::Queryable; - -use crate::db::collections::{Collection, Collections}; -use crate::error::{ApiErrorKind, ApiResult}; -use crate::settings::Settings; -use crate::db::{User, Bso}; - -#[derive(Clone)] -pub struct MysqlDb { - settings: Settings, - pub pool: mysql_async::Pool, -} - -impl MysqlDb { - pub fn new(settings: &Settings) -> ApiResult { - let pool = mysql_async::Pool::new(settings.dsns.mysql.clone().unwrap()); - Ok(Self {settings: settings.clone(), pool}) - } - - // take the existing set of collections, return a list of any "new" - // unrecognized collections. - pub async fn merge_collections(&self, base: &mut Collections) -> ApiResult { - let conn = self.pool.get_conn().await.unwrap(); - let mut new_collections = Collections::empty(); - - let cursor = conn - .prep_exec( - "SELECT - DISTINCT uc.collection, cc.name - FROM - user_collections as uc, - collections as cc - WHERE - uc.collection = cc.collectionid - ORDER BY - uc.collection - ", - (), - ).await.unwrap(); - match cursor - .map_and_drop(|row| { - let id: u16 = row.get(0).unwrap(); - // Only add "new" items - let collection_name:String = row.get(1).unwrap(); - if base.get(&collection_name).is_none() { - let new = Collection{ - collection: id, - name: collection_name.clone(), - last_modified: 0, - }; - new_collections.set(&collection_name, new.clone()); - base.set(&collection_name, new.clone()); - } - }).await { - Ok(_) => { - Ok(new_collections) - }, - Err(e) => { - Err(ApiErrorKind::Internal(format!("failed to get collections {}", e)).into()) - } - } - } - - pub async fn get_user_ids(&self, bso_num: &u8) -> ApiResult> { - let mut results: Vec = Vec::new(); - // return the list if they're already specified in the options. - if let Some(user) = self.settings.user.clone() { - for uid in user.user_id { - results.push(u64::from_str(&uid).map_err(|e| ApiErrorKind::Internal(format!("Invalid UID option found {} {}", uid, e)))?); - } - return Ok(results) - } - - let sql = "SELECT DISTINCT userid FROM :bso"; - let conn: mysql_async::Conn = match self - .pool - .get_conn() - .await { - Ok(v) => v, - Err(e) => { - return Err(ApiErrorKind::Internal(format!("Could not get connection: {}", e)).into()) - } - }; - let cursor = match conn.prep_exec(sql, params!{ - "bso" => bso_num - }).await { - Ok(v) => v, - Err(e) => { - return Err(ApiErrorKind::Internal(format!("Could not get users: {}",e)).into()) - } - }; - match cursor.map_and_drop(|row| { - let uid:String = mysql_async::from_row(row); - if let Ok(v) = u64::from_str(&uid) { - v - } else { - panic!("Invalid UID found in database {}", uid); - } - }).await { - Ok(_) => {Ok(results)} - Err(e)=> {Err(ApiErrorKind::Internal(format!("Bad UID found in database {}", e)).into())} - } - } - - pub async fn get_user_collections(&self, user: &User, bso_num: &u8) -> ApiResult> { - // fetch the collections and bso info for a given user.alloc - // COLLECTIONS - let bso_sql = " - SELECT - collections.name, user_collections.collection, user_collections.last_modified - FROM - collections, user_collections - WHERE - user_collections.userid = :userid and collections.collectionid = user_collections.collection; - "; - let conn: mysql_async::Conn = match self - .pool - .get_conn() - .await { - Ok(v) => v, - Err(e) => { - return Err(ApiErrorKind::Internal(format!("Could not get connection: {}", e)).into()) - } - }; - let cursor = match conn.prep_exec(bso_sql, params!{ - "bso_num" => bso_num, - "user_id" => user.uid, - }).await { - Ok(v) => v, - Err(e) => { - return Err(ApiErrorKind::Internal(format!("Could not get users: {}",e)).into()) - } - }; - let (_cursor, result) = cursor.map_and_drop(|row| { - let (name, collection, last_modified) = mysql_async::from_row(row); - Collection { - name, - collection, - last_modified, - } - }).await.unwrap(); - - Ok(result) - } - - pub async fn get_user_bsos(&self, user: &User, bso_num: &u8) -> ApiResult> { - // BSOs - let bso_sql = " - SELECT - collections.name, bso.collection, - bso.id, bso.ttl, bso.modified, bso.payload, bso.sortindex - FROM - :bso_num as bso, - collections - WHERE - bso.userid = :user_id - and collections.collectionid = bso.collection - and bso.ttl > unix_timestamp() - ORDER BY - bso.collection, bso.id"; - let conn: mysql_async::Conn = match self - .pool - .get_conn() - .await { - Ok(v) => v, - Err(e) => { - return Err(ApiErrorKind::Internal(format!("Could not get connection: {}", e)).into()) - } - }; - let cursor = match conn.prep_exec(bso_sql, params!{ - "bso_num" => bso_num, - "user_id" => user.uid, - }).await { - Ok(v) => v, - Err(e) => { - return Err(ApiErrorKind::Internal(format!("Could not get users: {}",e)).into()) - } - }; - let (_cursor, result) = cursor.map_and_drop(|row| { - let (col_name, col_id, bso_id, expiry, modify, payload, sort_index) = mysql_async::from_row(row); - Bso{ - col_name, - col_id, - bso_id, - expiry, - modify, - payload, - sort_index - } - - }).await.unwrap(); - - Ok(result) - } -} diff --git a/tools/migration_rs/src/db/spanner/mod.rs b/tools/migration_rs/src/db/spanner/mod.rs deleted file mode 100644 index e4ca8e3ce8..0000000000 --- a/tools/migration_rs/src/db/spanner/mod.rs +++ /dev/null @@ -1,196 +0,0 @@ -use std::sync::Arc; -use std::str::FromStr; - -use googleapis_raw::spanner::v1::{ - result_set::ResultSet, - spanner::{CreateSessionRequest, ExecuteSqlRequest, BeginTransactionRequest}, - transaction::{TransactionOptions, TransactionSelector}, - spanner_grpc::SpannerClient, -}; -use grpcio::{ - CallOption, ChannelBuilder, ChannelCredentials, EnvBuilder, MetadataBuilder, -}; - - -use crate::error::{ApiErrorKind, ApiResult}; -use crate::settings::Settings; -use crate::db::{User, Bso}; -use crate::db::collections::{Collection, Collections}; - -const MAX_MESSAGE_LEN: i32 = 104_857_600; - -#[derive(Clone)] -pub struct Spanner { - pub client: SpannerClient, -} - -/* Session related -fn get_path(raw: &str) -> ApiResult { - let url = match url::Url::parse(raw){ - Ok(v) => v, - Err(e) => { - return Err(ApiErrorKind::Internal(format!("Invalid Spanner DSN {}", e)).into()) - } - }; - Ok(format!("{}{}", url.host_str().unwrap(), url.path())) -} - -fn create_session(client: &SpannerClient, database_name: &str) -> Result { - let mut req = CreateSessionRequest::new(); - req.database = database_name.to_owned(); - let mut meta = MetadataBuilder::new(); - meta.add_str("google-cloud-resource-prefix", database_name)?; - meta.add_str("x-goog-api-client", "gcp-grpc-rs")?; - let opt = CallOption::default().headers(meta.build()); - client.create_session_opt(&req, opt) -} - -*/ - -impl Spanner { - pub fn new(settings: &Settings) -> ApiResult { - if settings.dsns.spanner.is_none() || - settings.dsns.mysql.is_none() { - return Err(ApiErrorKind::Internal("No DSNs set".to_owned()).into()) - } - let spanner_path = &settings.dsns.spanner.clone().unwrap(); - // let database_name = get_path(&spanner_path).unwrap(); - let env = Arc::new(EnvBuilder::new().build()); - let creds = ChannelCredentials::google_default_credentials().unwrap(); - let chan = ChannelBuilder::new(env.clone()) - .max_send_message_len(MAX_MESSAGE_LEN) - .max_receive_message_len(MAX_MESSAGE_LEN) - .secure_connect(&spanner_path, creds); - - let client = SpannerClient::new(chan); - - Ok(Self {client}) - } - - pub async fn transaction(&self, sql: &str) -> ApiResult { - let opts = TransactionOptions::new(); - let mut req = BeginTransactionRequest::new(); - let sreq = CreateSessionRequest::new(); - let meta = MetadataBuilder::new(); - let sopt = CallOption::default().headers(meta.build()); - let session = self.client.create_session_opt(&sreq, sopt).unwrap(); - req.set_session(session.name.clone()); - req.set_options(opts); - - let mut txn = self.client.begin_transaction(&req).unwrap(); - - let mut txns = TransactionSelector::new(); - txns.set_id(txn.take_id()); - - let mut sreq = ExecuteSqlRequest::new(); - sreq.set_session(session.name.clone()); - sreq.set_transaction(txns); - - sreq.set_sql(sql.to_owned()); - match self.client.execute_sql(&sreq) { - Ok(v) => Ok(v), - Err(e) => { - Err(ApiErrorKind::Internal(format!("spanner transaction failed: {}", e)).into()) - } - } - } - - pub async fn get_collections(&self) -> ApiResult { - let result = self.clone().transaction( - "SELECT - DISTINCT uc.collection, cc.name, - FROM - user_collections as uc, - collections as cc - WHERE - uc.collection = cc.collectionid - ORDER BY - uc.collection" - ).await?; - // get the default base of collections (in case the original is missing them) - let mut collections = Collections::default(); - // back fill with the values from the collection db table, which is our source - // of truth. - for row in result.get_rows() { - let id: u16 = u16::from_str(row.values[0].get_string_value()).unwrap(); - let name:&str = row.values[1].get_string_value(); - if collections.get(name).is_none(){ - collections.set(name, - Collection{ - name: name.to_owned(), - collection: id, - last_modified: 0, - }); - } - } - Ok(collections) - } - - pub async fn add_new_collections(&self, new_collections: Collections) -> ApiResult { - // TODO: is there a more ORM way to do these rather than build the sql? - let header = "INSERT INTO collections (collection_id, name)"; - let mut values = Vec::::new(); - for collection in new_collections.items() { - values.push(format!("(\"{}\", {})", collection.name, collection.collection)); - }; - self.transaction(&format!("{} VALUES {}", header, values.join(", "))).await - } - - pub async fn load_user_collections(&mut self, user: &User, collections: Vec) -> ApiResult { - let mut values: Vec = Vec::new(); - let header = " - INSERT INTO - user_collections - (collection_id, - fxa_kid, - fxa_uid, - modified)"; - for collection in collections { - values.push(format!("({}, \"{}\", \"{}\", {})", - collection.collection, - user.fxa_data.fxa_kid, - user.fxa_data.fxa_uid, - collection.last_modified, - )); - } - self.transaction(&format!("{} VALUES {}", header, values.join(", "))).await - } - - pub async fn add_user_bsos(&mut self, user: &User, bsos: &[Bso], collections: &Collections) -> ApiResult { - let header = " - INSERT INTO - bso ( - collection_id, - fxa_kid, - fxa_uid, - bso_id, - expiry, - modified, - payload, - sortindex - ) - "; - let mut values:Vec = Vec::new(); - for bso in bsos{ - let collection = collections - .get(&bso.col_name) - .unwrap_or( - &Collection{ - collection: bso.col_id, - name: bso.col_name.clone(), - last_modified:0}).clone(); - // blech - values.push(format!("({}, \"{}\", \"{}\", {}, {}, {}, \"{}\", {})", - collection.collection, - user.fxa_data.fxa_kid, - user.fxa_data.fxa_uid, - bso.bso_id, - bso.expiry, - bso.modify, - bso.payload, - bso.sort_index.unwrap_or(0) - )); - }; - self.transaction(&format!("{} VALUES {}", header, values.join(", "))).await - } -} diff --git a/tools/migration_rs/src/db/users.rs b/tools/migration_rs/src/db/users.rs deleted file mode 100644 index e88f876700..0000000000 --- a/tools/migration_rs/src/db/users.rs +++ /dev/null @@ -1,3 +0,0 @@ -use crate::db::mysql; - -struct User {} diff --git a/tools/migration_rs/src/error.rs b/tools/migration_rs/src/error.rs deleted file mode 100644 index 08f6596e23..0000000000 --- a/tools/migration_rs/src/error.rs +++ /dev/null @@ -1,125 +0,0 @@ -//! Error types and macros. -// TODO: Currently `Validation(#[cause] ValidationError)` may trigger some -// performance issues. The suggested fix is to Box ValidationError, however -// this cascades into Failure requiring std::error::Error being implemented -// which is out of scope. -#![allow(clippy::single_match, clippy::large_enum_variant)] - -use std::convert::From; -use std::fmt; - -use failure::{Backtrace, Context, Fail}; -use serde::{ - ser::{SerializeMap, SerializeSeq, Serializer}, - Serialize, -}; - -/// Common `Result` type. -pub type ApiResult = Result; - -/// How long the client should wait before retrying a conflicting write. -pub const RETRY_AFTER: u8 = 10; - -/// Top-level error type. -#[derive(Debug)] -pub struct ApiError { - inner: Context, -} - -/// Top-level ErrorKind. -#[derive(Debug, Fail)] -pub enum ApiErrorKind { - #[fail(display = "{}", _0)] - Internal(String), -} - -impl ApiError { - pub fn kind(&self) -> &ApiErrorKind { - self.inner.get_context() - } -} - -impl From for ApiError { - fn from(inner: std::io::Error) -> Self { - ApiErrorKind::Internal(inner.to_string()).into() - } -} - -impl Serialize for ApiError { - fn serialize(&self, serializer: S) -> Result - where - S: Serializer, - { - let mut map = serializer.serialize_map(Some(3))?; - map.end() - } -} - -impl From> for ApiError { - fn from(inner: Context) -> Self { - Self { inner } - } -} - -impl Serialize for ApiErrorKind { - fn serialize(&self, serializer: S) -> Result - where - S: Serializer, - { - match *self { - ApiErrorKind::Internal(ref description) => { - serialize_string_to_array(serializer, description) - } - } - } -} - -fn serialize_string_to_array(serializer: S, value: V) -> Result -where - S: Serializer, - V: fmt::Display, -{ - let mut seq = serializer.serialize_seq(Some(1))?; - seq.serialize_element(&value.to_string())?; - seq.end() -} - -macro_rules! failure_boilerplate { - ($error:ty, $kind:ty) => { - impl Fail for $error { - fn cause(&self) -> Option<&dyn Fail> { - self.inner.cause() - } - - fn backtrace(&self) -> Option<&Backtrace> { - self.inner.backtrace() - } - } - - impl fmt::Display for $error { - fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { - fmt::Display::fmt(&self.inner, formatter) - } - } - - impl From<$kind> for $error { - fn from(kind: $kind) -> Self { - Context::new(kind).into() - } - } - }; -} - -failure_boilerplate!(ApiError, ApiErrorKind); - -/* -macro_rules! from_error { - ($from:ty, $to:ty, $to_kind:expr) => { - impl From<$from> for $to { - fn from(inner: $from) -> $to { - $to_kind(inner).into() - } - } - }; -} -*/ diff --git a/tools/migration_rs/src/fxa.rs b/tools/migration_rs/src/fxa.rs deleted file mode 100644 index d7df6497c5..0000000000 --- a/tools/migration_rs/src/fxa.rs +++ /dev/null @@ -1,82 +0,0 @@ -use std::collections::HashMap; -use std::fs::File; -use std::io::BufReader; - -use base64; -use csv; -use serde::{self, Deserialize}; - -use crate::error::{ApiErrorKind, ApiResult}; -use crate::settings::Settings; - -#[derive(Debug, Deserialize)] -pub struct FxaCSVRecord { - pub uid: u64, - pub email: String, - pub generation: Option, - pub keys_changed_at: Option, - pub client_state: String, -} - -#[derive(Debug, Clone, serde::Deserialize)] -pub struct FxaData { - pub fxa_uid: String, - pub fxa_kid: String, -} - -#[derive(Debug, Clone, serde::Deserialize)] -pub struct FxaInfo { - pub users: HashMap, - pub anon: bool, -} - -impl FxaInfo { - fn gen_uid(record: &FxaCSVRecord) -> ApiResult { - let parts: Vec<&str> = record.email.splitn(2, '@').collect(); - Ok(parts[0].to_owned()) - } - - fn gen_kid(record: &FxaCSVRecord) -> ApiResult { - let key_index = record - .keys_changed_at - .unwrap_or(record.generation.unwrap_or(0)); - let key_hash: Vec = match hex::decode(record.client_state.clone()) { - Ok(v) => v, - Err(e) => { - return Err(ApiErrorKind::Internal(format!("Invalid client state {}", e)).into()) - } - }; - Ok(format!( - "{:013}-{}", - key_index, - base64::encode_config(&key_hash, base64::URL_SAFE_NO_PAD) - )) - } - - pub fn get_fxa_data(&self, uid: &u64) -> Option { - self.users.get(uid).map(|d| d.clone()) - } - - pub fn new(settings: &Settings) -> ApiResult { - if settings.deanon == false { - return Ok(Self { - users: HashMap::new(), - anon: true, - }); - } - let mut rdr = csv::Reader::from_reader(BufReader::new(File::open(&settings.fxa_file)?)); - let mut users = HashMap::::new(); - for line in rdr.deserialize::() { - if let Ok(record) = line { - users.insert( - record.uid, - FxaData { - fxa_uid: FxaInfo::gen_uid(&record)?, - fxa_kid: FxaInfo::gen_kid(&record)?, - }, - ); - } - } - Ok(Self { users, anon: false }) - } -} diff --git a/tools/migration_rs/src/logging.rs b/tools/migration_rs/src/logging.rs deleted file mode 100644 index 094117f4b0..0000000000 --- a/tools/migration_rs/src/logging.rs +++ /dev/null @@ -1,45 +0,0 @@ -use std::io; - -use crate::error::{ApiErrorKind, ApiResult}; - -use slog::{self, slog_o, Drain}; -use slog_async; -use slog_mozlog_json::MozLogJson; -use slog_scope; -use slog_stdlog; -use slog_term; - -pub fn init_logging(json: bool) -> ApiResult<()> { - let logger = if json { - let drain = MozLogJson::new(io::stdout()) - .logger_name(format!( - "{}-{}", - env!("CARGO_PKG_NAME"), - env!("CARGO_PKG_VERSION") - )) - .msg_type(format!("{}:log", env!("CARGO_PKG_NAME"))) - .build() - .fuse(); - let drain = slog_envlogger::new(drain); - let drain = slog_async::Async::new(drain).build().fuse(); - slog::Logger::root(drain, slog_o!()) - } else { - let decorator = slog_term::TermDecorator::new().build(); - let drain = slog_term::FullFormat::new(decorator).build().fuse(); - let drain = slog_envlogger::new(drain); - let drain = slog_async::Async::new(drain).build().fuse(); - slog::Logger::root(drain, slog_o!()) - }; - // XXX: cancel slog_scope's NoGlobalLoggerSet for now, it's difficult to - // prevent it from potentially panicing during tests. reset_logging resets - // the global logger during shutdown anyway: - // https://github.com/slog-rs/slog/issues/169 - slog_scope::set_global_logger(logger).cancel_reset(); - slog_stdlog::init().ok(); - Ok(()) -} - -pub fn reset_logging() { - let logger = slog::Logger::root(slog::Discard, slog_o!()); - slog_scope::set_global_logger(logger).cancel_reset(); -} diff --git a/tools/migration_rs/src/main.rs b/tools/migration_rs/src/main.rs deleted file mode 100644 index 72b16a3cff..0000000000 --- a/tools/migration_rs/src/main.rs +++ /dev/null @@ -1,39 +0,0 @@ -use std::ops::Range; - -use structopt::StructOpt; - -mod db; -mod error; -mod logging; -mod settings; -mod fxa; - -fn main() { - let settings = settings::Settings::from_args(); - - // TODO: set logging level - logging::init_logging(settings.human_logs).unwrap(); - // create the database connections - let mut dbs = db::Dbs::connect(&settings).unwrap(); - // TODO:read in fxa_info file (todo: make db?) - let fxa = fxa::FxaInfo::new(&settings).unwrap(); - // reconcile collections - let collections = db::collections::Collections::new(&settings, &dbs).unwrap(); - // let users = dbs.get_users(&settings, &fxa)?.await; - let mut start_bso = &settings.start_bso.unwrap_or(0); - let mut end_bso = &settings.end_bso.unwrap_or(19); - let suser = &settings.user.clone(); - if let Some(user) = suser { - start_bso = &user.bso; - end_bso = &user.bso; - } - - let range = Range{ start:start_bso.clone(), end:end_bso.clone()}; - for bso_num in range { - let users = &dbs.get_users(&bso_num, &fxa).unwrap(); - // divvy up users; - for user in users { - dbs.move_user(user, &bso_num, &collections).unwrap(); - } - } -} diff --git a/tools/migration_rs/src/settings.rs b/tools/migration_rs/src/settings.rs deleted file mode 100644 index 3c30aeac0a..0000000000 --- a/tools/migration_rs/src/settings.rs +++ /dev/null @@ -1,177 +0,0 @@ -//! Application settings objects and initialization -use std::fs::File; -use std::io::{BufRead, BufReader}; -use std::str::FromStr; - -use structopt::StructOpt; -use url::Url; - -use crate::error::{ApiError, ApiErrorKind}; - -static DEFAULT_CHUNK_SIZE: u64 = 1_500_000; -static DEFAULT_READ_CHUNK: u64 = 1_000; -static DEFAULT_OFFSET: u64 = 0; -static DEFAULT_START_BSO: u8 = 0; -static DEFAULT_END_BSO: u8 = 19; -static DEFAULT_FXA_FILE: &str = "users.csv"; -static DEFAULT_SPANNER_POOL_SIZE: usize = 32; - -#[derive(Clone, Debug)] -pub struct Dsns { - pub mysql: Option, - pub spanner: Option, -} - -impl Default for Dsns { - fn default() -> Self { - Dsns { - mysql: None, - spanner: None, - } - } -} -impl Dsns { - fn from_str(raw: &str) -> Result { - let mut result = Self::default(); - let buffer = BufReader::new(File::open(raw)?); - for line in buffer.lines().map(|l| l.unwrap()) { - let url = Url::parse(&line).expect("Invalid DSN url"); - match url.scheme() { - "mysql" => result.mysql = Some(line), - "spanner" => result.spanner = Some(line), - _ => {} - } - } - Ok(result) - } -} - -#[derive(Clone, Debug)] -pub struct User { - pub bso: u8, - pub user_id: Vec, -} - -impl User { - fn from_str(raw: &str) -> Result { - let parts: Vec<&str> = raw.splitn(2, ':').collect(); - if parts.len() == 1 { - return Err(ApiErrorKind::Internal("bad user option".to_owned()).into()); - } - let bso = match u8::from_str(parts[0]) { - Ok(v) => v, - Err(e) => return Err(ApiErrorKind::Internal(format!("invalid bso: {}", e)).into()), - }; - let s_ids = parts[1].split(',').collect::>(); - let mut user_id: Vec = Vec::new(); - for id in s_ids { - user_id.push(id.to_owned()); - } - - Ok(User { bso, user_id }) - } -} - -#[derive(Clone, Debug)] -pub struct Abort { - pub bso: u8, - pub count: u64, -} - -impl Abort { - fn from_str(raw: &str) -> Result { - let parts: Vec<&str> = raw.splitn(2, ':').collect(); - if parts.len() == 1 { - return Err(ApiErrorKind::Internal("Bad abort option".to_owned()).into()); - } - let bso = match u8::from_str(parts[0]) { - Ok(v) => v, - Err(e) => return Err(ApiErrorKind::Internal(format!("invalid bso: {}", e)).into()), - }; - Ok(Abort { - bso, - count: u64::from_str(parts[1]).expect("Bad count for Abort"), - }) - } -} - -#[derive(Clone, Debug)] -pub struct UserRange { - pub offset: u64, - pub limit: u64, -} - -impl UserRange { - fn from_str(raw: &str) -> Result { - let parts: Vec<&str> = raw.splitn(2, ':').collect(); - if parts.len() == 1 { - return Err(ApiErrorKind::Internal("Bad user range option".to_owned()).into()); - } - Ok(UserRange { - offset: u64::from_str(parts[0]).expect("Bad offset"), - limit: u64::from_str(parts[1]).expect("Bad limit"), - }) - } -} - -#[derive(StructOpt, Clone, Debug)] -#[structopt(name = "env")] -pub struct Settings { - #[structopt(long, parse(try_from_str=Dsns::from_str), env = "MIGRATE_DSNS")] - pub dsns: Dsns, - #[structopt(long, env = "MIGRATE_DEBUG")] - pub debug: bool, - #[structopt(short, env = "MIGRATE_VERBOSE")] - pub verbose: bool, - #[structopt(long)] - pub quiet: bool, - #[structopt(long)] - pub full: bool, - #[structopt(long)] - pub deanon: bool, - #[structopt(long)] - pub skip_collections: bool, - #[structopt(long)] - pub dryrun: bool, - #[structopt(long, parse(from_flag = std::ops::Not::not))] - pub human_logs: bool, - pub fxa_file: String, - pub chunk_limit: Option, - pub offset: Option, - pub start_bso: Option, - pub end_bso: Option, - pub readchunk: Option, - pub spanner_pool_size: Option, - #[structopt(long, parse(try_from_str=User::from_str))] - pub user: Option, - #[structopt(long, parse(try_from_str=Abort::from_str))] - pub abort: Option, - #[structopt(long, parse(try_from_str=UserRange::from_str))] - pub user_range: Option, -} - -impl Default for Settings { - fn default() -> Settings { - Settings { - dsns: Dsns::default(), - debug: false, - verbose: false, - quiet: false, - full: false, - deanon: false, - skip_collections: false, - dryrun: false, - human_logs: true, - chunk_limit: Some(DEFAULT_CHUNK_SIZE), - offset: Some(DEFAULT_OFFSET), - start_bso: Some(DEFAULT_START_BSO), - end_bso: Some(DEFAULT_END_BSO), - readchunk: Some(DEFAULT_READ_CHUNK), - spanner_pool_size: Some(DEFAULT_SPANNER_POOL_SIZE), - fxa_file: DEFAULT_FXA_FILE.to_owned(), - user: None, - abort: None, - user_range: None, - } - } -} From 382f342a4c95641e8de1c0700648c922a6abc095 Mon Sep 17 00:00:00 2001 From: Donovan Preston Date: Fri, 27 Mar 2020 16:57:59 -0400 Subject: [PATCH 18/21] chore: remove unused dependencies --- Cargo.toml | 6 ------ src/db/spanner/models.rs | 3 --- src/server/mod.rs | 1 - 3 files changed, 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c79aaccc84..45164e51dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,6 @@ actix-web = "2" actix-rt = "1" actix-cors = "0.2" base64 = "0.12" -bumpalo = "3.2.1" bytes = "0.5" cadence = "0.19.1" chrono = "0.4" @@ -37,21 +36,17 @@ lazy_static = "1.4.0" hawk = "3.1.0" hkdf = "0.8.0" hmac = "0.7" -itertools = "0.9.0" log = { version = "0.4.8", features = ["max_level_info", "release_max_level_info"] } mime = "0.3" mozsvc-common = "0.1" -num_cpus = "1.12" # must match what's used by googleapis-raw protobuf = "2.12" -openssl ="0.10" rand = "0.7" regex = "1.3" sentry = { version = "0.18", features = ["with_curl_transport"] } serde = "1.0" serde_derive = "1.0" serde_json = { version = "1.0", features = ["arbitrary_precision"] } -serde_urlencoded = "0.6.1" scheduled-thread-pool = "0.2" sha2 = "0.8" slog = { version = "2.5", features = ["max_level_info", "release_max_level_info", "dynamic-keys"] } @@ -62,7 +57,6 @@ slog-scope = "4.3" slog-stdlog = "4.0" slog-term = "2.5" time = "0.2" -tokio = "0.2" url = "2.1" uuid = { version = "0.8.1", features = ["serde", "v4"] } validator = "0.10" diff --git a/src/db/spanner/models.rs b/src/db/spanner/models.rs index 0f1fd7a97d..7ca0e5087d 100644 --- a/src/db/spanner/models.rs +++ b/src/db/spanner/models.rs @@ -40,9 +40,6 @@ use googleapis_raw::spanner::v1::{ type_pb::TypeCode, }; -#[allow(unused_imports)] -use itertools::Itertools; - #[allow(unused_imports)] use protobuf::{well_known_types::ListValue, Message, RepeatedField}; diff --git a/src/server/mod.rs b/src/server/mod.rs index af7bed3795..d027deda6f 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -7,7 +7,6 @@ use actix_web::{ dev, http::StatusCode, middleware::errhandlers::ErrorHandlers, web, App, HttpRequest, HttpResponse, HttpServer, }; -// use num_cpus; use crate::db::{pool_from_settings, DbPool}; use crate::error::ApiError; use crate::server::metrics::Metrics; From 53053b41eb8c6efa5e6163b0572b5f88896c1021 Mon Sep 17 00:00:00 2001 From: Donovan Preston Date: Sun, 29 Mar 2020 10:53:12 -0400 Subject: [PATCH 19/21] cargo fmt --- src/server/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/server/mod.rs b/src/server/mod.rs index d027deda6f..d568c828c1 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -2,16 +2,16 @@ use std::sync::Arc; -use actix_cors::Cors; -use actix_web::{ - dev, http::StatusCode, middleware::errhandlers::ErrorHandlers, web, App, HttpRequest, - HttpResponse, HttpServer, -}; use crate::db::{pool_from_settings, DbPool}; use crate::error::ApiError; use crate::server::metrics::Metrics; use crate::settings::{Secrets, ServerLimits, Settings}; use crate::web::{handlers, middleware}; +use actix_cors::Cors; +use actix_web::{ + dev, http::StatusCode, middleware::errhandlers::ErrorHandlers, web, App, HttpRequest, + HttpResponse, HttpServer, +}; use cadence::StatsdClient; pub const BSO_ID_REGEX: &str = r"[ -~]{1,64}"; From 0741104ec8d516b5ebe25399e2baa805a5d207a5 Mon Sep 17 00:00:00 2001 From: mirefly Date: Wed, 18 Mar 2020 15:02:49 -0600 Subject: [PATCH 20/21] fix: do not populate mysql CollectionCache with invalid values Closes #239 --- src/db/mysql/models.rs | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/db/mysql/models.rs b/src/db/mysql/models.rs index d2b35b9dab..44f75f6b5c 100644 --- a/src/db/mysql/models.rs +++ b/src/db/mysql/models.rs @@ -67,6 +67,7 @@ struct MysqlDbSession { coll_locks: HashMap<(u32, i32), CollectionLock>, /// Whether a transaction was started (begin() called) in_transaction: bool, + in_write_transaction: bool, } #[derive(Clone, Debug)] @@ -162,7 +163,7 @@ impl MysqlDb { } // Lock the db - self.begin()?; + self.begin(false)?; let modified = user_collections::table .select(user_collections::modified) .filter(user_collections::user_id.eq(user_id as i32)) @@ -198,7 +199,7 @@ impl MysqlDb { } // Lock the db - self.begin()?; + self.begin(true)?; let modified = user_collections::table .select(user_collections::modified) .filter(user_collections::user_id.eq(user_id as i32)) @@ -224,11 +225,14 @@ impl MysqlDb { Ok(()) } - pub(super) fn begin(&self) -> Result<()> { + pub(super) fn begin(&self, for_write: bool) -> Result<()> { self.conn .transaction_manager() .begin_transaction(&self.conn)?; self.session.borrow_mut().in_transaction = true; + if for_write { + self.session.borrow_mut().in_write_transaction = true; + } Ok(()) } @@ -269,7 +273,7 @@ impl MysqlDb { pub fn delete_storage_sync(&self, user_id: HawkIdentifier) -> Result<()> { let user_id = user_id.legacy_id as i32; - self.begin()?; + self.begin(true)?; // Delete user data. delete(bso::table) .filter(bso::user_id.eq(user_id)) @@ -317,7 +321,6 @@ impl MysqlDb { .execute(&self.conn)?; collections::table.select(last_insert_id).first(&self.conn) })?; - self.coll_cache.put(id, name.to_owned())?; Ok(id) } @@ -343,7 +346,9 @@ impl MysqlDb { .optional()? .ok_or(DbErrorKind::CollectionNotFound)? .id; - self.coll_cache.put(id, name.to_owned())?; + if !self.session.borrow().in_write_transaction { + self.coll_cache.put(id, name.to_owned())?; + } Ok(id) } @@ -775,7 +780,9 @@ impl MysqlDb { for (id, name) in result { names.insert(id, name.clone()); - self.coll_cache.put(id, name)?; + if !self.session.borrow().in_write_transaction { + self.coll_cache.put(id, name)?; + } } } From ba53555474ecf825b804f01ade3589ab68b61fc1 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2020 05:42:08 +0000 Subject: [PATCH 21/21] build(deps): bump serde_json from 1.0.48 to 1.0.50 (#553) --- Cargo.lock | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d3f655a6e5..fe1e4a585f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1622,15 +1622,6 @@ dependencies = [ "winreg", ] -[[package]] -name = "itertools" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" -dependencies = [ - "either", -] - [[package]] name = "itoa" version = "0.4.5" @@ -2722,9 +2713,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.48" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9371ade75d4c2d6cb154141b9752cf3781ec9c05e0e5cf35060e1e70ee7b9c25" +checksum = "78a7a12c167809363ec3bd7329fc0a3369056996de43c4b37ef3cd54a6ce4867" dependencies = [ "itoa", "ryu", @@ -3033,7 +3024,6 @@ dependencies = [ "actix-rt", "actix-web", "base64 0.12.0", - "bumpalo", "bytes 0.5.4", "cadence", "chrono", @@ -3051,13 +3041,10 @@ dependencies = [ "hawk", "hkdf", "hmac", - "itertools", "lazy_static", "log", "mime", "mozsvc-common", - "num_cpus", - "openssl", "protobuf", "rand 0.7.3", "regex", @@ -3066,7 +3053,6 @@ dependencies = [ "serde 1.0.105", "serde_derive", "serde_json", - "serde_urlencoded 0.6.1", "sha2", "slog", "slog-async", @@ -3076,7 +3062,6 @@ dependencies = [ "slog-stdlog", "slog-term", "time 0.2.9", - "tokio 0.2.13", "url 2.1.1", "uuid 0.8.1", "validator",