public override int GetHashCode() { int hash = 1; if (Type != global::Envoy.Config.Filter.Fault.V3Alpha.FaultDelay.Types.FaultDelayType.Fixed) { hash ^= Type.GetHashCode(); } if (faultDelaySecifierCase_ == FaultDelaySecifierOneofCase.FixedDelay) { hash ^= FixedDelay.GetHashCode(); } if (faultDelaySecifierCase_ == FaultDelaySecifierOneofCase.HeaderDelay) { hash ^= HeaderDelay.GetHashCode(); } if (percentage_ != null) { hash ^= Percentage.GetHashCode(); } hash ^= (int)faultDelaySecifierCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Type != 0) { hash ^= Type.GetHashCode(); } if (Percent != 0) { hash ^= Percent.GetHashCode(); } if (faultDelaySecifierCase_ == FaultDelaySecifierOneofCase.FixedDelay) { hash ^= FixedDelay.GetHashCode(); } hash ^= (int)faultDelaySecifierCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }