コード例 #1
0
        public void MergeFrom(FunctionReply other)
        {
            if (other == null)
            {
                return;
            }
            sideEffects_.Add(other.sideEffects_);
            switch (other.ResponseCase)
            {
            case ResponseOneofCase.Reply:
                if (Reply == null)
                {
                    Reply = new global::Cloudstate.Reply();
                }
                Reply.MergeFrom(other.Reply);
                break;

            case ResponseOneofCase.Forward:
                if (Forward == null)
                {
                    Forward = new global::Cloudstate.Forward();
                }
                Forward.MergeFrom(other.Forward);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }