Class FeatureStatsAndAnomalySpec.Builder

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

public static final class FeatureStatsAndAnomalySpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeatureStatsAndAnomalySpec.Builder> implements FeatureStatsAndAnomalySpecOrBuilder
 Defines how to select FeatureStatsAndAnomaly to be populated in response.
 If set, retrieves FeatureStatsAndAnomaly generated by FeatureMonitors based
 on this spec.
 
Protobuf type google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomalySpec
  • 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<FeatureStatsAndAnomalySpec.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<FeatureStatsAndAnomalySpec.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<FeatureStatsAndAnomalySpec.Builder>
    • getDefaultInstanceForType

      public FeatureStatsAndAnomalySpec 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

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

      public FeatureStatsAndAnomalySpec.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<FeatureStatsAndAnomalySpec.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<FeatureStatsAndAnomalySpec.Builder>
    • mergeFrom

      public FeatureStatsAndAnomalySpec.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<FeatureStatsAndAnomalySpec.Builder>
      Throws:
      IOException
    • hasLatestStatsCount

      public boolean hasLatestStatsCount()
       Optional. If set, returns the most recent count of stats. Valid value is
       [0, 100]. If stats_time_range is set, return most recent count of stats
       within the stats_time_range.
       
      optional int32 latest_stats_count = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasLatestStatsCount in interface FeatureStatsAndAnomalySpecOrBuilder
      Returns:
      Whether the latestStatsCount field is set.
    • getLatestStatsCount

      public int getLatestStatsCount()
       Optional. If set, returns the most recent count of stats. Valid value is
       [0, 100]. If stats_time_range is set, return most recent count of stats
       within the stats_time_range.
       
      optional int32 latest_stats_count = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLatestStatsCount in interface FeatureStatsAndAnomalySpecOrBuilder
      Returns:
      The latestStatsCount.
    • setLatestStatsCount

      public FeatureStatsAndAnomalySpec.Builder setLatestStatsCount(int value)
       Optional. If set, returns the most recent count of stats. Valid value is
       [0, 100]. If stats_time_range is set, return most recent count of stats
       within the stats_time_range.
       
      optional int32 latest_stats_count = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The latestStatsCount to set.
      Returns:
      This builder for chaining.
    • clearLatestStatsCount

      public FeatureStatsAndAnomalySpec.Builder clearLatestStatsCount()
       Optional. If set, returns the most recent count of stats. Valid value is
       [0, 100]. If stats_time_range is set, return most recent count of stats
       within the stats_time_range.
       
      optional int32 latest_stats_count = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasStatsTimeRange

      public boolean hasStatsTimeRange()
       Optional. If set, return all stats generated between [start_time,
       end_time). If latest_stats_count is set, return the most recent count of
       stats within the stats_time_range.
       
      .google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasStatsTimeRange in interface FeatureStatsAndAnomalySpecOrBuilder
      Returns:
      Whether the statsTimeRange field is set.
    • getStatsTimeRange

      public Interval getStatsTimeRange()
       Optional. If set, return all stats generated between [start_time,
       end_time). If latest_stats_count is set, return the most recent count of
       stats within the stats_time_range.
       
      .google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStatsTimeRange in interface FeatureStatsAndAnomalySpecOrBuilder
      Returns:
      The statsTimeRange.
    • setStatsTimeRange

      public FeatureStatsAndAnomalySpec.Builder setStatsTimeRange(Interval value)
       Optional. If set, return all stats generated between [start_time,
       end_time). If latest_stats_count is set, return the most recent count of
       stats within the stats_time_range.
       
      .google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setStatsTimeRange

      public FeatureStatsAndAnomalySpec.Builder setStatsTimeRange(Interval.Builder builderForValue)
       Optional. If set, return all stats generated between [start_time,
       end_time). If latest_stats_count is set, return the most recent count of
       stats within the stats_time_range.
       
      .google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeStatsTimeRange

      public FeatureStatsAndAnomalySpec.Builder mergeStatsTimeRange(Interval value)
       Optional. If set, return all stats generated between [start_time,
       end_time). If latest_stats_count is set, return the most recent count of
       stats within the stats_time_range.
       
      .google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearStatsTimeRange

      public FeatureStatsAndAnomalySpec.Builder clearStatsTimeRange()
       Optional. If set, return all stats generated between [start_time,
       end_time). If latest_stats_count is set, return the most recent count of
       stats within the stats_time_range.
       
      .google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getStatsTimeRangeBuilder

      public Interval.Builder getStatsTimeRangeBuilder()
       Optional. If set, return all stats generated between [start_time,
       end_time). If latest_stats_count is set, return the most recent count of
       stats within the stats_time_range.
       
      .google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getStatsTimeRangeOrBuilder

      public IntervalOrBuilder getStatsTimeRangeOrBuilder()
       Optional. If set, return all stats generated between [start_time,
       end_time). If latest_stats_count is set, return the most recent count of
       stats within the stats_time_range.
       
      .google.type.Interval stats_time_range = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStatsTimeRangeOrBuilder in interface FeatureStatsAndAnomalySpecOrBuilder