Class JobRun.Builder (1.3.0)

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

A JobRun resource in the Google 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

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.

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

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.

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

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.

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

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

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

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.

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