Class FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder (3.50.0)

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.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeaturestoreMonitoringConfig.SnapshotAnalysis build()
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis

buildPartial()

public FeaturestoreMonitoringConfig.SnapshotAnalysis buildPartial()
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis

clear()

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clear()
Returns
Type Description
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
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

clearMonitoringInterval() (deprecated)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clearMonitoringInterval()

Configuration of the snapshot analysis based monitoring pipeline running interval. The value is rolled up to full day. If both monitoring_interval_days and the deprecated monitoring_interval field are set when creating/updating EntityTypes/Features, monitoring_interval_days will be used.

.google.protobuf.Duration monitoring_interval = 2 [deprecated = true];

Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

clearMonitoringIntervalDays()

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clearMonitoringIntervalDays()

Configuration of the snapshot analysis based monitoring pipeline running interval. The value indicates number of days.

int32 monitoring_interval_days = 3;

Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

clone()

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clone()
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

getDefaultInstanceForType()

public FeaturestoreMonitoringConfig.SnapshotAnalysis getDefaultInstanceForType()
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
boolean

The disabled.

getMonitoringInterval() (deprecated)

public Duration getMonitoringInterval()

Deprecated. google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval is deprecated. See google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto;l=56

Configuration of the snapshot analysis based monitoring pipeline running interval. The value is rolled up to full day. If both monitoring_interval_days and the deprecated monitoring_interval field are set when creating/updating EntityTypes/Features, monitoring_interval_days will be used.

.google.protobuf.Duration monitoring_interval = 2 [deprecated = true];

Returns
Type Description
Duration

The monitoringInterval.

getMonitoringIntervalBuilder() (deprecated)

public Duration.Builder getMonitoringIntervalBuilder()

Configuration of the snapshot analysis based monitoring pipeline running interval. The value is rolled up to full day. If both monitoring_interval_days and the deprecated monitoring_interval field are set when creating/updating EntityTypes/Features, monitoring_interval_days will be used.

.google.protobuf.Duration monitoring_interval = 2 [deprecated = true];

Returns
Type Description
Builder

getMonitoringIntervalDays()

public int getMonitoringIntervalDays()

Configuration of the snapshot analysis based monitoring pipeline running interval. The value indicates number of days.

int32 monitoring_interval_days = 3;

Returns
Type Description
int

The monitoringIntervalDays.

getMonitoringIntervalOrBuilder() (deprecated)

public DurationOrBuilder getMonitoringIntervalOrBuilder()

Configuration of the snapshot analysis based monitoring pipeline running interval. The value is rolled up to full day. If both monitoring_interval_days and the deprecated monitoring_interval field are set when creating/updating EntityTypes/Features, monitoring_interval_days will be used.

.google.protobuf.Duration monitoring_interval = 2 [deprecated = true];

Returns
Type Description
DurationOrBuilder

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
Type Description
int

The stalenessDays.

hasMonitoringInterval() (deprecated)

public boolean hasMonitoringInterval()

Deprecated. google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval is deprecated. See google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto;l=56

Configuration of the snapshot analysis based monitoring pipeline running interval. The value is rolled up to full day. If both monitoring_interval_days and the deprecated monitoring_interval field are set when creating/updating EntityTypes/Features, monitoring_interval_days will be used.

.google.protobuf.Duration monitoring_interval = 2 [deprecated = true];

Returns
Type Description
boolean

Whether the monitoringInterval field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeaturestoreMonitoringConfig.SnapshotAnalysis other)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder mergeFrom(FeaturestoreMonitoringConfig.SnapshotAnalysis other)
Parameter
Name Description
other FeaturestoreMonitoringConfig.SnapshotAnalysis
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides

mergeMonitoringInterval(Duration value) (deprecated)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder mergeMonitoringInterval(Duration value)

Configuration of the snapshot analysis based monitoring pipeline running interval. The value is rolled up to full day. If both monitoring_interval_days and the deprecated monitoring_interval field are set when creating/updating EntityTypes/Features, monitoring_interval_days will be used.

.google.protobuf.Duration monitoring_interval = 2 [deprecated = true];

Parameter
Name Description
value Duration
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value boolean

The disabled to set.

Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMonitoringInterval(Duration value) (deprecated)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setMonitoringInterval(Duration value)

Configuration of the snapshot analysis based monitoring pipeline running interval. The value is rolled up to full day. If both monitoring_interval_days and the deprecated monitoring_interval field are set when creating/updating EntityTypes/Features, monitoring_interval_days will be used.

.google.protobuf.Duration monitoring_interval = 2 [deprecated = true];

Parameter
Name Description
value Duration
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

setMonitoringInterval(Duration.Builder builderForValue) (deprecated)

public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setMonitoringInterval(Duration.Builder builderForValue)

Configuration of the snapshot analysis based monitoring pipeline running interval. The value is rolled up to full day. If both monitoring_interval_days and the deprecated monitoring_interval field are set when creating/updating EntityTypes/Features, monitoring_interval_days will be used.

.google.protobuf.Duration monitoring_interval = 2 [deprecated = true];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

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.

int32 monitoring_interval_days = 3;

Parameter
Name Description
value int

The monitoringIntervalDays to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value int

The stalenessDays to set.

Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
Overrides