Class FeatureView.SyncConfig.Builder (3.88.0)

public static final class FeatureView.SyncConfig.Builder extends GeneratedMessage.Builder<FeatureView.SyncConfig.Builder> implements FeatureView.SyncConfigOrBuilder

Configuration for Sync. Only one option is set.

Protobuf type google.cloud.aiplatform.v1.FeatureView.SyncConfig

Static Methods

getDescriptor()

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

Methods

build()

public FeatureView.SyncConfig build()
Returns
Type Description
FeatureView.SyncConfig

buildPartial()

public FeatureView.SyncConfig buildPartial()
Returns
Type Description
FeatureView.SyncConfig

clear()

public FeatureView.SyncConfig.Builder clear()
Returns
Type Description
FeatureView.SyncConfig.Builder
Overrides

clearContinuous()

public FeatureView.SyncConfig.Builder clearContinuous()

Optional. If true, syncs the FeatureView in a continuous manner to Online Store.

bool continuous = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureView.SyncConfig.Builder

This builder for chaining.

clearCron()

public FeatureView.SyncConfig.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
FeatureView.SyncConfig.Builder

This builder for chaining.

getContinuous()

public boolean getContinuous()

Optional. If true, syncs the FeatureView in a continuous manner to Online Store.

bool continuous = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The continuous.

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 FeatureView.SyncConfig getDefaultInstanceForType()
Returns
Type Description
FeatureView.SyncConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureView.SyncConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setContinuous(boolean value)

public FeatureView.SyncConfig.Builder setContinuous(boolean value)

Optional. If true, syncs the FeatureView in a continuous manner to Online Store.

bool continuous = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The continuous to set.

Returns
Type Description
FeatureView.SyncConfig.Builder

This builder for chaining.

setCron(String value)

public FeatureView.SyncConfig.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
FeatureView.SyncConfig.Builder

This builder for chaining.

setCronBytes(ByteString value)

public FeatureView.SyncConfig.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
FeatureView.SyncConfig.Builder

This builder for chaining.