Class SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder (3.47.0)

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

Stats requested for specific objective.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.v1.ModelDeploymentMonitoringObjectiveType type = 1;

Returns
Type Description
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

This builder for chaining.

clone()

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

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.v1.ModelDeploymentMonitoringObjectiveType type = 1;

Returns
Type Description
ModelDeploymentMonitoringObjectiveType

The type.

getTypeValue()

public int getTypeValue()

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

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.v1.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.v1.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.

setUnknownFields(UnknownFieldSet unknownFields)

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