Class SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder (3.35.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.v1beta1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder
Overrides

build()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective build()
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective

buildPartial()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective buildPartial()
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective

clear()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder clear()
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

This builder for chaining.

clearType()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder clearType()

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

Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

This builder for chaining.

clone()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder clone()
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder
Overrides

getDefaultInstanceForType()

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective getDefaultInstanceForType()
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
int

The topFeatureCount.

getType()

public ModelDeploymentMonitoringObjectiveType getType()

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

Returns
TypeDescription
ModelDeploymentMonitoringObjectiveType

The type.

getTypeValue()

public int getTypeValue()

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective other)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder mergeFrom(SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective other)
Parameter
NameDescription
otherSearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The topFeatureCount to set.

Returns
TypeDescription
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
NameDescription
valueModelDeploymentMonitoringObjectiveType

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective.Builder
Overrides