1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamespaceInfo {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(enumeration = "super::super::enums::v1::NamespaceState", tag = "2")]
    pub state: i32,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub owner_email: ::prost::alloc::string::String,
    /// A key-value map for any customized purpose.
    #[prost(map = "string, string", tag = "5")]
    pub data:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    #[prost(string, tag = "6")]
    pub id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamespaceConfig {
    #[prost(message, optional, tag = "1")]
    pub workflow_execution_retention_ttl: ::core::option::Option<::prost_types::Duration>,
    #[prost(message, optional, tag = "2")]
    pub bad_binaries: ::core::option::Option<BadBinaries>,
    /// If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
    #[prost(enumeration = "super::super::enums::v1::ArchivalState", tag = "3")]
    pub history_archival_state: i32,
    #[prost(string, tag = "4")]
    pub history_archival_uri: ::prost::alloc::string::String,
    /// If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
    #[prost(enumeration = "super::super::enums::v1::ArchivalState", tag = "5")]
    pub visibility_archival_state: i32,
    #[prost(string, tag = "6")]
    pub visibility_archival_uri: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BadBinaries {
    #[prost(map = "string, message", tag = "1")]
    pub binaries: ::std::collections::HashMap<::prost::alloc::string::String, BadBinaryInfo>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BadBinaryInfo {
    #[prost(string, tag = "1")]
    pub reason: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub operator: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub create_time: ::core::option::Option<::prost_types::Timestamp>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateNamespaceInfo {
    #[prost(string, tag = "1")]
    pub description: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub owner_email: ::prost::alloc::string::String,
    /// A key-value map for any customized purpose.
    #[prost(map = "string, string", tag = "3")]
    pub data:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}