public override int GetHashCode() { int hash = 1; if (hostIdentifierCase_ == HostIdentifierOneofCase.Endpoint) { hash ^= Endpoint.GetHashCode(); } if (hostIdentifierCase_ == HostIdentifierOneofCase.EndpointName) { hash ^= EndpointName.GetHashCode(); } if (HealthStatus != global::Envoy.Api.V2.Core.HealthStatus.Unknown) { hash ^= HealthStatus.GetHashCode(); } if (metadata_ != null) { hash ^= Metadata.GetHashCode(); } if (loadBalancingWeight_ != null) { hash ^= LoadBalancingWeight.GetHashCode(); } hash ^= (int)hostIdentifierCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { return(((EndpointName != null ? EndpointName.GetHashCode() : 0) * 397) ^ (InputQueue != null ? InputQueue.GetHashCode() : 0)); } }
public override int GetHashCode() { int hash = 1; if (EndpointId.Length != 0) { hash ^= EndpointId.GetHashCode(); } if (EndpointName.Length != 0) { hash ^= EndpointName.GetHashCode(); } if (EndpointType.Length != 0) { hash ^= EndpointType.GetHashCode(); } if (Status.Length != 0) { hash ^= Status.GetHashCode(); } hash ^= messageTypes_.GetHashCode(); if (ExternalId.Length != 0) { hash ^= ExternalId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { return(((EndpointName != null ? EndpointName.GetHashCode() : 0) * 397) ^ (MessageType != null ? MessageType.GetHashCode() : 0)); } }
public override int GetHashCode() { unchecked { var hashCode = (EndpointName != null ? EndpointName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (InstanceId != null ? InstanceId.GetHashCode() : 0); return(hashCode); } }