Class DeploymentJobs.Builder (1.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeploymentJobs build()
Returns
TypeDescription
DeploymentJobs

buildPartial()

public DeploymentJobs buildPartial()
Returns
TypeDescription
DeploymentJobs

clear()

public DeploymentJobs.Builder clear()
Returns
TypeDescription
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
TypeDescription
DeploymentJobs.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public DeploymentJobs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DeploymentJobs.Builder

clone()

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

getDefaultInstanceForType()

public DeploymentJobs getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
JobOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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

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
NameDescription
valueJob
Returns
TypeDescription
DeploymentJobs.Builder

mergeFrom(DeploymentJobs other)

public DeploymentJobs.Builder mergeFrom(DeploymentJobs other)
Parameter
NameDescription
otherDeploymentJobs
Returns
TypeDescription
DeploymentJobs.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DeploymentJobs.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueJob
Returns
TypeDescription
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
NameDescription
valueJob
Returns
TypeDescription
DeploymentJobs.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentJobs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueJob
Returns
TypeDescription
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
NameDescription
valueJob
Returns
TypeDescription
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
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
DeploymentJobs.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeploymentJobs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueJob
Returns
TypeDescription
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
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
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
NameDescription
valueJob
Returns
TypeDescription
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
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
DeploymentJobs.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentJobs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueJob
Returns
TypeDescription
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
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
DeploymentJobs.Builder