Class Job.Builder (0.15.0)

public static final class Job.Builder extends GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder

A job represents an instance of a task.

Protobuf type google.events.cloud.dataplex.v1.Job

Implements

JobOrBuilder

Static 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
Overrides

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
Overrides

clearEndTime()

public Job.Builder clearEndTime()

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4;

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
Overrides

clearMessage()

public Job.Builder clearMessage()

Output only. Additional information about the current state.

string message = 9;

Returns
Type Description
Job.Builder

This builder for chaining.

clearName()

public Job.Builder clearName()

Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}.

string name = 1;

Returns
Type Description
Job.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Job.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Job.Builder
Overrides

clearRetryCount()

public Job.Builder clearRetryCount()

Output only. The number of times the job has been retried (excluding the initial attempt).

uint32 retry_count = 6;

Returns
Type Description
Job.Builder

This builder for chaining.

clearService()

public Job.Builder clearService()

Output only. The underlying service running a job.

.google.events.cloud.dataplex.v1.Job.Service service = 7;

Returns
Type Description
Job.Builder

This builder for chaining.

clearServiceJob()

public Job.Builder clearServiceJob()

Output only. The full resource name for the job run under a particular service.

string service_job = 8;

Returns
Type Description
Job.Builder

This builder for chaining.

clearStartTime()

public Job.Builder clearStartTime()

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Job.Builder

clearState()

public Job.Builder clearState()

Output only. Execution state for the job.

.google.events.cloud.dataplex.v1.Job.State state = 5;

Returns
Type Description
Job.Builder

This builder for chaining.

clearUid()

public Job.Builder clearUid()

Output only. System generated globally unique ID for the job.

string uid = 2;

Returns
Type Description
Job.Builder

This builder for chaining.

clone()

public Job.Builder clone()
Returns
Type Description
Job.Builder
Overrides

getDefaultInstanceForType()

public Job getDefaultInstanceForType()
Returns
Type Description
Job

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
TimestampOrBuilder

getMessage()

public String getMessage()

Output only. Additional information about the current state.

string message = 9;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Output only. Additional information about the current state.

string message = 9;

Returns
Type Description
ByteString

The bytes for message.

getName()

public String getName()

Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getRetryCount()

public int getRetryCount()

Output only. The number of times the job has been retried (excluding the initial attempt).

uint32 retry_count = 6;

Returns
Type Description
int

The retryCount.

getService()

public Job.Service getService()

Output only. The underlying service running a job.

.google.events.cloud.dataplex.v1.Job.Service service = 7;

Returns
Type Description
Job.Service

The service.

getServiceJob()

public String getServiceJob()

Output only. The full resource name for the job run under a particular service.

string service_job = 8;

Returns
Type Description
String

The serviceJob.

getServiceJobBytes()

public ByteString getServiceJobBytes()

Output only. The full resource name for the job run under a particular service.

string service_job = 8;

Returns
Type Description
ByteString

The bytes for serviceJob.

getServiceValue()

public int getServiceValue()

Output only. The underlying service running a job.

.google.events.cloud.dataplex.v1.Job.Service service = 7;

Returns
Type Description
int

The enum numeric value on the wire for service.

getStartTime()

public Timestamp getStartTime()

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
TimestampOrBuilder

getState()

public Job.State getState()

Output only. Execution state for the job.

.google.events.cloud.dataplex.v1.Job.State state = 5;

Returns
Type Description
Job.State

The state.

getStateValue()

public int getStateValue()

Output only. Execution state for the job.

.google.events.cloud.dataplex.v1.Job.State state = 5;

Returns
Type Description
int

The enum numeric value on the wire for state.

getUid()

public String getUid()

Output only. System generated globally unique ID for the job.

string uid = 2;

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. System generated globally unique ID for the job.

string uid = 2;

Returns
Type Description
ByteString

The bytes for uid.

hasEndTime()

public boolean hasEndTime()

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public Job.Builder mergeEndTime(Timestamp value)

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
value Timestamp
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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Job.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Job.Builder
Overrides

mergeStartTime(Timestamp value)

public Job.Builder mergeStartTime(Timestamp value)

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
value Timestamp
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
Overrides

setEndTime(Timestamp value)

public Job.Builder setEndTime(Timestamp value)

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Job.Builder

setEndTime(Timestamp.Builder builderForValue)

public Job.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
builderForValue 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
Overrides

setMessage(String value)

public Job.Builder setMessage(String value)

Output only. Additional information about the current state.

string message = 9;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
Job.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public Job.Builder setMessageBytes(ByteString value)

Output only. Additional information about the current state.

string message = 9;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
Job.Builder

This builder for chaining.

setName(String value)

public Job.Builder setName(String value)

Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Job.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Job.Builder setNameBytes(ByteString value)

Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name 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
Overrides

setRetryCount(int value)

public Job.Builder setRetryCount(int value)

Output only. The number of times the job has been retried (excluding the initial attempt).

uint32 retry_count = 6;

Parameter
Name Description
value int

The retryCount to set.

Returns
Type Description
Job.Builder

This builder for chaining.

setService(Job.Service value)

public Job.Builder setService(Job.Service value)

Output only. The underlying service running a job.

.google.events.cloud.dataplex.v1.Job.Service service = 7;

Parameter
Name Description
value Job.Service

The service to set.

Returns
Type Description
Job.Builder

This builder for chaining.

setServiceJob(String value)

public Job.Builder setServiceJob(String value)

Output only. The full resource name for the job run under a particular service.

string service_job = 8;

Parameter
Name Description
value String

The serviceJob to set.

Returns
Type Description
Job.Builder

This builder for chaining.

setServiceJobBytes(ByteString value)

public Job.Builder setServiceJobBytes(ByteString value)

Output only. The full resource name for the job run under a particular service.

string service_job = 8;

Parameter
Name Description
value ByteString

The bytes for serviceJob to set.

Returns
Type Description
Job.Builder

This builder for chaining.

setServiceValue(int value)

public Job.Builder setServiceValue(int value)

Output only. The underlying service running a job.

.google.events.cloud.dataplex.v1.Job.Service service = 7;

Parameter
Name Description
value int

The enum numeric value on the wire for service to set.

Returns
Type Description
Job.Builder

This builder for chaining.

setStartTime(Timestamp value)

public Job.Builder setStartTime(Timestamp value)

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Job.Builder

setStartTime(Timestamp.Builder builderForValue)

public Job.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Job.Builder

setState(Job.State value)

public Job.Builder setState(Job.State value)

Output only. Execution state for the job.

.google.events.cloud.dataplex.v1.Job.State state = 5;

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. Execution state for the job.

.google.events.cloud.dataplex.v1.Job.State state = 5;

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.

setUid(String value)

public Job.Builder setUid(String value)

Output only. System generated globally unique ID for the job.

string uid = 2;

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
Job.Builder

This builder for chaining.

setUidBytes(ByteString value)

public Job.Builder setUidBytes(ByteString value)

Output only. System generated globally unique ID for the job.

string uid = 2;

Parameter
Name Description
value ByteString

The bytes for uid 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
Overrides