Interface GenerationConfig.RoutingConfigOrBuilder (1.13.0)

public static interface GenerationConfig.RoutingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoMode()

public abstract GenerationConfig.RoutingConfig.AutoRoutingMode getAutoMode()

Automated routing.

.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;

Returns
Type Description
GenerationConfig.RoutingConfig.AutoRoutingMode

The autoMode.

getAutoModeOrBuilder()

public abstract GenerationConfig.RoutingConfig.AutoRoutingModeOrBuilder getAutoModeOrBuilder()

Automated routing.

.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;

Returns
Type Description
GenerationConfig.RoutingConfig.AutoRoutingModeOrBuilder

getManualMode()

public abstract GenerationConfig.RoutingConfig.ManualRoutingMode getManualMode()

Manual routing.

.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;

Returns
Type Description
GenerationConfig.RoutingConfig.ManualRoutingMode

The manualMode.

getManualModeOrBuilder()

public abstract GenerationConfig.RoutingConfig.ManualRoutingModeOrBuilder getManualModeOrBuilder()

Manual routing.

.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;

Returns
Type Description
GenerationConfig.RoutingConfig.ManualRoutingModeOrBuilder

getRoutingConfigCase()

public abstract GenerationConfig.RoutingConfig.RoutingConfigCase getRoutingConfigCase()
Returns
Type Description
GenerationConfig.RoutingConfig.RoutingConfigCase

hasAutoMode()

public abstract boolean hasAutoMode()

Automated routing.

.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;

Returns
Type Description
boolean

Whether the autoMode field is set.

hasManualMode()

public abstract boolean hasManualMode()

Manual routing.

.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;

Returns
Type Description
boolean

Whether the manualMode field is set.