public static final class Trigger.Schedule.Builder extends GeneratedMessageV3.Builder<Trigger.Schedule.Builder> implements Trigger.ScheduleOrBuilder
The scan is scheduled to run periodically.
Protobuf type google.cloud.dataplex.v1.Trigger.Schedule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Trigger.Schedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Trigger.Schedule build()
buildPartial()
public Trigger.Schedule buildPartial()
clear()
public Trigger.Schedule.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public Trigger.Schedule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Trigger.Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Trigger.Schedule.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Trigger.Schedule other)
public Trigger.Schedule.Builder mergeFrom(Trigger.Schedule other)
public Trigger.Schedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Trigger.Schedule.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Trigger.Schedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 | String
The cron to set.
|
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 | ByteString
The bytes for cron to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Trigger.Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Trigger.Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Trigger.Schedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides