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

            if (UserEmail.Length != 0)
            {
                hash ^= UserEmail.GetHashCode();
            }
            if (deployTime_ != null)
            {
                hash ^= DeployTime.GetHashCode();
            }
            if (undeployTime_ != null)
            {
                hash ^= UndeployTime.GetHashCode();
            }
            if (Config.Length != 0)
            {
                hash ^= Config.GetHashCode();
            }
            if (Address.Length != 0)
            {
                hash ^= Address.GetHashCode();
            }
            hash ^= resourceUri_.GetHashCode();
            if (Platform != global::Grafeas.V1.DeploymentOccurrence.Types.Platform.Unspecified)
            {
                hash ^= Platform.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserEmail.Length != 0)
            {
                hash ^= UserEmail.GetHashCode();
            }
            if (deployTime_ != null)
            {
                hash ^= DeployTime.GetHashCode();
            }
            if (undeployTime_ != null)
            {
                hash ^= UndeployTime.GetHashCode();
            }
            if (Config.Length != 0)
            {
                hash ^= Config.GetHashCode();
            }
            if (Address.Length != 0)
            {
                hash ^= Address.GetHashCode();
            }
            hash ^= resourceUri_.GetHashCode();
            if (Platform != 0)
            {
                hash ^= Platform.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserEmail.Length != 0)
            {
                hash ^= UserEmail.GetHashCode();
            }
            if (Image.Length != 0)
            {
                hash ^= Image.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #4
0
 public override int GetHashCode()
 {
     return(Timestamp.GetHashCode() ^ UserEmail.GetHashCode() ^ (KeyPair == null ? 0 : KeyPair.GetHashCode()));
 }