void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

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

                case 8: {
                    Code = (global::Google.Cloud.WebSecurityScanner.V1.ScanRunErrorTrace.Types.Code)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (scanConfigError_ == null)
                    {
                        ScanConfigError = new global::Google.Cloud.WebSecurityScanner.V1.ScanConfigError();
                    }
                    input.ReadMessage(ScanConfigError);
                    break;
                }

                case 24: {
                    MostCommonHttpErrorCode = input.ReadInt32();
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    Code = (global::Google.Cloud.WebSecurityScanner.V1.ScanRunErrorTrace.Types.Code)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (scanConfigError_ == null)
                    {
                        ScanConfigError = new global::Google.Cloud.WebSecurityScanner.V1.ScanConfigError();
                    }
                    input.ReadMessage(ScanConfigError);
                    break;
                }

                case 24: {
                    MostCommonHttpErrorCode = input.ReadInt32();
                    break;
                }
                }
            }
    #endif
        }
 public void MergeFrom(ScanRunErrorTrace other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Code != global::Google.Cloud.WebSecurityScanner.V1.ScanRunErrorTrace.Types.Code.Unspecified)
     {
         Code = other.Code;
     }
     if (other.scanConfigError_ != null)
     {
         if (scanConfigError_ == null)
         {
             ScanConfigError = new global::Google.Cloud.WebSecurityScanner.V1.ScanConfigError();
         }
         ScanConfigError.MergeFrom(other.ScanConfigError);
     }
     if (other.MostCommonHttpErrorCode != 0)
     {
         MostCommonHttpErrorCode = other.MostCommonHttpErrorCode;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }