public final class WorkflowTriggerConfig extends GeneratedMessage implements WorkflowTriggerConfigOrBuilder
Represents a trigger configuration for a workflow.
Protobuf type google.cloud.dataform.v1beta1.WorkflowTriggerConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int CONDITION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int LAST_SUCCESSFUL_EVALUATION_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MAX_WAIT_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MIN_EXECUTION_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int RECENT_TRIGGER_EVALUATION_RECORDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int WORKFLOW_TRIGGERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static WorkflowTriggerConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static WorkflowTriggerConfig.Builder newBuilder()
public static WorkflowTriggerConfig.Builder newBuilder(WorkflowTriggerConfig prototype)
public static WorkflowTriggerConfig parseDelimitedFrom(InputStream input)
public static WorkflowTriggerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkflowTriggerConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static WorkflowTriggerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WorkflowTriggerConfig parseFrom(ByteString data)
public static WorkflowTriggerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkflowTriggerConfig parseFrom(CodedInputStream input)
public static WorkflowTriggerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkflowTriggerConfig parseFrom(InputStream input)
public static WorkflowTriggerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkflowTriggerConfig parseFrom(ByteBuffer data)
public static WorkflowTriggerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<WorkflowTriggerConfig> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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];
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.
|
public WorkflowTriggerConfig getDefaultInstanceForType()
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.
|
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];
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.
|
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];
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.
|
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];
public Parser<WorkflowTriggerConfig> getParserForType()
Overrides
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
|
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 |
|
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];
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
|
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> |
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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
|
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 |
|
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];
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
|
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> |
|
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.
|
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.
|
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.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public WorkflowTriggerConfig.Builder newBuilderForType()
protected WorkflowTriggerConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public WorkflowTriggerConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides