public void MergeFrom(CreateResponse other) { if (other == null) { return; } if (other.body_ != null) { if (body_ == null) { Body = new global::NeoFS.API.v2.Session.CreateResponse.Types.Body(); } Body.MergeFrom(other.Body); } if (other.metaHeader_ != null) { if (metaHeader_ == null) { MetaHeader = new global::NeoFS.API.v2.Session.ResponseMetaHeader(); } MetaHeader.MergeFrom(other.MetaHeader); } if (other.verifyHeader_ != null) { if (verifyHeader_ == null) { VerifyHeader = new global::NeoFS.API.v2.Session.ResponseVerificationHeader(); } VerifyHeader.MergeFrom(other.VerifyHeader); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (body_ == null) { Body = new global::NeoFS.API.v2.Session.CreateResponse.Types.Body(); } input.ReadMessage(Body); break; } case 18: { if (metaHeader_ == null) { MetaHeader = new global::NeoFS.API.v2.Session.ResponseMetaHeader(); } input.ReadMessage(MetaHeader); break; } case 26: { if (verifyHeader_ == null) { VerifyHeader = new global::NeoFS.API.v2.Session.ResponseVerificationHeader(); } input.ReadMessage(VerifyHeader); break; } } } }