Class ModelMonitoringStatsAnomalies (3.4.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
TypeDescription
int

DEPLOYED_MODEL_ID_FIELD_NUMBER

public static final int DEPLOYED_MODEL_ID_FIELD_NUMBER
Field Value
TypeDescription
int

FEATURE_STATS_FIELD_NUMBER

public static final int FEATURE_STATS_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTIVE_FIELD_NUMBER

public static final int OBJECTIVE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ModelMonitoringStatsAnomalies getDefaultInstance()
Returns
TypeDescription
ModelMonitoringStatsAnomalies

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ModelMonitoringStatsAnomalies.Builder newBuilder()
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

newBuilder(ModelMonitoringStatsAnomalies prototype)

public static ModelMonitoringStatsAnomalies.Builder newBuilder(ModelMonitoringStatsAnomalies prototype)
Parameter
NameDescription
prototypeModelMonitoringStatsAnomalies
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

parseDelimitedFrom(InputStream input)

public static ModelMonitoringStatsAnomalies parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ModelMonitoringStatsAnomalies parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelMonitoringStatsAnomalies parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelMonitoringStatsAnomalies parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ModelMonitoringStatsAnomalies parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ModelMonitoringStatsAnomalies parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringStatsAnomalies parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringStatsAnomalies
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ModelMonitoringStatsAnomalies> parser()
Returns
TypeDescription
Parser<ModelMonitoringStatsAnomalies>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAnomalyCount()

public int getAnomalyCount()

Number of anomalies within all stats.

int32 anomaly_count = 3;

Returns
TypeDescription
int

The anomalyCount.

getDefaultInstanceForType()

public ModelMonitoringStatsAnomalies getDefaultInstanceForType()
Returns
TypeDescription
ModelMonitoringStatsAnomalies

getDeployedModelId()

public String getDeployedModelId()

Deployed Model ID.

string deployed_model_id = 2;

Returns
TypeDescription
String

The deployedModelId.

getDeployedModelIdBytes()

public ByteString getDeployedModelIdBytes()

Deployed Model ID.

string deployed_model_id = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ModelDeploymentMonitoringObjectiveType

The objective.

getObjectiveValue()

public int getObjectiveValue()

Model Monitoring Objective those stats and anomalies belonging to.

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

Returns
TypeDescription
int

The enum numeric value on the wire for objective.

getParserForType()

public Parser<ModelMonitoringStatsAnomalies> getParserForType()
Returns
TypeDescription
Parser<ModelMonitoringStatsAnomalies>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ModelMonitoringStatsAnomalies.Builder newBuilderForType()
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringStatsAnomalies.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ModelMonitoringStatsAnomalies.Builder toBuilder()
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException