Class Job.Builder (1.29.0)

public static final class Job.Builder extends GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder

Job represents an operation for a Rollout.

Protobuf type google.cloud.deploy.v1.Job

Implements

JobOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Job.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Job.Builder
Overrides

build()

public Job build()
Returns
TypeDescription
Job

buildPartial()

public Job buildPartial()
Returns
TypeDescription
Job

clear()

public Job.Builder clear()
Returns
TypeDescription
Job.Builder
Overrides

clearAdvanceChildRolloutJob()

public Job.Builder clearAdvanceChildRolloutJob()

Output only. An advanceChildRollout Job.

.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Job.Builder

clearCreateChildRolloutJob()

public Job.Builder clearCreateChildRolloutJob()

Output only. A createChildRollout Job.

.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Job.Builder

clearDeployJob()

public Job.Builder clearDeployJob()

Output only. A deploy Job.

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

Returns
TypeDescription
Job.Builder

clearField(Descriptors.FieldDescriptor field)

public Job.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Job.Builder
Overrides

clearId()

public Job.Builder clearId()

Output only. The ID of the Job.

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

Returns
TypeDescription
Job.Builder

This builder for chaining.

clearJobRun()

public Job.Builder clearJobRun()

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
Job.Builder

This builder for chaining.

clearJobType()

public Job.Builder clearJobType()
Returns
TypeDescription
Job.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Job.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Job.Builder
Overrides

clearPostdeployJob()

public Job.Builder clearPostdeployJob()

Output only. A postdeploy Job.

.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Job.Builder

clearPredeployJob()

public Job.Builder clearPredeployJob()

Output only. A predeploy Job.

.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Job.Builder

clearSkipMessage()

public Job.Builder clearSkipMessage()

Output only. Additional information on why the Job was skipped, if available.

string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Job.Builder

This builder for chaining.

clearState()

public Job.Builder clearState()

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.Builder

This builder for chaining.

clearVerifyJob()

public Job.Builder clearVerifyJob()

Output only. A verify Job.

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

Returns
TypeDescription
Job.Builder

clone()

public Job.Builder clone()
Returns
TypeDescription
Job.Builder
Overrides

getAdvanceChildRolloutJob()

public AdvanceChildRolloutJob getAdvanceChildRolloutJob()

Output only. An advanceChildRollout Job.

.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AdvanceChildRolloutJob

The advanceChildRolloutJob.

getAdvanceChildRolloutJobBuilder()

public AdvanceChildRolloutJob.Builder getAdvanceChildRolloutJobBuilder()

Output only. An advanceChildRollout Job.

.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AdvanceChildRolloutJob.Builder

getAdvanceChildRolloutJobOrBuilder()

public AdvanceChildRolloutJobOrBuilder getAdvanceChildRolloutJobOrBuilder()

Output only. An advanceChildRollout Job.

.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AdvanceChildRolloutJobOrBuilder

getCreateChildRolloutJob()

public CreateChildRolloutJob getCreateChildRolloutJob()

Output only. A createChildRollout Job.

.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CreateChildRolloutJob

The createChildRolloutJob.

getCreateChildRolloutJobBuilder()

public CreateChildRolloutJob.Builder getCreateChildRolloutJobBuilder()

Output only. A createChildRollout Job.

.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CreateChildRolloutJob.Builder

getCreateChildRolloutJobOrBuilder()

public CreateChildRolloutJobOrBuilder getCreateChildRolloutJobOrBuilder()

Output only. A createChildRollout Job.

.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CreateChildRolloutJobOrBuilder

getDefaultInstanceForType()

public Job getDefaultInstanceForType()
Returns
TypeDescription
Job

getDeployJob()

public 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.

getDeployJobBuilder()

public DeployJob.Builder getDeployJobBuilder()

Output only. A deploy Job.

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

Returns
TypeDescription
DeployJob.Builder

getDeployJobOrBuilder()

public DeployJobOrBuilder getDeployJobOrBuilder()

Output only. A deploy Job.

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

Returns
TypeDescription
DeployJobOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public 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 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 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 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 Job.JobTypeCase getJobTypeCase()
Returns
TypeDescription
Job.JobTypeCase

getPostdeployJob()

public PostdeployJob getPostdeployJob()

Output only. A postdeploy Job.

.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PostdeployJob

The postdeployJob.

getPostdeployJobBuilder()

public PostdeployJob.Builder getPostdeployJobBuilder()

