Package com.google.cloud.aiplatform.v1
Class FeatureStatsAnomaly.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
- com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.Builder
-
- All Implemented Interfaces:
FeatureStatsAnomalyOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- FeatureStatsAnomaly
public static final class FeatureStatsAnomaly.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder> implements FeatureStatsAnomalyOrBuilder
Stats and Anomaly generated at specific timestamp for specific Feature. The start_time and end_time are used to define the time range of the dataset that current stats belongs to, e.g. prediction traffic is bucketed into prediction datasets by time window. If the Dataset is not defined by time window, start_time = end_time. Timestamp of the stats and anomalies always refers to end_time. Raw stats and anomalies are stored in stats_uri or anomaly_uri in the tensorflow defined protos. Field data_stats contains almost identical information with the raw stats in Vertex AI defined proto, for UI to display.
Protobuf typegoogle.cloud.aiplatform.v1.FeatureStatsAnomaly
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureStatsAnomaly.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FeatureStatsAnomaly
build()
FeatureStatsAnomaly
buildPartial()
FeatureStatsAnomaly.Builder
clear()
FeatureStatsAnomaly.Builder
clearAnomalyDetectionThreshold()
This is the threshold used when detecting anomalies.FeatureStatsAnomaly.Builder
clearAnomalyUri()
Path of the anomaly file for current feature values in Cloud Storage bucket.FeatureStatsAnomaly.Builder
clearDistributionDeviation()
Deviation from the current stats to baseline stats.FeatureStatsAnomaly.Builder
clearEndTime()
The end timestamp of window where stats were generated.FeatureStatsAnomaly.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FeatureStatsAnomaly.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FeatureStatsAnomaly.Builder
clearScore()
Feature importance score, only populated when cross-feature monitoring is enabled.FeatureStatsAnomaly.Builder
clearStartTime()
The start timestamp of window where stats were generated.FeatureStatsAnomaly.Builder
clearStatsUri()
Path of the stats file for current feature values in Cloud Storage bucket.FeatureStatsAnomaly.Builder
clone()
double
getAnomalyDetectionThreshold()
This is the threshold used when detecting anomalies.String
getAnomalyUri()
Path of the anomaly file for current feature values in Cloud Storage bucket.com.google.protobuf.ByteString
getAnomalyUriBytes()
Path of the anomaly file for current feature values in Cloud Storage bucket.FeatureStatsAnomaly
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getDistributionDeviation()
Deviation from the current stats to baseline stats.com.google.protobuf.Timestamp
getEndTime()
The end timestamp of window where stats were generated.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
The end timestamp of window where stats were generated.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
The end timestamp of window where stats were generated.double
getScore()
Feature importance score, only populated when cross-feature monitoring is enabled.com.google.protobuf.Timestamp
getStartTime()
The start timestamp of window where stats were generated.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
The start timestamp of window where stats were generated.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
The start timestamp of window where stats were generated.String
getStatsUri()
Path of the stats file for current feature values in Cloud Storage bucket.com.google.protobuf.ByteString
getStatsUriBytes()
Path of the stats file for current feature values in Cloud Storage bucket.boolean
hasEndTime()
The end timestamp of window where stats were generated.boolean
hasStartTime()
The start timestamp of window where stats were generated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
FeatureStatsAnomaly.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
The end timestamp of window where stats were generated.FeatureStatsAnomaly.Builder
mergeFrom(FeatureStatsAnomaly other)
FeatureStatsAnomaly.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FeatureStatsAnomaly.Builder
mergeFrom(com.google.protobuf.Message other)
FeatureStatsAnomaly.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
The start timestamp of window where stats were generated.FeatureStatsAnomaly.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FeatureStatsAnomaly.Builder
setAnomalyDetectionThreshold(double value)
This is the threshold used when detecting anomalies.FeatureStatsAnomaly.Builder
setAnomalyUri(String value)
Path of the anomaly file for current feature values in Cloud Storage bucket.FeatureStatsAnomaly.Builder
setAnomalyUriBytes(com.google.protobuf.ByteString value)
Path of the anomaly file for current feature values in Cloud Storage bucket.FeatureStatsAnomaly.Builder
setDistributionDeviation(double value)
Deviation from the current stats to baseline stats.FeatureStatsAnomaly.Builder
setEndTime(com.google.protobuf.Timestamp value)
The end timestamp of window where stats were generated.FeatureStatsAnomaly.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The end timestamp of window where stats were generated.FeatureStatsAnomaly.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FeatureStatsAnomaly.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
FeatureStatsAnomaly.Builder
setScore(double value)
Feature importance score, only populated when cross-feature monitoring is enabled.FeatureStatsAnomaly.Builder
setStartTime(com.google.protobuf.Timestamp value)
The start timestamp of window where stats were generated.FeatureStatsAnomaly.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The start timestamp of window where stats were generated.FeatureStatsAnomaly.Builder
setStatsUri(String value)
Path of the stats file for current feature values in Cloud Storage bucket.FeatureStatsAnomaly.Builder
setStatsUriBytes(com.google.protobuf.ByteString value)
Path of the stats file for current feature values in Cloud Storage bucket.FeatureStatsAnomaly.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
clear
public FeatureStatsAnomaly.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
getDefaultInstanceForType
public FeatureStatsAnomaly getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FeatureStatsAnomaly build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FeatureStatsAnomaly buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FeatureStatsAnomaly.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
setField
public FeatureStatsAnomaly.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
clearField
public FeatureStatsAnomaly.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
clearOneof
public FeatureStatsAnomaly.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
setRepeatedField
public FeatureStatsAnomaly.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
addRepeatedField
public FeatureStatsAnomaly.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
mergeFrom
public FeatureStatsAnomaly.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FeatureStatsAnomaly.Builder>
-
mergeFrom
public FeatureStatsAnomaly.Builder mergeFrom(FeatureStatsAnomaly other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
mergeFrom
public FeatureStatsAnomaly.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FeatureStatsAnomaly.Builder>
- Throws:
IOException
-
getScore
public double getScore()
Feature importance score, only populated when cross-feature monitoring is enabled. For now only used to represent feature attribution score within range [0, 1] for [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW] and [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT].
double score = 1;
- Specified by:
getScore
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- The score.
-
setScore
public FeatureStatsAnomaly.Builder setScore(double value)
Feature importance score, only populated when cross-feature monitoring is enabled. For now only used to represent feature attribution score within range [0, 1] for [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW] and [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT].
double score = 1;
- Parameters:
value
- The score to set.- Returns:
- This builder for chaining.
-
clearScore
public FeatureStatsAnomaly.Builder clearScore()
Feature importance score, only populated when cross-feature monitoring is enabled. For now only used to represent feature attribution score within range [0, 1] for [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW] and [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT].
double score = 1;
- Returns:
- This builder for chaining.
-
getStatsUri
public String getStatsUri()
Path of the stats file for current feature values in Cloud Storage bucket. Format: gs://<bucket_name>/<object_name>/stats. Example: gs://monitoring_bucket/feature_name/stats. Stats are stored as binary format with Protobuf message [tensorflow.metadata.v0.FeatureNameStatistics](https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto).
string stats_uri = 3;
- Specified by:
getStatsUri
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- The statsUri.
-
getStatsUriBytes
public com.google.protobuf.ByteString getStatsUriBytes()
Path of the stats file for current feature values in Cloud Storage bucket. Format: gs://<bucket_name>/<object_name>/stats. Example: gs://monitoring_bucket/feature_name/stats. Stats are stored as binary format with Protobuf message [tensorflow.metadata.v0.FeatureNameStatistics](https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto).
string stats_uri = 3;
- Specified by:
getStatsUriBytes
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- The bytes for statsUri.
-
setStatsUri
public FeatureStatsAnomaly.Builder setStatsUri(String value)
Path of the stats file for current feature values in Cloud Storage bucket. Format: gs://<bucket_name>/<object_name>/stats. Example: gs://monitoring_bucket/feature_name/stats. Stats are stored as binary format with Protobuf message [tensorflow.metadata.v0.FeatureNameStatistics](https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto).
string stats_uri = 3;
- Parameters:
value
- The statsUri to set.- Returns:
- This builder for chaining.
-
clearStatsUri
public FeatureStatsAnomaly.Builder clearStatsUri()
Path of the stats file for current feature values in Cloud Storage bucket. Format: gs://<bucket_name>/<object_name>/stats. Example: gs://monitoring_bucket/feature_name/stats. Stats are stored as binary format with Protobuf message [tensorflow.metadata.v0.FeatureNameStatistics](https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto).
string stats_uri = 3;
- Returns:
- This builder for chaining.
-
setStatsUriBytes
public FeatureStatsAnomaly.Builder setStatsUriBytes(com.google.protobuf.ByteString value)
Path of the stats file for current feature values in Cloud Storage bucket. Format: gs://<bucket_name>/<object_name>/stats. Example: gs://monitoring_bucket/feature_name/stats. Stats are stored as binary format with Protobuf message [tensorflow.metadata.v0.FeatureNameStatistics](https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto).
string stats_uri = 3;
- Parameters:
value
- The bytes for statsUri to set.- Returns:
- This builder for chaining.
-
getAnomalyUri
public String getAnomalyUri()
Path of the anomaly file for current feature values in Cloud Storage bucket. Format: gs://<bucket_name>/<object_name>/anomalies. Example: gs://monitoring_bucket/feature_name/anomalies. Stats are stored as binary format with Protobuf message Anoamlies are stored as binary format with Protobuf message [tensorflow.metadata.v0.AnomalyInfo] (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto).
string anomaly_uri = 4;
- Specified by:
getAnomalyUri
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- The anomalyUri.
-
getAnomalyUriBytes
public com.google.protobuf.ByteString getAnomalyUriBytes()
Path of the anomaly file for current feature values in Cloud Storage bucket. Format: gs://<bucket_name>/<object_name>/anomalies. Example: gs://monitoring_bucket/feature_name/anomalies. Stats are stored as binary format with Protobuf message Anoamlies are stored as binary format with Protobuf message [tensorflow.metadata.v0.AnomalyInfo] (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto).
string anomaly_uri = 4;
- Specified by:
getAnomalyUriBytes
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- The bytes for anomalyUri.
-
setAnomalyUri
public FeatureStatsAnomaly.Builder setAnomalyUri(String value)
Path of the anomaly file for current feature values in Cloud Storage bucket. Format: gs://<bucket_name>/<object_name>/anomalies. Example: gs://monitoring_bucket/feature_name/anomalies. Stats are stored as binary format with Protobuf message Anoamlies are stored as binary format with Protobuf message [tensorflow.metadata.v0.AnomalyInfo] (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto).
string anomaly_uri = 4;
- Parameters:
value
- The anomalyUri to set.- Returns:
- This builder for chaining.
-
clearAnomalyUri
public FeatureStatsAnomaly.Builder clearAnomalyUri()
Path of the anomaly file for current feature values in Cloud Storage bucket. Format: gs://<bucket_name>/<object_name>/anomalies. Example: gs://monitoring_bucket/feature_name/anomalies. Stats are stored as binary format with Protobuf message Anoamlies are stored as binary format with Protobuf message [tensorflow.metadata.v0.AnomalyInfo] (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto).
string anomaly_uri = 4;
- Returns:
- This builder for chaining.
-
setAnomalyUriBytes
public FeatureStatsAnomaly.Builder setAnomalyUriBytes(com.google.protobuf.ByteString value)
Path of the anomaly file for current feature values in Cloud Storage bucket. Format: gs://<bucket_name>/<object_name>/anomalies. Example: gs://monitoring_bucket/feature_name/anomalies. Stats are stored as binary format with Protobuf message Anoamlies are stored as binary format with Protobuf message [tensorflow.metadata.v0.AnomalyInfo] (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto).
string anomaly_uri = 4;
- Parameters:
value
- The bytes for anomalyUri to set.- Returns:
- This builder for chaining.
-
getDistributionDeviation
public double getDistributionDeviation()
Deviation from the current stats to baseline stats. 1. For categorical feature, the distribution distance is calculated by L-inifinity norm. 2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence.
double distribution_deviation = 5;
- Specified by:
getDistributionDeviation
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- The distributionDeviation.
-
setDistributionDeviation
public FeatureStatsAnomaly.Builder setDistributionDeviation(double value)
Deviation from the current stats to baseline stats. 1. For categorical feature, the distribution distance is calculated by L-inifinity norm. 2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence.
double distribution_deviation = 5;
- Parameters:
value
- The distributionDeviation to set.- Returns:
- This builder for chaining.
-
clearDistributionDeviation
public FeatureStatsAnomaly.Builder clearDistributionDeviation()
Deviation from the current stats to baseline stats. 1. For categorical feature, the distribution distance is calculated by L-inifinity norm. 2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence.
double distribution_deviation = 5;
- Returns:
- This builder for chaining.
-
getAnomalyDetectionThreshold
public double getAnomalyDetectionThreshold()
This is the threshold used when detecting anomalies. The threshold can be changed by user, so this one might be different from [ThresholdConfig.value][google.cloud.aiplatform.v1.ThresholdConfig.value].
double anomaly_detection_threshold = 9;
- Specified by:
getAnomalyDetectionThreshold
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- The anomalyDetectionThreshold.
-
setAnomalyDetectionThreshold
public FeatureStatsAnomaly.Builder setAnomalyDetectionThreshold(double value)
This is the threshold used when detecting anomalies. The threshold can be changed by user, so this one might be different from [ThresholdConfig.value][google.cloud.aiplatform.v1.ThresholdConfig.value].
double anomaly_detection_threshold = 9;
- Parameters:
value
- The anomalyDetectionThreshold to set.- Returns:
- This builder for chaining.
-
clearAnomalyDetectionThreshold
public FeatureStatsAnomaly.Builder clearAnomalyDetectionThreshold()
This is the threshold used when detecting anomalies. The threshold can be changed by user, so this one might be different from [ThresholdConfig.value][google.cloud.aiplatform.v1.ThresholdConfig.value].
double anomaly_detection_threshold = 9;
- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()
The start timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), start_time is only used to indicate the monitoring intervals, so it always equals to (end_time - monitoring_interval).
.google.protobuf.Timestamp start_time = 7;
- Specified by:
hasStartTime
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
The start timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), start_time is only used to indicate the monitoring intervals, so it always equals to (end_time - monitoring_interval).
.google.protobuf.Timestamp start_time = 7;
- Specified by:
getStartTime
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- The startTime.
-
setStartTime
public FeatureStatsAnomaly.Builder setStartTime(com.google.protobuf.Timestamp value)
The start timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), start_time is only used to indicate the monitoring intervals, so it always equals to (end_time - monitoring_interval).
.google.protobuf.Timestamp start_time = 7;
-
setStartTime
public FeatureStatsAnomaly.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The start timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), start_time is only used to indicate the monitoring intervals, so it always equals to (end_time - monitoring_interval).
.google.protobuf.Timestamp start_time = 7;
-
mergeStartTime
public FeatureStatsAnomaly.Builder mergeStartTime(com.google.protobuf.Timestamp value)
The start timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), start_time is only used to indicate the monitoring intervals, so it always equals to (end_time - monitoring_interval).
.google.protobuf.Timestamp start_time = 7;
-
clearStartTime
public FeatureStatsAnomaly.Builder clearStartTime()
The start timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), start_time is only used to indicate the monitoring intervals, so it always equals to (end_time - monitoring_interval).
.google.protobuf.Timestamp start_time = 7;
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
The start timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), start_time is only used to indicate the monitoring intervals, so it always equals to (end_time - monitoring_interval).
.google.protobuf.Timestamp start_time = 7;
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The start timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), start_time is only used to indicate the monitoring intervals, so it always equals to (end_time - monitoring_interval).
.google.protobuf.Timestamp start_time = 7;
- Specified by:
getStartTimeOrBuilder
in interfaceFeatureStatsAnomalyOrBuilder
-
hasEndTime
public boolean hasEndTime()
The end timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), end_time indicates the timestamp of the data used to generate stats (e.g. timestamp we take snapshots for feature values).
.google.protobuf.Timestamp end_time = 8;
- Specified by:
hasEndTime
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
The end timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), end_time indicates the timestamp of the data used to generate stats (e.g. timestamp we take snapshots for feature values).
.google.protobuf.Timestamp end_time = 8;
- Specified by:
getEndTime
in interfaceFeatureStatsAnomalyOrBuilder
- Returns:
- The endTime.
-
setEndTime
public FeatureStatsAnomaly.Builder setEndTime(com.google.protobuf.Timestamp value)
The end timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), end_time indicates the timestamp of the data used to generate stats (e.g. timestamp we take snapshots for feature values).
.google.protobuf.Timestamp end_time = 8;
-
setEndTime
public FeatureStatsAnomaly.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The end timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), end_time indicates the timestamp of the data used to generate stats (e.g. timestamp we take snapshots for feature values).
.google.protobuf.Timestamp end_time = 8;
-
mergeEndTime
public FeatureStatsAnomaly.Builder mergeEndTime(com.google.protobuf.Timestamp value)
The end timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), end_time indicates the timestamp of the data used to generate stats (e.g. timestamp we take snapshots for feature values).
.google.protobuf.Timestamp end_time = 8;
-
clearEndTime
public FeatureStatsAnomaly.Builder clearEndTime()
The end timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), end_time indicates the timestamp of the data used to generate stats (e.g. timestamp we take snapshots for feature values).
.google.protobuf.Timestamp end_time = 8;
-
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
The end timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), end_time indicates the timestamp of the data used to generate stats (e.g. timestamp we take snapshots for feature values).
.google.protobuf.Timestamp end_time = 8;
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The end timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), end_time indicates the timestamp of the data used to generate stats (e.g. timestamp we take snapshots for feature values).
.google.protobuf.Timestamp end_time = 8;
- Specified by:
getEndTimeOrBuilder
in interfaceFeatureStatsAnomalyOrBuilder
-
setUnknownFields
public final FeatureStatsAnomaly.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
mergeUnknownFields
public final FeatureStatsAnomaly.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAnomaly.Builder>
-
-