Package org.platanios.tensorflow.proto
Class DebuggedSourceFile.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DebuggedSourceFile.Builder>
-
- org.platanios.tensorflow.proto.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 typeorg.platanios.tensorflow.proto.DebuggedSourceFile
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DebuggedSourceFile.Builder
addAllLines(java.lang.Iterable<java.lang.String> values)
Line-by-line content of the source code file.DebuggedSourceFile.Builder
addLines(java.lang.String value)
Line-by-line content of the source code file.DebuggedSourceFile.Builder
addLinesBytes(com.google.protobuf.ByteString value)
Line-by-line content of the source code file.DebuggedSourceFile.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DebuggedSourceFile
build()
DebuggedSourceFile
buildPartial()
DebuggedSourceFile.Builder
clear()
DebuggedSourceFile.Builder
clearBytes()
Byte size of the file.DebuggedSourceFile.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DebuggedSourceFile.Builder
clearFilePath()
Path to the source code file.DebuggedSourceFile.Builder
clearHost()
The host name on which a source code file is located.DebuggedSourceFile.Builder
clearLastModified()
The timestamp at which the source code file is last modified.DebuggedSourceFile.Builder
clearLines()
Line-by-line content of the source code file.DebuggedSourceFile.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DebuggedSourceFile.Builder
clone()
long
getBytes()
Byte size of the file.DebuggedSourceFile
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getFilePath()
Path to the source code file.com.google.protobuf.ByteString
getFilePathBytes()
Path to the source code file.java.lang.String
getHost()
The host name on which a source code file is located.com.google.protobuf.ByteString
getHostBytes()
The host name on which a source code file is located.long
getLastModified()
The timestamp at which the source code file is last modified.java.lang.String
getLines(int index)
Line-by-line content of the source code file.com.google.protobuf.ByteString
getLinesBytes(int index)
Line-by-line content of the source code file.int
getLinesCount()
Line-by-line content of the source code file.com.google.protobuf.ProtocolStringList
getLinesList()
Line-by-line content of the source code file.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DebuggedSourceFile.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DebuggedSourceFile.Builder
mergeFrom(com.google.protobuf.Message other)
DebuggedSourceFile.Builder
mergeFrom(DebuggedSourceFile other)
DebuggedSourceFile.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DebuggedSourceFile.Builder
setBytes(long value)
Byte size of the file.DebuggedSourceFile.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DebuggedSourceFile.Builder
setFilePath(java.lang.String value)
Path to the source code file.DebuggedSourceFile.Builder
setFilePathBytes(com.google.protobuf.ByteString value)
Path to the source code file.DebuggedSourceFile.Builder
setHost(java.lang.String value)
The host name on which a source code file is located.DebuggedSourceFile.Builder
setHostBytes(com.google.protobuf.ByteString value)
The host name on which a source code file is located.DebuggedSourceFile.Builder
setLastModified(long value)
The timestamp at which the source code file is last modified.DebuggedSourceFile.Builder
setLines(int index, java.lang.String value)
Line-by-line content of the source code file.DebuggedSourceFile.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DebuggedSourceFile.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<DebuggedSourceFile.Builder>
-
clear
public DebuggedSourceFile.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<DebuggedSourceFile.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<DebuggedSourceFile.Builder>
-
getDefaultInstanceForType
public DebuggedSourceFile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DebuggedSourceFile build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DebuggedSourceFile buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DebuggedSourceFile.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<DebuggedSourceFile.Builder>
-
setField
public DebuggedSourceFile.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<DebuggedSourceFile.Builder>
-
clearField
public DebuggedSourceFile.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<DebuggedSourceFile.Builder>
-
clearOneof
public DebuggedSourceFile.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<DebuggedSourceFile.Builder>
-
setRepeatedField
public DebuggedSourceFile.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<DebuggedSourceFile.Builder>
-
addRepeatedField
public DebuggedSourceFile.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<DebuggedSourceFile.Builder>
-
mergeFrom
public DebuggedSourceFile.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DebuggedSourceFile.Builder>
-
mergeFrom
public DebuggedSourceFile.Builder mergeFrom(DebuggedSourceFile other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceDebuggedSourceFileOrBuilder
- 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 interfaceDebuggedSourceFileOrBuilder
- 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 interfaceDebuggedSourceFileOrBuilder
- Returns:
- The filePath.
-
getFilePathBytes
public com.google.protobuf.ByteString getFilePathBytes()
Path to the source code file.
string file_path = 2;
- Specified by:
getFilePathBytes
in interfaceDebuggedSourceFileOrBuilder
- 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 interfaceDebuggedSourceFileOrBuilder
- 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.
-
getBytes
public long getBytes()
Byte size of the file.
int64 bytes = 4;
- Specified by:
getBytes
in interfaceDebuggedSourceFileOrBuilder
- Returns:
- The bytes.
-
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 interfaceDebuggedSourceFileOrBuilder
- 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 interfaceDebuggedSourceFileOrBuilder
- 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 interfaceDebuggedSourceFileOrBuilder
- 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 interfaceDebuggedSourceFileOrBuilder
- 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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebuggedSourceFile.Builder>
-
mergeUnknownFields
public final DebuggedSourceFile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebuggedSourceFile.Builder>
-
-