Class SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder (3.84.0)

public static final class SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder extends GeneratedMessage.Builder<SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder> implements SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjectiveOrBuilder

Stats requested for specific objective.

Protobuf type google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

Static Methods

getDescriptor()

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

Methods

build()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective build()
Returns
Type Description
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective

buildPartial()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective buildPartial()
Returns
Type Description
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective

clear()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder clear()
Returns
Type Description
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder
Overrides

clearTopFeatureCount()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder clearTopFeatureCount()

If set, all attribution scores between SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time and SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time are fetched, and page token doesn't take effect in this case. Only used to retrieve attribution score for the top Features which has the highest attribution score in the latest monitoring run.

int32 top_feature_count = 4;

Returns
Type Description
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

This builder for chaining.

clearType()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder clearType()

.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringObjectiveType type = 1;

Returns
Type Description
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

This builder for chaining.

getDefaultInstanceForType()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective getDefaultInstanceForType()
Returns
Type Description
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective

getDescriptorForType()

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

getTopFeatureCount()

public int getTopFeatureCount()

If set, all attribution scores between SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time and SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time are fetched, and page token doesn't take effect in this case. Only used to retrieve attribution score for the top Features which has the highest attribution score in the latest monitoring run.

int32 top_feature_count = 4;

Returns
Type Description
int

The topFeatureCount.

getType()

public ModelDeploymentMonitoringObjectiveType getType()

.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringObjectiveType type = 1;

Returns
Type Description
ModelDeploymentMonitoringObjectiveType

The type.

getTypeValue()

public int getTypeValue()

.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringObjectiveType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setTopFeatureCount(int value)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder setTopFeatureCount(int value)

If set, all attribution scores between SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time and SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time are fetched, and page token doesn't take effect in this case. Only used to retrieve attribution score for the top Features which has the highest attribution score in the latest monitoring run.

int32 top_feature_count = 4;

Parameter
Name Description
value int

The topFeatureCount to set.

Returns
Type Description
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

This builder for chaining.

setType(ModelDeploymentMonitoringObjectiveType value)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder setType(ModelDeploymentMonitoringObjectiveType value)

.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringObjectiveType type = 1;

Parameter
Name Description
value ModelDeploymentMonitoringObjectiveType

The type to set.

Returns
Type Description
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

This builder for chaining.

setTypeValue(int value)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder setTypeValue(int value)

.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringObjectiveType type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

This builder for chaining.