Package org.mlflow.api.proto
Interface Service.CreateGatewayModelDefinitionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.CreateGatewayModelDefinition,Service.CreateGatewayModelDefinition.Builder
- Enclosing class:
- Service
public static interface Service.CreateGatewayModelDefinitionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionUsername of the creatorcom.google.protobuf.ByteStringUsername of the creatorProvider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")com.google.protobuf.ByteStringProvider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")getName()User-friendly name for the model definition (must be unique)com.google.protobuf.ByteStringUser-friendly name for the model definition (must be unique)LLM provider (e.g., "openai", "anthropic")com.google.protobuf.ByteStringLLM provider (e.g., "openai", "anthropic")ID of the secret containing authentication credentialscom.google.protobuf.ByteStringID of the secret containing authentication credentialsbooleanUsername of the creatorbooleanProvider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")booleanhasName()User-friendly name for the model definition (must be unique)booleanLLM provider (e.g., "openai", "anthropic")booleanID of the secret containing authentication credentialsMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()User-friendly name for the model definition (must be unique)
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()User-friendly name for the model definition (must be unique)
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()User-friendly name for the model definition (must be unique)
optional string name = 1;- Returns:
- The bytes for name.
-
hasSecretId
boolean hasSecretId()ID of the secret containing authentication credentials
optional string secret_id = 2;- Returns:
- Whether the secretId field is set.
-
getSecretId
String getSecretId()ID of the secret containing authentication credentials
optional string secret_id = 2;- Returns:
- The secretId.
-
getSecretIdBytes
com.google.protobuf.ByteString getSecretIdBytes()ID of the secret containing authentication credentials
optional string secret_id = 2;- Returns:
- The bytes for secretId.
-
hasProvider
boolean hasProvider()LLM provider (e.g., "openai", "anthropic")
optional string provider = 3;- Returns:
- Whether the provider field is set.
-
getProvider
String getProvider()LLM provider (e.g., "openai", "anthropic")
optional string provider = 3;- Returns:
- The provider.
-
getProviderBytes
com.google.protobuf.ByteString getProviderBytes()LLM provider (e.g., "openai", "anthropic")
optional string provider = 3;- Returns:
- The bytes for provider.
-
hasModelName
boolean hasModelName()Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")
optional string model_name = 4;- Returns:
- Whether the modelName field is set.
-
getModelName
String getModelName()Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")
optional string model_name = 4;- Returns:
- The modelName.
-
getModelNameBytes
com.google.protobuf.ByteString getModelNameBytes()Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")
optional string model_name = 4;- Returns:
- The bytes for modelName.
-
hasCreatedBy
boolean hasCreatedBy()Username of the creator
optional string created_by = 5;- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
String getCreatedBy()Username of the creator
optional string created_by = 5;- Returns:
- The createdBy.
-
getCreatedByBytes
com.google.protobuf.ByteString getCreatedByBytes()Username of the creator
optional string created_by = 5;- Returns:
- The bytes for createdBy.
-