Class FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder (3.17.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
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

clearMonitoringInterval()

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

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
TypeDescription
Duration

The monitoringInterval.

getMonitoringIntervalBuilder()

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
TypeDescription
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
TypeDescription
int

The monitoringIntervalDays.

getMonitoringIntervalOrBuilder()

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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the monitoringInterval field is set.

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

mergeMonitoringInterval(Duration value)

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
NameDescription
valueDuration
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

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

setMonitoringInterval(Duration value)

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
NameDescription
valueDuration
Returns
TypeDescription
FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

setMonitoringInterval(Duration.Builder builderForValue)

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