Class FeatureStatsAndAnomaly
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomaly
- All Implemented Interfaces:
FeatureStatsAndAnomalyOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class FeatureStatsAndAnomaly
extends com.google.protobuf.GeneratedMessage
implements FeatureStatsAndAnomalyOrBuilder
Stats and Anomaly generated by FeatureMonitorJobs. Anomaly only includes Drift.Protobuf type
google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomaly- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStats and Anomaly generated by FeatureMonitorJobs.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FeatureStatsAndAnomalystatic final com.google.protobuf.Descriptors.DescriptordoubleDeviation from the current stats to baseline stats. 1.booleanIf set to true, indicates current stats is detected as and comparing with baseline stats.doubleThis is the threshold used when detecting drifts, which is set in FeatureMonitor.FeatureSelectionConfig.FeatureConfig.drift_thresholdFeature Id.com.google.protobuf.ByteStringFeature Id.The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.com.google.protobuf.ByteStringThe ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.longThe ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.com.google.protobuf.ValueFeature stats. e.g. histogram buckets.com.google.protobuf.ValueOrBuilderFeature stats. e.g. histogram buckets.com.google.protobuf.Parser<FeatureStatsAndAnomaly>intcom.google.protobuf.TimestampThe timestamp we take snapshot for feature values to generate stats.com.google.protobuf.TimestampOrBuilderThe timestamp we take snapshot for feature values to generate stats.booleanFeature stats. e.g. histogram buckets.inthashCode()booleanThe timestamp we take snapshot for feature values to generate stats.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(FeatureStatsAndAnomaly prototype) protected FeatureStatsAndAnomaly.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static FeatureStatsAndAnomalyparseDelimitedFrom(InputStream input) static FeatureStatsAndAnomalyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeatureStatsAndAnomalyparseFrom(byte[] data) static FeatureStatsAndAnomalyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeatureStatsAndAnomalyparseFrom(com.google.protobuf.ByteString data) static FeatureStatsAndAnomalyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeatureStatsAndAnomalyparseFrom(com.google.protobuf.CodedInputStream input) static FeatureStatsAndAnomalyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeatureStatsAndAnomalyparseFrom(InputStream input) static FeatureStatsAndAnomalyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeatureStatsAndAnomalyparseFrom(ByteBuffer data) static FeatureStatsAndAnomalyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FeatureStatsAndAnomaly>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FEATURE_ID_FIELD_NUMBER
public static final int FEATURE_ID_FIELD_NUMBER- See Also:
-
FEATURE_STATS_FIELD_NUMBER
public static final int FEATURE_STATS_FIELD_NUMBER- See Also:
-
DISTRIBUTION_DEVIATION_FIELD_NUMBER
public static final int DISTRIBUTION_DEVIATION_FIELD_NUMBER- See Also:
-
DRIFT_DETECTION_THRESHOLD_FIELD_NUMBER
public static final int DRIFT_DETECTION_THRESHOLD_FIELD_NUMBER- See Also:
-
DRIFT_DETECTED_FIELD_NUMBER
public static final int DRIFT_DETECTED_FIELD_NUMBER- See Also:
-
STATS_TIME_FIELD_NUMBER
public static final int STATS_TIME_FIELD_NUMBER- See Also:
-
FEATURE_MONITOR_JOB_ID_FIELD_NUMBER
public static final int FEATURE_MONITOR_JOB_ID_FIELD_NUMBER- See Also:
-
FEATURE_MONITOR_ID_FIELD_NUMBER
public static final int FEATURE_MONITOR_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getFeatureId
Feature Id.
string feature_id = 1;- Specified by:
getFeatureIdin interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- The featureId.
-
getFeatureIdBytes
public com.google.protobuf.ByteString getFeatureIdBytes()Feature Id.
string feature_id = 1;- Specified by:
getFeatureIdBytesin interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- The bytes for featureId.
-
hasFeatureStats
public boolean hasFeatureStats()Feature stats. e.g. histogram buckets. In the format of tensorflow.metadata.v0.DatasetFeatureStatistics.
.google.protobuf.Value feature_stats = 2;- Specified by:
hasFeatureStatsin interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- Whether the featureStats field is set.
-
getFeatureStats
public 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;- Specified by:
getFeatureStatsin interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- The featureStats.
-
getFeatureStatsOrBuilder
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;- Specified by:
getFeatureStatsOrBuilderin interfaceFeatureStatsAndAnomalyOrBuilder
-
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 = 3;- Specified by:
getDistributionDeviationin interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- The distributionDeviation.
-
getDriftDetectionThreshold
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;- Specified by:
getDriftDetectionThresholdin interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- The driftDetectionThreshold.
-
getDriftDetected
public boolean getDriftDetected()If set to true, indicates current stats is detected as and comparing with baseline stats.
bool drift_detected = 5;- Specified by:
getDriftDetectedin interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- The driftDetected.
-
hasStatsTime
public boolean hasStatsTime()The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;- Specified by:
hasStatsTimein interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- Whether the statsTime field is set.
-
getStatsTime
public com.google.protobuf.Timestamp getStatsTime()The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;- Specified by:
getStatsTimein interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- The statsTime.
-
getStatsTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStatsTimeOrBuilder()The timestamp we take snapshot for feature values to generate stats.
.google.protobuf.Timestamp stats_time = 6;- Specified by:
getStatsTimeOrBuilderin interfaceFeatureStatsAndAnomalyOrBuilder
-
getFeatureMonitorJobId
public long getFeatureMonitorJobId()The ID of the FeatureMonitorJob that generated this FeatureStatsAndAnomaly.
int64 feature_monitor_job_id = 7;- Specified by:
getFeatureMonitorJobIdin interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- The featureMonitorJobId.
-
getFeatureMonitorId
The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
string feature_monitor_id = 8;- Specified by:
getFeatureMonitorIdin interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- The featureMonitorId.
-
getFeatureMonitorIdBytes
public com.google.protobuf.ByteString getFeatureMonitorIdBytes()The ID of the FeatureMonitor that this FeatureStatsAndAnomaly generated according to.
string feature_monitor_id = 8;- Specified by:
getFeatureMonitorIdBytesin interfaceFeatureStatsAndAnomalyOrBuilder- Returns:
- The bytes for featureMonitorId.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FeatureStatsAndAnomaly parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureStatsAndAnomaly parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureStatsAndAnomaly parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureStatsAndAnomaly parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureStatsAndAnomaly parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureStatsAndAnomaly parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FeatureStatsAndAnomaly parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FeatureStatsAndAnomaly parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FeatureStatsAndAnomaly parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FeatureStatsAndAnomaly parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FeatureStatsAndAnomaly.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-