- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class Job.Builder extends GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
Job represents an operation for a Rollout
.
Protobuf type google.cloud.deploy.v1.Job
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Job.BuilderImplements
JobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Job.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Job.Builder |
build()
public Job build()
Returns | |
---|---|
Type | Description |
Job |
buildPartial()
public Job buildPartial()
Returns | |
---|---|
Type | Description |
Job |
clear()
public Job.Builder clear()
Returns | |
---|---|
Type | Description |
Job.Builder |
clearDeployJob()
public Job.Builder clearDeployJob()
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job.Builder |
clearField(Descriptors.FieldDescriptor field)
public Job.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Job.Builder |
clearId()
public Job.Builder clearId()
Output only. The ID of the Job.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job.Builder | This builder for chaining. |
clearJobRun()
public Job.Builder clearJobRun()
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 |
Job.Builder | This builder for chaining. |
clearJobType()
public Job.Builder clearJobType()
Returns | |
---|---|
Type | Description |
Job.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Job.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Job.Builder |
clearState()
public Job.Builder clearState()
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 |
Job.Builder | This builder for chaining. |
clearVerifyJob()
public Job.Builder clearVerifyJob()
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job.Builder |
clone()
public Job.Builder clone()
Returns | |
---|---|
Type | Description |
Job.Builder |
getDefaultInstanceForType()
public Job getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
DeployJob | The deployJob. |
getDeployJobBuilder()
public DeployJob.Builder getDeployJobBuilder()
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployJob.Builder |
getDeployJobOrBuilder()
public DeployJobOrBuilder getDeployJobOrBuilder()
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployJobOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getId()
public String getId()
Output only. The ID of the Job.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
Output only. The ID of the Job.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 | |
---|---|
Type | Description |
ByteString | The bytes for jobRun. |
getJobTypeCase()
public Job.JobTypeCase getJobTypeCase()
Returns | |
---|---|
Type | Description |
Job.JobTypeCase |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getVerifyJob()
public VerifyJob getVerifyJob()
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VerifyJob | The verifyJob. |
getVerifyJobBuilder()
public VerifyJob.Builder getVerifyJobBuilder()
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VerifyJob.Builder |
getVerifyJobOrBuilder()
public VerifyJobOrBuilder getVerifyJobOrBuilder()
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VerifyJobOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDeployJob(DeployJob value)
public Job.Builder mergeDeployJob(DeployJob value)
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | DeployJob |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeFrom(Job other)
public Job.Builder mergeFrom(Job other)
Parameter | |
---|---|
Name | Description |
other | Job |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Job.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Job.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Job.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Job.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeVerifyJob(VerifyJob value)
public Job.Builder mergeVerifyJob(VerifyJob value)
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | VerifyJob |
Returns | |
---|---|
Type | Description |
Job.Builder |
setDeployJob(DeployJob value)
public Job.Builder setDeployJob(DeployJob value)
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | DeployJob |
Returns | |
---|---|
Type | Description |
Job.Builder |
setDeployJob(DeployJob.Builder builderForValue)
public Job.Builder setDeployJob(DeployJob.Builder builderForValue)
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | DeployJob.Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Job.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Job.Builder |
setId(String value)
public Job.Builder setId(String value)
Output only. The ID of the Job.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The id to set. |
Returns | |
---|---|
Type | Description |
Job.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public Job.Builder setIdBytes(ByteString value)
Output only. The ID of the Job.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
Job.Builder | This builder for chaining. |
setJobRun(String value)
public Job.Builder setJobRun(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The jobRun to set. |
Returns | |
---|---|
Type | Description |
Job.Builder | This builder for chaining. |
setJobRunBytes(ByteString value)
public Job.Builder setJobRunBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for jobRun to set. |
Returns | |
---|---|
Type | Description |
Job.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Job.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Job.Builder |
setState(Job.State value)
public Job.Builder setState(Job.State value)
Output only. The current state of the Job.
.google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Job.State The state to set. |
Returns | |
---|---|
Type | Description |
Job.Builder | This builder for chaining. |
setStateValue(int value)
public Job.Builder setStateValue(int value)
Output only. The current state of the Job.
.google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Job.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Job.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Job.Builder |
setVerifyJob(VerifyJob value)
public Job.Builder setVerifyJob(VerifyJob value)
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | VerifyJob |
Returns | |
---|---|
Type | Description |
Job.Builder |
setVerifyJob(VerifyJob.Builder builderForValue)
public Job.Builder setVerifyJob(VerifyJob.Builder builderForValue)
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | VerifyJob.Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |