public final class JobRun extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ADVANCE_CHILD_ROLLOUT_JOB_RUN_FIELD_NUMBER
public static final int ADVANCE_CHILD_ROLLOUT_JOB_RUN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATE_CHILD_ROLLOUT_JOB_RUN_FIELD_NUMBER
public static final int CREATE_CHILD_ROLLOUT_JOB_RUN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DEPLOY_JOB_RUN_FIELD_NUMBER
public static final int DEPLOY_JOB_RUN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PHASE_ID_FIELD_NUMBER
public static final int PHASE_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERIFY_JOB_RUN_FIELD_NUMBER
public static final int VERIFY_JOB_RUN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static JobRun getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static JobRun.Builder newBuilder()
newBuilder(JobRun prototype)
public static JobRun.Builder newBuilder(JobRun prototype)
Parameter |
---|
Name | Description |
prototype | JobRun
|
public static JobRun parseDelimitedFrom(InputStream input)
public static JobRun parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static JobRun parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobRun parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static JobRun parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobRun parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobRun parseFrom(CodedInputStream input)
public static JobRun parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static JobRun parseFrom(InputStream input)
public static JobRun parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static JobRun parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobRun parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<JobRun> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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];
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];
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];
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];
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.
|
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];
getDefaultInstanceForType()
public JobRun getDefaultInstanceForType()
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];
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];
getEndTime()
public Timestamp getEndTime()
Output only. Time at which the JobRun
ended.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. Time at which the JobRun
ended.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
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()
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.
|
getParserForType()
public Parser<JobRun> getParserForType()
Overrides
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
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];
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];
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()
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];
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];
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.
|
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public JobRun.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobRun.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public JobRun.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides