Class ModelMonitoringConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig
All Implemented Interfaces:
ModelMonitoringConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ModelMonitoringConfig extends com.google.protobuf.GeneratedMessage implements ModelMonitoringConfigOrBuilder
 The model monitoring configuration used for Batch Prediction Job.
 
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringConfig
See Also:
  • Field Details

    • OBJECTIVE_CONFIGS_FIELD_NUMBER

      public static final int OBJECTIVE_CONFIGS_FIELD_NUMBER
      See Also:
    • ALERT_CONFIG_FIELD_NUMBER

      public static final int ALERT_CONFIG_FIELD_NUMBER
      See Also:
    • ANALYSIS_INSTANCE_SCHEMA_URI_FIELD_NUMBER

      public static final int ANALYSIS_INSTANCE_SCHEMA_URI_FIELD_NUMBER
      See Also:
    • STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER

      public static final int STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getObjectiveConfigsList

      public List<ModelMonitoringObjectiveConfig> getObjectiveConfigsList()
       Model monitoring objective config.
       
      repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      Specified by:
      getObjectiveConfigsList in interface ModelMonitoringConfigOrBuilder
    • getObjectiveConfigsOrBuilderList

      public List<? extends ModelMonitoringObjectiveConfigOrBuilder> getObjectiveConfigsOrBuilderList()
       Model monitoring objective config.
       
      repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      Specified by:
      getObjectiveConfigsOrBuilderList in interface ModelMonitoringConfigOrBuilder
    • getObjectiveConfigsCount

      public int getObjectiveConfigsCount()
       Model monitoring objective config.
       
      repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      Specified by:
      getObjectiveConfigsCount in interface ModelMonitoringConfigOrBuilder
    • getObjectiveConfigs

      public ModelMonitoringObjectiveConfig getObjectiveConfigs(int index)
       Model monitoring objective config.
       
      repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      Specified by:
      getObjectiveConfigs in interface ModelMonitoringConfigOrBuilder
    • getObjectiveConfigsOrBuilder

      public ModelMonitoringObjectiveConfigOrBuilder getObjectiveConfigsOrBuilder(int index)
       Model monitoring objective config.
       
      repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      Specified by:
      getObjectiveConfigsOrBuilder in interface ModelMonitoringConfigOrBuilder
    • hasAlertConfig

      public boolean hasAlertConfig()
       Model monitoring alert config.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
      Specified by:
      hasAlertConfig in interface ModelMonitoringConfigOrBuilder
      Returns:
      Whether the alertConfig field is set.
    • getAlertConfig

      public ModelMonitoringAlertConfig getAlertConfig()
       Model monitoring alert config.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
      Specified by:
      getAlertConfig in interface ModelMonitoringConfigOrBuilder
      Returns:
      The alertConfig.
    • getAlertConfigOrBuilder

      public ModelMonitoringAlertConfigOrBuilder getAlertConfigOrBuilder()
       Model monitoring alert config.
       
      .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
      Specified by:
      getAlertConfigOrBuilder in interface ModelMonitoringConfigOrBuilder
    • getAnalysisInstanceSchemaUri

      public String getAnalysisInstanceSchemaUri()
       YAML schema file uri in Cloud Storage describing the format of a single
       instance that you want Tensorflow Data Validation (TFDV) to analyze.
      
       If there are any data type differences between predict instance and TFDV
       instance, this field can be used to override the schema.
       For models trained with Vertex AI, this field must be set as all the
       fields in predict instance formatted as string.
       
      string analysis_instance_schema_uri = 4;
      Specified by:
      getAnalysisInstanceSchemaUri in interface ModelMonitoringConfigOrBuilder
      Returns:
      The analysisInstanceSchemaUri.
    • getAnalysisInstanceSchemaUriBytes

      public com.google.protobuf.ByteString getAnalysisInstanceSchemaUriBytes()
       YAML schema file uri in Cloud Storage describing the format of a single
       instance that you want Tensorflow Data Validation (TFDV) to analyze.
      
       If there are any data type differences between predict instance and TFDV
       instance, this field can be used to override the schema.
       For models trained with Vertex AI, this field must be set as all the
       fields in predict instance formatted as string.
       
      string analysis_instance_schema_uri = 4;
      Specified by:
      getAnalysisInstanceSchemaUriBytes in interface ModelMonitoringConfigOrBuilder
      Returns:
      The bytes for analysisInstanceSchemaUri.
    • hasStatsAnomaliesBaseDirectory

      public boolean hasStatsAnomaliesBaseDirectory()
       A Google Cloud Storage location for batch prediction model monitoring to
       dump statistics and anomalies.
       If not provided, a folder will be created in customer project to hold
       statistics and anomalies.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5;
      Specified by:
      hasStatsAnomaliesBaseDirectory in interface ModelMonitoringConfigOrBuilder
      Returns:
      Whether the statsAnomaliesBaseDirectory field is set.
    • getStatsAnomaliesBaseDirectory

      public GcsDestination getStatsAnomaliesBaseDirectory()
       A Google Cloud Storage location for batch prediction model monitoring to
       dump statistics and anomalies.
       If not provided, a folder will be created in customer project to hold
       statistics and anomalies.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5;
      Specified by:
      getStatsAnomaliesBaseDirectory in interface ModelMonitoringConfigOrBuilder
      Returns:
      The statsAnomaliesBaseDirectory.
    • getStatsAnomaliesBaseDirectoryOrBuilder

      public GcsDestinationOrBuilder getStatsAnomaliesBaseDirectoryOrBuilder()
       A Google Cloud Storage location for batch prediction model monitoring to
       dump statistics and anomalies.
       If not provided, a folder will be created in customer project to hold
       statistics and anomalies.
       
      .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5;
      Specified by:
      getStatsAnomaliesBaseDirectoryOrBuilder in interface ModelMonitoringConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ModelMonitoringConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ModelMonitoringConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ModelMonitoringConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ModelMonitoringConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ModelMonitoringConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ModelMonitoringConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ModelMonitoringConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ModelMonitoringConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ModelMonitoringConfig.Builder newBuilder()
    • newBuilder

      public static ModelMonitoringConfig.Builder newBuilder(ModelMonitoringConfig prototype)
    • toBuilder

      public ModelMonitoringConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ModelMonitoringConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ModelMonitoringConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ModelMonitoringConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<ModelMonitoringConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ModelMonitoringConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder