Class FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder>
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
All Implemented Interfaces:
FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FeaturestoreMonitoringConfig.SnapshotAnalysis

public static final class FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder> implements FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder
 Configuration of the Featurestore's Snapshot Analysis Based Monitoring.
 This type of analysis generates statistics for each Feature based on a
 snapshot of the latest feature value of each entities every
 monitoring_interval.
 
Protobuf type google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis
  • 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.Builder<FeaturestoreMonitoringConfig.SnapshotAnalysis.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.GeneratedMessage.Builder<FeaturestoreMonitoringConfig.SnapshotAnalysis.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.GeneratedMessage.Builder<FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder>
    • mergeFrom

    • isInitialized

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

      public FeaturestoreMonitoringConfig.SnapshotAnalysis.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<FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder>
      Throws:
      IOException
    • getDisabled

      public boolean getDisabled()
       The monitoring schedule for snapshot analysis.
       For EntityType-level config:
       unset / disabled = true indicates disabled by
       default for Features under it; otherwise by default enable snapshot
       analysis monitoring with monitoring_interval for Features under it.
       Feature-level config:
       disabled = true indicates disabled regardless of the EntityType-level
       config; unset monitoring_interval indicates going with EntityType-level
       config; otherwise run snapshot analysis monitoring with
       monitoring_interval regardless of the EntityType-level config.
       Explicitly Disable the snapshot analysis based monitoring.
       
      bool disabled = 1;
      Specified by:
      getDisabled in interface FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder
      Returns:
      The disabled.
    • setDisabled

      public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setDisabled(boolean value)
       The monitoring schedule for snapshot analysis.
       For EntityType-level config:
       unset / disabled = true indicates disabled by
       default for Features under it; otherwise by default enable snapshot
       analysis monitoring with monitoring_interval for Features under it.
       Feature-level config:
       disabled = true indicates disabled regardless of the EntityType-level
       config; unset monitoring_interval indicates going with EntityType-level
       config; otherwise run snapshot analysis monitoring with
       monitoring_interval regardless of the EntityType-level config.
       Explicitly Disable the snapshot analysis based monitoring.
       
      bool disabled = 1;
      Parameters:
      value - The disabled to set.
      Returns:
      This builder for chaining.
    • clearDisabled

       The monitoring schedule for snapshot analysis.
       For EntityType-level config:
       unset / disabled = true indicates disabled by
       default for Features under it; otherwise by default enable snapshot
       analysis monitoring with monitoring_interval for Features under it.
       Feature-level config:
       disabled = true indicates disabled regardless of the EntityType-level
       config; unset monitoring_interval indicates going with EntityType-level
       config; otherwise run snapshot analysis monitoring with
       monitoring_interval regardless of the EntityType-level config.
       Explicitly Disable the snapshot analysis based monitoring.
       
      bool disabled = 1;
      Returns:
      This builder for chaining.
    • getMonitoringIntervalDays

      public int getMonitoringIntervalDays()
       Configuration of the snapshot analysis based monitoring pipeline
       running interval. The value indicates number of days.
       
      int32 monitoring_interval_days = 3;
      Specified by:
      getMonitoringIntervalDays in interface FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder
      Returns:
      The monitoringIntervalDays.
    • setMonitoringIntervalDays

      public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setMonitoringIntervalDays(int value)
       Configuration of the snapshot analysis based monitoring pipeline
       running interval. The value indicates number of days.
       
      int32 monitoring_interval_days = 3;
      Parameters:
      value - The monitoringIntervalDays to set.
      Returns:
      This builder for chaining.
    • clearMonitoringIntervalDays

      public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder clearMonitoringIntervalDays()
       Configuration of the snapshot analysis based monitoring pipeline
       running interval. The value indicates number of days.
       
      int32 monitoring_interval_days = 3;
      Returns:
      This builder for chaining.
    • getStalenessDays

      public int getStalenessDays()
       Customized export features time window for snapshot analysis. Unit is one
       day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
       4000 days.
       
      int32 staleness_days = 4;
      Specified by:
      getStalenessDays in interface FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder
      Returns:
      The stalenessDays.
    • setStalenessDays

      public FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder setStalenessDays(int value)
       Customized export features time window for snapshot analysis. Unit is one
       day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
       4000 days.
       
      int32 staleness_days = 4;
      Parameters:
      value - The stalenessDays to set.
      Returns:
      This builder for chaining.
    • clearStalenessDays

       Customized export features time window for snapshot analysis. Unit is one
       day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
       4000 days.
       
      int32 staleness_days = 4;
      Returns:
      This builder for chaining.