Package org.platanios.tensorflow.proto
Class GraphDebugInfo.FileLineCol.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
- org.platanios.tensorflow.proto.GraphDebugInfo.FileLineCol.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
,GraphDebugInfo.FileLineColOrBuilder
- Enclosing class:
- GraphDebugInfo.FileLineCol
public static final class GraphDebugInfo.FileLineCol.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder> implements GraphDebugInfo.FileLineColOrBuilder
This represents a file/line location in the source code.
Protobuf typeorg.platanios.tensorflow.proto.GraphDebugInfo.FileLineCol
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphDebugInfo.FileLineCol.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GraphDebugInfo.FileLineCol
build()
GraphDebugInfo.FileLineCol
buildPartial()
GraphDebugInfo.FileLineCol.Builder
clear()
GraphDebugInfo.FileLineCol.Builder
clearCode()
Source code contained in this file line.GraphDebugInfo.FileLineCol.Builder
clearCol()
Col number in the file line.GraphDebugInfo.FileLineCol.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GraphDebugInfo.FileLineCol.Builder
clearFileIndex()
File name index, which can be used to retrieve the file name string from `files`.GraphDebugInfo.FileLineCol.Builder
clearFunc()
Name of function contains the file line.GraphDebugInfo.FileLineCol.Builder
clearLine()
Line number in the file.GraphDebugInfo.FileLineCol.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GraphDebugInfo.FileLineCol.Builder
clone()
java.lang.String
getCode()
Source code contained in this file line.com.google.protobuf.ByteString
getCodeBytes()
Source code contained in this file line.int
getCol()
Col number in the file line.GraphDebugInfo.FileLineCol
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getFileIndex()
File name index, which can be used to retrieve the file name string from `files`.java.lang.String
getFunc()
Name of function contains the file line.com.google.protobuf.ByteString
getFuncBytes()
Name of function contains the file line.int
getLine()
Line number in the file.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GraphDebugInfo.FileLineCol.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GraphDebugInfo.FileLineCol.Builder
mergeFrom(com.google.protobuf.Message other)
GraphDebugInfo.FileLineCol.Builder
mergeFrom(GraphDebugInfo.FileLineCol other)
GraphDebugInfo.FileLineCol.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GraphDebugInfo.FileLineCol.Builder
setCode(java.lang.String value)
Source code contained in this file line.GraphDebugInfo.FileLineCol.Builder
setCodeBytes(com.google.protobuf.ByteString value)
Source code contained in this file line.GraphDebugInfo.FileLineCol.Builder
setCol(int value)
Col number in the file line.GraphDebugInfo.FileLineCol.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GraphDebugInfo.FileLineCol.Builder
setFileIndex(int value)
File name index, which can be used to retrieve the file name string from `files`.GraphDebugInfo.FileLineCol.Builder
setFunc(java.lang.String value)
Name of function contains the file line.GraphDebugInfo.FileLineCol.Builder
setFuncBytes(com.google.protobuf.ByteString value)
Name of function contains the file line.GraphDebugInfo.FileLineCol.Builder
setLine(int value)
Line number in the file.GraphDebugInfo.FileLineCol.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
GraphDebugInfo.FileLineCol.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<GraphDebugInfo.FileLineCol.Builder>
-
clear
public GraphDebugInfo.FileLineCol.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<GraphDebugInfo.FileLineCol.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<GraphDebugInfo.FileLineCol.Builder>
-
getDefaultInstanceForType
public GraphDebugInfo.FileLineCol getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GraphDebugInfo.FileLineCol build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GraphDebugInfo.FileLineCol buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GraphDebugInfo.FileLineCol.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<GraphDebugInfo.FileLineCol.Builder>
-
setField
public GraphDebugInfo.FileLineCol.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<GraphDebugInfo.FileLineCol.Builder>
-
clearField
public GraphDebugInfo.FileLineCol.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<GraphDebugInfo.FileLineCol.Builder>
-
clearOneof
public GraphDebugInfo.FileLineCol.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<GraphDebugInfo.FileLineCol.Builder>
-
setRepeatedField
public GraphDebugInfo.FileLineCol.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<GraphDebugInfo.FileLineCol.Builder>
-
addRepeatedField
public GraphDebugInfo.FileLineCol.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<GraphDebugInfo.FileLineCol.Builder>
-
mergeFrom
public GraphDebugInfo.FileLineCol.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GraphDebugInfo.FileLineCol.Builder>
-
mergeFrom
public GraphDebugInfo.FileLineCol.Builder mergeFrom(GraphDebugInfo.FileLineCol other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
mergeFrom
public GraphDebugInfo.FileLineCol.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<GraphDebugInfo.FileLineCol.Builder>
- Throws:
java.io.IOException
-
getFileIndex
public int getFileIndex()
File name index, which can be used to retrieve the file name string from `files`. The value should be between 0 and (len(files)-1)
int32 file_index = 1;
- Specified by:
getFileIndex
in interfaceGraphDebugInfo.FileLineColOrBuilder
- Returns:
- The fileIndex.
-
setFileIndex
public GraphDebugInfo.FileLineCol.Builder setFileIndex(int value)
File name index, which can be used to retrieve the file name string from `files`. The value should be between 0 and (len(files)-1)
int32 file_index = 1;
- Parameters:
value
- The fileIndex to set.- Returns:
- This builder for chaining.
-
clearFileIndex
public GraphDebugInfo.FileLineCol.Builder clearFileIndex()
File name index, which can be used to retrieve the file name string from `files`. The value should be between 0 and (len(files)-1)
int32 file_index = 1;
- Returns:
- This builder for chaining.
-
getLine
public int getLine()
Line number in the file.
int32 line = 2;
- Specified by:
getLine
in interfaceGraphDebugInfo.FileLineColOrBuilder
- Returns:
- The line.
-
setLine
public GraphDebugInfo.FileLineCol.Builder setLine(int value)
Line number in the file.
int32 line = 2;
- Parameters:
value
- The line to set.- Returns:
- This builder for chaining.
-
clearLine
public GraphDebugInfo.FileLineCol.Builder clearLine()
Line number in the file.
int32 line = 2;
- Returns:
- This builder for chaining.
-
getCol
public int getCol()
Col number in the file line.
int32 col = 3;
- Specified by:
getCol
in interfaceGraphDebugInfo.FileLineColOrBuilder
- Returns:
- The col.
-
setCol
public GraphDebugInfo.FileLineCol.Builder setCol(int value)
Col number in the file line.
int32 col = 3;
- Parameters:
value
- The col to set.- Returns:
- This builder for chaining.
-
clearCol
public GraphDebugInfo.FileLineCol.Builder clearCol()
Col number in the file line.
int32 col = 3;
- Returns:
- This builder for chaining.
-
getFunc
public java.lang.String getFunc()
Name of function contains the file line.
string func = 4;
- Specified by:
getFunc
in interfaceGraphDebugInfo.FileLineColOrBuilder
- Returns:
- The func.
-
getFuncBytes
public com.google.protobuf.ByteString getFuncBytes()
Name of function contains the file line.
string func = 4;
- Specified by:
getFuncBytes
in interfaceGraphDebugInfo.FileLineColOrBuilder
- Returns:
- The bytes for func.
-
setFunc
public GraphDebugInfo.FileLineCol.Builder setFunc(java.lang.String value)
Name of function contains the file line.
string func = 4;
- Parameters:
value
- The func to set.- Returns:
- This builder for chaining.
-
clearFunc
public GraphDebugInfo.FileLineCol.Builder clearFunc()
Name of function contains the file line.
string func = 4;
- Returns:
- This builder for chaining.
-
setFuncBytes
public GraphDebugInfo.FileLineCol.Builder setFuncBytes(com.google.protobuf.ByteString value)
Name of function contains the file line.
string func = 4;
- Parameters:
value
- The bytes for func to set.- Returns:
- This builder for chaining.
-
getCode
public java.lang.String getCode()
Source code contained in this file line.
string code = 5;
- Specified by:
getCode
in interfaceGraphDebugInfo.FileLineColOrBuilder
- Returns:
- The code.
-
getCodeBytes
public com.google.protobuf.ByteString getCodeBytes()
Source code contained in this file line.
string code = 5;
- Specified by:
getCodeBytes
in interfaceGraphDebugInfo.FileLineColOrBuilder
- Returns:
- The bytes for code.
-
setCode
public GraphDebugInfo.FileLineCol.Builder setCode(java.lang.String value)
Source code contained in this file line.
string code = 5;
- Parameters:
value
- The code to set.- Returns:
- This builder for chaining.
-
clearCode
public GraphDebugInfo.FileLineCol.Builder clearCode()
Source code contained in this file line.
string code = 5;
- Returns:
- This builder for chaining.
-
setCodeBytes
public GraphDebugInfo.FileLineCol.Builder setCodeBytes(com.google.protobuf.ByteString value)
Source code contained in this file line.
string code = 5;
- Parameters:
value
- The bytes for code to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GraphDebugInfo.FileLineCol.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
mergeUnknownFields
public final GraphDebugInfo.FileLineCol.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
-