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 classDiscoveryEvent.ActionDetailsDetails about the action.static interfaceDiscoveryEvent.ActionDetailsOrBuilderstatic classDiscoveryEvent.BuilderThe payload associated with Discovery data processing.static classDiscoveryEvent.ConfigDetailsDetails about configuration events.static interfaceDiscoveryEvent.ConfigDetailsOrBuilderstatic classDiscoveryEvent.DetailsCasestatic classDiscoveryEvent.EntityDetailsDetails about the entity.static interfaceDiscoveryEvent.EntityDetailsOrBuilderstatic classDiscoveryEvent.EntityTypeThe type of the entity.static classDiscoveryEvent.EventTypeThe type of the event.static classDiscoveryEvent.PartitionDetailsDetails about the partition.static interfaceDiscoveryEvent.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 intACTION_FIELD_NUMBERstatic intASSET_ID_FIELD_NUMBERstatic intCONFIG_FIELD_NUMBERstatic intDATA_LOCATION_FIELD_NUMBERstatic intENTITY_FIELD_NUMBERstatic intLAKE_ID_FIELD_NUMBERstatic intMESSAGE_FIELD_NUMBERstatic intPARTITION_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intZONE_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DiscoveryEvent.ActionDetailsgetAction()Details about the action associated with the event.DiscoveryEvent.ActionDetailsOrBuildergetActionOrBuilder()Details about the action associated with the event.StringgetAssetId()The id of the associated asset.com.google.protobuf.ByteStringgetAssetIdBytes()The id of the associated asset.DiscoveryEvent.ConfigDetailsgetConfig()Details about discovery configuration in effect.DiscoveryEvent.ConfigDetailsOrBuildergetConfigOrBuilder()Details about discovery configuration in effect.StringgetDataLocation()The data location associated with the event.com.google.protobuf.ByteStringgetDataLocationBytes()The data location associated with the event.static DiscoveryEventgetDefaultInstance()DiscoveryEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DiscoveryEvent.DetailsCasegetDetailsCase()DiscoveryEvent.EntityDetailsgetEntity()Details about the entity associated with the event.DiscoveryEvent.EntityDetailsOrBuildergetEntityOrBuilder()Details about the entity associated with the event.StringgetLakeId()The id of the associated lake.com.google.protobuf.ByteStringgetLakeIdBytes()The id of the associated lake.StringgetMessage()The log message.com.google.protobuf.ByteStringgetMessageBytes()The log message.com.google.protobuf.Parser<DiscoveryEvent>getParserForType()DiscoveryEvent.PartitionDetailsgetPartition()Details about the partition associated with the event.DiscoveryEvent.PartitionDetailsOrBuildergetPartitionOrBuilder()Details about the partition associated with the event.intgetSerializedSize()DiscoveryEvent.EventTypegetType()The type of the event being logged.intgetTypeValue()The type of the event being logged.StringgetZoneId()The id of the associated zone.com.google.protobuf.ByteStringgetZoneIdBytes()The id of the associated zone.booleanhasAction()Details about the action associated with the event.booleanhasConfig()Details about discovery configuration in effect.booleanhasEntity()Details about the entity associated with the event.inthashCode()booleanhasPartition()Details about the partition associated with the event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DiscoveryEvent.BuildernewBuilder()static DiscoveryEvent.BuildernewBuilder(DiscoveryEvent prototype)DiscoveryEvent.BuildernewBuilderForType()protected DiscoveryEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DiscoveryEventparseDelimitedFrom(InputStream input)static DiscoveryEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryEventparseFrom(byte[] data)static DiscoveryEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryEventparseFrom(com.google.protobuf.ByteString data)static DiscoveryEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryEventparseFrom(com.google.protobuf.CodedInputStream input)static DiscoveryEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryEventparseFrom(InputStream input)static DiscoveryEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryEventparseFrom(ByteBuffer data)static DiscoveryEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DiscoveryEvent>parser()DiscoveryEvent.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDetailsCase
public DiscoveryEvent.DetailsCase getDetailsCase()
- Specified by:
getDetailsCasein interfaceDiscoveryEventOrBuilder
-
getMessage
public String getMessage()
The log message.
string message = 1;- Specified by:
getMessagein interfaceDiscoveryEventOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
The log message.
string message = 1;- Specified by:
getMessageBytesin interfaceDiscoveryEventOrBuilder- Returns:
- The bytes for message.
-
getLakeId
public String getLakeId()
The id of the associated lake.
string lake_id = 2;- Specified by:
getLakeIdin interfaceDiscoveryEventOrBuilder- Returns:
- The lakeId.
-
getLakeIdBytes
public com.google.protobuf.ByteString getLakeIdBytes()
The id of the associated lake.
string lake_id = 2;- Specified by:
getLakeIdBytesin interfaceDiscoveryEventOrBuilder- Returns:
- The bytes for lakeId.
-
getZoneId
public String getZoneId()
The id of the associated zone.
string zone_id = 3;- Specified by:
getZoneIdin interfaceDiscoveryEventOrBuilder- Returns:
- The zoneId.
-
getZoneIdBytes
public com.google.protobuf.ByteString getZoneIdBytes()
The id of the associated zone.
string zone_id = 3;- Specified by:
getZoneIdBytesin interfaceDiscoveryEventOrBuilder- Returns:
- The bytes for zoneId.
-
getAssetId
public String getAssetId()
The id of the associated asset.
string asset_id = 4;- Specified by:
getAssetIdin interfaceDiscoveryEventOrBuilder- Returns:
- The assetId.
-
getAssetIdBytes
public com.google.protobuf.ByteString getAssetIdBytes()
The id of the associated asset.
string asset_id = 4;- Specified by:
getAssetIdBytesin interfaceDiscoveryEventOrBuilder- Returns:
- The bytes for assetId.
-
getDataLocation
public String getDataLocation()
The data location associated with the event.
string data_location = 5;- Specified by:
getDataLocationin interfaceDiscoveryEventOrBuilder- Returns:
- The dataLocation.
-
getDataLocationBytes
public com.google.protobuf.ByteString getDataLocationBytes()
The data location associated with the event.
string data_location = 5;- Specified by:
getDataLocationBytesin 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:
getTypeValuein 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:
getTypein interfaceDiscoveryEventOrBuilder- Returns:
- The type.
-
hasConfig
public boolean hasConfig()
Details about discovery configuration in effect.
.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;- Specified by:
hasConfigin 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:
getConfigin 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:
getConfigOrBuilderin interfaceDiscoveryEventOrBuilder
-
hasEntity
public boolean hasEntity()
Details about the entity associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;- Specified by:
hasEntityin 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:
getEntityin 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:
getEntityOrBuilderin interfaceDiscoveryEventOrBuilder
-
hasPartition
public boolean hasPartition()
Details about the partition associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;- Specified by:
hasPartitionin 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:
getPartitionin 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:
getPartitionOrBuilderin interfaceDiscoveryEventOrBuilder
-
hasAction
public boolean hasAction()
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;- Specified by:
hasActionin 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:
getActionin 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:
getActionOrBuilderin interfaceDiscoveryEventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiscoveryEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DiscoveryEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-