public override int GetHashCode() { int hash = 1; if (Code != global::Google.Cloud.Spanner.V1.TypeCode.Unspecified) { hash ^= Code.GetHashCode(); } if (arrayElementType_ != null) { hash ^= ArrayElementType.GetHashCode(); } if (structType_ != null) { hash ^= StructType.GetHashCode(); } if (TypeAnnotation != global::Google.Cloud.Spanner.V1.TypeAnnotationCode.Unspecified) { hash ^= TypeAnnotation.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Code != 0) { hash ^= Code.GetHashCode(); } if (arrayElementType_ != null) { hash ^= ArrayElementType.GetHashCode(); } if (structType_ != null) { hash ^= StructType.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (TypeKind != global::Google.Cloud.Bigquery.V2.StandardSqlDataType.Types.TypeKind.Unspecified) { hash ^= TypeKind.GetHashCode(); } if (subTypeCase_ == SubTypeOneofCase.ArrayElementType) { hash ^= ArrayElementType.GetHashCode(); } if (subTypeCase_ == SubTypeOneofCase.StructType) { hash ^= StructType.GetHashCode(); } hash ^= (int)subTypeCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }