Class ModelMonitoringStatsDataPoint (3.50.0)

public final class ModelMonitoringStatsDataPoint extends GeneratedMessageV3 implements ModelMonitoringStatsDataPointOrBuilder

Represents a single statistics data point.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringStatsDataPoint

Static Fields

ALGORITHM_FIELD_NUMBER

public static final int ALGORITHM_FIELD_NUMBER
Field Value
Type Description
int

BASELINE_STATS_FIELD_NUMBER

public static final int BASELINE_STATS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

CURRENT_STATS_FIELD_NUMBER

public static final int CURRENT_STATS_FIELD_NUMBER
Field Value
Type Description
int

HAS_ANOMALY_FIELD_NUMBER

public static final int HAS_ANOMALY_FIELD_NUMBER
Field Value
Type Description
int

MODEL_MONITORING_JOB_FIELD_NUMBER

public static final int MODEL_MONITORING_JOB_FIELD_NUMBER
Field Value
Type Description
int

SCHEDULE_FIELD_NUMBER

public static final int SCHEDULE_FIELD_NUMBER
Field Value
Type Description
int

THRESHOLD_VALUE_FIELD_NUMBER

public static final int THRESHOLD_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringStatsDataPoint getDefaultInstance()
Returns
Type Description
ModelMonitoringStatsDataPoint

getDescriptor()

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

newBuilder()

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

newBuilder(ModelMonitoringStatsDataPoint prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAlgorithm()

public String getAlgorithm()

Algorithm used to calculated the metrics, eg: jensen_shannon_divergence, l_infinity.

string algorithm = 8;

Returns
Type Description
String

The algorithm.

getAlgorithmBytes()

public ByteString getAlgorithmBytes()

Algorithm used to calculated the metrics, eg: jensen_shannon_divergence, l_infinity.

string algorithm = 8;

Returns
Type Description
ByteString

The bytes for algorithm.

getBaselineStats()

public ModelMonitoringStatsDataPoint.TypedValue getBaselineStats()

Statistics from baseline dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsDataPoint.TypedValue baseline_stats = 2;

Returns
Type Description
ModelMonitoringStatsDataPoint.TypedValue

The baselineStats.

getBaselineStatsOrBuilder()

public ModelMonitoringStatsDataPoint.TypedValueOrBuilder getBaselineStatsOrBuilder()

Statistics from baseline dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsDataPoint.TypedValue baseline_stats = 2;

Returns
Type Description
ModelMonitoringStatsDataPoint.TypedValueOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Statistics create time.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Statistics create time.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
TimestampOrBuilder

getCurrentStats()

public ModelMonitoringStatsDataPoint.TypedValue getCurrentStats()

Statistics from current dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsDataPoint.TypedValue current_stats = 1;

Returns
Type Description
ModelMonitoringStatsDataPoint.TypedValue

The currentStats.

getCurrentStatsOrBuilder()

public ModelMonitoringStatsDataPoint.TypedValueOrBuilder getCurrentStatsOrBuilder()

Statistics from current dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsDataPoint.TypedValue current_stats = 1;

Returns
Type Description
ModelMonitoringStatsDataPoint.TypedValueOrBuilder

getDefaultInstanceForType()

public ModelMonitoringStatsDataPoint getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringStatsDataPoint

getHasAnomaly()

public boolean getHasAnomaly()

Indicate if the statistics has anomaly.

bool has_anomaly = 4;

Returns
Type Description
boolean

The hasAnomaly.

getModelMonitoringJob()

public String getModelMonitoringJob()

Model monitoring job resource name.

string model_monitoring_job = 5;

Returns
Type Description
String

The modelMonitoringJob.

getModelMonitoringJobBytes()

public ByteString getModelMonitoringJobBytes()

Model monitoring job resource name.

string model_monitoring_job = 5;

Returns
Type Description
ByteString

The bytes for modelMonitoringJob.

getParserForType()

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

getSchedule()

public String getSchedule()

Schedule resource name.

string schedule = 6;

Returns
Type Description
String

The schedule.

getScheduleBytes()

public ByteString getScheduleBytes()

Schedule resource name.

string schedule = 6;

Returns
Type Description
ByteString

The bytes for schedule.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getThresholdValue()

public double getThresholdValue()

Threshold value.

double threshold_value = 3;

Returns
Type Description
double

The thresholdValue.

hasBaselineStats()

public boolean hasBaselineStats()

Statistics from baseline dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsDataPoint.TypedValue baseline_stats = 2;

Returns
Type Description
boolean

Whether the baselineStats field is set.

hasCreateTime()

public boolean hasCreateTime()

Statistics create time.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
boolean

Whether the createTime field is set.

hasCurrentStats()

public boolean hasCurrentStats()

Statistics from current dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsDataPoint.TypedValue current_stats = 1;

Returns
Type Description
boolean

Whether the currentStats 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 ModelMonitoringStatsDataPoint.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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