Class FeatureView.SyncConfig.Builder (3.56.0)

public static final class FeatureView.SyncConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.SyncConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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