public void MergeFrom(BuildLogStepDockerImage other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Tag.Length != 0) { Tag = other.Tag; } if (other.IsPulled != false) { IsPulled = other.IsPulled; } if (other.ImageSize != 0L) { ImageSize = other.ImageSize; } if (other.pullDuration_ != null) { if (pullDuration_ == null) { PullDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); } PullDuration.MergeFrom(other.PullDuration); } if (other.Error.Length != 0) { Error = other.Error; } if (other.IsTrusted != false) { IsTrusted = other.IsTrusted; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Tag.Length != 0) { hash ^= Tag.GetHashCode(); } if (IsPulled != false) { hash ^= IsPulled.GetHashCode(); } if (ImageSize != 0L) { hash ^= ImageSize.GetHashCode(); } if (pullDuration_ != null) { hash ^= PullDuration.GetHashCode(); } if (Error.Length != 0) { hash ^= Error.GetHashCode(); } if (IsTrusted != false) { hash ^= IsTrusted.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }