Class DiscoveryEvent.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryEvent.Builder
Overrides

build()

public DiscoveryEvent build()
Returns
TypeDescription
DiscoveryEvent

buildPartial()

public DiscoveryEvent buildPartial()
Returns
TypeDescription
DiscoveryEvent

clear()

public DiscoveryEvent.Builder clear()
Returns
TypeDescription
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
TypeDescription
DiscoveryEvent.Builder

clearAssetId()

public DiscoveryEvent.Builder clearAssetId()

The id of the associated asset.

string asset_id = 4;

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

clearDataLocation()

public DiscoveryEvent.Builder clearDataLocation()

The data location associated with the event.

string data_location = 5;

Returns
TypeDescription
DiscoveryEvent.Builder

This builder for chaining.

clearDetails()

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

clearEntity()

public DiscoveryEvent.Builder clearEntity()

Details about the entity associated with the event.

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

Returns
TypeDescription
DiscoveryEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public DiscoveryEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DiscoveryEvent.Builder
Overrides

clearLakeId()

public DiscoveryEvent.Builder clearLakeId()

The id of the associated lake.

string lake_id = 2;

Returns
TypeDescription
DiscoveryEvent.Builder

This builder for chaining.

clearMessage()

public DiscoveryEvent.Builder clearMessage()

The log message.

string message = 1;

Returns
TypeDescription
DiscoveryEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DiscoveryEvent.Builder

clearType()

public DiscoveryEvent.Builder clearType()

The type of the event being logged.

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

Returns
TypeDescription
DiscoveryEvent.Builder

This builder for chaining.

clearZoneId()

public DiscoveryEvent.Builder clearZoneId()

The id of the associated zone.

string zone_id = 3;

Returns
TypeDescription
DiscoveryEvent.Builder

This builder for chaining.

clone()

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

getConfigBuilder()

public DiscoveryEvent.ConfigDetails.Builder getConfigBuilder()

Details about discovery configuration in effect.

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

Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getEntityBuilder()

public DiscoveryEvent.EntityDetails.Builder getEntityBuilder()

Details about the entity associated with the event.

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

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

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.

getPartitionBuilder()

public DiscoveryEvent.PartitionDetails.Builder getPartitionBuilder()

Details about the partition associated with the event.

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

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

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDiscoveryEvent.ActionDetails
Returns
TypeDescription
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
NameDescription
valueDiscoveryEvent.ConfigDetails
Returns
TypeDescription
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
NameDescription
valueDiscoveryEvent.EntityDetails
Returns
TypeDescription
DiscoveryEvent.Builder

mergeFrom(DiscoveryEvent other)

public DiscoveryEvent.Builder mergeFrom(DiscoveryEvent other)
Parameter
NameDescription
otherDiscoveryEvent
Returns
TypeDescription
DiscoveryEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryEvent.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DiscoveryEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDiscoveryEvent.PartitionDetails
Returns
TypeDescription
DiscoveryEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDiscoveryEvent.ActionDetails
Returns
TypeDescription
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
NameDescription
builderForValueDiscoveryEvent.ActionDetails.Builder
Returns
TypeDescription
DiscoveryEvent.Builder

setAssetId(String value)

public DiscoveryEvent.Builder setAssetId(String value)

The id of the associated asset.

string asset_id = 4;

Parameter
NameDescription
valueString

The assetId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for assetId to set.

Returns
TypeDescription
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
NameDescription
valueDiscoveryEvent.ConfigDetails
Returns
TypeDescription
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
NameDescription
builderForValueDiscoveryEvent.ConfigDetails.Builder
Returns
TypeDescription
DiscoveryEvent.Builder

setDataLocation(String value)

public DiscoveryEvent.Builder setDataLocation(String value)

The data location associated with the event.

string data_location = 5;

Parameter
NameDescription
valueString

The dataLocation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataLocation to set.

Returns
TypeDescription
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
NameDescription
valueDiscoveryEvent.EntityDetails
Returns
TypeDescription
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
NameDescription
builderForValueDiscoveryEvent.EntityDetails.Builder
Returns
TypeDescription
DiscoveryEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryEvent.Builder
Overrides

setLakeId(String value)

public DiscoveryEvent.Builder setLakeId(String value)

The id of the associated lake.

string lake_id = 2;

Parameter
NameDescription
valueString

The lakeId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for lakeId to set.

Returns
TypeDescription
DiscoveryEvent.Builder

This builder for chaining.

setMessage(String value)

public DiscoveryEvent.Builder setMessage(String value)

The log message.

string message = 1;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
DiscoveryEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public DiscoveryEvent.Builder setMessageBytes(ByteString value)

The log message.

string message = 1;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
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
NameDescription
valueDiscoveryEvent.PartitionDetails
Returns
TypeDescription
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
NameDescription
builderForValueDiscoveryEvent.PartitionDetails.Builder
Returns
TypeDescription
DiscoveryEvent.Builder

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

public DiscoveryEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDiscoveryEvent.EventType

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
DiscoveryEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryEvent.Builder
Overrides

setZoneId(String value)

public DiscoveryEvent.Builder setZoneId(String value)

The id of the associated zone.

string zone_id = 3;

Parameter
NameDescription
valueString

The zoneId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for zoneId to set.

Returns
TypeDescription
DiscoveryEvent.Builder

This builder for chaining.