Class DiscoveryEvent.Builder (1.50.0)

public static final class DiscoveryEvent.Builder extends GeneratedMessageV3.Builder<DiscoveryEvent.Builder> implements DiscoveryEventOrBuilder

The payload associated with Discovery data processing.

Protobuf type google.cloud.dataplex.v1.DiscoveryEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoveryEvent.Builder
Overrides

build()

public DiscoveryEvent build()
Returns
Type Description
DiscoveryEvent

buildPartial()

public DiscoveryEvent buildPartial()
Returns
Type Description
DiscoveryEvent

clear()

public DiscoveryEvent.Builder clear()
Returns
Type Description
DiscoveryEvent.Builder
Overrides

clearAction()

public DiscoveryEvent.Builder clearAction()

Details about the action associated with the event.

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

Returns
Type Description
DiscoveryEvent.Builder

clearAssetId()

public DiscoveryEvent.Builder clearAssetId()

The id of the associated asset.

string asset_id = 4;

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

clearConfig()

public DiscoveryEvent.Builder clearConfig()

Details about discovery configuration in effect.

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

Returns
Type Description
DiscoveryEvent.Builder

clearDataLocation()

public DiscoveryEvent.Builder clearDataLocation()

The data location associated with the event.

string data_location = 5;

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

clearDetails()

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

clearEntity()

public DiscoveryEvent.Builder clearEntity()

Details about the entity associated with the event.

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

Returns
Type Description
DiscoveryEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public DiscoveryEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiscoveryEvent.Builder
Overrides

clearLakeId()

public DiscoveryEvent.Builder clearLakeId()

The id of the associated lake.

string lake_id = 2;

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

clearMessage()

public DiscoveryEvent.Builder clearMessage()

The log message.

string message = 1;

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DiscoveryEvent.Builder
Overrides

clearPartition()

public DiscoveryEvent.Builder clearPartition()

Details about the partition associated with the event.

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

Returns
Type Description
DiscoveryEvent.Builder

clearType()

public DiscoveryEvent.Builder clearType()

The type of the event being logged.

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

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

clearZoneId()

public DiscoveryEvent.Builder clearZoneId()

The id of the associated zone.

string zone_id = 3;

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

clone()

public DiscoveryEvent.Builder clone()
Returns
Type Description
DiscoveryEvent.Builder
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.

getActionBuilder()

public DiscoveryEvent.ActionDetails.Builder getActionBuilder()

Details about the action associated with the event.

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

Returns
Type Description
DiscoveryEvent.ActionDetails.Builder

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.

getConfigBuilder()

public DiscoveryEvent.ConfigDetails.Builder getConfigBuilder()

Details about discovery configuration in effect.

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

Returns
Type Description
DiscoveryEvent.ConfigDetails.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEntityBuilder()

public DiscoveryEvent.EntityDetails.Builder getEntityBuilder()

Details about the entity associated with the event.

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

Returns
Type Description
DiscoveryEvent.EntityDetails.Builder

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.

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.

getPartitionBuilder()

public DiscoveryEvent.PartitionDetails.Builder getPartitionBuilder()

Details about the partition associated with the event.

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

Returns
Type Description
DiscoveryEvent.PartitionDetails.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAction(DiscoveryEvent.ActionDetails value)

public DiscoveryEvent.Builder mergeAction(DiscoveryEvent.ActionDetails value)

Details about the action associated with the event.

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

Parameter
Name Description
value DiscoveryEvent.ActionDetails
Returns
Type Description
DiscoveryEvent.Builder

mergeConfig(DiscoveryEvent.ConfigDetails value)

public DiscoveryEvent.Builder mergeConfig(DiscoveryEvent.ConfigDetails value)

Details about discovery configuration in effect.

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

Parameter
Name Description
value DiscoveryEvent.ConfigDetails
Returns
Type Description
DiscoveryEvent.Builder

mergeEntity(DiscoveryEvent.EntityDetails value)

public DiscoveryEvent.Builder mergeEntity(DiscoveryEvent.EntityDetails value)

Details about the entity associated with the event.

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

Parameter
Name Description
value DiscoveryEvent.EntityDetails
Returns
Type Description
DiscoveryEvent.Builder

mergeFrom(DiscoveryEvent other)

public DiscoveryEvent.Builder mergeFrom(DiscoveryEvent other)
Parameter
Name Description
other DiscoveryEvent
Returns
Type Description
DiscoveryEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DiscoveryEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DiscoveryEvent.Builder
Overrides

mergePartition(DiscoveryEvent.PartitionDetails value)

public DiscoveryEvent.Builder mergePartition(DiscoveryEvent.PartitionDetails value)

Details about the partition associated with the event.

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

Parameter
Name Description
value DiscoveryEvent.PartitionDetails
Returns
Type Description
DiscoveryEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryEvent.Builder
Overrides

setAction(DiscoveryEvent.ActionDetails value)

public DiscoveryEvent.Builder setAction(DiscoveryEvent.ActionDetails value)

Details about the action associated with the event.

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

