Class ModelMonitoringObjectiveConfig (3.55.0)

public final class ModelMonitoringObjectiveConfig extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfigOrBuilder

The objective configuration for model monitoring, including the information needed to detect anomalies for one particular model.

Protobuf type google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelMonitoringObjectiveConfig

Static Fields

EXPLANATION_CONFIG_FIELD_NUMBER

public static final int EXPLANATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PREDICTION_DRIFT_DETECTION_CONFIG_FIELD_NUMBER

public static final int PREDICTION_DRIFT_DETECTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

TRAINING_DATASET_FIELD_NUMBER

public static final int TRAINING_DATASET_FIELD_NUMBER
Field Value
Type Description
int

TRAINING_PREDICTION_SKEW_DETECTION_CONFIG_FIELD_NUMBER

public static final int TRAINING_PREDICTION_SKEW_DETECTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringObjectiveConfig getDefaultInstance()
Returns
Type Description
ModelMonitoringObjectiveConfig

getDescriptor()

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

newBuilder()

public static ModelMonitoringObjectiveConfig.Builder newBuilder()
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

newBuilder(ModelMonitoringObjectiveConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static ModelMonitoringObjectiveConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringObjectiveConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ModelMonitoringObjectiveConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelMonitoringObjectiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ModelMonitoringObjectiveConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelMonitoringObjectiveConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ModelMonitoringObjectiveConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringObjectiveConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ModelMonitoringObjectiveConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelMonitoringObjectiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ModelMonitoringObjectiveConfig> parser()
Returns
Type Description
Parser<ModelMonitoringObjectiveConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringObjectiveConfig

getExplanationConfig()

public ModelMonitoringObjectiveConfig.ExplanationConfig getExplanationConfig()

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Returns
Type Description
ModelMonitoringObjectiveConfig.ExplanationConfig

The explanationConfig.

getExplanationConfigOrBuilder()

public ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder getExplanationConfigOrBuilder()

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Returns
Type Description
ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder

getParserForType()

public Parser<ModelMonitoringObjectiveConfig> getParserForType()
Returns
Type Description
Parser<ModelMonitoringObjectiveConfig>
Overrides

getPredictionDriftDetectionConfig()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getPredictionDriftDetectionConfig()

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

The predictionDriftDetectionConfig.

getPredictionDriftDetectionConfigOrBuilder()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder getPredictionDriftDetectionConfigOrBuilder()

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTrainingDataset()

public ModelMonitoringObjectiveConfig.TrainingDataset getTrainingDataset()

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset

The trainingDataset.

getTrainingDatasetOrBuilder()

public ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder getTrainingDatasetOrBuilder()

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder

getTrainingPredictionSkewDetectionConfig()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getTrainingPredictionSkewDetectionConfig()

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig

The trainingPredictionSkewDetectionConfig.

getTrainingPredictionSkewDetectionConfigOrBuilder()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder getTrainingPredictionSkewDetectionConfigOrBuilder()

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder

hasExplanationConfig()

public boolean hasExplanationConfig()

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Returns
Type Description
boolean

Whether the explanationConfig field is set.

hasPredictionDriftDetectionConfig()

public boolean hasPredictionDriftDetectionConfig()

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Returns
Type Description
boolean

Whether the predictionDriftDetectionConfig field is set.

hasTrainingDataset()

public boolean hasTrainingDataset()

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
Type Description
boolean

Whether the trainingDataset field is set.

hasTrainingPredictionSkewDetectionConfig()

public boolean hasTrainingPredictionSkewDetectionConfig()

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Returns
Type Description
boolean

Whether the trainingPredictionSkewDetectionConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ModelMonitoringObjectiveConfig.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ModelMonitoringObjectiveConfig.Builder toBuilder()
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

writeTo(CodedOutputStream output)

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