Class DiscoveryEvent (1.3.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
TypeDescription
int

ASSET_ID_FIELD_NUMBER

public static final int ASSET_ID_FIELD_NUMBER
Field Value
TypeDescription
int

CONFIG_FIELD_NUMBER

public static final int CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_LOCATION_FIELD_NUMBER

public static final int DATA_LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

ENTITY_FIELD_NUMBER

public static final int ENTITY_FIELD_NUMBER
Field Value
TypeDescription
int

LAKE_ID_FIELD_NUMBER

public static final int LAKE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

PARTITION_FIELD_NUMBER

public static final int PARTITION_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_ID_FIELD_NUMBER

public static final int ZONE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiscoveryEvent getDefaultInstance()
Returns
TypeDescription
DiscoveryEvent

getDescriptor()

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

newBuilder()

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

newBuilder(DiscoveryEvent prototype)

public static DiscoveryEvent.Builder newBuilder(DiscoveryEvent prototype)
Parameter
NameDescription
prototypeDiscoveryEvent
Returns
TypeDescription
DiscoveryEvent.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAction()

public DiscoveryEvent.ActionDetails getAction()

Details about the action associated with the event.

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

Returns
TypeDescription
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
TypeDescription
DiscoveryEvent.ActionDetailsOrBuilder

getAssetId()

public String getAssetId()

The id of the associated asset.

string asset_id = 4;

Returns
TypeDescription
String

The assetId.

getAssetIdBytes()

public ByteString getAssetIdBytes()

The id of the associated asset.

string asset_id = 4;

Returns
TypeDescription
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
TypeDescription
DiscoveryEvent.ConfigDetails

The config.

getConfigOrBuilder()

public DiscoveryEvent.ConfigDetailsOrBuilder getConfigOrBuilder()

Details about discovery configuration in effect.

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

Returns
TypeDescription
DiscoveryEvent.ConfigDetailsOrBuilder

getDataLocation()

public String getDataLocation()

The data location associated with the event.

string data_location = 5;

Returns
TypeDescription
String

The dataLocation.

getDataLocationBytes()

public ByteString getDataLocationBytes()

The data location associated with the event.

string data_location = 5;

Returns
TypeDescription
ByteString

The bytes for dataLocation.

getDefaultInstanceForType()

public DiscoveryEvent getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryEvent

getDetailsCase()

public DiscoveryEvent.DetailsCase getDetailsCase()
Returns
TypeDescription
DiscoveryEvent.DetailsCase

getEntity()

public DiscoveryEvent.EntityDetails getEntity()

Details about the entity associated with the event.

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

Returns
TypeDescription
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
TypeDescription
DiscoveryEvent.EntityDetailsOrBuilder

getLakeId()

public String getLakeId()

The id of the associated lake.

string lake_id = 2;

Returns
TypeDescription
String

The lakeId.

getLakeIdBytes()

public ByteString getLakeIdBytes()

The id of the associated lake.

string lake_id = 2;

Returns
TypeDescription
ByteString

The bytes for lakeId.

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<DiscoveryEvent> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DiscoveryEvent.PartitionDetailsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public DiscoveryEvent.EventType getType()

The type of the event being logged.

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

Returns
TypeDescription
DiscoveryEvent.EventType

The type.

getTypeValue()

public int getTypeValue()

The type of the event being logged.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getZoneId()

public String getZoneId()

The id of the associated zone.

string zone_id = 3;

Returns
TypeDescription
String

The zoneId.

getZoneIdBytes()

public ByteString getZoneIdBytes()

The id of the associated zone.

string zone_id = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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