Class DataScan.ExecutionSpec.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.ExecutionSpec.Builder>
      • clear

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public DataScan.ExecutionSpec.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.ExecutionSpec.Builder>
      • clearField

        public DataScan.ExecutionSpec.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.ExecutionSpec.Builder>
      • clearOneof

        public DataScan.ExecutionSpec.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.ExecutionSpec.Builder>
      • setRepeatedField

        public DataScan.ExecutionSpec.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.ExecutionSpec.Builder>
      • addRepeatedField

        public DataScan.ExecutionSpec.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.ExecutionSpec.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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.
      • setUnknownFields

        public final DataScan.ExecutionSpec.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.ExecutionSpec.Builder>
      • mergeUnknownFields

        public final DataScan.ExecutionSpec.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.ExecutionSpec.Builder>