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

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (State != global::Google.Cloud.Notebooks.V1.Schedule.Types.State.Unspecified)
            {
                hash ^= State.GetHashCode();
            }
            if (CronSchedule.Length != 0)
            {
                hash ^= CronSchedule.GetHashCode();
            }
            if (TimeZone.Length != 0)
            {
                hash ^= TimeZone.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (executionTemplate_ != null)
            {
                hash ^= ExecutionTemplate.GetHashCode();
            }
            hash ^= recentExecutions_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }