Class Task.Builder

  • All Implemented Interfaces:
    TaskOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Task

    public static final class Task.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
    implements TaskOrBuilder
     A task represents a user-visible job.
     
    Protobuf type google.cloud.dataplex.v1.Task
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
      • internalGetFieldAccessorTable

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

        public Task.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<Task.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<Task.Builder>
      • getDefaultInstanceForType

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

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

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

        public Task.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<Task.Builder>
      • setField

        public Task.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
      • clearField

        public Task.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<Task.Builder>
      • clearOneof

        public Task.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<Task.Builder>
      • setRepeatedField

        public Task.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<Task.Builder>
      • addRepeatedField

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

        public Task.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<Task.Builder>
      • isInitialized

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

        public Task.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<Task.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. The relative resource name of the task, of the form:
         projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
         tasks/{task_id}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface TaskOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The relative resource name of the task, of the form:
         projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
         tasks/{task_id}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface TaskOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Task.Builder setName​(String value)
         Output only. The relative resource name of the task, of the form:
         projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
         tasks/{task_id}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Task.Builder clearName()
         Output only. The relative resource name of the task, of the form:
         projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
         tasks/{task_id}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public Task.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The relative resource name of the task, of the form:
         projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
         tasks/{task_id}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getUid

        public String getUid()
         Output only. System generated globally unique ID for the task. This ID will
         be different if the task is deleted and re-created with the same name.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUid in interface TaskOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         Output only. System generated globally unique ID for the task. This ID will
         be different if the task is deleted and re-created with the same name.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface TaskOrBuilder
        Returns:
        The bytes for uid.
      • setUid

        public Task.Builder setUid​(String value)
         Output only. System generated globally unique ID for the task. This ID will
         be different if the task is deleted and re-created with the same name.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public Task.Builder clearUid()
         Output only. System generated globally unique ID for the task. This ID will
         be different if the task is deleted and re-created with the same name.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUidBytes

        public Task.Builder setUidBytes​(com.google.protobuf.ByteString value)
         Output only. System generated globally unique ID for the task. This ID will
         be different if the task is deleted and re-created with the same name.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The time when the task was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface TaskOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The time when the task was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface TaskOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Task.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the task was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Task.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time when the task was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Task.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the task was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Task.Builder clearCreateTime()
         Output only. The time when the task was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The time when the task was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time when the task was created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface TaskOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The time when the task was last updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface TaskOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The time when the task was last updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface TaskOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Task.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the task was last updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Task.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time when the task was last updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Task.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the task was last updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Task.Builder clearUpdateTime()
         Output only. The time when the task was last updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The time when the task was last updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The time when the task was last updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface TaskOrBuilder
      • getDescription

        public String getDescription()
         Optional. Description of the task.
         
        string description = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescription in interface TaskOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Optional. Description of the task.
         
        string description = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescriptionBytes in interface TaskOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Task.Builder setDescription​(String value)
         Optional. Description of the task.
         
        string description = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Task.Builder clearDescription()
         Optional. Description of the task.
         
        string description = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Task.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Optional. Description of the task.
         
        string description = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getDisplayName

        public String getDisplayName()
         Optional. User friendly display name.
         
        string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisplayName in interface TaskOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Optional. User friendly display name.
         
        string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisplayNameBytes in interface TaskOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public Task.Builder setDisplayName​(String value)
         Optional. User friendly display name.
         
        string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public Task.Builder clearDisplayName()
         Optional. User friendly display name.
         
        string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public Task.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         Optional. User friendly display name.
         
        string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         Output only. Current state of the task.
         
        .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface TaskOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Task.Builder setStateValue​(int value)
         Output only. Current state of the task.
         
        .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public State getState()
         Output only. Current state of the task.
         
        .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface TaskOrBuilder
        Returns:
        The state.
      • setState

        public Task.Builder setState​(State value)
         Output only. Current state of the task.
         
        .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Task.Builder clearState()
         Output only. Current state of the task.
         
        .google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: TaskOrBuilder
         Optional. User-defined labels for the task.
         
        map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsCount in interface TaskOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Optional. User-defined labels for the task.
         
        map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsLabels in interface TaskOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Optional. User-defined labels for the task.
         
        map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsMap in interface TaskOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Optional. User-defined labels for the task.
         
        map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrDefault in interface TaskOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Optional. User-defined labels for the task.
         
        map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrThrow in interface TaskOrBuilder
      • removeLabels

        public Task.Builder removeLabels​(String key)
         Optional. User-defined labels for the task.
         
        map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Task.Builder putLabels​(String key,
                                      String value)
         Optional. User-defined labels for the task.
         
        map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      • putAllLabels

        public Task.Builder putAllLabels​(Map<String,​String> values)
         Optional. User-defined labels for the task.
         
        map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      • hasTriggerSpec

        public boolean hasTriggerSpec()
         Required. Spec related to how often and when a task should be triggered.
         
        .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasTriggerSpec in interface TaskOrBuilder
        Returns:
        Whether the triggerSpec field is set.
      • getTriggerSpec

        public Task.TriggerSpec getTriggerSpec()
         Required. Spec related to how often and when a task should be triggered.
         
        .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTriggerSpec in interface TaskOrBuilder
        Returns:
        The triggerSpec.
      • setTriggerSpec

        public Task.Builder setTriggerSpec​(Task.TriggerSpec value)
         Required. Spec related to how often and when a task should be triggered.
         
        .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      • setTriggerSpec

        public Task.Builder setTriggerSpec​(Task.TriggerSpec.Builder builderForValue)
         Required. Spec related to how often and when a task should be triggered.
         
        .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      • mergeTriggerSpec

        public Task.Builder mergeTriggerSpec​(Task.TriggerSpec value)
         Required. Spec related to how often and when a task should be triggered.
         
        .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      • clearTriggerSpec

        public Task.Builder clearTriggerSpec()
         Required. Spec related to how often and when a task should be triggered.
         
        .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      • getTriggerSpecBuilder

        public Task.TriggerSpec.Builder getTriggerSpecBuilder()
         Required. Spec related to how often and when a task should be triggered.
         
        .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      • getTriggerSpecOrBuilder

        public Task.TriggerSpecOrBuilder getTriggerSpecOrBuilder()
         Required. Spec related to how often and when a task should be triggered.
         
        .google.cloud.dataplex.v1.Task.TriggerSpec trigger_spec = 100 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTriggerSpecOrBuilder in interface TaskOrBuilder
      • hasExecutionSpec

        public boolean hasExecutionSpec()
         Required. Spec related to how a task is executed.
         
        .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasExecutionSpec in interface TaskOrBuilder
        Returns:
        Whether the executionSpec field is set.
      • getExecutionSpec

        public Task.ExecutionSpec getExecutionSpec()
         Required. Spec related to how a task is executed.
         
        .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getExecutionSpec in interface TaskOrBuilder
        Returns:
        The executionSpec.
      • setExecutionSpec

        public Task.Builder setExecutionSpec​(Task.ExecutionSpec value)
         Required. Spec related to how a task is executed.
         
        .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED];
      • setExecutionSpec

        public Task.Builder setExecutionSpec​(Task.ExecutionSpec.Builder builderForValue)
         Required. Spec related to how a task is executed.
         
        .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED];
      • mergeExecutionSpec

        public Task.Builder mergeExecutionSpec​(Task.ExecutionSpec value)
         Required. Spec related to how a task is executed.
         
        .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED];
      • clearExecutionSpec

        public Task.Builder clearExecutionSpec()
         Required. Spec related to how a task is executed.
         
        .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED];
      • getExecutionSpecBuilder

        public Task.ExecutionSpec.Builder getExecutionSpecBuilder()
         Required. Spec related to how a task is executed.
         
        .google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED];
      • hasExecutionStatus

        public boolean hasExecutionStatus()
         Output only. Status of the latest task executions.
         
        .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasExecutionStatus in interface TaskOrBuilder
        Returns:
        Whether the executionStatus field is set.
      • getExecutionStatus

        public Task.ExecutionStatus getExecutionStatus()
         Output only. Status of the latest task executions.
         
        .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExecutionStatus in interface TaskOrBuilder
        Returns:
        The executionStatus.
      • setExecutionStatus

        public Task.Builder setExecutionStatus​(Task.ExecutionStatus value)
         Output only. Status of the latest task executions.
         
        .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setExecutionStatus

        public Task.Builder setExecutionStatus​(Task.ExecutionStatus.Builder builderForValue)
         Output only. Status of the latest task executions.
         
        .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeExecutionStatus

        public Task.Builder mergeExecutionStatus​(Task.ExecutionStatus value)
         Output only. Status of the latest task executions.
         
        .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearExecutionStatus

        public Task.Builder clearExecutionStatus()
         Output only. Status of the latest task executions.
         
        .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExecutionStatusBuilder

        public Task.ExecutionStatus.Builder getExecutionStatusBuilder()
         Output only. Status of the latest task executions.
         
        .google.cloud.dataplex.v1.Task.ExecutionStatus execution_status = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasSpark

        public boolean hasSpark()
         Config related to running custom Spark tasks.
         
        .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
        Specified by:
        hasSpark in interface TaskOrBuilder
        Returns:
        Whether the spark field is set.
      • getSpark

        public Task.SparkTaskConfig getSpark()
         Config related to running custom Spark tasks.
         
        .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
        Specified by:
        getSpark in interface TaskOrBuilder
        Returns:
        The spark.
      • setSpark

        public Task.Builder setSpark​(Task.SparkTaskConfig value)
         Config related to running custom Spark tasks.
         
        .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
      • mergeSpark

        public Task.Builder mergeSpark​(Task.SparkTaskConfig value)
         Config related to running custom Spark tasks.
         
        .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
      • clearSpark

        public Task.Builder clearSpark()
         Config related to running custom Spark tasks.
         
        .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
      • getSparkBuilder

        public Task.SparkTaskConfig.Builder getSparkBuilder()
         Config related to running custom Spark tasks.
         
        .google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
      • hasNotebook

        public boolean hasNotebook()
         Config related to running scheduled Notebooks.
         
        .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302;
        Specified by:
        hasNotebook in interface TaskOrBuilder
        Returns:
        Whether the notebook field is set.
      • getNotebook

        public Task.NotebookTaskConfig getNotebook()
         Config related to running scheduled Notebooks.
         
        .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302;
        Specified by:
        getNotebook in interface TaskOrBuilder
        Returns:
        The notebook.
      • setNotebook

        public Task.Builder setNotebook​(Task.NotebookTaskConfig value)
         Config related to running scheduled Notebooks.
         
        .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302;
      • mergeNotebook

        public Task.Builder mergeNotebook​(Task.NotebookTaskConfig value)
         Config related to running scheduled Notebooks.
         
        .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302;
      • clearNotebook

        public Task.Builder clearNotebook()
         Config related to running scheduled Notebooks.
         
        .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302;
      • getNotebookBuilder

        public Task.NotebookTaskConfig.Builder getNotebookBuilder()
         Config related to running scheduled Notebooks.
         
        .google.cloud.dataplex.v1.Task.NotebookTaskConfig notebook = 302;
      • setUnknownFields

        public final Task.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<Task.Builder>
      • mergeUnknownFields

        public final Task.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<Task.Builder>