Class WorkflowTriggerConfig.Builder (0.98.0)

public static final class WorkflowTriggerConfig.Builder extends GeneratedMessage.Builder<WorkflowTriggerConfig.Builder> implements WorkflowTriggerConfigOrBuilder

Represents a trigger configuration for a workflow.

Protobuf type google.cloud.dataform.v1beta1.WorkflowTriggerConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRecentTriggerEvaluationRecords(Iterable<? extends TriggerEvaluationRecord> values)

public WorkflowTriggerConfig.Builder addAllRecentTriggerEvaluationRecords(Iterable<? extends TriggerEvaluationRecord> values)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1beta1.TriggerEvaluationRecord>
Returns
Type Description
WorkflowTriggerConfig.Builder

addAllWorkflowTriggers(Iterable<? extends WorkflowTrigger> values)

public WorkflowTriggerConfig.Builder addAllWorkflowTriggers(Iterable<? extends WorkflowTrigger> values)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1beta1.WorkflowTrigger>
Returns
Type Description
WorkflowTriggerConfig.Builder

addRecentTriggerEvaluationRecords(TriggerEvaluationRecord value)

public WorkflowTriggerConfig.Builder addRecentTriggerEvaluationRecords(TriggerEvaluationRecord value)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value TriggerEvaluationRecord
Returns
Type Description
WorkflowTriggerConfig.Builder

addRecentTriggerEvaluationRecords(TriggerEvaluationRecord.Builder builderForValue)

public WorkflowTriggerConfig.Builder addRecentTriggerEvaluationRecords(TriggerEvaluationRecord.Builder builderForValue)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue TriggerEvaluationRecord.Builder
Returns
Type Description
WorkflowTriggerConfig.Builder

addRecentTriggerEvaluationRecords(int index, TriggerEvaluationRecord value)

public WorkflowTriggerConfig.Builder addRecentTriggerEvaluationRecords(int index, TriggerEvaluationRecord value)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value TriggerEvaluationRecord
Returns
Type Description
WorkflowTriggerConfig.Builder

addRecentTriggerEvaluationRecords(int index, TriggerEvaluationRecord.Builder builderForValue)

public WorkflowTriggerConfig.Builder addRecentTriggerEvaluationRecords(int index, TriggerEvaluationRecord.Builder builderForValue)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue TriggerEvaluationRecord.Builder
Returns
Type Description
WorkflowTriggerConfig.Builder

addRecentTriggerEvaluationRecordsBuilder()

public TriggerEvaluationRecord.Builder addRecentTriggerEvaluationRecordsBuilder()

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TriggerEvaluationRecord.Builder

addRecentTriggerEvaluationRecordsBuilder(int index)

public TriggerEvaluationRecord.Builder addRecentTriggerEvaluationRecordsBuilder(int index)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TriggerEvaluationRecord.Builder

addWorkflowTriggers(WorkflowTrigger value)

public WorkflowTriggerConfig.Builder addWorkflowTriggers(WorkflowTrigger value)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value WorkflowTrigger
Returns
Type Description
WorkflowTriggerConfig.Builder

addWorkflowTriggers(WorkflowTrigger.Builder builderForValue)

public WorkflowTriggerConfig.Builder addWorkflowTriggers(WorkflowTrigger.Builder builderForValue)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue WorkflowTrigger.Builder
Returns
Type Description
WorkflowTriggerConfig.Builder

addWorkflowTriggers(int index, WorkflowTrigger value)

public WorkflowTriggerConfig.Builder addWorkflowTriggers(int index, WorkflowTrigger value)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value WorkflowTrigger
Returns
Type Description
WorkflowTriggerConfig.Builder

addWorkflowTriggers(int index, WorkflowTrigger.Builder builderForValue)

public WorkflowTriggerConfig.Builder addWorkflowTriggers(int index, WorkflowTrigger.Builder builderForValue)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue WorkflowTrigger.Builder
Returns
Type Description
WorkflowTriggerConfig.Builder

addWorkflowTriggersBuilder()

public WorkflowTrigger.Builder addWorkflowTriggersBuilder()

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkflowTrigger.Builder

addWorkflowTriggersBuilder(int index)

public WorkflowTrigger.Builder addWorkflowTriggersBuilder(int index)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
WorkflowTrigger.Builder

build()

public WorkflowTriggerConfig build()
Returns
Type Description
WorkflowTriggerConfig

buildPartial()

public WorkflowTriggerConfig buildPartial()
Returns
Type Description
WorkflowTriggerConfig

clear()

public WorkflowTriggerConfig.Builder clear()
Returns
Type Description
WorkflowTriggerConfig.Builder
Overrides

clearCondition()

public WorkflowTriggerConfig.Builder clearCondition()

Optional. The condition to use when triggering the workflow.

.google.cloud.dataform.v1beta1.WorkflowTriggerConfig.Condition condition = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkflowTriggerConfig.Builder

This builder for chaining.

clearLastSuccessfulEvaluationTime()

public WorkflowTriggerConfig.Builder clearLastSuccessfulEvaluationTime()

Output only. The timestamp of the last successful trigger evaluation.

.google.protobuf.Timestamp last_successful_evaluation_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowTriggerConfig.Builder

clearMaxWaitDuration()

public WorkflowTriggerConfig.Builder clearMaxWaitDuration()

Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.

.google.protobuf.Duration max_wait_duration = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkflowTriggerConfig.Builder

clearMinExecutionDuration()

public WorkflowTriggerConfig.Builder clearMinExecutionDuration()

Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.

.google.protobuf.Duration min_execution_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkflowTriggerConfig.Builder

clearRecentTriggerEvaluationRecords()

public WorkflowTriggerConfig.Builder clearRecentTriggerEvaluationRecords()

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowTriggerConfig.Builder

clearWorkflowTriggers()

public WorkflowTriggerConfig.Builder clearWorkflowTriggers()

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkflowTriggerConfig.Builder

getCondition()

public WorkflowTriggerConfig.Condition getCondition()

Optional. The condition to use when triggering the workflow.

.google.cloud.dataform.v1beta1.WorkflowTriggerConfig.Condition condition = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkflowTriggerConfig.Condition

The condition.

getConditionValue()

public int getConditionValue()

Optional. The condition to use when triggering the workflow.

.google.cloud.dataform.v1beta1.WorkflowTriggerConfig.Condition condition = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for condition.

getDefaultInstanceForType()

public WorkflowTriggerConfig getDefaultInstanceForType()
Returns
Type Description
WorkflowTriggerConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLastSuccessfulEvaluationTime()

public Timestamp getLastSuccessfulEvaluationTime()

Output only. The timestamp of the last successful trigger evaluation.

.google.protobuf.Timestamp last_successful_evaluation_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastSuccessfulEvaluationTime.

getLastSuccessfulEvaluationTimeBuilder()

public Timestamp.Builder getLastSuccessfulEvaluationTimeBuilder()

Output only. The timestamp of the last successful trigger evaluation.

.google.protobuf.Timestamp last_successful_evaluation_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getLastSuccessfulEvaluationTimeOrBuilder()

public TimestampOrBuilder getLastSuccessfulEvaluationTimeOrBuilder()

Output only. The timestamp of the last successful trigger evaluation.

.google.protobuf.Timestamp last_successful_evaluation_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getMaxWaitDuration()

public Duration getMaxWaitDuration()

Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.

.google.protobuf.Duration max_wait_duration = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The maxWaitDuration.

getMaxWaitDurationBuilder()

public Duration.Builder getMaxWaitDurationBuilder()

Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.

.google.protobuf.Duration max_wait_duration = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getMaxWaitDurationOrBuilder()

public DurationOrBuilder getMaxWaitDurationOrBuilder()

Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.

.google.protobuf.Duration max_wait_duration = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getMinExecutionDuration()

public Duration getMinExecutionDuration()

Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.

.google.protobuf.Duration min_execution_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The minExecutionDuration.

getMinExecutionDurationBuilder()

public Duration.Builder getMinExecutionDurationBuilder()

Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.

.google.protobuf.Duration min_execution_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getMinExecutionDurationOrBuilder()

public DurationOrBuilder getMinExecutionDurationOrBuilder()

Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.

.google.protobuf.Duration min_execution_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getRecentTriggerEvaluationRecords(int index)

public TriggerEvaluationRecord getRecentTriggerEvaluationRecords(int index)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TriggerEvaluationRecord

getRecentTriggerEvaluationRecordsBuilder(int index)

public TriggerEvaluationRecord.Builder getRecentTriggerEvaluationRecordsBuilder(int index)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TriggerEvaluationRecord.Builder

getRecentTriggerEvaluationRecordsBuilderList()

public List<TriggerEvaluationRecord.Builder> getRecentTriggerEvaluationRecordsBuilderList()

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getRecentTriggerEvaluationRecordsCount()

public int getRecentTriggerEvaluationRecordsCount()

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getRecentTriggerEvaluationRecordsList()

public List<TriggerEvaluationRecord> getRecentTriggerEvaluationRecordsList()

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<TriggerEvaluationRecord>

getRecentTriggerEvaluationRecordsOrBuilder(int index)

public TriggerEvaluationRecordOrBuilder getRecentTriggerEvaluationRecordsOrBuilder(int index)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TriggerEvaluationRecordOrBuilder

getRecentTriggerEvaluationRecordsOrBuilderList()

public List<? extends TriggerEvaluationRecordOrBuilder> getRecentTriggerEvaluationRecordsOrBuilderList()

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.TriggerEvaluationRecordOrBuilder>

getWorkflowTriggers(int index)

public WorkflowTrigger getWorkflowTriggers(int index)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
WorkflowTrigger

getWorkflowTriggersBuilder(int index)

public WorkflowTrigger.Builder getWorkflowTriggersBuilder(int index)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
WorkflowTrigger.Builder

getWorkflowTriggersBuilderList()

public List<WorkflowTrigger.Builder> getWorkflowTriggersBuilderList()

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getWorkflowTriggersCount()

public int getWorkflowTriggersCount()

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getWorkflowTriggersList()

public List<WorkflowTrigger> getWorkflowTriggersList()

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<WorkflowTrigger>

getWorkflowTriggersOrBuilder(int index)

public WorkflowTriggerOrBuilder getWorkflowTriggersOrBuilder(int index)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
WorkflowTriggerOrBuilder

getWorkflowTriggersOrBuilderList()

public List<? extends WorkflowTriggerOrBuilder> getWorkflowTriggersOrBuilderList()

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.WorkflowTriggerOrBuilder>

hasLastSuccessfulEvaluationTime()

public boolean hasLastSuccessfulEvaluationTime()

Output only. The timestamp of the last successful trigger evaluation.

.google.protobuf.Timestamp last_successful_evaluation_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastSuccessfulEvaluationTime field is set.

hasMaxWaitDuration()

public boolean hasMaxWaitDuration()

Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.

.google.protobuf.Duration max_wait_duration = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the maxWaitDuration field is set.

hasMinExecutionDuration()

public boolean hasMinExecutionDuration()

Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.

.google.protobuf.Duration min_execution_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the minExecutionDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkflowTriggerConfig other)

public WorkflowTriggerConfig.Builder mergeFrom(WorkflowTriggerConfig other)
Parameter
Name Description
other WorkflowTriggerConfig
Returns
Type Description
WorkflowTriggerConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkflowTriggerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkflowTriggerConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WorkflowTriggerConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WorkflowTriggerConfig.Builder
Overrides

mergeLastSuccessfulEvaluationTime(Timestamp value)

public WorkflowTriggerConfig.Builder mergeLastSuccessfulEvaluationTime(Timestamp value)

Output only. The timestamp of the last successful trigger evaluation.

.google.protobuf.Timestamp last_successful_evaluation_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
WorkflowTriggerConfig.Builder

mergeMaxWaitDuration(Duration value)

public WorkflowTriggerConfig.Builder mergeMaxWaitDuration(Duration value)

Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.

.google.protobuf.Duration max_wait_duration = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
WorkflowTriggerConfig.Builder

mergeMinExecutionDuration(Duration value)

public WorkflowTriggerConfig.Builder mergeMinExecutionDuration(Duration value)

Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.

.google.protobuf.Duration min_execution_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
WorkflowTriggerConfig.Builder

removeRecentTriggerEvaluationRecords(int index)

public WorkflowTriggerConfig.Builder removeRecentTriggerEvaluationRecords(int index)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WorkflowTriggerConfig.Builder

removeWorkflowTriggers(int index)

public WorkflowTriggerConfig.Builder removeWorkflowTriggers(int index)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
WorkflowTriggerConfig.Builder

setCondition(WorkflowTriggerConfig.Condition value)

public WorkflowTriggerConfig.Builder setCondition(WorkflowTriggerConfig.Condition value)

