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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.Builder>
    • clear

      public DiscoveryEvent.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.Builder>
    • getDefaultInstanceForType

      public DiscoveryEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DiscoveryEvent build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DiscoveryEvent buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DiscoveryEvent.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiscoveryEvent.Builder>
    • mergeFrom

      public DiscoveryEvent.Builder mergeFrom(DiscoveryEvent other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiscoveryEvent.Builder>
      Throws:
      IOException
    • getDetailsCase

      public DiscoveryEvent.DetailsCase getDetailsCase()
      Specified by:
      getDetailsCase in interface DiscoveryEventOrBuilder
    • clearDetails

      public DiscoveryEvent.Builder clearDetails()
    • getMessage

      public String getMessage()
       The log message.
       
      string message = 1;
      Specified by:
      getMessage in interface DiscoveryEventOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       The log message.
       
      string message = 1;
      Specified by:
      getMessageBytes in interface DiscoveryEventOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public DiscoveryEvent.Builder setMessage(String value)
       The log message.
       
      string message = 1;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public DiscoveryEvent.Builder clearMessage()
       The log message.
       
      string message = 1;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public DiscoveryEvent.Builder setMessageBytes(com.google.protobuf.ByteString value)
       The log message.
       
      string message = 1;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getLakeId

      public String getLakeId()
       The id of the associated lake.
       
      string lake_id = 2;
      Specified by:
      getLakeId in interface DiscoveryEventOrBuilder
      Returns:
      The lakeId.
    • getLakeIdBytes

      public com.google.protobuf.ByteString getLakeIdBytes()
       The id of the associated lake.
       
      string lake_id = 2;
      Specified by:
      getLakeIdBytes in interface DiscoveryEventOrBuilder
      Returns:
      The bytes for lakeId.
    • setLakeId

      public DiscoveryEvent.Builder setLakeId(String value)
       The id of the associated lake.
       
      string lake_id = 2;
      Parameters:
      value - The lakeId to set.
      Returns:
      This builder for chaining.
    • clearLakeId

      public DiscoveryEvent.Builder clearLakeId()
       The id of the associated lake.
       
      string lake_id = 2;
      Returns:
      This builder for chaining.
    • setLakeIdBytes

      public DiscoveryEvent.Builder setLakeIdBytes(com.google.protobuf.ByteString value)
       The id of the associated lake.
       
      string lake_id = 2;
      Parameters:
      value - The bytes for lakeId to set.
      Returns:
      This builder for chaining.
    • getZoneId

      public String getZoneId()
       The id of the associated zone.
       
      string zone_id = 3;
      Specified by:
      getZoneId in interface DiscoveryEventOrBuilder
      Returns:
      The zoneId.
    • getZoneIdBytes

      public com.google.protobuf.ByteString getZoneIdBytes()
       The id of the associated zone.
       
      string zone_id = 3;
      Specified by:
      getZoneIdBytes in interface DiscoveryEventOrBuilder
      Returns:
      The bytes for zoneId.
    • setZoneId

      public DiscoveryEvent.Builder setZoneId(String value)
       The id of the associated zone.
       
      string zone_id = 3;
      Parameters:
      value - The zoneId to set.
      Returns:
      This builder for chaining.
    • clearZoneId

      public DiscoveryEvent.Builder clearZoneId()
       The id of the associated zone.
       
      string zone_id = 3;
      Returns:
      This builder for chaining.
    • setZoneIdBytes

      public DiscoveryEvent.Builder setZoneIdBytes(com.google.protobuf.ByteString value)
       The id of the associated zone.
       
      string zone_id = 3;
      Parameters:
      value - The bytes for zoneId to set.
      Returns:
      This builder for chaining.
    • getAssetId

      public String getAssetId()
       The id of the associated asset.
       
      string asset_id = 4;
      Specified by:
      getAssetId in interface DiscoveryEventOrBuilder
      Returns:
      The assetId.
    • getAssetIdBytes

      public com.google.protobuf.ByteString getAssetIdBytes()
       The id of the associated asset.
       
      string asset_id = 4;
      Specified by:
      getAssetIdBytes in interface DiscoveryEventOrBuilder
      Returns:
      The bytes for assetId.
    • setAssetId

      public DiscoveryEvent.Builder setAssetId(String value)
       The id of the associated asset.
       
      string asset_id = 4;
      Parameters:
      value - The assetId to set.
      Returns:
      This builder for chaining.
    • clearAssetId

      public DiscoveryEvent.Builder clearAssetId()
       The id of the associated asset.
       
      string asset_id = 4;
      Returns:
      This builder for chaining.
    • setAssetIdBytes

      public DiscoveryEvent.Builder setAssetIdBytes(com.google.protobuf.ByteString value)
       The id of the associated asset.
       
      string asset_id = 4;
      Parameters:
      value - The bytes for assetId to set.
      Returns:
      This builder for chaining.
    • getDataLocation

      public String getDataLocation()
       The data location associated with the event.
       
      string data_location = 5;
      Specified by:
      getDataLocation in interface DiscoveryEventOrBuilder
      Returns:
      The dataLocation.
    • getDataLocationBytes

      public com.google.protobuf.ByteString getDataLocationBytes()
       The data location associated with the event.
       
      string data_location = 5;
      Specified by:
      getDataLocationBytes in interface DiscoveryEventOrBuilder
      Returns:
      The bytes for dataLocation.
    • setDataLocation

      public DiscoveryEvent.Builder setDataLocation(String value)
       The data location associated with the event.
       
      string data_location = 5;
      Parameters:
      value - The dataLocation to set.
      Returns:
      This builder for chaining.
    • clearDataLocation

      public DiscoveryEvent.Builder clearDataLocation()
       The data location associated with the event.
       
      string data_location = 5;
      Returns:
      This builder for chaining.
    • setDataLocationBytes

      public DiscoveryEvent.Builder setDataLocationBytes(com.google.protobuf.ByteString value)
       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

      public String getDatascanId()
       The id of the associated datascan for standalone discovery.
       
      string datascan_id = 6;
      Specified by:
      getDatascanId in interface DiscoveryEventOrBuilder
      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:
      getDatascanIdBytes in interface DiscoveryEventOrBuilder
      Returns:
      The bytes for datascanId.
    • setDatascanId

      public DiscoveryEvent.Builder setDatascanId(String value)
       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

      public DiscoveryEvent.Builder clearDatascanId()
       The id of the associated datascan for standalone discovery.
       
      string datascan_id = 6;
      Returns:
      This builder for chaining.
    • setDatascanIdBytes

      public DiscoveryEvent.Builder setDatascanIdBytes(com.google.protobuf.ByteString value)
       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:
      getTypeValue in interface DiscoveryEventOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public DiscoveryEvent.Builder setTypeValue(int value)
       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

      public DiscoveryEvent.EventType getType()
       The type of the event being logged.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EventType type = 10;
      Specified by:
      getType in interface DiscoveryEventOrBuilder
      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

      public DiscoveryEvent.Builder 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:
      hasConfig in interface DiscoveryEventOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public DiscoveryEvent.ConfigDetails getConfig()
       Details about discovery configuration in effect.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;
      Specified by:
      getConfig in interface DiscoveryEventOrBuilder
      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

      public DiscoveryEvent.Builder clearConfig()
       Details about discovery configuration in effect.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;
    • getConfigBuilder

      public DiscoveryEvent.ConfigDetails.Builder getConfigBuilder()
       Details about discovery configuration in effect.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;
    • getConfigOrBuilder

      public DiscoveryEvent.ConfigDetailsOrBuilder getConfigOrBuilder()
       Details about discovery configuration in effect.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails config = 20;
      Specified by:
      getConfigOrBuilder in interface DiscoveryEventOrBuilder
    • hasEntity

      public boolean hasEntity()
       Details about the entity associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
      Specified by:
      hasEntity in interface DiscoveryEventOrBuilder
      Returns:
      Whether the entity field is set.
    • getEntity

      public DiscoveryEvent.EntityDetails getEntity()
       Details about the entity associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
      Specified by:
      getEntity in interface DiscoveryEventOrBuilder
      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

      public DiscoveryEvent.Builder clearEntity()
       Details about the entity associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
    • getEntityBuilder

      public DiscoveryEvent.EntityDetails.Builder getEntityBuilder()
       Details about the entity associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
    • getEntityOrBuilder

      public DiscoveryEvent.EntityDetailsOrBuilder getEntityOrBuilder()
       Details about the entity associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails entity = 21;
      Specified by:
      getEntityOrBuilder in interface DiscoveryEventOrBuilder
    • hasPartition

      public boolean hasPartition()
       Details about the partition associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
      Specified by:
      hasPartition in interface DiscoveryEventOrBuilder
      Returns:
      Whether the partition field is set.
    • getPartition

      public DiscoveryEvent.PartitionDetails getPartition()
       Details about the partition associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
      Specified by:
      getPartition in interface DiscoveryEventOrBuilder
      Returns:
      The partition.
    • setPartition

       Details about the partition associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
    • setPartition

      public DiscoveryEvent.Builder setPartition(DiscoveryEvent.PartitionDetails.Builder builderForValue)
       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

      public DiscoveryEvent.Builder clearPartition()
       Details about the partition associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
    • getPartitionBuilder

      public DiscoveryEvent.PartitionDetails.Builder getPartitionBuilder()
       Details about the partition associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
    • getPartitionOrBuilder

      public DiscoveryEvent.PartitionDetailsOrBuilder getPartitionOrBuilder()
       Details about the partition associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails partition = 22;
      Specified by:
      getPartitionOrBuilder in interface DiscoveryEventOrBuilder
    • hasAction

      public boolean hasAction()
       Details about the action associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
      Specified by:
      hasAction in interface DiscoveryEventOrBuilder
      Returns:
      Whether the action field is set.
    • getAction

      public DiscoveryEvent.ActionDetails getAction()
       Details about the action associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
      Specified by:
      getAction in interface DiscoveryEventOrBuilder
      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

      public DiscoveryEvent.Builder clearAction()
       Details about the action associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
    • getActionBuilder

      public DiscoveryEvent.ActionDetails.Builder getActionBuilder()
       Details about the action associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
    • getActionOrBuilder

      public DiscoveryEvent.ActionDetailsOrBuilder getActionOrBuilder()
       Details about the action associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails action = 23;
      Specified by:
      getActionOrBuilder in interface DiscoveryEventOrBuilder
    • hasTable

      public boolean hasTable()
       Details about the BigQuery table publishing associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24;
      Specified by:
      hasTable in interface DiscoveryEventOrBuilder
      Returns:
      Whether the table field is set.
    • getTable

      public DiscoveryEvent.TableDetails getTable()
       Details about the BigQuery table publishing associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24;
      Specified by:
      getTable in interface DiscoveryEventOrBuilder
      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

      public DiscoveryEvent.Builder clearTable()
       Details about the BigQuery table publishing associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24;
    • getTableBuilder

      public DiscoveryEvent.TableDetails.Builder getTableBuilder()
       Details about the BigQuery table publishing associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24;
    • getTableOrBuilder

      public DiscoveryEvent.TableDetailsOrBuilder getTableOrBuilder()
       Details about the BigQuery table publishing associated with the event.
       
      .google.cloud.dataplex.v1.DiscoveryEvent.TableDetails table = 24;
      Specified by:
      getTableOrBuilder in interface DiscoveryEventOrBuilder