public static final class ModelMonitoringObjectiveSpec.FeatureAttributionSpec extends GeneratedMessageV3 implements ModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder
Feature attribution monitoring spec.
Protobuf type
google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int BATCH_EXPLANATION_DEDICATED_RESOURCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEFAULT_ALERT_CONDITION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FEATURES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FEATURE_ALERT_CONDITIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder newBuilder()
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder newBuilder(ModelMonitoringObjectiveSpec.FeatureAttributionSpec prototype)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseDelimitedFrom(InputStream input)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(ByteString data)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(CodedInputStream input)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(InputStream input)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(ByteBuffer data)
public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ModelMonitoringObjectiveSpec.FeatureAttributionSpec> parser()
Methods
public boolean containsFeatureAlertConditions(String key)
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 3;
Parameter |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public BatchDedicatedResources 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;
public BatchDedicatedResourcesOrBuilder 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;
public ModelMonitoringAlertCondition getDefaultAlertCondition()
Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2;
public ModelMonitoringAlertConditionOrBuilder getDefaultAlertConditionOrBuilder()
Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2;
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec getDefaultInstanceForType()
public Map<String,ModelMonitoringAlertCondition> getFeatureAlertConditions()
public int getFeatureAlertConditionsCount()
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 3;
Returns |
Type |
Description |
int |
|
public Map<String,ModelMonitoringAlertCondition> getFeatureAlertConditionsMap()
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 3;
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;
public ModelMonitoringAlertCondition getFeatureAlertConditionsOrThrow(String key)
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 3;
Parameter |
Name |
Description |
key |
String
|
public String getFeatures(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;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The features at the given index.
|
public 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;
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.
|
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;
Returns |
Type |
Description |
int |
The count of features.
|
public 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;
public Parser<ModelMonitoringObjectiveSpec.FeatureAttributionSpec> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
Returns |
Type |
Description |
boolean |
Whether the batchExplanationDedicatedResources field is set.
|
public boolean hasDefaultAlertCondition()
Default alert condition for all the features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2;
Returns |
Type |
Description |
boolean |
Whether the defaultAlertCondition field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder newBuilderForType()
protected ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides