Class ModelMonitoringStatsAnomalies (3.42.0)

public final class ModelMonitoringStatsAnomalies extends GeneratedMessageV3 implements ModelMonitoringStatsAnomaliesOrBuilder

Statistics and anomalies generated by Model Monitoring.

Protobuf type google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies

Static Fields

ANOMALY_COUNT_FIELD_NUMBER

public static final int ANOMALY_COUNT_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYED_MODEL_ID_FIELD_NUMBER

public static final int DEPLOYED_MODEL_ID_FIELD_NUMBER
Field Value
Type Description
int

FEATURE_STATS_FIELD_NUMBER

public static final int FEATURE_STATS_FIELD_NUMBER
Field Value
Type Description
int

OBJECTIVE_FIELD_NUMBER

public static final int OBJECTIVE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringStatsAnomalies getDefaultInstance()
Returns
Type Description
ModelMonitoringStatsAnomalies

getDescriptor()

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

newBuilder()

public static ModelMonitoringStatsAnomalies.Builder newBuilder()
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

newBuilder(ModelMonitoringStatsAnomalies prototype)

public static ModelMonitoringStatsAnomalies.Builder newBuilder(ModelMonitoringStatsAnomalies prototype)
Parameter
Name Description
prototype ModelMonitoringStatsAnomalies
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

parseDelimitedFrom(InputStream input)

public static ModelMonitoringStatsAnomalies parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ModelMonitoringStatsAnomalies parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelMonitoringStatsAnomalies parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelMonitoringStatsAnomalies parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ModelMonitoringStatsAnomalies parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ModelMonitoringStatsAnomalies parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringStatsAnomalies
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ModelMonitoringStatsAnomalies> parser()
Returns
Type Description
Parser<ModelMonitoringStatsAnomalies>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnomalyCount()

public int getAnomalyCount()

Number of anomalies within all stats.

int32 anomaly_count = 3;

Returns
Type Description
int

The anomalyCount.

getDefaultInstanceForType()

public ModelMonitoringStatsAnomalies getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringStatsAnomalies

getDeployedModelId()

public String getDeployedModelId()

Deployed Model ID.

string deployed_model_id = 2;

Returns
Type Description
String

The deployedModelId.

getDeployedModelIdBytes()

public ByteString getDeployedModelIdBytes()

Deployed Model ID.

string deployed_model_id = 2;

Returns
Type Description
ByteString

The bytes for deployedModelId.

getFeatureStats(int index)

public ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies getFeatureStats(int index)

A list of historical Stats and Anomalies generated for all Features.

repeated .google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies

getFeatureStatsCount()

public int getFeatureStatsCount()

A list of historical Stats and Anomalies generated for all Features.

repeated .google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Returns
Type Description
int

getFeatureStatsList()

public List<ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies> getFeatureStatsList()

A list of historical Stats and Anomalies generated for all Features.

repeated .google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Returns
Type Description
List<FeatureHistoricStatsAnomalies>

getFeatureStatsOrBuilder(int index)

public ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomaliesOrBuilder getFeatureStatsOrBuilder(int index)

A list of historical Stats and Anomalies generated for all Features.

repeated .google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomaliesOrBuilder

getFeatureStatsOrBuilderList()

public List<? extends ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomaliesOrBuilder> getFeatureStatsOrBuilderList()

A list of historical Stats and Anomalies generated for all Features.

repeated .google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomaliesOrBuilder>

getObjective()

public ModelDeploymentMonitoringObjectiveType getObjective()

Model Monitoring Objective those stats and anomalies belonging to.

.google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType objective = 1;

Returns
Type Description
ModelDeploymentMonitoringObjectiveType

The objective.

getObjectiveValue()

public int getObjectiveValue()

Model Monitoring Objective those stats and anomalies belonging to.

.google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType objective = 1;

Returns
Type Description
int

The enum numeric value on the wire for objective.

getParserForType()

public Parser<ModelMonitoringStatsAnomalies> getParserForType()
Returns
Type Description
Parser<ModelMonitoringStatsAnomalies>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ModelMonitoringStatsAnomalies.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringStatsAnomalies.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ModelMonitoringStatsAnomalies.Builder toBuilder()
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException