1 // Generated by the protocol buffer compiler. DO NOT EDIT!
8 #include <google/protobuf/stubs/common.h>
9 #include <google/protobuf/stubs/port.h>
10 #include <google/protobuf/io/coded_stream.h>
11 #include <google/protobuf/wire_format_lite_inl.h>
12 #include <google/protobuf/descriptor.h>
13 #include <google/protobuf/generated_message_reflection.h>
14 #include <google/protobuf/reflection_ops.h>
15 #include <google/protobuf/wire_format.h>
16 // This is a temporary google only hack
17 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
18 #include "third_party/protobuf/version.h"
20 // @@protoc_insertion_point(includes)
22 namespace protobuf_api_2eproto {
23 extern PROTOBUF_INTERNAL_EXPORT_protobuf_api_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RICControlHeader;
24 extern PROTOBUF_INTERNAL_EXPORT_protobuf_api_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RICControlMessage;
25 extern PROTOBUF_INTERNAL_EXPORT_protobuf_api_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RICE2APHeader;
26 } // namespace protobuf_api_2eproto
28 class RICE2APHeaderDefaultTypeInternal {
30 ::google::protobuf::internal::ExplicitlyConstructed<RICE2APHeader>
32 } _RICE2APHeader_default_instance_;
33 class RICControlHeaderDefaultTypeInternal {
35 ::google::protobuf::internal::ExplicitlyConstructed<RICControlHeader>
37 } _RICControlHeader_default_instance_;
38 class RICControlMessageDefaultTypeInternal {
40 ::google::protobuf::internal::ExplicitlyConstructed<RICControlMessage>
42 } _RICControlMessage_default_instance_;
43 class RicControlGrpcReqDefaultTypeInternal {
45 ::google::protobuf::internal::ExplicitlyConstructed<RicControlGrpcReq>
47 } _RicControlGrpcReq_default_instance_;
48 class RicControlGrpcRspDefaultTypeInternal {
50 ::google::protobuf::internal::ExplicitlyConstructed<RicControlGrpcRsp>
52 } _RicControlGrpcRsp_default_instance_;
54 namespace protobuf_api_2eproto {
55 static void InitDefaultsRICE2APHeader() {
56 GOOGLE_PROTOBUF_VERIFY_VERSION;
59 void* ptr = &::api::_RICE2APHeader_default_instance_;
60 new (ptr) ::api::RICE2APHeader();
61 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
63 ::api::RICE2APHeader::InitAsDefaultInstance();
66 ::google::protobuf::internal::SCCInfo<0> scc_info_RICE2APHeader =
67 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRICE2APHeader}, {}};
69 static void InitDefaultsRICControlHeader() {
70 GOOGLE_PROTOBUF_VERIFY_VERSION;
73 void* ptr = &::api::_RICControlHeader_default_instance_;
74 new (ptr) ::api::RICControlHeader();
75 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
77 ::api::RICControlHeader::InitAsDefaultInstance();
80 ::google::protobuf::internal::SCCInfo<0> scc_info_RICControlHeader =
81 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRICControlHeader}, {}};
83 static void InitDefaultsRICControlMessage() {
84 GOOGLE_PROTOBUF_VERIFY_VERSION;
87 void* ptr = &::api::_RICControlMessage_default_instance_;
88 new (ptr) ::api::RICControlMessage();
89 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
91 ::api::RICControlMessage::InitAsDefaultInstance();
94 ::google::protobuf::internal::SCCInfo<0> scc_info_RICControlMessage =
95 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRICControlMessage}, {}};
97 static void InitDefaultsRicControlGrpcReq() {
98 GOOGLE_PROTOBUF_VERIFY_VERSION;
101 void* ptr = &::api::_RicControlGrpcReq_default_instance_;
102 new (ptr) ::api::RicControlGrpcReq();
103 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
105 ::api::RicControlGrpcReq::InitAsDefaultInstance();
108 ::google::protobuf::internal::SCCInfo<3> scc_info_RicControlGrpcReq =
109 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsRicControlGrpcReq}, {
110 &protobuf_api_2eproto::scc_info_RICE2APHeader.base,
111 &protobuf_api_2eproto::scc_info_RICControlHeader.base,
112 &protobuf_api_2eproto::scc_info_RICControlMessage.base,}};
114 static void InitDefaultsRicControlGrpcRsp() {
115 GOOGLE_PROTOBUF_VERIFY_VERSION;
118 void* ptr = &::api::_RicControlGrpcRsp_default_instance_;
119 new (ptr) ::api::RicControlGrpcRsp();
120 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
122 ::api::RicControlGrpcRsp::InitAsDefaultInstance();
125 ::google::protobuf::internal::SCCInfo<0> scc_info_RicControlGrpcRsp =
126 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRicControlGrpcRsp}, {}};
128 void InitDefaults() {
129 ::google::protobuf::internal::InitSCC(&scc_info_RICE2APHeader.base);
130 ::google::protobuf::internal::InitSCC(&scc_info_RICControlHeader.base);
131 ::google::protobuf::internal::InitSCC(&scc_info_RICControlMessage.base);
132 ::google::protobuf::internal::InitSCC(&scc_info_RicControlGrpcReq.base);
133 ::google::protobuf::internal::InitSCC(&scc_info_RicControlGrpcRsp.base);
136 ::google::protobuf::Metadata file_level_metadata[5];
137 const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2];
139 const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
140 ~0u, // no _has_bits_
141 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICE2APHeader, _internal_metadata_),
142 ~0u, // no _extensions_
143 ~0u, // no _oneof_case_
144 ~0u, // no _weak_field_map_
145 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICE2APHeader, ranfuncid_),
146 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICE2APHeader, ricrequestorid_),
147 ~0u, // no _has_bits_
148 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlHeader, _internal_metadata_),
149 ~0u, // no _extensions_
150 ~0u, // no _oneof_case_
151 ~0u, // no _weak_field_map_
152 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlHeader, controlstyle_),
153 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlHeader, controlactionid_),
154 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlHeader, ueid_),
155 ~0u, // no _has_bits_
156 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlMessage, _internal_metadata_),
157 ~0u, // no _extensions_
158 ~0u, // no _oneof_case_
159 ~0u, // no _weak_field_map_
160 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlMessage, riccontrolcelltypeval_),
161 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlMessage, targetcellid_),
162 ~0u, // no _has_bits_
163 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, _internal_metadata_),
164 ~0u, // no _extensions_
165 ~0u, // no _oneof_case_
166 ~0u, // no _weak_field_map_
167 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, e2nodeid_),
168 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, plmnid_),
169 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, ranname_),
170 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, rice2apheaderdata_),
171 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, riccontrolheaderdata_),
172 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, riccontrolmessagedata_),
173 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, riccontrolackreqval_),
174 ~0u, // no _has_bits_
175 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcRsp, _internal_metadata_),
176 ~0u, // no _extensions_
177 ~0u, // no _oneof_case_
178 ~0u, // no _weak_field_map_
179 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcRsp, rspcode_),
180 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcRsp, description_),
182 static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
183 { 0, -1, sizeof(::api::RICE2APHeader)},
184 { 7, -1, sizeof(::api::RICControlHeader)},
185 { 15, -1, sizeof(::api::RICControlMessage)},
186 { 22, -1, sizeof(::api::RicControlGrpcReq)},
187 { 34, -1, sizeof(::api::RicControlGrpcRsp)},
190 static ::google::protobuf::Message const * const file_default_instances[] = {
191 reinterpret_cast<const ::google::protobuf::Message*>(&::api::_RICE2APHeader_default_instance_),
192 reinterpret_cast<const ::google::protobuf::Message*>(&::api::_RICControlHeader_default_instance_),
193 reinterpret_cast<const ::google::protobuf::Message*>(&::api::_RICControlMessage_default_instance_),
194 reinterpret_cast<const ::google::protobuf::Message*>(&::api::_RicControlGrpcReq_default_instance_),
195 reinterpret_cast<const ::google::protobuf::Message*>(&::api::_RicControlGrpcRsp_default_instance_),
198 void protobuf_AssignDescriptors() {
201 "api.proto", schemas, file_default_instances, TableStruct::offsets,
202 file_level_metadata, file_level_enum_descriptors, NULL);
205 void protobuf_AssignDescriptorsOnce() {
206 static ::google::protobuf::internal::once_flag once;
207 ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
210 void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
211 void protobuf_RegisterTypes(const ::std::string&) {
212 protobuf_AssignDescriptorsOnce();
213 ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 5);
216 void AddDescriptorsImpl() {
218 static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
219 "\n\tapi.proto\022\003api\":\n\rRICE2APHeader\022\021\n\tRan"
220 "FuncId\030\001 \001(\003\022\026\n\016RICRequestorID\030\002 \001(\003\"O\n\020"
221 "RICControlHeader\022\024\n\014ControlStyle\030\001 \001(\003\022\027"
222 "\n\017ControlActionId\030\002 \001(\003\022\014\n\004UEID\030\003 \001(\t\"e\n"
223 "\021RICControlMessage\022:\n\025RICControlCellType"
224 "Val\030\001 \001(\0162\033.api.RICControlCellTypeEnum\022\024"
225 "\n\014TargetCellID\030\002 \001(\t\"\226\002\n\021RicControlGrpcR"
226 "eq\022\020\n\010e2NodeID\030\001 \001(\t\022\016\n\006plmnID\030\002 \001(\t\022\017\n\007"
227 "ranName\030\003 \001(\t\022-\n\021RICE2APHeaderData\030\004 \001(\013"
228 "2\022.api.RICE2APHeader\0223\n\024RICControlHeader"
229 "Data\030\005 \001(\0132\025.api.RICControlHeader\0225\n\025RIC"
230 "ControlMessageData\030\006 \001(\0132\026.api.RICContro"
231 "lMessage\0223\n\023RICControlAckReqVal\030\007 \001(\0162\026."
232 "api.RICControlAckEnum\"9\n\021RicControlGrpcR"
233 "sp\022\017\n\007rspCode\030\001 \001(\005\022\023\n\013description\030\002 \001(\t"
234 "*k\n\026RICControlCellTypeEnum\022\033\n\027RIC_CONTRO"
235 "L_CELL_UNKWON\020\000\022\027\n\023RIC_CONTROL_NR_CELL\020\001"
236 "\022\033\n\027RIC_CONTROL_EUTRAN_CELL\020\002*r\n\021RICCont"
237 "rolAckEnum\022\032\n\026RIC_CONTROL_ACK_UNKWON\020\000\022\026"
238 "\n\022RIC_CONTROL_NO_ACK\020\001\022\023\n\017RIC_CONTROL_AC"
239 "K\020\002\022\024\n\020RIC_CONTROL_NACK\020\0032Y\n\007MsgComm\022N\n\034"
240 "SendRICControlReqServiceGrpc\022\026.api.RicCo"
241 "ntrolGrpcReq\032\026.api.RicControlGrpcRspb\006pr"
244 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
246 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
247 "api.proto", &protobuf_RegisterTypes);
250 void AddDescriptors() {
251 static ::google::protobuf::internal::once_flag once;
252 ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
254 // Force AddDescriptors() to be called at dynamic initialization time.
255 struct StaticDescriptorInitializer {
256 StaticDescriptorInitializer() {
259 } static_descriptor_initializer;
260 } // namespace protobuf_api_2eproto
262 const ::google::protobuf::EnumDescriptor* RICControlCellTypeEnum_descriptor() {
263 protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
264 return protobuf_api_2eproto::file_level_enum_descriptors[0];
266 bool RICControlCellTypeEnum_IsValid(int value) {
277 const ::google::protobuf::EnumDescriptor* RICControlAckEnum_descriptor() {
278 protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
279 return protobuf_api_2eproto::file_level_enum_descriptors[1];
281 bool RICControlAckEnum_IsValid(int value) {
294 // ===================================================================
296 void RICE2APHeader::InitAsDefaultInstance() {
298 #if !defined(_MSC_VER) || _MSC_VER >= 1900
299 const int RICE2APHeader::kRanFuncIdFieldNumber;
300 const int RICE2APHeader::kRICRequestorIDFieldNumber;
301 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
303 RICE2APHeader::RICE2APHeader()
304 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
305 ::google::protobuf::internal::InitSCC(
306 &protobuf_api_2eproto::scc_info_RICE2APHeader.base);
308 // @@protoc_insertion_point(constructor:api.RICE2APHeader)
310 RICE2APHeader::RICE2APHeader(const RICE2APHeader& from)
311 : ::google::protobuf::Message(),
312 _internal_metadata_(NULL) {
313 _internal_metadata_.MergeFrom(from._internal_metadata_);
314 ::memcpy(&ranfuncid_, &from.ranfuncid_,
315 static_cast<size_t>(reinterpret_cast<char*>(&ricrequestorid_) -
316 reinterpret_cast<char*>(&ranfuncid_)) + sizeof(ricrequestorid_));
317 // @@protoc_insertion_point(copy_constructor:api.RICE2APHeader)
320 void RICE2APHeader::SharedCtor() {
321 ::memset(&ranfuncid_, 0, static_cast<size_t>(
322 reinterpret_cast<char*>(&ricrequestorid_) -
323 reinterpret_cast<char*>(&ranfuncid_)) + sizeof(ricrequestorid_));
326 RICE2APHeader::~RICE2APHeader() {
327 // @@protoc_insertion_point(destructor:api.RICE2APHeader)
331 void RICE2APHeader::SharedDtor() {
334 void RICE2APHeader::SetCachedSize(int size) const {
335 _cached_size_.Set(size);
337 const ::google::protobuf::Descriptor* RICE2APHeader::descriptor() {
338 ::protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
339 return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
342 const RICE2APHeader& RICE2APHeader::default_instance() {
343 ::google::protobuf::internal::InitSCC(&protobuf_api_2eproto::scc_info_RICE2APHeader.base);
344 return *internal_default_instance();
348 void RICE2APHeader::Clear() {
349 // @@protoc_insertion_point(message_clear_start:api.RICE2APHeader)
350 ::google::protobuf::uint32 cached_has_bits = 0;
351 // Prevent compiler warnings about cached_has_bits being unused
352 (void) cached_has_bits;
354 ::memset(&ranfuncid_, 0, static_cast<size_t>(
355 reinterpret_cast<char*>(&ricrequestorid_) -
356 reinterpret_cast<char*>(&ranfuncid_)) + sizeof(ricrequestorid_));
357 _internal_metadata_.Clear();
360 bool RICE2APHeader::MergePartialFromCodedStream(
361 ::google::protobuf::io::CodedInputStream* input) {
362 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
363 ::google::protobuf::uint32 tag;
364 // @@protoc_insertion_point(parse_start:api.RICE2APHeader)
366 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
368 if (!p.second) goto handle_unusual;
369 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
370 // int64 RanFuncId = 1;
372 if (static_cast< ::google::protobuf::uint8>(tag) ==
373 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
375 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
376 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
377 input, &ranfuncid_)));
384 // int64 RICRequestorID = 2;
386 if (static_cast< ::google::protobuf::uint8>(tag) ==
387 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
389 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
390 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
391 input, &ricrequestorid_)));
403 DO_(::google::protobuf::internal::WireFormat::SkipField(
404 input, tag, _internal_metadata_.mutable_unknown_fields()));
410 // @@protoc_insertion_point(parse_success:api.RICE2APHeader)
413 // @@protoc_insertion_point(parse_failure:api.RICE2APHeader)
418 void RICE2APHeader::SerializeWithCachedSizes(
419 ::google::protobuf::io::CodedOutputStream* output) const {
420 // @@protoc_insertion_point(serialize_start:api.RICE2APHeader)
421 ::google::protobuf::uint32 cached_has_bits = 0;
422 (void) cached_has_bits;
424 // int64 RanFuncId = 1;
425 if (this->ranfuncid() != 0) {
426 ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->ranfuncid(), output);
429 // int64 RICRequestorID = 2;
430 if (this->ricrequestorid() != 0) {
431 ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->ricrequestorid(), output);
434 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
435 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
436 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
438 // @@protoc_insertion_point(serialize_end:api.RICE2APHeader)
441 ::google::protobuf::uint8* RICE2APHeader::InternalSerializeWithCachedSizesToArray(
442 bool deterministic, ::google::protobuf::uint8* target) const {
443 (void)deterministic; // Unused
444 // @@protoc_insertion_point(serialize_to_array_start:api.RICE2APHeader)
445 ::google::protobuf::uint32 cached_has_bits = 0;
446 (void) cached_has_bits;
448 // int64 RanFuncId = 1;
449 if (this->ranfuncid() != 0) {
450 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->ranfuncid(), target);
453 // int64 RICRequestorID = 2;
454 if (this->ricrequestorid() != 0) {
455 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->ricrequestorid(), target);
458 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
459 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
460 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
462 // @@protoc_insertion_point(serialize_to_array_end:api.RICE2APHeader)
466 size_t RICE2APHeader::ByteSizeLong() const {
467 // @@protoc_insertion_point(message_byte_size_start:api.RICE2APHeader)
468 size_t total_size = 0;
470 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
472 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
473 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
475 // int64 RanFuncId = 1;
476 if (this->ranfuncid() != 0) {
478 ::google::protobuf::internal::WireFormatLite::Int64Size(
482 // int64 RICRequestorID = 2;
483 if (this->ricrequestorid() != 0) {
485 ::google::protobuf::internal::WireFormatLite::Int64Size(
486 this->ricrequestorid());
489 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
490 SetCachedSize(cached_size);
494 void RICE2APHeader::MergeFrom(const ::google::protobuf::Message& from) {
495 // @@protoc_insertion_point(generalized_merge_from_start:api.RICE2APHeader)
496 GOOGLE_DCHECK_NE(&from, this);
497 const RICE2APHeader* source =
498 ::google::protobuf::internal::DynamicCastToGenerated<const RICE2APHeader>(
500 if (source == NULL) {
501 // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.RICE2APHeader)
502 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
504 // @@protoc_insertion_point(generalized_merge_from_cast_success:api.RICE2APHeader)
509 void RICE2APHeader::MergeFrom(const RICE2APHeader& from) {
510 // @@protoc_insertion_point(class_specific_merge_from_start:api.RICE2APHeader)
511 GOOGLE_DCHECK_NE(&from, this);
512 _internal_metadata_.MergeFrom(from._internal_metadata_);
513 ::google::protobuf::uint32 cached_has_bits = 0;
514 (void) cached_has_bits;
516 if (from.ranfuncid() != 0) {
517 set_ranfuncid(from.ranfuncid());
519 if (from.ricrequestorid() != 0) {
520 set_ricrequestorid(from.ricrequestorid());
524 void RICE2APHeader::CopyFrom(const ::google::protobuf::Message& from) {
525 // @@protoc_insertion_point(generalized_copy_from_start:api.RICE2APHeader)
526 if (&from == this) return;
531 void RICE2APHeader::CopyFrom(const RICE2APHeader& from) {
532 // @@protoc_insertion_point(class_specific_copy_from_start:api.RICE2APHeader)
533 if (&from == this) return;
538 bool RICE2APHeader::IsInitialized() const {
542 void RICE2APHeader::Swap(RICE2APHeader* other) {
543 if (other == this) return;
546 void RICE2APHeader::InternalSwap(RICE2APHeader* other) {
548 swap(ranfuncid_, other->ranfuncid_);
549 swap(ricrequestorid_, other->ricrequestorid_);
550 _internal_metadata_.Swap(&other->_internal_metadata_);
553 ::google::protobuf::Metadata RICE2APHeader::GetMetadata() const {
554 protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
555 return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages];
559 // ===================================================================
561 void RICControlHeader::InitAsDefaultInstance() {
563 #if !defined(_MSC_VER) || _MSC_VER >= 1900
564 const int RICControlHeader::kControlStyleFieldNumber;
565 const int RICControlHeader::kControlActionIdFieldNumber;
566 const int RICControlHeader::kUEIDFieldNumber;
567 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
569 RICControlHeader::RICControlHeader()
570 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
571 ::google::protobuf::internal::InitSCC(
572 &protobuf_api_2eproto::scc_info_RICControlHeader.base);
574 // @@protoc_insertion_point(constructor:api.RICControlHeader)
576 RICControlHeader::RICControlHeader(const RICControlHeader& from)
577 : ::google::protobuf::Message(),
578 _internal_metadata_(NULL) {
579 _internal_metadata_.MergeFrom(from._internal_metadata_);
580 ueid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
581 if (from.ueid().size() > 0) {
582 ueid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ueid_);
584 ::memcpy(&controlstyle_, &from.controlstyle_,
585 static_cast<size_t>(reinterpret_cast<char*>(&controlactionid_) -
586 reinterpret_cast<char*>(&controlstyle_)) + sizeof(controlactionid_));
587 // @@protoc_insertion_point(copy_constructor:api.RICControlHeader)
590 void RICControlHeader::SharedCtor() {
591 ueid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
592 ::memset(&controlstyle_, 0, static_cast<size_t>(
593 reinterpret_cast<char*>(&controlactionid_) -
594 reinterpret_cast<char*>(&controlstyle_)) + sizeof(controlactionid_));
597 RICControlHeader::~RICControlHeader() {
598 // @@protoc_insertion_point(destructor:api.RICControlHeader)
602 void RICControlHeader::SharedDtor() {
603 ueid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
606 void RICControlHeader::SetCachedSize(int size) const {
607 _cached_size_.Set(size);
609 const ::google::protobuf::Descriptor* RICControlHeader::descriptor() {
610 ::protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
611 return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
614 const RICControlHeader& RICControlHeader::default_instance() {
615 ::google::protobuf::internal::InitSCC(&protobuf_api_2eproto::scc_info_RICControlHeader.base);
616 return *internal_default_instance();
620 void RICControlHeader::Clear() {
621 // @@protoc_insertion_point(message_clear_start:api.RICControlHeader)
622 ::google::protobuf::uint32 cached_has_bits = 0;
623 // Prevent compiler warnings about cached_has_bits being unused
624 (void) cached_has_bits;
626 ueid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
627 ::memset(&controlstyle_, 0, static_cast<size_t>(
628 reinterpret_cast<char*>(&controlactionid_) -
629 reinterpret_cast<char*>(&controlstyle_)) + sizeof(controlactionid_));
630 _internal_metadata_.Clear();
633 bool RICControlHeader::MergePartialFromCodedStream(
634 ::google::protobuf::io::CodedInputStream* input) {
635 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
636 ::google::protobuf::uint32 tag;
637 // @@protoc_insertion_point(parse_start:api.RICControlHeader)
639 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
641 if (!p.second) goto handle_unusual;
642 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
643 // int64 ControlStyle = 1;
645 if (static_cast< ::google::protobuf::uint8>(tag) ==
646 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
648 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
649 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
650 input, &controlstyle_)));
657 // int64 ControlActionId = 2;
659 if (static_cast< ::google::protobuf::uint8>(tag) ==
660 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
662 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
663 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
664 input, &controlactionid_)));
673 if (static_cast< ::google::protobuf::uint8>(tag) ==
674 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
675 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
676 input, this->mutable_ueid()));
677 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
678 this->ueid().data(), static_cast<int>(this->ueid().length()),
679 ::google::protobuf::internal::WireFormatLite::PARSE,
680 "api.RICControlHeader.UEID"));
692 DO_(::google::protobuf::internal::WireFormat::SkipField(
693 input, tag, _internal_metadata_.mutable_unknown_fields()));
699 // @@protoc_insertion_point(parse_success:api.RICControlHeader)
702 // @@protoc_insertion_point(parse_failure:api.RICControlHeader)
707 void RICControlHeader::SerializeWithCachedSizes(
708 ::google::protobuf::io::CodedOutputStream* output) const {
709 // @@protoc_insertion_point(serialize_start:api.RICControlHeader)
710 ::google::protobuf::uint32 cached_has_bits = 0;
711 (void) cached_has_bits;
713 // int64 ControlStyle = 1;
714 if (this->controlstyle() != 0) {
715 ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->controlstyle(), output);
718 // int64 ControlActionId = 2;
719 if (this->controlactionid() != 0) {
720 ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->controlactionid(), output);
724 if (this->ueid().size() > 0) {
725 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
726 this->ueid().data(), static_cast<int>(this->ueid().length()),
727 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
728 "api.RICControlHeader.UEID");
729 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
730 3, this->ueid(), output);
733 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
734 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
735 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
737 // @@protoc_insertion_point(serialize_end:api.RICControlHeader)
740 ::google::protobuf::uint8* RICControlHeader::InternalSerializeWithCachedSizesToArray(
741 bool deterministic, ::google::protobuf::uint8* target) const {
742 (void)deterministic; // Unused
743 // @@protoc_insertion_point(serialize_to_array_start:api.RICControlHeader)
744 ::google::protobuf::uint32 cached_has_bits = 0;
745 (void) cached_has_bits;
747 // int64 ControlStyle = 1;
748 if (this->controlstyle() != 0) {
749 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->controlstyle(), target);
752 // int64 ControlActionId = 2;
753 if (this->controlactionid() != 0) {
754 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->controlactionid(), target);
758 if (this->ueid().size() > 0) {
759 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
760 this->ueid().data(), static_cast<int>(this->ueid().length()),
761 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
762 "api.RICControlHeader.UEID");
764 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
765 3, this->ueid(), target);
768 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
769 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
770 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
772 // @@protoc_insertion_point(serialize_to_array_end:api.RICControlHeader)
776 size_t RICControlHeader::ByteSizeLong() const {
777 // @@protoc_insertion_point(message_byte_size_start:api.RICControlHeader)
778 size_t total_size = 0;
780 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
782 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
783 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
786 if (this->ueid().size() > 0) {
788 ::google::protobuf::internal::WireFormatLite::StringSize(
792 // int64 ControlStyle = 1;
793 if (this->controlstyle() != 0) {
795 ::google::protobuf::internal::WireFormatLite::Int64Size(
796 this->controlstyle());
799 // int64 ControlActionId = 2;
800 if (this->controlactionid() != 0) {
802 ::google::protobuf::internal::WireFormatLite::Int64Size(
803 this->controlactionid());
806 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
807 SetCachedSize(cached_size);
811 void RICControlHeader::MergeFrom(const ::google::protobuf::Message& from) {
812 // @@protoc_insertion_point(generalized_merge_from_start:api.RICControlHeader)
813 GOOGLE_DCHECK_NE(&from, this);
814 const RICControlHeader* source =
815 ::google::protobuf::internal::DynamicCastToGenerated<const RICControlHeader>(
817 if (source == NULL) {
818 // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.RICControlHeader)
819 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
821 // @@protoc_insertion_point(generalized_merge_from_cast_success:api.RICControlHeader)
826 void RICControlHeader::MergeFrom(const RICControlHeader& from) {
827 // @@protoc_insertion_point(class_specific_merge_from_start:api.RICControlHeader)
828 GOOGLE_DCHECK_NE(&from, this);
829 _internal_metadata_.MergeFrom(from._internal_metadata_);
830 ::google::protobuf::uint32 cached_has_bits = 0;
831 (void) cached_has_bits;
833 if (from.ueid().size() > 0) {
835 ueid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ueid_);
837 if (from.controlstyle() != 0) {
838 set_controlstyle(from.controlstyle());
840 if (from.controlactionid() != 0) {
841 set_controlactionid(from.controlactionid());
845 void RICControlHeader::CopyFrom(const ::google::protobuf::Message& from) {
846 // @@protoc_insertion_point(generalized_copy_from_start:api.RICControlHeader)
847 if (&from == this) return;
852 void RICControlHeader::CopyFrom(const RICControlHeader& from) {
853 // @@protoc_insertion_point(class_specific_copy_from_start:api.RICControlHeader)
854 if (&from == this) return;
859 bool RICControlHeader::IsInitialized() const {
863 void RICControlHeader::Swap(RICControlHeader* other) {
864 if (other == this) return;
867 void RICControlHeader::InternalSwap(RICControlHeader* other) {
869 ueid_.Swap(&other->ueid_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
870 GetArenaNoVirtual());
871 swap(controlstyle_, other->controlstyle_);
872 swap(controlactionid_, other->controlactionid_);
873 _internal_metadata_.Swap(&other->_internal_metadata_);
876 ::google::protobuf::Metadata RICControlHeader::GetMetadata() const {
877 protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
878 return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages];
882 // ===================================================================
884 void RICControlMessage::InitAsDefaultInstance() {
886 #if !defined(_MSC_VER) || _MSC_VER >= 1900
887 const int RICControlMessage::kRICControlCellTypeValFieldNumber;
888 const int RICControlMessage::kTargetCellIDFieldNumber;
889 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
891 RICControlMessage::RICControlMessage()
892 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
893 ::google::protobuf::internal::InitSCC(
894 &protobuf_api_2eproto::scc_info_RICControlMessage.base);
896 // @@protoc_insertion_point(constructor:api.RICControlMessage)
898 RICControlMessage::RICControlMessage(const RICControlMessage& from)
899 : ::google::protobuf::Message(),
900 _internal_metadata_(NULL) {
901 _internal_metadata_.MergeFrom(from._internal_metadata_);
902 targetcellid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
903 if (from.targetcellid().size() > 0) {
904 targetcellid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.targetcellid_);
906 riccontrolcelltypeval_ = from.riccontrolcelltypeval_;
907 // @@protoc_insertion_point(copy_constructor:api.RICControlMessage)
910 void RICControlMessage::SharedCtor() {
911 targetcellid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
912 riccontrolcelltypeval_ = 0;
915 RICControlMessage::~RICControlMessage() {
916 // @@protoc_insertion_point(destructor:api.RICControlMessage)
920 void RICControlMessage::SharedDtor() {
921 targetcellid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
924 void RICControlMessage::SetCachedSize(int size) const {
925 _cached_size_.Set(size);
927 const ::google::protobuf::Descriptor* RICControlMessage::descriptor() {
928 ::protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
929 return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
932 const RICControlMessage& RICControlMessage::default_instance() {
933 ::google::protobuf::internal::InitSCC(&protobuf_api_2eproto::scc_info_RICControlMessage.base);
934 return *internal_default_instance();
938 void RICControlMessage::Clear() {
939 // @@protoc_insertion_point(message_clear_start:api.RICControlMessage)
940 ::google::protobuf::uint32 cached_has_bits = 0;
941 // Prevent compiler warnings about cached_has_bits being unused
942 (void) cached_has_bits;
944 targetcellid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
945 riccontrolcelltypeval_ = 0;
946 _internal_metadata_.Clear();
949 bool RICControlMessage::MergePartialFromCodedStream(
950 ::google::protobuf::io::CodedInputStream* input) {
951 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
952 ::google::protobuf::uint32 tag;
953 // @@protoc_insertion_point(parse_start:api.RICControlMessage)
955 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
957 if (!p.second) goto handle_unusual;
958 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
959 // .api.RICControlCellTypeEnum RICControlCellTypeVal = 1;
961 if (static_cast< ::google::protobuf::uint8>(tag) ==
962 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
964 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
965 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
967 set_riccontrolcelltypeval(static_cast< ::api::RICControlCellTypeEnum >(value));
974 // string TargetCellID = 2;
976 if (static_cast< ::google::protobuf::uint8>(tag) ==
977 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
978 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
979 input, this->mutable_targetcellid()));
980 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
981 this->targetcellid().data(), static_cast<int>(this->targetcellid().length()),
982 ::google::protobuf::internal::WireFormatLite::PARSE,
983 "api.RICControlMessage.TargetCellID"));
995 DO_(::google::protobuf::internal::WireFormat::SkipField(
996 input, tag, _internal_metadata_.mutable_unknown_fields()));
1002 // @@protoc_insertion_point(parse_success:api.RICControlMessage)
1005 // @@protoc_insertion_point(parse_failure:api.RICControlMessage)
1010 void RICControlMessage::SerializeWithCachedSizes(
1011 ::google::protobuf::io::CodedOutputStream* output) const {
1012 // @@protoc_insertion_point(serialize_start:api.RICControlMessage)
1013 ::google::protobuf::uint32 cached_has_bits = 0;
1014 (void) cached_has_bits;
1016 // .api.RICControlCellTypeEnum RICControlCellTypeVal = 1;
1017 if (this->riccontrolcelltypeval() != 0) {
1018 ::google::protobuf::internal::WireFormatLite::WriteEnum(
1019 1, this->riccontrolcelltypeval(), output);
1022 // string TargetCellID = 2;
1023 if (this->targetcellid().size() > 0) {
1024 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1025 this->targetcellid().data(), static_cast<int>(this->targetcellid().length()),
1026 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1027 "api.RICControlMessage.TargetCellID");
1028 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1029 2, this->targetcellid(), output);
1032 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1033 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1034 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
1036 // @@protoc_insertion_point(serialize_end:api.RICControlMessage)
1039 ::google::protobuf::uint8* RICControlMessage::InternalSerializeWithCachedSizesToArray(
1040 bool deterministic, ::google::protobuf::uint8* target) const {
1041 (void)deterministic; // Unused
1042 // @@protoc_insertion_point(serialize_to_array_start:api.RICControlMessage)
1043 ::google::protobuf::uint32 cached_has_bits = 0;
1044 (void) cached_has_bits;
1046 // .api.RICControlCellTypeEnum RICControlCellTypeVal = 1;
1047 if (this->riccontrolcelltypeval() != 0) {
1048 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1049 1, this->riccontrolcelltypeval(), target);
1052 // string TargetCellID = 2;
1053 if (this->targetcellid().size() > 0) {
1054 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1055 this->targetcellid().data(), static_cast<int>(this->targetcellid().length()),
1056 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1057 "api.RICControlMessage.TargetCellID");
1059 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1060 2, this->targetcellid(), target);
1063 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1064 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1065 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
1067 // @@protoc_insertion_point(serialize_to_array_end:api.RICControlMessage)
1071 size_t RICControlMessage::ByteSizeLong() const {
1072 // @@protoc_insertion_point(message_byte_size_start:api.RICControlMessage)
1073 size_t total_size = 0;
1075 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1077 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1078 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
1080 // string TargetCellID = 2;
1081 if (this->targetcellid().size() > 0) {
1083 ::google::protobuf::internal::WireFormatLite::StringSize(
1084 this->targetcellid());
1087 // .api.RICControlCellTypeEnum RICControlCellTypeVal = 1;
1088 if (this->riccontrolcelltypeval() != 0) {
1090 ::google::protobuf::internal::WireFormatLite::EnumSize(this->riccontrolcelltypeval());
1093 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1094 SetCachedSize(cached_size);
1098 void RICControlMessage::MergeFrom(const ::google::protobuf::Message& from) {
1099 // @@protoc_insertion_point(generalized_merge_from_start:api.RICControlMessage)
1100 GOOGLE_DCHECK_NE(&from, this);
1101 const RICControlMessage* source =
1102 ::google::protobuf::internal::DynamicCastToGenerated<const RICControlMessage>(
1104 if (source == NULL) {
1105 // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.RICControlMessage)
1106 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1108 // @@protoc_insertion_point(generalized_merge_from_cast_success:api.RICControlMessage)
1113 void RICControlMessage::MergeFrom(const RICControlMessage& from) {
1114 // @@protoc_insertion_point(class_specific_merge_from_start:api.RICControlMessage)
1115 GOOGLE_DCHECK_NE(&from, this);
1116 _internal_metadata_.MergeFrom(from._internal_metadata_);
1117 ::google::protobuf::uint32 cached_has_bits = 0;
1118 (void) cached_has_bits;
1120 if (from.targetcellid().size() > 0) {
1122 targetcellid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.targetcellid_);
1124 if (from.riccontrolcelltypeval() != 0) {
1125 set_riccontrolcelltypeval(from.riccontrolcelltypeval());
1129 void RICControlMessage::CopyFrom(const ::google::protobuf::Message& from) {
1130 // @@protoc_insertion_point(generalized_copy_from_start:api.RICControlMessage)
1131 if (&from == this) return;
1136 void RICControlMessage::CopyFrom(const RICControlMessage& from) {
1137 // @@protoc_insertion_point(class_specific_copy_from_start:api.RICControlMessage)
1138 if (&from == this) return;
1143 bool RICControlMessage::IsInitialized() const {
1147 void RICControlMessage::Swap(RICControlMessage* other) {
1148 if (other == this) return;
1149 InternalSwap(other);
1151 void RICControlMessage::InternalSwap(RICControlMessage* other) {
1153 targetcellid_.Swap(&other->targetcellid_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1154 GetArenaNoVirtual());
1155 swap(riccontrolcelltypeval_, other->riccontrolcelltypeval_);
1156 _internal_metadata_.Swap(&other->_internal_metadata_);
1159 ::google::protobuf::Metadata RICControlMessage::GetMetadata() const {
1160 protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
1161 return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages];
1165 // ===================================================================
1167 void RicControlGrpcReq::InitAsDefaultInstance() {
1168 ::api::_RicControlGrpcReq_default_instance_._instance.get_mutable()->rice2apheaderdata_ = const_cast< ::api::RICE2APHeader*>(
1169 ::api::RICE2APHeader::internal_default_instance());
1170 ::api::_RicControlGrpcReq_default_instance_._instance.get_mutable()->riccontrolheaderdata_ = const_cast< ::api::RICControlHeader*>(
1171 ::api::RICControlHeader::internal_default_instance());
1172 ::api::_RicControlGrpcReq_default_instance_._instance.get_mutable()->riccontrolmessagedata_ = const_cast< ::api::RICControlMessage*>(
1173 ::api::RICControlMessage::internal_default_instance());
1175 #if !defined(_MSC_VER) || _MSC_VER >= 1900
1176 const int RicControlGrpcReq::kE2NodeIDFieldNumber;
1177 const int RicControlGrpcReq::kPlmnIDFieldNumber;
1178 const int RicControlGrpcReq::kRanNameFieldNumber;
1179 const int RicControlGrpcReq::kRICE2APHeaderDataFieldNumber;
1180 const int RicControlGrpcReq::kRICControlHeaderDataFieldNumber;
1181 const int RicControlGrpcReq::kRICControlMessageDataFieldNumber;
1182 const int RicControlGrpcReq::kRICControlAckReqValFieldNumber;
1183 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1185 RicControlGrpcReq::RicControlGrpcReq()
1186 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1187 ::google::protobuf::internal::InitSCC(
1188 &protobuf_api_2eproto::scc_info_RicControlGrpcReq.base);
1190 // @@protoc_insertion_point(constructor:api.RicControlGrpcReq)
1192 RicControlGrpcReq::RicControlGrpcReq(const RicControlGrpcReq& from)
1193 : ::google::protobuf::Message(),
1194 _internal_metadata_(NULL) {
1195 _internal_metadata_.MergeFrom(from._internal_metadata_);
1196 e2nodeid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1197 if (from.e2nodeid().size() > 0) {
1198 e2nodeid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.e2nodeid_);
1200 plmnid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1201 if (from.plmnid().size() > 0) {
1202 plmnid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plmnid_);
1204 ranname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1205 if (from.ranname().size() > 0) {
1206 ranname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ranname_);
1208 if (from.has_rice2apheaderdata()) {
1209 rice2apheaderdata_ = new ::api::RICE2APHeader(*from.rice2apheaderdata_);
1211 rice2apheaderdata_ = NULL;
1213 if (from.has_riccontrolheaderdata()) {
1214 riccontrolheaderdata_ = new ::api::RICControlHeader(*from.riccontrolheaderdata_);
1216 riccontrolheaderdata_ = NULL;
1218 if (from.has_riccontrolmessagedata()) {
1219 riccontrolmessagedata_ = new ::api::RICControlMessage(*from.riccontrolmessagedata_);
1221 riccontrolmessagedata_ = NULL;
1223 riccontrolackreqval_ = from.riccontrolackreqval_;
1224 // @@protoc_insertion_point(copy_constructor:api.RicControlGrpcReq)
1227 void RicControlGrpcReq::SharedCtor() {
1228 e2nodeid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1229 plmnid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1230 ranname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1231 ::memset(&rice2apheaderdata_, 0, static_cast<size_t>(
1232 reinterpret_cast<char*>(&riccontrolackreqval_) -
1233 reinterpret_cast<char*>(&rice2apheaderdata_)) + sizeof(riccontrolackreqval_));
1236 RicControlGrpcReq::~RicControlGrpcReq() {
1237 // @@protoc_insertion_point(destructor:api.RicControlGrpcReq)
1241 void RicControlGrpcReq::SharedDtor() {
1242 e2nodeid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1243 plmnid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1244 ranname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1245 if (this != internal_default_instance()) delete rice2apheaderdata_;
1246 if (this != internal_default_instance()) delete riccontrolheaderdata_;
1247 if (this != internal_default_instance()) delete riccontrolmessagedata_;
1250 void RicControlGrpcReq::SetCachedSize(int size) const {
1251 _cached_size_.Set(size);
1253 const ::google::protobuf::Descriptor* RicControlGrpcReq::descriptor() {
1254 ::protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
1255 return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1258 const RicControlGrpcReq& RicControlGrpcReq::default_instance() {
1259 ::google::protobuf::internal::InitSCC(&protobuf_api_2eproto::scc_info_RicControlGrpcReq.base);
1260 return *internal_default_instance();
1264 void RicControlGrpcReq::Clear() {
1265 // @@protoc_insertion_point(message_clear_start:api.RicControlGrpcReq)
1266 ::google::protobuf::uint32 cached_has_bits = 0;
1267 // Prevent compiler warnings about cached_has_bits being unused
1268 (void) cached_has_bits;
1270 e2nodeid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1271 plmnid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1272 ranname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1273 if (GetArenaNoVirtual() == NULL && rice2apheaderdata_ != NULL) {
1274 delete rice2apheaderdata_;
1276 rice2apheaderdata_ = NULL;
1277 if (GetArenaNoVirtual() == NULL && riccontrolheaderdata_ != NULL) {
1278 delete riccontrolheaderdata_;
1280 riccontrolheaderdata_ = NULL;
1281 if (GetArenaNoVirtual() == NULL && riccontrolmessagedata_ != NULL) {
1282 delete riccontrolmessagedata_;
1284 riccontrolmessagedata_ = NULL;
1285 riccontrolackreqval_ = 0;
1286 _internal_metadata_.Clear();
1289 bool RicControlGrpcReq::MergePartialFromCodedStream(
1290 ::google::protobuf::io::CodedInputStream* input) {
1291 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1292 ::google::protobuf::uint32 tag;
1293 // @@protoc_insertion_point(parse_start:api.RicControlGrpcReq)
1295 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1297 if (!p.second) goto handle_unusual;
1298 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1299 // string e2NodeID = 1;
1301 if (static_cast< ::google::protobuf::uint8>(tag) ==
1302 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1303 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1304 input, this->mutable_e2nodeid()));
1305 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1306 this->e2nodeid().data(), static_cast<int>(this->e2nodeid().length()),
1307 ::google::protobuf::internal::WireFormatLite::PARSE,
1308 "api.RicControlGrpcReq.e2NodeID"));
1310 goto handle_unusual;
1315 // string plmnID = 2;
1317 if (static_cast< ::google::protobuf::uint8>(tag) ==
1318 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
1319 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1320 input, this->mutable_plmnid()));
1321 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1322 this->plmnid().data(), static_cast<int>(this->plmnid().length()),
1323 ::google::protobuf::internal::WireFormatLite::PARSE,
1324 "api.RicControlGrpcReq.plmnID"));
1326 goto handle_unusual;
1331 // string ranName = 3;
1333 if (static_cast< ::google::protobuf::uint8>(tag) ==
1334 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
1335 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1336 input, this->mutable_ranname()));
1337 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1338 this->ranname().data(), static_cast<int>(this->ranname().length()),
1339 ::google::protobuf::internal::WireFormatLite::PARSE,
1340 "api.RicControlGrpcReq.ranName"));
1342 goto handle_unusual;
1347 // .api.RICE2APHeader RICE2APHeaderData = 4;
1349 if (static_cast< ::google::protobuf::uint8>(tag) ==
1350 static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
1351 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1352 input, mutable_rice2apheaderdata()));
1354 goto handle_unusual;
1359 // .api.RICControlHeader RICControlHeaderData = 5;
1361 if (static_cast< ::google::protobuf::uint8>(tag) ==
1362 static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
1363 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1364 input, mutable_riccontrolheaderdata()));
1366 goto handle_unusual;
1371 // .api.RICControlMessage RICControlMessageData = 6;
1373 if (static_cast< ::google::protobuf::uint8>(tag) ==
1374 static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
1375 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1376 input, mutable_riccontrolmessagedata()));
1378 goto handle_unusual;
1383 // .api.RICControlAckEnum RICControlAckReqVal = 7;
1385 if (static_cast< ::google::protobuf::uint8>(tag) ==
1386 static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
1388 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1389 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
1391 set_riccontrolackreqval(static_cast< ::api::RICControlAckEnum >(value));
1393 goto handle_unusual;
1403 DO_(::google::protobuf::internal::WireFormat::SkipField(
1404 input, tag, _internal_metadata_.mutable_unknown_fields()));
1410 // @@protoc_insertion_point(parse_success:api.RicControlGrpcReq)
1413 // @@protoc_insertion_point(parse_failure:api.RicControlGrpcReq)
1418 void RicControlGrpcReq::SerializeWithCachedSizes(
1419 ::google::protobuf::io::CodedOutputStream* output) const {
1420 // @@protoc_insertion_point(serialize_start:api.RicControlGrpcReq)
1421 ::google::protobuf::uint32 cached_has_bits = 0;
1422 (void) cached_has_bits;
1424 // string e2NodeID = 1;
1425 if (this->e2nodeid().size() > 0) {
1426 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1427 this->e2nodeid().data(), static_cast<int>(this->e2nodeid().length()),
1428 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1429 "api.RicControlGrpcReq.e2NodeID");
1430 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1431 1, this->e2nodeid(), output);
1434 // string plmnID = 2;
1435 if (this->plmnid().size() > 0) {
1436 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1437 this->plmnid().data(), static_cast<int>(this->plmnid().length()),
1438 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1439 "api.RicControlGrpcReq.plmnID");
1440 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1441 2, this->plmnid(), output);
1444 // string ranName = 3;
1445 if (this->ranname().size() > 0) {
1446 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1447 this->ranname().data(), static_cast<int>(this->ranname().length()),
1448 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1449 "api.RicControlGrpcReq.ranName");
1450 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1451 3, this->ranname(), output);
1454 // .api.RICE2APHeader RICE2APHeaderData = 4;
1455 if (this->has_rice2apheaderdata()) {
1456 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1457 4, this->_internal_rice2apheaderdata(), output);
1460 // .api.RICControlHeader RICControlHeaderData = 5;
1461 if (this->has_riccontrolheaderdata()) {
1462 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1463 5, this->_internal_riccontrolheaderdata(), output);
1466 // .api.RICControlMessage RICControlMessageData = 6;
1467 if (this->has_riccontrolmessagedata()) {
1468 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1469 6, this->_internal_riccontrolmessagedata(), output);
1472 // .api.RICControlAckEnum RICControlAckReqVal = 7;
1473 if (this->riccontrolackreqval() != 0) {
1474 ::google::protobuf::internal::WireFormatLite::WriteEnum(
1475 7, this->riccontrolackreqval(), output);
1478 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1479 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1480 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
1482 // @@protoc_insertion_point(serialize_end:api.RicControlGrpcReq)
1485 ::google::protobuf::uint8* RicControlGrpcReq::InternalSerializeWithCachedSizesToArray(
1486 bool deterministic, ::google::protobuf::uint8* target) const {
1487 (void)deterministic; // Unused
1488 // @@protoc_insertion_point(serialize_to_array_start:api.RicControlGrpcReq)
1489 ::google::protobuf::uint32 cached_has_bits = 0;
1490 (void) cached_has_bits;
1492 // string e2NodeID = 1;
1493 if (this->e2nodeid().size() > 0) {
1494 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1495 this->e2nodeid().data(), static_cast<int>(this->e2nodeid().length()),
1496 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1497 "api.RicControlGrpcReq.e2NodeID");
1499 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1500 1, this->e2nodeid(), target);
1503 // string plmnID = 2;
1504 if (this->plmnid().size() > 0) {
1505 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1506 this->plmnid().data(), static_cast<int>(this->plmnid().length()),
1507 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1508 "api.RicControlGrpcReq.plmnID");
1510 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1511 2, this->plmnid(), target);
1514 // string ranName = 3;
1515 if (this->ranname().size() > 0) {
1516 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1517 this->ranname().data(), static_cast<int>(this->ranname().length()),
1518 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1519 "api.RicControlGrpcReq.ranName");
1521 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1522 3, this->ranname(), target);
1525 // .api.RICE2APHeader RICE2APHeaderData = 4;
1526 if (this->has_rice2apheaderdata()) {
1527 target = ::google::protobuf::internal::WireFormatLite::
1528 InternalWriteMessageToArray(
1529 4, this->_internal_rice2apheaderdata(), deterministic, target);
1532 // .api.RICControlHeader RICControlHeaderData = 5;
1533 if (this->has_riccontrolheaderdata()) {
1534 target = ::google::protobuf::internal::WireFormatLite::
1535 InternalWriteMessageToArray(
1536 5, this->_internal_riccontrolheaderdata(), deterministic, target);
1539 // .api.RICControlMessage RICControlMessageData = 6;
1540 if (this->has_riccontrolmessagedata()) {
1541 target = ::google::protobuf::internal::WireFormatLite::
1542 InternalWriteMessageToArray(
1543 6, this->_internal_riccontrolmessagedata(), deterministic, target);
1546 // .api.RICControlAckEnum RICControlAckReqVal = 7;
1547 if (this->riccontrolackreqval() != 0) {
1548 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1549 7, this->riccontrolackreqval(), target);
1552 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1553 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1554 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
1556 // @@protoc_insertion_point(serialize_to_array_end:api.RicControlGrpcReq)
1560 size_t RicControlGrpcReq::ByteSizeLong() const {
1561 // @@protoc_insertion_point(message_byte_size_start:api.RicControlGrpcReq)
1562 size_t total_size = 0;
1564 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1566 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1567 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
1569 // string e2NodeID = 1;
1570 if (this->e2nodeid().size() > 0) {
1572 ::google::protobuf::internal::WireFormatLite::StringSize(
1576 // string plmnID = 2;
1577 if (this->plmnid().size() > 0) {
1579 ::google::protobuf::internal::WireFormatLite::StringSize(
1583 // string ranName = 3;
1584 if (this->ranname().size() > 0) {
1586 ::google::protobuf::internal::WireFormatLite::StringSize(
1590 // .api.RICE2APHeader RICE2APHeaderData = 4;
1591 if (this->has_rice2apheaderdata()) {
1593 ::google::protobuf::internal::WireFormatLite::MessageSize(
1594 *rice2apheaderdata_);
1597 // .api.RICControlHeader RICControlHeaderData = 5;
1598 if (this->has_riccontrolheaderdata()) {
1600 ::google::protobuf::internal::WireFormatLite::MessageSize(
1601 *riccontrolheaderdata_);
1604 // .api.RICControlMessage RICControlMessageData = 6;
1605 if (this->has_riccontrolmessagedata()) {
1607 ::google::protobuf::internal::WireFormatLite::MessageSize(
1608 *riccontrolmessagedata_);
1611 // .api.RICControlAckEnum RICControlAckReqVal = 7;
1612 if (this->riccontrolackreqval() != 0) {
1614 ::google::protobuf::internal::WireFormatLite::EnumSize(this->riccontrolackreqval());
1617 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1618 SetCachedSize(cached_size);
1622 void RicControlGrpcReq::MergeFrom(const ::google::protobuf::Message& from) {
1623 // @@protoc_insertion_point(generalized_merge_from_start:api.RicControlGrpcReq)
1624 GOOGLE_DCHECK_NE(&from, this);
1625 const RicControlGrpcReq* source =
1626 ::google::protobuf::internal::DynamicCastToGenerated<const RicControlGrpcReq>(
1628 if (source == NULL) {
1629 // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.RicControlGrpcReq)
1630 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1632 // @@protoc_insertion_point(generalized_merge_from_cast_success:api.RicControlGrpcReq)
1637 void RicControlGrpcReq::MergeFrom(const RicControlGrpcReq& from) {
1638 // @@protoc_insertion_point(class_specific_merge_from_start:api.RicControlGrpcReq)
1639 GOOGLE_DCHECK_NE(&from, this);
1640 _internal_metadata_.MergeFrom(from._internal_metadata_);
1641 ::google::protobuf::uint32 cached_has_bits = 0;
1642 (void) cached_has_bits;
1644 if (from.e2nodeid().size() > 0) {
1646 e2nodeid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.e2nodeid_);
1648 if (from.plmnid().size() > 0) {
1650 plmnid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plmnid_);
1652 if (from.ranname().size() > 0) {
1654 ranname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ranname_);
1656 if (from.has_rice2apheaderdata()) {
1657 mutable_rice2apheaderdata()->::api::RICE2APHeader::MergeFrom(from.rice2apheaderdata());
1659 if (from.has_riccontrolheaderdata()) {
1660 mutable_riccontrolheaderdata()->::api::RICControlHeader::MergeFrom(from.riccontrolheaderdata());
1662 if (from.has_riccontrolmessagedata()) {
1663 mutable_riccontrolmessagedata()->::api::RICControlMessage::MergeFrom(from.riccontrolmessagedata());
1665 if (from.riccontrolackreqval() != 0) {
1666 set_riccontrolackreqval(from.riccontrolackreqval());
1670 void RicControlGrpcReq::CopyFrom(const ::google::protobuf::Message& from) {
1671 // @@protoc_insertion_point(generalized_copy_from_start:api.RicControlGrpcReq)
1672 if (&from == this) return;
1677 void RicControlGrpcReq::CopyFrom(const RicControlGrpcReq& from) {
1678 // @@protoc_insertion_point(class_specific_copy_from_start:api.RicControlGrpcReq)
1679 if (&from == this) return;
1684 bool RicControlGrpcReq::IsInitialized() const {
1688 void RicControlGrpcReq::Swap(RicControlGrpcReq* other) {
1689 if (other == this) return;
1690 InternalSwap(other);
1692 void RicControlGrpcReq::InternalSwap(RicControlGrpcReq* other) {
1694 e2nodeid_.Swap(&other->e2nodeid_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1695 GetArenaNoVirtual());
1696 plmnid_.Swap(&other->plmnid_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1697 GetArenaNoVirtual());
1698 ranname_.Swap(&other->ranname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1699 GetArenaNoVirtual());
1700 swap(rice2apheaderdata_, other->rice2apheaderdata_);
1701 swap(riccontrolheaderdata_, other->riccontrolheaderdata_);
1702 swap(riccontrolmessagedata_, other->riccontrolmessagedata_);
1703 swap(riccontrolackreqval_, other->riccontrolackreqval_);
1704 _internal_metadata_.Swap(&other->_internal_metadata_);
1707 ::google::protobuf::Metadata RicControlGrpcReq::GetMetadata() const {
1708 protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
1709 return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages];
1713 // ===================================================================
1715 void RicControlGrpcRsp::InitAsDefaultInstance() {
1717 #if !defined(_MSC_VER) || _MSC_VER >= 1900
1718 const int RicControlGrpcRsp::kRspCodeFieldNumber;
1719 const int RicControlGrpcRsp::kDescriptionFieldNumber;
1720 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1722 RicControlGrpcRsp::RicControlGrpcRsp()
1723 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1724 ::google::protobuf::internal::InitSCC(
1725 &protobuf_api_2eproto::scc_info_RicControlGrpcRsp.base);
1727 // @@protoc_insertion_point(constructor:api.RicControlGrpcRsp)
1729 RicControlGrpcRsp::RicControlGrpcRsp(const RicControlGrpcRsp& from)
1730 : ::google::protobuf::Message(),
1731 _internal_metadata_(NULL) {
1732 _internal_metadata_.MergeFrom(from._internal_metadata_);
1733 description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1734 if (from.description().size() > 0) {
1735 description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_);
1737 rspcode_ = from.rspcode_;
1738 // @@protoc_insertion_point(copy_constructor:api.RicControlGrpcRsp)
1741 void RicControlGrpcRsp::SharedCtor() {
1742 description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1746 RicControlGrpcRsp::~RicControlGrpcRsp() {
1747 // @@protoc_insertion_point(destructor:api.RicControlGrpcRsp)
1751 void RicControlGrpcRsp::SharedDtor() {
1752 description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1755 void RicControlGrpcRsp::SetCachedSize(int size) const {
1756 _cached_size_.Set(size);
1758 const ::google::protobuf::Descriptor* RicControlGrpcRsp::descriptor() {
1759 ::protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
1760 return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1763 const RicControlGrpcRsp& RicControlGrpcRsp::default_instance() {
1764 ::google::protobuf::internal::InitSCC(&protobuf_api_2eproto::scc_info_RicControlGrpcRsp.base);
1765 return *internal_default_instance();
1769 void RicControlGrpcRsp::Clear() {
1770 // @@protoc_insertion_point(message_clear_start:api.RicControlGrpcRsp)
1771 ::google::protobuf::uint32 cached_has_bits = 0;
1772 // Prevent compiler warnings about cached_has_bits being unused
1773 (void) cached_has_bits;
1775 description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1777 _internal_metadata_.Clear();
1780 bool RicControlGrpcRsp::MergePartialFromCodedStream(
1781 ::google::protobuf::io::CodedInputStream* input) {
1782 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1783 ::google::protobuf::uint32 tag;
1784 // @@protoc_insertion_point(parse_start:api.RicControlGrpcRsp)
1786 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1788 if (!p.second) goto handle_unusual;
1789 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1790 // int32 rspCode = 1;
1792 if (static_cast< ::google::protobuf::uint8>(tag) ==
1793 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
1795 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1796 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
1797 input, &rspcode_)));
1799 goto handle_unusual;
1804 // string description = 2;
1806 if (static_cast< ::google::protobuf::uint8>(tag) ==
1807 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
1808 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1809 input, this->mutable_description()));
1810 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1811 this->description().data(), static_cast<int>(this->description().length()),
1812 ::google::protobuf::internal::WireFormatLite::PARSE,
1813 "api.RicControlGrpcRsp.description"));
1815 goto handle_unusual;
1825 DO_(::google::protobuf::internal::WireFormat::SkipField(
1826 input, tag, _internal_metadata_.mutable_unknown_fields()));
1832 // @@protoc_insertion_point(parse_success:api.RicControlGrpcRsp)
1835 // @@protoc_insertion_point(parse_failure:api.RicControlGrpcRsp)
1840 void RicControlGrpcRsp::SerializeWithCachedSizes(
1841 ::google::protobuf::io::CodedOutputStream* output) const {
1842 // @@protoc_insertion_point(serialize_start:api.RicControlGrpcRsp)
1843 ::google::protobuf::uint32 cached_has_bits = 0;
1844 (void) cached_has_bits;
1846 // int32 rspCode = 1;
1847 if (this->rspcode() != 0) {
1848 ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->rspcode(), output);
1851 // string description = 2;
1852 if (this->description().size() > 0) {
1853 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1854 this->description().data(), static_cast<int>(this->description().length()),
1855 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1856 "api.RicControlGrpcRsp.description");
1857 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1858 2, this->description(), output);
1861 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1862 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1863 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
1865 // @@protoc_insertion_point(serialize_end:api.RicControlGrpcRsp)
1868 ::google::protobuf::uint8* RicControlGrpcRsp::InternalSerializeWithCachedSizesToArray(
1869 bool deterministic, ::google::protobuf::uint8* target) const {
1870 (void)deterministic; // Unused
1871 // @@protoc_insertion_point(serialize_to_array_start:api.RicControlGrpcRsp)
1872 ::google::protobuf::uint32 cached_has_bits = 0;
1873 (void) cached_has_bits;
1875 // int32 rspCode = 1;
1876 if (this->rspcode() != 0) {
1877 target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->rspcode(), target);
1880 // string description = 2;
1881 if (this->description().size() > 0) {
1882 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1883 this->description().data(), static_cast<int>(this->description().length()),
1884 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1885 "api.RicControlGrpcRsp.description");
1887 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1888 2, this->description(), target);
1891 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1892 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1893 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
1895 // @@protoc_insertion_point(serialize_to_array_end:api.RicControlGrpcRsp)
1899 size_t RicControlGrpcRsp::ByteSizeLong() const {
1900 // @@protoc_insertion_point(message_byte_size_start:api.RicControlGrpcRsp)
1901 size_t total_size = 0;
1903 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1905 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1906 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
1908 // string description = 2;
1909 if (this->description().size() > 0) {
1911 ::google::protobuf::internal::WireFormatLite::StringSize(
1912 this->description());
1915 // int32 rspCode = 1;
1916 if (this->rspcode() != 0) {
1918 ::google::protobuf::internal::WireFormatLite::Int32Size(
1922 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1923 SetCachedSize(cached_size);
1927 void RicControlGrpcRsp::MergeFrom(const ::google::protobuf::Message& from) {
1928 // @@protoc_insertion_point(generalized_merge_from_start:api.RicControlGrpcRsp)
1929 GOOGLE_DCHECK_NE(&from, this);
1930 const RicControlGrpcRsp* source =
1931 ::google::protobuf::internal::DynamicCastToGenerated<const RicControlGrpcRsp>(
1933 if (source == NULL) {
1934 // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.RicControlGrpcRsp)
1935 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1937 // @@protoc_insertion_point(generalized_merge_from_cast_success:api.RicControlGrpcRsp)
1942 void RicControlGrpcRsp::MergeFrom(const RicControlGrpcRsp& from) {
1943 // @@protoc_insertion_point(class_specific_merge_from_start:api.RicControlGrpcRsp)
1944 GOOGLE_DCHECK_NE(&from, this);
1945 _internal_metadata_.MergeFrom(from._internal_metadata_);
1946 ::google::protobuf::uint32 cached_has_bits = 0;
1947 (void) cached_has_bits;
1949 if (from.description().size() > 0) {
1951 description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_);
1953 if (from.rspcode() != 0) {
1954 set_rspcode(from.rspcode());
1958 void RicControlGrpcRsp::CopyFrom(const ::google::protobuf::Message& from) {
1959 // @@protoc_insertion_point(generalized_copy_from_start:api.RicControlGrpcRsp)
1960 if (&from == this) return;
1965 void RicControlGrpcRsp::CopyFrom(const RicControlGrpcRsp& from) {
1966 // @@protoc_insertion_point(class_specific_copy_from_start:api.RicControlGrpcRsp)
1967 if (&from == this) return;
1972 bool RicControlGrpcRsp::IsInitialized() const {
1976 void RicControlGrpcRsp::Swap(RicControlGrpcRsp* other) {
1977 if (other == this) return;
1978 InternalSwap(other);
1980 void RicControlGrpcRsp::InternalSwap(RicControlGrpcRsp* other) {
1982 description_.Swap(&other->description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1983 GetArenaNoVirtual());
1984 swap(rspcode_, other->rspcode_);
1985 _internal_metadata_.Swap(&other->_internal_metadata_);
1988 ::google::protobuf::Metadata RicControlGrpcRsp::GetMetadata() const {
1989 protobuf_api_2eproto::protobuf_AssignDescriptorsOnce();
1990 return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages];
1994 // @@protoc_insertion_point(namespace_scope)
1997 namespace protobuf {
1998 template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::api::RICE2APHeader* Arena::CreateMaybeMessage< ::api::RICE2APHeader >(Arena* arena) {
1999 return Arena::CreateInternal< ::api::RICE2APHeader >(arena);
2001 template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::api::RICControlHeader* Arena::CreateMaybeMessage< ::api::RICControlHeader >(Arena* arena) {
2002 return Arena::CreateInternal< ::api::RICControlHeader >(arena);
2004 template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::api::RICControlMessage* Arena::CreateMaybeMessage< ::api::RICControlMessage >(Arena* arena) {
2005 return Arena::CreateInternal< ::api::RICControlMessage >(arena);
2007 template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::api::RicControlGrpcReq* Arena::CreateMaybeMessage< ::api::RicControlGrpcReq >(Arena* arena) {
2008 return Arena::CreateInternal< ::api::RicControlGrpcReq >(arena);
2010 template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::api::RicControlGrpcRsp* Arena::CreateMaybeMessage< ::api::RicControlGrpcRsp >(Arena* arena) {
2011 return Arena::CreateInternal< ::api::RicControlGrpcRsp >(arena);
2013 } // namespace protobuf
2014 } // namespace google
2016 // @@protoc_insertion_point(global_scope)