- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class Task.Builder extends GeneratedMessageV3.Builder<Task.Builder> implements TaskOrBuilder
A task represents a user-visible job.
Protobuf type google.cloud.dataplex.v1.Task
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Task.BuilderImplements
TaskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Task.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Task.Builder |
build()
public Task build()
Type | Description |
Task |
buildPartial()
public Task buildPartial()
Type | Description |
Task |
clear()
public Task.Builder clear()
Type | Description |
Task.Builder |
clearConfig()
public Task.Builder clearConfig()
Type | Description |
Task.Builder |
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];
Type | Description |
Task.Builder |
clearDescription()
public Task.Builder clearDescription()
Optional. Description of the task.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Task.Builder | This builder for chaining. |
clearDisplayName()
public Task.Builder clearDisplayName()
Optional. User friendly display name.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Task.Builder | This builder for chaining. |
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];
Type | Description |
Task.Builder |
clearField(Descriptors.FieldDescriptor field)
public Task.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Task.Builder |
clearLabels()
public Task.Builder clearLabels()
Type | Description |
Task.Builder |
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) = { ... }
Type | Description |
Task.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Task.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Task.Builder |
clearSpark()
public Task.Builder clearSpark()
Config related to running custom Spark tasks.
.google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
Type | Description |
Task.Builder |
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];
Type | Description |
Task.Builder | This builder for chaining. |
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];
Type | Description |
Task.Builder |
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];
Type | Description |
Task.Builder | This builder for chaining. |
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];
Type | Description |
Task.Builder |
clone()
public Task.Builder clone()
Type | Description |
Task.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. User-defined labels for the task.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getConfigCase()
public Task.ConfigCase getConfigCase()
Type | Description |
Task.ConfigCase |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the task was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the task was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the task was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Task getDefaultInstanceForType()
Type | Description |
Task |
getDescription()
public String getDescription()
Optional. Description of the task.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the task.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Optional. User friendly display name.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. User friendly display name.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for displayName. |
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];
Type | Description |
Task.ExecutionSpec | The executionSpec. |
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];
Type | Description |
Task.ExecutionSpec.Builder |
getExecutionSpecOrBuilder()
public Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder()
Required. Spec related to how a task is executed.
.google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 101 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Task.ExecutionSpecOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. User-defined labels for the task.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. User-defined labels for the task.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User-defined labels for the task.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. User-defined labels for the task.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
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) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for name. |
getSpark()
public Task.SparkTaskConfig getSpark()
Config related to running custom Spark tasks.
.google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
Type | Description |
Task.SparkTaskConfig | The spark. |
getSparkBuilder()
public Task.SparkTaskConfig.Builder getSparkBuilder()
Config related to running custom Spark tasks.
.google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
Type | Description |
Task.SparkTaskConfig.Builder |
getSparkOrBuilder()
public Task.SparkTaskConfigOrBuilder getSparkOrBuilder()
Config related to running custom Spark tasks.
.google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
Type | Description |
Task.SparkTaskConfigOrBuilder |
getState()
public State getState()
Output only. Current state of the task.
.google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
State | The state. |
getStateValue()
public int getStateValue()
Output only. Current state of the task.
.google.cloud.dataplex.v1.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
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];
Type | Description |
Task.TriggerSpec | The triggerSpec. |
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];
Type | Description |
Task.TriggerSpec.Builder |
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];
Type | Description |
Task.TriggerSpecOrBuilder |
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];
Type | Description |
String | The uid. |
getUidBytes()
public 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];
Type | Description |
ByteString | The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time when the task was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public 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];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the task was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
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];
Type | Description |
boolean | Whether the createTime field is set. |
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];
Type | Description |
boolean | Whether the executionSpec field is set. |
hasSpark()
public boolean hasSpark()
Config related to running custom Spark tasks.
.google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
Type | Description |
boolean | Whether the spark field is set. |
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];
Type | Description |
boolean | Whether the triggerSpec field is set. |
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Task.Builder mergeCreateTime(Timestamp value)
Output only. The time when the task was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Task.Builder |
mergeExecutionSpec(Task.ExecutionSpec value)
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];
Name | Description |
value | Task.ExecutionSpec |
Type | Description |
Task.Builder |
mergeFrom(Task other)
public Task.Builder mergeFrom(Task other)
Name | Description |
other | Task |
Type | Description |
Task.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Task.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Task.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Task.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Task.Builder |
mergeSpark(Task.SparkTaskConfig value)
public Task.Builder mergeSpark(Task.SparkTaskConfig value)
Config related to running custom Spark tasks.
.google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
Name | Description |
value | Task.SparkTaskConfig |
Type | Description |
Task.Builder |
mergeTriggerSpec(Task.TriggerSpec value)
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];
Name | Description |
value | Task.TriggerSpec |
Type | Description |
Task.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Task.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Task.Builder |
mergeUpdateTime(Timestamp value)
public Task.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the task was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Task.Builder |
putAllLabels(Map<String,String> values)
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];
Name | Description |
values | Map<String,String> |
Type | Description |
Task.Builder |
putLabels(String key, String value)
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];
Name | Description |
key | String |
value | String |
Type | Description |
Task.Builder |
removeLabels(String key)
public Task.Builder removeLabels(String key)
Optional. User-defined labels for the task.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
Task.Builder |
setCreateTime(Timestamp value)
public Task.Builder setCreateTime(Timestamp value)
Output only. The time when the task was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Task.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Task.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time when the task was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Task.Builder |
setDescription(String value)
public Task.Builder setDescription(String value)
Optional. Description of the task.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The description to set. |
Type | Description |
Task.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Task.Builder setDescriptionBytes(ByteString value)
Optional. Description of the task.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Task.Builder | This builder for chaining. |
setDisplayName(String value)
public Task.Builder setDisplayName(String value)
Optional. User friendly display name.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The displayName to set. |
Type | Description |
Task.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Task.Builder setDisplayNameBytes(ByteString value)
Optional. User friendly display name.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Task.Builder | This builder for chaining. |
setExecutionSpec(Task.ExecutionSpec value)
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];
Name | Description |
value | Task.ExecutionSpec |
Type | Description |
Task.Builder |
setExecutionSpec(Task.ExecutionSpec.Builder builderForValue)
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];
Name | Description |
builderForValue | Task.ExecutionSpec.Builder |
Type | Description |
Task.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Task.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Task.Builder |
setName(String value)
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) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
Task.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Task.Builder setNameBytes(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) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Task.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Task.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Task.Builder |
setSpark(Task.SparkTaskConfig value)
public Task.Builder setSpark(Task.SparkTaskConfig value)
Config related to running custom Spark tasks.
.google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
Name | Description |
value | Task.SparkTaskConfig |
Type | Description |
Task.Builder |
setSpark(Task.SparkTaskConfig.Builder builderForValue)
public Task.Builder setSpark(Task.SparkTaskConfig.Builder builderForValue)
Config related to running custom Spark tasks.
.google.cloud.dataplex.v1.Task.SparkTaskConfig spark = 300;
Name | Description |
builderForValue | Task.SparkTaskConfig.Builder |
Type | Description |
Task.Builder |
setState(State value)
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];
Name | Description |
value | State The state to set. |
Type | Description |
Task.Builder | This builder for chaining. |
setStateValue(int value)
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];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Task.Builder | This builder for chaining. |
setTriggerSpec(Task.TriggerSpec value)
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];
Name | Description |
value | Task.TriggerSpec |
Type | Description |
Task.Builder |
setTriggerSpec(Task.TriggerSpec.Builder builderForValue)
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];
Name | Description |
builderForValue | Task.TriggerSpec.Builder |
Type | Description |
Task.Builder |
setUid(String value)
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];
Name | Description |
value | String The uid to set. |
Type | Description |
Task.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public Task.Builder setUidBytes(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];
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
Task.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Task.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Task.Builder |
setUpdateTime(Timestamp value)
public Task.Builder setUpdateTime(Timestamp value)
Output only. The time when the task was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Task.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Task.Builder setUpdateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
Task.Builder |