Class GraphDebugInfo.FileLineCol.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GraphDebugInfo.FileLineCol.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
org.tensorflow.proto.GraphDebugInfo.FileLineCol.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, GraphDebugInfo.FileLineColOrBuilder
- Enclosing class:
GraphDebugInfo.FileLineCol
public static final class GraphDebugInfo.FileLineCol.Builder
extends GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
implements GraphDebugInfo.FileLineColOrBuilder
This represents a file/line location in the source code.Protobuf type
tensorflow.GraphDebugInfo.FileLineCol-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()Source code contained in this file line.clearCol()Col number in the file line.File name index, which can be used to retrieve the file name string from `files`.Name of function contains the file line.Line number in the file.clone()getCode()Source code contained in this file line.Source code contained in this file line.intgetCol()Col number in the file line.static final Descriptors.DescriptorintFile name index, which can be used to retrieve the file name string from `files`.getFunc()Name of function contains the file line.Name of function contains the file line.intgetLine()Line number in the file.booleanhasCode()Source code contained in this file line.booleanhasCol()Col number in the file line.booleanFile name index, which can be used to retrieve the file name string from `files`.booleanhasFunc()Name of function contains the file line.booleanhasLine()Line number in the file.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields(UnknownFieldSet unknownFields) Source code contained in this file line.setCodeBytes(ByteString value) Source code contained in this file line.setCol(int value) Col number in the file line.setField(Descriptors.FieldDescriptor field, Object value) setFileIndex(int value) File name index, which can be used to retrieve the file name string from `files`.Name of function contains the file line.setFuncBytes(ByteString value) Name of function contains the file line.setLine(int value) Line number in the file.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
setRepeatedField
public GraphDebugInfo.FileLineCol.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
addRepeatedField
public GraphDebugInfo.FileLineCol.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<GraphDebugInfo.FileLineCol.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
mergeFrom
public GraphDebugInfo.FileLineCol.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<GraphDebugInfo.FileLineCol.Builder>- Throws:
IOException
-
hasFileIndex
public boolean hasFileIndex()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)
optional int32 file_index = 1;- Specified by:
hasFileIndexin interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- Whether the fileIndex field is set.
-
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)
optional int32 file_index = 1;- Specified by:
getFileIndexin interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- The fileIndex.
-
setFileIndex
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)
optional int32 file_index = 1;- Parameters:
value- The fileIndex to set.- Returns:
- This builder for chaining.
-
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)
optional int32 file_index = 1;- Returns:
- This builder for chaining.
-
hasLine
public boolean hasLine()Line number in the file.
optional int32 line = 2;- Specified by:
hasLinein interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- Whether the line field is set.
-
getLine
public int getLine()Line number in the file.
optional int32 line = 2;- Specified by:
getLinein interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- The line.
-
setLine
Line number in the file.
optional int32 line = 2;- Parameters:
value- The line to set.- Returns:
- This builder for chaining.
-
clearLine
Line number in the file.
optional int32 line = 2;- Returns:
- This builder for chaining.
-
hasCol
public boolean hasCol()Col number in the file line.
optional int32 col = 3;- Specified by:
hasColin interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- Whether the col field is set.
-
getCol
public int getCol()Col number in the file line.
optional int32 col = 3;- Specified by:
getColin interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- The col.
-
setCol
Col number in the file line.
optional int32 col = 3;- Parameters:
value- The col to set.- Returns:
- This builder for chaining.
-
clearCol
Col number in the file line.
optional int32 col = 3;- Returns:
- This builder for chaining.
-
hasFunc
public boolean hasFunc()Name of function contains the file line.
optional string func = 4;- Specified by:
hasFuncin interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- Whether the func field is set.
-
getFunc
Name of function contains the file line.
optional string func = 4;- Specified by:
getFuncin interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- The func.
-
getFuncBytes
Name of function contains the file line.
optional string func = 4;- Specified by:
getFuncBytesin interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- The bytes for func.
-
setFunc
Name of function contains the file line.
optional string func = 4;- Parameters:
value- The func to set.- Returns:
- This builder for chaining.
-
clearFunc
Name of function contains the file line.
optional string func = 4;- Returns:
- This builder for chaining.
-
setFuncBytes
Name of function contains the file line.
optional string func = 4;- Parameters:
value- The bytes for func to set.- Returns:
- This builder for chaining.
-
hasCode
public boolean hasCode()Source code contained in this file line.
optional string code = 5;- Specified by:
hasCodein interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- Whether the code field is set.
-
getCode
Source code contained in this file line.
optional string code = 5;- Specified by:
getCodein interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- The code.
-
getCodeBytes
Source code contained in this file line.
optional string code = 5;- Specified by:
getCodeBytesin interfaceGraphDebugInfo.FileLineColOrBuilder- Returns:
- The bytes for code.
-
setCode
Source code contained in this file line.
optional string code = 5;- Parameters:
value- The code to set.- Returns:
- This builder for chaining.
-
clearCode
Source code contained in this file line.
optional string code = 5;- Returns:
- This builder for chaining.
-
setCodeBytes
Source code contained in this file line.
optional string code = 5;- Parameters:
value- The bytes for code to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-