コード例 #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 != 0)
            {
                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 != global::Grafeas.V1.DeploymentOccurrence.Types.Platform.Unspecified)
            {
                hash ^= Platform.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }