Interface WorkflowTriggerConfigOrBuilder (0.98.0)

public interface WorkflowTriggerConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCondition()

public abstract 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 abstract 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.

getLastSuccessfulEvaluationTime()

public abstract 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.

getLastSuccessfulEvaluationTimeOrBuilder()

public abstract 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 abstract 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.

getMaxWaitDurationOrBuilder()

public abstract 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 abstract 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.

getMinExecutionDurationOrBuilder()

public abstract 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 abstract 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

getRecentTriggerEvaluationRecordsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getWorkflowTriggersCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.