Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ApiType != global::Envoy.Api.V3Alpha.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);
        }