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

            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            if (InnerState.Length != 0)
            {
                hash ^= InnerState.GetHashCode();
            }
            if (Details.Length != 0)
            {
                hash ^= Details.GetHashCode();
            }
            if (stateStartTime_ != null)
            {
                hash ^= StateStartTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (State != global::Google.Cloud.Dataproc.V1.ClusterOperationStatus.Types.State.Unknown)
            {
                hash ^= State.GetHashCode();
            }
            if (InnerState.Length != 0)
            {
                hash ^= InnerState.GetHashCode();
            }
            if (Details.Length != 0)
            {
                hash ^= Details.GetHashCode();
            }
            if (stateStartTime_ != null)
            {
                hash ^= StateStartTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#3
0
 public bool Equals(State s)
 {
     return(s.InnerState.GetHashCode() == InnerState.GetHashCode());
 }
示例#4
0
 public override int GetHashCode()
 {
     return(InnerState.GetHashCode());
 }