Class JobRun.Builder (1.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public JobRun build()
Returns
TypeDescription
JobRun

buildPartial()

public JobRun buildPartial()
Returns
TypeDescription
JobRun

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public JobRun.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
JobRun.Builder

This builder for chaining.

clearJobRun()

public JobRun.Builder clearJobRun()
Returns
TypeDescription
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
TypeDescription
JobRun.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public JobRun.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public JobRun getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DeployJobRunOrBuilder

getDescriptorForType()

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

The bytes for jobId.

getJobRunCase()

public JobRun.JobRunCase getJobRunCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. Unique identifier of the JobRun.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the verifyJobRun field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAdvanceChildRolloutJobRun
Returns
TypeDescription
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
NameDescription
valueCreateChildRolloutJobRun
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueDeployJobRun
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
JobRun.Builder

mergeFrom(JobRun other)

public JobRun.Builder mergeFrom(JobRun other)
Parameter
NameDescription
otherJobRun
Returns
TypeDescription
JobRun.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public JobRun.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePostdeployJobRun
Returns
TypeDescription
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
NameDescription
valuePredeployJobRun
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
JobRun.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final JobRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVerifyJobRun
Returns
TypeDescription
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
NameDescription
valueAdvanceChildRolloutJobRun
Returns
TypeDescription
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
NameDescription
builderForValueAdvanceChildRolloutJobRun.Builder
Returns
TypeDescription
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
NameDescription
valueCreateChildRolloutJobRun
Returns
TypeDescription
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
NameDescription
builderForValueCreateChildRolloutJobRun.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueDeployJobRun
Returns
TypeDescription
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
NameDescription
builderForValueDeployJobRun.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
JobRun.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The jobId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for jobId to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The phaseId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for phaseId to set.

Returns
TypeDescription
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
NameDescription
valuePostdeployJobRun
Returns
TypeDescription
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
NameDescription
builderForValuePostdeployJobRun.Builder
Returns
TypeDescription
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
NameDescription
valuePredeployJobRun
Returns
TypeDescription
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
NameDescription
builderForValuePredeployJobRun.Builder
Returns
TypeDescription
JobRun.Builder

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

public JobRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueJobRun.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The uid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
JobRun.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final JobRun.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVerifyJobRun
Returns
TypeDescription
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
NameDescription
builderForValueVerifyJobRun.Builder
Returns
TypeDescription
JobRun.Builder