Class ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder>
com.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder
- All Implemented Interfaces:
ModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ModelMonitoringObjectiveSpec.FeatureAttributionSpec
public static final class ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder>
implements ModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder
Feature attribution monitoring spec.Protobuf type
google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.FeatureAttributionSpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllFeatures(Iterable<String> values) Feature names interested in monitoring.addFeatures(String value) Feature names interested in monitoring.addFeaturesBytes(com.google.protobuf.ByteString value) Feature names interested in monitoring.build()clear()The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models.Default alert condition for all the features.Feature names interested in monitoring.booleanPer feature alert condition will override default alert condition.The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models.The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models.The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models.Default alert condition for all the features.Default alert condition for all the features.Default alert condition for all the features.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intPer feature alert condition will override default alert condition.Per feature alert condition will override default alert condition.getFeatureAlertConditionsOrDefault(String key, ModelMonitoringAlertCondition defaultValue) Per feature alert condition will override default alert condition.Per feature alert condition will override default alert condition.getFeatures(int index) Feature names interested in monitoring.com.google.protobuf.ByteStringgetFeaturesBytes(int index) Feature names interested in monitoring.intFeature names interested in monitoring.com.google.protobuf.ProtocolStringListFeature names interested in monitoring.Deprecated.booleanThe config of resources used by the Model Monitoring during the batch explanation for non-AutoML models.booleanDefault alert condition for all the features.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanThe config of resources used by the Model Monitoring during the batch explanation for non-AutoML models.Default alert condition for all the features.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Per feature alert condition will override default alert condition.Per feature alert condition will override default alert condition.Per feature alert condition will override default alert condition.Per feature alert condition will override default alert condition.The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models.setBatchExplanationDedicatedResources(BatchDedicatedResources.Builder builderForValue) The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models.Default alert condition for all the features.setDefaultAlertCondition(ModelMonitoringAlertCondition.Builder builderForValue) Default alert condition for all the features.setFeatures(int index, String value) Feature names interested in monitoring.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder>
-
mergeFrom
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder>- Throws:
IOException
-
getFeaturesList
public com.google.protobuf.ProtocolStringList getFeaturesList()Feature names interested in monitoring. These should be a subset of the input feature names specified in the monitoring schema. If the field is not specified all features outlied in the monitoring schema will be used.
repeated string features = 1;- Specified by:
getFeaturesListin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder- Returns:
- A list containing the features.
-
getFeaturesCount
public int getFeaturesCount()Feature names interested in monitoring. These should be a subset of the input feature names specified in the monitoring schema. If the field is not specified all features outlied in the monitoring schema will be used.
repeated string features = 1;- Specified by:
getFeaturesCountin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder- Returns:
- The count of features.
-
getFeatures
Feature names interested in monitoring. These should be a subset of the input feature names specified in the monitoring schema. If the field is not specified all features outlied in the monitoring schema will be used.
repeated string features = 1;- Specified by:
getFeaturesin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The features at the given index.
-
getFeaturesBytes
public com.google.protobuf.ByteString getFeaturesBytes(int index) Feature names interested in monitoring. These should be a subset of the input feature names specified in the monitoring schema. If the field is not specified all features outlied in the monitoring schema will be used.
repeated string features = 1;- Specified by:
getFeaturesBytesin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the features at the given index.
-
setFeatures
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder setFeatures(int index, String value) Feature names interested in monitoring. These should be a subset of the input feature names specified in the monitoring schema. If the field is not specified all features outlied in the monitoring schema will be used.
repeated string features = 1;- Parameters:
index- The index to set the value at.value- The features to set.- Returns:
- This builder for chaining.
-
addFeatures
Feature names interested in monitoring. These should be a subset of the input feature names specified in the monitoring schema. If the field is not specified all features outlied in the monitoring schema will be used.
repeated string features = 1;- Parameters:
value- The features to add.- Returns:
- This builder for chaining.
-
addAllFeatures
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder addAllFeatures(Iterable<String> values) Feature names interested in monitoring. These should be a subset of the input feature names specified in the monitoring schema. If the field is not specified all features outlied in the monitoring schema will be used.
repeated string features = 1;- Parameters:
values- The features to add.- Returns:
- This builder for chaining.
-
clearFeatures
Feature names interested in monitoring. These should be a subset of the input feature names specified in the monitoring schema. If the field is not specified all features outlied in the monitoring schema will be used.
repeated string features = 1;- Returns:
- This builder for chaining.
-
addFeaturesBytes
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder addFeaturesBytes(com.google.protobuf.ByteString value) Feature names interested in monitoring. These should be a subset of the input feature names specified in the monitoring schema. If the field is not specified all features outlied in the monitoring schema will be used.
repeated string features = 1;- Parameters:
value- The bytes of the features to add.- Returns:
- This builder for chaining.
-
hasDefaultAlertCondition
public boolean hasDefaultAlertCondition()Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2;- Specified by:
hasDefaultAlertConditionin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder- Returns:
- Whether the defaultAlertCondition field is set.
-
getDefaultAlertCondition
Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2;- Specified by:
getDefaultAlertConditionin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder- Returns:
- The defaultAlertCondition.
-
setDefaultAlertCondition
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder setDefaultAlertCondition(ModelMonitoringAlertCondition value) Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2; -
setDefaultAlertCondition
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder setDefaultAlertCondition(ModelMonitoringAlertCondition.Builder builderForValue) Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2; -
mergeDefaultAlertCondition
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder mergeDefaultAlertCondition(ModelMonitoringAlertCondition value) Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2; -
clearDefaultAlertCondition
Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2; -
getDefaultAlertConditionBuilder
Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2; -
getDefaultAlertConditionOrBuilder
Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2;- Specified by:
getDefaultAlertConditionOrBuilderin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder
-
getFeatureAlertConditionsCount
public int getFeatureAlertConditionsCount()Description copied from interface:ModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilderPer feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 3;- Specified by:
getFeatureAlertConditionsCountin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder
-
containsFeatureAlertConditions
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 3;- Specified by:
containsFeatureAlertConditionsin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder
-
getFeatureAlertConditions
Deprecated.UsegetFeatureAlertConditionsMap()instead.- Specified by:
getFeatureAlertConditionsin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder
-
getFeatureAlertConditionsMap
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 3;- Specified by:
getFeatureAlertConditionsMapin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder
-
getFeatureAlertConditionsOrDefault
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 = 3;- Specified by:
getFeatureAlertConditionsOrDefaultin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder
-
getFeatureAlertConditionsOrThrow
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 3;- Specified by:
getFeatureAlertConditionsOrThrowin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder
-
clearFeatureAlertConditions
-
removeFeatureAlertConditions
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder removeFeatureAlertConditions(String key) Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 3; -
getMutableFeatureAlertConditions
Deprecated.Use alternate mutation accessors instead. -
putFeatureAlertConditions
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.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 = 3; -
putAllFeatureAlertConditions
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.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 = 3; -
putFeatureAlertConditionsBuilderIfAbsent
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 3; -
hasBatchExplanationDedicatedResources
public boolean hasBatchExplanationDedicatedResources()The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models. If not set, `n1-standard-2` machine type will be used by default.
.google.cloud.aiplatform.v1beta1.BatchDedicatedResources batch_explanation_dedicated_resources = 4;- Specified by:
hasBatchExplanationDedicatedResourcesin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder- Returns:
- Whether the batchExplanationDedicatedResources field is set.
-
getBatchExplanationDedicatedResources
The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models. If not set, `n1-standard-2` machine type will be used by default.
.google.cloud.aiplatform.v1beta1.BatchDedicatedResources batch_explanation_dedicated_resources = 4;- Specified by:
getBatchExplanationDedicatedResourcesin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder- Returns:
- The batchExplanationDedicatedResources.
-
setBatchExplanationDedicatedResources
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder setBatchExplanationDedicatedResources(BatchDedicatedResources value) The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models. If not set, `n1-standard-2` machine type will be used by default.
.google.cloud.aiplatform.v1beta1.BatchDedicatedResources batch_explanation_dedicated_resources = 4; -
setBatchExplanationDedicatedResources
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder setBatchExplanationDedicatedResources(BatchDedicatedResources.Builder builderForValue) The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models. If not set, `n1-standard-2` machine type will be used by default.
.google.cloud.aiplatform.v1beta1.BatchDedicatedResources batch_explanation_dedicated_resources = 4; -
mergeBatchExplanationDedicatedResources
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder mergeBatchExplanationDedicatedResources(BatchDedicatedResources value) The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models. If not set, `n1-standard-2` machine type will be used by default.
.google.cloud.aiplatform.v1beta1.BatchDedicatedResources batch_explanation_dedicated_resources = 4; -
clearBatchExplanationDedicatedResources
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder clearBatchExplanationDedicatedResources()The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models. If not set, `n1-standard-2` machine type will be used by default.
.google.cloud.aiplatform.v1beta1.BatchDedicatedResources batch_explanation_dedicated_resources = 4; -
getBatchExplanationDedicatedResourcesBuilder
The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models. If not set, `n1-standard-2` machine type will be used by default.
.google.cloud.aiplatform.v1beta1.BatchDedicatedResources batch_explanation_dedicated_resources = 4; -
getBatchExplanationDedicatedResourcesOrBuilder
The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models. If not set, `n1-standard-2` machine type will be used by default.
.google.cloud.aiplatform.v1beta1.BatchDedicatedResources batch_explanation_dedicated_resources = 4;- Specified by:
getBatchExplanationDedicatedResourcesOrBuilderin interfaceModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder
-