public override int GetHashCode() { unchecked { return((Id.GetHashCode() * 397) ^ (VersionId?.GetHashCode() ?? 0)); } }
public override int GetHashCode() { int hash = 1; if (Target.Length != 0) { hash ^= Target.GetHashCode(); } if (Type != global::Google.Cloud.Functions.V1.OperationType.OperationUnspecified) { hash ^= Type.GetHashCode(); } if (request_ != null) { hash ^= Request.GetHashCode(); } if (VersionId != 0L) { hash ^= VersionId.GetHashCode(); } if (updateTime_ != null) { hash ^= UpdateTime.GetHashCode(); } if (BuildId.Length != 0) { hash ^= BuildId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (VersionId != null) { hashCode = hashCode * 59 + VersionId.GetHashCode(); } if (CacheOn != null) { hashCode = hashCode * 59 + CacheOn.GetHashCode(); } if (ConcurrencyLevel != null) { hashCode = hashCode * 59 + ConcurrencyLevel.GetHashCode(); } if (CacheStartSize != null) { hashCode = hashCode * 59 + CacheStartSize.GetHashCode(); } if (CacheTtl != null) { hashCode = hashCode * 59 + CacheTtl.GetHashCode(); } if (CacheSize != null) { hashCode = hashCode * 59 + CacheSize.GetHashCode(); } if (TimeLimit != null) { hashCode = hashCode * 59 + TimeLimit.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { return(VersionId.GetHashCode()); }