- 3.77.0 (latest)
- 3.76.0
- 3.75.0
- 3.74.0
- 3.73.0
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class ModelMonitoringObjectiveSpec.DataDriftSpec.Builder extends GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder> implements ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderData 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModelMonitoringObjectiveSpec.DataDriftSpec.BuilderStatic 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 | StringThe 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 | ByteStringThe 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 | |
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 | |
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 | |
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 | |
clone()
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| ModelMonitoringObjectiveSpec.DataDriftSpec.Builder | |
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 | |
getFeatureAlertConditions() (deprecated)
public Map<String,ModelMonitoringAlertCondition> getFeatureAlertConditions()Use #getFeatureAlertConditionsMap() instead.
| 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 | intThe 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 | intThe 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 | |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description | 
| number | int | 
| Returns | |
|---|---|
| Type | Description | 
| com.google.protobuf.MapFieldReflectionAccessor | |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description | 
| number | int | 
| Returns | |
|---|---|
| Type | Description | 
| com.google.protobuf.MapFieldReflectionAccessor | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
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 | |
| 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 | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ModelMonitoringObjectiveSpec.DataDriftSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ModelMonitoringObjectiveSpec.DataDriftSpec.Builder | |
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 | StringThe 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 | ByteStringThe 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 | intThe index to set the value at. | 
| value | StringThe 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 | |
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 | StringThe 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 | ByteStringThe 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 | |
setUnknownFields(UnknownFieldSet unknownFields)
public final ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ModelMonitoringObjectiveSpec.DataDriftSpec.Builder | |