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.events.cloud.dataplex.v1.Trigger.Schedule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Trigger.Schedule.BuilderImplements
Trigger.ScheduleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Trigger.Schedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Trigger.Schedule.Builder |
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;
Returns | |
---|---|
Type | Description |
Trigger.Schedule.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Trigger.Schedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Trigger.Schedule.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Trigger.Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Trigger.Schedule.Builder |
clone()
public Trigger.Schedule.Builder clone()
Returns | |
---|---|
Type | Description |
Trigger.Schedule.Builder |
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;
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;
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Trigger.Schedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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;
Parameter | |
---|---|
Name | Description |
value | String The 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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for cron to set. |
Returns | |
---|---|
Type | Description |
Trigger.Schedule.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Trigger.Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Trigger.Schedule.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Trigger.Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Trigger.Schedule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Trigger.Schedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Trigger.Schedule.Builder |