Class ModelMonitoringObjectiveSpec.FeatureAttributionSpec (3.43.0)

public static final class ModelMonitoringObjectiveSpec.FeatureAttributionSpec extends GeneratedMessageV3 implements ModelMonitoringObjectiveSpec.FeatureAttributionSpecOrBuilder

Feature attribution monitoring spec.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelMonitoringObjectiveSpec.FeatureAttributionSpec

Static Fields

BATCH_EXPLANATION_DEDICATED_RESOURCES_FIELD_NUMBER

public static final int BATCH_EXPLANATION_DEDICATED_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_ALERT_CONDITION_FIELD_NUMBER

public static final int DEFAULT_ALERT_CONDITION_FIELD_NUMBER
Field Value
Type Description
int

FEATURES_FIELD_NUMBER

public static final int FEATURES_FIELD_NUMBER
Field Value
Type Description
int

FEATURE_ALERT_CONDITIONS_FIELD_NUMBER

public static final int FEATURE_ALERT_CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec getDefaultInstance()
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec

getDescriptor()

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

newBuilder()

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder newBuilder()
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder

newBuilder(ModelMonitoringObjectiveSpec.FeatureAttributionSpec prototype)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder newBuilder(ModelMonitoringObjectiveSpec.FeatureAttributionSpec prototype)
Parameter
Name Description
prototype ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder

parseDelimitedFrom(InputStream input)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveSpec.FeatureAttributionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ModelMonitoringObjectiveSpec.FeatureAttributionSpec> parser()
Returns
Type Description
Parser<FeatureAttributionSpec>

Methods

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 = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBatchExplanationDedicatedResources()

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;

Returns
Type Description
BatchDedicatedResources

The batchExplanationDedicatedResources.

getBatchExplanationDedicatedResourcesOrBuilder()

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;

Returns
Type Description
BatchDedicatedResourcesOrBuilder

getDefaultAlertCondition()

public ModelMonitoringAlertCondition getDefaultAlertCondition()

Default alert condition for all the features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2;

Returns
Type Description
ModelMonitoringAlertCondition

The defaultAlertCondition.

getDefaultAlertConditionOrBuilder()

public ModelMonitoringAlertConditionOrBuilder getDefaultAlertConditionOrBuilder()

Default alert condition for all the features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_alert_condition = 2;

Returns
Type Description
ModelMonitoringAlertConditionOrBuilder

getDefaultInstanceForType()

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

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 = 3;

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 = 3;

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 = 3;

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 = 3;

Parameter
Name Description
key String
Returns
Type Description
ModelMonitoringAlertCondition

getFeatures(int index)

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.

getFeaturesBytes(int 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.

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;

Returns
Type Description
int

The count of features.

getFeaturesList()

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;

Returns
Type Description
ProtocolStringList

A list containing the features.

getParserForType()

public Parser<ModelMonitoringObjectiveSpec.FeatureAttributionSpec> getParserForType()
Returns
Type Description
Parser<FeatureAttributionSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
boolean

Whether the batchExplanationDedicatedResources field is set.

hasDefaultAlertCondition()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder toBuilder()
Returns
Type Description
ModelMonitoringObjectiveSpec.FeatureAttributionSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException