Class JobEvent.Builder (1.49.0)

public static final class JobEvent.Builder extends GeneratedMessageV3.Builder<JobEvent.Builder> implements JobEventOrBuilder

The payload associated with Job logs that contains events describing jobs that have run within a Lake.

Protobuf type google.cloud.dataplex.v1.JobEvent

Implements

JobEventOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public JobEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
JobEvent.Builder
Overrides

build()

public JobEvent build()
Returns
Type Description
JobEvent

buildPartial()

public JobEvent buildPartial()
Returns
Type Description
JobEvent

clear()

public JobEvent.Builder clear()
Returns
Type Description
JobEvent.Builder
Overrides

clearEndTime()

public JobEvent.Builder clearEndTime()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
JobEvent.Builder

clearExecutionTrigger()

public JobEvent.Builder clearExecutionTrigger()

Job execution trigger.

.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11;

Returns
Type Description
JobEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public JobEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
JobEvent.Builder
Overrides

clearJobId()

public JobEvent.Builder clearJobId()

The unique id identifying the job.

string job_id = 2;

Returns
Type Description
JobEvent.Builder

This builder for chaining.

clearMessage()

public JobEvent.Builder clearMessage()

The log message.

string message = 1;

Returns
Type Description
JobEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRetries()

public JobEvent.Builder clearRetries()

The number of retries.

int32 retries = 6;

Returns
Type Description
JobEvent.Builder

This builder for chaining.

clearService()

public JobEvent.Builder clearService()

The service used to execute the job.

.google.cloud.dataplex.v1.JobEvent.Service service = 8;

Returns
Type Description
JobEvent.Builder

This builder for chaining.

clearServiceJob()

public JobEvent.Builder clearServiceJob()

The reference to the job within the service.

string service_job = 9;

Returns
Type Description
JobEvent.Builder

This builder for chaining.

clearStartTime()

public JobEvent.Builder clearStartTime()

The time when the job started running.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
JobEvent.Builder

clearState()

public JobEvent.Builder clearState()

The job state on completion.

.google.cloud.dataplex.v1.JobEvent.State state = 5;

Returns
Type Description
JobEvent.Builder

This builder for chaining.

clearType()

public JobEvent.Builder clearType()

The type of the job.

.google.cloud.dataplex.v1.JobEvent.Type type = 7;

Returns
Type Description
JobEvent.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public JobEvent getDefaultInstanceForType()
Returns
Type Description
JobEvent

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
TimestampOrBuilder

getExecutionTrigger()

public JobEvent.ExecutionTrigger getExecutionTrigger()

Job execution trigger.

.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11;

Returns
Type Description
JobEvent.ExecutionTrigger

The executionTrigger.

getExecutionTriggerValue()

public int getExecutionTriggerValue()

Job execution trigger.

.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11;

Returns
Type Description
int

The enum numeric value on the wire for executionTrigger.

getJobId()

public String getJobId()

The unique id identifying the job.

string job_id = 2;

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

The unique id identifying the job.

string job_id = 2;

Returns
Type Description
ByteString

The bytes for jobId.

getMessage()

public String getMessage()

The log message.

string message = 1;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The log message.

string message = 1;

Returns
Type Description
ByteString

The bytes for message.

getRetries()

public int getRetries()

The number of retries.

int32 retries = 6;

Returns
Type Description
int

The retries.

getService()

public JobEvent.Service getService()

The service used to execute the job.

.google.cloud.dataplex.v1.JobEvent.Service service = 8;

Returns
Type Description
JobEvent.Service

The service.

getServiceJob()

public String getServiceJob()

The reference to the job within the service.

string service_job = 9;

Returns
Type Description
String

The serviceJob.

getServiceJobBytes()

public ByteString getServiceJobBytes()

The reference to the job within the service.

string service_job = 9;

Returns
Type Description
ByteString

The bytes for serviceJob.

getServiceValue()

public int getServiceValue()

The service used to execute the job.

.google.cloud.dataplex.v1.JobEvent.Service service = 8;

Returns
Type Description
int

The enum numeric value on the wire for service.

getStartTime()

public Timestamp getStartTime()

The time when the job started running.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time when the job started running.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time when the job started running.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
TimestampOrBuilder

getState()

public JobEvent.State getState()

The job state on completion.

.google.cloud.dataplex.v1.JobEvent.State state = 5;

Returns
Type Description
JobEvent.State

The state.

getStateValue()

public int getStateValue()

The job state on completion.

.google.cloud.dataplex.v1.JobEvent.State state = 5;

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public JobEvent.Type getType()

