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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > JobRun.BuilderImplements
JobRunOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
JobRun.Builder |
build()
public JobRun build()
Type | Description |
JobRun |
buildPartial()
public JobRun buildPartial()
Type | Description |
JobRun |
clear()
public JobRun.Builder clear()
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];
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];
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];
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];
Type | Description |
JobRun.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public JobRun.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
JobRun.Builder |
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];
Type | Description |
JobRun.Builder | This builder for chaining. |
clearJobRun()
public JobRun.Builder clearJobRun()
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];
Type | Description |
JobRun.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public JobRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
JobRun.Builder |
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];
Type | Description |
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];
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];
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];
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];
Type | Description |
JobRun.Builder |
clone()
public JobRun.Builder clone()
Type | Description |
JobRun.Builder |
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];
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];
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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public JobRun getDefaultInstanceForType()
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];
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];
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];
Type | Description |
DeployJobRunOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
Output only. Time at which the JobRun
ended.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
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];
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];
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];
Type | Description |
ByteString | The bytes for jobId. |
getJobRunCase()
public JobRun.JobRunCase getJobRunCase()
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];
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];
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];
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];
Type | Description |
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
Type | Description |
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];
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];
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];
Type | Description |
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];
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];
Type | Description |
boolean | Whether the verifyJobRun field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
value | DeployJobRun |
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];
Name | Description |
value | Timestamp |
Type | Description |
JobRun.Builder |
mergeFrom(JobRun other)
public JobRun.Builder mergeFrom(JobRun other)
Name | Description |
other | JobRun |
Type | Description |
JobRun.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JobRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
JobRun.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public JobRun.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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];
Name | Description |
value | Timestamp |
Type | Description |
JobRun.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
JobRun.Builder |
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];
Name | Description |
value | VerifyJobRun |
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];
Name | Description |
value | Timestamp |
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];