Package org.platanios.tensorflow.proto
Class CodeLocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CodeLocation.Builder>
-
- org.platanios.tensorflow.proto.CodeLocation.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
,CodeLocationOrBuilder
- Enclosing class:
- CodeLocation
public static final class CodeLocation.Builder extends com.google.protobuf.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 typeorg.platanios.tensorflow.proto.CodeLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeLocation.Builder
addAllStackFrameIds(java.lang.Iterable<java.lang.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, java.lang.Object value)
CodeLocation.Builder
addStackFrameIds(java.lang.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
buildPartial()
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
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.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.java.lang.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CodeLocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CodeLocation.Builder
mergeFrom(com.google.protobuf.Message other)
CodeLocation.Builder
mergeFrom(CodeLocation other)
CodeLocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CodeLocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CodeLocation.Builder
setHostName(java.lang.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, java.lang.Object value)
CodeLocation.Builder
setStackFrameIds(int index, java.lang.String value)
ID to a stack frame, each of which is pointed to by a unique ID.CodeLocation.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<CodeLocation.Builder>
-
clear
public CodeLocation.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<CodeLocation.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<CodeLocation.Builder>
-
getDefaultInstanceForType
public CodeLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CodeLocation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CodeLocation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CodeLocation.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<CodeLocation.Builder>
-
setField
public CodeLocation.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<CodeLocation.Builder>
-
clearField
public CodeLocation.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<CodeLocation.Builder>
-
clearOneof
public CodeLocation.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<CodeLocation.Builder>
-
setRepeatedField
public CodeLocation.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<CodeLocation.Builder>
-
addRepeatedField
public CodeLocation.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<CodeLocation.Builder>
-
mergeFrom
public CodeLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CodeLocation.Builder>
-
mergeFrom
public CodeLocation.Builder mergeFrom(CodeLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CodeLocation.Builder>
-
mergeFrom
public CodeLocation.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<CodeLocation.Builder>
- Throws:
java.io.IOException
-
getHostName
public java.lang.String getHostName()
Host name on which the source files are located.
string host_name = 1;
- Specified by:
getHostName
in interfaceCodeLocationOrBuilder
- Returns:
- The hostName.
-
getHostNameBytes
public com.google.protobuf.ByteString getHostNameBytes()
Host name on which the source files are located.
string host_name = 1;
- Specified by:
getHostNameBytes
in interfaceCodeLocationOrBuilder
- Returns:
- The bytes for hostName.
-
setHostName
public CodeLocation.Builder setHostName(java.lang.String value)
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
public CodeLocation.Builder clearHostName()
Host name on which the source files are located.
string host_name = 1;
- Returns:
- This builder for chaining.
-
setHostNameBytes
public CodeLocation.Builder setHostNameBytes(com.google.protobuf.ByteString value)
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
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;
- Specified by:
getStackFrameIdsList
in 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:
getStackFrameIdsCount
in interfaceCodeLocationOrBuilder
- Returns:
- The count of stackFrameIds.
-
getStackFrameIds
public java.lang.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;
- Specified by:
getStackFrameIds
in interfaceCodeLocationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The stackFrameIds at the given index.
-
getStackFrameIdsBytes
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;
- Specified by:
getStackFrameIdsBytes
in interfaceCodeLocationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the stackFrameIds at the given index.
-
setStackFrameIds
public CodeLocation.Builder setStackFrameIds(int index, java.lang.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;
- Parameters:
index
- The index to set the value at.value
- The stackFrameIds to set.- Returns:
- This builder for chaining.
-
addStackFrameIds
public CodeLocation.Builder addStackFrameIds(java.lang.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;
- Parameters:
value
- The stackFrameIds to add.- Returns:
- This builder for chaining.
-
addAllStackFrameIds
public CodeLocation.Builder addAllStackFrameIds(java.lang.Iterable<java.lang.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;
- Parameters:
values
- The stackFrameIds to add.- Returns:
- This builder for chaining.
-
clearStackFrameIds
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;
- Returns:
- This builder for chaining.
-
addStackFrameIdsBytes
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;
- Parameters:
value
- The bytes of the stackFrameIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CodeLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CodeLocation.Builder>
-
mergeUnknownFields
public final CodeLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CodeLocation.Builder>
-
-