Class JobEvent (1.44.0)

public final class JobEvent extends GeneratedMessageV3 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 Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

EXECUTION_TRIGGER_FIELD_NUMBER

public static final int EXECUTION_TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

RETRIES_FIELD_NUMBER

public static final int RETRIES_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_JOB_FIELD_NUMBER

public static final int SERVICE_JOB_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static JobEvent getDefaultInstance()
Returns
Type Description
JobEvent

getDescriptor()

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

newBuilder()

public static JobEvent.Builder newBuilder()
Returns
Type Description
JobEvent.Builder

newBuilder(JobEvent prototype)

public static JobEvent.Builder newBuilder(JobEvent prototype)
Parameter
Name Description
prototype JobEvent
Returns
Type Description
JobEvent.Builder

parseDelimitedFrom(InputStream input)

public static JobEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static JobEvent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
JobEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
JobEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
JobEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static JobEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static JobEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
JobEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<JobEvent> parser()
Returns
Type Description
Parser<JobEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public JobEvent getDefaultInstanceForType()
Returns
Type Description
JobEvent

getEndTime()

public Timestamp getEndTime()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Timestamp

The endTime.

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.

getParserForType()

public Parser<JobEvent> getParserForType()
Returns
Type Description
Parser<JobEvent>
Overrides

getRetries()

public int getRetries()

The number of retries.

int32 retries = 6;

Returns
Type Description
int

The retries.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public JobEvent.Builder newBuilderForType()
Returns
Type Description
JobEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
JobEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public JobEvent.Builder toBuilder()
Returns
Type Description
JobEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException