public override int GetHashCode()
        {
            int hash = 1;

            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (originalResource_ != null)
            {
                hash ^= OriginalResource.GetHashCode();
            }
            if (modifiedResource_ != null)
            {
                hash ^= ModifiedResource.GetHashCode();
            }
            if (expectedMask_ != null)
            {
                hash ^= ExpectedMask.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public void MergeFrom(TestCase other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.originalResource_ != null)
     {
         if (originalResource_ == null)
         {
             originalResource_ = new global::Google.Ads.GoogleAds.Tests.Util.Resource();
         }
         OriginalResource.MergeFrom(other.OriginalResource);
     }
     if (other.modifiedResource_ != null)
     {
         if (modifiedResource_ == null)
         {
             modifiedResource_ = new global::Google.Ads.GoogleAds.Tests.Util.Resource();
         }
         ModifiedResource.MergeFrom(other.ModifiedResource);
     }
     if (other.expectedMask_ != null)
     {
         if (expectedMask_ == null)
         {
             expectedMask_ = new global::Google.Protobuf.WellKnownTypes.FieldMask();
         }
         ExpectedMask.MergeFrom(other.ExpectedMask);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }