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

                    while ((tag = input.ReadTag()) != 0)
                    {
                        switch (tag)
                        {
                        default:
                            input.SkipLastField();
                            break;

                        case 10:
                        {
                            if (mKey_ == null)
                            {
                                mKey_ = new global::Proto.BaseData.Types.BaseValue();
                            }
                            input.ReadMessage(mKey_);
                            break;
                        }

                        case 18:
                        {
                            if (mValue_ == null)
                            {
                                mValue_ = new global::Proto.BaseData();
                            }
                            input.ReadMessage(mValue_);
                            break;
                        }
                        }
                    }
                }
Exemple #2
0
 public void MergeFrom(BaseData other)
 {
     if (other == null)
     {
         return;
     }
     if (other.MIsBaseObject != false)
     {
         MIsBaseObject = other.MIsBaseObject;
     }
     if (other.mValue_ != null)
     {
         if (mValue_ == null)
         {
             mValue_ = new global::Proto.BaseData.Types.BaseValue();
         }
         MValue.MergeFrom(other.MValue);
     }
     mObject_.Add(other.mObject_);
 }
Exemple #3
0
 public void MergeFrom(ObjectType other)
 {
     if (other == null)
     {
         return;
     }
     if (other.mKey_ != null)
     {
         if (mKey_ == null)
         {
             mKey_ = new global::Proto.BaseData.Types.BaseValue();
         }
         MKey.MergeFrom(other.MKey);
     }
     if (other.mValue_ != null)
     {
         if (mValue_ == null)
         {
             mValue_ = new global::Proto.BaseData();
         }
         MValue.MergeFrom(other.MValue);
     }
 }
Exemple #4
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8:
                {
                    MIsBaseObject = input.ReadBool();
                    break;
                }

                case 18:
                {
                    if (mValue_ == null)
                    {
                        mValue_ = new global::Proto.BaseData.Types.BaseValue();
                    }
                    input.ReadMessage(mValue_);
                    break;
                }

                case 26:
                {
                    mObject_.AddEntriesFrom(input, _repeated_mObject_codec);
                    break;
                }
                }
            }
        }