GRPC Core  9.0.0
config_source.upb.h
Go to the documentation of this file.
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  * envoy/api/v2/core/config_source.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_API_V2_CORE_CONFIG_SOURCE_PROTO_UPB_H_
10 #define ENVOY_API_V2_CORE_CONFIG_SOURCE_PROTO_UPB_H_
11 
12 #include "upb/generated_util.h"
13 #include "upb/msg.h"
14 #include "upb/decode.h"
15 #include "upb/encode.h"
16 
17 #include "upb/port_def.inc"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
33 extern const upb_msglayout envoy_api_v2_core_ApiConfigSource_msginit;
34 extern const upb_msglayout envoy_api_v2_core_AggregatedConfigSource_msginit;
35 extern const upb_msglayout envoy_api_v2_core_SelfConfigSource_msginit;
36 extern const upb_msglayout envoy_api_v2_core_RateLimitSettings_msginit;
37 extern const upb_msglayout envoy_api_v2_core_ConfigSource_msginit;
42 extern const upb_msglayout envoy_api_v2_core_GrpcService_msginit;
43 extern const upb_msglayout google_protobuf_DoubleValue_msginit;
44 extern const upb_msglayout google_protobuf_Duration_msginit;
45 extern const upb_msglayout google_protobuf_UInt32Value_msginit;
46 
47 typedef enum {
53 
54 
55 /* envoy.api.v2.core.ApiConfigSource */
56 
59 }
61  upb_arena *arena) {
63  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_core_ApiConfigSource_msginit, arena)) ? ret : NULL;
64 }
65 UPB_INLINE char *envoy_api_v2_core_ApiConfigSource_serialize(const envoy_api_v2_core_ApiConfigSource *msg, upb_arena *arena, size_t *len) {
66  return upb_encode(msg, &envoy_api_v2_core_ApiConfigSource_msginit, arena, len);
67 }
68 
69 UPB_INLINE int32_t envoy_api_v2_core_ApiConfigSource_api_type(const envoy_api_v2_core_ApiConfigSource *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
70 UPB_INLINE upb_strview const* envoy_api_v2_core_ApiConfigSource_cluster_names(const envoy_api_v2_core_ApiConfigSource *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(24, 40), len); }
71 UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_core_ApiConfigSource_refresh_delay(const envoy_api_v2_core_ApiConfigSource *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(12, 16)); }
72 UPB_INLINE const struct envoy_api_v2_core_GrpcService* const* envoy_api_v2_core_ApiConfigSource_grpc_services(const envoy_api_v2_core_ApiConfigSource *msg, size_t *len) { return (const struct envoy_api_v2_core_GrpcService* const*)_upb_array_accessor(msg, UPB_SIZE(28, 48), len); }
73 UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_core_ApiConfigSource_request_timeout(const envoy_api_v2_core_ApiConfigSource *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(16, 24)); }
75 UPB_INLINE bool envoy_api_v2_core_ApiConfigSource_set_node_on_first_message_only(const envoy_api_v2_core_ApiConfigSource *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(8, 8)); }
76 
78  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
79 }
81  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 40), len);
82 }
83 UPB_INLINE upb_strview* envoy_api_v2_core_ApiConfigSource_resize_cluster_names(envoy_api_v2_core_ApiConfigSource *msg, size_t len, upb_arena *arena) {
84  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(24, 40), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
85 }
86 UPB_INLINE bool envoy_api_v2_core_ApiConfigSource_add_cluster_names(envoy_api_v2_core_ApiConfigSource *msg, upb_strview val, upb_arena *arena) {
87  return _upb_array_append_accessor(
88  msg, UPB_SIZE(24, 40), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
89 }
91  UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(12, 16)) = value;
92 }
95  if (sub == NULL) {
96  sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
97  if (!sub) return NULL;
99  }
100  return sub;
101 }
103  return (struct envoy_api_v2_core_GrpcService**)_upb_array_mutable_accessor(msg, UPB_SIZE(28, 48), len);
104 }
106  return (struct envoy_api_v2_core_GrpcService**)_upb_array_resize_accessor(msg, UPB_SIZE(28, 48), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
107 }
110  bool ok = _upb_array_append_accessor(
111  msg, UPB_SIZE(28, 48), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
112  if (!ok) return NULL;
113  return sub;
114 }
116  UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(16, 24)) = value;
117 }
120  if (sub == NULL) {
121  sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
122  if (!sub) return NULL;
124  }
125  return sub;
126 }
128  UPB_FIELD_AT(msg, envoy_api_v2_core_RateLimitSettings*, UPB_SIZE(20, 32)) = value;
129 }
132  if (sub == NULL) {
134  if (!sub) return NULL;
136  }
137  return sub;
138 }
140  UPB_FIELD_AT(msg, bool, UPB_SIZE(8, 8)) = value;
141 }
142 
143 /* envoy.api.v2.core.AggregatedConfigSource */
144 
147 }
149  upb_arena *arena) {
151  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_core_AggregatedConfigSource_msginit, arena)) ? ret : NULL;
152 }
153 UPB_INLINE char *envoy_api_v2_core_AggregatedConfigSource_serialize(const envoy_api_v2_core_AggregatedConfigSource *msg, upb_arena *arena, size_t *len) {
154  return upb_encode(msg, &envoy_api_v2_core_AggregatedConfigSource_msginit, arena, len);
155 }
156 
157 
158 
159 /* envoy.api.v2.core.SelfConfigSource */
160 
163 }
165  upb_arena *arena) {
167  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_core_SelfConfigSource_msginit, arena)) ? ret : NULL;
168 }
169 UPB_INLINE char *envoy_api_v2_core_SelfConfigSource_serialize(const envoy_api_v2_core_SelfConfigSource *msg, upb_arena *arena, size_t *len) {
170  return upb_encode(msg, &envoy_api_v2_core_SelfConfigSource_msginit, arena, len);
171 }
172 
173 
174 
175 /* envoy.api.v2.core.RateLimitSettings */
176 
179 }
181  upb_arena *arena) {
183  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_core_RateLimitSettings_msginit, arena)) ? ret : NULL;
184 }
185 UPB_INLINE char *envoy_api_v2_core_RateLimitSettings_serialize(const envoy_api_v2_core_RateLimitSettings *msg, upb_arena *arena, size_t *len) {
186  return upb_encode(msg, &envoy_api_v2_core_RateLimitSettings_msginit, arena, len);
187 }
188 
189 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_api_v2_core_RateLimitSettings_max_tokens(const envoy_api_v2_core_RateLimitSettings *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt32Value*, UPB_SIZE(0, 0)); }
190 UPB_INLINE const struct google_protobuf_DoubleValue* envoy_api_v2_core_RateLimitSettings_fill_rate(const envoy_api_v2_core_RateLimitSettings *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_DoubleValue*, UPB_SIZE(4, 8)); }
191 
193  UPB_FIELD_AT(msg, struct google_protobuf_UInt32Value*, UPB_SIZE(0, 0)) = value;
194 }
197  if (sub == NULL) {
198  sub = (struct google_protobuf_UInt32Value*)upb_msg_new(&google_protobuf_UInt32Value_msginit, arena);
199  if (!sub) return NULL;
201  }
202  return sub;
203 }
205  UPB_FIELD_AT(msg, struct google_protobuf_DoubleValue*, UPB_SIZE(4, 8)) = value;
206 }
209  if (sub == NULL) {
210  sub = (struct google_protobuf_DoubleValue*)upb_msg_new(&google_protobuf_DoubleValue_msginit, arena);
211  if (!sub) return NULL;
213  }
214  return sub;
215 }
216 
217 /* envoy.api.v2.core.ConfigSource */
218 
221 }
223  upb_arena *arena) {
225  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_core_ConfigSource_msginit, arena)) ? ret : NULL;
226 }
227 UPB_INLINE char *envoy_api_v2_core_ConfigSource_serialize(const envoy_api_v2_core_ConfigSource *msg, upb_arena *arena, size_t *len) {
228  return upb_encode(msg, &envoy_api_v2_core_ConfigSource_msginit, arena, len);
229 }
230 
231 typedef enum {
239 
240 UPB_INLINE bool envoy_api_v2_core_ConfigSource_has_path(const envoy_api_v2_core_ConfigSource *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 1); }
241 UPB_INLINE upb_strview envoy_api_v2_core_ConfigSource_path(const envoy_api_v2_core_ConfigSource *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), UPB_SIZE(12, 24), 1, upb_strview_make("", strlen(""))); }
242 UPB_INLINE bool envoy_api_v2_core_ConfigSource_has_api_config_source(const envoy_api_v2_core_ConfigSource *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 2); }
243 UPB_INLINE const envoy_api_v2_core_ApiConfigSource* envoy_api_v2_core_ConfigSource_api_config_source(const envoy_api_v2_core_ConfigSource *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_core_ApiConfigSource*, UPB_SIZE(4, 8), UPB_SIZE(12, 24), 2, NULL); }
244 UPB_INLINE bool envoy_api_v2_core_ConfigSource_has_ads(const envoy_api_v2_core_ConfigSource *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 3); }
245 UPB_INLINE const envoy_api_v2_core_AggregatedConfigSource* envoy_api_v2_core_ConfigSource_ads(const envoy_api_v2_core_ConfigSource *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_core_AggregatedConfigSource*, UPB_SIZE(4, 8), UPB_SIZE(12, 24), 3, NULL); }
246 UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_core_ConfigSource_initial_fetch_timeout(const envoy_api_v2_core_ConfigSource *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(0, 0)); }
247 UPB_INLINE bool envoy_api_v2_core_ConfigSource_has_self(const envoy_api_v2_core_ConfigSource *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 5); }
248 UPB_INLINE const envoy_api_v2_core_SelfConfigSource* envoy_api_v2_core_ConfigSource_self(const envoy_api_v2_core_ConfigSource *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_core_SelfConfigSource*, UPB_SIZE(4, 8), UPB_SIZE(12, 24), 5, NULL); }
249 
251  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), value, UPB_SIZE(12, 24), 1);
252 }
254  UPB_WRITE_ONEOF(msg, envoy_api_v2_core_ApiConfigSource*, UPB_SIZE(4, 8), value, UPB_SIZE(12, 24), 2);
255 }
258  if (sub == NULL) {
260  if (!sub) return NULL;
262  }
263  return sub;
264 }
266  UPB_WRITE_ONEOF(msg, envoy_api_v2_core_AggregatedConfigSource*, UPB_SIZE(4, 8), value, UPB_SIZE(12, 24), 3);
267 }
270  if (sub == NULL) {
272  if (!sub) return NULL;
274  }
275  return sub;
276 }
278  UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(0, 0)) = value;
279 }
282  if (sub == NULL) {
283  sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
284  if (!sub) return NULL;
286  }
287  return sub;
288 }
290  UPB_WRITE_ONEOF(msg, envoy_api_v2_core_SelfConfigSource*, UPB_SIZE(4, 8), value, UPB_SIZE(12, 24), 5);
291 }
294  if (sub == NULL) {
296  if (!sub) return NULL;
298  }
299  return sub;
300 }
301 
302 #ifdef __cplusplus
303 } /* extern "C" */
304 #endif
305 
306 #include "upb/port_undef.inc"
307 
308 #endif /* ENVOY_API_V2_CORE_CONFIG_SOURCE_PROTO_UPB_H_ */
UPB_INLINE void envoy_api_v2_core_ConfigSource_set_api_config_source(envoy_api_v2_core_ConfigSource *msg, envoy_api_v2_core_ApiConfigSource *value)
Definition: config_source.upb.h:253
UPB_INLINE envoy_api_v2_core_ConfigSource_config_source_specifier_oneofcases envoy_api_v2_core_ConfigSource_config_source_specifier_case(const envoy_api_v2_core_ConfigSource *msg)
Definition: config_source.upb.h:238
UPB_INLINE const struct google_protobuf_DoubleValue * envoy_api_v2_core_RateLimitSettings_fill_rate(const envoy_api_v2_core_RateLimitSettings *msg)
Definition: config_source.upb.h:190
UPB_INLINE void envoy_api_v2_core_ConfigSource_set_path(envoy_api_v2_core_ConfigSource *msg, upb_strview value)
Definition: config_source.upb.h:250
UPB_INLINE envoy_api_v2_core_AggregatedConfigSource * envoy_api_v2_core_AggregatedConfigSource_parse(const char *buf, size_t size, upb_arena *arena)
Definition: config_source.upb.h:148
UPB_INLINE const struct google_protobuf_Duration * envoy_api_v2_core_ApiConfigSource_request_timeout(const envoy_api_v2_core_ApiConfigSource *msg)
Definition: config_source.upb.h:73
envoy_api_v2_core_ConfigSource_config_source_specifier_oneofcases
Definition: config_source.upb.h:231
@ envoy_api_v2_core_ConfigSource_config_source_specifier_ads
Definition: config_source.upb.h:234
@ envoy_api_v2_core_ConfigSource_config_source_specifier_api_config_source
Definition: config_source.upb.h:233
@ envoy_api_v2_core_ConfigSource_config_source_specifier_NOT_SET
Definition: config_source.upb.h:236
@ envoy_api_v2_core_ConfigSource_config_source_specifier_self
Definition: config_source.upb.h:235
@ envoy_api_v2_core_ConfigSource_config_source_specifier_path
Definition: config_source.upb.h:232
UPB_INLINE char * envoy_api_v2_core_ApiConfigSource_serialize(const envoy_api_v2_core_ApiConfigSource *msg, upb_arena *arena, size_t *len)
Definition: config_source.upb.h:65
UPB_INLINE struct envoy_api_v2_core_AggregatedConfigSource * envoy_api_v2_core_ConfigSource_mutable_ads(envoy_api_v2_core_ConfigSource *msg, upb_arena *arena)
Definition: config_source.upb.h:268
UPB_INLINE bool envoy_api_v2_core_ConfigSource_has_self(const envoy_api_v2_core_ConfigSource *msg)
Definition: config_source.upb.h:247
UPB_INLINE void envoy_api_v2_core_RateLimitSettings_set_max_tokens(envoy_api_v2_core_RateLimitSettings *msg, struct google_protobuf_UInt32Value *value)
Definition: config_source.upb.h:192
UPB_INLINE struct envoy_api_v2_core_GrpcService ** envoy_api_v2_core_ApiConfigSource_mutable_grpc_services(envoy_api_v2_core_ApiConfigSource *msg, size_t *len)
Definition: config_source.upb.h:102
UPB_INLINE const envoy_api_v2_core_ApiConfigSource * envoy_api_v2_core_ConfigSource_api_config_source(const envoy_api_v2_core_ConfigSource *msg)
Definition: config_source.upb.h:243
UPB_INLINE char * envoy_api_v2_core_RateLimitSettings_serialize(const envoy_api_v2_core_RateLimitSettings *msg, upb_arena *arena, size_t *len)
Definition: config_source.upb.h:185
UPB_INLINE void envoy_api_v2_core_ApiConfigSource_set_request_timeout(envoy_api_v2_core_ApiConfigSource *msg, struct google_protobuf_Duration *value)
Definition: config_source.upb.h:115
UPB_INLINE upb_strview * envoy_api_v2_core_ApiConfigSource_mutable_cluster_names(envoy_api_v2_core_ApiConfigSource *msg, size_t *len)
Definition: config_source.upb.h:80
UPB_INLINE struct envoy_api_v2_core_SelfConfigSource * envoy_api_v2_core_ConfigSource_mutable_self(envoy_api_v2_core_ConfigSource *msg, upb_arena *arena)
Definition: config_source.upb.h:292
UPB_INLINE struct envoy_api_v2_core_ApiConfigSource * envoy_api_v2_core_ConfigSource_mutable_api_config_source(envoy_api_v2_core_ConfigSource *msg, upb_arena *arena)
Definition: config_source.upb.h:256
const upb_msglayout envoy_api_v2_core_SelfConfigSource_msginit
Definition: config_source.upb.c:47
UPB_INLINE char * envoy_api_v2_core_ConfigSource_serialize(const envoy_api_v2_core_ConfigSource *msg, upb_arena *arena, size_t *len)
Definition: config_source.upb.h:227
struct envoy_api_v2_core_RateLimitSettings envoy_api_v2_core_RateLimitSettings
Definition: config_source.upb.h:31
UPB_INLINE const struct google_protobuf_Duration * envoy_api_v2_core_ConfigSource_initial_fetch_timeout(const envoy_api_v2_core_ConfigSource *msg)
Definition: config_source.upb.h:246
struct envoy_api_v2_core_AggregatedConfigSource envoy_api_v2_core_AggregatedConfigSource
Definition: config_source.upb.h:29
UPB_INLINE struct google_protobuf_DoubleValue * envoy_api_v2_core_RateLimitSettings_mutable_fill_rate(envoy_api_v2_core_RateLimitSettings *msg, upb_arena *arena)
Definition: config_source.upb.h:207
const upb_msglayout google_protobuf_UInt32Value_msginit
Definition: wrappers.upb.c:69
UPB_INLINE envoy_api_v2_core_RateLimitSettings * envoy_api_v2_core_RateLimitSettings_parse(const char *buf, size_t size, upb_arena *arena)
Definition: config_source.upb.h:180
UPB_INLINE envoy_api_v2_core_ConfigSource * envoy_api_v2_core_ConfigSource_parse(const char *buf, size_t size, upb_arena *arena)
Definition: config_source.upb.h:222
UPB_INLINE void envoy_api_v2_core_ApiConfigSource_set_rate_limit_settings(envoy_api_v2_core_ApiConfigSource *msg, envoy_api_v2_core_RateLimitSettings *value)
Definition: config_source.upb.h:127
UPB_INLINE const envoy_api_v2_core_SelfConfigSource * envoy_api_v2_core_ConfigSource_self(const envoy_api_v2_core_ConfigSource *msg)
Definition: config_source.upb.h:248
envoy_api_v2_core_ApiConfigSource_ApiType
Definition: config_source.upb.h:47
@ envoy_api_v2_core_ApiConfigSource_UNSUPPORTED_REST_LEGACY
Definition: config_source.upb.h:48
@ envoy_api_v2_core_ApiConfigSource_DELTA_GRPC
Definition: config_source.upb.h:51
@ envoy_api_v2_core_ApiConfigSource_REST
Definition: config_source.upb.h:49
@ envoy_api_v2_core_ApiConfigSource_GRPC
Definition: config_source.upb.h:50
UPB_INLINE envoy_api_v2_core_ApiConfigSource * envoy_api_v2_core_ApiConfigSource_parse(const char *buf, size_t size, upb_arena *arena)
Definition: config_source.upb.h:60
struct envoy_api_v2_core_ApiConfigSource envoy_api_v2_core_ApiConfigSource
Definition: config_source.upb.h:28
UPB_INLINE struct google_protobuf_Duration * envoy_api_v2_core_ApiConfigSource_mutable_refresh_delay(envoy_api_v2_core_ApiConfigSource *msg, upb_arena *arena)
Definition: config_source.upb.h:93
const upb_msglayout google_protobuf_DoubleValue_msginit
Definition: wrappers.upb.c:19
UPB_INLINE envoy_api_v2_core_SelfConfigSource * envoy_api_v2_core_SelfConfigSource_new(upb_arena *arena)
Definition: config_source.upb.h:161
const upb_msglayout envoy_api_v2_core_AggregatedConfigSource_msginit
Definition: config_source.upb.c:41
UPB_INLINE void envoy_api_v2_core_RateLimitSettings_set_fill_rate(envoy_api_v2_core_RateLimitSettings *msg, struct google_protobuf_DoubleValue *value)
Definition: config_source.upb.h:204
const upb_msglayout envoy_api_v2_core_RateLimitSettings_msginit
Definition: config_source.upb.c:63
UPB_INLINE int32_t envoy_api_v2_core_ApiConfigSource_api_type(const envoy_api_v2_core_ApiConfigSource *msg)
Definition: config_source.upb.h:69
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_core_RateLimitSettings_mutable_max_tokens(envoy_api_v2_core_RateLimitSettings *msg, upb_arena *arena)
Definition: config_source.upb.h:195
UPB_INLINE struct google_protobuf_Duration * envoy_api_v2_core_ConfigSource_mutable_initial_fetch_timeout(envoy_api_v2_core_ConfigSource *msg, upb_arena *arena)
Definition: config_source.upb.h:280
UPB_INLINE const struct envoy_api_v2_core_GrpcService *const * envoy_api_v2_core_ApiConfigSource_grpc_services(const envoy_api_v2_core_ApiConfigSource *msg, size_t *len)
Definition: config_source.upb.h:72
UPB_INLINE bool envoy_api_v2_core_ConfigSource_has_api_config_source(const envoy_api_v2_core_ConfigSource *msg)
Definition: config_source.upb.h:242
UPB_INLINE upb_strview envoy_api_v2_core_ConfigSource_path(const envoy_api_v2_core_ConfigSource *msg)
Definition: config_source.upb.h:241
struct envoy_api_v2_core_ConfigSource envoy_api_v2_core_ConfigSource
Definition: config_source.upb.h:32
UPB_INLINE envoy_api_v2_core_SelfConfigSource * envoy_api_v2_core_SelfConfigSource_parse(const char *buf, size_t size, upb_arena *arena)
Definition: config_source.upb.h:164
UPB_INLINE envoy_api_v2_core_RateLimitSettings * envoy_api_v2_core_RateLimitSettings_new(upb_arena *arena)
Definition: config_source.upb.h:177
UPB_INLINE char * envoy_api_v2_core_SelfConfigSource_serialize(const envoy_api_v2_core_SelfConfigSource *msg, upb_arena *arena, size_t *len)
Definition: config_source.upb.h:169
UPB_INLINE struct google_protobuf_Duration * envoy_api_v2_core_ApiConfigSource_mutable_request_timeout(envoy_api_v2_core_ApiConfigSource *msg, upb_arena *arena)
Definition: config_source.upb.h:118
UPB_INLINE void envoy_api_v2_core_ConfigSource_set_ads(envoy_api_v2_core_ConfigSource *msg, envoy_api_v2_core_AggregatedConfigSource *value)
Definition: config_source.upb.h:265
UPB_INLINE void envoy_api_v2_core_ConfigSource_set_initial_fetch_timeout(envoy_api_v2_core_ConfigSource *msg, struct google_protobuf_Duration *value)
Definition: config_source.upb.h:277
struct envoy_api_v2_core_SelfConfigSource envoy_api_v2_core_SelfConfigSource
Definition: config_source.upb.h:30
UPB_INLINE char * envoy_api_v2_core_AggregatedConfigSource_serialize(const envoy_api_v2_core_AggregatedConfigSource *msg, upb_arena *arena, size_t *len)
Definition: config_source.upb.h:153
UPB_INLINE struct envoy_api_v2_core_GrpcService * envoy_api_v2_core_ApiConfigSource_add_grpc_services(envoy_api_v2_core_ApiConfigSource *msg, upb_arena *arena)
Definition: config_source.upb.h:108
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_core_RateLimitSettings_max_tokens(const envoy_api_v2_core_RateLimitSettings *msg)
Definition: config_source.upb.h:189
const upb_msglayout google_protobuf_Duration_msginit
Definition: duration.upb.c:20
UPB_INLINE const envoy_api_v2_core_AggregatedConfigSource * envoy_api_v2_core_ConfigSource_ads(const envoy_api_v2_core_ConfigSource *msg)
Definition: config_source.upb.h:245
UPB_INLINE bool envoy_api_v2_core_ConfigSource_has_path(const envoy_api_v2_core_ConfigSource *msg)
Definition: config_source.upb.h:240
UPB_INLINE bool envoy_api_v2_core_ConfigSource_has_ads(const envoy_api_v2_core_ConfigSource *msg)
Definition: config_source.upb.h:244
UPB_INLINE bool envoy_api_v2_core_ApiConfigSource_set_node_on_first_message_only(const envoy_api_v2_core_ApiConfigSource *msg)
Definition: config_source.upb.h:75
const upb_msglayout envoy_api_v2_core_ConfigSource_msginit
Definition: config_source.upb.c:84
const upb_msglayout envoy_api_v2_core_GrpcService_msginit
Definition: grpc_service.upb.c:35
UPB_INLINE upb_strview * envoy_api_v2_core_ApiConfigSource_resize_cluster_names(envoy_api_v2_core_ApiConfigSource *msg, size_t len, upb_arena *arena)
Definition: config_source.upb.h:83
UPB_INLINE bool envoy_api_v2_core_ApiConfigSource_add_cluster_names(envoy_api_v2_core_ApiConfigSource *msg, upb_strview val, upb_arena *arena)
Definition: config_source.upb.h:86
UPB_INLINE envoy_api_v2_core_ApiConfigSource * envoy_api_v2_core_ApiConfigSource_new(upb_arena *arena)
Definition: config_source.upb.h:57
UPB_INLINE envoy_api_v2_core_ConfigSource * envoy_api_v2_core_ConfigSource_new(upb_arena *arena)
Definition: config_source.upb.h:219
UPB_INLINE envoy_api_v2_core_AggregatedConfigSource * envoy_api_v2_core_AggregatedConfigSource_new(upb_arena *arena)
Definition: config_source.upb.h:145
UPB_INLINE const envoy_api_v2_core_RateLimitSettings * envoy_api_v2_core_ApiConfigSource_rate_limit_settings(const envoy_api_v2_core_ApiConfigSource *msg)
Definition: config_source.upb.h:74
UPB_INLINE void envoy_api_v2_core_ApiConfigSource_set_set_node_on_first_message_only(envoy_api_v2_core_ApiConfigSource *msg, bool value)
Definition: config_source.upb.h:139
UPB_INLINE struct envoy_api_v2_core_GrpcService ** envoy_api_v2_core_ApiConfigSource_resize_grpc_services(envoy_api_v2_core_ApiConfigSource *msg, size_t len, upb_arena *arena)
Definition: config_source.upb.h:105
UPB_INLINE const struct google_protobuf_Duration * envoy_api_v2_core_ApiConfigSource_refresh_delay(const envoy_api_v2_core_ApiConfigSource *msg)
Definition: config_source.upb.h:71
UPB_INLINE upb_strview const * envoy_api_v2_core_ApiConfigSource_cluster_names(const envoy_api_v2_core_ApiConfigSource *msg, size_t *len)
Definition: config_source.upb.h:70
UPB_INLINE void envoy_api_v2_core_ConfigSource_set_self(envoy_api_v2_core_ConfigSource *msg, envoy_api_v2_core_SelfConfigSource *value)
Definition: config_source.upb.h:289
UPB_INLINE void envoy_api_v2_core_ApiConfigSource_set_refresh_delay(envoy_api_v2_core_ApiConfigSource *msg, struct google_protobuf_Duration *value)
Definition: config_source.upb.h:90
UPB_INLINE void envoy_api_v2_core_ApiConfigSource_set_api_type(envoy_api_v2_core_ApiConfigSource *msg, int32_t value)
Definition: config_source.upb.h:77
UPB_INLINE struct envoy_api_v2_core_RateLimitSettings * envoy_api_v2_core_ApiConfigSource_mutable_rate_limit_settings(envoy_api_v2_core_ApiConfigSource *msg, upb_arena *arena)
Definition: config_source.upb.h:130
const upb_msglayout envoy_api_v2_core_ApiConfigSource_msginit
Definition: config_source.upb.c:35
struct google_protobuf_Duration google_protobuf_Duration
Definition: duration.upb.h:24
struct envoy_api_v2_core_GrpcService envoy_api_v2_core_GrpcService
Definition: grpc_service.upb.h:33
struct google_protobuf_UInt32Value google_protobuf_UInt32Value
Definition: wrappers.upb.h:37
struct google_protobuf_DoubleValue google_protobuf_DoubleValue
Definition: wrappers.upb.h:32