1#[derive(serde::Serialize, serde::Deserialize)]
3#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
4pub struct ListEndpointsRequest {
5 #[prost(string, tag = "1")]
6 pub database: ::prost::alloc::string::String,
7 #[prost(string, repeated, tag = "2")]
8 pub service: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
9}
10#[derive(serde::Serialize, serde::Deserialize)]
11#[derive(Clone, PartialEq, ::prost::Message)]
12pub struct EndpointInfo {
13 #[prost(string, tag = "1")]
15 pub address: ::prost::alloc::string::String,
16 #[prost(uint32, tag = "2")]
17 pub port: u32,
18 #[prost(float, tag = "3")]
19 pub load_factor: f32,
20 #[prost(bool, tag = "4")]
21 pub ssl: bool,
22 #[prost(string, repeated, tag = "5")]
23 pub service: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
24 #[prost(string, tag = "6")]
25 pub location: ::prost::alloc::string::String,
26 #[prost(uint32, tag = "7")]
27 pub node_id: u32,
28 #[prost(string, repeated, tag = "8")]
31 pub ip_v4: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
32 #[prost(string, repeated, tag = "9")]
33 pub ip_v6: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
34 #[prost(string, tag = "10")]
39 pub ssl_target_name_override: ::prost::alloc::string::String,
40}
41#[derive(serde::Serialize, serde::Deserialize)]
42#[derive(Clone, PartialEq, ::prost::Message)]
43pub struct ListEndpointsResult {
44 #[prost(message, repeated, tag = "1")]
45 pub endpoints: ::prost::alloc::vec::Vec<EndpointInfo>,
46 #[prost(string, tag = "2")]
47 pub self_location: ::prost::alloc::string::String,
48}
49#[derive(serde::Serialize, serde::Deserialize)]
50#[derive(Clone, PartialEq, ::prost::Message)]
51pub struct ListEndpointsResponse {
52 #[prost(message, optional, tag = "1")]
53 pub operation: ::core::option::Option<super::operations::Operation>,
54}
55#[derive(serde::Serialize, serde::Deserialize)]
56#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
57pub struct WhoAmIRequest {
58 #[prost(bool, tag = "1")]
60 pub include_groups: bool,
61}
62#[derive(serde::Serialize, serde::Deserialize)]
63#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
64pub struct WhoAmIResult {
65 #[prost(string, tag = "1")]
67 pub user: ::prost::alloc::string::String,
68 #[prost(string, repeated, tag = "2")]
70 pub groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
71}
72#[derive(serde::Serialize, serde::Deserialize)]
73#[derive(Clone, PartialEq, ::prost::Message)]
74pub struct WhoAmIResponse {
75 #[prost(message, optional, tag = "1")]
76 pub operation: ::core::option::Option<super::operations::Operation>,
77}
78#[derive(serde::Serialize, serde::Deserialize)]
79#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
80pub struct NodeLocation {
81 #[deprecated]
83 #[prost(uint32, optional, tag = "1")]
84 pub data_center_num: ::core::option::Option<u32>,
85 #[deprecated]
86 #[prost(uint32, optional, tag = "2")]
87 pub room_num: ::core::option::Option<u32>,
88 #[deprecated]
89 #[prost(uint32, optional, tag = "3")]
90 pub rack_num: ::core::option::Option<u32>,
91 #[deprecated]
92 #[prost(uint32, optional, tag = "4")]
93 pub body_num: ::core::option::Option<u32>,
94 #[deprecated]
96 #[prost(uint32, optional, tag = "100500")]
97 pub body: ::core::option::Option<u32>,
98 #[prost(string, optional, tag = "10")]
99 pub data_center: ::core::option::Option<::prost::alloc::string::String>,
100 #[prost(string, optional, tag = "20")]
101 pub module: ::core::option::Option<::prost::alloc::string::String>,
102 #[prost(string, optional, tag = "30")]
103 pub rack: ::core::option::Option<::prost::alloc::string::String>,
104 #[prost(string, optional, tag = "40")]
105 pub unit: ::core::option::Option<::prost::alloc::string::String>,
106}