public static final class FeatureStatsAndAnomaly.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder> implements FeatureStatsAndAnomalyOrBuilder
Stats and Anomaly generated by FeatureMonitorJobs. Anomaly only includes Drift.Protobuf type
google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomaly| Modifier and Type | Method and Description |
|---|---|
FeatureStatsAndAnomaly.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FeatureStatsAndAnomaly |
build() |
FeatureStatsAndAnomaly |
buildPartial() |
FeatureStatsAndAnomaly.Builder |
clear() |
FeatureStatsAndAnomaly.Builder |
clearDistributionDeviation()
Deviation from the current stats to baseline stats.
1.
|
FeatureStatsAndAnomaly.Builder |
clearDriftDetected()
If set to true, indicates current stats is detected as and comparing
with baseline stats.
|
FeatureStatsAndAnomaly.Builder |
clearDriftDetectionThreshold()
This is the threshold used when detecting drifts, which is set in
FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
double drift_detection_threshold = 4; |
FeatureStatsAndAnomaly.Builder |
clearFeatureId()
Feature Id.
|
FeatureStatsAndAnomaly.Builder |
clearFeatureMonitorId()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
according to.
|
FeatureStatsAndAnomaly.Builder |
clearFeatureMonitorJobId()
The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
|
FeatureStatsAndAnomaly.Builder |
clearFeatureStats()
Feature stats. e.g. histogram buckets.
|
FeatureStatsAndAnomaly.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FeatureStatsAndAnomaly.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FeatureStatsAndAnomaly.Builder |
clearStatsTime()
The timestamp we take snapshot for feature values to generate stats.
|
FeatureStatsAndAnomaly.Builder |
clone() |
FeatureStatsAndAnomaly |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getDistributionDeviation()
Deviation from the current stats to baseline stats.
1.
|
boolean |
getDriftDetected()
If set to true, indicates current stats is detected as and comparing
with baseline stats.
|
double |
getDriftDetectionThreshold()
This is the threshold used when detecting drifts, which is set in
FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
double drift_detection_threshold = 4; |
String |
getFeatureId()
Feature Id.
|
com.google.protobuf.ByteString |
getFeatureIdBytes()
Feature Id.
|
String |
getFeatureMonitorId()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
according to.
|
com.google.protobuf.ByteString |
getFeatureMonitorIdBytes()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
according to.
|
long |
getFeatureMonitorJobId()
The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
|
com.google.protobuf.Value |
getFeatureStats()
Feature stats. e.g. histogram buckets.
|
com.google.protobuf.Value.Builder |
getFeatureStatsBuilder()
Feature stats. e.g. histogram buckets.
|
com.google.protobuf.ValueOrBuilder |
getFeatureStatsOrBuilder()
Feature stats. e.g. histogram buckets.
|
com.google.protobuf.Timestamp |
getStatsTime()
The timestamp we take snapshot for feature values to generate stats.
|
com.google.protobuf.Timestamp.Builder |
getStatsTimeBuilder()
The timestamp we take snapshot for feature values to generate stats.
|
com.google.protobuf.TimestampOrBuilder |
getStatsTimeOrBuilder()
The timestamp we take snapshot for feature values to generate stats.
|
boolean |
hasFeatureStats()
Feature stats. e.g. histogram buckets.
|
boolean |
hasStatsTime()
The timestamp we take snapshot for feature values to generate stats.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FeatureStatsAndAnomaly.Builder |
mergeFeatureStats(com.google.protobuf.Value value)
Feature stats. e.g. histogram buckets.
|
FeatureStatsAndAnomaly.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FeatureStatsAndAnomaly.Builder |
mergeFrom(FeatureStatsAndAnomaly other) |
FeatureStatsAndAnomaly.Builder |
mergeFrom(com.google.protobuf.Message other) |
FeatureStatsAndAnomaly.Builder |
mergeStatsTime(com.google.protobuf.Timestamp value)
The timestamp we take snapshot for feature values to generate stats.
|
FeatureStatsAndAnomaly.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FeatureStatsAndAnomaly.Builder |
setDistributionDeviation(double value)
Deviation from the current stats to baseline stats.
1.
|
FeatureStatsAndAnomaly.Builder |
setDriftDetected(boolean value)
If set to true, indicates current stats is detected as and comparing
with baseline stats.
|
FeatureStatsAndAnomaly.Builder |
setDriftDetectionThreshold(double value)
This is the threshold used when detecting drifts, which is set in
FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
double drift_detection_threshold = 4; |
FeatureStatsAndAnomaly.Builder |
setFeatureId(String value)
Feature Id.
|
FeatureStatsAndAnomaly.Builder |
setFeatureIdBytes(com.google.protobuf.ByteString value)
Feature Id.
|
FeatureStatsAndAnomaly.Builder |
setFeatureMonitorId(String value)
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
according to.
|
FeatureStatsAndAnomaly.Builder |
setFeatureMonitorIdBytes(com.google.protobuf.ByteString value)
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated
according to.
|
FeatureStatsAndAnomaly.Builder |
setFeatureMonitorJobId(long value)
The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
|
FeatureStatsAndAnomaly.Builder |
setFeatureStats(com.google.protobuf.Value.Builder builderForValue)
Feature stats. e.g. histogram buckets.
|
FeatureStatsAndAnomaly.Builder |
setFeatureStats(com.google.protobuf.Value value)
Feature stats. e.g. histogram buckets.
|
FeatureStatsAndAnomaly.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FeatureStatsAndAnomaly.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FeatureStatsAndAnomaly.Builder |
setStatsTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp we take snapshot for feature values to generate stats.
|
FeatureStatsAndAnomaly.Builder |
setStatsTime(com.google.protobuf.Timestamp value)
The timestamp we take snapshot for feature values to generate stats.
|
FeatureStatsAndAnomaly.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public FeatureStatsAndAnomaly.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public FeatureStatsAndAnomaly getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FeatureStatsAndAnomaly build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FeatureStatsAndAnomaly buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FeatureStatsAndAnomaly.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public FeatureStatsAndAnomaly.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public FeatureStatsAndAnomaly.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public FeatureStatsAndAnomaly.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public FeatureStatsAndAnomaly.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public FeatureStatsAndAnomaly.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public FeatureStatsAndAnomaly.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeatureStatsAndAnomaly.Builder>public FeatureStatsAndAnomaly.Builder mergeFrom(FeatureStatsAndAnomaly other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public FeatureStatsAndAnomaly.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeatureStatsAndAnomaly.Builder>IOExceptionpublic String getFeatureId()
Feature Id.
string feature_id = 1;getFeatureId in interface FeatureStatsAndAnomalyOrBuilderpublic com.google.protobuf.ByteString getFeatureIdBytes()
Feature Id.
string feature_id = 1;getFeatureIdBytes in interface FeatureStatsAndAnomalyOrBuilderpublic FeatureStatsAndAnomaly.Builder setFeatureId(String value)
Feature Id.
string feature_id = 1;value - The featureId to set.public FeatureStatsAndAnomaly.Builder clearFeatureId()
Feature Id.
string feature_id = 1;public FeatureStatsAndAnomaly.Builder setFeatureIdBytes(com.google.protobuf.ByteString value)
Feature Id.
string feature_id = 1;value - The bytes for featureId to set.public boolean hasFeatureStats()
Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;hasFeatureStats in interface FeatureStatsAndAnomalyOrBuilderpublic com.google.protobuf.Value getFeatureStats()
Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;getFeatureStats in interface FeatureStatsAndAnomalyOrBuilderpublic FeatureStatsAndAnomaly.Builder setFeatureStats(com.google.protobuf.Value value)
Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;public FeatureStatsAndAnomaly.Builder setFeatureStats(com.google.protobuf.Value.Builder builderForValue)
Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;public FeatureStatsAndAnomaly.Builder mergeFeatureStats(com.google.protobuf.Value value)
Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;public FeatureStatsAndAnomaly.Builder clearFeatureStats()
Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;public com.google.protobuf.Value.Builder getFeatureStatsBuilder()
Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;public com.google.protobuf.ValueOrBuilder getFeatureStatsOrBuilder()
Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;getFeatureStatsOrBuilder in interface FeatureStatsAndAnomalyOrBuilderpublic 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 = 3;getDistributionDeviation in interface FeatureStatsAndAnomalyOrBuilderpublic FeatureStatsAndAnomaly.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 = 3;value - The distributionDeviation to set.public FeatureStatsAndAnomaly.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 = 3;public double getDriftDetectionThreshold()
This is the threshold used when detecting drifts, which is set in FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
double drift_detection_threshold = 4;getDriftDetectionThreshold in interface FeatureStatsAndAnomalyOrBuilderpublic FeatureStatsAndAnomaly.Builder setDriftDetectionThreshold(double value)
This is the threshold used when detecting drifts, which is set in FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
double drift_detection_threshold = 4;value - The driftDetectionThreshold to set.public FeatureStatsAndAnomaly.Builder clearDriftDetectionThreshold()
This is the threshold used when detecting drifts, which is set in FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_threshold
double drift_detection_threshold = 4;public boolean getDriftDetected()
If set to true, indicates current stats is detected as and comparing with baseline stats.
bool drift_detected = 5;getDriftDetected in interface FeatureStatsAndAnomalyOrBuilderpublic FeatureStatsAndAnomaly.Builder setDriftDetected(boolean value)
If set to true, indicates current stats is detected as and comparing with baseline stats.
bool drift_detected = 5;value - The driftDetected to set.public FeatureStatsAndAnomaly.Builder clearDriftDetected()
If set to true, indicates current stats is detected as and comparing with baseline stats.
bool drift_detected = 5;public boolean hasStatsTime()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;hasStatsTime in interface FeatureStatsAndAnomalyOrBuilderpublic com.google.protobuf.Timestamp getStatsTime()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;getStatsTime in interface FeatureStatsAndAnomalyOrBuilderpublic FeatureStatsAndAnomaly.Builder setStatsTime(com.google.protobuf.Timestamp value)
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;public FeatureStatsAndAnomaly.Builder setStatsTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;public FeatureStatsAndAnomaly.Builder mergeStatsTime(com.google.protobuf.Timestamp value)
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;public FeatureStatsAndAnomaly.Builder clearStatsTime()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;public com.google.protobuf.Timestamp.Builder getStatsTimeBuilder()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;public com.google.protobuf.TimestampOrBuilder getStatsTimeOrBuilder()
The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;getStatsTimeOrBuilder in interface FeatureStatsAndAnomalyOrBuilderpublic long getFeatureMonitorJobId()
The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
int64 feature_monitor_job_id = 7;getFeatureMonitorJobId in interface FeatureStatsAndAnomalyOrBuilderpublic FeatureStatsAndAnomaly.Builder setFeatureMonitorJobId(long value)
The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
int64 feature_monitor_job_id = 7;value - The featureMonitorJobId to set.public FeatureStatsAndAnomaly.Builder clearFeatureMonitorJobId()
The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
int64 feature_monitor_job_id = 7;public String getFeatureMonitorId()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
string feature_monitor_id = 8;getFeatureMonitorId in interface FeatureStatsAndAnomalyOrBuilderpublic com.google.protobuf.ByteString getFeatureMonitorIdBytes()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
string feature_monitor_id = 8;getFeatureMonitorIdBytes in interface FeatureStatsAndAnomalyOrBuilderpublic FeatureStatsAndAnomaly.Builder setFeatureMonitorId(String value)
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
string feature_monitor_id = 8;value - The featureMonitorId to set.public FeatureStatsAndAnomaly.Builder clearFeatureMonitorId()
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
string feature_monitor_id = 8;public FeatureStatsAndAnomaly.Builder setFeatureMonitorIdBytes(com.google.protobuf.ByteString value)
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
string feature_monitor_id = 8;value - The bytes for featureMonitorId to set.public final FeatureStatsAndAnomaly.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>public final FeatureStatsAndAnomaly.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureStatsAndAnomaly.Builder>Copyright © 2025 Google LLC. All rights reserved.