Package com.google.cloud.aiplatform.v1
Class ModelMonitoringObjectiveConfig.ExplanationConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.ExplanationConfig.Builder>
com.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.Builder
- All Implemented Interfaces:
ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ModelMonitoringObjectiveConfig.ExplanationConfig
public static final class ModelMonitoringObjectiveConfig.ExplanationConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.ExplanationConfig.Builder>
implements ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder
The config for integrating with Vertex Explainable AI. Only applicable if the Model has explanation_spec populated.Protobuf type
google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()If want to analyze the Vertex Explainable AI feature attribute scores or not.Predictions generated by the BatchPredictionJob using baseline dataset.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf want to analyze the Vertex Explainable AI feature attribute scores or not.Predictions generated by the BatchPredictionJob using baseline dataset.Predictions generated by the BatchPredictionJob using baseline dataset.Predictions generated by the BatchPredictionJob using baseline dataset.booleanPredictions generated by the BatchPredictionJob using baseline dataset.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExplanationBaseline(ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline value) Predictions generated by the BatchPredictionJob using baseline dataset.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEnableFeatureAttributes(boolean value) If want to analyze the Vertex Explainable AI feature attribute scores or not.Predictions generated by the BatchPredictionJob using baseline dataset.setExplanationBaseline(ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.Builder builderForValue) Predictions generated by the BatchPredictionJob using baseline dataset.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.ExplanationConfig.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<ModelMonitoringObjectiveConfig.ExplanationConfig.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<ModelMonitoringObjectiveConfig.ExplanationConfig.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 ModelMonitoringObjectiveConfig.ExplanationConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveConfig.ExplanationConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.ExplanationConfig.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.ExplanationConfig.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<ModelMonitoringObjectiveConfig.ExplanationConfig.Builder>- Throws:
IOException
-
getEnableFeatureAttributes
public boolean getEnableFeatureAttributes()If want to analyze the Vertex Explainable AI feature attribute scores or not. If set to true, Vertex AI will log the feature attributions from explain response and do the skew/drift detection for them.
bool enable_feature_attributes = 1;- Specified by:
getEnableFeatureAttributesin interfaceModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder- Returns:
- The enableFeatureAttributes.
-
setEnableFeatureAttributes
public ModelMonitoringObjectiveConfig.ExplanationConfig.Builder setEnableFeatureAttributes(boolean value) If want to analyze the Vertex Explainable AI feature attribute scores or not. If set to true, Vertex AI will log the feature attributions from explain response and do the skew/drift detection for them.
bool enable_feature_attributes = 1;- Parameters:
value- The enableFeatureAttributes to set.- Returns:
- This builder for chaining.
-
clearEnableFeatureAttributes
If want to analyze the Vertex Explainable AI feature attribute scores or not. If set to true, Vertex AI will log the feature attributions from explain response and do the skew/drift detection for them.
bool enable_feature_attributes = 1;- Returns:
- This builder for chaining.
-
hasExplanationBaseline
public boolean hasExplanationBaseline()Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2;- Specified by:
hasExplanationBaselinein interfaceModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder- Returns:
- Whether the explanationBaseline field is set.
-
getExplanationBaseline
public ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline getExplanationBaseline()Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2;- Specified by:
getExplanationBaselinein interfaceModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder- Returns:
- The explanationBaseline.
-
setExplanationBaseline
public ModelMonitoringObjectiveConfig.ExplanationConfig.Builder setExplanationBaseline(ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline value) Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2; -
setExplanationBaseline
public ModelMonitoringObjectiveConfig.ExplanationConfig.Builder setExplanationBaseline(ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.Builder builderForValue) Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2; -
mergeExplanationBaseline
public ModelMonitoringObjectiveConfig.ExplanationConfig.Builder mergeExplanationBaseline(ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline value) Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2; -
clearExplanationBaseline
Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2; -
getExplanationBaselineBuilder
public ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.Builder getExplanationBaselineBuilder()Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2; -
getExplanationBaselineOrBuilder
public ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaselineOrBuilder getExplanationBaselineOrBuilder()Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2;- Specified by:
getExplanationBaselineOrBuilderin interfaceModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder
-