public interface CreateJobRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getJob()
public abstract Job getJob()
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.
.google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Job | The job. |
getJobOrBuilder()
public abstract JobOrBuilder getJobOrBuilder()
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.
.google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
JobOrBuilder |
getParent()
public abstract String getParent()
Required. The location name. For example:
projects/PROJECT_ID/locations/LOCATION_ID
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
Required. The location name. For example:
projects/PROJECT_ID/locations/LOCATION_ID
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
hasJob()
public abstract boolean hasJob()
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.
.google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the job field is set. |