public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { result_ = (global::HOLMS.Types.IAM.RPC.SessionSvcStartSessionResult)input.ReadEnum(); break; } case 18: { if (sessionContext_ == null) { sessionContext_ = new global::HOLMS.Types.Primitive.SessionContext(); } input.ReadMessage(sessionContext_); break; } } } }
public void MergeFrom(SessionSvcStartSessionResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.sessionContext_ != null) { if (sessionContext_ == null) { sessionContext_ = new global::HOLMS.Types.Primitive.SessionContext(); } SessionContext.MergeFrom(other.SessionContext); } }