Package com.google.cloud.dataplex.v1
Class DiscoveryEvent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataplex.v1.DiscoveryEvent
-
- All Implemented Interfaces:
DiscoveryEventOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class DiscoveryEvent extends com.google.protobuf.GeneratedMessageV3 implements DiscoveryEventOrBuilder
The payload associated with Discovery data processing.
Protobuf typegoogle.cloud.dataplex.v1.DiscoveryEvent
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DiscoveryEvent.ActionDetails
Details about the action.static interface
DiscoveryEvent.ActionDetailsOrBuilder
static class
DiscoveryEvent.Builder
The payload associated with Discovery data processing.static class
DiscoveryEvent.ConfigDetails
Details about configuration events.static interface
DiscoveryEvent.ConfigDetailsOrBuilder
static class
DiscoveryEvent.DetailsCase
static class
DiscoveryEvent.EntityDetails
Details about the entity.static interface
DiscoveryEvent.EntityDetailsOrBuilder
static class
DiscoveryEvent.EntityType
The type of the entity.static class
DiscoveryEvent.EventType
The type of the event.static class
DiscoveryEvent.PartitionDetails
Details about the partition.static interface
DiscoveryEvent.PartitionDetailsOrBuilder
-
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
ACTION_FIELD_NUMBER
static int
ASSET_ID_FIELD_NUMBER
static int
CONFIG_FIELD_NUMBER
static int
DATA_LOCATION_FIELD_NUMBER
static int
ENTITY_FIELD_NUMBER
static int
LAKE_ID_FIELD_NUMBER
static int
MESSAGE_FIELD_NUMBER
static int
PARTITION_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
static int
ZONE_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
DiscoveryEvent.ActionDetails
getAction()
Details about the action associated with the event.DiscoveryEvent.ActionDetailsOrBuilder
getActionOrBuilder()
Details about the action associated with the event.String
getAssetId()
The id of the associated asset.com.google.protobuf.ByteString
getAssetIdBytes()
The id of the associated asset.DiscoveryEvent.ConfigDetails
getConfig()
Details about discovery configuration in effect.DiscoveryEvent.ConfigDetailsOrBuilder
getConfigOrBuilder()
Details about discovery configuration in effect.String
getDataLocation()
The data location associated with the event.com.google.protobuf.ByteString
getDataLocationBytes()
The data location associated with the event.static DiscoveryEvent
getDefaultInstance()
DiscoveryEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
DiscoveryEvent.DetailsCase
getDetailsCase()
DiscoveryEvent.EntityDetails
getEntity()
Details about the entity associated with the event.DiscoveryEvent.EntityDetailsOrBuilder
getEntityOrBuilder()
Details about the entity associated with the event.String
getLakeId()
The id of the associated lake.com.google.protobuf.ByteString
getLakeIdBytes()
The id of the associated lake.String
getMessage()
The log message.com.google.protobuf.ByteString
getMessageBytes()
The log message.com.google.protobuf.Parser<DiscoveryEvent>
getParserForType()
DiscoveryEvent.PartitionDetails
getPartition()
Details about the partition associated with the event.DiscoveryEvent.PartitionDetailsOrBuilder
getPartitionOrBuilder()
Details about the partition associated with the event.int
getSerializedSize()
DiscoveryEvent.EventType
getType()
The type of the event being logged.int
getTypeValue()
The type of the event being logged.String
getZoneId()
The id of the associated zone.com.google.protobuf.ByteString
getZoneIdBytes()
The id of the associated zone.boolean
hasAction()
Details about the action associated with the event.boolean
hasConfig()
Details about discovery configuration in effect.boolean
hasEntity()
Details about the entity associated with the event.int
hashCode()
boolean
hasPartition()
Details about the partition associated with the event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DiscoveryEvent.Builder
newBuilder()
static DiscoveryEvent.Builder
newBuilder(DiscoveryEvent prototype)
DiscoveryEvent.Builder
newBuilderForType()
protected DiscoveryEvent.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DiscoveryEvent
parseDelimitedFrom(InputStream input)
static DiscoveryEvent
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryEvent
parseFrom(byte[] data)
static DiscoveryEvent
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryEvent
parseFrom(com.google.protobuf.ByteString data)
static DiscoveryEvent
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryEvent
parseFrom(com.google.protobuf.CodedInputStream input)
static DiscoveryEvent
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryEvent
parseFrom(InputStream input)
static DiscoveryEvent
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryEvent
parseFrom(ByteBuffer data)
static DiscoveryEvent
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DiscoveryEvent>
parser()
DiscoveryEvent.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
-
LAKE_ID_FIELD_NUMBER
public static final int LAKE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONE_ID_FIELD_NUMBER
public static final int ZONE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_ID_FIELD_NUMBER
public static final int ASSET_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_LOCATION_FIELD_NUMBER
public static final int DATA_LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITION_FIELD_NUMBER
public static final int PARTITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTION_FIELD_NUMBER
public static final int ACTION_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
-
getDetailsCase
public DiscoveryEvent.DetailsCase getDetailsCase()
- Specified by:
getDetailsCase
in interfaceDiscoveryEventOrBuilder
-
getMessage
public String getMessage()
The log message.
string message = 1;
- Specified by:
getMessage
in interfaceDiscoveryEventOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
The log message.
string message = 1;
- Specified by:
getMessageBytes
in interfaceDiscoveryEventOrBuilder
- Returns:
- The bytes for message.
-
getLakeId
public String getLakeId()
The id of the associated lake.
string lake_id = 2;
- Specified by:
getLakeId
in interfaceDiscoveryEventOrBuilder
- Returns:
- The lakeId.
-
getLakeIdBytes
public com.google.protobuf.ByteString getLakeIdBytes()
The id of the associated lake.
string lake_id = 2;
- Specified by:
getLakeIdBytes
in interfaceDiscoveryEventOrBuilder
- Returns:
- The bytes for lakeId.
-
getZoneId
public String getZoneId()
The id of the associated zone.
string zone_id = 3;
- Specified by:
getZoneId
in interfaceDiscoveryEventOrBuilder
- Returns:
- The zoneId.
-
getZoneIdBytes
public com.google.protobuf.ByteString getZoneIdBytes()
The id of the associated zone.
string zone_id = 3;
- Specified by:
getZoneIdBytes
in interfaceDiscoveryEventOrBuilder
- Returns:
- The bytes for zoneId.
-
getAssetId
public String getAssetId()
The id of the associated asset.
string asset_id = 4;
- Specified by:
getAssetId
in interfaceDiscoveryEventOrBuilder
- Returns:
- The assetId.
-
getAssetIdBytes
public com.google.protobuf.ByteString getAssetIdBytes()
The id of the associated asset.
string asset_id = 4;
- Specified by:
getAssetIdBytes
in interfaceDiscoveryEventOrBuilder
- Returns:
- The bytes for assetId.
-
getDataLocation
public String getDataLocation()
The data location associated with the event.
string data_location = 5;
- Specified by:
getDataLocation
in interfaceDiscoveryEventOrBuilder
- Returns:
- The dataLocation.
-
getDataLocationBytes
public com.google.protobuf.ByteString getDataLocationBytes()
The data location associated with the event.
string data_location = 5;
- Specified by:
getDataLocationBytes
in interfaceDiscoveryEventOrBuilder
- Returns:
- The bytes for dataLocation.
-
getTypeValue
public int getTypeValue()
The type of the event being logged.
.google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;
- Specified by:
getTypeValue
in interfaceDiscoveryEventOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
public DiscoveryEvent.EventType getType()
The type of the event being logged.
.google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;
- Specified by:
getType
in interfaceDiscoveryEventOrBuilder
- Returns:
- The type.
-
hasConfig
public boolean hasConfig()
Details about discovery configuration in effect.
.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;
- Specified by:
hasConfig
in interfaceDiscoveryEventOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
public DiscoveryEvent.ConfigDetails getConfig()
Details about discovery configuration in effect.
.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;
- Specified by:
getConfig
in interfaceDiscoveryEventOrBuilder
- Returns:
- The config.
-
getConfigOrBuilder
public DiscoveryEvent.ConfigDetailsOrBuilder getConfigOrBuilder()
Details about discovery configuration in effect.
.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;
- Specified by:
getConfigOrBuilder
in interfaceDiscoveryEventOrBuilder
-
hasEntity
public boolean hasEntity()
Details about the entity associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
- Specified by:
hasEntity
in interfaceDiscoveryEventOrBuilder
- Returns:
- Whether the entity field is set.
-
getEntity
public DiscoveryEvent.EntityDetails getEntity()
Details about the entity associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
- Specified by:
getEntity
in interfaceDiscoveryEventOrBuilder
- Returns:
- The entity.
-
getEntityOrBuilder
public DiscoveryEvent.EntityDetailsOrBuilder getEntityOrBuilder()
Details about the entity associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
- Specified by:
getEntityOrBuilder
in interfaceDiscoveryEventOrBuilder
-
hasPartition
public boolean hasPartition()
Details about the partition associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
- Specified by:
hasPartition
in interfaceDiscoveryEventOrBuilder
- Returns:
- Whether the partition field is set.
-
getPartition
public DiscoveryEvent.PartitionDetails getPartition()
Details about the partition associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
- Specified by:
getPartition
in interfaceDiscoveryEventOrBuilder
- Returns:
- The partition.
-
getPartitionOrBuilder
public DiscoveryEvent.PartitionDetailsOrBuilder getPartitionOrBuilder()
Details about the partition associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
- Specified by:
getPartitionOrBuilder
in interfaceDiscoveryEventOrBuilder
-
hasAction
public boolean hasAction()
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
- Specified by:
hasAction
in interfaceDiscoveryEventOrBuilder
- Returns:
- Whether the action field is set.
-
getAction
public DiscoveryEvent.ActionDetails getAction()
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
- Specified by:
getAction
in interfaceDiscoveryEventOrBuilder
- Returns:
- The action.
-
getActionOrBuilder
public DiscoveryEvent.ActionDetailsOrBuilder getActionOrBuilder()
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
- Specified by:
getActionOrBuilder
in interfaceDiscoveryEventOrBuilder
-
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 DiscoveryEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DiscoveryEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DiscoveryEvent parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DiscoveryEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DiscoveryEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DiscoveryEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DiscoveryEvent.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DiscoveryEvent.Builder newBuilder()
-
newBuilder
public static DiscoveryEvent.Builder newBuilder(DiscoveryEvent prototype)
-
toBuilder
public DiscoveryEvent.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiscoveryEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DiscoveryEvent getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DiscoveryEvent> parser()
-
getParserForType
public com.google.protobuf.Parser<DiscoveryEvent> 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 DiscoveryEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-