public override int GetHashCode() { int hash = 1; if (ApiType != global::Envoy.Api.V2.Core.ApiConfigSource.Types.ApiType.UnsupportedRestLegacy) { hash ^= ApiType.GetHashCode(); } hash ^= clusterNames_.GetHashCode(); hash ^= grpcServices_.GetHashCode(); if (refreshDelay_ != null) { hash ^= RefreshDelay.GetHashCode(); } if (requestTimeout_ != null) { hash ^= RequestTimeout.GetHashCode(); } if (rateLimitSettings_ != null) { hash ^= RateLimitSettings.GetHashCode(); } if (SetNodeOnFirstMessageOnly != false) { hash ^= SetNodeOnFirstMessageOnly.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (AuthApiCluster.Length != 0) { hash ^= AuthApiCluster.GetHashCode(); } if (StatPrefix.Length != 0) { hash ^= StatPrefix.GetHashCode(); } if (refreshDelay_ != null) { hash ^= RefreshDelay.GetHashCode(); } hash ^= ipWhiteList_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }