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: {
                    Id = input.ReadString();
                    break;
                }

                case 18: {
                    if (qualityLevel_ == null)
                    {
                        QualityLevel_ = new global::WUProtos.Data.SharedQualityLevel();
                    }
                    input.ReadMessage(QualityLevel_);
                    break;
                }
                }
            }
        }
Beispiel #2
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: {
                    ForceUpdate = input.ReadBool();
                    break;
                }

                case 18: {
                    ServerUri = input.ReadString();
                    break;
                }

                case 26: {
                    ActualEnvId = input.ReadString();
                    break;
                }

                case 34: {
                    ManifestVersion = input.ReadString();
                    break;
                }

                case 42: {
                    if (qualityLevel_ == null)
                    {
                        QualityLevel = new global::WUProtos.Data.SharedQualityLevel();
                    }
                    input.ReadMessage(QualityLevel);
                    break;
                }

                case 50: {
                    ForceUpdateUrl = input.ReadString();
                    break;
                }
                }
            }
        }
 public void MergeFrom(QualityLevel other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.qualityLevel_ != null)
     {
         if (qualityLevel_ == null)
         {
             QualityLevel_ = new global::WUProtos.Data.SharedQualityLevel();
         }
         QualityLevel_.MergeFrom(other.QualityLevel_);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Beispiel #4
0
 public void MergeFrom(ClientConfigurationResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ForceUpdate != false)
     {
         ForceUpdate = other.ForceUpdate;
     }
     if (other.ServerUri.Length != 0)
     {
         ServerUri = other.ServerUri;
     }
     if (other.ActualEnvId.Length != 0)
     {
         ActualEnvId = other.ActualEnvId;
     }
     if (other.ManifestVersion.Length != 0)
     {
         ManifestVersion = other.ManifestVersion;
     }
     if (other.qualityLevel_ != null)
     {
         if (qualityLevel_ == null)
         {
             QualityLevel = new global::WUProtos.Data.SharedQualityLevel();
         }
         QualityLevel.MergeFrom(other.QualityLevel);
     }
     if (other.ForceUpdateUrl.Length != 0)
     {
         ForceUpdateUrl = other.ForceUpdateUrl;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }