Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 0;

            if (!string.IsNullOrWhiteSpace(AccessId))
            {
                hash ^= AccessId.GetHashCode();
            }

            if (!string.IsNullOrWhiteSpace(DataSourceName))
            {
                hash ^= DataSourceName.GetHashCode();
            }

            if (!string.IsNullOrWhiteSpace(EntityTypeName))
            {
                hash ^= EntityTypeName.GetHashCode();
            }

            if (!string.IsNullOrWhiteSpace(JobId))
            {
                hash ^= JobId.GetHashCode();
            }

            hash ^= IsActive.GetHashCode();
            hash ^= IsPublic.GetHashCode();
            hash ^= IsStaging.GetHashCode();

            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (JobId.Length != 0)
            {
                hash ^= JobId.GetHashCode();
            }
            if (ServiceId != 0)
            {
                hash ^= ServiceId.GetHashCode();
            }
            if (MessageId != 0)
            {
                hash ^= MessageId.GetHashCode();
            }
            if (Data.Length != 0)
            {
                hash ^= Data.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 {
     return(JobId.GetHashCode()
            + JobReference.GetHashCode()
            + Signers.GetHashCode()
            + StatusUrl.GetHashCode());
 }
Esempio n. 4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ClusterId.Length != 0)
            {
                hash ^= ClusterId.GetHashCode();
            }
            if (JobId.Length != 0)
            {
                hash ^= JobId.GetHashCode();
            }
            if (Status != global::Yandex.Cloud.Dataproc.Manager.V1.Job.Types.Status.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 5
0
 /// <inheritdoc />
 public override int GetHashCode() => (JobId.GetHashCode() * 17) ^ Timestamp.GetHashCode();
Esempio n. 6
0
        //----------------------------------------------------------------//

        public override int GetHashCode()
        {
            return(JobId.GetHashCode() ^ PeopleId.GetHashCode());
        }
Esempio n. 7
0
 public override int GetHashCode()
 {
     // ReSharper disable once NonReadonlyMemberInGetHashCode
     return(JobId.GetHashCode());
 }
Esempio n. 8
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     return((JobId.GetHashCode() * 17) ^ Timestamp.GetHashCode());
 }