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

            if (State != global::Google.Cloud.Orchestration.Airflow.Service.V1.OperationMetadata.Types.State.Unspecified)
            {
                hash ^= State.GetHashCode();
            }
            if (OperationType != global::Google.Cloud.Orchestration.Airflow.Service.V1.OperationMetadata.Types.Type.Unspecified)
            {
                hash ^= OperationType.GetHashCode();
            }
            if (Resource.Length != 0)
            {
                hash ^= Resource.GetHashCode();
            }
            if (ResourceUuid.Length != 0)
            {
                hash ^= ResourceUuid.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (endTime_ != null)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ClusterName.Length != 0)
            {
                hash ^= ClusterName.GetHashCode();
            }
            if (ClusterUuid.Length != 0)
            {
                hash ^= ClusterUuid.GetHashCode();
            }
            if (status_ != null)
            {
                hash ^= Status.GetHashCode();
            }
            hash ^= statusHistory_.GetHashCode();
            if (OperationType.Length != 0)
            {
                hash ^= OperationType.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            hash ^= warnings_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #3
0
        public override int GetHashCode()
        {
            var result = OperationType.GetHashCode();

            if (Name != null)
            {
                result ^= Name.GetHashCode();
            }

            if (VariableDefinitions != null)
            {
                result = VariableDefinitions.Aggregate(result, (x, y) => x ^ y.GetHashCode());
            }

            if (Directives != null)
            {
                result = Directives.Aggregate(result, (x, y) => x ^ y.GetHashCode());
            }

            if (SelectionSet != null)
            {
                result = SelectionSet.Aggregate(result, (x, y) => x ^ y.GetHashCode());
            }

            return(result);
        }
예제 #4
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                hashcode = (hashcode * 397) + OperationId.GetHashCode();
                hashcode = (hashcode * 397) + OperationType.GetHashCode();
                hashcode = (hashcode * 397) + HasResultSet.GetHashCode();
                if (__isset.modifiedRowCount)
                {
                    hashcode = (hashcode * 397) + ModifiedRowCount.GetHashCode();
                }
            }
            return(hashcode);
        }
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                hashcode = (hashcode * 397) + Status.GetHashCode();
                if (__isset.queryId)
                {
                    hashcode = (hashcode * 397) + QueryId.GetHashCode();
                }
                if (__isset.columns)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Columns);
                }
                if (__isset.operationType)
                {
                    hashcode = (hashcode * 397) + OperationType.GetHashCode();
                }
                if (__isset.ignoreTimeStamp)
                {
                    hashcode = (hashcode * 397) + IgnoreTimeStamp.GetHashCode();
                }
                if (__isset.dataTypeList)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(DataTypeList);
                }
                if (__isset.queryDataSet)
                {
                    hashcode = (hashcode * 397) + QueryDataSet.GetHashCode();
                }
                if (__isset.nonAlignQueryDataSet)
                {
                    hashcode = (hashcode * 397) + NonAlignQueryDataSet.GetHashCode();
                }
                if (__isset.columnNameIndexMap)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(ColumnNameIndexMap);
                }
            }
            return(hashcode);
        }
예제 #6
0
 public override int GetHashCode()
 {
     return(OperationType.GetHashCode());
 }
예제 #7
0
 public override int GetHashCode()
 {
     return(Name.GetHashCode() ^ OpType.GetHashCode() ^ UseNonPersistentFields.GetHashCode());
 }