Optional. The condition to use when triggering the workflow.

.google.cloud.dataform.v1beta1.WorkflowTriggerConfig.Condition condition = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value WorkflowTriggerConfig.Condition

The condition to set.

Returns
Type Description
WorkflowTriggerConfig.Builder

This builder for chaining.

setConditionValue(int value)

public WorkflowTriggerConfig.Builder setConditionValue(int value)

Optional. The condition to use when triggering the workflow.

.google.cloud.dataform.v1beta1.WorkflowTriggerConfig.Condition condition = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for condition to set.

Returns
Type Description
WorkflowTriggerConfig.Builder

This builder for chaining.

setLastSuccessfulEvaluationTime(Timestamp value)

public WorkflowTriggerConfig.Builder setLastSuccessfulEvaluationTime(Timestamp value)

Output only. The timestamp of the last successful trigger evaluation.

.google.protobuf.Timestamp last_successful_evaluation_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
WorkflowTriggerConfig.Builder

setLastSuccessfulEvaluationTime(Timestamp.Builder builderForValue)

public WorkflowTriggerConfig.Builder setLastSuccessfulEvaluationTime(Timestamp.Builder builderForValue)

Output only. The timestamp of the last successful trigger evaluation.

.google.protobuf.Timestamp last_successful_evaluation_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WorkflowTriggerConfig.Builder

setMaxWaitDuration(Duration value)

public WorkflowTriggerConfig.Builder setMaxWaitDuration(Duration value)

Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.

.google.protobuf.Duration max_wait_duration = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
WorkflowTriggerConfig.Builder

setMaxWaitDuration(Duration.Builder builderForValue)

public WorkflowTriggerConfig.Builder setMaxWaitDuration(Duration.Builder builderForValue)

Optional. The effective maximum wait time duration for the trigger condition to be met. If not specified, the workflow won't be triggered until conditions are met.

.google.protobuf.Duration max_wait_duration = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WorkflowTriggerConfig.Builder

setMinExecutionDuration(Duration value)

public WorkflowTriggerConfig.Builder setMinExecutionDuration(Duration value)

Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.

.google.protobuf.Duration min_execution_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
WorkflowTriggerConfig.Builder

setMinExecutionDuration(Duration.Builder builderForValue)

public WorkflowTriggerConfig.Builder setMinExecutionDuration(Duration.Builder builderForValue)

Optional. Minimum duration between two consecutive executions. If not specified, the workflow will be executed every time trigger conditions are met and there is no ongoing workflow execution.

.google.protobuf.Duration min_execution_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WorkflowTriggerConfig.Builder

setRecentTriggerEvaluationRecords(int index, TriggerEvaluationRecord value)

public WorkflowTriggerConfig.Builder setRecentTriggerEvaluationRecords(int index, TriggerEvaluationRecord value)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value TriggerEvaluationRecord
Returns
Type Description
WorkflowTriggerConfig.Builder

setRecentTriggerEvaluationRecords(int index, TriggerEvaluationRecord.Builder builderForValue)

public WorkflowTriggerConfig.Builder setRecentTriggerEvaluationRecords(int index, TriggerEvaluationRecord.Builder builderForValue)

Output only. Records of the 10 most recent trigger evaluations, ordered in descending order of evaluation_time. Updated whenever the service evaluates the trigger conditions (via polling or upon receiving a push event).

repeated .google.cloud.dataform.v1beta1.TriggerEvaluationRecord recent_trigger_evaluation_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue TriggerEvaluationRecord.Builder
Returns
Type Description
WorkflowTriggerConfig.Builder

setWorkflowTriggers(int index, WorkflowTrigger value)

public WorkflowTriggerConfig.Builder setWorkflowTriggers(int index, WorkflowTrigger value)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value WorkflowTrigger
Returns
Type Description
WorkflowTriggerConfig.Builder

setWorkflowTriggers(int index, WorkflowTrigger.Builder builderForValue)

public WorkflowTriggerConfig.Builder setWorkflowTriggers(int index, WorkflowTrigger.Builder builderForValue)

Required. The trigger definitions to invoke a workflow.

repeated .google.cloud.dataform.v1beta1.WorkflowTrigger workflow_triggers = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue WorkflowTrigger.Builder
Returns
Type Description
WorkflowTriggerConfig.Builder