Example #1
0
                public void MergeFrom(pb::CodedInputStream input)
                {
                    uint tag;

                    while ((tag = input.ReadTag()) != 0)
                    {
                        switch (tag)
                        {
                        default:
                            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                            break;

                        case 8: {
                            ConditionKey = input.ReadUInt32();
                            break;
                        }

                        case 18: {
                            ConditionValue = input.ReadBytes();
                            break;
                        }

                        case 24: {
                            op_ = (global::Mysqlx.Expect.Open.Types.Condition.Types.ConditionOperation)input.ReadEnum();
                            break;
                        }
                        }
                    }
                }
Example #2
0
 public void MergeFrom(Condition other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ConditionKey != 0)
     {
         ConditionKey = other.ConditionKey;
     }
     if (other.ConditionValue.Length != 0)
     {
         ConditionValue = other.ConditionValue;
     }
     if (other.Op != 0)
     {
         Op = other.Op;
     }
 }
Example #3
0
 public void MergeFrom(Condition other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ConditionKey != 0)
     {
         ConditionKey = other.ConditionKey;
     }
     if (other.ConditionValue.Length != 0)
     {
         ConditionValue = other.ConditionValue;
     }
     if (other.Op != 0)
     {
         Op = other.Op;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }