Class JobRun.Builder (1.41.0)

public static final class JobRun.Builder extends GeneratedMessageV3.Builder<JobRun.Builder> implements JobRunOrBuilder

A JobRun resource in the Cloud Deploy API.

A JobRun contains information of a single Rollout job evaluation.

Protobuf type google.cloud.deploy.v1.JobRun

Implements

JobRunOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public JobRun build()
Returns
Type Description
JobRun

buildPartial()

public JobRun buildPartial()
Returns
Type Description
JobRun

clear()

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

clearAdvanceChildRolloutJobRun()

public JobRun.Builder clearAdvanceChildRolloutJobRun()

Output only. Information specific to an advanceChildRollout JobRun

.google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

clearCreateChildRolloutJobRun()

public JobRun.Builder clearCreateChildRolloutJobRun()

Output only. Information specific to a createChildRollout JobRun.

.google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

clearCreateTime()

public JobRun.Builder clearCreateTime()

Output only. Time at which the JobRun was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

clearDeployJobRun()

public JobRun.Builder clearDeployJobRun()

Output only. Information specific to a deploy JobRun.

.google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

clearEndTime()

public JobRun.Builder clearEndTime()

Output only. Time at which the JobRun ended.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

clearEtag()

public JobRun.Builder clearEtag()

Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearJobId()

public JobRun.Builder clearJobId()

Output only. ID of the Rollout job this JobRun corresponds to.

string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

This builder for chaining.

clearJobRun()

public JobRun.Builder clearJobRun()
Returns
Type Description
JobRun.Builder

clearName()

public JobRun.Builder clearName()

Optional. Name of the JobRun. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
JobRun.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPhaseId()

public JobRun.Builder clearPhaseId()

Output only. ID of the Rollout phase this JobRun belongs in.

string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

This builder for chaining.

clearPostdeployJobRun()

public JobRun.Builder clearPostdeployJobRun()

Output only. Information specific to a postdeploy JobRun.

.google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

clearPredeployJobRun()

public JobRun.Builder clearPredeployJobRun()

Output only. Information specific to a predeploy JobRun.

.google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

clearStartTime()

public JobRun.Builder clearStartTime()

Output only. Time at which the JobRun was started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

clearState()

public JobRun.Builder clearState()

Output only. The current state of the JobRun.

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

Returns
Type Description
JobRun.Builder

This builder for chaining.

clearUid()

public JobRun.Builder clearUid()

Output only. Unique identifier of the JobRun.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

This builder for chaining.

clearVerifyJobRun()

public JobRun.Builder clearVerifyJobRun()

Output only. Information specific to a verify JobRun.

.google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobRun.Builder

clone()

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

getAdvanceChildRolloutJobRun()

public AdvanceChildRolloutJobRun getAdvanceChildRolloutJobRun()

Output only. Information specific to an advanceChildRollout JobRun

.google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdvanceChildRolloutJobRun

The advanceChildRolloutJobRun.

getAdvanceChildRolloutJobRunBuilder()

public AdvanceChildRolloutJobRun.Builder getAdvanceChildRolloutJobRunBuilder()

Output only. Information specific to an advanceChildRollout JobRun

.google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdvanceChildRolloutJobRun.Builder

getAdvanceChildRolloutJobRunOrBuilder()

public AdvanceChildRolloutJobRunOrBuilder getAdvanceChildRolloutJobRunOrBuilder()

Output only. Information specific to an advanceChildRollout JobRun

.google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdvanceChildRolloutJobRunOrBuilder

getCreateChildRolloutJobRun()

public CreateChildRolloutJobRun getCreateChildRolloutJobRun()

Output only. Information specific to a createChildRollout JobRun.

.google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CreateChildRolloutJobRun

The createChildRolloutJobRun.

getCreateChildRolloutJobRunBuilder()

public CreateChildRolloutJobRun.Builder getCreateChildRolloutJobRunBuilder()

Output only. Information specific to a createChildRollout JobRun.

.google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CreateChildRolloutJobRun.Builder

getCreateChildRolloutJobRunOrBuilder()

public CreateChildRolloutJobRunOrBuilder getCreateChildRolloutJobRunOrBuilder()

Output only. Information specific to a createChildRollout JobRun.

.google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CreateChildRolloutJobRunOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Time at which the JobRun was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time at which the JobRun was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time at which the JobRun was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public JobRun getDefaultInstanceForType()
Returns
Type Description
JobRun

getDeployJobRun()

public DeployJobRun getDeployJobRun()

Output only. Information specific to a deploy JobRun.

.google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployJobRun

The deployJobRun.

getDeployJobRunBuilder()

public DeployJobRun.Builder getDeployJobRunBuilder()

Output only. Information specific to a deploy JobRun.

.google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployJobRun.Builder

getDeployJobRunOrBuilder()

public DeployJobRunOrBuilder getDeployJobRunOrBuilder()

Output only. Information specific to a deploy JobRun.

.google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployJobRunOrBuilder

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Output only. Time at which the JobRun ended.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. Time at which the JobRun ended.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. Time at which the JobRun ended.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getEtag()

public String getEtag()

Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for etag.

getJobId()

public String getJobId()

Output only. ID of the Rollout job this JobRun corresponds to.

string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

Output only. ID of the Rollout job this JobRun corresponds to.

string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for jobId.

getJobRunCase()

public JobRun.JobRunCase getJobRunCase()
Returns
Type Description
JobRun.JobRunCase

getName()

public String getName()

Optional. Name of the JobRun. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. Name of the JobRun. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

getPhaseId()

public String getPhaseId()

Output only. ID of the Rollout phase this JobRun belongs in.

string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The phaseId.

getPhaseIdBytes()

public ByteString getPhaseIdBytes()

Output only. ID of the Rollout phase this JobRun belongs in.

string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for phaseId.

getPostdeployJobRun()

public PostdeployJobRun getPostdeployJobRun()

Output only. Information specific to a postdeploy JobRun.

.google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostdeployJobRun

The postdeployJobRun.

getPostdeployJobRunBuilder()

public PostdeployJobRun.Builder getPostdeployJobRunBuilder()

Output only. Information specific to a postdeploy JobRun.

.google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostdeployJobRun.Builder

getPostdeployJobRunOrBuilder()

public PostdeployJobRunOrBuilder getPostdeployJobRunOrBuilder()

Output only. Information specific to a postdeploy JobRun.

.google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostdeployJobRunOrBuilder

getPredeployJobRun()

public PredeployJobRun getPredeployJobRun()

Output only. Information specific to a predeploy JobRun.

.google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PredeployJobRun

The predeployJobRun.

getPredeployJobRunBuilder()

public PredeployJobRun.Builder getPredeployJobRunBuilder()

Output only. Information specific to a predeploy JobRun.

.google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PredeployJobRun.Builder

getPredeployJobRunOrBuilder()

public PredeployJobRunOrBuilder getPredeployJobRunOrBuilder()

Output only. Information specific to a predeploy JobRun.

.google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PredeployJobRunOrBuilder

getStartTime()

public Timestamp getStartTime()

Output only. Time at which the JobRun was started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. Time at which the JobRun was started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Time at which the JobRun was started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getState()

public JobRun.State getState()

Output only. The current state of the JobRun.

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

Returns
Type Description
JobRun.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the JobRun.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

getUid()

public String getUid()

Output only. Unique identifier of the JobRun.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. Unique identifier of the JobRun.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uid.

getVerifyJobRun()

public VerifyJobRun getVerifyJobRun()

Output only. Information specific to a verify JobRun.

.google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerifyJobRun

The verifyJobRun.

getVerifyJobRunBuilder()

public VerifyJobRun.Builder getVerifyJobRunBuilder()

Output only. Information specific to a verify JobRun.

.google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerifyJobRun.Builder

getVerifyJobRunOrBuilder()

public VerifyJobRunOrBuilder getVerifyJobRunOrBuilder()

Output only. Information specific to a verify JobRun.

.google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerifyJobRunOrBuilder

hasAdvanceChildRolloutJobRun()

public boolean hasAdvanceChildRolloutJobRun()

Output only. Information specific to an advanceChildRollout JobRun

.google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the advanceChildRolloutJobRun field is set.

hasCreateChildRolloutJobRun()

public boolean hasCreateChildRolloutJobRun()

Output only. Information specific to a createChildRollout JobRun.

.google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createChildRolloutJobRun field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Time at which the JobRun was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDeployJobRun()

public boolean hasDeployJobRun()

Output only. Information specific to a deploy JobRun.

.google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deployJobRun field is set.

hasEndTime()

public boolean hasEndTime()

Output only. Time at which the JobRun ended.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasPostdeployJobRun()

public boolean hasPostdeployJobRun()

Output only. Information specific to a postdeploy JobRun.

.google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the postdeployJobRun field is set.

hasPredeployJobRun()

public boolean hasPredeployJobRun()

Output only. Information specific to a predeploy JobRun.

.google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the predeployJobRun field is set.

hasStartTime()

