Class JobEvent.Builder (1.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public JobEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
JobEvent.Builder
Overrides

build()

public JobEvent build()
Returns
TypeDescription
JobEvent

buildPartial()

public JobEvent buildPartial()
Returns
TypeDescription
JobEvent

clear()

public JobEvent.Builder clear()
Returns
TypeDescription
JobEvent.Builder
Overrides

clearEndTime()

public JobEvent.Builder clearEndTime()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
JobEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public JobEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
JobEvent.Builder
Overrides

clearJobId()

public JobEvent.Builder clearJobId()

The unique id identifying the job.

string job_id = 2;

Returns
TypeDescription
JobEvent.Builder

This builder for chaining.

clearMessage()

public JobEvent.Builder clearMessage()

The log message.

string message = 1;

Returns
TypeDescription
JobEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public JobEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
JobEvent.Builder
Overrides

clearRetries()

public JobEvent.Builder clearRetries()

The number of retries.

int32 retries = 6;

Returns
TypeDescription
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
TypeDescription
JobEvent.Builder

This builder for chaining.

clearServiceJob()

public JobEvent.Builder clearServiceJob()

The reference to the job within the service.

string service_job = 9;

Returns
TypeDescription
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
TypeDescription
JobEvent.Builder

clearState()

public JobEvent.Builder clearState()

The job state on completion.

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

Returns
TypeDescription
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
TypeDescription
JobEvent.Builder

This builder for chaining.

clone()

public JobEvent.Builder clone()
Returns
TypeDescription
JobEvent.Builder
Overrides

getDefaultInstanceForType()

public JobEvent getDefaultInstanceForType()
Returns
TypeDescription
JobEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getJobId()

public String getJobId()

The unique id identifying the job.

string job_id = 2;

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

The unique id identifying the job.

string job_id = 2;

Returns
TypeDescription
ByteString

The bytes for jobId.

getMessage()

public String getMessage()

The log message.

string message = 1;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The log message.

string message = 1;

Returns
TypeDescription
ByteString

The bytes for message.

getRetries()

public int getRetries()

The number of retries.

int32 retries = 6;

Returns
TypeDescription
int

The retries.

getService()

public JobEvent.Service getService()

The service used to execute the job.

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

Returns
TypeDescription
JobEvent.Service

The service.

getServiceJob()

public String getServiceJob()

The reference to the job within the service.

string service_job = 9;

Returns
TypeDescription
String

The serviceJob.

getServiceJobBytes()

public ByteString getServiceJobBytes()

The reference to the job within the service.

string service_job = 9;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time when the job started running.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time when the job started running.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getState()

public JobEvent.State getState()

The job state on completion.

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

Returns
TypeDescription
JobEvent.State

The state.

getStateValue()

public int getStateValue()

The job state on completion.

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

Returns
TypeDescription
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
TypeDescription
JobEvent.Type

The type.

getTypeValue()

public int getTypeValue()

The type of the job.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
JobEvent.Builder

mergeFrom(JobEvent other)

public JobEvent.Builder mergeFrom(JobEvent other)
Parameter
NameDescription
otherJobEvent
Returns
TypeDescription
JobEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public JobEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobEvent.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public JobEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
JobEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final JobEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
JobEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public JobEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
JobEvent.Builder
Overrides

setJobId(String value)

public JobEvent.Builder setJobId(String value)

The unique id identifying the job.

string job_id = 2;

Parameter
NameDescription
valueString

The jobId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for jobId to set.

Returns
TypeDescription
JobEvent.Builder

This builder for chaining.

setMessage(String value)

public JobEvent.Builder setMessage(String value)

The log message.

string message = 1;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
JobEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public JobEvent.Builder setMessageBytes(ByteString value)

The log message.

string message = 1;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
JobEvent.Builder
Overrides

setRetries(int value)

public JobEvent.Builder setRetries(int value)

The number of retries.

int32 retries = 6;

Parameter
NameDescription
valueint

The retries to set.

Returns
TypeDescription
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
NameDescription
valueJobEvent.Service

The service to set.

Returns
TypeDescription
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
NameDescription
valueString

The serviceJob to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceJob to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueJobEvent.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueJobEvent.Type

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
JobEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final JobEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
JobEvent.Builder
Overrides