Class JobEvent (1.7.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
TypeDescription
int

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

RETRIES_FIELD_NUMBER

public static final int RETRIES_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_JOB_FIELD_NUMBER

public static final int SERVICE_JOB_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static JobEvent getDefaultInstance()
Returns
TypeDescription
JobEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static JobEvent.Builder newBuilder()
Returns
TypeDescription
JobEvent.Builder

newBuilder(JobEvent prototype)

public static JobEvent.Builder newBuilder(JobEvent prototype)
Parameter
NameDescription
prototypeJobEvent
Returns
TypeDescription
JobEvent.Builder

parseDelimitedFrom(InputStream input)

public static JobEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static JobEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static JobEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static JobEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<JobEvent> parser()
Returns
TypeDescription
Parser<JobEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public JobEvent getDefaultInstanceForType()
Returns
TypeDescription
JobEvent

getEndTime()

public Timestamp getEndTime()

The time when the job ended running.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Timestamp

The endTime.

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.

getParserForType()

public Parser<JobEvent> getParserForType()
Returns
TypeDescription
Parser<JobEvent>
Overrides

getRetries()

public int getRetries()

The number of retries.

int32 retries = 6;

Returns
TypeDescription
int

The retries.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public JobEvent.Builder newBuilderForType()
Returns
TypeDescription
JobEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
JobEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public JobEvent.Builder toBuilder()
Returns
TypeDescription
JobEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException