Class CodeLocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CodeLocation.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<CodeLocation.Builder>
org.tensorflow.proto.CodeLocation.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, CodeLocationOrBuilder
- Enclosing class:
CodeLocation
public static final class CodeLocation.Builder
extends GeneratedMessageV3.Builder<CodeLocation.Builder>
implements CodeLocationOrBuilder
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllStackFrameIds(Iterable<String> values) ID to a stack frame, each of which is pointed to by a unique ID.addRepeatedField(Descriptors.FieldDescriptor field, Object value) addStackFrameIds(String value) ID to a stack frame, each of which is pointed to by a unique ID.addStackFrameIdsBytes(ByteString value) ID to a stack frame, each of which is pointed to by a unique ID.build()clear()Host name on which the source files are located.ID to a stack frame, each of which is pointed to by a unique ID.clone()static final Descriptors.DescriptorHost name on which the source files are located.Host name on which the source files are located.getStackFrameIds(int index) ID to a stack frame, each of which is pointed to by a unique ID.getStackFrameIdsBytes(int index) ID to a stack frame, each of which is pointed to by a unique ID.intID to a stack frame, each of which is pointed to by a unique ID.ID to a stack frame, each of which is pointed to by a unique ID.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(CodeLocation other) final CodeLocation.BuildermergeUnknownFields(UnknownFieldSet unknownFields) setField(Descriptors.FieldDescriptor field, Object value) setHostName(String value) Host name on which the source files are located.setHostNameBytes(ByteString value) Host name on which the source files are located.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setStackFrameIds(int index, String value) ID to a stack frame, each of which is pointed to by a unique ID.final CodeLocation.BuildersetUnknownFields(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<CodeLocation.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<CodeLocation.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<CodeLocation.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<CodeLocation.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<CodeLocation.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<CodeLocation.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<CodeLocation.Builder>
-
setRepeatedField
public CodeLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<CodeLocation.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<CodeLocation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<CodeLocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<CodeLocation.Builder>
-
mergeFrom
public CodeLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<CodeLocation.Builder>- Throws:
IOException
-
getHostName
Host name on which the source files are located.
string host_name = 1;- Specified by:
getHostNamein interfaceCodeLocationOrBuilder- Returns:
- The hostName.
-
getHostNameBytes
Host name on which the source files are located.
string host_name = 1;- Specified by:
getHostNameBytesin interfaceCodeLocationOrBuilder- Returns:
- The bytes for hostName.
-
setHostName
Host name on which the source files are located.
string host_name = 1;- Parameters:
value- The hostName to set.- Returns:
- This builder for chaining.
-
clearHostName
Host name on which the source files are located.
string host_name = 1;- Returns:
- This builder for chaining.
-
setHostNameBytes
Host name on which the source files are located.
string host_name = 1;- Parameters:
value- The bytes for hostName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getStackFrameIdsListin interfaceCodeLocationOrBuilder- Returns:
- A list containing the stackFrameIds.
-
getStackFrameIdsCount
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;- Specified by:
getStackFrameIdsCountin interfaceCodeLocationOrBuilder- Returns:
- The count of stackFrameIds.
-
getStackFrameIds
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;- Specified by:
getStackFrameIdsin interfaceCodeLocationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The stackFrameIds at the given index.
-
getStackFrameIdsBytes
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;- Specified by:
getStackFrameIdsBytesin interfaceCodeLocationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stackFrameIds at the given index.
-
setStackFrameIds
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;- Parameters:
index- The index to set the value at.value- The stackFrameIds to set.- Returns:
- This builder for chaining.
-
addStackFrameIds
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;- Parameters:
value- The stackFrameIds to add.- Returns:
- This builder for chaining.
-
addAllStackFrameIds
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;- Parameters:
values- The stackFrameIds to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addStackFrameIdsBytes
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;- Parameters:
value- The bytes of the stackFrameIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<CodeLocation.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<CodeLocation.Builder>
-