Interface ModelEvaluationSlice.Slice.SliceSpecOrBuilder (3.22.0)

public static interface ModelEvaluationSlice.Slice.SliceSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsConfigs(String key)

public abstract boolean containsConfigs(String key)

Mapping configuration for this SliceSpec. The key is the name of the feature. By default, the key will be prefixed by "instance" as a dictionary prefix for Vertex Batch Predictions output format.

map<string, .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getConfigs()

public abstract Map<String,ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> getConfigs()

Use #getConfigsMap() instead.

Returns
TypeDescription
Map<String,SliceConfig>

getConfigsCount()

public abstract int getConfigsCount()

Mapping configuration for this SliceSpec. The key is the name of the feature. By default, the key will be prefixed by "instance" as a dictionary prefix for Vertex Batch Predictions output format.

map<string, .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Returns
TypeDescription
int

getConfigsMap()

public abstract Map<String,ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> getConfigsMap()

Mapping configuration for this SliceSpec. The key is the name of the feature. By default, the key will be prefixed by "instance" as a dictionary prefix for Vertex Batch Predictions output format.

map<string, .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Returns
TypeDescription
Map<String,SliceConfig>

getConfigsOrDefault(String key, ModelEvaluationSlice.Slice.SliceSpec.SliceConfig defaultValue)

public abstract ModelEvaluationSlice.Slice.SliceSpec.SliceConfig getConfigsOrDefault(String key, ModelEvaluationSlice.Slice.SliceSpec.SliceConfig defaultValue)

Mapping configuration for this SliceSpec. The key is the name of the feature. By default, the key will be prefixed by "instance" as a dictionary prefix for Vertex Batch Predictions output format.

map<string, .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Parameters
NameDescription
keyString
defaultValueModelEvaluationSlice.Slice.SliceSpec.SliceConfig
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.SliceConfig

getConfigsOrThrow(String key)

public abstract ModelEvaluationSlice.Slice.SliceSpec.SliceConfig getConfigsOrThrow(String key)

Mapping configuration for this SliceSpec. The key is the name of the feature. By default, the key will be prefixed by "instance" as a dictionary prefix for Vertex Batch Predictions output format.

map<string, .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.SliceConfig