public static final class GenerationConfig.RoutingConfig extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTO_MODE_FIELD_NUMBER
public static final int AUTO_MODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MANUAL_MODE_FIELD_NUMBER
public static final int MANUAL_MODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerationConfig.RoutingConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerationConfig.RoutingConfig.Builder newBuilder()
newBuilder(GenerationConfig.RoutingConfig prototype)
public static GenerationConfig.RoutingConfig.Builder newBuilder(GenerationConfig.RoutingConfig prototype)
public static GenerationConfig.RoutingConfig parseDelimitedFrom(InputStream input)
public static GenerationConfig.RoutingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerationConfig.RoutingConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerationConfig.RoutingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerationConfig.RoutingConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerationConfig.RoutingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerationConfig.RoutingConfig parseFrom(CodedInputStream input)
public static GenerationConfig.RoutingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerationConfig.RoutingConfig parseFrom(InputStream input)
public static GenerationConfig.RoutingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerationConfig.RoutingConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerationConfig.RoutingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerationConfig.RoutingConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAutoMode()
public GenerationConfig.RoutingConfig.AutoRoutingMode getAutoMode()
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()
getManualMode()
public GenerationConfig.RoutingConfig.ManualRoutingMode getManualMode()
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;
getParserForType()
public Parser<GenerationConfig.RoutingConfig> getParserForType()
Overrides
getRoutingConfigCase()
public GenerationConfig.RoutingConfig.RoutingConfigCase getRoutingConfigCase()
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerationConfig.RoutingConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerationConfig.RoutingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GenerationConfig.RoutingConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides