Required. The job to add. The user can optionally specify a name for the
job in name.
name cannot be the same as an
existing job. If a name is not specified then the system will
generate a random unique name that will be returned
(name) in the response.
Required. The job to add. The user can optionally specify a name for the
job in name.
name cannot be the same as an
existing job. If a name is not specified then the system will
generate a random unique name that will be returned
(name) in the response.
Required. The job to add. The user can optionally specify a name for the
job in name.
name cannot be the same as an
existing job. If a name is not specified then the system will
generate a random unique name that will be returned
(name) in the response.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface CreateJobRequestOrBuilder (2.72.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.72.0 (latest)](/java/docs/reference/google-cloud-scheduler/latest/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.70.0](/java/docs/reference/google-cloud-scheduler/2.70.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.68.0](/java/docs/reference/google-cloud-scheduler/2.68.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.67.0](/java/docs/reference/google-cloud-scheduler/2.67.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.64.0](/java/docs/reference/google-cloud-scheduler/2.64.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.63.0](/java/docs/reference/google-cloud-scheduler/2.63.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.62.0](/java/docs/reference/google-cloud-scheduler/2.62.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.60.0](/java/docs/reference/google-cloud-scheduler/2.60.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.59.0](/java/docs/reference/google-cloud-scheduler/2.59.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.58.0](/java/docs/reference/google-cloud-scheduler/2.58.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.57.0](/java/docs/reference/google-cloud-scheduler/2.57.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.56.0](/java/docs/reference/google-cloud-scheduler/2.56.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.55.0](/java/docs/reference/google-cloud-scheduler/2.55.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.54.0](/java/docs/reference/google-cloud-scheduler/2.54.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.53.0](/java/docs/reference/google-cloud-scheduler/2.53.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.52.0](/java/docs/reference/google-cloud-scheduler/2.52.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.51.0](/java/docs/reference/google-cloud-scheduler/2.51.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.49.0](/java/docs/reference/google-cloud-scheduler/2.49.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.48.0](/java/docs/reference/google-cloud-scheduler/2.48.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.47.0](/java/docs/reference/google-cloud-scheduler/2.47.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.46.0](/java/docs/reference/google-cloud-scheduler/2.46.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.45.0](/java/docs/reference/google-cloud-scheduler/2.45.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.44.0](/java/docs/reference/google-cloud-scheduler/2.44.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.43.0](/java/docs/reference/google-cloud-scheduler/2.43.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.42.0](/java/docs/reference/google-cloud-scheduler/2.42.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.41.0](/java/docs/reference/google-cloud-scheduler/2.41.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.40.0](/java/docs/reference/google-cloud-scheduler/2.40.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.39.0](/java/docs/reference/google-cloud-scheduler/2.39.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.37.0](/java/docs/reference/google-cloud-scheduler/2.37.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.36.0](/java/docs/reference/google-cloud-scheduler/2.36.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.35.0](/java/docs/reference/google-cloud-scheduler/2.35.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.34.0](/java/docs/reference/google-cloud-scheduler/2.34.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.33.0](/java/docs/reference/google-cloud-scheduler/2.33.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.32.0](/java/docs/reference/google-cloud-scheduler/2.32.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.31.0](/java/docs/reference/google-cloud-scheduler/2.31.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.30.0](/java/docs/reference/google-cloud-scheduler/2.30.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.29.0](/java/docs/reference/google-cloud-scheduler/2.29.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.28.0](/java/docs/reference/google-cloud-scheduler/2.28.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.27.0](/java/docs/reference/google-cloud-scheduler/2.27.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.24.0](/java/docs/reference/google-cloud-scheduler/2.24.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.23.0](/java/docs/reference/google-cloud-scheduler/2.23.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.22.0](/java/docs/reference/google-cloud-scheduler/2.22.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.21.0](/java/docs/reference/google-cloud-scheduler/2.21.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.20.0](/java/docs/reference/google-cloud-scheduler/2.20.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.19.0](/java/docs/reference/google-cloud-scheduler/2.19.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.18.0](/java/docs/reference/google-cloud-scheduler/2.18.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.17.0](/java/docs/reference/google-cloud-scheduler/2.17.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.16.0](/java/docs/reference/google-cloud-scheduler/2.16.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.15.0](/java/docs/reference/google-cloud-scheduler/2.15.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.14.0](/java/docs/reference/google-cloud-scheduler/2.14.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.13.0](/java/docs/reference/google-cloud-scheduler/2.13.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.12.0](/java/docs/reference/google-cloud-scheduler/2.12.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.11.0](/java/docs/reference/google-cloud-scheduler/2.11.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.9.0](/java/docs/reference/google-cloud-scheduler/2.9.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.8.0](/java/docs/reference/google-cloud-scheduler/2.8.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.7.0](/java/docs/reference/google-cloud-scheduler/2.7.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.6.0](/java/docs/reference/google-cloud-scheduler/2.6.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.5.0](/java/docs/reference/google-cloud-scheduler/2.5.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.4.0](/java/docs/reference/google-cloud-scheduler/2.4.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.3.13](/java/docs/reference/google-cloud-scheduler/2.3.13/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.2.0](/java/docs/reference/google-cloud-scheduler/2.2.0/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder)\n- [2.1.23](/java/docs/reference/google-cloud-scheduler/2.1.23/com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder) \n\n public interface CreateJobRequestOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getJob()\n\n public abstract Job getJob()\n\nRequired. The job to add. The user can optionally specify a name for the\njob in name.\nname cannot be the same as an\nexisting job. If a name is not specified then the system will\ngenerate a random unique name that will be returned\n(name) in the response.\n\n`.google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getJobOrBuilder()\n\n public abstract JobOrBuilder getJobOrBuilder()\n\nRequired. The job to add. The user can optionally specify a name for the\njob in name.\nname cannot be the same as an\nexisting job. If a name is not specified then the system will\ngenerate a random unique name that will be returned\n(name) in the response.\n\n`.google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getParent()\n\n public abstract String getParent()\n\nRequired. The location name. For example:\n`projects/PROJECT_ID/locations/LOCATION_ID`.\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getParentBytes()\n\n public abstract ByteString getParentBytes()\n\nRequired. The location name. For example:\n`projects/PROJECT_ID/locations/LOCATION_ID`.\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### hasJob()\n\n public abstract boolean hasJob()\n\nRequired. The job to add. The user can optionally specify a name for the\njob in name.\nname cannot be the same as an\nexisting job. If a name is not specified then the system will\ngenerate a random unique name that will be returned\n(name) in the response.\n\n`.google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];\n`"]]