Class Job (1.15.0)

public final class Job extends GeneratedMessageV3 implements JobOrBuilder

Job represents an operation for a Rollout.

Protobuf type google.cloud.deploy.v1.Job

Implements

JobOrBuilder

Static Fields

ADVANCE_CHILD_ROLLOUT_JOB_FIELD_NUMBER

public static final int ADVANCE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBER

public static final int CREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
Field Value
TypeDescription
int

DEPLOY_JOB_FIELD_NUMBER

public static final int DEPLOY_JOB_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_RUN_FIELD_NUMBER

public static final int JOB_RUN_FIELD_NUMBER
Field Value
TypeDescription
int

SKIP_MESSAGE_FIELD_NUMBER

public static final int SKIP_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

VERIFY_JOB_FIELD_NUMBER

public static final int VERIFY_JOB_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Job getDefaultInstance()
Returns
TypeDescription
Job

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Job.Builder newBuilder()
Returns
TypeDescription
Job.Builder

newBuilder(Job prototype)

public static Job.Builder newBuilder(Job prototype)
Parameter
NameDescription
prototypeJob
Returns
TypeDescription
Job.Builder

parseDelimitedFrom(InputStream input)

public static Job parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Job parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Job parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Job parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Job parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Job parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Job parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Job parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Job parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Job parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Job parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Job parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Job> parser()
Returns
TypeDescription
Parser<Job>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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];

Returns
TypeDescription
AdvanceChildRolloutJob

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];

Returns
TypeDescription
AdvanceChildRolloutJobOrBuilder

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];

Returns
TypeDescription
CreateChildRolloutJob

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];

Returns
TypeDescription
CreateChildRolloutJobOrBuilder

getDefaultInstanceForType()

public Job getDefaultInstanceForType()
Returns
TypeDescription
Job

getDeployJob()

public DeployJob getDeployJob()

Output only. A deploy Job.

.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DeployJob

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];

Returns
TypeDescription
DeployJobOrBuilder

getId()

public String getId()

Output only. The ID of the Job.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Output only. The ID of the Job.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for id.

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) = { ... }

Returns
TypeDescription
String

The jobRun.

getJobRunBytes()

public 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for jobRun.

getJobTypeCase()

public Job.JobTypeCase getJobTypeCase()
Returns
TypeDescription
Job.JobTypeCase

getParserForType()

public Parser<Job> getParserForType()
Returns
TypeDescription
Parser<Job>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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];

Returns
TypeDescription
String

The skipMessage.

getSkipMessageBytes()

public ByteString getSkipMessageBytes()

Output only. Additional information on why the Job was skipped, if available.

string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for skipMessage.

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];

Returns
TypeDescription
Job.State

The state.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVerifyJob()

public VerifyJob getVerifyJob()

Output only. A verify Job.

.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
VerifyJob

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];

Returns
TypeDescription
VerifyJobOrBuilder

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];

Returns
TypeDescription
boolean

Whether the advanceChildRolloutJob field is set.

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];

Returns
TypeDescription
boolean

Whether the createChildRolloutJob field is set.

hasDeployJob()

public boolean hasDeployJob()

Output only. A deploy Job.

.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the deployJob field is set.

hasVerifyJob()

public boolean hasVerifyJob()

Output only. A verify Job.

.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the verifyJob field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Job.Builder newBuilderForType()
Returns
TypeDescription
Job.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Job.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Job.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Job.Builder toBuilder()
Returns
TypeDescription
Job.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException