Interface CreateJobRequestOrBuilder (0.9.0)

public interface CreateJobRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getJob()

public abstract Job getJob()

Required. The Job instance to create.

.google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Job

The job.

getJobId()

public abstract String getJobId()

Required. The unique identifier for the Job. The name of the job becomes {parent}/jobs/{job_id}.

string job_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public abstract ByteString getJobIdBytes()

Required. The unique identifier for the Job. The name of the job becomes {parent}/jobs/{job_id}.

string job_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for jobId.

getJobOrBuilder()

public abstract JobOrBuilder getJobOrBuilder()

Required. The Job instance to create.

.google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
JobOrBuilder

getParent()

public abstract String getParent()

Required. The location and project in which this Job should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The location and project in which this Job should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean getValidateOnly()

Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.

bool validate_only = 4;

Returns
TypeDescription
boolean

The validateOnly.

hasJob()

public abstract boolean hasJob()

Required. The Job instance to create.

.google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the job field is set.