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

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (deleteTime_ != null)
            {
                hash ^= DeleteTime.GetHashCode();
            }
            if (currentOperation_ != null)
            {
                hash ^= CurrentOperation.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (ServeNodes != 0)
            {
                hash ^= ServeNodes.GetHashCode();
            }
            if (DefaultStorageType != global::Google.Bigtable.Admin.Cluster.V1.StorageType.STORAGE_UNSPECIFIED)
            {
                hash ^= DefaultStorageType.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (currentOperation_ != null)
            {
                hash ^= CurrentOperation.GetHashCode();
            }
            hash ^= ColumnFamilies.GetHashCode();
            if (Granularity != global::Google.Bigtable.Admin.Table.V1.Table.Types.TimestampGranularity.MILLIS)
            {
                hash ^= Granularity.GetHashCode();
            }
            return(hash);
        }
Example #3
0
        public override int GetHashCode()
        {
            var sum = Color.GetHashCode() + CurrentOperation.GetHashCode() + EditorStatus.GetHashCode();

            return(sum.GetHashCode());
        }