public boolean hasStartTime()

Output only. Time at which the JobRun was started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasVerifyJobRun()

public boolean hasVerifyJobRun()

Output only. Information specific to a verify JobRun.

.google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the verifyJobRun field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAdvanceChildRolloutJobRun(AdvanceChildRolloutJobRun value)

public JobRun.Builder mergeAdvanceChildRolloutJobRun(AdvanceChildRolloutJobRun value)

Output only. Information specific to an advanceChildRollout JobRun

.google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AdvanceChildRolloutJobRun
Returns
Type Description
JobRun.Builder

mergeCreateChildRolloutJobRun(CreateChildRolloutJobRun value)

public JobRun.Builder mergeCreateChildRolloutJobRun(CreateChildRolloutJobRun value)

Output only. Information specific to a createChildRollout JobRun.

.google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CreateChildRolloutJobRun
Returns
Type Description
JobRun.Builder

mergeCreateTime(Timestamp value)

public JobRun.Builder mergeCreateTime(Timestamp value)

Output only. Time at which the JobRun was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
JobRun.Builder

mergeDeployJobRun(DeployJobRun value)

public JobRun.Builder mergeDeployJobRun(DeployJobRun value)

Output only. Information specific to a deploy JobRun.

.google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DeployJobRun
Returns
Type Description
JobRun.Builder

mergeEndTime(Timestamp value)

public JobRun.Builder mergeEndTime(Timestamp value)

Output only. Time at which the JobRun ended.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
JobRun.Builder

