public static interface GenerationConfig.RoutingConfig.AutoRoutingModeOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getModelRoutingPreference()
public abstract GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference getModelRoutingPreference()
The model routing preference.
optional .google.cloud.vertexai.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.vertexai.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.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference model_routing_preference = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the modelRoutingPreference field is set. |