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: {
                    global::Protos.PlainExpectation subBuilder = new global::Protos.PlainExpectation();
                    if (expectationCase_ == ExpectationOneofCase.PlainExpectation)
                    {
                        subBuilder.MergeFrom(PlainExpectation);
                    }
                    input.ReadMessage(subBuilder);
                    PlainExpectation = subBuilder;
                    break;
                }
                }
            }
        }
        public void MergeFrom(TokenExpectation other)
        {
            if (other == null)
            {
                return;
            }
            switch (other.ExpectationCase)
            {
            case ExpectationOneofCase.PlainExpectation:
                if (PlainExpectation == null)
                {
                    PlainExpectation = new global::Protos.PlainExpectation();
                }
                PlainExpectation.MergeFrom(other.PlainExpectation);
                break;
            }

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