Class ModelMonitoringObjectiveConfig (3.4.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.v1beta1.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
TypeDescription
int

PREDICTION_DRIFT_DETECTION_CONFIG_FIELD_NUMBER

public static final int PREDICTION_DRIFT_DETECTION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

TRAINING_DATASET_FIELD_NUMBER

public static final int TRAINING_DATASET_FIELD_NUMBER
Field Value
TypeDescription
int

TRAINING_PREDICTION_SKEW_DETECTION_CONFIG_FIELD_NUMBER

public static final int TRAINING_PREDICTION_SKEW_DETECTION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ModelMonitoringObjectiveConfig getDefaultInstance()
Returns
TypeDescription
ModelMonitoringObjectiveConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ModelMonitoringObjectiveConfig.Builder newBuilder()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

newBuilder(ModelMonitoringObjectiveConfig prototype)

public static ModelMonitoringObjectiveConfig.Builder newBuilder(ModelMonitoringObjectiveConfig prototype)
Parameter
NameDescription
prototypeModelMonitoringObjectiveConfig
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

parseDelimitedFrom(InputStream input)

public static ModelMonitoringObjectiveConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ModelMonitoringObjectiveConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelMonitoringObjectiveConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelMonitoringObjectiveConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ModelMonitoringObjectiveConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ModelMonitoringObjectiveConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ModelMonitoringObjectiveConfig> parser()
Returns
TypeDescription
Parser<ModelMonitoringObjectiveConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig getDefaultInstanceForType()
Returns
TypeDescription
ModelMonitoringObjectiveConfig

getExplanationConfig()

public ModelMonitoringObjectiveConfig.ExplanationConfig getExplanationConfig()

The config for integrating with Vertex Explainable AI.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.ExplanationConfig

The explanationConfig.

getExplanationConfigOrBuilder()

public ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder getExplanationConfigOrBuilder()

The config for integrating with Vertex Explainable AI.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder

getParserForType()

public Parser<ModelMonitoringObjectiveConfig> getParserForType()
Returns
TypeDescription
Parser<ModelMonitoringObjectiveConfig>
Overrides

getPredictionDriftDetectionConfig()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getPredictionDriftDetectionConfig()

The config for drift of prediction data.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

The predictionDriftDetectionConfig.

getPredictionDriftDetectionConfigOrBuilder()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder getPredictionDriftDetectionConfigOrBuilder()

The config for drift of prediction data.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder

getTrainingPredictionSkewDetectionConfig()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getTrainingPredictionSkewDetectionConfig()

The config for skew between training data and prediction data.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig

The trainingPredictionSkewDetectionConfig.

getTrainingPredictionSkewDetectionConfigOrBuilder()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder getTrainingPredictionSkewDetectionConfigOrBuilder()

The config for skew between training data and prediction data.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasExplanationConfig()

public boolean hasExplanationConfig()

The config for integrating with Vertex Explainable AI.

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

Returns
TypeDescription
boolean

Whether the explanationConfig field is set.

hasPredictionDriftDetectionConfig()

public boolean hasPredictionDriftDetectionConfig()

The config for drift of prediction data.

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

Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
TypeDescription
boolean

Whether the trainingDataset field is set.

hasTrainingPredictionSkewDetectionConfig()

public boolean hasTrainingPredictionSkewDetectionConfig()

The config for skew between training data and prediction data.

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

Returns
TypeDescription
boolean

Whether the trainingPredictionSkewDetectionConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ModelMonitoringObjectiveConfig.Builder newBuilderForType()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringObjectiveConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ModelMonitoringObjectiveConfig.Builder toBuilder()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException