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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListEndpointsRequest {
#[prost(string, tag="1")]
pub database: ::prost::alloc::string::String,
#[prost(string, repeated, tag="2")]
pub service: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EndpointInfo {
#[prost(string, tag="1")]
pub address: ::prost::alloc::string::String,
#[prost(uint32, tag="2")]
pub port: u32,
#[prost(float, tag="3")]
pub load_factor: f32,
#[prost(bool, tag="4")]
pub ssl: bool,
#[prost(string, repeated, tag="5")]
pub service: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, tag="6")]
pub location: ::prost::alloc::string::String,
#[prost(uint32, tag="7")]
pub node_id: u32,
#[prost(string, repeated, tag="8")]
pub ip_v4: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, repeated, tag="9")]
pub ip_v6: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, tag="10")]
pub ssl_target_name_override: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListEndpointsResult {
#[prost(message, repeated, tag="1")]
pub endpoints: ::prost::alloc::vec::Vec<EndpointInfo>,
#[prost(string, tag="2")]
pub self_location: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListEndpointsResponse {
#[prost(message, optional, tag="1")]
pub operation: ::core::option::Option<super::operations::Operation>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WhoAmIRequest {
#[prost(bool, tag="1")]
pub include_groups: bool,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WhoAmIResult {
#[prost(string, tag="1")]
pub user: ::prost::alloc::string::String,
#[prost(string, repeated, tag="2")]
pub groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WhoAmIResponse {
#[prost(message, optional, tag="1")]
pub operation: ::core::option::Option<super::operations::Operation>,
}