Package org.mlflow.api.proto
Class Service.FileInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Service.FileInfo.Builder>
org.mlflow.api.proto.Service.FileInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,Service.FileInfoOrBuilder
- Enclosing class:
- Service.FileInfo
public static final class Service.FileInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.FileInfo.Builder> implements Service.FileInfoOrBuilder
Metadata of a single artifact file or directory.Protobuf type
mlflow.FileInfo
-
Method Summary
Modifier and Type Method Description Service.FileInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.FileInfo
build()
Service.FileInfo
buildPartial()
Service.FileInfo.Builder
clear()
Service.FileInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.FileInfo.Builder
clearFileSize()
Size in bytes.Service.FileInfo.Builder
clearIsDir()
Whether the path is a directory.Service.FileInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.FileInfo.Builder
clearPath()
Path relative to the root artifact directory run.Service.FileInfo.Builder
clone()
Service.FileInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getFileSize()
Size in bytes.boolean
getIsDir()
Whether the path is a directory.java.lang.String
getPath()
Path relative to the root artifact directory run.com.google.protobuf.ByteString
getPathBytes()
Path relative to the root artifact directory run.boolean
hasFileSize()
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
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.FileInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.FileInfo.Builder
mergeFrom(com.google.protobuf.Message other)
Service.FileInfo.Builder
mergeFrom(Service.FileInfo other)
Service.FileInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.FileInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.FileInfo.Builder
setFileSize(long value)
Size in bytes.Service.FileInfo.Builder
setIsDir(boolean value)
Whether the path is a directory.Service.FileInfo.Builder
setPath(java.lang.String value)
Path relative to the root artifact directory run.Service.FileInfo.Builder
setPathBytes(com.google.protobuf.ByteString value)
Path relative to the root artifact directory run.Service.FileInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.FileInfo.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 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<Service.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<Service.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<Service.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<Service.FileInfo.Builder>
-
setField
public Service.FileInfo.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<Service.FileInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.FileInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.FileInfo.Builder>
-
setRepeatedField
public Service.FileInfo.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<Service.FileInfo.Builder>
-
addRepeatedField
public Service.FileInfo.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<Service.FileInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.FileInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.FileInfo.Builder>
-
mergeFrom
public Service.FileInfo.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<Service.FileInfo.Builder>
- Throws:
java.io.IOException
-
hasPath
public boolean hasPath()Path relative to the root artifact directory run.
optional string path = 1;
- Specified by:
hasPath
in interfaceService.FileInfoOrBuilder
-
getPath
public java.lang.String getPath()Path relative to the root artifact directory run.
optional string path = 1;
- Specified by:
getPath
in interfaceService.FileInfoOrBuilder
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Path relative to the root artifact directory run.
optional string path = 1;
- Specified by:
getPathBytes
in interfaceService.FileInfoOrBuilder
-
setPath
Path relative to the root artifact directory run.
optional string path = 1;
-
clearPath
Path relative to the root artifact directory run.
optional string path = 1;
-
setPathBytes
Path relative to the root artifact directory run.
optional string path = 1;
-
hasIsDir
public boolean hasIsDir()Whether the path is a directory.
optional bool is_dir = 2;
- Specified by:
hasIsDir
in interfaceService.FileInfoOrBuilder
-
getIsDir
public boolean getIsDir()Whether the path is a directory.
optional bool is_dir = 2;
- Specified by:
getIsDir
in interfaceService.FileInfoOrBuilder
-
setIsDir
Whether the path is a directory.
optional bool is_dir = 2;
-
clearIsDir
Whether the path is a directory.
optional bool is_dir = 2;
-
hasFileSize
public boolean hasFileSize()Size in bytes. Unset for directories.
optional int64 file_size = 3;
- Specified by:
hasFileSize
in interfaceService.FileInfoOrBuilder
-
getFileSize
public long getFileSize()Size in bytes. Unset for directories.
optional int64 file_size = 3;
- Specified by:
getFileSize
in interfaceService.FileInfoOrBuilder
-
setFileSize
Size in bytes. Unset for directories.
optional int64 file_size = 3;
-
clearFileSize
Size in bytes. Unset for directories.
optional int64 file_size = 3;
-
setUnknownFields
public final Service.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<Service.FileInfo.Builder>
-
mergeUnknownFields
public final Service.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<Service.FileInfo.Builder>
-