Package org.mlflow.api.proto
Interface Service.CreatePresignedUploadUrlOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.CreatePresignedUploadUrl,Service.CreatePresignedUploadUrl.Builder
- Enclosing class:
- Service
public static interface Service.CreatePresignedUploadUrlOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongURL expiration time in seconds (default: 900).ID of the logged model that owns the artifact, for artifacts stored under a logged model's artifact location (e.g.com.google.protobuf.ByteStringID of the logged model that owns the artifact, for artifacts stored under a logged model's artifact location (e.g.getPath()Relative path within the owning resource's artifact directory (e.g.com.google.protobuf.ByteStringRelative path within the owning resource's artifact directory (e.g.getRunId()ID of the run that owns the artifact.com.google.protobuf.ByteStringID of the run that owns the artifact.booleanURL expiration time in seconds (default: 900).booleanID of the logged model that owns the artifact, for artifacts stored under a logged model's artifact location (e.g.booleanhasPath()Relative path within the owning resource's artifact directory (e.g.booleanhasRunId()ID of the run that owns the artifact.Methods 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
-
hasRunId
boolean hasRunId()ID of the run that owns the artifact. Exactly one of run_id and model_id must be provided.
optional string run_id = 1;- Returns:
- Whether the runId field is set.
-
getRunId
String getRunId()ID of the run that owns the artifact. Exactly one of run_id and model_id must be provided.
optional string run_id = 1;- Returns:
- The runId.
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()ID of the run that owns the artifact. Exactly one of run_id and model_id must be provided.
optional string run_id = 1;- Returns:
- The bytes for runId.
-
hasPath
boolean hasPath()Relative path within the owning resource's artifact directory (e.g. "models/model.pkl"). Must be provided.
optional string path = 2;- Returns:
- Whether the path field is set.
-
getPath
String getPath()Relative path within the owning resource's artifact directory (e.g. "models/model.pkl"). Must be provided.
optional string path = 2;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()Relative path within the owning resource's artifact directory (e.g. "models/model.pkl"). Must be provided.
optional string path = 2;- Returns:
- The bytes for path.
-
hasExpiration
boolean hasExpiration()URL expiration time in seconds (default: 900).
optional int64 expiration = 3;- Returns:
- Whether the expiration field is set.
-
getExpiration
long getExpiration()URL expiration time in seconds (default: 900).
optional int64 expiration = 3;- Returns:
- The expiration.
-
hasModelId
boolean hasModelId()ID of the logged model that owns the artifact, for artifacts stored under a logged model's artifact location (e.g. "<experiment>/models/<model_id>/artifacts") rather than a run's. Exactly one of run_id and model_id must be provided. Clients must populate model_id for logged-model artifacts; sending a logged model ID through run_id is not supported.
optional string model_id = 4;- Returns:
- Whether the modelId field is set.
-
getModelId
String getModelId()ID of the logged model that owns the artifact, for artifacts stored under a logged model's artifact location (e.g. "<experiment>/models/<model_id>/artifacts") rather than a run's. Exactly one of run_id and model_id must be provided. Clients must populate model_id for logged-model artifacts; sending a logged model ID through run_id is not supported.
optional string model_id = 4;- Returns:
- The modelId.
-
getModelIdBytes
com.google.protobuf.ByteString getModelIdBytes()ID of the logged model that owns the artifact, for artifacts stored under a logged model's artifact location (e.g. "<experiment>/models/<model_id>/artifacts") rather than a run's. Exactly one of run_id and model_id must be provided. Clients must populate model_id for logged-model artifacts; sending a logged model ID through run_id is not supported.
optional string model_id = 4;- Returns:
- The bytes for modelId.
-