public static final class GenerationConfig.RoutingConfig.ManualRoutingMode extends GeneratedMessageV3 implements GenerationConfig.RoutingConfig.ManualRoutingModeOrBuilder
When manual routing is set, the specified model will be used directly.
Protobuf type
google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.ManualRoutingMode
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
MODEL_NAME_FIELD_NUMBER
public static final int MODEL_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerationConfig.RoutingConfig.ManualRoutingMode getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerationConfig.RoutingConfig.ManualRoutingMode.Builder newBuilder()
newBuilder(GenerationConfig.RoutingConfig.ManualRoutingMode prototype)
public static GenerationConfig.RoutingConfig.ManualRoutingMode.Builder newBuilder(GenerationConfig.RoutingConfig.ManualRoutingMode prototype)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseDelimitedFrom(InputStream input)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseFrom(CodedInputStream input)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseFrom(InputStream input)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerationConfig.RoutingConfig.ManualRoutingMode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerationConfig.RoutingConfig.ManualRoutingMode> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public GenerationConfig.RoutingConfig.ManualRoutingMode getDefaultInstanceForType()
getModelName()
public String getModelName()
The model name to use. Only the public LLM models are accepted. e.g.
'gemini-1.5-pro-001'.
optional string model_name = 1;
Returns |
Type |
Description |
String |
The modelName.
|
getModelNameBytes()
public ByteString getModelNameBytes()
The model name to use. Only the public LLM models are accepted. e.g.
'gemini-1.5-pro-001'.
optional string model_name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for modelName.
|
getParserForType()
public Parser<GenerationConfig.RoutingConfig.ManualRoutingMode> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasModelName()
public boolean hasModelName()
The model name to use. Only the public LLM models are accepted. e.g.
'gemini-1.5-pro-001'.
optional string model_name = 1;
Returns |
Type |
Description |
boolean |
Whether the modelName 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.ManualRoutingMode.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerationConfig.RoutingConfig.ManualRoutingMode.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.ManualRoutingMode.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides