Class DeploymentJobs.Builder (1.11.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 first job run 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

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 first job run 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 first job run 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 first job run 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

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 first job run 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.

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 first job run 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

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 first job run 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 first job run 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

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