public int getJobCategoriesCount() {
      return jobCategories_.size();
    }
<pre>
The category filter specifies the categories of jobs to search against.
See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more
information.

If a value isn't specified, jobs from any category are searched against.

If multiple values are specified, jobs from any of the specified
categories are searched against.
</pre>

<code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4;</code>

@return The count of jobCategories.
java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java