public static final class Trigger.Schedule.Builder extends GeneratedMessage.Builder<Trigger.Schedule.Builder> implements Trigger.ScheduleOrBuilderThe scan is scheduled to run periodically.
Protobuf type google.cloud.dataplex.v1.Trigger.Schedule
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Trigger.Schedule.BuilderImplements
Trigger.ScheduleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Trigger.Schedule build()| Returns | |
|---|---|
| Type | Description |
Trigger.Schedule |
|
buildPartial()
public Trigger.Schedule buildPartial()| Returns | |
|---|---|
| Type | Description |
Trigger.Schedule |
|
clear()
public Trigger.Schedule.Builder clear()| Returns | |
|---|---|
| Type | Description |
Trigger.Schedule.Builder |
|
clearCron()
public Trigger.Schedule.Builder clearCron()Required. Cron schedule for running scans periodically.
To explicitly set a timezone in 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
(wikipedia).
For example, CRON_TZ=America/New_York 1 * * * *, or
TZ=America/New_York 1 * * * *.
This field is required for Schedule scans.
string cron = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Trigger.Schedule.Builder |
This builder for chaining. |
getCron()
public String getCron()Required. Cron schedule for running scans periodically.
To explicitly set a timezone in 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
(wikipedia).
For example, CRON_TZ=America/New_York 1 * * * *, or
TZ=America/New_York 1 * * * *.
This field is required for Schedule scans.
string cron = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The cron. |
getCronBytes()
public ByteString getCronBytes()Required. Cron schedule for running scans periodically.
To explicitly set a timezone in 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
(wikipedia).
For example, CRON_TZ=America/New_York 1 * * * *, or
TZ=America/New_York 1 * * * *.
This field is required for Schedule scans.
string cron = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cron. |
getDefaultInstanceForType()
public Trigger.Schedule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Trigger.Schedule |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Trigger.Schedule other)
public Trigger.Schedule.Builder mergeFrom(Trigger.Schedule other)| Parameter | |
|---|---|
| Name | Description |
other |
Trigger.Schedule |
| Returns | |
|---|---|
| Type | Description |
Trigger.Schedule.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Trigger.Schedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Trigger.Schedule.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Trigger.Schedule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Trigger.Schedule.Builder |
|
setCron(String value)
public Trigger.Schedule.Builder setCron(String value)Required. Cron schedule for running scans periodically.
To explicitly set a timezone in 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
(wikipedia).
For example, CRON_TZ=America/New_York 1 * * * *, or
TZ=America/New_York 1 * * * *.
This field is required for Schedule scans.
string cron = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cron to set. |
| Returns | |
|---|---|
| Type | Description |
Trigger.Schedule.Builder |
This builder for chaining. |
setCronBytes(ByteString value)
public Trigger.Schedule.Builder setCronBytes(ByteString value)Required. Cron schedule for running scans periodically.
To explicitly set a timezone in 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
(wikipedia).
For example, CRON_TZ=America/New_York 1 * * * *, or
TZ=America/New_York 1 * * * *.
This field is required for Schedule scans.
string cron = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cron to set. |
| Returns | |
|---|---|
| Type | Description |
Trigger.Schedule.Builder |
This builder for chaining. |