Package com.google.cloud.dataplex.v1
Class DiscoveryEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.Builder>
com.google.cloud.dataplex.v1.DiscoveryEvent.Builder
- All Implemented Interfaces:
DiscoveryEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DiscoveryEvent
public static final class DiscoveryEvent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.Builder>
implements DiscoveryEventOrBuilder
The payload associated with Discovery data processing.Protobuf type
google.cloud.dataplex.v1.DiscoveryEvent-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Details about the action associated with the event.The id of the associated asset.Details about discovery configuration in effect.The data location associated with the event.The id of the associated datascan for standalone discovery.Details about the entity associated with the event.The id of the associated lake.The log message.Details about the partition associated with the event.Details about the BigQuery table publishing associated with the event.The type of the event being logged.The id of the associated zone.Details about the action associated with the event.Details about the action associated with the event.Details about the action associated with the event.The id of the associated asset.com.google.protobuf.ByteStringThe id of the associated asset.Details about discovery configuration in effect.Details about discovery configuration in effect.Details about discovery configuration in effect.The data location associated with the event.com.google.protobuf.ByteStringThe data location associated with the event.The id of the associated datascan for standalone discovery.com.google.protobuf.ByteStringThe id of the associated datascan for standalone discovery.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDetails about the entity associated with the event.Details about the entity associated with the event.Details about the entity associated with the event.The id of the associated lake.com.google.protobuf.ByteStringThe id of the associated lake.The log message.com.google.protobuf.ByteStringThe log message.Details about the partition associated with the event.Details about the partition associated with the event.Details about the partition associated with the event.getTable()Details about the BigQuery table publishing associated with the event.Details about the BigQuery table publishing associated with the event.Details about the BigQuery table publishing associated with the event.getType()The type of the event being logged.intThe type of the event being logged.The id of the associated zone.com.google.protobuf.ByteStringThe id of the associated zone.booleanDetails about the action associated with the event.booleanDetails about discovery configuration in effect.booleanDetails about the entity associated with the event.booleanDetails about the partition associated with the event.booleanhasTable()Details about the BigQuery table publishing associated with the event.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanDetails about the action associated with the event.Details about discovery configuration in effect.Details about the entity associated with the event.mergeFrom(DiscoveryEvent other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Details about the partition associated with the event.Details about the BigQuery table publishing associated with the event.Details about the action associated with the event.setAction(DiscoveryEvent.ActionDetails.Builder builderForValue) Details about the action associated with the event.setAssetId(String value) The id of the associated asset.setAssetIdBytes(com.google.protobuf.ByteString value) The id of the associated asset.Details about discovery configuration in effect.setConfig(DiscoveryEvent.ConfigDetails.Builder builderForValue) Details about discovery configuration in effect.setDataLocation(String value) The data location associated with the event.setDataLocationBytes(com.google.protobuf.ByteString value) The data location associated with the event.setDatascanId(String value) The id of the associated datascan for standalone discovery.setDatascanIdBytes(com.google.protobuf.ByteString value) The id of the associated datascan for standalone discovery.Details about the entity associated with the event.setEntity(DiscoveryEvent.EntityDetails.Builder builderForValue) Details about the entity associated with the event.The id of the associated lake.setLakeIdBytes(com.google.protobuf.ByteString value) The id of the associated lake.setMessage(String value) The log message.setMessageBytes(com.google.protobuf.ByteString value) The log message.Details about the partition associated with the event.setPartition(DiscoveryEvent.PartitionDetails.Builder builderForValue) Details about the partition associated with the event.Details about the BigQuery table publishing associated with the event.setTable(DiscoveryEvent.TableDetails.Builder builderForValue) Details about the BigQuery table publishing associated with the event.setType(DiscoveryEvent.EventType value) The type of the event being logged.setTypeValue(int value) The type of the event being logged.The id of the associated zone.setZoneIdBytes(com.google.protobuf.ByteString value) The id of the associated zone.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.Builder>
-
mergeFrom
public DiscoveryEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryEvent.Builder>- Throws:
IOException
-
getDetailsCase
- Specified by:
getDetailsCasein interfaceDiscoveryEventOrBuilder
-
clearDetails
-
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.
-
setMessage
The log message.
string message = 1;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
The log message.
string message = 1;- Returns:
- This builder for chaining.
-
setMessageBytes
The log message.
string message = 1;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
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.
-
setLakeId
The id of the associated lake.
string lake_id = 2;- Parameters:
value- The lakeId to set.- Returns:
- This builder for chaining.
-
clearLakeId
The id of the associated lake.
string lake_id = 2;- Returns:
- This builder for chaining.
-
setLakeIdBytes
The id of the associated lake.
string lake_id = 2;- Parameters:
value- The bytes for lakeId to set.- Returns:
- This builder for chaining.
-
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.
-
setZoneId
The id of the associated zone.
string zone_id = 3;- Parameters:
value- The zoneId to set.- Returns:
- This builder for chaining.
-
clearZoneId
The id of the associated zone.
string zone_id = 3;- Returns:
- This builder for chaining.
-
setZoneIdBytes
The id of the associated zone.
string zone_id = 3;- Parameters:
value- The bytes for zoneId to set.- Returns:
- This builder for chaining.
-
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.
-
setAssetId
The id of the associated asset.
string asset_id = 4;- Parameters:
value- The assetId to set.- Returns:
- This builder for chaining.
-
clearAssetId
The id of the associated asset.
string asset_id = 4;- Returns:
- This builder for chaining.
-
setAssetIdBytes
The id of the associated asset.
string asset_id = 4;- Parameters:
value- The bytes for assetId to set.- Returns:
- This builder for chaining.
-
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.
-
setDataLocation
The data location associated with the event.
string data_location = 5;- Parameters:
value- The dataLocation to set.- Returns:
- This builder for chaining.
-
clearDataLocation
The data location associated with the event.
string data_location = 5;- Returns:
- This builder for chaining.
-
setDataLocationBytes
The data location associated with the event.
string data_location = 5;- Parameters:
value- The bytes for dataLocation to set.- Returns:
- This builder for chaining.
-
getDatascanId
The id of the associated datascan for standalone discovery.
string datascan_id = 6;- Specified by:
getDatascanIdin interfaceDiscoveryEventOrBuilder- Returns:
- The datascanId.
-
getDatascanIdBytes
public com.google.protobuf.ByteString getDatascanIdBytes()The id of the associated datascan for standalone discovery.
string datascan_id = 6;- Specified by:
getDatascanIdBytesin interfaceDiscoveryEventOrBuilder- Returns:
- The bytes for datascanId.
-
setDatascanId
The id of the associated datascan for standalone discovery.
string datascan_id = 6;- Parameters:
value- The datascanId to set.- Returns:
- This builder for chaining.
-
clearDatascanId
The id of the associated datascan for standalone discovery.
string datascan_id = 6;- Returns:
- This builder for chaining.
-
setDatascanIdBytes
The id of the associated datascan for standalone discovery.
string datascan_id = 6;- Parameters:
value- The bytes for datascanId to set.- Returns:
- This builder for chaining.
-
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.
-
setTypeValue
The type of the event being logged.
.google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The type of the event being logged.
.google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;- Specified by:
getTypein interfaceDiscoveryEventOrBuilder- Returns:
- The type.
-
setType
The type of the event being logged.
.google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of the event being logged.
.google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;- Returns:
- This builder for chaining.
-
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
Details about discovery configuration in effect.
.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;- Specified by:
getConfigin interfaceDiscoveryEventOrBuilder- Returns:
- The config.
-
setConfig
Details about discovery configuration in effect.
.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; -
setConfig
Details about discovery configuration in effect.
.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; -
mergeConfig
Details about discovery configuration in effect.
.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; -
clearConfig
Details about discovery configuration in effect.
.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; -
getConfigBuilder
Details about discovery configuration in effect.
.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20; -
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
Details about the entity associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;- Specified by:
getEntityin interfaceDiscoveryEventOrBuilder- Returns:
- The entity.
-
setEntity
Details about the entity associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; -
setEntity
Details about the entity associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; -
mergeEntity
Details about the entity associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; -
clearEntity
Details about the entity associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; -
getEntityBuilder
Details about the entity associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21; -
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
Details about the partition associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;- Specified by:
getPartitionin interfaceDiscoveryEventOrBuilder- Returns:
- The partition.
-
setPartition
Details about the partition associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; -
setPartition
Details about the partition associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; -
mergePartition
Details about the partition associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; -
clearPartition
Details about the partition associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; -
getPartitionBuilder
Details about the partition associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22; -
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
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;- Specified by:
getActionin interfaceDiscoveryEventOrBuilder- Returns:
- The action.
-
setAction
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; -
setAction
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; -
mergeAction
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; -
clearAction
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; -
getActionBuilder
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23; -
getActionOrBuilder
Details about the action associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;- Specified by:
getActionOrBuilderin interfaceDiscoveryEventOrBuilder
-
hasTable
public boolean hasTable()Details about the BigQuery table publishing associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24;- Specified by:
hasTablein interfaceDiscoveryEventOrBuilder- Returns:
- Whether the table field is set.
-
getTable
Details about the BigQuery table publishing associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24;- Specified by:
getTablein interfaceDiscoveryEventOrBuilder- Returns:
- The table.
-
setTable
Details about the BigQuery table publishing associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24; -
setTable
Details about the BigQuery table publishing associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24; -
mergeTable
Details about the BigQuery table publishing associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24; -
clearTable
Details about the BigQuery table publishing associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24; -
getTableBuilder
Details about the BigQuery table publishing associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24; -
getTableOrBuilder
Details about the BigQuery table publishing associated with the event.
.google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24;- Specified by:
getTableOrBuilderin interfaceDiscoveryEventOrBuilder
-