public final class JobRun extends GeneratedMessageV3 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
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DEPLOY_JOB_RUN_FIELD_NUMBER
public static final int DEPLOY_JOB_RUN_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PHASE_ID_FIELD_NUMBER
public static final int PHASE_ID_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value
VERIFY_JOB_RUN_FIELD_NUMBER
public static final int VERIFY_JOB_RUN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static JobRun getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static JobRun.Builder newBuilder()
Returns
newBuilder(JobRun prototype)
public static JobRun.Builder newBuilder(JobRun prototype)
Parameter
| Name |
Description |
prototype |
JobRun
|
Returns
public static JobRun parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobRun parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static JobRun parseFrom(byte[] data)
Parameter
| Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobRun parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static JobRun parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobRun parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobRun parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static JobRun parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobRun parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobRun parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static JobRun parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobRun parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<JobRun> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
getDefaultInstanceForType()
public JobRun getDefaultInstanceForType()
Returns
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
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
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
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
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
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
getJobRunCase()
public JobRun.JobRunCase getJobRunCase()
Returns
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
getParserForType()
public Parser<JobRun> getParserForType()
Returns
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
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
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
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
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public JobRun.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobRun.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public JobRun.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions