Class JobRun

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.JobRun
All Implemented Interfaces:
JobRunOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class JobRun extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • UID_FIELD_NUMBER

      public static final int UID_FIELD_NUMBER
      See Also:
    • PHASE_ID_FIELD_NUMBER

      public static final int PHASE_ID_FIELD_NUMBER
      See Also:
    • JOB_ID_FIELD_NUMBER

      public static final int JOB_ID_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • START_TIME_FIELD_NUMBER

      public static final int START_TIME_FIELD_NUMBER
      See Also:
    • END_TIME_FIELD_NUMBER

      public static final int END_TIME_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • DEPLOY_JOB_RUN_FIELD_NUMBER

      public static final int DEPLOY_JOB_RUN_FIELD_NUMBER
      See Also:
    • VERIFY_JOB_RUN_FIELD_NUMBER

      public static final int VERIFY_JOB_RUN_FIELD_NUMBER
      See Also:
    • PREDEPLOY_JOB_RUN_FIELD_NUMBER

      public static final int PREDEPLOY_JOB_RUN_FIELD_NUMBER
      See Also:
    • POSTDEPLOY_JOB_RUN_FIELD_NUMBER

      public static final int POSTDEPLOY_JOB_RUN_FIELD_NUMBER
      See Also:
    • CREATE_CHILD_ROLLOUT_JOB_RUN_FIELD_NUMBER

      public static final int CREATE_CHILD_ROLLOUT_JOB_RUN_FIELD_NUMBER
      See Also:
    • ADVANCE_CHILD_ROLLOUT_JOB_RUN_FIELD_NUMBER

      public static final int ADVANCE_CHILD_ROLLOUT_JOB_RUN_FIELD_NUMBER
      See Also:
    • ETAG_FIELD_NUMBER

      public static final int ETAG_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getJobRunCase

      public JobRun.JobRunCase getJobRunCase()
      Specified by:
      getJobRunCase in interface JobRunOrBuilder
    • getName

      public String getName()
       Output only. 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) = OUTPUT_ONLY];
      Specified by:
      getName in interface JobRunOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. 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) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface JobRunOrBuilder
      Returns:
      The bytes for name.
    • getUid

      public String getUid()
       Output only. Unique identifier of the `JobRun`.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUid in interface JobRunOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. Unique identifier of the `JobRun`.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUidBytes in interface JobRunOrBuilder
      Returns:
      The bytes for uid.
    • 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];
      Specified by:
      getPhaseId in interface JobRunOrBuilder
      Returns:
      The phaseId.
    • getPhaseIdBytes

      public com.google.protobuf.ByteString getPhaseIdBytes()
       Output only. ID of the `Rollout` phase this `JobRun` belongs in.
       
      string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPhaseIdBytes in interface JobRunOrBuilder
      Returns:
      The bytes for phaseId.
    • 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];
      Specified by:
      getJobId in interface JobRunOrBuilder
      Returns:
      The jobId.
    • getJobIdBytes

      public com.google.protobuf.ByteString getJobIdBytes()
       Output only. ID of the `Rollout` job this `JobRun` corresponds to.
       
      string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getJobIdBytes in interface JobRunOrBuilder
      Returns:
      The bytes for jobId.
    • 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];
      Specified by:
      hasCreateTime in interface JobRunOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time at which the `JobRun` was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface JobRunOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time at which the `JobRun` was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface JobRunOrBuilder
    • 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];
      Specified by:
      hasStartTime in interface JobRunOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. Time at which the `JobRun` was started.
       
      .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface JobRunOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. Time at which the `JobRun` was started.
       
      .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface JobRunOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. Time at which the `JobRun` ended.
       
      .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface JobRunOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. Time at which the `JobRun` ended.
       
      .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface JobRunOrBuilder
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. Time at which the `JobRun` ended.
       
      .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface JobRunOrBuilder
    • 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];
      Specified by:
      getStateValue in interface JobRunOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • 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];
      Specified by:
      getState in interface JobRunOrBuilder
      Returns:
      The state.
    • 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];
      Specified by:
      hasDeployJobRun in interface JobRunOrBuilder
      Returns:
      Whether the deployJobRun field is set.
    • 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];
      Specified by:
      getDeployJobRun in interface JobRunOrBuilder
      Returns:
      The deployJobRun.
    • 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];
      Specified by:
      getDeployJobRunOrBuilder in interface JobRunOrBuilder
    • 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];
      Specified by:
      hasVerifyJobRun in interface JobRunOrBuilder
      Returns:
      Whether the verifyJobRun field is set.
    • 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];
      Specified by:
      getVerifyJobRun in interface JobRunOrBuilder
      Returns:
      The verifyJobRun.
    • 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];
      Specified by:
      getVerifyJobRunOrBuilder in interface JobRunOrBuilder
    • 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];
      Specified by:
      hasPredeployJobRun in interface JobRunOrBuilder
      Returns:
      Whether the predeployJobRun field is set.
    • 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];
      Specified by:
      getPredeployJobRun in interface JobRunOrBuilder
      Returns:
      The predeployJobRun.
    • 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];
      Specified by:
      getPredeployJobRunOrBuilder in interface JobRunOrBuilder
    • 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];
      Specified by:
      hasPostdeployJobRun in interface JobRunOrBuilder
      Returns:
      Whether the postdeployJobRun field is set.
    • 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];
      Specified by:
      getPostdeployJobRun in interface JobRunOrBuilder
      Returns:
      The postdeployJobRun.
    • 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];
      Specified by:
      getPostdeployJobRunOrBuilder in interface JobRunOrBuilder
    • 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];
      Specified by:
      hasCreateChildRolloutJobRun in interface JobRunOrBuilder
      Returns:
      Whether the createChildRolloutJobRun field is set.
    • 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];
      Specified by:
      getCreateChildRolloutJobRun in interface JobRunOrBuilder
      Returns:
      The createChildRolloutJobRun.
    • 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];
      Specified by:
      getCreateChildRolloutJobRunOrBuilder in interface JobRunOrBuilder
    • 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];
      Specified by:
      hasAdvanceChildRolloutJobRun in interface JobRunOrBuilder
      Returns:
      Whether the advanceChildRolloutJobRun field is set.
    • 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];
      Specified by:
      getAdvanceChildRolloutJobRun in interface JobRunOrBuilder
      Returns:
      The advanceChildRolloutJobRun.
    • 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];
      Specified by:
      getAdvanceChildRolloutJobRunOrBuilder in interface JobRunOrBuilder
    • 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];
      Specified by:
      getEtag in interface JobRunOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.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];
      Specified by:
      getEtagBytes in interface JobRunOrBuilder
      Returns:
      The bytes for etag.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static JobRun parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobRun parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobRun parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobRun parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobRun parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobRun parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JobRun parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static JobRun parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static JobRun parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JobRun parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JobRun parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public JobRun.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static JobRun.Builder newBuilder()
    • newBuilder

      public static JobRun.Builder newBuilder(JobRun prototype)
    • toBuilder

      public JobRun.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected JobRun.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static JobRun getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<JobRun> parser()
    • getParserForType

      public com.google.protobuf.Parser<JobRun> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public JobRun getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder