Class ModelMonitoringStatsDataPoint.Builder (3.46.0)

public static final class ModelMonitoringStatsDataPoint.Builder extends GeneratedMessageV3.Builder<ModelMonitoringStatsDataPoint.Builder> implements ModelMonitoringStatsDataPointOrBuilder

Represents a single statistics data point.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringStatsDataPoint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringStatsDataPoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
Overrides

build()

public ModelMonitoringStatsDataPoint build()
Returns
Type Description
ModelMonitoringStatsDataPoint

buildPartial()

public ModelMonitoringStatsDataPoint buildPartial()
Returns
Type Description
ModelMonitoringStatsDataPoint

clear()

public ModelMonitoringStatsDataPoint.Builder clear()
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
Overrides

clearAlgorithm()

public ModelMonitoringStatsDataPoint.Builder clearAlgorithm()

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

string algorithm = 8;

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

clearBaselineStats()

public ModelMonitoringStatsDataPoint.Builder clearBaselineStats()

Statistics from baseline dataset.

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

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

clearCreateTime()

public ModelMonitoringStatsDataPoint.Builder clearCreateTime()

Statistics create time.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

clearCurrentStats()

public ModelMonitoringStatsDataPoint.Builder clearCurrentStats()

Statistics from current dataset.

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

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringStatsDataPoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
Overrides

clearHasAnomaly()

public ModelMonitoringStatsDataPoint.Builder clearHasAnomaly()

Indicate if the statistics has anomaly.

bool has_anomaly = 4;

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

clearModelMonitoringJob()

public ModelMonitoringStatsDataPoint.Builder clearModelMonitoringJob()

Model monitoring job resource name.

string model_monitoring_job = 5;

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringStatsDataPoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
Overrides

clearSchedule()

public ModelMonitoringStatsDataPoint.Builder clearSchedule()

Schedule resource name.

string schedule = 6;

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

clearThresholdValue()

public ModelMonitoringStatsDataPoint.Builder clearThresholdValue()

Threshold value.

double threshold_value = 3;

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

clone()

public ModelMonitoringStatsDataPoint.Builder clone()
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
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.

getBaselineStatsBuilder()

public ModelMonitoringStatsDataPoint.TypedValue.Builder getBaselineStatsBuilder()

Statistics from baseline dataset.

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

Returns
Type Description
ModelMonitoringStatsDataPoint.TypedValue.Builder

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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Statistics create time.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
Builder

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.

getCurrentStatsBuilder()

public ModelMonitoringStatsDataPoint.TypedValue.Builder getCurrentStatsBuilder()

Statistics from current dataset.

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

Returns
Type Description
ModelMonitoringStatsDataPoint.TypedValue.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBaselineStats(ModelMonitoringStatsDataPoint.TypedValue value)

public ModelMonitoringStatsDataPoint.Builder mergeBaselineStats(ModelMonitoringStatsDataPoint.TypedValue value)

Statistics from baseline dataset.

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

Parameter
Name Description
value ModelMonitoringStatsDataPoint.TypedValue
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

mergeCreateTime(Timestamp value)

public ModelMonitoringStatsDataPoint.Builder mergeCreateTime(Timestamp value)

Statistics create time.

.google.protobuf.Timestamp create_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

mergeCurrentStats(ModelMonitoringStatsDataPoint.TypedValue value)

public ModelMonitoringStatsDataPoint.Builder mergeCurrentStats(ModelMonitoringStatsDataPoint.TypedValue value)

Statistics from current dataset.

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

Parameter
Name Description
value ModelMonitoringStatsDataPoint.TypedValue
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

mergeFrom(ModelMonitoringStatsDataPoint other)

public ModelMonitoringStatsDataPoint.Builder mergeFrom(ModelMonitoringStatsDataPoint other)
Parameter
Name Description
other ModelMonitoringStatsDataPoint
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringStatsDataPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelMonitoringStatsDataPoint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringStatsDataPoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
Overrides

setAlgorithm(String value)

public ModelMonitoringStatsDataPoint.Builder setAlgorithm(String value)

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

string algorithm = 8;

Parameter
Name Description
value String

The algorithm to set.

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

setAlgorithmBytes(ByteString value)

public ModelMonitoringStatsDataPoint.Builder setAlgorithmBytes(ByteString value)

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

string algorithm = 8;

Parameter
Name Description
value ByteString

The bytes for algorithm to set.

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

setBaselineStats(ModelMonitoringStatsDataPoint.TypedValue value)

public ModelMonitoringStatsDataPoint.Builder setBaselineStats(ModelMonitoringStatsDataPoint.TypedValue value)

Statistics from baseline dataset.

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

Parameter
Name Description
value ModelMonitoringStatsDataPoint.TypedValue
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

setBaselineStats(ModelMonitoringStatsDataPoint.TypedValue.Builder builderForValue)

public ModelMonitoringStatsDataPoint.Builder setBaselineStats(ModelMonitoringStatsDataPoint.TypedValue.Builder builderForValue)

Statistics from baseline dataset.

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

Parameter
Name Description
builderForValue ModelMonitoringStatsDataPoint.TypedValue.Builder
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

setCreateTime(Timestamp value)

public ModelMonitoringStatsDataPoint.Builder setCreateTime(Timestamp value)

Statistics create time.

.google.protobuf.Timestamp create_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ModelMonitoringStatsDataPoint.Builder setCreateTime(Timestamp.Builder builderForValue)

Statistics create time.

.google.protobuf.Timestamp create_time = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

setCurrentStats(ModelMonitoringStatsDataPoint.TypedValue value)

public ModelMonitoringStatsDataPoint.Builder setCurrentStats(ModelMonitoringStatsDataPoint.TypedValue value)

Statistics from current dataset.

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

Parameter
Name Description
value ModelMonitoringStatsDataPoint.TypedValue
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

setCurrentStats(ModelMonitoringStatsDataPoint.TypedValue.Builder builderForValue)

public ModelMonitoringStatsDataPoint.Builder setCurrentStats(ModelMonitoringStatsDataPoint.TypedValue.Builder builderForValue)

Statistics from current dataset.

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

Parameter
Name Description
builderForValue ModelMonitoringStatsDataPoint.TypedValue.Builder
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringStatsDataPoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
Overrides

setHasAnomaly(boolean value)

public ModelMonitoringStatsDataPoint.Builder setHasAnomaly(boolean value)

Indicate if the statistics has anomaly.

bool has_anomaly = 4;

Parameter
Name Description
value boolean

The hasAnomaly to set.

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

setModelMonitoringJob(String value)

public ModelMonitoringStatsDataPoint.Builder setModelMonitoringJob(String value)

Model monitoring job resource name.

string model_monitoring_job = 5;

Parameter
Name Description
value String

The modelMonitoringJob to set.

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

setModelMonitoringJobBytes(ByteString value)

public ModelMonitoringStatsDataPoint.Builder setModelMonitoringJobBytes(ByteString value)

Model monitoring job resource name.

string model_monitoring_job = 5;

Parameter
Name Description
value ByteString

The bytes for modelMonitoringJob to set.

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ModelMonitoringStatsDataPoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
Overrides

setSchedule(String value)

public ModelMonitoringStatsDataPoint.Builder setSchedule(String value)

Schedule resource name.

string schedule = 6;

Parameter
Name Description
value String

The schedule to set.

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

setScheduleBytes(ByteString value)

public ModelMonitoringStatsDataPoint.Builder setScheduleBytes(ByteString value)

Schedule resource name.

string schedule = 6;

Parameter
Name Description
value ByteString

The bytes for schedule to set.

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

setThresholdValue(double value)

public ModelMonitoringStatsDataPoint.Builder setThresholdValue(double value)

Threshold value.

double threshold_value = 3;

Parameter
Name Description
value double

The thresholdValue to set.

Returns
Type Description
ModelMonitoringStatsDataPoint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringStatsDataPoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringStatsDataPoint.Builder
Overrides