Class Job

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

@Generated public final class Job extends com.google.protobuf.GeneratedMessage implements JobOrBuilder
 Job represents an operation for a `Rollout`.
 
Protobuf type google.cloud.deploy.v1.Job
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • SKIP_MESSAGE_FIELD_NUMBER

      public static final int SKIP_MESSAGE_FIELD_NUMBER
      See Also:
    • JOB_RUN_FIELD_NUMBER

      public static final int JOB_RUN_FIELD_NUMBER
      See Also:
    • DEPLOY_JOB_FIELD_NUMBER

      public static final int DEPLOY_JOB_FIELD_NUMBER
      See Also:
    • VERIFY_JOB_FIELD_NUMBER

      public static final int VERIFY_JOB_FIELD_NUMBER
      See Also:
    • PREDEPLOY_JOB_FIELD_NUMBER

      public static final int PREDEPLOY_JOB_FIELD_NUMBER
      See Also:
    • POSTDEPLOY_JOB_FIELD_NUMBER

      public static final int POSTDEPLOY_JOB_FIELD_NUMBER
      See Also:
    • CREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBER

      public static final int CREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
      See Also:
    • ADVANCE_CHILD_ROLLOUT_JOB_FIELD_NUMBER

      public static final int ADVANCE_CHILD_ROLLOUT_JOB_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
    • getJobTypeCase

      public Job.JobTypeCase getJobTypeCase()
      Specified by:
      getJobTypeCase in interface JobOrBuilder
    • getId

      public String getId()
       Output only. The ID of the Job.
       
      string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getId in interface JobOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Output only. The ID of the Job.
       
      string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIdBytes in interface JobOrBuilder
      Returns:
      The bytes for id.
    • getStateValue

      public int getStateValue()
       Output only. The current state of the Job.
       
      .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface JobOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Job.State getState()
       Output only. The current state of the Job.
       
      .google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface JobOrBuilder
      Returns:
      The state.
    • getSkipMessage

      public String getSkipMessage()
       Output only. Additional information on why the Job was skipped, if
       available.
       
      string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSkipMessage in interface JobOrBuilder
      Returns:
      The skipMessage.
    • getSkipMessageBytes

      public com.google.protobuf.ByteString getSkipMessageBytes()
       Output only. Additional information on why the Job was skipped, if
       available.
       
      string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSkipMessageBytes in interface JobOrBuilder
      Returns:
      The bytes for skipMessage.
    • getJobRun

      public String getJobRun()
       Output only. The name of the `JobRun` responsible for the most recent
       invocation of this Job.
       
      string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getJobRun in interface JobOrBuilder
      Returns:
      The jobRun.
    • getJobRunBytes

      public com.google.protobuf.ByteString getJobRunBytes()
       Output only. The name of the `JobRun` responsible for the most recent
       invocation of this Job.
       
      string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getJobRunBytes in interface JobOrBuilder
      Returns:
      The bytes for jobRun.
    • hasDeployJob

      public boolean hasDeployJob()
       Output only. A deploy Job.
       
      .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDeployJob in interface JobOrBuilder
      Returns:
      Whether the deployJob field is set.
    • getDeployJob

      public DeployJob getDeployJob()
       Output only. A deploy Job.
       
      .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeployJob in interface JobOrBuilder
      Returns:
      The deployJob.
    • getDeployJobOrBuilder

      public DeployJobOrBuilder getDeployJobOrBuilder()
       Output only. A deploy Job.
       
      .google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeployJobOrBuilder in interface JobOrBuilder
    • hasVerifyJob

      public boolean hasVerifyJob()
       Output only. A verify Job.
       
      .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasVerifyJob in interface JobOrBuilder
      Returns:
      Whether the verifyJob field is set.
    • getVerifyJob

      public VerifyJob getVerifyJob()
       Output only. A verify Job.
       
      .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVerifyJob in interface JobOrBuilder
      Returns:
      The verifyJob.
    • getVerifyJobOrBuilder

      public VerifyJobOrBuilder getVerifyJobOrBuilder()
       Output only. A verify Job.
       
      .google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVerifyJobOrBuilder in interface JobOrBuilder
    • hasPredeployJob

      public boolean hasPredeployJob()
       Output only. A predeploy Job.
       
      .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPredeployJob in interface JobOrBuilder
      Returns:
      Whether the predeployJob field is set.
    • getPredeployJob

      public PredeployJob getPredeployJob()
       Output only. A predeploy Job.
       
      .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPredeployJob in interface JobOrBuilder
      Returns:
      The predeployJob.
    • getPredeployJobOrBuilder

      public PredeployJobOrBuilder getPredeployJobOrBuilder()
       Output only. A predeploy Job.
       
      .google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPredeployJobOrBuilder in interface JobOrBuilder
    • hasPostdeployJob

      public boolean hasPostdeployJob()
       Output only. A postdeploy Job.
       
      .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPostdeployJob in interface JobOrBuilder
      Returns:
      Whether the postdeployJob field is set.
    • getPostdeployJob

      public PostdeployJob getPostdeployJob()
       Output only. A postdeploy Job.
       
      .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPostdeployJob in interface JobOrBuilder
      Returns:
      The postdeployJob.
    • getPostdeployJobOrBuilder

      public PostdeployJobOrBuilder getPostdeployJobOrBuilder()
       Output only. A postdeploy Job.
       
      .google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPostdeployJobOrBuilder in interface JobOrBuilder
    • hasCreateChildRolloutJob

      public boolean hasCreateChildRolloutJob()
       Output only. A createChildRollout Job.
       
      .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateChildRolloutJob in interface JobOrBuilder
      Returns:
      Whether the createChildRolloutJob field is set.
    • getCreateChildRolloutJob

      public CreateChildRolloutJob getCreateChildRolloutJob()
       Output only. A createChildRollout Job.
       
      .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateChildRolloutJob in interface JobOrBuilder
      Returns:
      The createChildRolloutJob.
    • getCreateChildRolloutJobOrBuilder

      public CreateChildRolloutJobOrBuilder getCreateChildRolloutJobOrBuilder()
       Output only. A createChildRollout Job.
       
      .google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateChildRolloutJobOrBuilder in interface JobOrBuilder
    • hasAdvanceChildRolloutJob

      public boolean hasAdvanceChildRolloutJob()
       Output only. An advanceChildRollout Job.
       
      .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAdvanceChildRolloutJob in interface JobOrBuilder
      Returns:
      Whether the advanceChildRolloutJob field is set.
    • getAdvanceChildRolloutJob

      public AdvanceChildRolloutJob getAdvanceChildRolloutJob()
       Output only. An advanceChildRollout Job.
       
      .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvanceChildRolloutJob in interface JobOrBuilder
      Returns:
      The advanceChildRolloutJob.
    • getAdvanceChildRolloutJobOrBuilder

      public AdvanceChildRolloutJobOrBuilder getAdvanceChildRolloutJobOrBuilder()
       Output only. An advanceChildRollout Job.
       
      .google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvanceChildRolloutJobOrBuilder in interface JobOrBuilder
    • 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 Job parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Job.Builder newBuilder()
    • newBuilder

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

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

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

      public static Job getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Job> 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 Job getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder