public static final class GenerationConfig.RoutingConfig.Builder extends GeneratedMessageV3.Builder<GenerationConfig.RoutingConfig.Builder> implements GenerationConfig.RoutingConfigOrBuilder
The configuration for routing the request to a specific model.
Protobuf type google.cloud.vertexai.v1.GenerationConfig.RoutingConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerationConfig.RoutingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerationConfig.RoutingConfig build()
buildPartial()
public GenerationConfig.RoutingConfig buildPartial()
clear()
public GenerationConfig.RoutingConfig.Builder clear()
Overrides
clearAutoMode()
public GenerationConfig.RoutingConfig.Builder clearAutoMode()
Automated routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;
clearField(Descriptors.FieldDescriptor field)
public GenerationConfig.RoutingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearManualMode()
public GenerationConfig.RoutingConfig.Builder clearManualMode()
Manual routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerationConfig.RoutingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRoutingConfig()
public GenerationConfig.RoutingConfig.Builder clearRoutingConfig()
clone()
public GenerationConfig.RoutingConfig.Builder clone()
Overrides
getAutoMode()
public GenerationConfig.RoutingConfig.AutoRoutingMode getAutoMode()
Automated routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;
getAutoModeBuilder()
public GenerationConfig.RoutingConfig.AutoRoutingMode.Builder getAutoModeBuilder()
Automated routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;
getAutoModeOrBuilder()
public GenerationConfig.RoutingConfig.AutoRoutingModeOrBuilder getAutoModeOrBuilder()
Automated routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;
getDefaultInstanceForType()
public GenerationConfig.RoutingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getManualMode()
public GenerationConfig.RoutingConfig.ManualRoutingMode getManualMode()
Manual routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;
getManualModeBuilder()
public GenerationConfig.RoutingConfig.ManualRoutingMode.Builder getManualModeBuilder()
Manual routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;
getManualModeOrBuilder()
public GenerationConfig.RoutingConfig.ManualRoutingModeOrBuilder getManualModeOrBuilder()
Manual routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;
getRoutingConfigCase()
public GenerationConfig.RoutingConfig.RoutingConfigCase getRoutingConfigCase()
hasAutoMode()
public 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 boolean hasManualMode()
Manual routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;
Returns |
Type |
Description |
boolean |
Whether the manualMode field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAutoMode(GenerationConfig.RoutingConfig.AutoRoutingMode value)
public GenerationConfig.RoutingConfig.Builder mergeAutoMode(GenerationConfig.RoutingConfig.AutoRoutingMode value)
Automated routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;
mergeFrom(GenerationConfig.RoutingConfig other)
public GenerationConfig.RoutingConfig.Builder mergeFrom(GenerationConfig.RoutingConfig other)
public GenerationConfig.RoutingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerationConfig.RoutingConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeManualMode(GenerationConfig.RoutingConfig.ManualRoutingMode value)
public GenerationConfig.RoutingConfig.Builder mergeManualMode(GenerationConfig.RoutingConfig.ManualRoutingMode value)
Manual routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerationConfig.RoutingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAutoMode(GenerationConfig.RoutingConfig.AutoRoutingMode value)
public GenerationConfig.RoutingConfig.Builder setAutoMode(GenerationConfig.RoutingConfig.AutoRoutingMode value)
Automated routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;
setAutoMode(GenerationConfig.RoutingConfig.AutoRoutingMode.Builder builderForValue)
public GenerationConfig.RoutingConfig.Builder setAutoMode(GenerationConfig.RoutingConfig.AutoRoutingMode.Builder builderForValue)
Automated routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public GenerationConfig.RoutingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setManualMode(GenerationConfig.RoutingConfig.ManualRoutingMode value)
public GenerationConfig.RoutingConfig.Builder setManualMode(GenerationConfig.RoutingConfig.ManualRoutingMode value)
Manual routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;
setManualMode(GenerationConfig.RoutingConfig.ManualRoutingMode.Builder builderForValue)
public GenerationConfig.RoutingConfig.Builder setManualMode(GenerationConfig.RoutingConfig.ManualRoutingMode.Builder builderForValue)
Manual routing.
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerationConfig.RoutingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerationConfig.RoutingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides