Class ModelMonitoringObjectiveSpec.DataDriftSpec.Builder (3.55.0)

public static final class ModelMonitoringObjectiveSpec.DataDriftSpec.Builder extends GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder> implements ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilder

Data drift monitoring spec. Data drift measures the distribution distance between the current dataset and a baseline dataset. A typical use case is to detect data drift between the recent production serving dataset and the training dataset, or to compare the recent production dataset with a dataset from a previous period.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.DataDriftSpec

Static Methods

getDescriptor()

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

Methods

addAllFeatures(Iterable<String> values)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder addAllFeatures(Iterable<String> values)

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Parameter
Name Description
values Iterable<String>

The features to add.

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

addFeatures(String value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder addFeatures(String value)

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Parameter
Name Description
value String

The features to add.

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

addFeaturesBytes(ByteString value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder addFeaturesBytes(ByteString value)

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Parameter
Name Description
value ByteString

The bytes of the features to add.

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelMonitoringObjectiveSpec.DataDriftSpec build()
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec

buildPartial()

public ModelMonitoringObjectiveSpec.DataDriftSpec buildPartial()
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec

clear()

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clear()
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder
Overrides

clearCategoricalMetricType()

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearCategoricalMetricType()

Supported metrics type:

  • l_infinity
  • jensen_shannon_divergence

string categorical_metric_type = 2;

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

clearDefaultCategoricalAlertCondition()

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearDefaultCategoricalAlertCondition()

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

clearDefaultNumericAlertCondition()

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearDefaultNumericAlertCondition()

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

clearFeatureAlertConditions()

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearFeatureAlertConditions()
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

clearFeatures()

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearFeatures()

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearNumericMetricType()

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearNumericMetricType()

Supported metrics type:

  • jensen_shannon_divergence

string numeric_metric_type = 3;

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clone()
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder
Overrides

containsFeatureAlertConditions(String key)

public boolean containsFeatureAlertConditions(String key)

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCategoricalMetricType()

public String getCategoricalMetricType()

Supported metrics type:

  • l_infinity
  • jensen_shannon_divergence

string categorical_metric_type = 2;

Returns
Type Description
String

The categoricalMetricType.

getCategoricalMetricTypeBytes()

public ByteString getCategoricalMetricTypeBytes()

Supported metrics type:

  • l_infinity
  • jensen_shannon_divergence

string categorical_metric_type = 2;

Returns
Type Description
ByteString

The bytes for categoricalMetricType.

getDefaultCategoricalAlertCondition()

public ModelMonitoringAlertCondition getDefaultCategoricalAlertCondition()

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Returns
Type Description
ModelMonitoringAlertCondition

The defaultCategoricalAlertCondition.

getDefaultCategoricalAlertConditionBuilder()

public ModelMonitoringAlertCondition.Builder getDefaultCategoricalAlertConditionBuilder()

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Returns
Type Description
ModelMonitoringAlertCondition.Builder

getDefaultCategoricalAlertConditionOrBuilder()

public ModelMonitoringAlertConditionOrBuilder getDefaultCategoricalAlertConditionOrBuilder()

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Returns
Type Description
ModelMonitoringAlertConditionOrBuilder

getDefaultInstanceForType()

public ModelMonitoringObjectiveSpec.DataDriftSpec getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec

getDefaultNumericAlertCondition()

public ModelMonitoringAlertCondition getDefaultNumericAlertCondition()

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Returns
Type Description
ModelMonitoringAlertCondition

The defaultNumericAlertCondition.

getDefaultNumericAlertConditionBuilder()

public ModelMonitoringAlertCondition.Builder getDefaultNumericAlertConditionBuilder()

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Returns
Type Description
ModelMonitoringAlertCondition.Builder

getDefaultNumericAlertConditionOrBuilder()

public ModelMonitoringAlertConditionOrBuilder getDefaultNumericAlertConditionOrBuilder()

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Returns
Type Description
ModelMonitoringAlertConditionOrBuilder

getDescriptorForType()

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

getFeatureAlertConditions() (deprecated)

public Map<String,ModelMonitoringAlertCondition> getFeatureAlertConditions()
Returns
Type Description
Map<String,ModelMonitoringAlertCondition>

getFeatureAlertConditionsCount()

public int getFeatureAlertConditionsCount()

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Returns
Type Description
int

getFeatureAlertConditionsMap()

public Map<String,ModelMonitoringAlertCondition> getFeatureAlertConditionsMap()

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Returns
Type Description
Map<String,ModelMonitoringAlertCondition>

getFeatureAlertConditionsOrDefault(String key, ModelMonitoringAlertCondition defaultValue)

public ModelMonitoringAlertCondition getFeatureAlertConditionsOrDefault(String key, ModelMonitoringAlertCondition defaultValue)

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Parameters
Name Description
key String
defaultValue ModelMonitoringAlertCondition
Returns
Type Description
ModelMonitoringAlertCondition

getFeatureAlertConditionsOrThrow(String key)

public ModelMonitoringAlertCondition getFeatureAlertConditionsOrThrow(String key)

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Parameter
Name Description
key String
Returns
Type Description
ModelMonitoringAlertCondition

getFeatures(int index)

public String getFeatures(int index)

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The features at the given index.

getFeaturesBytes(int index)

public ByteString getFeaturesBytes(int index)

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the features at the given index.

getFeaturesCount()

public int getFeaturesCount()

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Returns
Type Description
int

The count of features.

getFeaturesList()

public ProtocolStringList getFeaturesList()

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Returns
Type Description
ProtocolStringList

A list containing the features.

getMutableFeatureAlertConditions() (deprecated)

public Map<String,ModelMonitoringAlertCondition> getMutableFeatureAlertConditions()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ModelMonitoringAlertCondition>

getNumericMetricType()

public String getNumericMetricType()

Supported metrics type:

  • jensen_shannon_divergence

string numeric_metric_type = 3;

Returns
Type Description
String

The numericMetricType.

getNumericMetricTypeBytes()

public ByteString getNumericMetricTypeBytes()

Supported metrics type:

  • jensen_shannon_divergence

string numeric_metric_type = 3;

Returns
Type Description
ByteString

The bytes for numericMetricType.

hasDefaultCategoricalAlertCondition()

public boolean hasDefaultCategoricalAlertCondition()

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Returns
Type Description
boolean

Whether the defaultCategoricalAlertCondition field is set.

hasDefaultNumericAlertCondition()

public boolean hasDefaultNumericAlertCondition()

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Returns
Type Description
boolean

Whether the defaultNumericAlertCondition field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDefaultCategoricalAlertCondition(ModelMonitoringAlertCondition value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder mergeDefaultCategoricalAlertCondition(ModelMonitoringAlertCondition value)

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Parameter
Name Description
value ModelMonitoringAlertCondition
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

mergeDefaultNumericAlertCondition(ModelMonitoringAlertCondition value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder mergeDefaultNumericAlertCondition(ModelMonitoringAlertCondition value)

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Parameter
Name Description
value ModelMonitoringAlertCondition
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

mergeFrom(ModelMonitoringObjectiveSpec.DataDriftSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllFeatureAlertConditions(Map<String,ModelMonitoringAlertCondition> values)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder putAllFeatureAlertConditions(Map<String,ModelMonitoringAlertCondition> values)

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Parameter
Name Description
values Map<String,ModelMonitoringAlertCondition>
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

putFeatureAlertConditions(String key, ModelMonitoringAlertCondition value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder putFeatureAlertConditions(String key, ModelMonitoringAlertCondition value)

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Parameters
Name Description
key String
value ModelMonitoringAlertCondition
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

putFeatureAlertConditionsBuilderIfAbsent(String key)

public ModelMonitoringAlertCondition.Builder putFeatureAlertConditionsBuilderIfAbsent(String key)

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Parameter
Name Description
key String
Returns
Type Description
ModelMonitoringAlertCondition.Builder

removeFeatureAlertConditions(String key)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder removeFeatureAlertConditions(String key)

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Parameter
Name Description
key String
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

setCategoricalMetricType(String value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setCategoricalMetricType(String value)

Supported metrics type:

  • l_infinity
  • jensen_shannon_divergence

string categorical_metric_type = 2;

Parameter
Name Description
value String

The categoricalMetricType to set.

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

setCategoricalMetricTypeBytes(ByteString value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setCategoricalMetricTypeBytes(ByteString value)

Supported metrics type:

  • l_infinity
  • jensen_shannon_divergence

string categorical_metric_type = 2;

Parameter
Name Description
value ByteString

The bytes for categoricalMetricType to set.

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

setDefaultCategoricalAlertCondition(ModelMonitoringAlertCondition value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setDefaultCategoricalAlertCondition(ModelMonitoringAlertCondition value)

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Parameter
Name Description
value ModelMonitoringAlertCondition
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

setDefaultCategoricalAlertCondition(ModelMonitoringAlertCondition.Builder builderForValue)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setDefaultCategoricalAlertCondition(ModelMonitoringAlertCondition.Builder builderForValue)

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Parameter
Name Description
builderForValue ModelMonitoringAlertCondition.Builder
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

setDefaultNumericAlertCondition(ModelMonitoringAlertCondition value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setDefaultNumericAlertCondition(ModelMonitoringAlertCondition value)

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Parameter
Name Description
value ModelMonitoringAlertCondition
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

setDefaultNumericAlertCondition(ModelMonitoringAlertCondition.Builder builderForValue)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setDefaultNumericAlertCondition(ModelMonitoringAlertCondition.Builder builderForValue)

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Parameter
Name Description
builderForValue ModelMonitoringAlertCondition.Builder
Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

setFeatures(int index, String value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setFeatures(int index, String value)

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The features to set.

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setNumericMetricType(String value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setNumericMetricType(String value)

Supported metrics type:

  • jensen_shannon_divergence

string numeric_metric_type = 3;

Parameter
Name Description
value String

The numericMetricType to set.

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

setNumericMetricTypeBytes(ByteString value)

public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setNumericMetricTypeBytes(ByteString value)

Supported metrics type:

  • jensen_shannon_divergence

string numeric_metric_type = 3;

Parameter
Name Description
value ByteString

The bytes for numericMetricType to set.

Returns
Type Description
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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