CodeLocation.Builder

public static final class CodeLocation.Builder

 Code location information: A stack trace with host-name information.
 Instead of encoding the detailed stack trace, this proto refers to IDs of
 stack frames stored as `StackFrameWithId` protos.
 
Protobuf type tensorflow.CodeLocation

Public Methods

CodeLocation.Builder
addAllStackFrameIds(Iterable<String> values)
 ID to a stack frame, each of which is pointed to
 by a unique ID.
CodeLocation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CodeLocation.Builder
addStackFrameIds(String value)
 ID to a stack frame, each of which is pointed to
 by a unique ID.
CodeLocation.Builder
addStackFrameIdsBytes(com.google.protobuf.ByteString value)
 ID to a stack frame, each of which is pointed to
 by a unique ID.
CodeLocation
build()
CodeLocation
CodeLocation.Builder
clear()
CodeLocation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CodeLocation.Builder
clearHostName()
 Host name on which the source files are located.
CodeLocation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CodeLocation.Builder
clearStackFrameIds()
 ID to a stack frame, each of which is pointed to
 by a unique ID.
CodeLocation.Builder
clone()
CodeLocation
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getHostName()
 Host name on which the source files are located.
com.google.protobuf.ByteString
getHostNameBytes()
 Host name on which the source files are located.
String
getStackFrameIds(int index)
 ID to a stack frame, each of which is pointed to
 by a unique ID.
com.google.protobuf.ByteString
getStackFrameIdsBytes(int index)
 ID to a stack frame, each of which is pointed to
 by a unique ID.
int
getStackFrameIdsCount()
 ID to a stack frame, each of which is pointed to
 by a unique ID.
com.google.protobuf.ProtocolStringList
getStackFrameIdsList()
 ID to a stack frame, each of which is pointed to
 by a unique ID.
final boolean
CodeLocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CodeLocation.Builder
mergeFrom(com.google.protobuf.Message other)
final CodeLocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CodeLocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CodeLocation.Builder
setHostName(String value)
 Host name on which the source files are located.
CodeLocation.Builder
setHostNameBytes(com.google.protobuf.ByteString value)
 Host name on which the source files are located.
CodeLocation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CodeLocation.Builder
setStackFrameIds(int index, String value)
 ID to a stack frame, each of which is pointed to
 by a unique ID.
final CodeLocation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public CodeLocation.Builder addAllStackFrameIds (Iterable<String> values)

 ID to a stack frame, each of which is pointed to
 by a unique ID. The ordering of the frames is consistent with Python's
 `traceback.extract_tb()`.
 
repeated string stack_frame_ids = 2;

public CodeLocation.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public CodeLocation.Builder addStackFrameIds (String value)

 ID to a stack frame, each of which is pointed to
 by a unique ID. The ordering of the frames is consistent with Python's
 `traceback.extract_tb()`.
 
repeated string stack_frame_ids = 2;

public CodeLocation.Builder addStackFrameIdsBytes (com.google.protobuf.ByteString value)

 ID to a stack frame, each of which is pointed to
 by a unique ID. The ordering of the frames is consistent with Python's
 `traceback.extract_tb()`.
 
repeated string stack_frame_ids = 2;

public CodeLocation build ()

public CodeLocation buildPartial ()

public CodeLocation.Builder clear ()

public CodeLocation.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public CodeLocation.Builder clearHostName ()

 Host name on which the source files are located.
 
string host_name = 1;

public CodeLocation.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public CodeLocation.Builder clearStackFrameIds ()

 ID to a stack frame, each of which is pointed to
 by a unique ID. The ordering of the frames is consistent with Python's
 `traceback.extract_tb()`.
 
repeated string stack_frame_ids = 2;

public CodeLocation.Builder clone ()

public CodeLocation getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getHostName ()

 Host name on which the source files are located.
 
string host_name = 1;

public com.google.protobuf.ByteString getHostNameBytes ()

 Host name on which the source files are located.
 
string host_name = 1;

public String getStackFrameIds (int index)

 ID to a stack frame, each of which is pointed to
 by a unique ID. The ordering of the frames is consistent with Python's
 `traceback.extract_tb()`.
 
repeated string stack_frame_ids = 2;

public com.google.protobuf.ByteString getStackFrameIdsBytes (int index)

 ID to a stack frame, each of which is pointed to
 by a unique ID. The ordering of the frames is consistent with Python's
 `traceback.extract_tb()`.
 
repeated string stack_frame_ids = 2;

public int getStackFrameIdsCount ()

 ID to a stack frame, each of which is pointed to
 by a unique ID. The ordering of the frames is consistent with Python's
 `traceback.extract_tb()`.
 
repeated string stack_frame_ids = 2;

public com.google.protobuf.ProtocolStringList getStackFrameIdsList ()

 ID to a stack frame, each of which is pointed to
 by a unique ID. The ordering of the frames is consistent with Python's
 `traceback.extract_tb()`.
 
repeated string stack_frame_ids = 2;

public final boolean isInitialized ()

public CodeLocation.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public CodeLocation.Builder mergeFrom (com.google.protobuf.Message other)

public final CodeLocation.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public CodeLocation.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public CodeLocation.Builder setHostName (String value)

 Host name on which the source files are located.
 
string host_name = 1;

public CodeLocation.Builder setHostNameBytes (com.google.protobuf.ByteString value)

 Host name on which the source files are located.
 
string host_name = 1;

public CodeLocation.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public CodeLocation.Builder setStackFrameIds (int index, String value)

 ID to a stack frame, each of which is pointed to
 by a unique ID. The ordering of the frames is consistent with Python's
 `traceback.extract_tb()`.
 
repeated string stack_frame_ids = 2;

public final CodeLocation.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)