Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 3
0
 public bool Equals(State s)
 {
     return(s.InnerState.GetHashCode() == InnerState.GetHashCode());
 }
Esempio n. 4
0
 public override int GetHashCode()
 {
     return(InnerState.GetHashCode());
 }