Class ModelMonitoringStatsAnomalies.Builder (3.44.0)

public static final class ModelMonitoringStatsAnomalies.Builder extends GeneratedMessageV3.Builder<ModelMonitoringStatsAnomalies.Builder> implements ModelMonitoringStatsAnomaliesOrBuilder

Statistics and anomalies generated by Model Monitoring.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies

Static Methods

getDescriptor()

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

Methods

addAllFeatureStats(Iterable<? extends ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies> values)

public ModelMonitoringStatsAnomalies.Builder addAllFeatureStats(Iterable<? extends ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies>
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

addFeatureStats(ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies value)

public ModelMonitoringStatsAnomalies.Builder addFeatureStats(ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies value)

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

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

Parameter
Name Description
value ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

addFeatureStats(ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder builderForValue)

public ModelMonitoringStatsAnomalies.Builder addFeatureStats(ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

addFeatureStats(int index, ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies value)

public ModelMonitoringStatsAnomalies.Builder addFeatureStats(int index, ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies value)

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

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

Parameters
Name Description
index int
value ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

addFeatureStats(int index, ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder builderForValue)

public ModelMonitoringStatsAnomalies.Builder addFeatureStats(int index, ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

addFeatureStatsBuilder()

public ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder addFeatureStatsBuilder()

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

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

Returns
Type Description
ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder

addFeatureStatsBuilder(int index)

public ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder addFeatureStatsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringStatsAnomalies.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides

build()

public ModelMonitoringStatsAnomalies build()
Returns
Type Description
ModelMonitoringStatsAnomalies

buildPartial()

public ModelMonitoringStatsAnomalies buildPartial()
Returns
Type Description
ModelMonitoringStatsAnomalies

clear()

public ModelMonitoringStatsAnomalies.Builder clear()
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides

clearAnomalyCount()

public ModelMonitoringStatsAnomalies.Builder clearAnomalyCount()

Number of anomalies within all stats.

int32 anomaly_count = 3;

Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

clearDeployedModelId()

public ModelMonitoringStatsAnomalies.Builder clearDeployedModelId()

Deployed Model ID.

string deployed_model_id = 2;

Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

clearFeatureStats()

public ModelMonitoringStatsAnomalies.Builder clearFeatureStats()

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

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

Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringStatsAnomalies.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides

clearObjective()

public ModelMonitoringStatsAnomalies.Builder clearObjective()

Model Monitoring Objective those stats and anomalies belonging to.

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

Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringStatsAnomalies.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides

clone()

public ModelMonitoringStatsAnomalies.Builder clone()
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFeatureStats(int index)

public ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies getFeatureStats(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies

getFeatureStatsBuilder(int index)

public ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder getFeatureStatsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder

getFeatureStatsBuilderList()

public List<ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder> getFeatureStatsBuilderList()

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

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

Returns
Type Description
List<Builder>

getFeatureStatsCount()

public int getFeatureStatsCount()

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

repeated .google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

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

getObjective()

public ModelDeploymentMonitoringObjectiveType getObjective()

Model Monitoring Objective those stats and anomalies belonging to.

.google.cloud.aiplatform.v1beta1.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.v1beta1.ModelDeploymentMonitoringObjectiveType objective = 1;

Returns
Type Description
int

The enum numeric value on the wire for objective.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitoringStatsAnomalies other)

public ModelMonitoringStatsAnomalies.Builder mergeFrom(ModelMonitoringStatsAnomalies other)
Parameter
Name Description
other ModelMonitoringStatsAnomalies
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringStatsAnomalies.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelMonitoringStatsAnomalies.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringStatsAnomalies.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides

removeFeatureStats(int index)

public ModelMonitoringStatsAnomalies.Builder removeFeatureStats(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

setAnomalyCount(int value)

public ModelMonitoringStatsAnomalies.Builder setAnomalyCount(int value)

Number of anomalies within all stats.

int32 anomaly_count = 3;

Parameter
Name Description
value int

The anomalyCount to set.

Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

setDeployedModelId(String value)

public ModelMonitoringStatsAnomalies.Builder setDeployedModelId(String value)

Deployed Model ID.

string deployed_model_id = 2;

Parameter
Name Description
value String

The deployedModelId to set.

Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

setDeployedModelIdBytes(ByteString value)

public ModelMonitoringStatsAnomalies.Builder setDeployedModelIdBytes(ByteString value)

Deployed Model ID.

string deployed_model_id = 2;

Parameter
Name Description
value ByteString

The bytes for deployedModelId to set.

Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

setFeatureStats(int index, ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies value)

public ModelMonitoringStatsAnomalies.Builder setFeatureStats(int index, ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies value)

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

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

Parameters
Name Description
index int
value ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

setFeatureStats(int index, ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder builderForValue)

public ModelMonitoringStatsAnomalies.Builder setFeatureStats(int index, ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringStatsAnomalies.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides

setObjective(ModelDeploymentMonitoringObjectiveType value)

public ModelMonitoringStatsAnomalies.Builder setObjective(ModelDeploymentMonitoringObjectiveType value)

Model Monitoring Objective those stats and anomalies belonging to.

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

Parameter
Name Description
value ModelDeploymentMonitoringObjectiveType

The objective to set.

Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

setObjectiveValue(int value)

public ModelMonitoringStatsAnomalies.Builder setObjectiveValue(int value)

Model Monitoring Objective those stats and anomalies belonging to.

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

Parameter
Name Description
value int

The enum numeric value on the wire for objective to set.

Returns
Type Description
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ModelMonitoringStatsAnomalies.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringStatsAnomalies.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringStatsAnomalies.Builder
Overrides