Interface CreateJobRequestOrBuilder (0.42.0)

publicinterface CreateJobRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getJob()

publicabstractJobgetJob()

Required. The Job instance to create.

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

Returns
Type Description
Job

The job.

getJobId()

publicabstractStringgetJobId()

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
Type Description
String

The jobId.

getJobIdBytes()

publicabstractByteStringgetJobIdBytes()

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
Type Description
ByteString

The bytes for jobId.

getJobOrBuilder()

publicabstractJobOrBuildergetJobOrBuilder()

Required. The Job instance to create.

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

Returns
Type Description
JobOrBuilder

getParent()

publicabstractStringgetParent()

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
Type Description
String

The parent.

getParentBytes()

publicabstractByteStringgetParentBytes()

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
Type Description
ByteString

The bytes for parent.

getValidateOnly()

publicabstractbooleangetValidateOnly()

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

bool validate_only = 4;

Returns
Type Description
boolean

The validateOnly.

hasJob()

publicabstractbooleanhasJob()

Required. The Job instance to create.

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

Returns
Type Description
boolean

Whether the job field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.