Interface JobOrBuilder (1.5.0)

public interface JobOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeployJob()

public abstract DeployJob getDeployJob()

Output only. A deploy Job.

.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DeployJob

The deployJob.

getDeployJobOrBuilder()

public abstract DeployJobOrBuilder getDeployJobOrBuilder()

Output only. A deploy Job.

.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DeployJobOrBuilder

getId()

public abstract String getId()

Output only. The ID of the Job.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Output only. The ID of the Job.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for id.

getJobRun()

public abstract String getJobRun()

Output only. The name of the JobRun responsible for the most recent invocation of this Job.

string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The jobRun.

getJobRunBytes()

public abstract ByteString getJobRunBytes()

Output only. The name of the JobRun responsible for the most recent invocation of this Job.

string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for jobRun.

getJobTypeCase()

public abstract Job.JobTypeCase getJobTypeCase()
Returns
TypeDescription
Job.JobTypeCase

getState()

public abstract Job.State getState()

Output only. The current state of the Job.

.google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Job.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The current state of the Job.

.google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getVerifyJob()

public abstract VerifyJob getVerifyJob()

Output only. A verify Job.

.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
VerifyJob

The verifyJob.

getVerifyJobOrBuilder()

public abstract VerifyJobOrBuilder getVerifyJobOrBuilder()

Output only. A verify Job.

.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
VerifyJobOrBuilder

hasDeployJob()

public abstract boolean hasDeployJob()

Output only. A deploy Job.

.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the deployJob field is set.

hasVerifyJob()

public abstract boolean hasVerifyJob()

Output only. A verify Job.

.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the verifyJob field is set.