mergeFrom(JobRun other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePostdeployJobRun(PostdeployJobRun value)

public JobRun.Builder mergePostdeployJobRun(PostdeployJobRun value)

Output only. Information specific to a postdeploy JobRun.

.google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PostdeployJobRun
Returns
Type Description
JobRun.Builder

mergePredeployJobRun(PredeployJobRun value)

public JobRun.Builder mergePredeployJobRun(PredeployJobRun value)

Output only. Information specific to a predeploy JobRun.

.google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PredeployJobRun
Returns
Type Description
JobRun.Builder

mergeStartTime(Timestamp value)

public JobRun.Builder mergeStartTime(Timestamp value)

Output only. Time at which the JobRun was started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
JobRun.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVerifyJobRun(VerifyJobRun value)

public JobRun.Builder mergeVerifyJobRun(VerifyJobRun value)

Output only. Information specific to a verify JobRun.

.google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VerifyJobRun
Returns
Type Description
JobRun.Builder

setAdvanceChildRolloutJobRun(AdvanceChildRolloutJobRun value)

public JobRun.Builder setAdvanceChildRolloutJobRun(AdvanceChildRolloutJobRun value)

Output only. Information specific to an advanceChildRollout JobRun

.google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AdvanceChildRolloutJobRun
Returns
Type Description
JobRun.Builder

setAdvanceChildRolloutJobRun(AdvanceChildRolloutJobRun.Builder builderForValue)

public JobRun.Builder setAdvanceChildRolloutJobRun(AdvanceChildRolloutJobRun.Builder builderForValue)

Output only. Information specific to an advanceChildRollout JobRun

.google.cloud.deploy.v1.AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AdvanceChildRolloutJobRun.Builder
Returns
Type Description
JobRun.Builder

setCreateChildRolloutJobRun(CreateChildRolloutJobRun value)

public JobRun.Builder setCreateChildRolloutJobRun(CreateChildRolloutJobRun value)

Output only. Information specific to a createChildRollout JobRun.

.google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CreateChildRolloutJobRun
Returns
Type Description
JobRun.Builder

setCreateChildRolloutJobRun(CreateChildRolloutJobRun.Builder builderForValue)

public JobRun.Builder setCreateChildRolloutJobRun(CreateChildRolloutJobRun.Builder builderForValue)

Output only. Information specific to a createChildRollout JobRun.

.google.cloud.deploy.v1.CreateChildRolloutJobRun create_child_rollout_job_run = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CreateChildRolloutJobRun.Builder
Returns
Type Description
JobRun.Builder

setCreateTime(Timestamp value)

public JobRun.Builder setCreateTime(Timestamp value)

Output only. Time at which the JobRun was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
JobRun.Builder

setCreateTime(Timestamp.Builder builderForValue)

public JobRun.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time at which the JobRun was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
JobRun.Builder

setDeployJobRun(DeployJobRun value)

public JobRun.Builder setDeployJobRun(DeployJobRun value)

Output only. Information specific to a deploy JobRun.

.google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DeployJobRun
Returns
Type Description
JobRun.Builder

setDeployJobRun(DeployJobRun.Builder builderForValue)

public JobRun.Builder setDeployJobRun(DeployJobRun.Builder builderForValue)

Output only. Information specific to a deploy JobRun.

.google.cloud.deploy.v1.DeployJobRun deploy_job_run = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DeployJobRun.Builder
Returns
Type Description
JobRun.Builder

setEndTime(Timestamp value)

public JobRun.Builder setEndTime(Timestamp value)

Output only. Time at which the JobRun ended.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
JobRun.Builder

setEndTime(Timestamp.Builder builderForValue)

public JobRun.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. Time at which the JobRun ended.

.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
JobRun.Builder

setEtag(String value)

public JobRun.Builder setEtag(String value)

Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public JobRun.Builder setEtagBytes(ByteString value)

Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobId(String value)

public JobRun.Builder setJobId(String value)

Output only. ID of the Rollout job this JobRun corresponds to.

string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The jobId to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public JobRun.Builder setJobIdBytes(ByteString value)

Output only. ID of the Rollout job this JobRun corresponds to.

string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for jobId to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setName(String value)

public JobRun.Builder setName(String value)

Optional. Name of the JobRun. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setNameBytes(ByteString value)

public JobRun.Builder setNameBytes(ByteString value)

Optional. Name of the JobRun. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setPhaseId(String value)

public JobRun.Builder setPhaseId(String value)

Output only. ID of the Rollout phase this JobRun belongs in.

string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The phaseId to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setPhaseIdBytes(ByteString value)

public JobRun.Builder setPhaseIdBytes(ByteString value)

Output only. ID of the Rollout phase this JobRun belongs in.

string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for phaseId to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setPostdeployJobRun(PostdeployJobRun value)

public JobRun.Builder setPostdeployJobRun(PostdeployJobRun value)

Output only. Information specific to a postdeploy JobRun.

.google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PostdeployJobRun
Returns
Type Description
JobRun.Builder

setPostdeployJobRun(PostdeployJobRun.Builder builderForValue)

public JobRun.Builder setPostdeployJobRun(PostdeployJobRun.Builder builderForValue)

Output only. Information specific to a postdeploy JobRun.

.google.cloud.deploy.v1.PostdeployJobRun postdeploy_job_run = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue PostdeployJobRun.Builder
Returns
Type Description
JobRun.Builder

setPredeployJobRun(PredeployJobRun value)

public JobRun.Builder setPredeployJobRun(PredeployJobRun value)

Output only. Information specific to a predeploy JobRun.

.google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PredeployJobRun
Returns
Type Description
JobRun.Builder

setPredeployJobRun(PredeployJobRun.Builder builderForValue)

public JobRun.Builder setPredeployJobRun(PredeployJobRun.Builder builderForValue)

Output only. Information specific to a predeploy JobRun.

.google.cloud.deploy.v1.PredeployJobRun predeploy_job_run = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue PredeployJobRun.Builder
Returns
Type Description
JobRun.Builder

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

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

setStartTime(Timestamp value)

public JobRun.Builder setStartTime(Timestamp value)

Output only. Time at which the JobRun was started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
JobRun.Builder

setStartTime(Timestamp.Builder builderForValue)

public JobRun.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. Time at which the JobRun was started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
JobRun.Builder

setState(JobRun.State value)

public JobRun.Builder setState(JobRun.State value)

Output only. The current state of the JobRun.

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

Parameter
Name Description
value JobRun.State

The state to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setStateValue(int value)

public JobRun.Builder setStateValue(int value)

Output only. The current state of the JobRun.

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

Parameter
Name Description
value int

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

Returns
Type Description
JobRun.Builder

This builder for chaining.

setUid(String value)

public JobRun.Builder setUid(String value)

Output only. Unique identifier of the JobRun.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setUidBytes(ByteString value)

public JobRun.Builder setUidBytes(ByteString value)

Output only. Unique identifier of the JobRun.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
JobRun.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVerifyJobRun(VerifyJobRun value)

public JobRun.Builder setVerifyJobRun(VerifyJobRun value)

Output only. Information specific to a verify JobRun.

.google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VerifyJobRun
Returns
Type Description
JobRun.Builder

setVerifyJobRun(VerifyJobRun.Builder builderForValue)

public JobRun.Builder setVerifyJobRun(VerifyJobRun.Builder builderForValue)

Output only. Information specific to a verify JobRun.

.google.cloud.deploy.v1.VerifyJobRun verify_job_run = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue VerifyJobRun.Builder
Returns
Type Description
JobRun.Builder