/src/brpc/build/brpc/rtmp.pb.h
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: brpc/rtmp.proto |
3 | | |
4 | | #ifndef GOOGLE_PROTOBUF_INCLUDED_brpc_2frtmp_2eproto |
5 | | #define GOOGLE_PROTOBUF_INCLUDED_brpc_2frtmp_2eproto |
6 | | |
7 | | #include <limits> |
8 | | #include <string> |
9 | | |
10 | | #include <google/protobuf/port_def.inc> |
11 | | #if PROTOBUF_VERSION < 3021000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/port_undef.inc> |
23 | | #include <google/protobuf/io/coded_stream.h> |
24 | | #include <google/protobuf/arena.h> |
25 | | #include <google/protobuf/arenastring.h> |
26 | | #include <google/protobuf/generated_message_bases.h> |
27 | | #include <google/protobuf/generated_message_util.h> |
28 | | #include <google/protobuf/metadata_lite.h> |
29 | | #include <google/protobuf/generated_message_reflection.h> |
30 | | #include <google/protobuf/message.h> |
31 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
32 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
33 | | #include <google/protobuf/unknown_field_set.h> |
34 | | // @@protoc_insertion_point(includes) |
35 | | #include <google/protobuf/port_def.inc> |
36 | | #define PROTOBUF_INTERNAL_EXPORT_brpc_2frtmp_2eproto |
37 | | PROTOBUF_NAMESPACE_OPEN |
38 | | namespace internal { |
39 | | class AnyMetadata; |
40 | | } // namespace internal |
41 | | PROTOBUF_NAMESPACE_CLOSE |
42 | | |
43 | | // Internal implementation detail -- do not use these members. |
44 | | struct TableStruct_brpc_2frtmp_2eproto { |
45 | | static const uint32_t offsets[]; |
46 | | }; |
47 | | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_brpc_2frtmp_2eproto; |
48 | | namespace brpc { |
49 | | class RtmpConnectRequest; |
50 | | struct RtmpConnectRequestDefaultTypeInternal; |
51 | | extern RtmpConnectRequestDefaultTypeInternal _RtmpConnectRequest_default_instance_; |
52 | | class RtmpConnectResponse; |
53 | | struct RtmpConnectResponseDefaultTypeInternal; |
54 | | extern RtmpConnectResponseDefaultTypeInternal _RtmpConnectResponse_default_instance_; |
55 | | class RtmpEmptyObject; |
56 | | struct RtmpEmptyObjectDefaultTypeInternal; |
57 | | extern RtmpEmptyObjectDefaultTypeInternal _RtmpEmptyObject_default_instance_; |
58 | | class RtmpInfo; |
59 | | struct RtmpInfoDefaultTypeInternal; |
60 | | extern RtmpInfoDefaultTypeInternal _RtmpInfo_default_instance_; |
61 | | class RtmpPlay2Options; |
62 | | struct RtmpPlay2OptionsDefaultTypeInternal; |
63 | | extern RtmpPlay2OptionsDefaultTypeInternal _RtmpPlay2Options_default_instance_; |
64 | | } // namespace brpc |
65 | | PROTOBUF_NAMESPACE_OPEN |
66 | | template<> ::brpc::RtmpConnectRequest* Arena::CreateMaybeMessage<::brpc::RtmpConnectRequest>(Arena*); |
67 | | template<> ::brpc::RtmpConnectResponse* Arena::CreateMaybeMessage<::brpc::RtmpConnectResponse>(Arena*); |
68 | | template<> ::brpc::RtmpEmptyObject* Arena::CreateMaybeMessage<::brpc::RtmpEmptyObject>(Arena*); |
69 | | template<> ::brpc::RtmpInfo* Arena::CreateMaybeMessage<::brpc::RtmpInfo>(Arena*); |
70 | | template<> ::brpc::RtmpPlay2Options* Arena::CreateMaybeMessage<::brpc::RtmpPlay2Options>(Arena*); |
71 | | PROTOBUF_NAMESPACE_CLOSE |
72 | | namespace brpc { |
73 | | |
74 | | // =================================================================== |
75 | | |
76 | | class RtmpConnectRequest final : |
77 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:brpc.RtmpConnectRequest) */ { |
78 | | public: |
79 | 0 | inline RtmpConnectRequest() : RtmpConnectRequest(nullptr) {} |
80 | | ~RtmpConnectRequest() override; |
81 | | explicit PROTOBUF_CONSTEXPR RtmpConnectRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
82 | | |
83 | | RtmpConnectRequest(const RtmpConnectRequest& from); |
84 | | RtmpConnectRequest(RtmpConnectRequest&& from) noexcept |
85 | 0 | : RtmpConnectRequest() { |
86 | 0 | *this = ::std::move(from); |
87 | 0 | } |
88 | | |
89 | 0 | inline RtmpConnectRequest& operator=(const RtmpConnectRequest& from) { |
90 | 0 | CopyFrom(from); |
91 | 0 | return *this; |
92 | 0 | } |
93 | 0 | inline RtmpConnectRequest& operator=(RtmpConnectRequest&& from) noexcept { |
94 | 0 | if (this == &from) return *this; |
95 | 0 | if (GetOwningArena() == from.GetOwningArena() |
96 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
97 | 0 | && GetOwningArena() != nullptr |
98 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
99 | 0 | ) { |
100 | 0 | InternalSwap(&from); |
101 | 0 | } else { |
102 | 0 | CopyFrom(from); |
103 | 0 | } |
104 | 0 | return *this; |
105 | 0 | } |
106 | | |
107 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
108 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
109 | 0 | } |
110 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
111 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
112 | 0 | } |
113 | | |
114 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
115 | 0 | return GetDescriptor(); |
116 | 0 | } |
117 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
118 | 0 | return default_instance().GetMetadata().descriptor; |
119 | 0 | } |
120 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
121 | 0 | return default_instance().GetMetadata().reflection; |
122 | 0 | } |
123 | 0 | static const RtmpConnectRequest& default_instance() { |
124 | 0 | return *internal_default_instance(); |
125 | 0 | } |
126 | 0 | static inline const RtmpConnectRequest* internal_default_instance() { |
127 | 0 | return reinterpret_cast<const RtmpConnectRequest*>( |
128 | 0 | &_RtmpConnectRequest_default_instance_); |
129 | 0 | } |
130 | | static constexpr int kIndexInFileMessages = |
131 | | 0; |
132 | | |
133 | 0 | friend void swap(RtmpConnectRequest& a, RtmpConnectRequest& b) { |
134 | 0 | a.Swap(&b); |
135 | 0 | } |
136 | 0 | inline void Swap(RtmpConnectRequest* other) { |
137 | 0 | if (other == this) return; |
138 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
139 | 0 | if (GetOwningArena() != nullptr && |
140 | 0 | GetOwningArena() == other->GetOwningArena()) { |
141 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
142 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
143 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
144 | 0 | InternalSwap(other); |
145 | 0 | } else { |
146 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
147 | 0 | } |
148 | 0 | } |
149 | 0 | void UnsafeArenaSwap(RtmpConnectRequest* other) { |
150 | 0 | if (other == this) return; |
151 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
152 | 0 | InternalSwap(other); |
153 | 0 | } |
154 | | |
155 | | // implements Message ---------------------------------------------- |
156 | | |
157 | 0 | RtmpConnectRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
158 | 0 | return CreateMaybeMessage<RtmpConnectRequest>(arena); |
159 | 0 | } |
160 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
161 | | void CopyFrom(const RtmpConnectRequest& from); |
162 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
163 | 0 | void MergeFrom( const RtmpConnectRequest& from) { |
164 | 0 | RtmpConnectRequest::MergeImpl(*this, from); |
165 | 0 | } |
166 | | private: |
167 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
168 | | public: |
169 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
170 | | bool IsInitialized() const final; |
171 | | |
172 | | size_t ByteSizeLong() const final; |
173 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
174 | | uint8_t* _InternalSerialize( |
175 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
176 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
177 | | |
178 | | private: |
179 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
180 | | void SharedDtor(); |
181 | | void SetCachedSize(int size) const final; |
182 | | void InternalSwap(RtmpConnectRequest* other); |
183 | | |
184 | | private: |
185 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
186 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
187 | 0 | return "brpc.RtmpConnectRequest"; |
188 | 0 | } |
189 | | protected: |
190 | | explicit RtmpConnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
191 | | bool is_message_owned = false); |
192 | | public: |
193 | | |
194 | | static const ClassData _class_data_; |
195 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
196 | | |
197 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
198 | | |
199 | | // nested types ---------------------------------------------------- |
200 | | |
201 | | // accessors ------------------------------------------------------- |
202 | | |
203 | | enum : int { |
204 | | kAppFieldNumber = 1, |
205 | | kFlashVerFieldNumber = 2, |
206 | | kSwfUrlFieldNumber = 3, |
207 | | kTcUrlFieldNumber = 4, |
208 | | kPageUrlFieldNumber = 10, |
209 | | kCapabilitiesFieldNumber = 6, |
210 | | kAudioCodecsFieldNumber = 7, |
211 | | kVideoCodecsFieldNumber = 8, |
212 | | kVideoFunctionFieldNumber = 9, |
213 | | kObjectEncodingFieldNumber = 11, |
214 | | kFpadFieldNumber = 5, |
215 | | kStreamMultiplexingFieldNumber = 12, |
216 | | }; |
217 | | // optional string app = 1; |
218 | | bool has_app() const; |
219 | | private: |
220 | | bool _internal_has_app() const; |
221 | | public: |
222 | | void clear_app(); |
223 | | const std::string& app() const; |
224 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
225 | | void set_app(ArgT0&& arg0, ArgT... args); |
226 | | std::string* mutable_app(); |
227 | | PROTOBUF_NODISCARD std::string* release_app(); |
228 | | void set_allocated_app(std::string* app); |
229 | | private: |
230 | | const std::string& _internal_app() const; |
231 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_app(const std::string& value); |
232 | | std::string* _internal_mutable_app(); |
233 | | public: |
234 | | |
235 | | // optional string flashVer = 2; |
236 | | bool has_flashver() const; |
237 | | private: |
238 | | bool _internal_has_flashver() const; |
239 | | public: |
240 | | void clear_flashver(); |
241 | | const std::string& flashver() const; |
242 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
243 | | void set_flashver(ArgT0&& arg0, ArgT... args); |
244 | | std::string* mutable_flashver(); |
245 | | PROTOBUF_NODISCARD std::string* release_flashver(); |
246 | | void set_allocated_flashver(std::string* flashver); |
247 | | private: |
248 | | const std::string& _internal_flashver() const; |
249 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_flashver(const std::string& value); |
250 | | std::string* _internal_mutable_flashver(); |
251 | | public: |
252 | | |
253 | | // optional string swfUrl = 3; |
254 | | bool has_swfurl() const; |
255 | | private: |
256 | | bool _internal_has_swfurl() const; |
257 | | public: |
258 | | void clear_swfurl(); |
259 | | const std::string& swfurl() const; |
260 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
261 | | void set_swfurl(ArgT0&& arg0, ArgT... args); |
262 | | std::string* mutable_swfurl(); |
263 | | PROTOBUF_NODISCARD std::string* release_swfurl(); |
264 | | void set_allocated_swfurl(std::string* swfurl); |
265 | | private: |
266 | | const std::string& _internal_swfurl() const; |
267 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_swfurl(const std::string& value); |
268 | | std::string* _internal_mutable_swfurl(); |
269 | | public: |
270 | | |
271 | | // optional string tcUrl = 4; |
272 | | bool has_tcurl() const; |
273 | | private: |
274 | | bool _internal_has_tcurl() const; |
275 | | public: |
276 | | void clear_tcurl(); |
277 | | const std::string& tcurl() const; |
278 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
279 | | void set_tcurl(ArgT0&& arg0, ArgT... args); |
280 | | std::string* mutable_tcurl(); |
281 | | PROTOBUF_NODISCARD std::string* release_tcurl(); |
282 | | void set_allocated_tcurl(std::string* tcurl); |
283 | | private: |
284 | | const std::string& _internal_tcurl() const; |
285 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_tcurl(const std::string& value); |
286 | | std::string* _internal_mutable_tcurl(); |
287 | | public: |
288 | | |
289 | | // optional string pageUrl = 10; |
290 | | bool has_pageurl() const; |
291 | | private: |
292 | | bool _internal_has_pageurl() const; |
293 | | public: |
294 | | void clear_pageurl(); |
295 | | const std::string& pageurl() const; |
296 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
297 | | void set_pageurl(ArgT0&& arg0, ArgT... args); |
298 | | std::string* mutable_pageurl(); |
299 | | PROTOBUF_NODISCARD std::string* release_pageurl(); |
300 | | void set_allocated_pageurl(std::string* pageurl); |
301 | | private: |
302 | | const std::string& _internal_pageurl() const; |
303 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_pageurl(const std::string& value); |
304 | | std::string* _internal_mutable_pageurl(); |
305 | | public: |
306 | | |
307 | | // optional double capabilities = 6; |
308 | | bool has_capabilities() const; |
309 | | private: |
310 | | bool _internal_has_capabilities() const; |
311 | | public: |
312 | | void clear_capabilities(); |
313 | | double capabilities() const; |
314 | | void set_capabilities(double value); |
315 | | private: |
316 | | double _internal_capabilities() const; |
317 | | void _internal_set_capabilities(double value); |
318 | | public: |
319 | | |
320 | | // optional double audioCodecs = 7; |
321 | | bool has_audiocodecs() const; |
322 | | private: |
323 | | bool _internal_has_audiocodecs() const; |
324 | | public: |
325 | | void clear_audiocodecs(); |
326 | | double audiocodecs() const; |
327 | | void set_audiocodecs(double value); |
328 | | private: |
329 | | double _internal_audiocodecs() const; |
330 | | void _internal_set_audiocodecs(double value); |
331 | | public: |
332 | | |
333 | | // optional double videoCodecs = 8; |
334 | | bool has_videocodecs() const; |
335 | | private: |
336 | | bool _internal_has_videocodecs() const; |
337 | | public: |
338 | | void clear_videocodecs(); |
339 | | double videocodecs() const; |
340 | | void set_videocodecs(double value); |
341 | | private: |
342 | | double _internal_videocodecs() const; |
343 | | void _internal_set_videocodecs(double value); |
344 | | public: |
345 | | |
346 | | // optional double videoFunction = 9; |
347 | | bool has_videofunction() const; |
348 | | private: |
349 | | bool _internal_has_videofunction() const; |
350 | | public: |
351 | | void clear_videofunction(); |
352 | | double videofunction() const; |
353 | | void set_videofunction(double value); |
354 | | private: |
355 | | double _internal_videofunction() const; |
356 | | void _internal_set_videofunction(double value); |
357 | | public: |
358 | | |
359 | | // optional double objectEncoding = 11; |
360 | | bool has_objectencoding() const; |
361 | | private: |
362 | | bool _internal_has_objectencoding() const; |
363 | | public: |
364 | | void clear_objectencoding(); |
365 | | double objectencoding() const; |
366 | | void set_objectencoding(double value); |
367 | | private: |
368 | | double _internal_objectencoding() const; |
369 | | void _internal_set_objectencoding(double value); |
370 | | public: |
371 | | |
372 | | // optional bool fpad = 5; |
373 | | bool has_fpad() const; |
374 | | private: |
375 | | bool _internal_has_fpad() const; |
376 | | public: |
377 | | void clear_fpad(); |
378 | | bool fpad() const; |
379 | | void set_fpad(bool value); |
380 | | private: |
381 | | bool _internal_fpad() const; |
382 | | void _internal_set_fpad(bool value); |
383 | | public: |
384 | | |
385 | | // optional bool stream_multiplexing = 12; |
386 | | bool has_stream_multiplexing() const; |
387 | | private: |
388 | | bool _internal_has_stream_multiplexing() const; |
389 | | public: |
390 | | void clear_stream_multiplexing(); |
391 | | bool stream_multiplexing() const; |
392 | | void set_stream_multiplexing(bool value); |
393 | | private: |
394 | | bool _internal_stream_multiplexing() const; |
395 | | void _internal_set_stream_multiplexing(bool value); |
396 | | public: |
397 | | |
398 | | // @@protoc_insertion_point(class_scope:brpc.RtmpConnectRequest) |
399 | | private: |
400 | | class _Internal; |
401 | | |
402 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
403 | | typedef void InternalArenaConstructable_; |
404 | | typedef void DestructorSkippable_; |
405 | | struct Impl_ { |
406 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
407 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
408 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr app_; |
409 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr flashver_; |
410 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr swfurl_; |
411 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tcurl_; |
412 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pageurl_; |
413 | | double capabilities_; |
414 | | double audiocodecs_; |
415 | | double videocodecs_; |
416 | | double videofunction_; |
417 | | double objectencoding_; |
418 | | bool fpad_; |
419 | | bool stream_multiplexing_; |
420 | | }; |
421 | | union { Impl_ _impl_; }; |
422 | | friend struct ::TableStruct_brpc_2frtmp_2eproto; |
423 | | }; |
424 | | // ------------------------------------------------------------------- |
425 | | |
426 | | class RtmpConnectResponse final : |
427 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:brpc.RtmpConnectResponse) */ { |
428 | | public: |
429 | 0 | inline RtmpConnectResponse() : RtmpConnectResponse(nullptr) {} |
430 | | ~RtmpConnectResponse() override; |
431 | | explicit PROTOBUF_CONSTEXPR RtmpConnectResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
432 | | |
433 | | RtmpConnectResponse(const RtmpConnectResponse& from); |
434 | | RtmpConnectResponse(RtmpConnectResponse&& from) noexcept |
435 | 0 | : RtmpConnectResponse() { |
436 | 0 | *this = ::std::move(from); |
437 | 0 | } |
438 | | |
439 | 0 | inline RtmpConnectResponse& operator=(const RtmpConnectResponse& from) { |
440 | 0 | CopyFrom(from); |
441 | 0 | return *this; |
442 | 0 | } |
443 | 0 | inline RtmpConnectResponse& operator=(RtmpConnectResponse&& from) noexcept { |
444 | 0 | if (this == &from) return *this; |
445 | 0 | if (GetOwningArena() == from.GetOwningArena() |
446 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
447 | 0 | && GetOwningArena() != nullptr |
448 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
449 | 0 | ) { |
450 | 0 | InternalSwap(&from); |
451 | 0 | } else { |
452 | 0 | CopyFrom(from); |
453 | 0 | } |
454 | 0 | return *this; |
455 | 0 | } |
456 | | |
457 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
458 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
459 | 0 | } |
460 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
461 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
462 | 0 | } |
463 | | |
464 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
465 | 0 | return GetDescriptor(); |
466 | 0 | } |
467 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
468 | 0 | return default_instance().GetMetadata().descriptor; |
469 | 0 | } |
470 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
471 | 0 | return default_instance().GetMetadata().reflection; |
472 | 0 | } |
473 | 0 | static const RtmpConnectResponse& default_instance() { |
474 | 0 | return *internal_default_instance(); |
475 | 0 | } |
476 | 0 | static inline const RtmpConnectResponse* internal_default_instance() { |
477 | 0 | return reinterpret_cast<const RtmpConnectResponse*>( |
478 | 0 | &_RtmpConnectResponse_default_instance_); |
479 | 0 | } |
480 | | static constexpr int kIndexInFileMessages = |
481 | | 1; |
482 | | |
483 | 0 | friend void swap(RtmpConnectResponse& a, RtmpConnectResponse& b) { |
484 | 0 | a.Swap(&b); |
485 | 0 | } |
486 | 0 | inline void Swap(RtmpConnectResponse* other) { |
487 | 0 | if (other == this) return; |
488 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
489 | 0 | if (GetOwningArena() != nullptr && |
490 | 0 | GetOwningArena() == other->GetOwningArena()) { |
491 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
492 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
493 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
494 | 0 | InternalSwap(other); |
495 | 0 | } else { |
496 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
497 | 0 | } |
498 | 0 | } |
499 | 0 | void UnsafeArenaSwap(RtmpConnectResponse* other) { |
500 | 0 | if (other == this) return; |
501 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
502 | 0 | InternalSwap(other); |
503 | 0 | } |
504 | | |
505 | | // implements Message ---------------------------------------------- |
506 | | |
507 | 0 | RtmpConnectResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
508 | 0 | return CreateMaybeMessage<RtmpConnectResponse>(arena); |
509 | 0 | } |
510 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
511 | | void CopyFrom(const RtmpConnectResponse& from); |
512 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
513 | 0 | void MergeFrom( const RtmpConnectResponse& from) { |
514 | 0 | RtmpConnectResponse::MergeImpl(*this, from); |
515 | 0 | } |
516 | | private: |
517 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
518 | | public: |
519 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
520 | | bool IsInitialized() const final; |
521 | | |
522 | | size_t ByteSizeLong() const final; |
523 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
524 | | uint8_t* _InternalSerialize( |
525 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
526 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
527 | | |
528 | | private: |
529 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
530 | | void SharedDtor(); |
531 | | void SetCachedSize(int size) const final; |
532 | | void InternalSwap(RtmpConnectResponse* other); |
533 | | |
534 | | private: |
535 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
536 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
537 | 0 | return "brpc.RtmpConnectResponse"; |
538 | 0 | } |
539 | | protected: |
540 | | explicit RtmpConnectResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
541 | | bool is_message_owned = false); |
542 | | public: |
543 | | |
544 | | static const ClassData _class_data_; |
545 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
546 | | |
547 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
548 | | |
549 | | // nested types ---------------------------------------------------- |
550 | | |
551 | | // accessors ------------------------------------------------------- |
552 | | |
553 | | enum : int { |
554 | | kFmsVerFieldNumber = 1, |
555 | | kCapabilitiesFieldNumber = 2, |
556 | | kModeFieldNumber = 3, |
557 | | kCreateStreamWithPlayOrPublishFieldNumber = 4, |
558 | | }; |
559 | | // optional string fmsVer = 1; |
560 | | bool has_fmsver() const; |
561 | | private: |
562 | | bool _internal_has_fmsver() const; |
563 | | public: |
564 | | void clear_fmsver(); |
565 | | const std::string& fmsver() const; |
566 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
567 | | void set_fmsver(ArgT0&& arg0, ArgT... args); |
568 | | std::string* mutable_fmsver(); |
569 | | PROTOBUF_NODISCARD std::string* release_fmsver(); |
570 | | void set_allocated_fmsver(std::string* fmsver); |
571 | | private: |
572 | | const std::string& _internal_fmsver() const; |
573 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_fmsver(const std::string& value); |
574 | | std::string* _internal_mutable_fmsver(); |
575 | | public: |
576 | | |
577 | | // optional double capabilities = 2; |
578 | | bool has_capabilities() const; |
579 | | private: |
580 | | bool _internal_has_capabilities() const; |
581 | | public: |
582 | | void clear_capabilities(); |
583 | | double capabilities() const; |
584 | | void set_capabilities(double value); |
585 | | private: |
586 | | double _internal_capabilities() const; |
587 | | void _internal_set_capabilities(double value); |
588 | | public: |
589 | | |
590 | | // optional double mode = 3; |
591 | | bool has_mode() const; |
592 | | private: |
593 | | bool _internal_has_mode() const; |
594 | | public: |
595 | | void clear_mode(); |
596 | | double mode() const; |
597 | | void set_mode(double value); |
598 | | private: |
599 | | double _internal_mode() const; |
600 | | void _internal_set_mode(double value); |
601 | | public: |
602 | | |
603 | | // optional bool create_stream_with_play_or_publish = 4; |
604 | | bool has_create_stream_with_play_or_publish() const; |
605 | | private: |
606 | | bool _internal_has_create_stream_with_play_or_publish() const; |
607 | | public: |
608 | | void clear_create_stream_with_play_or_publish(); |
609 | | bool create_stream_with_play_or_publish() const; |
610 | | void set_create_stream_with_play_or_publish(bool value); |
611 | | private: |
612 | | bool _internal_create_stream_with_play_or_publish() const; |
613 | | void _internal_set_create_stream_with_play_or_publish(bool value); |
614 | | public: |
615 | | |
616 | | // @@protoc_insertion_point(class_scope:brpc.RtmpConnectResponse) |
617 | | private: |
618 | | class _Internal; |
619 | | |
620 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
621 | | typedef void InternalArenaConstructable_; |
622 | | typedef void DestructorSkippable_; |
623 | | struct Impl_ { |
624 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
625 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
626 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fmsver_; |
627 | | double capabilities_; |
628 | | double mode_; |
629 | | bool create_stream_with_play_or_publish_; |
630 | | }; |
631 | | union { Impl_ _impl_; }; |
632 | | friend struct ::TableStruct_brpc_2frtmp_2eproto; |
633 | | }; |
634 | | // ------------------------------------------------------------------- |
635 | | |
636 | | class RtmpPlay2Options final : |
637 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:brpc.RtmpPlay2Options) */ { |
638 | | public: |
639 | 0 | inline RtmpPlay2Options() : RtmpPlay2Options(nullptr) {} |
640 | | ~RtmpPlay2Options() override; |
641 | | explicit PROTOBUF_CONSTEXPR RtmpPlay2Options(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
642 | | |
643 | | RtmpPlay2Options(const RtmpPlay2Options& from); |
644 | | RtmpPlay2Options(RtmpPlay2Options&& from) noexcept |
645 | 0 | : RtmpPlay2Options() { |
646 | 0 | *this = ::std::move(from); |
647 | 0 | } |
648 | | |
649 | 0 | inline RtmpPlay2Options& operator=(const RtmpPlay2Options& from) { |
650 | 0 | CopyFrom(from); |
651 | 0 | return *this; |
652 | 0 | } |
653 | 0 | inline RtmpPlay2Options& operator=(RtmpPlay2Options&& from) noexcept { |
654 | 0 | if (this == &from) return *this; |
655 | 0 | if (GetOwningArena() == from.GetOwningArena() |
656 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
657 | 0 | && GetOwningArena() != nullptr |
658 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
659 | 0 | ) { |
660 | 0 | InternalSwap(&from); |
661 | 0 | } else { |
662 | 0 | CopyFrom(from); |
663 | 0 | } |
664 | 0 | return *this; |
665 | 0 | } |
666 | | |
667 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
668 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
669 | 0 | } |
670 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
671 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
672 | 0 | } |
673 | | |
674 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
675 | 0 | return GetDescriptor(); |
676 | 0 | } |
677 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
678 | 0 | return default_instance().GetMetadata().descriptor; |
679 | 0 | } |
680 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
681 | 0 | return default_instance().GetMetadata().reflection; |
682 | 0 | } |
683 | 0 | static const RtmpPlay2Options& default_instance() { |
684 | 0 | return *internal_default_instance(); |
685 | 0 | } |
686 | 0 | static inline const RtmpPlay2Options* internal_default_instance() { |
687 | 0 | return reinterpret_cast<const RtmpPlay2Options*>( |
688 | 0 | &_RtmpPlay2Options_default_instance_); |
689 | 0 | } |
690 | | static constexpr int kIndexInFileMessages = |
691 | | 2; |
692 | | |
693 | 0 | friend void swap(RtmpPlay2Options& a, RtmpPlay2Options& b) { |
694 | 0 | a.Swap(&b); |
695 | 0 | } |
696 | 0 | inline void Swap(RtmpPlay2Options* other) { |
697 | 0 | if (other == this) return; |
698 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
699 | 0 | if (GetOwningArena() != nullptr && |
700 | 0 | GetOwningArena() == other->GetOwningArena()) { |
701 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
702 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
703 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
704 | 0 | InternalSwap(other); |
705 | 0 | } else { |
706 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
707 | 0 | } |
708 | 0 | } |
709 | 0 | void UnsafeArenaSwap(RtmpPlay2Options* other) { |
710 | 0 | if (other == this) return; |
711 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
712 | 0 | InternalSwap(other); |
713 | 0 | } |
714 | | |
715 | | // implements Message ---------------------------------------------- |
716 | | |
717 | 0 | RtmpPlay2Options* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
718 | 0 | return CreateMaybeMessage<RtmpPlay2Options>(arena); |
719 | 0 | } |
720 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
721 | | void CopyFrom(const RtmpPlay2Options& from); |
722 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
723 | 0 | void MergeFrom( const RtmpPlay2Options& from) { |
724 | 0 | RtmpPlay2Options::MergeImpl(*this, from); |
725 | 0 | } |
726 | | private: |
727 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
728 | | public: |
729 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
730 | | bool IsInitialized() const final; |
731 | | |
732 | | size_t ByteSizeLong() const final; |
733 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
734 | | uint8_t* _InternalSerialize( |
735 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
736 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
737 | | |
738 | | private: |
739 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
740 | | void SharedDtor(); |
741 | | void SetCachedSize(int size) const final; |
742 | | void InternalSwap(RtmpPlay2Options* other); |
743 | | |
744 | | private: |
745 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
746 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
747 | 0 | return "brpc.RtmpPlay2Options"; |
748 | 0 | } |
749 | | protected: |
750 | | explicit RtmpPlay2Options(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
751 | | bool is_message_owned = false); |
752 | | public: |
753 | | |
754 | | static const ClassData _class_data_; |
755 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
756 | | |
757 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
758 | | |
759 | | // nested types ---------------------------------------------------- |
760 | | |
761 | | // accessors ------------------------------------------------------- |
762 | | |
763 | | enum : int { |
764 | | kOldStreamNameFieldNumber = 3, |
765 | | kStreamNameFieldNumber = 5, |
766 | | kTransitionFieldNumber = 6, |
767 | | kLenFieldNumber = 1, |
768 | | kOffsetFieldNumber = 2, |
769 | | kStartFieldNumber = 4, |
770 | | }; |
771 | | // optional string oldStreamName = 3; |
772 | | bool has_oldstreamname() const; |
773 | | private: |
774 | | bool _internal_has_oldstreamname() const; |
775 | | public: |
776 | | void clear_oldstreamname(); |
777 | | const std::string& oldstreamname() const; |
778 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
779 | | void set_oldstreamname(ArgT0&& arg0, ArgT... args); |
780 | | std::string* mutable_oldstreamname(); |
781 | | PROTOBUF_NODISCARD std::string* release_oldstreamname(); |
782 | | void set_allocated_oldstreamname(std::string* oldstreamname); |
783 | | private: |
784 | | const std::string& _internal_oldstreamname() const; |
785 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_oldstreamname(const std::string& value); |
786 | | std::string* _internal_mutable_oldstreamname(); |
787 | | public: |
788 | | |
789 | | // optional string streamName = 5; |
790 | | bool has_streamname() const; |
791 | | private: |
792 | | bool _internal_has_streamname() const; |
793 | | public: |
794 | | void clear_streamname(); |
795 | | const std::string& streamname() const; |
796 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
797 | | void set_streamname(ArgT0&& arg0, ArgT... args); |
798 | | std::string* mutable_streamname(); |
799 | | PROTOBUF_NODISCARD std::string* release_streamname(); |
800 | | void set_allocated_streamname(std::string* streamname); |
801 | | private: |
802 | | const std::string& _internal_streamname() const; |
803 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_streamname(const std::string& value); |
804 | | std::string* _internal_mutable_streamname(); |
805 | | public: |
806 | | |
807 | | // optional string transition = 6; |
808 | | bool has_transition() const; |
809 | | private: |
810 | | bool _internal_has_transition() const; |
811 | | public: |
812 | | void clear_transition(); |
813 | | const std::string& transition() const; |
814 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
815 | | void set_transition(ArgT0&& arg0, ArgT... args); |
816 | | std::string* mutable_transition(); |
817 | | PROTOBUF_NODISCARD std::string* release_transition(); |
818 | | void set_allocated_transition(std::string* transition); |
819 | | private: |
820 | | const std::string& _internal_transition() const; |
821 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_transition(const std::string& value); |
822 | | std::string* _internal_mutable_transition(); |
823 | | public: |
824 | | |
825 | | // optional double len = 1; |
826 | | bool has_len() const; |
827 | | private: |
828 | | bool _internal_has_len() const; |
829 | | public: |
830 | | void clear_len(); |
831 | | double len() const; |
832 | | void set_len(double value); |
833 | | private: |
834 | | double _internal_len() const; |
835 | | void _internal_set_len(double value); |
836 | | public: |
837 | | |
838 | | // optional double offset = 2; |
839 | | bool has_offset() const; |
840 | | private: |
841 | | bool _internal_has_offset() const; |
842 | | public: |
843 | | void clear_offset(); |
844 | | double offset() const; |
845 | | void set_offset(double value); |
846 | | private: |
847 | | double _internal_offset() const; |
848 | | void _internal_set_offset(double value); |
849 | | public: |
850 | | |
851 | | // optional double start = 4; |
852 | | bool has_start() const; |
853 | | private: |
854 | | bool _internal_has_start() const; |
855 | | public: |
856 | | void clear_start(); |
857 | | double start() const; |
858 | | void set_start(double value); |
859 | | private: |
860 | | double _internal_start() const; |
861 | | void _internal_set_start(double value); |
862 | | public: |
863 | | |
864 | | // @@protoc_insertion_point(class_scope:brpc.RtmpPlay2Options) |
865 | | private: |
866 | | class _Internal; |
867 | | |
868 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
869 | | typedef void InternalArenaConstructable_; |
870 | | typedef void DestructorSkippable_; |
871 | | struct Impl_ { |
872 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
873 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
874 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr oldstreamname_; |
875 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamname_; |
876 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr transition_; |
877 | | double len_; |
878 | | double offset_; |
879 | | double start_; |
880 | | }; |
881 | | union { Impl_ _impl_; }; |
882 | | friend struct ::TableStruct_brpc_2frtmp_2eproto; |
883 | | }; |
884 | | // ------------------------------------------------------------------- |
885 | | |
886 | | class RtmpInfo final : |
887 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:brpc.RtmpInfo) */ { |
888 | | public: |
889 | 0 | inline RtmpInfo() : RtmpInfo(nullptr) {} |
890 | | ~RtmpInfo() override; |
891 | | explicit PROTOBUF_CONSTEXPR RtmpInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
892 | | |
893 | | RtmpInfo(const RtmpInfo& from); |
894 | | RtmpInfo(RtmpInfo&& from) noexcept |
895 | 0 | : RtmpInfo() { |
896 | 0 | *this = ::std::move(from); |
897 | 0 | } |
898 | | |
899 | 0 | inline RtmpInfo& operator=(const RtmpInfo& from) { |
900 | 0 | CopyFrom(from); |
901 | 0 | return *this; |
902 | 0 | } |
903 | 0 | inline RtmpInfo& operator=(RtmpInfo&& from) noexcept { |
904 | 0 | if (this == &from) return *this; |
905 | 0 | if (GetOwningArena() == from.GetOwningArena() |
906 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
907 | 0 | && GetOwningArena() != nullptr |
908 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
909 | 0 | ) { |
910 | 0 | InternalSwap(&from); |
911 | 0 | } else { |
912 | 0 | CopyFrom(from); |
913 | 0 | } |
914 | 0 | return *this; |
915 | 0 | } |
916 | | |
917 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
918 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
919 | 0 | } |
920 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
921 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
922 | 0 | } |
923 | | |
924 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
925 | 0 | return GetDescriptor(); |
926 | 0 | } |
927 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
928 | 0 | return default_instance().GetMetadata().descriptor; |
929 | 0 | } |
930 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
931 | 0 | return default_instance().GetMetadata().reflection; |
932 | 0 | } |
933 | 0 | static const RtmpInfo& default_instance() { |
934 | 0 | return *internal_default_instance(); |
935 | 0 | } |
936 | 0 | static inline const RtmpInfo* internal_default_instance() { |
937 | 0 | return reinterpret_cast<const RtmpInfo*>( |
938 | 0 | &_RtmpInfo_default_instance_); |
939 | 0 | } |
940 | | static constexpr int kIndexInFileMessages = |
941 | | 3; |
942 | | |
943 | 0 | friend void swap(RtmpInfo& a, RtmpInfo& b) { |
944 | 0 | a.Swap(&b); |
945 | 0 | } |
946 | 0 | inline void Swap(RtmpInfo* other) { |
947 | 0 | if (other == this) return; |
948 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
949 | 0 | if (GetOwningArena() != nullptr && |
950 | 0 | GetOwningArena() == other->GetOwningArena()) { |
951 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
952 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
953 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
954 | 0 | InternalSwap(other); |
955 | 0 | } else { |
956 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
957 | 0 | } |
958 | 0 | } |
959 | 0 | void UnsafeArenaSwap(RtmpInfo* other) { |
960 | 0 | if (other == this) return; |
961 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
962 | 0 | InternalSwap(other); |
963 | 0 | } |
964 | | |
965 | | // implements Message ---------------------------------------------- |
966 | | |
967 | 0 | RtmpInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
968 | 0 | return CreateMaybeMessage<RtmpInfo>(arena); |
969 | 0 | } |
970 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
971 | | void CopyFrom(const RtmpInfo& from); |
972 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
973 | 0 | void MergeFrom( const RtmpInfo& from) { |
974 | 0 | RtmpInfo::MergeImpl(*this, from); |
975 | 0 | } |
976 | | private: |
977 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
978 | | public: |
979 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
980 | | bool IsInitialized() const final; |
981 | | |
982 | | size_t ByteSizeLong() const final; |
983 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
984 | | uint8_t* _InternalSerialize( |
985 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
986 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
987 | | |
988 | | private: |
989 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
990 | | void SharedDtor(); |
991 | | void SetCachedSize(int size) const final; |
992 | | void InternalSwap(RtmpInfo* other); |
993 | | |
994 | | private: |
995 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
996 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
997 | 0 | return "brpc.RtmpInfo"; |
998 | 0 | } |
999 | | protected: |
1000 | | explicit RtmpInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1001 | | bool is_message_owned = false); |
1002 | | public: |
1003 | | |
1004 | | static const ClassData _class_data_; |
1005 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1006 | | |
1007 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1008 | | |
1009 | | // nested types ---------------------------------------------------- |
1010 | | |
1011 | | // accessors ------------------------------------------------------- |
1012 | | |
1013 | | enum : int { |
1014 | | kCodeFieldNumber = 1, |
1015 | | kLevelFieldNumber = 2, |
1016 | | kDescriptionFieldNumber = 3, |
1017 | | kObjectEncodingFieldNumber = 4, |
1018 | | }; |
1019 | | // optional string code = 1; |
1020 | | bool has_code() const; |
1021 | | private: |
1022 | | bool _internal_has_code() const; |
1023 | | public: |
1024 | | void clear_code(); |
1025 | | const std::string& code() const; |
1026 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1027 | | void set_code(ArgT0&& arg0, ArgT... args); |
1028 | | std::string* mutable_code(); |
1029 | | PROTOBUF_NODISCARD std::string* release_code(); |
1030 | | void set_allocated_code(std::string* code); |
1031 | | private: |
1032 | | const std::string& _internal_code() const; |
1033 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_code(const std::string& value); |
1034 | | std::string* _internal_mutable_code(); |
1035 | | public: |
1036 | | |
1037 | | // optional string level = 2; |
1038 | | bool has_level() const; |
1039 | | private: |
1040 | | bool _internal_has_level() const; |
1041 | | public: |
1042 | | void clear_level(); |
1043 | | const std::string& level() const; |
1044 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1045 | | void set_level(ArgT0&& arg0, ArgT... args); |
1046 | | std::string* mutable_level(); |
1047 | | PROTOBUF_NODISCARD std::string* release_level(); |
1048 | | void set_allocated_level(std::string* level); |
1049 | | private: |
1050 | | const std::string& _internal_level() const; |
1051 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_level(const std::string& value); |
1052 | | std::string* _internal_mutable_level(); |
1053 | | public: |
1054 | | |
1055 | | // optional string description = 3; |
1056 | | bool has_description() const; |
1057 | | private: |
1058 | | bool _internal_has_description() const; |
1059 | | public: |
1060 | | void clear_description(); |
1061 | | const std::string& description() const; |
1062 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1063 | | void set_description(ArgT0&& arg0, ArgT... args); |
1064 | | std::string* mutable_description(); |
1065 | | PROTOBUF_NODISCARD std::string* release_description(); |
1066 | | void set_allocated_description(std::string* description); |
1067 | | private: |
1068 | | const std::string& _internal_description() const; |
1069 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); |
1070 | | std::string* _internal_mutable_description(); |
1071 | | public: |
1072 | | |
1073 | | // optional double objectEncoding = 4; |
1074 | | bool has_objectencoding() const; |
1075 | | private: |
1076 | | bool _internal_has_objectencoding() const; |
1077 | | public: |
1078 | | void clear_objectencoding(); |
1079 | | double objectencoding() const; |
1080 | | void set_objectencoding(double value); |
1081 | | private: |
1082 | | double _internal_objectencoding() const; |
1083 | | void _internal_set_objectencoding(double value); |
1084 | | public: |
1085 | | |
1086 | | // @@protoc_insertion_point(class_scope:brpc.RtmpInfo) |
1087 | | private: |
1088 | | class _Internal; |
1089 | | |
1090 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1091 | | typedef void InternalArenaConstructable_; |
1092 | | typedef void DestructorSkippable_; |
1093 | | struct Impl_ { |
1094 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1095 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1096 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; |
1097 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr level_; |
1098 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; |
1099 | | double objectencoding_; |
1100 | | }; |
1101 | | union { Impl_ _impl_; }; |
1102 | | friend struct ::TableStruct_brpc_2frtmp_2eproto; |
1103 | | }; |
1104 | | // ------------------------------------------------------------------- |
1105 | | |
1106 | | class RtmpEmptyObject final : |
1107 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.RtmpEmptyObject) */ { |
1108 | | public: |
1109 | 0 | inline RtmpEmptyObject() : RtmpEmptyObject(nullptr) {} |
1110 | | explicit PROTOBUF_CONSTEXPR RtmpEmptyObject(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1111 | | |
1112 | | RtmpEmptyObject(const RtmpEmptyObject& from); |
1113 | | RtmpEmptyObject(RtmpEmptyObject&& from) noexcept |
1114 | 0 | : RtmpEmptyObject() { |
1115 | 0 | *this = ::std::move(from); |
1116 | 0 | } |
1117 | | |
1118 | 0 | inline RtmpEmptyObject& operator=(const RtmpEmptyObject& from) { |
1119 | 0 | CopyFrom(from); |
1120 | 0 | return *this; |
1121 | 0 | } |
1122 | 0 | inline RtmpEmptyObject& operator=(RtmpEmptyObject&& from) noexcept { |
1123 | 0 | if (this == &from) return *this; |
1124 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1125 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1126 | 0 | && GetOwningArena() != nullptr |
1127 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1128 | 0 | ) { |
1129 | 0 | InternalSwap(&from); |
1130 | 0 | } else { |
1131 | 0 | CopyFrom(from); |
1132 | 0 | } |
1133 | 0 | return *this; |
1134 | 0 | } |
1135 | | |
1136 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1137 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1138 | 0 | } |
1139 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1140 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1141 | 0 | } |
1142 | | |
1143 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1144 | 0 | return GetDescriptor(); |
1145 | 0 | } |
1146 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1147 | 0 | return default_instance().GetMetadata().descriptor; |
1148 | 0 | } |
1149 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1150 | 0 | return default_instance().GetMetadata().reflection; |
1151 | 0 | } |
1152 | 0 | static const RtmpEmptyObject& default_instance() { |
1153 | 0 | return *internal_default_instance(); |
1154 | 0 | } |
1155 | 0 | static inline const RtmpEmptyObject* internal_default_instance() { |
1156 | 0 | return reinterpret_cast<const RtmpEmptyObject*>( |
1157 | 0 | &_RtmpEmptyObject_default_instance_); |
1158 | 0 | } |
1159 | | static constexpr int kIndexInFileMessages = |
1160 | | 4; |
1161 | | |
1162 | 0 | friend void swap(RtmpEmptyObject& a, RtmpEmptyObject& b) { |
1163 | 0 | a.Swap(&b); |
1164 | 0 | } |
1165 | 0 | inline void Swap(RtmpEmptyObject* other) { |
1166 | 0 | if (other == this) return; |
1167 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1168 | 0 | if (GetOwningArena() != nullptr && |
1169 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1170 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1171 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1172 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1173 | 0 | InternalSwap(other); |
1174 | 0 | } else { |
1175 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1176 | 0 | } |
1177 | 0 | } |
1178 | 0 | void UnsafeArenaSwap(RtmpEmptyObject* other) { |
1179 | 0 | if (other == this) return; |
1180 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1181 | 0 | InternalSwap(other); |
1182 | 0 | } |
1183 | | |
1184 | | // implements Message ---------------------------------------------- |
1185 | | |
1186 | 0 | RtmpEmptyObject* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1187 | 0 | return CreateMaybeMessage<RtmpEmptyObject>(arena); |
1188 | 0 | } |
1189 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
1190 | 0 | inline void CopyFrom(const RtmpEmptyObject& from) { |
1191 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
1192 | 0 | } |
1193 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
1194 | 0 | void MergeFrom(const RtmpEmptyObject& from) { |
1195 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
1196 | 0 | } |
1197 | | public: |
1198 | | |
1199 | | private: |
1200 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1201 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1202 | 0 | return "brpc.RtmpEmptyObject"; |
1203 | 0 | } |
1204 | | protected: |
1205 | | explicit RtmpEmptyObject(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1206 | | bool is_message_owned = false); |
1207 | | public: |
1208 | | |
1209 | | static const ClassData _class_data_; |
1210 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1211 | | |
1212 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1213 | | |
1214 | | // nested types ---------------------------------------------------- |
1215 | | |
1216 | | // accessors ------------------------------------------------------- |
1217 | | |
1218 | | // @@protoc_insertion_point(class_scope:brpc.RtmpEmptyObject) |
1219 | | private: |
1220 | | class _Internal; |
1221 | | |
1222 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1223 | | typedef void InternalArenaConstructable_; |
1224 | | typedef void DestructorSkippable_; |
1225 | | struct Impl_ { |
1226 | | }; |
1227 | | friend struct ::TableStruct_brpc_2frtmp_2eproto; |
1228 | | }; |
1229 | | // =================================================================== |
1230 | | |
1231 | | |
1232 | | // =================================================================== |
1233 | | |
1234 | | #ifdef __GNUC__ |
1235 | | #pragma GCC diagnostic push |
1236 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1237 | | #endif // __GNUC__ |
1238 | | // RtmpConnectRequest |
1239 | | |
1240 | | // optional string app = 1; |
1241 | 0 | inline bool RtmpConnectRequest::_internal_has_app() const { |
1242 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
1243 | 0 | return value; |
1244 | 0 | } |
1245 | 0 | inline bool RtmpConnectRequest::has_app() const { |
1246 | 0 | return _internal_has_app(); |
1247 | 0 | } |
1248 | 0 | inline void RtmpConnectRequest::clear_app() { |
1249 | 0 | _impl_.app_.ClearToEmpty(); |
1250 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1251 | 0 | } |
1252 | 0 | inline const std::string& RtmpConnectRequest::app() const { |
1253 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.app) |
1254 | 0 | return _internal_app(); |
1255 | 0 | } |
1256 | | template <typename ArgT0, typename... ArgT> |
1257 | | inline PROTOBUF_ALWAYS_INLINE |
1258 | 0 | void RtmpConnectRequest::set_app(ArgT0&& arg0, ArgT... args) { |
1259 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1260 | 0 | _impl_.app_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
1261 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.app) |
1262 | 0 | } |
1263 | 0 | inline std::string* RtmpConnectRequest::mutable_app() { |
1264 | 0 | std::string* _s = _internal_mutable_app(); |
1265 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpConnectRequest.app) |
1266 | 0 | return _s; |
1267 | 0 | } |
1268 | 0 | inline const std::string& RtmpConnectRequest::_internal_app() const { |
1269 | 0 | return _impl_.app_.Get(); |
1270 | 0 | } |
1271 | 0 | inline void RtmpConnectRequest::_internal_set_app(const std::string& value) { |
1272 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1273 | 0 | _impl_.app_.Set(value, GetArenaForAllocation()); |
1274 | 0 | } |
1275 | 0 | inline std::string* RtmpConnectRequest::_internal_mutable_app() { |
1276 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1277 | 0 | return _impl_.app_.Mutable(GetArenaForAllocation()); |
1278 | 0 | } |
1279 | 0 | inline std::string* RtmpConnectRequest::release_app() { |
1280 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpConnectRequest.app) |
1281 | 0 | if (!_internal_has_app()) { |
1282 | 0 | return nullptr; |
1283 | 0 | } |
1284 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1285 | 0 | auto* p = _impl_.app_.Release(); |
1286 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1287 | 0 | if (_impl_.app_.IsDefault()) { |
1288 | 0 | _impl_.app_.Set("", GetArenaForAllocation()); |
1289 | 0 | } |
1290 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1291 | 0 | return p; |
1292 | 0 | } |
1293 | 0 | inline void RtmpConnectRequest::set_allocated_app(std::string* app) { |
1294 | 0 | if (app != nullptr) { |
1295 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1296 | 0 | } else { |
1297 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1298 | 0 | } |
1299 | 0 | _impl_.app_.SetAllocated(app, GetArenaForAllocation()); |
1300 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1301 | 0 | if (_impl_.app_.IsDefault()) { |
1302 | 0 | _impl_.app_.Set("", GetArenaForAllocation()); |
1303 | 0 | } |
1304 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1305 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpConnectRequest.app) |
1306 | 0 | } |
1307 | | |
1308 | | // optional string flashVer = 2; |
1309 | 0 | inline bool RtmpConnectRequest::_internal_has_flashver() const { |
1310 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
1311 | 0 | return value; |
1312 | 0 | } |
1313 | 0 | inline bool RtmpConnectRequest::has_flashver() const { |
1314 | 0 | return _internal_has_flashver(); |
1315 | 0 | } |
1316 | 0 | inline void RtmpConnectRequest::clear_flashver() { |
1317 | 0 | _impl_.flashver_.ClearToEmpty(); |
1318 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
1319 | 0 | } |
1320 | 0 | inline const std::string& RtmpConnectRequest::flashver() const { |
1321 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.flashVer) |
1322 | 0 | return _internal_flashver(); |
1323 | 0 | } |
1324 | | template <typename ArgT0, typename... ArgT> |
1325 | | inline PROTOBUF_ALWAYS_INLINE |
1326 | 0 | void RtmpConnectRequest::set_flashver(ArgT0&& arg0, ArgT... args) { |
1327 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1328 | 0 | _impl_.flashver_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
1329 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.flashVer) |
1330 | 0 | } |
1331 | 0 | inline std::string* RtmpConnectRequest::mutable_flashver() { |
1332 | 0 | std::string* _s = _internal_mutable_flashver(); |
1333 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpConnectRequest.flashVer) |
1334 | 0 | return _s; |
1335 | 0 | } |
1336 | 0 | inline const std::string& RtmpConnectRequest::_internal_flashver() const { |
1337 | 0 | return _impl_.flashver_.Get(); |
1338 | 0 | } |
1339 | 0 | inline void RtmpConnectRequest::_internal_set_flashver(const std::string& value) { |
1340 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1341 | 0 | _impl_.flashver_.Set(value, GetArenaForAllocation()); |
1342 | 0 | } |
1343 | 0 | inline std::string* RtmpConnectRequest::_internal_mutable_flashver() { |
1344 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1345 | 0 | return _impl_.flashver_.Mutable(GetArenaForAllocation()); |
1346 | 0 | } |
1347 | 0 | inline std::string* RtmpConnectRequest::release_flashver() { |
1348 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpConnectRequest.flashVer) |
1349 | 0 | if (!_internal_has_flashver()) { |
1350 | 0 | return nullptr; |
1351 | 0 | } |
1352 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
1353 | 0 | auto* p = _impl_.flashver_.Release(); |
1354 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1355 | 0 | if (_impl_.flashver_.IsDefault()) { |
1356 | 0 | _impl_.flashver_.Set("", GetArenaForAllocation()); |
1357 | 0 | } |
1358 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1359 | 0 | return p; |
1360 | 0 | } |
1361 | 0 | inline void RtmpConnectRequest::set_allocated_flashver(std::string* flashver) { |
1362 | 0 | if (flashver != nullptr) { |
1363 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1364 | 0 | } else { |
1365 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
1366 | 0 | } |
1367 | 0 | _impl_.flashver_.SetAllocated(flashver, GetArenaForAllocation()); |
1368 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1369 | 0 | if (_impl_.flashver_.IsDefault()) { |
1370 | 0 | _impl_.flashver_.Set("", GetArenaForAllocation()); |
1371 | 0 | } |
1372 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1373 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpConnectRequest.flashVer) |
1374 | 0 | } |
1375 | | |
1376 | | // optional string swfUrl = 3; |
1377 | 0 | inline bool RtmpConnectRequest::_internal_has_swfurl() const { |
1378 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
1379 | 0 | return value; |
1380 | 0 | } |
1381 | 0 | inline bool RtmpConnectRequest::has_swfurl() const { |
1382 | 0 | return _internal_has_swfurl(); |
1383 | 0 | } |
1384 | 0 | inline void RtmpConnectRequest::clear_swfurl() { |
1385 | 0 | _impl_.swfurl_.ClearToEmpty(); |
1386 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
1387 | 0 | } |
1388 | 0 | inline const std::string& RtmpConnectRequest::swfurl() const { |
1389 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.swfUrl) |
1390 | 0 | return _internal_swfurl(); |
1391 | 0 | } |
1392 | | template <typename ArgT0, typename... ArgT> |
1393 | | inline PROTOBUF_ALWAYS_INLINE |
1394 | 0 | void RtmpConnectRequest::set_swfurl(ArgT0&& arg0, ArgT... args) { |
1395 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
1396 | 0 | _impl_.swfurl_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
1397 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.swfUrl) |
1398 | 0 | } |
1399 | 0 | inline std::string* RtmpConnectRequest::mutable_swfurl() { |
1400 | 0 | std::string* _s = _internal_mutable_swfurl(); |
1401 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpConnectRequest.swfUrl) |
1402 | 0 | return _s; |
1403 | 0 | } |
1404 | 0 | inline const std::string& RtmpConnectRequest::_internal_swfurl() const { |
1405 | 0 | return _impl_.swfurl_.Get(); |
1406 | 0 | } |
1407 | 0 | inline void RtmpConnectRequest::_internal_set_swfurl(const std::string& value) { |
1408 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
1409 | 0 | _impl_.swfurl_.Set(value, GetArenaForAllocation()); |
1410 | 0 | } |
1411 | 0 | inline std::string* RtmpConnectRequest::_internal_mutable_swfurl() { |
1412 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
1413 | 0 | return _impl_.swfurl_.Mutable(GetArenaForAllocation()); |
1414 | 0 | } |
1415 | 0 | inline std::string* RtmpConnectRequest::release_swfurl() { |
1416 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpConnectRequest.swfUrl) |
1417 | 0 | if (!_internal_has_swfurl()) { |
1418 | 0 | return nullptr; |
1419 | 0 | } |
1420 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
1421 | 0 | auto* p = _impl_.swfurl_.Release(); |
1422 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1423 | 0 | if (_impl_.swfurl_.IsDefault()) { |
1424 | 0 | _impl_.swfurl_.Set("", GetArenaForAllocation()); |
1425 | 0 | } |
1426 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1427 | 0 | return p; |
1428 | 0 | } |
1429 | 0 | inline void RtmpConnectRequest::set_allocated_swfurl(std::string* swfurl) { |
1430 | 0 | if (swfurl != nullptr) { |
1431 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
1432 | 0 | } else { |
1433 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
1434 | 0 | } |
1435 | 0 | _impl_.swfurl_.SetAllocated(swfurl, GetArenaForAllocation()); |
1436 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1437 | 0 | if (_impl_.swfurl_.IsDefault()) { |
1438 | 0 | _impl_.swfurl_.Set("", GetArenaForAllocation()); |
1439 | 0 | } |
1440 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1441 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpConnectRequest.swfUrl) |
1442 | 0 | } |
1443 | | |
1444 | | // optional string tcUrl = 4; |
1445 | 0 | inline bool RtmpConnectRequest::_internal_has_tcurl() const { |
1446 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
1447 | 0 | return value; |
1448 | 0 | } |
1449 | 0 | inline bool RtmpConnectRequest::has_tcurl() const { |
1450 | 0 | return _internal_has_tcurl(); |
1451 | 0 | } |
1452 | 0 | inline void RtmpConnectRequest::clear_tcurl() { |
1453 | 0 | _impl_.tcurl_.ClearToEmpty(); |
1454 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
1455 | 0 | } |
1456 | 0 | inline const std::string& RtmpConnectRequest::tcurl() const { |
1457 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.tcUrl) |
1458 | 0 | return _internal_tcurl(); |
1459 | 0 | } |
1460 | | template <typename ArgT0, typename... ArgT> |
1461 | | inline PROTOBUF_ALWAYS_INLINE |
1462 | 0 | void RtmpConnectRequest::set_tcurl(ArgT0&& arg0, ArgT... args) { |
1463 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
1464 | 0 | _impl_.tcurl_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
1465 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.tcUrl) |
1466 | 0 | } |
1467 | 0 | inline std::string* RtmpConnectRequest::mutable_tcurl() { |
1468 | 0 | std::string* _s = _internal_mutable_tcurl(); |
1469 | | // @@protoc_insertion_point(field_mutable:brpc.RtmpConnectRequest.tcUrl) |
1470 | 0 | return _s; |
1471 | 0 | } |
1472 | 0 | inline const std::string& RtmpConnectRequest::_internal_tcurl() const { |
1473 | 0 | return _impl_.tcurl_.Get(); |
1474 | 0 | } |
1475 | 0 | inline void RtmpConnectRequest::_internal_set_tcurl(const std::string& value) { |
1476 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
1477 | 0 | _impl_.tcurl_.Set(value, GetArenaForAllocation()); |
1478 | 0 | } |
1479 | 0 | inline std::string* RtmpConnectRequest::_internal_mutable_tcurl() { |
1480 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
1481 | 0 | return _impl_.tcurl_.Mutable(GetArenaForAllocation()); |
1482 | 0 | } |
1483 | 0 | inline std::string* RtmpConnectRequest::release_tcurl() { |
1484 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpConnectRequest.tcUrl) |
1485 | 0 | if (!_internal_has_tcurl()) { |
1486 | 0 | return nullptr; |
1487 | 0 | } |
1488 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
1489 | 0 | auto* p = _impl_.tcurl_.Release(); |
1490 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1491 | 0 | if (_impl_.tcurl_.IsDefault()) { |
1492 | 0 | _impl_.tcurl_.Set("", GetArenaForAllocation()); |
1493 | 0 | } |
1494 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1495 | 0 | return p; |
1496 | 0 | } |
1497 | 0 | inline void RtmpConnectRequest::set_allocated_tcurl(std::string* tcurl) { |
1498 | 0 | if (tcurl != nullptr) { |
1499 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
1500 | 0 | } else { |
1501 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
1502 | 0 | } |
1503 | 0 | _impl_.tcurl_.SetAllocated(tcurl, GetArenaForAllocation()); |
1504 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1505 | 0 | if (_impl_.tcurl_.IsDefault()) { |
1506 | 0 | _impl_.tcurl_.Set("", GetArenaForAllocation()); |
1507 | 0 | } |
1508 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1509 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpConnectRequest.tcUrl) |
1510 | 0 | } |
1511 | | |
1512 | | // optional bool fpad = 5; |
1513 | 0 | inline bool RtmpConnectRequest::_internal_has_fpad() const { |
1514 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
1515 | 0 | return value; |
1516 | 0 | } |
1517 | 0 | inline bool RtmpConnectRequest::has_fpad() const { |
1518 | 0 | return _internal_has_fpad(); |
1519 | 0 | } |
1520 | 0 | inline void RtmpConnectRequest::clear_fpad() { |
1521 | 0 | _impl_.fpad_ = false; |
1522 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
1523 | 0 | } |
1524 | 0 | inline bool RtmpConnectRequest::_internal_fpad() const { |
1525 | 0 | return _impl_.fpad_; |
1526 | 0 | } |
1527 | 0 | inline bool RtmpConnectRequest::fpad() const { |
1528 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.fpad) |
1529 | 0 | return _internal_fpad(); |
1530 | 0 | } |
1531 | 0 | inline void RtmpConnectRequest::_internal_set_fpad(bool value) { |
1532 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
1533 | 0 | _impl_.fpad_ = value; |
1534 | 0 | } |
1535 | 0 | inline void RtmpConnectRequest::set_fpad(bool value) { |
1536 | 0 | _internal_set_fpad(value); |
1537 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.fpad) |
1538 | 0 | } |
1539 | | |
1540 | | // optional double capabilities = 6; |
1541 | 0 | inline bool RtmpConnectRequest::_internal_has_capabilities() const { |
1542 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
1543 | 0 | return value; |
1544 | 0 | } |
1545 | 0 | inline bool RtmpConnectRequest::has_capabilities() const { |
1546 | 0 | return _internal_has_capabilities(); |
1547 | 0 | } |
1548 | 0 | inline void RtmpConnectRequest::clear_capabilities() { |
1549 | 0 | _impl_.capabilities_ = 0; |
1550 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
1551 | 0 | } |
1552 | 0 | inline double RtmpConnectRequest::_internal_capabilities() const { |
1553 | 0 | return _impl_.capabilities_; |
1554 | 0 | } |
1555 | 0 | inline double RtmpConnectRequest::capabilities() const { |
1556 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.capabilities) |
1557 | 0 | return _internal_capabilities(); |
1558 | 0 | } |
1559 | 0 | inline void RtmpConnectRequest::_internal_set_capabilities(double value) { |
1560 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
1561 | 0 | _impl_.capabilities_ = value; |
1562 | 0 | } |
1563 | 0 | inline void RtmpConnectRequest::set_capabilities(double value) { |
1564 | 0 | _internal_set_capabilities(value); |
1565 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.capabilities) |
1566 | 0 | } |
1567 | | |
1568 | | // optional double audioCodecs = 7; |
1569 | 0 | inline bool RtmpConnectRequest::_internal_has_audiocodecs() const { |
1570 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
1571 | 0 | return value; |
1572 | 0 | } |
1573 | 0 | inline bool RtmpConnectRequest::has_audiocodecs() const { |
1574 | 0 | return _internal_has_audiocodecs(); |
1575 | 0 | } |
1576 | 0 | inline void RtmpConnectRequest::clear_audiocodecs() { |
1577 | 0 | _impl_.audiocodecs_ = 0; |
1578 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
1579 | 0 | } |
1580 | 0 | inline double RtmpConnectRequest::_internal_audiocodecs() const { |
1581 | 0 | return _impl_.audiocodecs_; |
1582 | 0 | } |
1583 | 0 | inline double RtmpConnectRequest::audiocodecs() const { |
1584 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.audioCodecs) |
1585 | 0 | return _internal_audiocodecs(); |
1586 | 0 | } |
1587 | 0 | inline void RtmpConnectRequest::_internal_set_audiocodecs(double value) { |
1588 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
1589 | 0 | _impl_.audiocodecs_ = value; |
1590 | 0 | } |
1591 | 0 | inline void RtmpConnectRequest::set_audiocodecs(double value) { |
1592 | 0 | _internal_set_audiocodecs(value); |
1593 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.audioCodecs) |
1594 | 0 | } |
1595 | | |
1596 | | // optional double videoCodecs = 8; |
1597 | 0 | inline bool RtmpConnectRequest::_internal_has_videocodecs() const { |
1598 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
1599 | 0 | return value; |
1600 | 0 | } |
1601 | 0 | inline bool RtmpConnectRequest::has_videocodecs() const { |
1602 | 0 | return _internal_has_videocodecs(); |
1603 | 0 | } |
1604 | 0 | inline void RtmpConnectRequest::clear_videocodecs() { |
1605 | 0 | _impl_.videocodecs_ = 0; |
1606 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
1607 | 0 | } |
1608 | 0 | inline double RtmpConnectRequest::_internal_videocodecs() const { |
1609 | 0 | return _impl_.videocodecs_; |
1610 | 0 | } |
1611 | 0 | inline double RtmpConnectRequest::videocodecs() const { |
1612 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.videoCodecs) |
1613 | 0 | return _internal_videocodecs(); |
1614 | 0 | } |
1615 | 0 | inline void RtmpConnectRequest::_internal_set_videocodecs(double value) { |
1616 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
1617 | 0 | _impl_.videocodecs_ = value; |
1618 | 0 | } |
1619 | 0 | inline void RtmpConnectRequest::set_videocodecs(double value) { |
1620 | 0 | _internal_set_videocodecs(value); |
1621 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.videoCodecs) |
1622 | 0 | } |
1623 | | |
1624 | | // optional double videoFunction = 9; |
1625 | 0 | inline bool RtmpConnectRequest::_internal_has_videofunction() const { |
1626 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
1627 | 0 | return value; |
1628 | 0 | } |
1629 | 0 | inline bool RtmpConnectRequest::has_videofunction() const { |
1630 | 0 | return _internal_has_videofunction(); |
1631 | 0 | } |
1632 | 0 | inline void RtmpConnectRequest::clear_videofunction() { |
1633 | 0 | _impl_.videofunction_ = 0; |
1634 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
1635 | 0 | } |
1636 | 0 | inline double RtmpConnectRequest::_internal_videofunction() const { |
1637 | 0 | return _impl_.videofunction_; |
1638 | 0 | } |
1639 | 0 | inline double RtmpConnectRequest::videofunction() const { |
1640 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.videoFunction) |
1641 | 0 | return _internal_videofunction(); |
1642 | 0 | } |
1643 | 0 | inline void RtmpConnectRequest::_internal_set_videofunction(double value) { |
1644 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
1645 | 0 | _impl_.videofunction_ = value; |
1646 | 0 | } |
1647 | 0 | inline void RtmpConnectRequest::set_videofunction(double value) { |
1648 | 0 | _internal_set_videofunction(value); |
1649 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.videoFunction) |
1650 | 0 | } |
1651 | | |
1652 | | // optional string pageUrl = 10; |
1653 | 0 | inline bool RtmpConnectRequest::_internal_has_pageurl() const { |
1654 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
1655 | 0 | return value; |
1656 | 0 | } |
1657 | 0 | inline bool RtmpConnectRequest::has_pageurl() const { |
1658 | 0 | return _internal_has_pageurl(); |
1659 | 0 | } |
1660 | 0 | inline void RtmpConnectRequest::clear_pageurl() { |
1661 | 0 | _impl_.pageurl_.ClearToEmpty(); |
1662 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
1663 | 0 | } |
1664 | 0 | inline const std::string& RtmpConnectRequest::pageurl() const { |
1665 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.pageUrl) |
1666 | 0 | return _internal_pageurl(); |
1667 | 0 | } |
1668 | | template <typename ArgT0, typename... ArgT> |
1669 | | inline PROTOBUF_ALWAYS_INLINE |
1670 | 0 | void RtmpConnectRequest::set_pageurl(ArgT0&& arg0, ArgT... args) { |
1671 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
1672 | 0 | _impl_.pageurl_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
1673 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.pageUrl) |
1674 | 0 | } |
1675 | 0 | inline std::string* RtmpConnectRequest::mutable_pageurl() { |
1676 | 0 | std::string* _s = _internal_mutable_pageurl(); |
1677 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpConnectRequest.pageUrl) |
1678 | 0 | return _s; |
1679 | 0 | } |
1680 | 0 | inline const std::string& RtmpConnectRequest::_internal_pageurl() const { |
1681 | 0 | return _impl_.pageurl_.Get(); |
1682 | 0 | } |
1683 | 0 | inline void RtmpConnectRequest::_internal_set_pageurl(const std::string& value) { |
1684 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
1685 | 0 | _impl_.pageurl_.Set(value, GetArenaForAllocation()); |
1686 | 0 | } |
1687 | 0 | inline std::string* RtmpConnectRequest::_internal_mutable_pageurl() { |
1688 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
1689 | 0 | return _impl_.pageurl_.Mutable(GetArenaForAllocation()); |
1690 | 0 | } |
1691 | 0 | inline std::string* RtmpConnectRequest::release_pageurl() { |
1692 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpConnectRequest.pageUrl) |
1693 | 0 | if (!_internal_has_pageurl()) { |
1694 | 0 | return nullptr; |
1695 | 0 | } |
1696 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
1697 | 0 | auto* p = _impl_.pageurl_.Release(); |
1698 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1699 | 0 | if (_impl_.pageurl_.IsDefault()) { |
1700 | 0 | _impl_.pageurl_.Set("", GetArenaForAllocation()); |
1701 | 0 | } |
1702 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1703 | 0 | return p; |
1704 | 0 | } |
1705 | 0 | inline void RtmpConnectRequest::set_allocated_pageurl(std::string* pageurl) { |
1706 | 0 | if (pageurl != nullptr) { |
1707 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
1708 | 0 | } else { |
1709 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
1710 | 0 | } |
1711 | 0 | _impl_.pageurl_.SetAllocated(pageurl, GetArenaForAllocation()); |
1712 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1713 | 0 | if (_impl_.pageurl_.IsDefault()) { |
1714 | 0 | _impl_.pageurl_.Set("", GetArenaForAllocation()); |
1715 | 0 | } |
1716 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1717 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpConnectRequest.pageUrl) |
1718 | 0 | } |
1719 | | |
1720 | | // optional double objectEncoding = 11; |
1721 | 0 | inline bool RtmpConnectRequest::_internal_has_objectencoding() const { |
1722 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
1723 | 0 | return value; |
1724 | 0 | } |
1725 | 0 | inline bool RtmpConnectRequest::has_objectencoding() const { |
1726 | 0 | return _internal_has_objectencoding(); |
1727 | 0 | } |
1728 | 0 | inline void RtmpConnectRequest::clear_objectencoding() { |
1729 | 0 | _impl_.objectencoding_ = 0; |
1730 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
1731 | 0 | } |
1732 | 0 | inline double RtmpConnectRequest::_internal_objectencoding() const { |
1733 | 0 | return _impl_.objectencoding_; |
1734 | 0 | } |
1735 | 0 | inline double RtmpConnectRequest::objectencoding() const { |
1736 | | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.objectEncoding) |
1737 | 0 | return _internal_objectencoding(); |
1738 | 0 | } |
1739 | 0 | inline void RtmpConnectRequest::_internal_set_objectencoding(double value) { |
1740 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
1741 | 0 | _impl_.objectencoding_ = value; |
1742 | 0 | } |
1743 | 0 | inline void RtmpConnectRequest::set_objectencoding(double value) { |
1744 | 0 | _internal_set_objectencoding(value); |
1745 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.objectEncoding) |
1746 | 0 | } |
1747 | | |
1748 | | // optional bool stream_multiplexing = 12; |
1749 | 0 | inline bool RtmpConnectRequest::_internal_has_stream_multiplexing() const { |
1750 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; |
1751 | 0 | return value; |
1752 | 0 | } |
1753 | 0 | inline bool RtmpConnectRequest::has_stream_multiplexing() const { |
1754 | 0 | return _internal_has_stream_multiplexing(); |
1755 | 0 | } |
1756 | 0 | inline void RtmpConnectRequest::clear_stream_multiplexing() { |
1757 | 0 | _impl_.stream_multiplexing_ = false; |
1758 | 0 | _impl_._has_bits_[0] &= ~0x00000800u; |
1759 | 0 | } |
1760 | 0 | inline bool RtmpConnectRequest::_internal_stream_multiplexing() const { |
1761 | 0 | return _impl_.stream_multiplexing_; |
1762 | 0 | } |
1763 | 0 | inline bool RtmpConnectRequest::stream_multiplexing() const { |
1764 | | // @@protoc_insertion_point(field_get:brpc.RtmpConnectRequest.stream_multiplexing) |
1765 | 0 | return _internal_stream_multiplexing(); |
1766 | 0 | } |
1767 | 0 | inline void RtmpConnectRequest::_internal_set_stream_multiplexing(bool value) { |
1768 | 0 | _impl_._has_bits_[0] |= 0x00000800u; |
1769 | 0 | _impl_.stream_multiplexing_ = value; |
1770 | 0 | } |
1771 | 0 | inline void RtmpConnectRequest::set_stream_multiplexing(bool value) { |
1772 | 0 | _internal_set_stream_multiplexing(value); |
1773 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectRequest.stream_multiplexing) |
1774 | 0 | } |
1775 | | |
1776 | | // ------------------------------------------------------------------- |
1777 | | |
1778 | | // RtmpConnectResponse |
1779 | | |
1780 | | // optional string fmsVer = 1; |
1781 | 0 | inline bool RtmpConnectResponse::_internal_has_fmsver() const { |
1782 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
1783 | 0 | return value; |
1784 | 0 | } |
1785 | 0 | inline bool RtmpConnectResponse::has_fmsver() const { |
1786 | 0 | return _internal_has_fmsver(); |
1787 | 0 | } |
1788 | 0 | inline void RtmpConnectResponse::clear_fmsver() { |
1789 | 0 | _impl_.fmsver_.ClearToEmpty(); |
1790 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1791 | 0 | } |
1792 | 0 | inline const std::string& RtmpConnectResponse::fmsver() const { |
1793 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectResponse.fmsVer) |
1794 | 0 | return _internal_fmsver(); |
1795 | 0 | } |
1796 | | template <typename ArgT0, typename... ArgT> |
1797 | | inline PROTOBUF_ALWAYS_INLINE |
1798 | 0 | void RtmpConnectResponse::set_fmsver(ArgT0&& arg0, ArgT... args) { |
1799 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1800 | 0 | _impl_.fmsver_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
1801 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectResponse.fmsVer) |
1802 | 0 | } |
1803 | 0 | inline std::string* RtmpConnectResponse::mutable_fmsver() { |
1804 | 0 | std::string* _s = _internal_mutable_fmsver(); |
1805 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpConnectResponse.fmsVer) |
1806 | 0 | return _s; |
1807 | 0 | } |
1808 | 0 | inline const std::string& RtmpConnectResponse::_internal_fmsver() const { |
1809 | 0 | return _impl_.fmsver_.Get(); |
1810 | 0 | } |
1811 | 0 | inline void RtmpConnectResponse::_internal_set_fmsver(const std::string& value) { |
1812 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1813 | 0 | _impl_.fmsver_.Set(value, GetArenaForAllocation()); |
1814 | 0 | } |
1815 | 0 | inline std::string* RtmpConnectResponse::_internal_mutable_fmsver() { |
1816 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1817 | 0 | return _impl_.fmsver_.Mutable(GetArenaForAllocation()); |
1818 | 0 | } |
1819 | 0 | inline std::string* RtmpConnectResponse::release_fmsver() { |
1820 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpConnectResponse.fmsVer) |
1821 | 0 | if (!_internal_has_fmsver()) { |
1822 | 0 | return nullptr; |
1823 | 0 | } |
1824 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1825 | 0 | auto* p = _impl_.fmsver_.Release(); |
1826 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1827 | 0 | if (_impl_.fmsver_.IsDefault()) { |
1828 | 0 | _impl_.fmsver_.Set("", GetArenaForAllocation()); |
1829 | 0 | } |
1830 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1831 | 0 | return p; |
1832 | 0 | } |
1833 | 0 | inline void RtmpConnectResponse::set_allocated_fmsver(std::string* fmsver) { |
1834 | 0 | if (fmsver != nullptr) { |
1835 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1836 | 0 | } else { |
1837 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1838 | 0 | } |
1839 | 0 | _impl_.fmsver_.SetAllocated(fmsver, GetArenaForAllocation()); |
1840 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1841 | 0 | if (_impl_.fmsver_.IsDefault()) { |
1842 | 0 | _impl_.fmsver_.Set("", GetArenaForAllocation()); |
1843 | 0 | } |
1844 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
1845 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpConnectResponse.fmsVer) |
1846 | 0 | } |
1847 | | |
1848 | | // optional double capabilities = 2; |
1849 | 0 | inline bool RtmpConnectResponse::_internal_has_capabilities() const { |
1850 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
1851 | 0 | return value; |
1852 | 0 | } |
1853 | 0 | inline bool RtmpConnectResponse::has_capabilities() const { |
1854 | 0 | return _internal_has_capabilities(); |
1855 | 0 | } |
1856 | 0 | inline void RtmpConnectResponse::clear_capabilities() { |
1857 | 0 | _impl_.capabilities_ = 0; |
1858 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
1859 | 0 | } |
1860 | 0 | inline double RtmpConnectResponse::_internal_capabilities() const { |
1861 | 0 | return _impl_.capabilities_; |
1862 | 0 | } |
1863 | 0 | inline double RtmpConnectResponse::capabilities() const { |
1864 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectResponse.capabilities) |
1865 | 0 | return _internal_capabilities(); |
1866 | 0 | } |
1867 | 0 | inline void RtmpConnectResponse::_internal_set_capabilities(double value) { |
1868 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1869 | 0 | _impl_.capabilities_ = value; |
1870 | 0 | } |
1871 | 0 | inline void RtmpConnectResponse::set_capabilities(double value) { |
1872 | 0 | _internal_set_capabilities(value); |
1873 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectResponse.capabilities) |
1874 | 0 | } |
1875 | | |
1876 | | // optional double mode = 3; |
1877 | 0 | inline bool RtmpConnectResponse::_internal_has_mode() const { |
1878 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
1879 | 0 | return value; |
1880 | 0 | } |
1881 | 0 | inline bool RtmpConnectResponse::has_mode() const { |
1882 | 0 | return _internal_has_mode(); |
1883 | 0 | } |
1884 | 0 | inline void RtmpConnectResponse::clear_mode() { |
1885 | 0 | _impl_.mode_ = 0; |
1886 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
1887 | 0 | } |
1888 | 0 | inline double RtmpConnectResponse::_internal_mode() const { |
1889 | 0 | return _impl_.mode_; |
1890 | 0 | } |
1891 | 0 | inline double RtmpConnectResponse::mode() const { |
1892 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpConnectResponse.mode) |
1893 | 0 | return _internal_mode(); |
1894 | 0 | } |
1895 | 0 | inline void RtmpConnectResponse::_internal_set_mode(double value) { |
1896 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
1897 | 0 | _impl_.mode_ = value; |
1898 | 0 | } |
1899 | 0 | inline void RtmpConnectResponse::set_mode(double value) { |
1900 | 0 | _internal_set_mode(value); |
1901 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectResponse.mode) |
1902 | 0 | } |
1903 | | |
1904 | | // optional bool create_stream_with_play_or_publish = 4; |
1905 | 0 | inline bool RtmpConnectResponse::_internal_has_create_stream_with_play_or_publish() const { |
1906 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
1907 | 0 | return value; |
1908 | 0 | } |
1909 | 0 | inline bool RtmpConnectResponse::has_create_stream_with_play_or_publish() const { |
1910 | 0 | return _internal_has_create_stream_with_play_or_publish(); |
1911 | 0 | } |
1912 | 0 | inline void RtmpConnectResponse::clear_create_stream_with_play_or_publish() { |
1913 | 0 | _impl_.create_stream_with_play_or_publish_ = false; |
1914 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
1915 | 0 | } |
1916 | 0 | inline bool RtmpConnectResponse::_internal_create_stream_with_play_or_publish() const { |
1917 | 0 | return _impl_.create_stream_with_play_or_publish_; |
1918 | 0 | } |
1919 | 0 | inline bool RtmpConnectResponse::create_stream_with_play_or_publish() const { |
1920 | | // @@protoc_insertion_point(field_get:brpc.RtmpConnectResponse.create_stream_with_play_or_publish) |
1921 | 0 | return _internal_create_stream_with_play_or_publish(); |
1922 | 0 | } |
1923 | 0 | inline void RtmpConnectResponse::_internal_set_create_stream_with_play_or_publish(bool value) { |
1924 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
1925 | 0 | _impl_.create_stream_with_play_or_publish_ = value; |
1926 | 0 | } |
1927 | 0 | inline void RtmpConnectResponse::set_create_stream_with_play_or_publish(bool value) { |
1928 | 0 | _internal_set_create_stream_with_play_or_publish(value); |
1929 | | // @@protoc_insertion_point(field_set:brpc.RtmpConnectResponse.create_stream_with_play_or_publish) |
1930 | 0 | } |
1931 | | |
1932 | | // ------------------------------------------------------------------- |
1933 | | |
1934 | | // RtmpPlay2Options |
1935 | | |
1936 | | // optional double len = 1; |
1937 | 0 | inline bool RtmpPlay2Options::_internal_has_len() const { |
1938 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
1939 | 0 | return value; |
1940 | 0 | } |
1941 | 0 | inline bool RtmpPlay2Options::has_len() const { |
1942 | 0 | return _internal_has_len(); |
1943 | 0 | } |
1944 | 0 | inline void RtmpPlay2Options::clear_len() { |
1945 | 0 | _impl_.len_ = 0; |
1946 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
1947 | 0 | } |
1948 | 0 | inline double RtmpPlay2Options::_internal_len() const { |
1949 | 0 | return _impl_.len_; |
1950 | 0 | } |
1951 | 0 | inline double RtmpPlay2Options::len() const { |
1952 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpPlay2Options.len) |
1953 | 0 | return _internal_len(); |
1954 | 0 | } |
1955 | 0 | inline void RtmpPlay2Options::_internal_set_len(double value) { |
1956 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
1957 | 0 | _impl_.len_ = value; |
1958 | 0 | } |
1959 | 0 | inline void RtmpPlay2Options::set_len(double value) { |
1960 | 0 | _internal_set_len(value); |
1961 | 0 | // @@protoc_insertion_point(field_set:brpc.RtmpPlay2Options.len) |
1962 | 0 | } |
1963 | | |
1964 | | // optional double offset = 2; |
1965 | 0 | inline bool RtmpPlay2Options::_internal_has_offset() const { |
1966 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
1967 | 0 | return value; |
1968 | 0 | } |
1969 | 0 | inline bool RtmpPlay2Options::has_offset() const { |
1970 | 0 | return _internal_has_offset(); |
1971 | 0 | } |
1972 | 0 | inline void RtmpPlay2Options::clear_offset() { |
1973 | 0 | _impl_.offset_ = 0; |
1974 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
1975 | 0 | } |
1976 | 0 | inline double RtmpPlay2Options::_internal_offset() const { |
1977 | 0 | return _impl_.offset_; |
1978 | 0 | } |
1979 | 0 | inline double RtmpPlay2Options::offset() const { |
1980 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpPlay2Options.offset) |
1981 | 0 | return _internal_offset(); |
1982 | 0 | } |
1983 | 0 | inline void RtmpPlay2Options::_internal_set_offset(double value) { |
1984 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
1985 | 0 | _impl_.offset_ = value; |
1986 | 0 | } |
1987 | 0 | inline void RtmpPlay2Options::set_offset(double value) { |
1988 | 0 | _internal_set_offset(value); |
1989 | 0 | // @@protoc_insertion_point(field_set:brpc.RtmpPlay2Options.offset) |
1990 | 0 | } |
1991 | | |
1992 | | // optional string oldStreamName = 3; |
1993 | 0 | inline bool RtmpPlay2Options::_internal_has_oldstreamname() const { |
1994 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
1995 | 0 | return value; |
1996 | 0 | } |
1997 | 0 | inline bool RtmpPlay2Options::has_oldstreamname() const { |
1998 | 0 | return _internal_has_oldstreamname(); |
1999 | 0 | } |
2000 | 0 | inline void RtmpPlay2Options::clear_oldstreamname() { |
2001 | 0 | _impl_.oldstreamname_.ClearToEmpty(); |
2002 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2003 | 0 | } |
2004 | 0 | inline const std::string& RtmpPlay2Options::oldstreamname() const { |
2005 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpPlay2Options.oldStreamName) |
2006 | 0 | return _internal_oldstreamname(); |
2007 | 0 | } |
2008 | | template <typename ArgT0, typename... ArgT> |
2009 | | inline PROTOBUF_ALWAYS_INLINE |
2010 | | void RtmpPlay2Options::set_oldstreamname(ArgT0&& arg0, ArgT... args) { |
2011 | | _impl_._has_bits_[0] |= 0x00000001u; |
2012 | | _impl_.oldstreamname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2013 | | // @@protoc_insertion_point(field_set:brpc.RtmpPlay2Options.oldStreamName) |
2014 | | } |
2015 | 0 | inline std::string* RtmpPlay2Options::mutable_oldstreamname() { |
2016 | 0 | std::string* _s = _internal_mutable_oldstreamname(); |
2017 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpPlay2Options.oldStreamName) |
2018 | 0 | return _s; |
2019 | 0 | } |
2020 | 0 | inline const std::string& RtmpPlay2Options::_internal_oldstreamname() const { |
2021 | 0 | return _impl_.oldstreamname_.Get(); |
2022 | 0 | } |
2023 | 0 | inline void RtmpPlay2Options::_internal_set_oldstreamname(const std::string& value) { |
2024 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2025 | 0 | _impl_.oldstreamname_.Set(value, GetArenaForAllocation()); |
2026 | 0 | } |
2027 | 0 | inline std::string* RtmpPlay2Options::_internal_mutable_oldstreamname() { |
2028 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2029 | 0 | return _impl_.oldstreamname_.Mutable(GetArenaForAllocation()); |
2030 | 0 | } |
2031 | 0 | inline std::string* RtmpPlay2Options::release_oldstreamname() { |
2032 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpPlay2Options.oldStreamName) |
2033 | 0 | if (!_internal_has_oldstreamname()) { |
2034 | 0 | return nullptr; |
2035 | 0 | } |
2036 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2037 | 0 | auto* p = _impl_.oldstreamname_.Release(); |
2038 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2039 | 0 | if (_impl_.oldstreamname_.IsDefault()) { |
2040 | 0 | _impl_.oldstreamname_.Set("", GetArenaForAllocation()); |
2041 | 0 | } |
2042 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2043 | 0 | return p; |
2044 | 0 | } |
2045 | 0 | inline void RtmpPlay2Options::set_allocated_oldstreamname(std::string* oldstreamname) { |
2046 | 0 | if (oldstreamname != nullptr) { |
2047 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2048 | 0 | } else { |
2049 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2050 | 0 | } |
2051 | 0 | _impl_.oldstreamname_.SetAllocated(oldstreamname, GetArenaForAllocation()); |
2052 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2053 | 0 | if (_impl_.oldstreamname_.IsDefault()) { |
2054 | 0 | _impl_.oldstreamname_.Set("", GetArenaForAllocation()); |
2055 | 0 | } |
2056 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2057 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpPlay2Options.oldStreamName) |
2058 | 0 | } |
2059 | | |
2060 | | // optional double start = 4; |
2061 | 0 | inline bool RtmpPlay2Options::_internal_has_start() const { |
2062 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
2063 | 0 | return value; |
2064 | 0 | } |
2065 | 0 | inline bool RtmpPlay2Options::has_start() const { |
2066 | 0 | return _internal_has_start(); |
2067 | 0 | } |
2068 | 0 | inline void RtmpPlay2Options::clear_start() { |
2069 | 0 | _impl_.start_ = 0; |
2070 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
2071 | 0 | } |
2072 | 0 | inline double RtmpPlay2Options::_internal_start() const { |
2073 | 0 | return _impl_.start_; |
2074 | 0 | } |
2075 | 0 | inline double RtmpPlay2Options::start() const { |
2076 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpPlay2Options.start) |
2077 | 0 | return _internal_start(); |
2078 | 0 | } |
2079 | 0 | inline void RtmpPlay2Options::_internal_set_start(double value) { |
2080 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
2081 | 0 | _impl_.start_ = value; |
2082 | 0 | } |
2083 | 0 | inline void RtmpPlay2Options::set_start(double value) { |
2084 | 0 | _internal_set_start(value); |
2085 | 0 | // @@protoc_insertion_point(field_set:brpc.RtmpPlay2Options.start) |
2086 | 0 | } |
2087 | | |
2088 | | // optional string streamName = 5; |
2089 | 0 | inline bool RtmpPlay2Options::_internal_has_streamname() const { |
2090 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
2091 | 0 | return value; |
2092 | 0 | } |
2093 | 0 | inline bool RtmpPlay2Options::has_streamname() const { |
2094 | 0 | return _internal_has_streamname(); |
2095 | 0 | } |
2096 | 0 | inline void RtmpPlay2Options::clear_streamname() { |
2097 | 0 | _impl_.streamname_.ClearToEmpty(); |
2098 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2099 | 0 | } |
2100 | 0 | inline const std::string& RtmpPlay2Options::streamname() const { |
2101 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpPlay2Options.streamName) |
2102 | 0 | return _internal_streamname(); |
2103 | 0 | } |
2104 | | template <typename ArgT0, typename... ArgT> |
2105 | | inline PROTOBUF_ALWAYS_INLINE |
2106 | | void RtmpPlay2Options::set_streamname(ArgT0&& arg0, ArgT... args) { |
2107 | | _impl_._has_bits_[0] |= 0x00000002u; |
2108 | | _impl_.streamname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2109 | | // @@protoc_insertion_point(field_set:brpc.RtmpPlay2Options.streamName) |
2110 | | } |
2111 | 0 | inline std::string* RtmpPlay2Options::mutable_streamname() { |
2112 | 0 | std::string* _s = _internal_mutable_streamname(); |
2113 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpPlay2Options.streamName) |
2114 | 0 | return _s; |
2115 | 0 | } |
2116 | 0 | inline const std::string& RtmpPlay2Options::_internal_streamname() const { |
2117 | 0 | return _impl_.streamname_.Get(); |
2118 | 0 | } |
2119 | 0 | inline void RtmpPlay2Options::_internal_set_streamname(const std::string& value) { |
2120 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2121 | 0 | _impl_.streamname_.Set(value, GetArenaForAllocation()); |
2122 | 0 | } |
2123 | 0 | inline std::string* RtmpPlay2Options::_internal_mutable_streamname() { |
2124 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2125 | 0 | return _impl_.streamname_.Mutable(GetArenaForAllocation()); |
2126 | 0 | } |
2127 | 0 | inline std::string* RtmpPlay2Options::release_streamname() { |
2128 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpPlay2Options.streamName) |
2129 | 0 | if (!_internal_has_streamname()) { |
2130 | 0 | return nullptr; |
2131 | 0 | } |
2132 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2133 | 0 | auto* p = _impl_.streamname_.Release(); |
2134 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2135 | 0 | if (_impl_.streamname_.IsDefault()) { |
2136 | 0 | _impl_.streamname_.Set("", GetArenaForAllocation()); |
2137 | 0 | } |
2138 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2139 | 0 | return p; |
2140 | 0 | } |
2141 | 0 | inline void RtmpPlay2Options::set_allocated_streamname(std::string* streamname) { |
2142 | 0 | if (streamname != nullptr) { |
2143 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2144 | 0 | } else { |
2145 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2146 | 0 | } |
2147 | 0 | _impl_.streamname_.SetAllocated(streamname, GetArenaForAllocation()); |
2148 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2149 | 0 | if (_impl_.streamname_.IsDefault()) { |
2150 | 0 | _impl_.streamname_.Set("", GetArenaForAllocation()); |
2151 | 0 | } |
2152 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2153 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpPlay2Options.streamName) |
2154 | 0 | } |
2155 | | |
2156 | | // optional string transition = 6; |
2157 | 0 | inline bool RtmpPlay2Options::_internal_has_transition() const { |
2158 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
2159 | 0 | return value; |
2160 | 0 | } |
2161 | 0 | inline bool RtmpPlay2Options::has_transition() const { |
2162 | 0 | return _internal_has_transition(); |
2163 | 0 | } |
2164 | 0 | inline void RtmpPlay2Options::clear_transition() { |
2165 | 0 | _impl_.transition_.ClearToEmpty(); |
2166 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2167 | 0 | } |
2168 | 0 | inline const std::string& RtmpPlay2Options::transition() const { |
2169 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpPlay2Options.transition) |
2170 | 0 | return _internal_transition(); |
2171 | 0 | } |
2172 | | template <typename ArgT0, typename... ArgT> |
2173 | | inline PROTOBUF_ALWAYS_INLINE |
2174 | | void RtmpPlay2Options::set_transition(ArgT0&& arg0, ArgT... args) { |
2175 | | _impl_._has_bits_[0] |= 0x00000004u; |
2176 | | _impl_.transition_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2177 | | // @@protoc_insertion_point(field_set:brpc.RtmpPlay2Options.transition) |
2178 | | } |
2179 | 0 | inline std::string* RtmpPlay2Options::mutable_transition() { |
2180 | 0 | std::string* _s = _internal_mutable_transition(); |
2181 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpPlay2Options.transition) |
2182 | 0 | return _s; |
2183 | 0 | } |
2184 | 0 | inline const std::string& RtmpPlay2Options::_internal_transition() const { |
2185 | 0 | return _impl_.transition_.Get(); |
2186 | 0 | } |
2187 | 0 | inline void RtmpPlay2Options::_internal_set_transition(const std::string& value) { |
2188 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2189 | 0 | _impl_.transition_.Set(value, GetArenaForAllocation()); |
2190 | 0 | } |
2191 | 0 | inline std::string* RtmpPlay2Options::_internal_mutable_transition() { |
2192 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2193 | 0 | return _impl_.transition_.Mutable(GetArenaForAllocation()); |
2194 | 0 | } |
2195 | 0 | inline std::string* RtmpPlay2Options::release_transition() { |
2196 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpPlay2Options.transition) |
2197 | 0 | if (!_internal_has_transition()) { |
2198 | 0 | return nullptr; |
2199 | 0 | } |
2200 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2201 | 0 | auto* p = _impl_.transition_.Release(); |
2202 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2203 | 0 | if (_impl_.transition_.IsDefault()) { |
2204 | 0 | _impl_.transition_.Set("", GetArenaForAllocation()); |
2205 | 0 | } |
2206 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2207 | 0 | return p; |
2208 | 0 | } |
2209 | 0 | inline void RtmpPlay2Options::set_allocated_transition(std::string* transition) { |
2210 | 0 | if (transition != nullptr) { |
2211 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2212 | 0 | } else { |
2213 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2214 | 0 | } |
2215 | 0 | _impl_.transition_.SetAllocated(transition, GetArenaForAllocation()); |
2216 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2217 | 0 | if (_impl_.transition_.IsDefault()) { |
2218 | 0 | _impl_.transition_.Set("", GetArenaForAllocation()); |
2219 | 0 | } |
2220 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2221 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpPlay2Options.transition) |
2222 | 0 | } |
2223 | | |
2224 | | // ------------------------------------------------------------------- |
2225 | | |
2226 | | // RtmpInfo |
2227 | | |
2228 | | // optional string code = 1; |
2229 | 0 | inline bool RtmpInfo::_internal_has_code() const { |
2230 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2231 | 0 | return value; |
2232 | 0 | } |
2233 | 0 | inline bool RtmpInfo::has_code() const { |
2234 | 0 | return _internal_has_code(); |
2235 | 0 | } |
2236 | 0 | inline void RtmpInfo::clear_code() { |
2237 | 0 | _impl_.code_.ClearToEmpty(); |
2238 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2239 | 0 | } |
2240 | 0 | inline const std::string& RtmpInfo::code() const { |
2241 | | // @@protoc_insertion_point(field_get:brpc.RtmpInfo.code) |
2242 | 0 | return _internal_code(); |
2243 | 0 | } |
2244 | | template <typename ArgT0, typename... ArgT> |
2245 | | inline PROTOBUF_ALWAYS_INLINE |
2246 | 0 | void RtmpInfo::set_code(ArgT0&& arg0, ArgT... args) { |
2247 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2248 | 0 | _impl_.code_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2249 | | // @@protoc_insertion_point(field_set:brpc.RtmpInfo.code) |
2250 | 0 | } Unexecuted instantiation: void brpc::RtmpInfo::set_code<char const (&) [30]>(char const (&) [30]) Unexecuted instantiation: void brpc::RtmpInfo::set_code<char const (&) [31]>(char const (&) [31]) Unexecuted instantiation: void brpc::RtmpInfo::set_code<char const (&) [36]>(char const (&) [36]) Unexecuted instantiation: void brpc::RtmpInfo::set_code<char const (&) [21]>(char const (&) [21]) Unexecuted instantiation: void brpc::RtmpInfo::set_code<char const (&) [24]>(char const (&) [24]) Unexecuted instantiation: void brpc::RtmpInfo::set_code<char const (&) [22]>(char const (&) [22]) Unexecuted instantiation: void brpc::RtmpInfo::set_code<char const (&) [23]>(char const (&) [23]) Unexecuted instantiation: void brpc::RtmpInfo::set_code<char const (&) [25]>(char const (&) [25]) |
2251 | 0 | inline std::string* RtmpInfo::mutable_code() { |
2252 | 0 | std::string* _s = _internal_mutable_code(); |
2253 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpInfo.code) |
2254 | 0 | return _s; |
2255 | 0 | } |
2256 | 0 | inline const std::string& RtmpInfo::_internal_code() const { |
2257 | 0 | return _impl_.code_.Get(); |
2258 | 0 | } |
2259 | 0 | inline void RtmpInfo::_internal_set_code(const std::string& value) { |
2260 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2261 | 0 | _impl_.code_.Set(value, GetArenaForAllocation()); |
2262 | 0 | } |
2263 | 0 | inline std::string* RtmpInfo::_internal_mutable_code() { |
2264 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2265 | 0 | return _impl_.code_.Mutable(GetArenaForAllocation()); |
2266 | 0 | } |
2267 | 0 | inline std::string* RtmpInfo::release_code() { |
2268 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpInfo.code) |
2269 | 0 | if (!_internal_has_code()) { |
2270 | 0 | return nullptr; |
2271 | 0 | } |
2272 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2273 | 0 | auto* p = _impl_.code_.Release(); |
2274 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2275 | 0 | if (_impl_.code_.IsDefault()) { |
2276 | 0 | _impl_.code_.Set("", GetArenaForAllocation()); |
2277 | 0 | } |
2278 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2279 | 0 | return p; |
2280 | 0 | } |
2281 | 0 | inline void RtmpInfo::set_allocated_code(std::string* code) { |
2282 | 0 | if (code != nullptr) { |
2283 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2284 | 0 | } else { |
2285 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2286 | 0 | } |
2287 | 0 | _impl_.code_.SetAllocated(code, GetArenaForAllocation()); |
2288 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2289 | 0 | if (_impl_.code_.IsDefault()) { |
2290 | 0 | _impl_.code_.Set("", GetArenaForAllocation()); |
2291 | 0 | } |
2292 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2293 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpInfo.code) |
2294 | 0 | } |
2295 | | |
2296 | | // optional string level = 2; |
2297 | 0 | inline bool RtmpInfo::_internal_has_level() const { |
2298 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
2299 | 0 | return value; |
2300 | 0 | } |
2301 | 0 | inline bool RtmpInfo::has_level() const { |
2302 | 0 | return _internal_has_level(); |
2303 | 0 | } |
2304 | 0 | inline void RtmpInfo::clear_level() { |
2305 | 0 | _impl_.level_.ClearToEmpty(); |
2306 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2307 | 0 | } |
2308 | 0 | inline const std::string& RtmpInfo::level() const { |
2309 | | // @@protoc_insertion_point(field_get:brpc.RtmpInfo.level) |
2310 | 0 | return _internal_level(); |
2311 | 0 | } |
2312 | | template <typename ArgT0, typename... ArgT> |
2313 | | inline PROTOBUF_ALWAYS_INLINE |
2314 | 0 | void RtmpInfo::set_level(ArgT0&& arg0, ArgT... args) { |
2315 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2316 | 0 | _impl_.level_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2317 | | // @@protoc_insertion_point(field_set:brpc.RtmpInfo.level) |
2318 | 0 | } Unexecuted instantiation: void brpc::RtmpInfo::set_level<char const (&) [6]>(char const (&) [6]) Unexecuted instantiation: void brpc::RtmpInfo::set_level<char const (&) [7]>(char const (&) [7]) |
2319 | 0 | inline std::string* RtmpInfo::mutable_level() { |
2320 | 0 | std::string* _s = _internal_mutable_level(); |
2321 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpInfo.level) |
2322 | 0 | return _s; |
2323 | 0 | } |
2324 | 0 | inline const std::string& RtmpInfo::_internal_level() const { |
2325 | 0 | return _impl_.level_.Get(); |
2326 | 0 | } |
2327 | 0 | inline void RtmpInfo::_internal_set_level(const std::string& value) { |
2328 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2329 | 0 | _impl_.level_.Set(value, GetArenaForAllocation()); |
2330 | 0 | } |
2331 | 0 | inline std::string* RtmpInfo::_internal_mutable_level() { |
2332 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2333 | 0 | return _impl_.level_.Mutable(GetArenaForAllocation()); |
2334 | 0 | } |
2335 | 0 | inline std::string* RtmpInfo::release_level() { |
2336 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpInfo.level) |
2337 | 0 | if (!_internal_has_level()) { |
2338 | 0 | return nullptr; |
2339 | 0 | } |
2340 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2341 | 0 | auto* p = _impl_.level_.Release(); |
2342 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2343 | 0 | if (_impl_.level_.IsDefault()) { |
2344 | 0 | _impl_.level_.Set("", GetArenaForAllocation()); |
2345 | 0 | } |
2346 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2347 | 0 | return p; |
2348 | 0 | } |
2349 | 0 | inline void RtmpInfo::set_allocated_level(std::string* level) { |
2350 | 0 | if (level != nullptr) { |
2351 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2352 | 0 | } else { |
2353 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2354 | 0 | } |
2355 | 0 | _impl_.level_.SetAllocated(level, GetArenaForAllocation()); |
2356 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2357 | 0 | if (_impl_.level_.IsDefault()) { |
2358 | 0 | _impl_.level_.Set("", GetArenaForAllocation()); |
2359 | 0 | } |
2360 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2361 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpInfo.level) |
2362 | 0 | } |
2363 | | |
2364 | | // optional string description = 3; |
2365 | 0 | inline bool RtmpInfo::_internal_has_description() const { |
2366 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
2367 | 0 | return value; |
2368 | 0 | } |
2369 | 0 | inline bool RtmpInfo::has_description() const { |
2370 | 0 | return _internal_has_description(); |
2371 | 0 | } |
2372 | 0 | inline void RtmpInfo::clear_description() { |
2373 | 0 | _impl_.description_.ClearToEmpty(); |
2374 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2375 | 0 | } |
2376 | 0 | inline const std::string& RtmpInfo::description() const { |
2377 | | // @@protoc_insertion_point(field_get:brpc.RtmpInfo.description) |
2378 | 0 | return _internal_description(); |
2379 | 0 | } |
2380 | | template <typename ArgT0, typename... ArgT> |
2381 | | inline PROTOBUF_ALWAYS_INLINE |
2382 | 0 | void RtmpInfo::set_description(ArgT0&& arg0, ArgT... args) { |
2383 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2384 | 0 | _impl_.description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2385 | | // @@protoc_insertion_point(field_set:brpc.RtmpInfo.description) |
2386 | 0 | } Unexecuted instantiation: void brpc::RtmpInfo::set_description<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) Unexecuted instantiation: void brpc::RtmpInfo::set_description<char const (&) [21]>(char const (&) [21]) Unexecuted instantiation: void brpc::RtmpInfo::set_description<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) Unexecuted instantiation: void brpc::RtmpInfo::set_description<char const (&) [19]>(char const (&) [19]) Unexecuted instantiation: void brpc::RtmpInfo::set_description<char const (&) [13]>(char const (&) [13]) Unexecuted instantiation: void brpc::RtmpInfo::set_description<char const (&) [15]>(char const (&) [15]) Unexecuted instantiation: void brpc::RtmpInfo::set_description<char const*>(char const*&&) |
2387 | 0 | inline std::string* RtmpInfo::mutable_description() { |
2388 | 0 | std::string* _s = _internal_mutable_description(); |
2389 | 0 | // @@protoc_insertion_point(field_mutable:brpc.RtmpInfo.description) |
2390 | 0 | return _s; |
2391 | 0 | } |
2392 | 0 | inline const std::string& RtmpInfo::_internal_description() const { |
2393 | 0 | return _impl_.description_.Get(); |
2394 | 0 | } |
2395 | 0 | inline void RtmpInfo::_internal_set_description(const std::string& value) { |
2396 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2397 | 0 | _impl_.description_.Set(value, GetArenaForAllocation()); |
2398 | 0 | } |
2399 | 0 | inline std::string* RtmpInfo::_internal_mutable_description() { |
2400 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2401 | 0 | return _impl_.description_.Mutable(GetArenaForAllocation()); |
2402 | 0 | } |
2403 | 0 | inline std::string* RtmpInfo::release_description() { |
2404 | 0 | // @@protoc_insertion_point(field_release:brpc.RtmpInfo.description) |
2405 | 0 | if (!_internal_has_description()) { |
2406 | 0 | return nullptr; |
2407 | 0 | } |
2408 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2409 | 0 | auto* p = _impl_.description_.Release(); |
2410 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2411 | 0 | if (_impl_.description_.IsDefault()) { |
2412 | 0 | _impl_.description_.Set("", GetArenaForAllocation()); |
2413 | 0 | } |
2414 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2415 | 0 | return p; |
2416 | 0 | } |
2417 | 0 | inline void RtmpInfo::set_allocated_description(std::string* description) { |
2418 | 0 | if (description != nullptr) { |
2419 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2420 | 0 | } else { |
2421 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2422 | 0 | } |
2423 | 0 | _impl_.description_.SetAllocated(description, GetArenaForAllocation()); |
2424 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2425 | 0 | if (_impl_.description_.IsDefault()) { |
2426 | 0 | _impl_.description_.Set("", GetArenaForAllocation()); |
2427 | 0 | } |
2428 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2429 | 0 | // @@protoc_insertion_point(field_set_allocated:brpc.RtmpInfo.description) |
2430 | 0 | } |
2431 | | |
2432 | | // optional double objectEncoding = 4; |
2433 | 0 | inline bool RtmpInfo::_internal_has_objectencoding() const { |
2434 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
2435 | 0 | return value; |
2436 | 0 | } |
2437 | 0 | inline bool RtmpInfo::has_objectencoding() const { |
2438 | 0 | return _internal_has_objectencoding(); |
2439 | 0 | } |
2440 | 0 | inline void RtmpInfo::clear_objectencoding() { |
2441 | 0 | _impl_.objectencoding_ = 0; |
2442 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
2443 | 0 | } |
2444 | 0 | inline double RtmpInfo::_internal_objectencoding() const { |
2445 | 0 | return _impl_.objectencoding_; |
2446 | 0 | } |
2447 | 0 | inline double RtmpInfo::objectencoding() const { |
2448 | 0 | // @@protoc_insertion_point(field_get:brpc.RtmpInfo.objectEncoding) |
2449 | 0 | return _internal_objectencoding(); |
2450 | 0 | } |
2451 | 0 | inline void RtmpInfo::_internal_set_objectencoding(double value) { |
2452 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
2453 | 0 | _impl_.objectencoding_ = value; |
2454 | 0 | } |
2455 | 0 | inline void RtmpInfo::set_objectencoding(double value) { |
2456 | 0 | _internal_set_objectencoding(value); |
2457 | | // @@protoc_insertion_point(field_set:brpc.RtmpInfo.objectEncoding) |
2458 | 0 | } |
2459 | | |
2460 | | // ------------------------------------------------------------------- |
2461 | | |
2462 | | // RtmpEmptyObject |
2463 | | |
2464 | | #ifdef __GNUC__ |
2465 | | #pragma GCC diagnostic pop |
2466 | | #endif // __GNUC__ |
2467 | | // ------------------------------------------------------------------- |
2468 | | |
2469 | | // ------------------------------------------------------------------- |
2470 | | |
2471 | | // ------------------------------------------------------------------- |
2472 | | |
2473 | | // ------------------------------------------------------------------- |
2474 | | |
2475 | | |
2476 | | // @@protoc_insertion_point(namespace_scope) |
2477 | | |
2478 | | } // namespace brpc |
2479 | | |
2480 | | // @@protoc_insertion_point(global_scope) |
2481 | | |
2482 | | #include <google/protobuf/port_undef.inc> |
2483 | | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_brpc_2frtmp_2eproto |