Class ModelMonitoringAnomaly.Builder (3.46.0)

public static final class ModelMonitoringAnomaly.Builder extends GeneratedMessageV3.Builder<ModelMonitoringAnomaly.Builder> implements ModelMonitoringAnomalyOrBuilder

Represents a single model monitoring anomaly.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelMonitoringAnomaly build()
Returns
Type Description
ModelMonitoringAnomaly

buildPartial()

public ModelMonitoringAnomaly buildPartial()
Returns
Type Description
ModelMonitoringAnomaly

clear()

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

clearAlgorithm()

public ModelMonitoringAnomaly.Builder clearAlgorithm()

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

string algorithm = 3;

Returns
Type Description
ModelMonitoringAnomaly.Builder

This builder for chaining.

clearAnomaly()

public ModelMonitoringAnomaly.Builder clearAnomaly()
Returns
Type Description
ModelMonitoringAnomaly.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearModelMonitoringJob()

public ModelMonitoringAnomaly.Builder clearModelMonitoringJob()

Model monitoring job resource name.

string model_monitoring_job = 2;

Returns
Type Description
ModelMonitoringAnomaly.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTabularAnomaly()

public ModelMonitoringAnomaly.Builder clearTabularAnomaly()

Tabular anomaly.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;

Returns
Type Description
ModelMonitoringAnomaly.Builder

clone()

public ModelMonitoringAnomaly.Builder clone()
Returns
Type Description
ModelMonitoringAnomaly.Builder
Overrides

getAlgorithm()

public String getAlgorithm()

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

string algorithm = 3;

Returns
Type Description
String

The algorithm.

getAlgorithmBytes()

public ByteString getAlgorithmBytes()

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

string algorithm = 3;

Returns
Type Description
ByteString

The bytes for algorithm.

getAnomalyCase()

public ModelMonitoringAnomaly.AnomalyCase getAnomalyCase()
Returns
Type Description
ModelMonitoringAnomaly.AnomalyCase

getDefaultInstanceForType()

public ModelMonitoringAnomaly getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringAnomaly

getDescriptorForType()

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

getModelMonitoringJob()

public String getModelMonitoringJob()

Model monitoring job resource name.

string model_monitoring_job = 2;

Returns
Type Description
String

The modelMonitoringJob.

getModelMonitoringJobBytes()

public ByteString getModelMonitoringJobBytes()

Model monitoring job resource name.

string model_monitoring_job = 2;

Returns
Type Description
ByteString

The bytes for modelMonitoringJob.

getTabularAnomaly()

public ModelMonitoringAnomaly.TabularAnomaly getTabularAnomaly()

Tabular anomaly.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;

Returns
Type Description
ModelMonitoringAnomaly.TabularAnomaly

The tabularAnomaly.

getTabularAnomalyBuilder()

public ModelMonitoringAnomaly.TabularAnomaly.Builder getTabularAnomalyBuilder()

Tabular anomaly.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;

Returns
Type Description
ModelMonitoringAnomaly.TabularAnomaly.Builder

getTabularAnomalyOrBuilder()

public ModelMonitoringAnomaly.TabularAnomalyOrBuilder getTabularAnomalyOrBuilder()

Tabular anomaly.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;

Returns
Type Description
ModelMonitoringAnomaly.TabularAnomalyOrBuilder

hasTabularAnomaly()

public boolean hasTabularAnomaly()

Tabular anomaly.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;

Returns
Type Description
boolean

Whether the tabularAnomaly field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitoringAnomaly other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTabularAnomaly(ModelMonitoringAnomaly.TabularAnomaly value)

public ModelMonitoringAnomaly.Builder mergeTabularAnomaly(ModelMonitoringAnomaly.TabularAnomaly value)

Tabular anomaly.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;

Parameter
Name Description
value ModelMonitoringAnomaly.TabularAnomaly
Returns
Type Description
ModelMonitoringAnomaly.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAlgorithm(String value)

public ModelMonitoringAnomaly.Builder setAlgorithm(String value)

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

string algorithm = 3;

Parameter
Name Description
value String

The algorithm to set.

Returns
Type Description
ModelMonitoringAnomaly.Builder

This builder for chaining.

setAlgorithmBytes(ByteString value)

public ModelMonitoringAnomaly.Builder setAlgorithmBytes(ByteString value)

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

string algorithm = 3;

Parameter
Name Description
value ByteString

The bytes for algorithm to set.

Returns
Type Description
ModelMonitoringAnomaly.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelMonitoringJob(String value)

public ModelMonitoringAnomaly.Builder setModelMonitoringJob(String value)

Model monitoring job resource name.

string model_monitoring_job = 2;

Parameter
Name Description
value String

The modelMonitoringJob to set.

Returns
Type Description
ModelMonitoringAnomaly.Builder

This builder for chaining.

setModelMonitoringJobBytes(ByteString value)

public ModelMonitoringAnomaly.Builder setModelMonitoringJobBytes(ByteString value)

Model monitoring job resource name.

string model_monitoring_job = 2;

Parameter
Name Description
value ByteString

The bytes for modelMonitoringJob to set.

Returns
Type Description
ModelMonitoringAnomaly.Builder

This builder for chaining.

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

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

setTabularAnomaly(ModelMonitoringAnomaly.TabularAnomaly value)

public ModelMonitoringAnomaly.Builder setTabularAnomaly(ModelMonitoringAnomaly.TabularAnomaly value)

Tabular anomaly.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;

Parameter
Name Description
value ModelMonitoringAnomaly.TabularAnomaly
Returns
Type Description
ModelMonitoringAnomaly.Builder

setTabularAnomaly(ModelMonitoringAnomaly.TabularAnomaly.Builder builderForValue)

public ModelMonitoringAnomaly.Builder setTabularAnomaly(ModelMonitoringAnomaly.TabularAnomaly.Builder builderForValue)

Tabular anomaly.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;

Parameter
Name Description
builderForValue ModelMonitoringAnomaly.TabularAnomaly.Builder
Returns
Type Description
ModelMonitoringAnomaly.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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