Parameter
Name Description
value DiscoveryEvent.ActionDetails
Returns
Type Description
DiscoveryEvent.Builder

setAction(DiscoveryEvent.ActionDetails.Builder builderForValue)

public DiscoveryEvent.Builder setAction(DiscoveryEvent.ActionDetails.Builder builderForValue)

Details about the action associated with the event.

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

Parameter
Name Description
builderForValue DiscoveryEvent.ActionDetails.Builder
Returns
Type Description
DiscoveryEvent.Builder

setAssetId(String value)

public DiscoveryEvent.Builder setAssetId(String value)

The id of the associated asset.

string asset_id = 4;

Parameter
Name Description
value String

The assetId to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setAssetIdBytes(ByteString value)

public DiscoveryEvent.Builder setAssetIdBytes(ByteString value)

The id of the associated asset.

string asset_id = 4;

Parameter
Name Description
value ByteString

The bytes for assetId to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setConfig(DiscoveryEvent.ConfigDetails value)

public DiscoveryEvent.Builder setConfig(DiscoveryEvent.ConfigDetails value)

Details about discovery configuration in effect.

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

Parameter
Name Description
value DiscoveryEvent.ConfigDetails
Returns
Type Description
DiscoveryEvent.Builder

setConfig(DiscoveryEvent.ConfigDetails.Builder builderForValue)

public DiscoveryEvent.Builder setConfig(DiscoveryEvent.ConfigDetails.Builder builderForValue)

Details about discovery configuration in effect.

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

Parameter
Name Description
builderForValue DiscoveryEvent.ConfigDetails.Builder
Returns
Type Description
DiscoveryEvent.Builder

setDataLocation(String value)

public DiscoveryEvent.Builder setDataLocation(String value)

The data location associated with the event.

string data_location = 5;

Parameter
Name Description
value String

The dataLocation to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setDataLocationBytes(ByteString value)

public DiscoveryEvent.Builder setDataLocationBytes(ByteString value)

The data location associated with the event.

string data_location = 5;

Parameter
Name Description
value ByteString

The bytes for dataLocation to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setEntity(DiscoveryEvent.EntityDetails value)

public DiscoveryEvent.Builder setEntity(DiscoveryEvent.EntityDetails value)

Details about the entity associated with the event.

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

Parameter
Name Description
value DiscoveryEvent.EntityDetails
Returns
Type Description
DiscoveryEvent.Builder

setEntity(DiscoveryEvent.EntityDetails.Builder builderForValue)

public DiscoveryEvent.Builder setEntity(DiscoveryEvent.EntityDetails.Builder builderForValue)

Details about the entity associated with the event.

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

Parameter
Name Description
builderForValue DiscoveryEvent.EntityDetails.Builder
Returns
Type Description
DiscoveryEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoveryEvent.Builder
Overrides

setLakeId(String value)

public DiscoveryEvent.Builder setLakeId(String value)

The id of the associated lake.

string lake_id = 2;

Parameter
Name Description
value String

The lakeId to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setLakeIdBytes(ByteString value)

public DiscoveryEvent.Builder setLakeIdBytes(ByteString value)

The id of the associated lake.

string lake_id = 2;

Parameter
Name Description
value ByteString

The bytes for lakeId to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setMessage(String value)

public DiscoveryEvent.Builder setMessage(String value)

The log message.

string message = 1;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public DiscoveryEvent.Builder setMessageBytes(ByteString value)

The log message.

string message = 1;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setPartition(DiscoveryEvent.PartitionDetails value)

public DiscoveryEvent.Builder setPartition(DiscoveryEvent.PartitionDetails value)

Details about the partition associated with the event.

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

Parameter
Name Description
value DiscoveryEvent.PartitionDetails
Returns
Type Description
DiscoveryEvent.Builder

setPartition(DiscoveryEvent.PartitionDetails.Builder builderForValue)

public DiscoveryEvent.Builder setPartition(DiscoveryEvent.PartitionDetails.Builder builderForValue)

Details about the partition associated with the event.

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

Parameter
Name Description
builderForValue DiscoveryEvent.PartitionDetails.Builder
Returns
Type Description
DiscoveryEvent.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DiscoveryEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DiscoveryEvent.Builder
Overrides

setType(DiscoveryEvent.EventType value)

public DiscoveryEvent.Builder setType(DiscoveryEvent.EventType value)

The type of the event being logged.

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

Parameter
Name Description
value DiscoveryEvent.EventType

The type to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setTypeValue(int value)

public DiscoveryEvent.Builder setTypeValue(int value)

The type of the event being logged.

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

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryEvent.Builder
Overrides

setZoneId(String value)

public DiscoveryEvent.Builder setZoneId(String value)

The id of the associated zone.

string zone_id = 3;

Parameter
Name Description
value String

The zoneId to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.

setZoneIdBytes(ByteString value)

public DiscoveryEvent.Builder setZoneIdBytes(ByteString value)

The id of the associated zone.

string zone_id = 3;

Parameter
Name Description
value ByteString

The bytes for zoneId to set.

Returns
Type Description
DiscoveryEvent.Builder

This builder for chaining.