public static final class FeatureStatsAndAnomalySpec.Builder extends GeneratedMessageV3.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public FeatureStatsAndAnomalySpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public FeatureStatsAndAnomalySpec build()
public FeatureStatsAndAnomalySpec buildPartial()
public FeatureStatsAndAnomalySpec.Builder clear()
Overrides
public FeatureStatsAndAnomalySpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
public FeatureStatsAndAnomalySpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public FeatureStatsAndAnomalySpec.Builder clone()
Overrides
public FeatureStatsAndAnomalySpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
Returns |
Type |
Description |
int |
The latestStatsCount.
|
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];
Returns |
Type |
Description |
com.google.type.Interval |
The statsTimeRange.
|
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];
Returns |
Type |
Description |
com.google.type.Interval.Builder |
|
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];
Returns |
Type |
Description |
com.google.type.IntervalOrBuilder |
|
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];
Returns |
Type |
Description |
boolean |
Whether the latestStatsCount field is set.
|
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];
Returns |
Type |
Description |
boolean |
Whether the statsTimeRange field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public FeatureStatsAndAnomalySpec.Builder mergeFrom(FeatureStatsAndAnomalySpec other)
public FeatureStatsAndAnomalySpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public FeatureStatsAndAnomalySpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
Parameter |
Name |
Description |
value |
com.google.type.Interval
|
public final FeatureStatsAndAnomalySpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public FeatureStatsAndAnomalySpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
Parameter |
Name |
Description |
value |
int
The latestStatsCount to set.
|
public FeatureStatsAndAnomalySpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
Parameter |
Name |
Description |
value |
com.google.type.Interval
|
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];
Parameter |
Name |
Description |
builderForValue |
com.google.type.Interval.Builder
|
public final FeatureStatsAndAnomalySpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides