Class ModelMonitoringConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>
      • clear

        public ModelMonitoringConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public ModelMonitoringConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>
      • clearField

        public ModelMonitoringConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>
      • clearOneof

        public ModelMonitoringConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>
      • setRepeatedField

        public ModelMonitoringConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>
      • addRepeatedField

        public ModelMonitoringConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>
      • mergeFrom

        public ModelMonitoringConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelMonitoringConfig.Builder>
        Throws:
        IOException
      • getObjectiveConfigsCount

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

        public ModelMonitoringConfig.Builder clearObjectiveConfigs()
         Model monitoring objective config.
         
        repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      • removeObjectiveConfigs

        public ModelMonitoringConfig.Builder removeObjectiveConfigs​(int index)
         Model monitoring objective config.
         
        repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      • getObjectiveConfigsBuilder

        public ModelMonitoringObjectiveConfig.Builder getObjectiveConfigsBuilder​(int index)
         Model monitoring objective config.
         
        repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      • addObjectiveConfigsBuilder

        public ModelMonitoringObjectiveConfig.Builder addObjectiveConfigsBuilder()
         Model monitoring objective config.
         
        repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      • addObjectiveConfigsBuilder

        public ModelMonitoringObjectiveConfig.Builder addObjectiveConfigsBuilder​(int index)
         Model monitoring objective config.
         
        repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      • getObjectiveConfigsBuilderList

        public List<ModelMonitoringObjectiveConfig.Builder> getObjectiveConfigsBuilderList()
         Model monitoring objective config.
         
        repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
      • 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.
      • clearAlertConfig

        public ModelMonitoringConfig.Builder clearAlertConfig()
         Model monitoring alert config.
         
        .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
      • getAlertConfigBuilder

        public ModelMonitoringAlertConfig.Builder getAlertConfigBuilder()
         Model monitoring alert config.
         
        .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
      • 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.
      • setAnalysisInstanceSchemaUri

        public ModelMonitoringConfig.Builder setAnalysisInstanceSchemaUri​(String value)
         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;
        Parameters:
        value - The analysisInstanceSchemaUri to set.
        Returns:
        This builder for chaining.
      • clearAnalysisInstanceSchemaUri

        public ModelMonitoringConfig.Builder clearAnalysisInstanceSchemaUri()
         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;
        Returns:
        This builder for chaining.
      • setAnalysisInstanceSchemaUriBytes

        public ModelMonitoringConfig.Builder setAnalysisInstanceSchemaUriBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for analysisInstanceSchemaUri to set.
        Returns:
        This builder for chaining.
      • 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.
      • setStatsAnomaliesBaseDirectory

        public ModelMonitoringConfig.Builder setStatsAnomaliesBaseDirectory​(GcsDestination value)
         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;
      • setStatsAnomaliesBaseDirectory

        public ModelMonitoringConfig.Builder setStatsAnomaliesBaseDirectory​(GcsDestination.Builder builderForValue)
         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;
      • mergeStatsAnomaliesBaseDirectory

        public ModelMonitoringConfig.Builder mergeStatsAnomaliesBaseDirectory​(GcsDestination value)
         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;
      • clearStatsAnomaliesBaseDirectory

        public ModelMonitoringConfig.Builder clearStatsAnomaliesBaseDirectory()
         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;
      • getStatsAnomaliesBaseDirectoryBuilder

        public GcsDestination.Builder getStatsAnomaliesBaseDirectoryBuilder()
         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;
      • 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
      • setUnknownFields

        public final ModelMonitoringConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>
      • mergeUnknownFields

        public final ModelMonitoringConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder>