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

            if (cluster_ != null)
            {
                hash ^= Cluster.GetHashCode();
            }
            if (JobName.Length != 0)
            {
                hash ^= JobName.GetHashCode();
            }
            if (TaskIndex != 0)
            {
                hash ^= TaskIndex.GetHashCode();
            }
            if (defaultSessionConfig_ != null)
            {
                hash ^= DefaultSessionConfig.GetHashCode();
            }
            if (Protocol.Length != 0)
            {
                hash ^= Protocol.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Job.Length != 0)
            {
                hash ^= Job.GetHashCode();
            }
            if (JobName.Length != 0)
            {
                hash ^= JobName.GetHashCode();
            }
            if (JobDescriptions.Length != 0)
            {
                hash ^= JobDescriptions.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#3
0
            public override int GetHashCode()
            {
                unchecked
                {
                    int hashCode = 0;
                    hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
                    hashCode = (hashCode * 397) ^ (Group != null ? Group.GetHashCode() : 0);
                    hashCode = (hashCode * 397) ^ (JobName != null ? JobName.GetHashCode() : 0);
                    hashCode = (hashCode * 397) ^ (Identity != null ? Identity.GetHashCode() : 0);
                    hashCode = (hashCode * 397) ^ (Cron != null ? Cron.GetHashCode() : 0);

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

            if (Action.Length != 0)
            {
                hash ^= Action.GetHashCode();
            }
            if (Track.Length != 0)
            {
                hash ^= Track.GetHashCode();
            }
            if (RegistryMirror.Length != 0)
            {
                hash ^= RegistryMirror.GetHashCode();
            }
            if (DockerDaemonMtu.Length != 0)
            {
                hash ^= DockerDaemonMtu.GetHashCode();
            }
            if (manifest_ != null)
            {
                hash ^= Manifest.GetHashCode();
            }
            if (JobName.Length != 0)
            {
                hash ^= JobName.GetHashCode();
            }
            if (ReleaseName.Length != 0)
            {
                hash ^= ReleaseName.GetHashCode();
            }
            hash ^= events_.GetHashCode();
            if (ciServer_ != null)
            {
                hash ^= CiServer.GetHashCode();
            }
            if (buildParams_ != null)
            {
                hash ^= BuildParams.GetHashCode();
            }
            if (releaseParams_ != null)
            {
                hash ^= ReleaseParams.GetHashCode();
            }
            if (git_ != null)
            {
                hash ^= Git.GetHashCode();
            }
            if (buildVersion_ != null)
            {
                hash ^= BuildVersion.GetHashCode();
            }
            hash ^= credentials_.GetHashCode();
            hash ^= trustedImages_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#5
0
 public override int GetHashCode()
 {
     return(JobName.GetHashCode());
 }