Class DataScan.ExecutionSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataScan.ExecutionSpec.Builder>
com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder
All Implemented Interfaces:
DataScan.ExecutionSpecOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DataScan.ExecutionSpec

public static final class DataScan.ExecutionSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataScan.ExecutionSpec.Builder> implements DataScan.ExecutionSpecOrBuilder
 DataScan execution settings.
 
Protobuf type google.cloud.dataplex.v1.DataScan.ExecutionSpec
  • 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<DataScan.ExecutionSpec.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<DataScan.ExecutionSpec.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<DataScan.ExecutionSpec.Builder>
    • getDefaultInstanceForType

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

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

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

      public DataScan.ExecutionSpec.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<DataScan.ExecutionSpec.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DataScan.ExecutionSpec.Builder>
    • mergeFrom

      public DataScan.ExecutionSpec.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<DataScan.ExecutionSpec.Builder>
      Throws:
      IOException
    • getIncrementalCase

      public DataScan.ExecutionSpec.IncrementalCase getIncrementalCase()
      Specified by:
      getIncrementalCase in interface DataScan.ExecutionSpecOrBuilder
    • clearIncremental

      public DataScan.ExecutionSpec.Builder clearIncremental()
    • hasTrigger

      public boolean hasTrigger()
       Optional. Spec related to how often and when a scan should be triggered.
      
       If not specified, the default is `OnDemand`, which means the scan will
       not run until the user calls `RunDataScan` API.
       
      .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTrigger in interface DataScan.ExecutionSpecOrBuilder
      Returns:
      Whether the trigger field is set.
    • getTrigger

      public Trigger getTrigger()
       Optional. Spec related to how often and when a scan should be triggered.
      
       If not specified, the default is `OnDemand`, which means the scan will
       not run until the user calls `RunDataScan` API.
       
      .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTrigger in interface DataScan.ExecutionSpecOrBuilder
      Returns:
      The trigger.
    • setTrigger

      public DataScan.ExecutionSpec.Builder setTrigger(Trigger value)
       Optional. Spec related to how often and when a scan should be triggered.
      
       If not specified, the default is `OnDemand`, which means the scan will
       not run until the user calls `RunDataScan` API.
       
      .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setTrigger

      public DataScan.ExecutionSpec.Builder setTrigger(Trigger.Builder builderForValue)
       Optional. Spec related to how often and when a scan should be triggered.
      
       If not specified, the default is `OnDemand`, which means the scan will
       not run until the user calls `RunDataScan` API.
       
      .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeTrigger

      public DataScan.ExecutionSpec.Builder mergeTrigger(Trigger value)
       Optional. Spec related to how often and when a scan should be triggered.
      
       If not specified, the default is `OnDemand`, which means the scan will
       not run until the user calls `RunDataScan` API.
       
      .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearTrigger

      public DataScan.ExecutionSpec.Builder clearTrigger()
       Optional. Spec related to how often and when a scan should be triggered.
      
       If not specified, the default is `OnDemand`, which means the scan will
       not run until the user calls `RunDataScan` API.
       
      .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getTriggerBuilder

      public Trigger.Builder getTriggerBuilder()
       Optional. Spec related to how often and when a scan should be triggered.
      
       If not specified, the default is `OnDemand`, which means the scan will
       not run until the user calls `RunDataScan` API.
       
      .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getTriggerOrBuilder

      public TriggerOrBuilder getTriggerOrBuilder()
       Optional. Spec related to how often and when a scan should be triggered.
      
       If not specified, the default is `OnDemand`, which means the scan will
       not run until the user calls `RunDataScan` API.
       
      .google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTriggerOrBuilder in interface DataScan.ExecutionSpecOrBuilder
    • hasField

      public boolean hasField()
       Immutable. The unnested field (of type *Date* or *Timestamp*) that
       contains values which monotonically increase over time.
      
       If not specified, a data scan will run for all data in the table.
       
      string field = 100 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasField in interface DataScan.ExecutionSpecOrBuilder
      Returns:
      Whether the field field is set.
    • getField

      public String getField()
       Immutable. The unnested field (of type *Date* or *Timestamp*) that
       contains values which monotonically increase over time.
      
       If not specified, a data scan will run for all data in the table.
       
      string field = 100 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getField in interface DataScan.ExecutionSpecOrBuilder
      Returns:
      The field.
    • getFieldBytes

      public com.google.protobuf.ByteString getFieldBytes()
       Immutable. The unnested field (of type *Date* or *Timestamp*) that
       contains values which monotonically increase over time.
      
       If not specified, a data scan will run for all data in the table.
       
      string field = 100 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFieldBytes in interface DataScan.ExecutionSpecOrBuilder
      Returns:
      The bytes for field.
    • setField

      public DataScan.ExecutionSpec.Builder setField(String value)
       Immutable. The unnested field (of type *Date* or *Timestamp*) that
       contains values which monotonically increase over time.
      
       If not specified, a data scan will run for all data in the table.
       
      string field = 100 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The field to set.
      Returns:
      This builder for chaining.
    • clearField

      public DataScan.ExecutionSpec.Builder clearField()
       Immutable. The unnested field (of type *Date* or *Timestamp*) that
       contains values which monotonically increase over time.
      
       If not specified, a data scan will run for all data in the table.
       
      string field = 100 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setFieldBytes

      public DataScan.ExecutionSpec.Builder setFieldBytes(com.google.protobuf.ByteString value)
       Immutable. The unnested field (of type *Date* or *Timestamp*) that
       contains values which monotonically increase over time.
      
       If not specified, a data scan will run for all data in the table.
       
      string field = 100 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for field to set.
      Returns:
      This builder for chaining.