Interface GenerationConfig.RoutingConfig.AutoRoutingModeOrBuilder (3.49.0)

public static interface GenerationConfig.RoutingConfig.AutoRoutingModeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModelRoutingPreference()

public abstract GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference getModelRoutingPreference()

The model routing preference.

optional .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference model_routing_preference = 1;

Returns
Type Description
GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference

The modelRoutingPreference.

getModelRoutingPreferenceValue()

public abstract int getModelRoutingPreferenceValue()

The model routing preference.

optional .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference model_routing_preference = 1;

Returns
Type Description
int

The enum numeric value on the wire for modelRoutingPreference.

hasModelRoutingPreference()

public abstract boolean hasModelRoutingPreference()

The model routing preference.

optional .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference model_routing_preference = 1;

Returns
Type Description
boolean

Whether the modelRoutingPreference field is set.