public override int GetHashCode() { int hash = 1; if (FieldPath.Length != 0) { hash ^= FieldPath.GetHashCode(); } if (valueCase_ == ValueOneofCase.Exact) { hash ^= Exact.GetHashCode(); } if (valueCase_ == ValueOneofCase.Prefix) { hash ^= Prefix.GetHashCode(); } if (valueCase_ == ValueOneofCase.Suffix) { hash ^= Suffix.GetHashCode(); } hash ^= (int)valueCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (matchPatternCase_ == MatchPatternOneofCase.Exact) { hash ^= Exact.GetHashCode(); } if (matchPatternCase_ == MatchPatternOneofCase.Prefix) { hash ^= Prefix.GetHashCode(); } if (matchPatternCase_ == MatchPatternOneofCase.Suffix) { hash ^= Suffix.GetHashCode(); } if (matchPatternCase_ == MatchPatternOneofCase.Regex) { hash ^= Regex.GetHashCode(); } if (matchPatternCase_ == MatchPatternOneofCase.SafeRegex) { hash ^= SafeRegex.GetHashCode(); } hash ^= (int)matchPatternCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashCode = -1444472756; if (Exact != null) { hashCode += Exact.GetHashCode(); } if (Fuzzy != null) { hashCode += Fuzzy.GetHashCode(); } return(hashCode); }