Skip to content

Commit 431dc2a

Browse files
authored
chore: update sources and regenerate (#5254)
1 parent 381d7ba commit 431dc2a

95 files changed

Lines changed: 132311 additions & 6862 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

librarian.yaml

Lines changed: 4 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ sources:
1919
commit: b407e8416e3893036aee5af9a12bd9b6a0e2b2e6
2020
sha256: 55912546338433f465a552e9ef09930c63b9eb697053937416890cff83a8622d
2121
discovery:
22-
commit: 3910620cfc0751697395bdfa2a837354b24425fc
23-
sha256: 8b4640b40b43dcdd7d3e88ce610cf3787db82d8ff54c8897bfeebfd17509c1b7
22+
commit: dd5e36b667e8548043b869f5864a1b2ec5d2199d
23+
sha256: 2f2d0a16898efe4ef50b4d3921e8247cc22d651256ae7dc122364c31dd7f7bac
2424
googleapis:
25-
commit: 59d5f2b46924714af627ac29ea6de78641a00835
26-
sha256: 82a521f299cee025f1ffc0bf2e593b66d8c98c0e1a9ea994964344436a4abb91
25+
commit: 8d52a0bd5332bec365647fd792102a25a665e9fe
26+
sha256: 8894b58c24fa8ac0dc500af48caee2fcbb3f7d8aa0b5533da297ce5f599128d6
2727
protobuf:
2828
commit: b407e8416e3893036aee5af9a12bd9b6a0e2b2e6
2929
sha256: 55912546338433f465a552e9ef09930c63b9eb697053937416890cff83a8622d
@@ -228,49 +228,6 @@ libraries:
228228
description: Allows usage of the API without watermarks.
229229
- name: EXTENDED_TILE_CACHE_PERIOD
230230
type: INT64
231-
- id: .google.api.MethodSettings.selector
232-
match: |2-
233-
publishing:
234-
method_settings:
235-
- selector: google.storage.control.v2.StorageControl.CreateFolder
236-
# method settings for CreateFolder...
237-
replace: |2-
238-
publishing:
239-
method_settings:
240-
- selector: google.storage.control.v2.StorageControl.CreateFolder
241-
# method settings for CreateFolder...
242-
- id: .google.api.MethodSettings.long_running
243-
match: |2-
244-
publishing:
245-
method_settings:
246-
- selector: google.cloud.speech.v2.Speech.BatchRecognize
247-
long_running:
248-
initial_poll_delay: 60s # 1 minute
249-
poll_delay_multiplier: 1.5
250-
max_poll_delay: 360s # 6 minutes
251-
total_poll_timeout: 54000s # 90 minutes
252-
replace: |2-
253-
publishing:
254-
method_settings:
255-
- selector: google.cloud.speech.v2.Speech.BatchRecognize
256-
long_running:
257-
initial_poll_delay: 60s # 1 minute
258-
poll_delay_multiplier: 1.5
259-
max_poll_delay: 360s # 6 minutes
260-
total_poll_timeout: 54000s # 90 minutes
261-
- id: .google.api.MethodSettings.auto_populated_fields
262-
match: |2-
263-
publishing:
264-
method_settings:
265-
- selector: google.example.v1.ExampleService.CreateExample
266-
auto_populated_fields:
267-
- request_id
268-
replace: |2-
269-
publishing:
270-
method_settings:
271-
- selector: google.example.v1.ExampleService.CreateExample
272-
auto_populated_fields:
273-
- request_id
274231
- name: google-cloud-api-cloudquotas-v1
275232
version: 1.7.0
276233
apis:

src/firestore/src/generated/protos/firestore/google.api.rs

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ impl ::prost::Name for CppSettings {
296296
pub struct PhpSettings {
297297
#[prost(message, optional, tag = "1")]
298298
pub common: ::core::option::Option<CommonLanguageSettings>,
299+
#[prost(string, tag = "2")]
300+
pub library_package: ::prost::alloc::string::String,
299301
}
300302
impl ::prost::Name for PhpSettings {
301303
const NAME: &'static str = "PhpSettings";
@@ -439,6 +441,8 @@ pub struct MethodSettings {
439441
pub long_running: ::core::option::Option<method_settings::LongRunning>,
440442
#[prost(string, repeated, tag = "3")]
441443
pub auto_populated_fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
444+
#[prost(message, optional, tag = "4")]
445+
pub batching: ::core::option::Option<BatchingConfigProto>,
442446
}
443447
/// Nested message and enum types in `MethodSettings`.
444448
pub mod method_settings {
@@ -491,6 +495,71 @@ impl ::prost::Name for SelectiveGapicGeneration {
491495
"type.googleapis.com/google.api.SelectiveGapicGeneration".into()
492496
}
493497
}
498+
#[derive(Clone, PartialEq, ::prost::Message)]
499+
pub struct BatchingConfigProto {
500+
#[prost(message, optional, tag = "1")]
501+
pub thresholds: ::core::option::Option<BatchingSettingsProto>,
502+
#[prost(message, optional, tag = "2")]
503+
pub batch_descriptor: ::core::option::Option<BatchingDescriptorProto>,
504+
}
505+
impl ::prost::Name for BatchingConfigProto {
506+
const NAME: &'static str = "BatchingConfigProto";
507+
const PACKAGE: &'static str = "google.api";
508+
fn full_name() -> ::prost::alloc::string::String {
509+
"google.api.BatchingConfigProto".into()
510+
}
511+
fn type_url() -> ::prost::alloc::string::String {
512+
"type.googleapis.com/google.api.BatchingConfigProto".into()
513+
}
514+
}
515+
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
516+
pub struct BatchingSettingsProto {
517+
#[prost(int32, tag = "1")]
518+
pub element_count_threshold: i32,
519+
#[prost(int64, tag = "2")]
520+
pub request_byte_threshold: i64,
521+
#[prost(message, optional, tag = "3")]
522+
pub delay_threshold: ::core::option::Option<::prost_types::Duration>,
523+
#[prost(int32, tag = "4")]
524+
pub element_count_limit: i32,
525+
#[prost(int32, tag = "5")]
526+
pub request_byte_limit: i32,
527+
#[prost(int32, tag = "6")]
528+
pub flow_control_element_limit: i32,
529+
#[prost(int32, tag = "7")]
530+
pub flow_control_byte_limit: i32,
531+
#[prost(enumeration = "FlowControlLimitExceededBehaviorProto", tag = "8")]
532+
pub flow_control_limit_exceeded_behavior: i32,
533+
}
534+
impl ::prost::Name for BatchingSettingsProto {
535+
const NAME: &'static str = "BatchingSettingsProto";
536+
const PACKAGE: &'static str = "google.api";
537+
fn full_name() -> ::prost::alloc::string::String {
538+
"google.api.BatchingSettingsProto".into()
539+
}
540+
fn type_url() -> ::prost::alloc::string::String {
541+
"type.googleapis.com/google.api.BatchingSettingsProto".into()
542+
}
543+
}
544+
#[derive(Clone, PartialEq, ::prost::Message)]
545+
pub struct BatchingDescriptorProto {
546+
#[prost(string, tag = "1")]
547+
pub batched_field: ::prost::alloc::string::String,
548+
#[prost(string, repeated, tag = "2")]
549+
pub discriminator_fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
550+
#[prost(string, tag = "3")]
551+
pub subresponse_field: ::prost::alloc::string::String,
552+
}
553+
impl ::prost::Name for BatchingDescriptorProto {
554+
const NAME: &'static str = "BatchingDescriptorProto";
555+
const PACKAGE: &'static str = "google.api";
556+
fn full_name() -> ::prost::alloc::string::String {
557+
"google.api.BatchingDescriptorProto".into()
558+
}
559+
fn type_url() -> ::prost::alloc::string::String {
560+
"type.googleapis.com/google.api.BatchingDescriptorProto".into()
561+
}
562+
}
494563
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
495564
#[repr(i32)]
496565
pub enum ClientLibraryOrganization {
@@ -564,6 +633,38 @@ impl ClientLibraryDestination {
564633
}
565634
}
566635
}
636+
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
637+
#[repr(i32)]
638+
pub enum FlowControlLimitExceededBehaviorProto {
639+
UnsetBehavior = 0,
640+
ThrowException = 1,
641+
Block = 2,
642+
Ignore = 3,
643+
}
644+
impl FlowControlLimitExceededBehaviorProto {
645+
/// String value of the enum field names used in the ProtoBuf definition.
646+
///
647+
/// The values are not transformed in any way and thus are considered stable
648+
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
649+
pub fn as_str_name(&self) -> &'static str {
650+
match self {
651+
Self::UnsetBehavior => "UNSET_BEHAVIOR",
652+
Self::ThrowException => "THROW_EXCEPTION",
653+
Self::Block => "BLOCK",
654+
Self::Ignore => "IGNORE",
655+
}
656+
}
657+
/// Creates an enum from field names used in the ProtoBuf definition.
658+
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
659+
match value {
660+
"UNSET_BEHAVIOR" => Some(Self::UnsetBehavior),
661+
"THROW_EXCEPTION" => Some(Self::ThrowException),
662+
"BLOCK" => Some(Self::Block),
663+
"IGNORE" => Some(Self::Ignore),
664+
_ => None,
665+
}
666+
}
667+
}
567668
#[derive(Clone, PartialEq, ::prost::Message)]
568669
pub struct RoutingRule {
569670
#[prost(message, repeated, tag = "2")]

0 commit comments

Comments
 (0)