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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCreatedBy()Username of the creatorcom.google.protobuf.ByteStringgetCreatedByBytes()Username of the creatorjava.lang.StringgetModelName()Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")com.google.protobuf.ByteStringgetModelNameBytes()Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")java.lang.StringgetName()User-friendly name for the model definition (must be unique)com.google.protobuf.ByteStringgetNameBytes()User-friendly name for the model definition (must be unique)java.lang.StringgetProvider()LLM provider (e.g., "openai", "anthropic")com.google.protobuf.ByteStringgetProviderBytes()LLM provider (e.g., "openai", "anthropic")java.lang.StringgetSecretId()ID of the secret containing authentication credentialscom.google.protobuf.ByteStringgetSecretIdBytes()ID of the secret containing authentication credentialsbooleanhasCreatedBy()Username of the creatorbooleanhasModelName()Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")booleanhasName()User-friendly name for the model definition (must be unique)booleanhasProvider()LLM provider (e.g., "openai", "anthropic")booleanhasSecretId()ID of the secret containing authentication credentials-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.lang.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
java.lang.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
java.lang.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
java.lang.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
java.lang.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.
-
-