Class DeploymentJobs.Builder (1.43.0)

public static final class DeploymentJobs.Builder extends GeneratedMessageV3.Builder<DeploymentJobs.Builder> implements DeploymentJobsOrBuilder

Deployment job composition.

Protobuf type google.cloud.deploy.v1.DeploymentJobs

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeploymentJobs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeploymentJobs.Builder
Overrides

build()

public DeploymentJobs build()
Returns
Type Description
DeploymentJobs

buildPartial()

public DeploymentJobs buildPartial()
Returns
Type Description
DeploymentJobs

clear()

public DeploymentJobs.Builder clear()
Returns
Type Description
DeploymentJobs.Builder
Overrides

clearDeployJob()

public DeploymentJobs.Builder clearDeployJob()

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentJobs.Builder

clearField(Descriptors.FieldDescriptor field)

public DeploymentJobs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeploymentJobs.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeploymentJobs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeploymentJobs.Builder
Overrides

clearPostdeployJob()

public DeploymentJobs.Builder clearPostdeployJob()

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentJobs.Builder

clearPredeployJob()

public DeploymentJobs.Builder clearPredeployJob()

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentJobs.Builder

clearVerifyJob()

public DeploymentJobs.Builder clearVerifyJob()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

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

Returns
Type Description
DeploymentJobs.Builder

clone()

public DeploymentJobs.Builder clone()
Returns
Type Description
DeploymentJobs.Builder
Overrides

getDefaultInstanceForType()

public DeploymentJobs getDefaultInstanceForType()
Returns
Type Description
DeploymentJobs

getDeployJob()

public Job getDeployJob()

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Job

The deployJob.

getDeployJobBuilder()

public Job.Builder getDeployJobBuilder()

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Job.Builder

getDeployJobOrBuilder()

public JobOrBuilder getDeployJobOrBuilder()

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPostdeployJob()

public Job getPostdeployJob()

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Job

The postdeployJob.

getPostdeployJobBuilder()

public Job.Builder getPostdeployJobBuilder()

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Job.Builder

getPostdeployJobOrBuilder()

public JobOrBuilder getPostdeployJobOrBuilder()

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobOrBuilder

getPredeployJob()

public Job getPredeployJob()

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Job

The predeployJob.

getPredeployJobBuilder()

public Job.Builder getPredeployJobBuilder()

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Job.Builder

getPredeployJobOrBuilder()

public JobOrBuilder getPredeployJobOrBuilder()

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobOrBuilder

getVerifyJob()

public Job getVerifyJob()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

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

Returns
Type Description
Job

The verifyJob.

getVerifyJobBuilder()

public Job.Builder getVerifyJobBuilder()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

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

Returns
Type Description
Job.Builder

getVerifyJobOrBuilder()

public JobOrBuilder getVerifyJobOrBuilder()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

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

Returns
Type Description
JobOrBuilder

hasDeployJob()

public boolean hasDeployJob()

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deployJob field is set.

hasPostdeployJob()

public boolean hasPostdeployJob()

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the postdeployJob field is set.

hasPredeployJob()

public boolean hasPredeployJob()

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the predeployJob field is set.

hasVerifyJob()

public boolean hasVerifyJob()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

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

Returns
Type Description
boolean

Whether the verifyJob field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeployJob(Job value)

public DeploymentJobs.Builder mergeDeployJob(Job value)

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Job
Returns
Type Description
DeploymentJobs.Builder

mergeFrom(DeploymentJobs other)

public DeploymentJobs.Builder mergeFrom(DeploymentJobs other)
Parameter
Name Description
other DeploymentJobs
Returns
Type Description
DeploymentJobs.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeploymentJobs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentJobs.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeploymentJobs.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeploymentJobs.Builder
Overrides

mergePostdeployJob(Job value)

public DeploymentJobs.Builder mergePostdeployJob(Job value)

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Job
Returns
Type Description
DeploymentJobs.Builder

mergePredeployJob(Job value)

public DeploymentJobs.Builder mergePredeployJob(Job value)

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Job
Returns
Type Description
DeploymentJobs.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentJobs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeploymentJobs.Builder
Overrides

mergeVerifyJob(Job value)

public DeploymentJobs.Builder mergeVerifyJob(Job value)

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

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

Parameter
Name Description
value Job
Returns
Type Description
DeploymentJobs.Builder

setDeployJob(Job value)

public DeploymentJobs.Builder setDeployJob(Job value)

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Job
Returns
Type Description
DeploymentJobs.Builder

setDeployJob(Job.Builder builderForValue)

public DeploymentJobs.Builder setDeployJob(Job.Builder builderForValue)

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Job.Builder
Returns
Type Description
DeploymentJobs.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeploymentJobs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeploymentJobs.Builder
Overrides

setPostdeployJob(Job value)

public DeploymentJobs.Builder setPostdeployJob(Job value)

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Job
Returns
Type Description
DeploymentJobs.Builder

setPostdeployJob(Job.Builder builderForValue)

public DeploymentJobs.Builder setPostdeployJob(Job.Builder builderForValue)

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Job.Builder
Returns
Type Description
DeploymentJobs.Builder

setPredeployJob(Job value)

public DeploymentJobs.Builder setPredeployJob(Job value)

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Job
Returns
Type Description
DeploymentJobs.Builder

setPredeployJob(Job.Builder builderForValue)

public DeploymentJobs.Builder setPredeployJob(Job.Builder builderForValue)

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Job.Builder
Returns
Type Description
DeploymentJobs.Builder

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

public DeploymentJobs.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeploymentJobs.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentJobs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeploymentJobs.Builder
Overrides

setVerifyJob(Job value)

public DeploymentJobs.Builder setVerifyJob(Job value)

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

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

Parameter
Name Description
value Job
Returns
Type Description
DeploymentJobs.Builder

setVerifyJob(Job.Builder builderForValue)

public DeploymentJobs.Builder setVerifyJob(Job.Builder builderForValue)

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

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

Parameter
Name Description
builderForValue Job.Builder
Returns
Type Description
DeploymentJobs.Builder