Output only. A postdeploy Job.

.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PostdeployJob.Builder

getPostdeployJobOrBuilder()

public PostdeployJobOrBuilder getPostdeployJobOrBuilder()

Output only. A postdeploy Job.

.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PostdeployJobOrBuilder

getPredeployJob()

public PredeployJob getPredeployJob()

Output only. A predeploy Job.

.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PredeployJob

The predeployJob.

getPredeployJobBuilder()

public PredeployJob.Builder getPredeployJobBuilder()

Output only. A predeploy Job.

.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PredeployJob.Builder

getPredeployJobOrBuilder()

public PredeployJobOrBuilder getPredeployJobOrBuilder()

Output only. A predeploy Job.

.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PredeployJobOrBuilder

getSkipMessage()

public String getSkipMessage()

Output only. Additional information on why the Job was skipped, if available.

string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The skipMessage.

getSkipMessageBytes()

public ByteString getSkipMessageBytes()

Output only. Additional information on why the Job was skipped, if available.

string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for skipMessage.

getState()

public 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 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 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.

getVerifyJobBuilder()

public VerifyJob.Builder getVerifyJobBuilder()

Output only. A verify Job.

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

Returns
TypeDescription
VerifyJob.Builder

getVerifyJobOrBuilder()

public VerifyJobOrBuilder getVerifyJobOrBuilder()

Output only. A verify Job.

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

Returns
TypeDescription
VerifyJobOrBuilder

hasAdvanceChildRolloutJob()

public boolean hasAdvanceChildRolloutJob()

Output only. An advanceChildRollout Job.

.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the advanceChildRolloutJob field is set.

hasCreateChildRolloutJob()

public boolean hasCreateChildRolloutJob()

Output only. A createChildRollout Job.

.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createChildRolloutJob field is set.

hasDeployJob()

public 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.

hasPostdeployJob()

public boolean hasPostdeployJob()

Output only. A postdeploy Job.

.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the postdeployJob field is set.

hasPredeployJob()

public boolean hasPredeployJob()

Output only. A predeploy Job.

.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the predeployJob field is set.

hasVerifyJob()

public 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAdvanceChildRolloutJob(AdvanceChildRolloutJob value)

public Job.Builder mergeAdvanceChildRolloutJob(AdvanceChildRolloutJob value)

Output only. An advanceChildRollout Job.

.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueAdvanceChildRolloutJob
Returns
TypeDescription
Job.Builder

mergeCreateChildRolloutJob(CreateChildRolloutJob value)

public Job.Builder mergeCreateChildRolloutJob(CreateChildRolloutJob value)

Output only. A createChildRollout Job.

.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCreateChildRolloutJob
Returns
TypeDescription
Job.Builder

mergeDeployJob(DeployJob value)

public Job.Builder mergeDeployJob(DeployJob value)

Output only. A deploy Job.

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

Parameter
NameDescription
valueDeployJob
Returns
TypeDescription
Job.Builder

mergeFrom(Job other)

public Job.Builder mergeFrom(Job other)
Parameter
NameDescription
otherJob
Returns
TypeDescription
Job.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Job.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Job.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Job.Builder
Overrides

mergePostdeployJob(PostdeployJob value)

public Job.Builder mergePostdeployJob(PostdeployJob value)

Output only. A postdeploy Job.

.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuePostdeployJob
Returns
TypeDescription
Job.Builder

mergePredeployJob(PredeployJob value)

public Job.Builder mergePredeployJob(PredeployJob value)

Output only. A predeploy Job.

.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuePredeployJob
Returns
TypeDescription
Job.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Job.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Job.Builder
Overrides

mergeVerifyJob(VerifyJob value)

public Job.Builder mergeVerifyJob(VerifyJob value)

Output only. A verify Job.

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

Parameter
NameDescription
valueVerifyJob
Returns
TypeDescription
Job.Builder

setAdvanceChildRolloutJob(AdvanceChildRolloutJob value)

public Job.Builder setAdvanceChildRolloutJob(AdvanceChildRolloutJob value)

Output only. An advanceChildRollout Job.

.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueAdvanceChildRolloutJob
Returns
TypeDescription
Job.Builder

setAdvanceChildRolloutJob(AdvanceChildRolloutJob.Builder builderForValue)

public Job.Builder setAdvanceChildRolloutJob(AdvanceChildRolloutJob.Builder builderForValue)

