public bool Equals(EstafetteManifest other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(other, this)) { return(true); } if (!object.Equals(Builder, other.Builder)) { return(false); } if (!Labels.Equals(other.Labels)) { return(false); } if (!object.Equals(Version, other.Version)) { return(false); } if (!GlobalEnvVars.Equals(other.GlobalEnvVars)) { return(false); } if (!triggers_.Equals(other.triggers_)) { return(false); } if (!stages_.Equals(other.stages_)) { return(false); } if (!releases_.Equals(other.releases_)) { return(false); } return(Equals(_unknownFields, other._unknownFields)); }
public override int GetHashCode() { int hash = 1; if (builder_ != null) { hash ^= Builder.GetHashCode(); } hash ^= Labels.GetHashCode(); if (version_ != null) { hash ^= Version.GetHashCode(); } hash ^= GlobalEnvVars.GetHashCode(); hash ^= triggers_.GetHashCode(); hash ^= stages_.GetHashCode(); hash ^= releases_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }