Class FeatureView.SyncConfig.Builder (3.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureView.SyncConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureView.SyncConfig.Builder
Overrides

build()

public FeatureView.SyncConfig build()
Returns
TypeDescription
FeatureView.SyncConfig

buildPartial()

public FeatureView.SyncConfig buildPartial()
Returns
TypeDescription
FeatureView.SyncConfig

clear()

public FeatureView.SyncConfig.Builder clear()
Returns
TypeDescription
FeatureView.SyncConfig.Builder
Overrides

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FeatureView.SyncConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FeatureView.SyncConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureView.SyncConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FeatureView.SyncConfig.Builder
Overrides

clone()

public FeatureView.SyncConfig.Builder clone()
Returns
TypeDescription
FeatureView.SyncConfig.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
TypeDescription
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
TypeDescription
ByteString

The bytes for cron.

getDefaultInstanceForType()

public FeatureView.SyncConfig getDefaultInstanceForType()
Returns
TypeDescription
FeatureView.SyncConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeatureView.SyncConfig other)

public FeatureView.SyncConfig.Builder mergeFrom(FeatureView.SyncConfig other)
Parameter
NameDescription
otherFeatureView.SyncConfig
Returns
TypeDescription
FeatureView.SyncConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureView.SyncConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureView.SyncConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FeatureView.SyncConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeatureView.SyncConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.SyncConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureView.SyncConfig.Builder
Overrides

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
NameDescription
valueString

The cron to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for cron to set.

Returns
TypeDescription
FeatureView.SyncConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureView.SyncConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeatureView.SyncConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.SyncConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureView.SyncConfig.Builder
Overrides