Package org.mlflow.api.proto
Class Service.CreatePresignedUploadUrl.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
org.mlflow.api.proto.Service.CreatePresignedUploadUrl.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Service.CreatePresignedUploadUrlOrBuilder
- Enclosing class:
- Service.CreatePresignedUploadUrl
public static final class Service.CreatePresignedUploadUrl.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
implements Service.CreatePresignedUploadUrlOrBuilder
Protobuf type
mlflow.CreatePresignedUploadUrl-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()URL expiration time in seconds (default: 900).clearField(com.google.protobuf.Descriptors.FieldDescriptor field) ID of the logged model that owns the artifact, for artifacts stored under a logged model's artifact location (e.g.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Relative path within the owning resource's artifact directory (e.g.ID of the run that owns the artifact.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongURL 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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setExpiration(long value) URL expiration time in seconds (default: 900).setModelId(String value) ID of the logged model that owns the artifact, for artifacts stored under a logged model's artifact location (e.g.setModelIdBytes(com.google.protobuf.ByteString value) ID of the logged model that owns the artifact, for artifacts stored under a logged model's artifact location (e.g.Relative path within the owning resource's artifact directory (e.g.setPathBytes(com.google.protobuf.ByteString value) Relative path within the owning resource's artifact directory (e.g.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) ID of the run that owns the artifact.setRunIdBytes(com.google.protobuf.ByteString value) ID of the run that owns the artifact.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
setField
public Service.CreatePresignedUploadUrl.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
clearField
public Service.CreatePresignedUploadUrl.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
clearOneof
public Service.CreatePresignedUploadUrl.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
setRepeatedField
public Service.CreatePresignedUploadUrl.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
addRepeatedField
public Service.CreatePresignedUploadUrl.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.CreatePresignedUploadUrl.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
mergeFrom
public Service.CreatePresignedUploadUrl.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.CreatePresignedUploadUrl.Builder>- Throws:
IOException
-
hasRunId
public 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;- Specified by:
hasRunIdin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- Whether the runId field is set.
-
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;- Specified by:
getRunIdin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public 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;- Specified by:
getRunIdBytesin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- The bytes for runId.
-
setRunId
ID of the run that owns the artifact. Exactly one of run_id and model_id must be provided.
optional string run_id = 1;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
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:
- This builder for chaining.
-
setRunIdBytes
ID of the run that owns the artifact. Exactly one of run_id and model_id must be provided.
optional string run_id = 1;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
hasPath
public boolean hasPath()Relative path within the owning resource's artifact directory (e.g. "models/model.pkl"). Must be provided.
optional string path = 2;- Specified by:
hasPathin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- Whether the path field is set.
-
getPath
Relative path within the owning resource's artifact directory (e.g. "models/model.pkl"). Must be provided.
optional string path = 2;- Specified by:
getPathin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- The path.
-
getPathBytes
public 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;- Specified by:
getPathBytesin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- The bytes for path.
-
setPath
Relative path within the owning resource's artifact directory (e.g. "models/model.pkl"). Must be provided.
optional string path = 2;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
Relative path within the owning resource's artifact directory (e.g. "models/model.pkl"). Must be provided.
optional string path = 2;- Returns:
- This builder for chaining.
-
setPathBytes
Relative path within the owning resource's artifact directory (e.g. "models/model.pkl"). Must be provided.
optional string path = 2;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasExpiration
public boolean hasExpiration()URL expiration time in seconds (default: 900).
optional int64 expiration = 3;- Specified by:
hasExpirationin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- Whether the expiration field is set.
-
getExpiration
public long getExpiration()URL expiration time in seconds (default: 900).
optional int64 expiration = 3;- Specified by:
getExpirationin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- The expiration.
-
setExpiration
URL expiration time in seconds (default: 900).
optional int64 expiration = 3;- Parameters:
value- The expiration to set.- Returns:
- This builder for chaining.
-
clearExpiration
URL expiration time in seconds (default: 900).
optional int64 expiration = 3;- Returns:
- This builder for chaining.
-
hasModelId
public 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;- Specified by:
hasModelIdin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- Whether the modelId field is set.
-
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;- Specified by:
getModelIdin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- The modelId.
-
getModelIdBytes
public 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;- Specified by:
getModelIdBytesin interfaceService.CreatePresignedUploadUrlOrBuilder- Returns:
- The bytes for modelId.
-
setModelId
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;- Parameters:
value- The modelId to set.- Returns:
- This builder for chaining.
-
clearModelId
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:
- This builder for chaining.
-
setModelIdBytes
public Service.CreatePresignedUploadUrl.Builder setModelIdBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for modelId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.CreatePresignedUploadUrl.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-
mergeUnknownFields
public final Service.CreatePresignedUploadUrl.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.CreatePresignedUploadUrl.Builder>
-