Class DiscoveryEvent (1.46.0)

public final class DiscoveryEvent extends GeneratedMessageV3 implements DiscoveryEventOrBuilder

The payload associated with Discovery data processing.

Protobuf type google.cloud.dataplex.v1.DiscoveryEvent

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
Type Description
int

ASSET_ID_FIELD_NUMBER

public static final int ASSET_ID_FIELD_NUMBER
Field Value
Type Description
int

CONFIG_FIELD_NUMBER

public static final int CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DATA_LOCATION_FIELD_NUMBER

public static final int DATA_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_FIELD_NUMBER

public static final int ENTITY_FIELD_NUMBER
Field Value
Type Description
int

LAKE_ID_FIELD_NUMBER

public static final int LAKE_ID_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

PARTITION_FIELD_NUMBER

public static final int PARTITION_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

ZONE_ID_FIELD_NUMBER

public static final int ZONE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DiscoveryEvent getDefaultInstance()
Returns
Type Description
DiscoveryEvent

getDescriptor()

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

newBuilder()

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

newBuilder(DiscoveryEvent prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAction()

public DiscoveryEvent.ActionDetails getAction()

Details about the action associated with the event.

.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;

Returns
Type Description
DiscoveryEvent.ActionDetails

The action.

getActionOrBuilder()

public DiscoveryEvent.ActionDetailsOrBuilder getActionOrBuilder()

Details about the action associated with the event.

.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;

Returns
Type Description
DiscoveryEvent.ActionDetailsOrBuilder

getAssetId()

public String getAssetId()

The id of the associated asset.

string asset_id = 4;

Returns
Type Description
String

The assetId.

getAssetIdBytes()

public ByteString getAssetIdBytes()

The id of the associated asset.

string asset_id = 4;

Returns
Type Description
ByteString

The bytes for assetId.

getConfig()

public DiscoveryEvent.ConfigDetails getConfig()

Details about discovery configuration in effect.

.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;

Returns
Type Description
DiscoveryEvent.ConfigDetails

The config.

getConfigOrBuilder()

public DiscoveryEvent.ConfigDetailsOrBuilder getConfigOrBuilder()

Details about discovery configuration in effect.

.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;

Returns
Type Description
DiscoveryEvent.ConfigDetailsOrBuilder

getDataLocation()

public String getDataLocation()

The data location associated with the event.

string data_location = 5;

Returns
Type Description
String

The dataLocation.

getDataLocationBytes()

public ByteString getDataLocationBytes()

The data location associated with the event.

string data_location = 5;

Returns
Type Description
ByteString

The bytes for dataLocation.

getDefaultInstanceForType()

public DiscoveryEvent getDefaultInstanceForType()
Returns
Type Description
DiscoveryEvent

getDetailsCase()

public DiscoveryEvent.DetailsCase getDetailsCase()
Returns
Type Description
DiscoveryEvent.DetailsCase

getEntity()

public DiscoveryEvent.EntityDetails getEntity()

Details about the entity associated with the event.

.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;

Returns
Type Description
DiscoveryEvent.EntityDetails

The entity.

getEntityOrBuilder()

public DiscoveryEvent.EntityDetailsOrBuilder getEntityOrBuilder()

Details about the entity associated with the event.

.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;

Returns
Type Description
DiscoveryEvent.EntityDetailsOrBuilder

getLakeId()

public String getLakeId()

The id of the associated lake.

string lake_id = 2;

Returns
Type Description
String

The lakeId.

getLakeIdBytes()

public ByteString getLakeIdBytes()

The id of the associated lake.

string lake_id = 2;

Returns
Type Description
ByteString

The bytes for lakeId.

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<DiscoveryEvent> getParserForType()
Returns
Type Description
Parser<DiscoveryEvent>
Overrides

getPartition()

public DiscoveryEvent.PartitionDetails getPartition()

Details about the partition associated with the event.

.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;

Returns
Type Description
DiscoveryEvent.PartitionDetails

The partition.

getPartitionOrBuilder()

public DiscoveryEvent.PartitionDetailsOrBuilder getPartitionOrBuilder()

Details about the partition associated with the event.

.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;

Returns
Type Description
DiscoveryEvent.PartitionDetailsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public DiscoveryEvent.EventType getType()

The type of the event being logged.

.google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;

Returns
Type Description
DiscoveryEvent.EventType

The type.

getTypeValue()

public int getTypeValue()

The type of the event being logged.

.google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;

Returns
Type Description
int

The enum numeric value on the wire for type.

getZoneId()

public String getZoneId()

The id of the associated zone.

string zone_id = 3;

Returns
Type Description
String

The zoneId.

getZoneIdBytes()

public ByteString getZoneIdBytes()

The id of the associated zone.

string zone_id = 3;

Returns
Type Description
ByteString

The bytes for zoneId.

hasAction()

public boolean hasAction()

Details about the action associated with the event.

.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;

Returns
Type Description
boolean

Whether the action field is set.

hasConfig()

public boolean hasConfig()

Details about discovery configuration in effect.

.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;

Returns
Type Description
boolean

Whether the config field is set.

hasEntity()

public boolean hasEntity()

Details about the entity associated with the event.

.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;

Returns
Type Description
boolean

Whether the entity field is set.

hasPartition()

public boolean hasPartition()

Details about the partition associated with the event.

.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;

Returns
Type Description
boolean

Whether the partition 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 DiscoveryEvent.Builder newBuilderForType()
Returns
Type Description
DiscoveryEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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