Class ModelMonitoringStatsAnomalies.Builder (3.23.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.v1.ModelMonitoringStatsAnomalies

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies>
Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameter
NameDescription
valueModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies
Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameter
NameDescription
builderForValueModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder
Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameters
NameDescription
indexint
valueModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies
Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameters
NameDescription
indexint
builderForValueModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

addFeatureStatsBuilder()

public ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder addFeatureStatsBuilder()

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

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

Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringStatsAnomalies.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder
Overrides

build()

public ModelMonitoringStatsAnomalies build()
Returns
TypeDescription
ModelMonitoringStatsAnomalies

buildPartial()

public ModelMonitoringStatsAnomalies buildPartial()
Returns
TypeDescription
ModelMonitoringStatsAnomalies

clear()

public ModelMonitoringStatsAnomalies.Builder clear()
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder
Overrides

clearAnomalyCount()

public ModelMonitoringStatsAnomalies.Builder clearAnomalyCount()

Number of anomalies within all stats.

int32 anomaly_count = 3;

Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

clearDeployedModelId()

public ModelMonitoringStatsAnomalies.Builder clearDeployedModelId()

Deployed Model ID.

string deployed_model_id = 2;

Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringStatsAnomalies.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder
Overrides

clearObjective()

public ModelMonitoringStatsAnomalies.Builder clearObjective()

Model Monitoring Objective those stats and anomalies belonging to.

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

Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringStatsAnomalies.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Returns
TypeDescription
List<Builder>

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ModelMonitoringStatsAnomalies other)

public ModelMonitoringStatsAnomalies.Builder mergeFrom(ModelMonitoringStatsAnomalies other)
Parameter
NameDescription
otherModelMonitoringStatsAnomalies
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringStatsAnomalies.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ModelMonitoringStatsAnomalies.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringStatsAnomalies.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

setAnomalyCount(int value)

public ModelMonitoringStatsAnomalies.Builder setAnomalyCount(int value)

Number of anomalies within all stats.

int32 anomaly_count = 3;

Parameter
NameDescription
valueint

The anomalyCount to set.

Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

setDeployedModelId(String value)

public ModelMonitoringStatsAnomalies.Builder setDeployedModelId(String value)

Deployed Model ID.

string deployed_model_id = 2;

Parameter
NameDescription
valueString

The deployedModelId to set.

Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

This builder for chaining.

setDeployedModelIdBytes(ByteString value)

public ModelMonitoringStatsAnomalies.Builder setDeployedModelIdBytes(ByteString value)

Deployed Model ID.

string deployed_model_id = 2;

Parameter
NameDescription
valueByteString

The bytes for deployedModelId to set.

Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameters
NameDescription
indexint
valueModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies
Returns
TypeDescription
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.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies feature_stats = 4;

Parameters
NameDescription
indexint
builderForValueModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.Builder
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringStatsAnomalies.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder
Overrides

setObjective(ModelDeploymentMonitoringObjectiveType value)

public ModelMonitoringStatsAnomalies.Builder setObjective(ModelDeploymentMonitoringObjectiveType value)

Model Monitoring Objective those stats and anomalies belonging to.

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

Parameter
NameDescription
valueModelDeploymentMonitoringObjectiveType

The objective to set.

Returns
TypeDescription
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.v1.ModelDeploymentMonitoringObjectiveType objective = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringStatsAnomalies.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModelMonitoringStatsAnomalies.Builder
Overrides