Package com.google.cloud.dataplex.v1
Class JobEvent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataplex.v1.JobEvent
-
- All Implemented Interfaces:
JobEventOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class JobEvent extends com.google.protobuf.GeneratedMessageV3 implements JobEventOrBuilder
The payload associated with Job logs that contains events describing jobs that have run within a Lake.
Protobuf typegoogle.cloud.dataplex.v1.JobEvent
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobEvent.Builder
The payload associated with Job logs that contains events describing jobs that have run within a Lake.static class
JobEvent.ExecutionTrigger
Job Execution trigger.static class
JobEvent.Service
The service used to execute the job.static class
JobEvent.State
The completion status of the job.static class
JobEvent.Type
The type of the job.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
END_TIME_FIELD_NUMBER
static int
EXECUTION_TRIGGER_FIELD_NUMBER
static int
JOB_ID_FIELD_NUMBER
static int
MESSAGE_FIELD_NUMBER
static int
RETRIES_FIELD_NUMBER
static int
SERVICE_FIELD_NUMBER
static int
SERVICE_JOB_FIELD_NUMBER
static int
START_TIME_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static JobEvent
getDefaultInstance()
JobEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Timestamp
getEndTime()
The time when the job ended running.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
The time when the job ended running.JobEvent.ExecutionTrigger
getExecutionTrigger()
Job execution trigger.int
getExecutionTriggerValue()
Job execution trigger.String
getJobId()
The unique id identifying the job.com.google.protobuf.ByteString
getJobIdBytes()
The unique id identifying the job.String
getMessage()
The log message.com.google.protobuf.ByteString
getMessageBytes()
The log message.com.google.protobuf.Parser<JobEvent>
getParserForType()
int
getRetries()
The number of retries.int
getSerializedSize()
JobEvent.Service
getService()
The service used to execute the job.String
getServiceJob()
The reference to the job within the service.com.google.protobuf.ByteString
getServiceJobBytes()
The reference to the job within the service.int
getServiceValue()
The service used to execute the job.com.google.protobuf.Timestamp
getStartTime()
The time when the job started running.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
The time when the job started running.JobEvent.State
getState()
The job state on completion.int
getStateValue()
The job state on completion.JobEvent.Type
getType()
The type of the job.int
getTypeValue()
The type of the job.boolean
hasEndTime()
The time when the job ended running.int
hashCode()
boolean
hasStartTime()
The time when the job started running.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static JobEvent.Builder
newBuilder()
static JobEvent.Builder
newBuilder(JobEvent prototype)
JobEvent.Builder
newBuilderForType()
protected JobEvent.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static JobEvent
parseDelimitedFrom(InputStream input)
static JobEvent
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static JobEvent
parseFrom(byte[] data)
static JobEvent
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static JobEvent
parseFrom(com.google.protobuf.ByteString data)
static JobEvent
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static JobEvent
parseFrom(com.google.protobuf.CodedInputStream input)
static JobEvent
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static JobEvent
parseFrom(InputStream input)
static JobEvent
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static JobEvent
parseFrom(ByteBuffer data)
static JobEvent
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<JobEvent>
parser()
JobEvent.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRIES_FIELD_NUMBER
public static final int RETRIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_JOB_FIELD_NUMBER
public static final int SERVICE_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXECUTION_TRIGGER_FIELD_NUMBER
public static final int EXECUTION_TRIGGER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getMessage
public String getMessage()
The log message.
string message = 1;
- Specified by:
getMessage
in interfaceJobEventOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
The log message.
string message = 1;
- Specified by:
getMessageBytes
in interfaceJobEventOrBuilder
- Returns:
- The bytes for message.
-
getJobId
public String getJobId()
The unique id identifying the job.
string job_id = 2;
- Specified by:
getJobId
in interfaceJobEventOrBuilder
- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()
The unique id identifying the job.
string job_id = 2;
- Specified by:
getJobIdBytes
in interfaceJobEventOrBuilder
- Returns:
- The bytes for jobId.
-
hasStartTime
public boolean hasStartTime()
The time when the job started running.
.google.protobuf.Timestamp start_time = 3;
- Specified by:
hasStartTime
in interfaceJobEventOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
The time when the job started running.
.google.protobuf.Timestamp start_time = 3;
- Specified by:
getStartTime
in interfaceJobEventOrBuilder
- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time when the job started running.
.google.protobuf.Timestamp start_time = 3;
- Specified by:
getStartTimeOrBuilder
in interfaceJobEventOrBuilder
-
hasEndTime
public boolean hasEndTime()
The time when the job ended running.
.google.protobuf.Timestamp end_time = 4;
- Specified by:
hasEndTime
in interfaceJobEventOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
The time when the job ended running.
.google.protobuf.Timestamp end_time = 4;
- Specified by:
getEndTime
in interfaceJobEventOrBuilder
- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The time when the job ended running.
.google.protobuf.Timestamp end_time = 4;
- Specified by:
getEndTimeOrBuilder
in interfaceJobEventOrBuilder
-
getStateValue
public int getStateValue()
The job state on completion.
.google.cloud.dataplex.v1.JobEvent.State state = 5;
- Specified by:
getStateValue
in interfaceJobEventOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public JobEvent.State getState()
The job state on completion.
.google.cloud.dataplex.v1.JobEvent.State state = 5;
- Specified by:
getState
in interfaceJobEventOrBuilder
- Returns:
- The state.
-
getRetries
public int getRetries()
The number of retries.
int32 retries = 6;
- Specified by:
getRetries
in interfaceJobEventOrBuilder
- Returns:
- The retries.
-
getTypeValue
public int getTypeValue()
The type of the job.
.google.cloud.dataplex.v1.JobEvent.Type type = 7;
- Specified by:
getTypeValue
in interfaceJobEventOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
public JobEvent.Type getType()
The type of the job.
.google.cloud.dataplex.v1.JobEvent.Type type = 7;
- Specified by:
getType
in interfaceJobEventOrBuilder
- Returns:
- The type.
-
getServiceValue
public int getServiceValue()
The service used to execute the job.
.google.cloud.dataplex.v1.JobEvent.Service service = 8;
- Specified by:
getServiceValue
in interfaceJobEventOrBuilder
- Returns:
- The enum numeric value on the wire for service.
-
getService
public JobEvent.Service getService()
The service used to execute the job.
.google.cloud.dataplex.v1.JobEvent.Service service = 8;
- Specified by:
getService
in interfaceJobEventOrBuilder
- Returns:
- The service.
-
getServiceJob
public String getServiceJob()
The reference to the job within the service.
string service_job = 9;
- Specified by:
getServiceJob
in interfaceJobEventOrBuilder
- Returns:
- The serviceJob.
-
getServiceJobBytes
public com.google.protobuf.ByteString getServiceJobBytes()
The reference to the job within the service.
string service_job = 9;
- Specified by:
getServiceJobBytes
in interfaceJobEventOrBuilder
- Returns:
- The bytes for serviceJob.
-
getExecutionTriggerValue
public int getExecutionTriggerValue()
Job execution trigger.
.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11;
- Specified by:
getExecutionTriggerValue
in interfaceJobEventOrBuilder
- Returns:
- The enum numeric value on the wire for executionTrigger.
-
getExecutionTrigger
public JobEvent.ExecutionTrigger getExecutionTrigger()
Job execution trigger.
.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger execution_trigger = 11;
- Specified by:
getExecutionTrigger
in interfaceJobEventOrBuilder
- Returns:
- The executionTrigger.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static JobEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static JobEvent parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static JobEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static JobEvent parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static JobEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static JobEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static JobEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public JobEvent.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static JobEvent.Builder newBuilder()
-
newBuilder
public static JobEvent.Builder newBuilder(JobEvent prototype)
-
toBuilder
public JobEvent.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected JobEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static JobEvent getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<JobEvent> parser()
-
getParserForType
public com.google.protobuf.Parser<JobEvent> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public JobEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-