public final class Job extends GeneratedMessageV3 implements JobOrBuilder
Job represents an operation for a Rollout
.
Protobuf type google.cloud.deploy.v1.Job
Static Fields
DEPLOY_JOB_FIELD_NUMBER
public static final int DEPLOY_JOB_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
JOB_RUN_FIELD_NUMBER
public static final int JOB_RUN_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
VERIFY_JOB_FIELD_NUMBER
public static final int VERIFY_JOB_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Job getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Job.Builder newBuilder()
Returns
newBuilder(Job prototype)
public static Job.Builder newBuilder(Job prototype)
Parameter
Name | Description |
prototype | Job
|
Returns
public static Job parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Job parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Job parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Job parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Job parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Job parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Job parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Job parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Job parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Job parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Job parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Job parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Job> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Job getDefaultInstanceForType()
Returns
getDeployJob()
public DeployJob getDeployJob()
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDeployJobOrBuilder()
public DeployJobOrBuilder getDeployJobOrBuilder()
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getId()
Output only. The ID of the Job.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getIdBytes()
public ByteString getIdBytes()
Output only. The ID of the Job.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
Type | Description |
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
getJobTypeCase()
public Job.JobTypeCase getJobTypeCase()
Returns
getParserForType()
public Parser<Job> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
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
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
getVerifyJobOrBuilder()
public VerifyJobOrBuilder getVerifyJobOrBuilder()
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
hasDeployJob()
public boolean hasDeployJob()
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
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
Type | Description |
boolean | Whether the verifyJob field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Job.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Job.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Job.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions