Class MlflowArtifacts.FileInfo.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
      • getDefaultInstanceForType

        public MlflowArtifacts.FileInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public MlflowArtifacts.FileInfo build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MlflowArtifacts.FileInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setField

        public MlflowArtifacts.FileInfo.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
      • setRepeatedField

        public MlflowArtifacts.FileInfo.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
      • addRepeatedField

        public MlflowArtifacts.FileInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
      • mergeFrom

        public MlflowArtifacts.FileInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MlflowArtifacts.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 interface MlflowArtifacts.FileInfoOrBuilder
        Returns:
        Whether the path field is set.
      • getPath

        public java.lang.String getPath()
         Path relative to the root artifact directory run.
         
        optional string path = 1;
        Specified by:
        getPath in interface MlflowArtifacts.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 interface MlflowArtifacts.FileInfoOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public MlflowArtifacts.FileInfo.Builder setPath​(java.lang.String value)
         Path relative to the root artifact directory run.
         
        optional string path = 1;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public MlflowArtifacts.FileInfo.Builder clearPath()
         Path relative to the root artifact directory run.
         
        optional string path = 1;
        Returns:
        This builder for chaining.
      • setPathBytes

        public MlflowArtifacts.FileInfo.Builder setPathBytes​(com.google.protobuf.ByteString value)
         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 interface MlflowArtifacts.FileInfoOrBuilder
        Returns:
        Whether the isDir field is set.
      • setIsDir

        public MlflowArtifacts.FileInfo.Builder setIsDir​(boolean value)
         Whether the path is a directory.
         
        optional bool is_dir = 2;
        Parameters:
        value - The isDir to set.
        Returns:
        This builder for chaining.
      • clearIsDir

        public MlflowArtifacts.FileInfo.Builder 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 interface MlflowArtifacts.FileInfoOrBuilder
        Returns:
        Whether the fileSize field is set.
      • setFileSize

        public MlflowArtifacts.FileInfo.Builder setFileSize​(long value)
         Size in bytes. Unset for directories.
         
        optional int64 file_size = 3;
        Parameters:
        value - The fileSize to set.
        Returns:
        This builder for chaining.
      • clearFileSize

        public MlflowArtifacts.FileInfo.Builder 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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>
      • mergeUnknownFields

        public final MlflowArtifacts.FileInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MlflowArtifacts.FileInfo.Builder>