Send feedback
Class Task.TriggerSpec (0.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.15.0 keyboard_arrow_down
public static final class Task . TriggerSpec extends GeneratedMessageV3 implements Task . TriggerSpecOrBuilder
Task scheduling and trigger settings.
Protobuf type google.events.cloud.dataplex.v1.Task.TriggerSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER
Field Value
Type
Description
int
MAX_RETRIES_FIELD_NUMBER
public static final int MAX_RETRIES_FIELD_NUMBER
Field Value
Type
Description
int
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER
Field Value
Type
Description
int
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
Type
Description
int
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Task . TriggerSpec getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Task . TriggerSpec . Builder newBuilder ()
newBuilder(Task.TriggerSpec prototype)
public static Task . TriggerSpec . Builder newBuilder ( Task . TriggerSpec prototype )
public static Task . TriggerSpec parseDelimitedFrom ( InputStream input )
public static Task . TriggerSpec parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Task . TriggerSpec parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Task . TriggerSpec parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Task . TriggerSpec parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Task . TriggerSpec parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Task . TriggerSpec parseFrom ( CodedInputStream input )
public static Task . TriggerSpec parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Task . TriggerSpec parseFrom ( InputStream input )
public static Task . TriggerSpec parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Task . TriggerSpec parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Task . TriggerSpec parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Task . TriggerSpec> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Task . TriggerSpec getDefaultInstanceForType ()
getDisabled()
public boolean getDisabled ()
Optional. Prevent the task from executing.
This does not cancel already running tasks. It is intended to temporarily
disable RECURRING tasks.
bool disabled = 4;
Returns
Type
Description
boolean
The disabled.
getMaxRetries()
public int getMaxRetries ()
Optional. Number of retry attempts before aborting.
Set to zero to never attempt to retry a failed task.
int32 max_retries = 7;
Returns
Type
Description
int
The maxRetries.
getParserForType()
public Parser<Task . TriggerSpec> getParserForType ()
Overrides
getSchedule()
public String getSchedule ()
Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron ) for
running tasks periodically. To explicitly set a timezone to the cron
tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or
"TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid
string from IANA time zone database. For example,
CRON_TZ=America/New_York 1 * * * *
, or TZ=America/New_York 1 * * *
*
. This field is required for RECURRING tasks.
string schedule = 100;
Returns
Type
Description
String
The schedule.
getScheduleBytes()
public ByteString getScheduleBytes ()
Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron ) for
running tasks periodically. To explicitly set a timezone to the cron
tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or
"TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid
string from IANA time zone database. For example,
CRON_TZ=America/New_York 1 * * * *
, or TZ=America/New_York 1 * * *
*
. This field is required for RECURRING tasks.
string schedule = 100;
Returns
Type
Description
ByteString
The bytes for schedule.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getStartTime()
public Timestamp getStartTime ()
Optional. The first run of the task will be after this time.
If not specified, the task will run shortly after being submitted if
ON_DEMAND and based on the schedule if RECURRING.
.google.protobuf.Timestamp start_time = 6;
Returns
Type
Description
Timestamp
The startTime.
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder ()
Optional. The first run of the task will be after this time.
If not specified, the task will run shortly after being submitted if
ON_DEMAND and based on the schedule if RECURRING.
.google.protobuf.Timestamp start_time = 6;
getTriggerCase()
public Task . TriggerSpec . TriggerCase getTriggerCase ()
getType()
public Task . TriggerSpec . Type getType ()
Required. Immutable. Trigger type of the user-specified Task.
.google.events.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5;
getTypeValue()
public int getTypeValue ()
Required. Immutable. Trigger type of the user-specified Task.
.google.events.cloud.dataplex.v1.Task.TriggerSpec.Type type = 5;
Returns
Type
Description
int
The enum numeric value on the wire for type.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasSchedule()
public boolean hasSchedule ()
Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron ) for
running tasks periodically. To explicitly set a timezone to the cron
tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or
"TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid
string from IANA time zone database. For example,
CRON_TZ=America/New_York 1 * * * *
, or TZ=America/New_York 1 * * *
*
. This field is required for RECURRING tasks.
string schedule = 100;
Returns
Type
Description
boolean
Whether the schedule field is set.
hasStartTime()
public boolean hasStartTime ()
Optional. The first run of the task will be after this time.
If not specified, the task will run shortly after being submitted if
ON_DEMAND and based on the schedule if RECURRING.
.google.protobuf.Timestamp start_time = 6;
Returns
Type
Description
boolean
Whether the startTime field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Task . TriggerSpec . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Task . TriggerSpec . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Task . TriggerSpec . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-27 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-27 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-27 UTC."]]