Package com.databricks.api.proto.mlflow
Class DatabricksArtifacts.CreateMultipartUpload.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
,java.lang.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 typemlflow.CreateMultipartUpload
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabricksArtifacts.CreateMultipartUpload.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DatabricksArtifacts.CreateMultipartUpload
build()
DatabricksArtifacts.CreateMultipartUpload
buildPartial()
DatabricksArtifacts.CreateMultipartUpload.Builder
clear()
DatabricksArtifacts.CreateMultipartUpload.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DatabricksArtifacts.CreateMultipartUpload.Builder
clearNumParts()
Number of file parts (chunks of data) to upload in the initiated multipart uploadDatabricksArtifacts.CreateMultipartUpload.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DatabricksArtifacts.CreateMultipartUpload.Builder
clearPath()
Artifact path, relative to the Run's artifact root location (e.g.DatabricksArtifacts.CreateMultipartUpload.Builder
clearRunId()
Run IDDatabricksArtifacts.CreateMultipartUpload.Builder
clone()
DatabricksArtifacts.CreateMultipartUpload
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getNumParts()
Number of file parts (chunks of data) to upload in the initiated multipart uploadjava.lang.String
getPath()
Artifact path, relative to the Run's artifact root location (e.g.com.google.protobuf.ByteString
getPathBytes()
Artifact path, relative to the Run's artifact root location (e.g.java.lang.String
getRunId()
Run IDcom.google.protobuf.ByteString
getRunIdBytes()
Run IDboolean
hasNumParts()
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
internalGetFieldAccessorTable()
boolean
isInitialized()
DatabricksArtifacts.CreateMultipartUpload.Builder
mergeFrom(DatabricksArtifacts.CreateMultipartUpload other)
DatabricksArtifacts.CreateMultipartUpload.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DatabricksArtifacts.CreateMultipartUpload.Builder
mergeFrom(com.google.protobuf.Message other)
DatabricksArtifacts.CreateMultipartUpload.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DatabricksArtifacts.CreateMultipartUpload.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DatabricksArtifacts.CreateMultipartUpload.Builder
setNumParts(long value)
Number of file parts (chunks of data) to upload in the initiated multipart uploadDatabricksArtifacts.CreateMultipartUpload.Builder
setPath(java.lang.String value)
Artifact path, relative to the Run's artifact root location (e.g.DatabricksArtifacts.CreateMultipartUpload.Builder
setPathBytes(com.google.protobuf.ByteString value)
Artifact path, relative to the Run's artifact root location (e.g.DatabricksArtifacts.CreateMultipartUpload.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DatabricksArtifacts.CreateMultipartUpload.Builder
setRunId(java.lang.String value)
Run IDDatabricksArtifacts.CreateMultipartUpload.Builder
setRunIdBytes(com.google.protobuf.ByteString value)
Run IDDatabricksArtifacts.CreateMultipartUpload.Builder
setUnknownFields(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
-
-
-
-
Method Detail
-
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
public 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
public DatabricksArtifacts.CreateMultipartUpload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DatabricksArtifacts.CreateMultipartUpload build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DatabricksArtifacts.CreateMultipartUpload buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DatabricksArtifacts.CreateMultipartUpload.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, java.lang.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, java.lang.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, java.lang.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 java.io.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:
java.io.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
public java.lang.String 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
public DatabricksArtifacts.CreateMultipartUpload.Builder setRunId(java.lang.String value)
Run ID
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
public DatabricksArtifacts.CreateMultipartUpload.Builder 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
public java.lang.String 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
public DatabricksArtifacts.CreateMultipartUpload.Builder setPath(java.lang.String value)
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
public DatabricksArtifacts.CreateMultipartUpload.Builder 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
public DatabricksArtifacts.CreateMultipartUpload.Builder setNumParts(long value)
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
public DatabricksArtifacts.CreateMultipartUpload.Builder 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>
-
-