Class FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder (3.4.2)

public static final class FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder extends GeneratedMessageV3.Builder<FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder> implements FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder

Configuration of the Featurestore's Snapshot Analysis Based Monitoring. This type of analysis generates statistics for each Feature based on a snapshot of the latest feature value of each entities every monitoring_interval.

Protobuf type google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeaturestoreMonitoringConfig.SnapshotAnalysis build()
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis

buildPartial()

public FeaturestoreMonitoringConfig.SnapshotAnalysis buildPartial()
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis

clear()

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clear()
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

clearDisabled()

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clearDisabled()

The monitoring schedule for snapshot analysis. For EntityType-level config: unset / disabled = true indicates disabled by default for Features under it; otherwise by default enable snapshot analysis monitoring with monitoring_interval for Features under it. Feature-level config: disabled = true indicates disabled regardless of the EntityType-level config; unset monitoring_interval indicates going with EntityType-level config; otherwise run snapshot analysis monitoring with monitoring_interval regardless of the EntityType-level config. Explicitly Disable the snapshot analysis based monitoring.

bool disabled = 1;

Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

clearMonitoringIntervalDays()

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clearMonitoringIntervalDays()

Configuration of the snapshot analysis based monitoring pipeline running interval. The value indicates number of days. If both FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][] are set when creating/updating EntityTypes/Features, FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days will be used.

int32 monitoring_interval_days = 3;

Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

clearStalenessDays()

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clearStalenessDays()

Customized export features time window for snapshot analysis. Unit is one day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is 4000 days.

int32 staleness_days = 4;

Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

clone()

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clone()
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

getDefaultInstanceForType()

public FeaturestoreMonitoringConfig.SnapshotAnalysis getDefaultInstanceForType()
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisabled()

public boolean getDisabled()

The monitoring schedule for snapshot analysis. For EntityType-level config: unset / disabled = true indicates disabled by default for Features under it; otherwise by default enable snapshot analysis monitoring with monitoring_interval for Features under it. Feature-level config: disabled = true indicates disabled regardless of the EntityType-level config; unset monitoring_interval indicates going with EntityType-level config; otherwise run snapshot analysis monitoring with monitoring_interval regardless of the EntityType-level config. Explicitly Disable the snapshot analysis based monitoring.

bool disabled = 1;

Returns
TypeDescription
boolean

The disabled.

getMonitoringIntervalDays()

public int getMonitoringIntervalDays()

Configuration of the snapshot analysis based monitoring pipeline running interval. The value indicates number of days. If both FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][] are set when creating/updating EntityTypes/Features, FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days will be used.

int32 monitoring_interval_days = 3;

Returns
TypeDescription
int

The monitoringIntervalDays.

getStalenessDays()

public int getStalenessDays()

Customized export features time window for snapshot analysis. Unit is one day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is 4000 days.

int32 staleness_days = 4;

Returns
TypeDescription
int

The stalenessDays.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeaturestoreMonitoringConfig.SnapshotAnalysis other)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder mergeFrom(FeaturestoreMonitoringConfig.SnapshotAnalysis other)
Parameter
NameDescription
otherFeaturestoreMonitoringConfig.SnapshotAnalysis
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

setDisabled(boolean value)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setDisabled(boolean value)

The monitoring schedule for snapshot analysis. For EntityType-level config: unset / disabled = true indicates disabled by default for Features under it; otherwise by default enable snapshot analysis monitoring with monitoring_interval for Features under it. Feature-level config: disabled = true indicates disabled regardless of the EntityType-level config; unset monitoring_interval indicates going with EntityType-level config; otherwise run snapshot analysis monitoring with monitoring_interval regardless of the EntityType-level config. Explicitly Disable the snapshot analysis based monitoring.

bool disabled = 1;

Parameter
NameDescription
valueboolean

The disabled to set.

Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

setMonitoringIntervalDays(int value)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setMonitoringIntervalDays(int value)

Configuration of the snapshot analysis based monitoring pipeline running interval. The value indicates number of days. If both FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][] are set when creating/updating EntityTypes/Features, FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days will be used.

int32 monitoring_interval_days = 3;

Parameter
NameDescription
valueint

The monitoringIntervalDays to set.

Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

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

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

setStalenessDays(int value)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setStalenessDays(int value)

Customized export features time window for snapshot analysis. Unit is one day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is 4000 days.

int32 staleness_days = 4;

Parameter
NameDescription
valueint

The stalenessDays to set.

Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides