Package org.mlflow.api.proto
Class MlflowArtifacts.FileInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<MlflowArtifacts.FileInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
org.mlflow.api.proto.MlflowArtifacts.FileInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,MlflowArtifacts.FileInfoOrBuilder
- Enclosing class:
MlflowArtifacts.FileInfo
public static final class MlflowArtifacts.FileInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
implements MlflowArtifacts.FileInfoOrBuilder
Protobuf type
mlflow.artifacts.FileInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Size in bytes.Whether the path is a directory.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Path relative to the root artifact directory run.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
Size in bytes.boolean
getIsDir()
Whether the path is a directory.getPath()
Path relative to the root artifact directory run.com.google.protobuf.ByteString
Path relative to the root artifact directory run.boolean
Size in bytes.boolean
hasIsDir()
Whether the path is a directory.boolean
hasPath()
Path relative to the root artifact directory run.protected 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) setFileSize
(long value) Size in bytes.setIsDir
(boolean value) Whether the path is a directory.Path relative to the root artifact directory run.setPathBytes
(com.google.protobuf.ByteString value) Path relative to the root artifact directory run.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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
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<MlflowArtifacts.FileInfo.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<MlflowArtifacts.FileInfo.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<MlflowArtifacts.FileInfo.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<MlflowArtifacts.FileInfo.Builder>
-
setField
public MlflowArtifacts.FileInfo.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<MlflowArtifacts.FileInfo.Builder>
-
clearField
public MlflowArtifacts.FileInfo.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<MlflowArtifacts.FileInfo.Builder>
-
clearOneof
public MlflowArtifacts.FileInfo.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<MlflowArtifacts.FileInfo.Builder>
-
setRepeatedField
public MlflowArtifacts.FileInfo.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<MlflowArtifacts.FileInfo.Builder>
-
addRepeatedField
public MlflowArtifacts.FileInfo.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<MlflowArtifacts.FileInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MlflowArtifacts.FileInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
-
mergeFrom
public MlflowArtifacts.FileInfo.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<MlflowArtifacts.FileInfo.Builder>
- Throws:
IOException
-
hasPath
public boolean hasPath()Path relative to the root artifact directory run.
optional string path = 1;
- Specified by:
hasPath
in interfaceMlflowArtifacts.FileInfoOrBuilder
- Returns:
- Whether the path field is set.
-
getPath
Path relative to the root artifact directory run.
optional string path = 1;
- Specified by:
getPath
in interfaceMlflowArtifacts.FileInfoOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Path relative to the root artifact directory run.
optional string path = 1;
- Specified by:
getPathBytes
in interfaceMlflowArtifacts.FileInfoOrBuilder
- Returns:
- The bytes for path.
-
setPath
Path relative to the root artifact directory run.
optional string path = 1;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
Path relative to the root artifact directory run.
optional string path = 1;
- Returns:
- This builder for chaining.
-
setPathBytes
Path relative to the root artifact directory run.
optional string path = 1;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasIsDir
public boolean hasIsDir()Whether the path is a directory.
optional bool is_dir = 2;
- Specified by:
hasIsDir
in interfaceMlflowArtifacts.FileInfoOrBuilder
- Returns:
- Whether the isDir field is set.
-
getIsDir
public boolean getIsDir()Whether the path is a directory.
optional bool is_dir = 2;
- Specified by:
getIsDir
in interfaceMlflowArtifacts.FileInfoOrBuilder
- Returns:
- The isDir.
-
setIsDir
Whether the path is a directory.
optional bool is_dir = 2;
- Parameters:
value
- The isDir to set.- Returns:
- This builder for chaining.
-
clearIsDir
Whether the path is a directory.
optional bool is_dir = 2;
- Returns:
- This builder for chaining.
-
hasFileSize
public boolean hasFileSize()Size in bytes. Unset for directories.
optional int64 file_size = 3;
- Specified by:
hasFileSize
in interfaceMlflowArtifacts.FileInfoOrBuilder
- Returns:
- Whether the fileSize field is set.
-
getFileSize
public long getFileSize()Size in bytes. Unset for directories.
optional int64 file_size = 3;
- Specified by:
getFileSize
in interfaceMlflowArtifacts.FileInfoOrBuilder
- Returns:
- The fileSize.
-
setFileSize
Size in bytes. Unset for directories.
optional int64 file_size = 3;
- Parameters:
value
- The fileSize to set.- Returns:
- This builder for chaining.
-
clearFileSize
Size in bytes. Unset for directories.
optional int64 file_size = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final MlflowArtifacts.FileInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
-
mergeUnknownFields
public final MlflowArtifacts.FileInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
-