Class ScheduleConfig.Builder (3.55.0)

public static final class ScheduleConfig.Builder extends GeneratedMessageV3.Builder<ScheduleConfig.Builder> implements ScheduleConfigOrBuilder

Schedule configuration for the FeatureMonitor.

Protobuf type google.cloud.aiplatform.v1beta1.ScheduleConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScheduleConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScheduleConfig.Builder
Overrides

build()

public ScheduleConfig build()
Returns
Type Description
ScheduleConfig

buildPartial()

public ScheduleConfig buildPartial()
Returns
Type Description
ScheduleConfig

clear()

public ScheduleConfig.Builder clear()
Returns
Type Description
ScheduleConfig.Builder
Overrides

clearCron()

public ScheduleConfig.Builder clearCron()

Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. 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 * * * *".

string cron = 1;

Returns
Type Description
ScheduleConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ScheduleConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ScheduleConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ScheduleConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ScheduleConfig.Builder
Overrides

clone()

public ScheduleConfig.Builder clone()
Returns
Type Description
ScheduleConfig.Builder
Overrides

getCron()

public String getCron()

Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. 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 * * * *".

string cron = 1;

Returns
Type Description
String

The cron.

getCronBytes()

public ByteString getCronBytes()

Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. 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 * * * *".

string cron = 1;

Returns
Type Description
ByteString

The bytes for cron.

getDefaultInstanceForType()

public ScheduleConfig getDefaultInstanceForType()
Returns
Type Description
ScheduleConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ScheduleConfig other)

public ScheduleConfig.Builder mergeFrom(ScheduleConfig other)
Parameter
Name Description
other ScheduleConfig
Returns
Type Description
ScheduleConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScheduleConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScheduleConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ScheduleConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ScheduleConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScheduleConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScheduleConfig.Builder
Overrides

setCron(String value)

public ScheduleConfig.Builder setCron(String value)

Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. 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 * * * *".

string cron = 1;

Parameter
Name Description
value String

The cron to set.

Returns
Type Description
ScheduleConfig.Builder

This builder for chaining.

setCronBytes(ByteString value)

public ScheduleConfig.Builder setCronBytes(ByteString value)

Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. 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 * * * *".

string cron = 1;

Parameter
Name Description
value ByteString

The bytes for cron to set.

Returns
Type Description
ScheduleConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ScheduleConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScheduleConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ScheduleConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ScheduleConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ScheduleConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScheduleConfig.Builder
Overrides