Output only. An advanceChildRollout Job.

.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueAdvanceChildRolloutJob.Builder
Returns
TypeDescription
Job.Builder

setCreateChildRolloutJob(CreateChildRolloutJob value)

public Job.Builder setCreateChildRolloutJob(CreateChildRolloutJob value)

Output only. A createChildRollout Job.

.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCreateChildRolloutJob
Returns
TypeDescription
Job.Builder

setCreateChildRolloutJob(CreateChildRolloutJob.Builder builderForValue)

public Job.Builder setCreateChildRolloutJob(CreateChildRolloutJob.Builder builderForValue)

Output only. A createChildRollout Job.

.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueCreateChildRolloutJob.Builder
Returns
TypeDescription
Job.Builder

setDeployJob(DeployJob value)

public Job.Builder setDeployJob(DeployJob value)

Output only. A deploy Job.

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

Parameter
NameDescription
valueDeployJob
Returns
TypeDescription
Job.Builder

setDeployJob(DeployJob.Builder builderForValue)

public Job.Builder setDeployJob(DeployJob.Builder builderForValue)

Output only. A deploy Job.

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

Parameter
NameDescription
builderForValueDeployJob.Builder
Returns
TypeDescription
Job.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Job.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Job.Builder
Overrides

setId(String value)

public Job.Builder setId(String value)

Output only. The ID of the Job.

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

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
Job.Builder

This builder for chaining.

setIdBytes(ByteString value)

public Job.Builder setIdBytes(ByteString value)

Output only. The ID of the Job.

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

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
Job.Builder

This builder for chaining.

setJobRun(String value)

public Job.Builder setJobRun(String value)

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) = { ... }

Parameter
NameDescription
valueString

The jobRun to set.

Returns
TypeDescription
Job.Builder

This builder for chaining.

setJobRunBytes(ByteString value)

public Job.Builder setJobRunBytes(ByteString value)

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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for jobRun to set.

Returns
TypeDescription
Job.Builder

This builder for chaining.

setPostdeployJob(PostdeployJob value)

public Job.Builder setPostdeployJob(PostdeployJob value)

Output only. A postdeploy Job.

.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuePostdeployJob
Returns
TypeDescription
Job.Builder

setPostdeployJob(PostdeployJob.Builder builderForValue)

public Job.Builder setPostdeployJob(PostdeployJob.Builder builderForValue)

Output only. A postdeploy Job.

.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValuePostdeployJob.Builder
Returns
TypeDescription
Job.Builder

setPredeployJob(PredeployJob value)

public Job.Builder setPredeployJob(PredeployJob value)

Output only. A predeploy Job.

.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuePredeployJob
Returns
TypeDescription
Job.Builder

setPredeployJob(PredeployJob.Builder builderForValue)

public Job.Builder setPredeployJob(PredeployJob.Builder builderForValue)

Output only. A predeploy Job.

.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValuePredeployJob.Builder
Returns
TypeDescription
Job.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Job.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Job.Builder
Overrides

setSkipMessage(String value)

public Job.Builder setSkipMessage(String value)

Output only. Additional information on why the Job was skipped, if available.

string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The skipMessage to set.

Returns
TypeDescription
Job.Builder

This builder for chaining.

setSkipMessageBytes(ByteString value)

public Job.Builder setSkipMessageBytes(ByteString value)

Output only. Additional information on why the Job was skipped, if available.

string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for skipMessage to set.

Returns
TypeDescription
Job.Builder

This builder for chaining.

setState(Job.State value)

public Job.Builder setState(Job.State value)

Output only. The current state of the Job.

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

Parameter
NameDescription
valueJob.State

The state to set.

Returns
TypeDescription
Job.Builder

This builder for chaining.

setStateValue(int value)

public Job.Builder setStateValue(int value)

Output only. The current state of the Job.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Job.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Job.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Job.Builder
Overrides

setVerifyJob(VerifyJob value)

public Job.Builder setVerifyJob(VerifyJob value)

Output only. A verify Job.

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

Parameter
NameDescription
valueVerifyJob
Returns
TypeDescription
Job.Builder

setVerifyJob(VerifyJob.Builder builderForValue)

public Job.Builder setVerifyJob(VerifyJob.Builder builderForValue)

Output only. A verify Job.

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

Parameter
NameDescription
builderForValueVerifyJob.Builder
Returns
TypeDescription
Job.Builder