Class DebuggedSourceFile.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, DebuggedSourceFileOrBuilder
    Enclosing class:
    DebuggedSourceFile

    public static final class DebuggedSourceFile.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DebuggedSourceFile.Builder>
    implements DebuggedSourceFileOrBuilder
    Protobuf type org.platanios.tensorflow.proto.DebuggedSourceFile
    • 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<DebuggedSourceFile.Builder>
      • clear

        public DebuggedSourceFile.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DebuggedSourceFile.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<DebuggedSourceFile.Builder>
      • getDefaultInstanceForType

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

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

        public DebuggedSourceFile buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public DebuggedSourceFile.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DebuggedSourceFile.Builder>
      • setField

        public DebuggedSourceFile.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<DebuggedSourceFile.Builder>
      • clearField

        public DebuggedSourceFile.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DebuggedSourceFile.Builder>
      • clearOneof

        public DebuggedSourceFile.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DebuggedSourceFile.Builder>
      • setRepeatedField

        public DebuggedSourceFile.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<DebuggedSourceFile.Builder>
      • addRepeatedField

        public DebuggedSourceFile.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<DebuggedSourceFile.Builder>
      • mergeFrom

        public DebuggedSourceFile.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DebuggedSourceFile.Builder>
      • isInitialized

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

        public DebuggedSourceFile.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<DebuggedSourceFile.Builder>
        Throws:
        java.io.IOException
      • getHost

        public java.lang.String getHost()
         The host name on which a source code file is located.
         
        string host = 1;
        Specified by:
        getHost in interface DebuggedSourceFileOrBuilder
        Returns:
        The host.
      • getHostBytes

        public com.google.protobuf.ByteString getHostBytes()
         The host name on which a source code file is located.
         
        string host = 1;
        Specified by:
        getHostBytes in interface DebuggedSourceFileOrBuilder
        Returns:
        The bytes for host.
      • setHost

        public DebuggedSourceFile.Builder setHost​(java.lang.String value)
         The host name on which a source code file is located.
         
        string host = 1;
        Parameters:
        value - The host to set.
        Returns:
        This builder for chaining.
      • clearHost

        public DebuggedSourceFile.Builder clearHost()
         The host name on which a source code file is located.
         
        string host = 1;
        Returns:
        This builder for chaining.
      • setHostBytes

        public DebuggedSourceFile.Builder setHostBytes​(com.google.protobuf.ByteString value)
         The host name on which a source code file is located.
         
        string host = 1;
        Parameters:
        value - The bytes for host to set.
        Returns:
        This builder for chaining.
      • getFilePath

        public java.lang.String getFilePath()
         Path to the source code file.
         
        string file_path = 2;
        Specified by:
        getFilePath in interface DebuggedSourceFileOrBuilder
        Returns:
        The filePath.
      • getFilePathBytes

        public com.google.protobuf.ByteString getFilePathBytes()
         Path to the source code file.
         
        string file_path = 2;
        Specified by:
        getFilePathBytes in interface DebuggedSourceFileOrBuilder
        Returns:
        The bytes for filePath.
      • setFilePath

        public DebuggedSourceFile.Builder setFilePath​(java.lang.String value)
         Path to the source code file.
         
        string file_path = 2;
        Parameters:
        value - The filePath to set.
        Returns:
        This builder for chaining.
      • clearFilePath

        public DebuggedSourceFile.Builder clearFilePath()
         Path to the source code file.
         
        string file_path = 2;
        Returns:
        This builder for chaining.
      • setFilePathBytes

        public DebuggedSourceFile.Builder setFilePathBytes​(com.google.protobuf.ByteString value)
         Path to the source code file.
         
        string file_path = 2;
        Parameters:
        value - The bytes for filePath to set.
        Returns:
        This builder for chaining.
      • getLastModified

        public long getLastModified()
         The timestamp at which the source code file is last modified.
         
        int64 last_modified = 3;
        Specified by:
        getLastModified in interface DebuggedSourceFileOrBuilder
        Returns:
        The lastModified.
      • setLastModified

        public DebuggedSourceFile.Builder setLastModified​(long value)
         The timestamp at which the source code file is last modified.
         
        int64 last_modified = 3;
        Parameters:
        value - The lastModified to set.
        Returns:
        This builder for chaining.
      • clearLastModified

        public DebuggedSourceFile.Builder clearLastModified()
         The timestamp at which the source code file is last modified.
         
        int64 last_modified = 3;
        Returns:
        This builder for chaining.
      • setBytes

        public DebuggedSourceFile.Builder setBytes​(long value)
         Byte size of the file.
         
        int64 bytes = 4;
        Parameters:
        value - The bytes to set.
        Returns:
        This builder for chaining.
      • clearBytes

        public DebuggedSourceFile.Builder clearBytes()
         Byte size of the file.
         
        int64 bytes = 4;
        Returns:
        This builder for chaining.
      • getLinesList

        public com.google.protobuf.ProtocolStringList getLinesList()
         Line-by-line content of the source code file.
         
        repeated string lines = 5;
        Specified by:
        getLinesList in interface DebuggedSourceFileOrBuilder
        Returns:
        A list containing the lines.
      • getLinesCount

        public int getLinesCount()
         Line-by-line content of the source code file.
         
        repeated string lines = 5;
        Specified by:
        getLinesCount in interface DebuggedSourceFileOrBuilder
        Returns:
        The count of lines.
      • getLines

        public java.lang.String getLines​(int index)
         Line-by-line content of the source code file.
         
        repeated string lines = 5;
        Specified by:
        getLines in interface DebuggedSourceFileOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The lines at the given index.
      • getLinesBytes

        public com.google.protobuf.ByteString getLinesBytes​(int index)
         Line-by-line content of the source code file.
         
        repeated string lines = 5;
        Specified by:
        getLinesBytes in interface DebuggedSourceFileOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the lines at the given index.
      • setLines

        public DebuggedSourceFile.Builder setLines​(int index,
                                                   java.lang.String value)
         Line-by-line content of the source code file.
         
        repeated string lines = 5;
        Parameters:
        index - The index to set the value at.
        value - The lines to set.
        Returns:
        This builder for chaining.
      • addLines

        public DebuggedSourceFile.Builder addLines​(java.lang.String value)
         Line-by-line content of the source code file.
         
        repeated string lines = 5;
        Parameters:
        value - The lines to add.
        Returns:
        This builder for chaining.
      • addAllLines

        public DebuggedSourceFile.Builder addAllLines​(java.lang.Iterable<java.lang.String> values)
         Line-by-line content of the source code file.
         
        repeated string lines = 5;
        Parameters:
        values - The lines to add.
        Returns:
        This builder for chaining.
      • clearLines

        public DebuggedSourceFile.Builder clearLines()
         Line-by-line content of the source code file.
         
        repeated string lines = 5;
        Returns:
        This builder for chaining.
      • addLinesBytes

        public DebuggedSourceFile.Builder addLinesBytes​(com.google.protobuf.ByteString value)
         Line-by-line content of the source code file.
         
        repeated string lines = 5;
        Parameters:
        value - The bytes of the lines to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DebuggedSourceFile.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<DebuggedSourceFile.Builder>
      • mergeUnknownFields

        public final DebuggedSourceFile.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<DebuggedSourceFile.Builder>