Class FeatureStatsAndAnomalySpec (3.56.0)

public final class FeatureStatsAndAnomalySpec extends GeneratedMessageV3 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

Static Fields

LATEST_STATS_COUNT_FIELD_NUMBER

public static final int LATEST_STATS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

STATS_TIME_RANGE_FIELD_NUMBER

public static final int STATS_TIME_RANGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FeatureStatsAndAnomalySpec getDefaultInstance()
Returns
Type Description
FeatureStatsAndAnomalySpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FeatureStatsAndAnomalySpec.Builder newBuilder()
Returns
Type Description
FeatureStatsAndAnomalySpec.Builder

newBuilder(FeatureStatsAndAnomalySpec prototype)

public static FeatureStatsAndAnomalySpec.Builder newBuilder(FeatureStatsAndAnomalySpec prototype)
Parameter
Name Description
prototype FeatureStatsAndAnomalySpec
Returns
Type Description
FeatureStatsAndAnomalySpec.Builder

parseDelimitedFrom(InputStream input)

public static FeatureStatsAndAnomalySpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureStatsAndAnomalySpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FeatureStatsAndAnomalySpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeatureStatsAndAnomalySpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeatureStatsAndAnomalySpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeatureStatsAndAnomalySpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeatureStatsAndAnomalySpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureStatsAndAnomalySpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FeatureStatsAndAnomalySpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureStatsAndAnomalySpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FeatureStatsAndAnomalySpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeatureStatsAndAnomalySpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureStatsAndAnomalySpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FeatureStatsAndAnomalySpec> parser()
Returns
Type Description
Parser<FeatureStatsAndAnomalySpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FeatureStatsAndAnomalySpec getDefaultInstanceForType()
Returns
Type Description
FeatureStatsAndAnomalySpec

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];

Returns
Type Description
int

The latestStatsCount.

getParserForType()

public Parser<FeatureStatsAndAnomalySpec> getParserForType()
Returns
Type Description
Parser<FeatureStatsAndAnomalySpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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];

Returns
Type Description
com.google.type.Interval

The statsTimeRange.

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];

Returns
Type Description
com.google.type.IntervalOrBuilder

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];

Returns
Type Description
boolean

Whether the latestStatsCount field is set.

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];

Returns
Type Description
boolean

Whether the statsTimeRange field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FeatureStatsAndAnomalySpec.Builder newBuilderForType()
Returns
Type Description
FeatureStatsAndAnomalySpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeatureStatsAndAnomalySpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FeatureStatsAndAnomalySpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FeatureStatsAndAnomalySpec.Builder toBuilder()
Returns
Type Description
FeatureStatsAndAnomalySpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException