Class FeatureView.SyncConfig (3.55.0)

public static final class FeatureView.SyncConfig extends GeneratedMessageV3 implements FeatureView.SyncConfigOrBuilder

Configuration for Sync. Only one option is set.

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

Static Fields

CONTINUOUS_FIELD_NUMBER

public static final int CONTINUOUS_FIELD_NUMBER
Field Value
Type Description
int

CRON_FIELD_NUMBER

public static final int CRON_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FeatureView.SyncConfig getDefaultInstance()
Returns
Type Description
FeatureView.SyncConfig

getDescriptor()

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

newBuilder()

public static FeatureView.SyncConfig.Builder newBuilder()
Returns
Type Description
FeatureView.SyncConfig.Builder

newBuilder(FeatureView.SyncConfig prototype)

public static FeatureView.SyncConfig.Builder newBuilder(FeatureView.SyncConfig prototype)
Parameter
Name Description
prototype FeatureView.SyncConfig
Returns
Type Description
FeatureView.SyncConfig.Builder

parseDelimitedFrom(InputStream input)

public static FeatureView.SyncConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.SyncConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FeatureView.SyncConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.SyncConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeatureView.SyncConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.SyncConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeatureView.SyncConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.SyncConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FeatureView.SyncConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.SyncConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FeatureView.SyncConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.SyncConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.SyncConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FeatureView.SyncConfig> parser()
Returns
Type Description
Parser<SyncConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<FeatureView.SyncConfig> getParserForType()
Returns
Type Description
Parser<SyncConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FeatureView.SyncConfig.Builder newBuilderForType()
Returns
Type Description
FeatureView.SyncConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeatureView.SyncConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FeatureView.SyncConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FeatureView.SyncConfig.Builder toBuilder()
Returns
Type Description
FeatureView.SyncConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException