Interface ModelMetadataOrBuilder (4.49.0)

public interface ModelMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsModelFeatures(String key)

public abstract boolean containsModelFeatures(String key)

Map of the model name -> features of that model

map<string, .google.cloud.speech.v2.ModelFeatures> model_features = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getModelFeatures() (deprecated)

public abstract Map<String,ModelFeatures> getModelFeatures()
Returns
Type Description
Map<String,ModelFeatures>

getModelFeaturesCount()

public abstract int getModelFeaturesCount()

Map of the model name -> features of that model

map<string, .google.cloud.speech.v2.ModelFeatures> model_features = 1;

Returns
Type Description
int

getModelFeaturesMap()

public abstract Map<String,ModelFeatures> getModelFeaturesMap()

Map of the model name -> features of that model

map<string, .google.cloud.speech.v2.ModelFeatures> model_features = 1;

Returns
Type Description
Map<String,ModelFeatures>

getModelFeaturesOrDefault(String key, ModelFeatures defaultValue)

public abstract ModelFeatures getModelFeaturesOrDefault(String key, ModelFeatures defaultValue)

Map of the model name -> features of that model

map<string, .google.cloud.speech.v2.ModelFeatures> model_features = 1;

Parameters
Name Description
key String
defaultValue ModelFeatures
Returns
Type Description
ModelFeatures

getModelFeaturesOrThrow(String key)

public abstract ModelFeatures getModelFeaturesOrThrow(String key)

Map of the model name -> features of that model

map<string, .google.cloud.speech.v2.ModelFeatures> model_features = 1;

Parameter
Name Description
key String
Returns
Type Description
ModelFeatures