The type of the job.

.google.cloud.dataplex.v1.JobEvent.Type type = 7;

Returns
Type Description
JobEvent.Type

The type.

getTypeValue()

public int getTypeValue()

The type of the job.

.google.cloud.dataplex.v1.JobEvent.Type type = 7;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasEndTime()

public boolean hasEndTime()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The time when the job started running.

.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 JobEvent.Builder mergeEndTime(Timestamp value)

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
JobEvent.Builder

mergeFrom(JobEvent other)

public JobEvent.Builder mergeFrom(JobEvent other)
Parameter
Name Description
other JobEvent
Returns
Type Description
JobEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public JobEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public JobEvent.Builder mergeStartTime(Timestamp value)

The time when the job started running.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
JobEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final JobEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
JobEvent.Builder
Overrides

setEndTime(Timestamp value)

public JobEvent.Builder setEndTime(Timestamp value)

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
JobEvent.Builder

setEndTime(Timestamp.Builder builderForValue)

public JobEvent.Builder setEndTime(Timestamp.Builder builderForValue)

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
JobEvent.Builder

setExecutionTrigger(JobEvent.ExecutionTrigger value)

public JobEvent.Builder setExecutionTrigger(JobEvent.ExecutionTrigger value)

Job execution trigger.

.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11;

Parameter
Name Description
value JobEvent.ExecutionTrigger

The executionTrigger to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setExecutionTriggerValue(int value)

public JobEvent.Builder setExecutionTriggerValue(int value)

Job execution trigger.

.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11;

Parameter
Name Description
value int

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

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public JobEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
JobEvent.Builder
Overrides

setJobId(String value)

public JobEvent.Builder setJobId(String value)

The unique id identifying the job.

string job_id = 2;

Parameter
Name Description
value String

The jobId to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public JobEvent.Builder setJobIdBytes(ByteString value)

The unique id identifying the job.

string job_id = 2;

Parameter
Name Description
value ByteString

The bytes for jobId to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setMessage(String value)

public JobEvent.Builder setMessage(String value)

The log message.

string message = 1;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public JobEvent.Builder setMessageBytes(ByteString value)

The log message.

string message = 1;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public JobEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
JobEvent.Builder
Overrides

setRetries(int value)

public JobEvent.Builder setRetries(int value)

The number of retries.

int32 retries = 6;

Parameter
Name Description
value int

The retries to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setService(JobEvent.Service value)

public JobEvent.Builder setService(JobEvent.Service value)

The service used to execute the job.

.google.cloud.dataplex.v1.JobEvent.Service service = 8;

Parameter
Name Description
value JobEvent.Service

The service to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setServiceJob(String value)

public JobEvent.Builder setServiceJob(String value)

The reference to the job within the service.

string service_job = 9;

Parameter
Name Description
value String

The serviceJob to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setServiceJobBytes(ByteString value)

public JobEvent.Builder setServiceJobBytes(ByteString value)

The reference to the job within the service.

string service_job = 9;

Parameter
Name Description
value ByteString

The bytes for serviceJob to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setServiceValue(int value)

public JobEvent.Builder setServiceValue(int value)

The service used to execute the job.

.google.cloud.dataplex.v1.JobEvent.Service service = 8;

Parameter
Name Description
value int

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

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setStartTime(Timestamp value)

public JobEvent.Builder setStartTime(Timestamp value)

The time when the job started running.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
JobEvent.Builder

setStartTime(Timestamp.Builder builderForValue)

public JobEvent.Builder setStartTime(Timestamp.Builder builderForValue)

The time when the job started running.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
JobEvent.Builder

setState(JobEvent.State value)

public JobEvent.Builder setState(JobEvent.State value)

The job state on completion.

.google.cloud.dataplex.v1.JobEvent.State state = 5;

Parameter
Name Description
value JobEvent.State

The state to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setStateValue(int value)

public JobEvent.Builder setStateValue(int value)

The job state on completion.

.google.cloud.dataplex.v1.JobEvent.State state = 5;

Parameter
Name Description
value int

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

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setType(JobEvent.Type value)

public JobEvent.Builder setType(JobEvent.Type value)

The type of the job.

.google.cloud.dataplex.v1.JobEvent.Type type = 7;

Parameter
Name Description
value JobEvent.Type

The type to set.

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setTypeValue(int value)

public JobEvent.Builder setTypeValue(int value)

The type of the job.

.google.cloud.dataplex.v1.JobEvent.Type type = 7;

Parameter
Name Description
value int

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

Returns
Type Description
JobEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final JobEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
JobEvent.Builder
Overrides