Package org.tensorflow.framework
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.framework.GraphDebugInfo.FileLineCol.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,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 type
tensorflow.GraphDebugInfo.FileLineCol-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Source code contained in this file line.clearCol()Col number in the file line.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) 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.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()getCode()Source code contained in this file line.com.google.protobuf.ByteStringSource code contained in this file line.intgetCol()Col number in the file line.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintFile name index, which can be used to retrieve the file name string from `files`.getFunc()Name of function contains the file line.com.google.protobuf.ByteStringName 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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Source code contained in this file line.setCodeBytes(com.google.protobuf.ByteString value) Source code contained in this file line.setCol(int value) Col number in the file line.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(com.google.protobuf.ByteString value) Name of function contains the file line.setLine(int value) Line number in the file.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
setField
public GraphDebugInfo.FileLineCol.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
clearField
public GraphDebugInfo.FileLineCol.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
clearOneof
public GraphDebugInfo.FileLineCol.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
setRepeatedField
public GraphDebugInfo.FileLineCol.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
addRepeatedField
public GraphDebugInfo.FileLineCol.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GraphDebugInfo.FileLineCol.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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 IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.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
public com.google.protobuf.ByteString 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
public com.google.protobuf.ByteString 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
public final GraphDebugInfo.FileLineCol.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-
mergeUnknownFields
public final GraphDebugInfo.FileLineCol.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
-