public void MergeFrom(ResourceErrorDetail other) { if (other == null) { return; } if (other.resourceInfo_ != null) { if (resourceInfo_ == null) { ResourceInfo = new global::Google.Rpc.ResourceInfo(); } ResourceInfo.MergeFrom(other.ResourceInfo); } errorDetails_.Add(other.errorDetails_); if (other.ErrorCount != 0) { ErrorCount = other.ErrorCount; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }