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
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 ModelMonitoringAnomaly.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelMonitoringAnomaly build()
public ModelMonitoringAnomaly buildPartial()
public ModelMonitoringAnomaly.Builder clear()
Overrides
public ModelMonitoringAnomaly.Builder clearAlgorithm()
Algorithm used to calculated the metrics, eg: jensen_shannon_divergence,
l_infinity.
string algorithm = 3;
public ModelMonitoringAnomaly.Builder clearAnomaly()
public ModelMonitoringAnomaly.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelMonitoringAnomaly.Builder clearModelMonitoringJob()
Model monitoring job resource name.
string model_monitoring_job = 2;
public ModelMonitoringAnomaly.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelMonitoringAnomaly.Builder clearTabularAnomaly()
Tabular anomaly.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
public ModelMonitoringAnomaly.Builder clone()
Overrides
public String getAlgorithm()
Algorithm used to calculated the metrics, eg: jensen_shannon_divergence,
l_infinity.
string algorithm = 3;
Returns |
Type |
Description |
String |
The algorithm.
|
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.
|
public ModelMonitoringAnomaly.AnomalyCase getAnomalyCase()
public ModelMonitoringAnomaly getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getModelMonitoringJob()
Model monitoring job resource name.
string model_monitoring_job = 2;
Returns |
Type |
Description |
String |
The modelMonitoringJob.
|
public ByteString getModelMonitoringJobBytes()
Model monitoring job resource name.
string model_monitoring_job = 2;
Returns |
Type |
Description |
ByteString |
The bytes for modelMonitoringJob.
|
public ModelMonitoringAnomaly.TabularAnomaly getTabularAnomaly()
Tabular anomaly.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
public ModelMonitoringAnomaly.TabularAnomaly.Builder getTabularAnomalyBuilder()
Tabular anomaly.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
public ModelMonitoringAnomaly.TabularAnomalyOrBuilder getTabularAnomalyOrBuilder()
Tabular anomaly.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
public boolean hasTabularAnomaly()
Tabular anomaly.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
Returns |
Type |
Description |
boolean |
Whether the tabularAnomaly field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ModelMonitoringAnomaly.Builder mergeFrom(ModelMonitoringAnomaly other)
public ModelMonitoringAnomaly.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelMonitoringAnomaly.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ModelMonitoringAnomaly.Builder mergeTabularAnomaly(ModelMonitoringAnomaly.TabularAnomaly value)
Tabular anomaly.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
public final ModelMonitoringAnomaly.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|
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.
|
public ModelMonitoringAnomaly.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public ModelMonitoringAnomaly.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ModelMonitoringAnomaly.Builder setTabularAnomaly(ModelMonitoringAnomaly.TabularAnomaly value)
Tabular anomaly.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
public ModelMonitoringAnomaly.Builder setTabularAnomaly(ModelMonitoringAnomaly.TabularAnomaly.Builder builderForValue)
Tabular anomaly.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAnomaly.TabularAnomaly tabular_anomaly = 1;
public final ModelMonitoringAnomaly.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides