Package com.databricks.api.proto.mlflow
Class DatabricksArtifacts.CreateMultipartUpload.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
com.databricks.api.proto.mlflow.DatabricksArtifacts.CreateMultipartUpload.Builder
- All Implemented Interfaces:
DatabricksArtifacts.CreateMultipartUploadOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
DatabricksArtifacts.CreateMultipartUpload
public static final class DatabricksArtifacts.CreateMultipartUpload.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
implements DatabricksArtifacts.CreateMultipartUploadOrBuilder
Protobuf type
mlflow.CreateMultipartUpload
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Number of file parts (chunks of data) to upload in the initiated multipart uploadclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Artifact path, relative to the Run's artifact root location (e.g.Run IDclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
Number of file parts (chunks of data) to upload in the initiated multipart uploadgetPath()
Artifact path, relative to the Run's artifact root location (e.g.com.google.protobuf.ByteString
Artifact path, relative to the Run's artifact root location (e.g.getRunId()
Run IDcom.google.protobuf.ByteString
Run IDboolean
Number of file parts (chunks of data) to upload in the initiated multipart uploadboolean
hasPath()
Artifact path, relative to the Run's artifact root location (e.g.boolean
hasRunId()
Run IDprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setNumParts
(long value) Number of file parts (chunks of data) to upload in the initiated multipart uploadArtifact path, relative to the Run's artifact root location (e.g.setPathBytes
(com.google.protobuf.ByteString value) Artifact path, relative to the Run's artifact root location (e.g.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Run IDsetRunIdBytes
(com.google.protobuf.ByteString value) Run IDsetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
setField
public DatabricksArtifacts.CreateMultipartUpload.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
clearField
public DatabricksArtifacts.CreateMultipartUpload.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
clearOneof
public DatabricksArtifacts.CreateMultipartUpload.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
setRepeatedField
public DatabricksArtifacts.CreateMultipartUpload.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
addRepeatedField
public DatabricksArtifacts.CreateMultipartUpload.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
mergeFrom
public DatabricksArtifacts.CreateMultipartUpload.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
mergeFrom
public DatabricksArtifacts.CreateMultipartUpload.Builder mergeFrom(DatabricksArtifacts.CreateMultipartUpload other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
mergeFrom
public DatabricksArtifacts.CreateMultipartUpload.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
- Throws:
IOException
-
hasRunId
public boolean hasRunId()Run ID
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasRunId
in interfaceDatabricksArtifacts.CreateMultipartUploadOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
Run ID
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getRunId
in interfaceDatabricksArtifacts.CreateMultipartUploadOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()Run ID
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getRunIdBytes
in interfaceDatabricksArtifacts.CreateMultipartUploadOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
Run ID
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
Run ID
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setRunIdBytes
public DatabricksArtifacts.CreateMultipartUpload.Builder setRunIdBytes(com.google.protobuf.ByteString value) Run ID
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
hasPath
public boolean hasPath()Artifact path, relative to the Run's artifact root location (e.g. "path/to/file")
optional string path = 2;
- Specified by:
hasPath
in interfaceDatabricksArtifacts.CreateMultipartUploadOrBuilder
- Returns:
- Whether the path field is set.
-
getPath
Artifact path, relative to the Run's artifact root location (e.g. "path/to/file")
optional string path = 2;
- Specified by:
getPath
in interfaceDatabricksArtifacts.CreateMultipartUploadOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Artifact path, relative to the Run's artifact root location (e.g. "path/to/file")
optional string path = 2;
- Specified by:
getPathBytes
in interfaceDatabricksArtifacts.CreateMultipartUploadOrBuilder
- Returns:
- The bytes for path.
-
setPath
Artifact path, relative to the Run's artifact root location (e.g. "path/to/file")
optional string path = 2;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
Artifact path, relative to the Run's artifact root location (e.g. "path/to/file")
optional string path = 2;
- Returns:
- This builder for chaining.
-
setPathBytes
public DatabricksArtifacts.CreateMultipartUpload.Builder setPathBytes(com.google.protobuf.ByteString value) Artifact path, relative to the Run's artifact root location (e.g. "path/to/file")
optional string path = 2;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasNumParts
public boolean hasNumParts()Number of file parts (chunks of data) to upload in the initiated multipart upload
optional int64 num_parts = 3 [(.mlflow.validate_required) = true];
- Specified by:
hasNumParts
in interfaceDatabricksArtifacts.CreateMultipartUploadOrBuilder
- Returns:
- Whether the numParts field is set.
-
getNumParts
public long getNumParts()Number of file parts (chunks of data) to upload in the initiated multipart upload
optional int64 num_parts = 3 [(.mlflow.validate_required) = true];
- Specified by:
getNumParts
in interfaceDatabricksArtifacts.CreateMultipartUploadOrBuilder
- Returns:
- The numParts.
-
setNumParts
Number of file parts (chunks of data) to upload in the initiated multipart upload
optional int64 num_parts = 3 [(.mlflow.validate_required) = true];
- Parameters:
value
- The numParts to set.- Returns:
- This builder for chaining.
-
clearNumParts
Number of file parts (chunks of data) to upload in the initiated multipart upload
optional int64 num_parts = 3 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final DatabricksArtifacts.CreateMultipartUpload.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-
mergeUnknownFields
public final DatabricksArtifacts.CreateMultipartUpload.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.CreateMultipartUpload.Builder>
-