Ejemplo n.º 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 10: {
                    LandmarkType = input.ReadString();
                    break;
                }

                case 18: {
                    if (commonData_ == null)
                    {
                        CommonData = new global::WUProtos.Data.POIInteract();
                    }
                    input.ReadMessage(CommonData);
                    break;
                }
                }
            }
        }
 public void MergeFrom(ClientTelemetryGreenhouseInteract other)
 {
     if (other == null)
     {
         return;
     }
     if (other.commonData_ != null)
     {
         if (commonData_ == null)
         {
             CommonData = new global::WUProtos.Data.POIInteract();
         }
         CommonData.MergeFrom(other.CommonData);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Ejemplo n.º 3
0
 public void MergeFrom(ClientTelemetryLandmarkInteract other)
 {
     if (other == null)
     {
         return;
     }
     if (other.LandmarkType.Length != 0)
     {
         LandmarkType = other.LandmarkType;
     }
     if (other.commonData_ != null)
     {
         if (commonData_ == null)
         {
             CommonData = new global::WUProtos.Data.POIInteract();
         }
         CommonData.MergeFrom(other.CommonData);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }