Class StackOuterClass.Stack.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StackOuterClass.Stack.Builder>
com.google.protobuf.GeneratedMessage.Builder<StackOuterClass.Stack.Builder>
stack.StackOuterClass.Stack.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StackOuterClass.StackOrBuilder
- Enclosing class:
StackOuterClass.Stack
public static final class StackOuterClass.Stack.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StackOuterClass.Stack.Builder>
implements StackOuterClass.StackOrBuilder
Protobuf type
stack.Stack
-
Method Summary
Modifier and TypeMethodDescriptionaddAllCmdline
(Iterable<String> values) repeated string cmdline = 2;
addAllFrames
(Iterable<? extends StackOuterClass.Frame> values) repeated .stack.Frame frames = 1;
addCmdline
(String value) repeated string cmdline = 2;
addCmdlineBytes
(com.google.protobuf.ByteString value) repeated string cmdline = 2;
addFrames
(int index, StackOuterClass.Frame value) repeated .stack.Frame frames = 1;
addFrames
(int index, StackOuterClass.Frame.Builder builderForValue) repeated .stack.Frame frames = 1;
addFrames
(StackOuterClass.Frame value) repeated .stack.Frame frames = 1;
addFrames
(StackOuterClass.Frame.Builder builderForValue) repeated .stack.Frame frames = 1;
repeated .stack.Frame frames = 1;
addFramesBuilder
(int index) repeated .stack.Frame frames = 1;
build()
clear()
repeated string cmdline = 2;
repeated .stack.Frame frames = 1;
clearPid()
int32 pid = 3;
string revision = 5;
string version = 4;
getCmdline
(int index) repeated string cmdline = 2;
com.google.protobuf.ByteString
getCmdlineBytes
(int index) repeated string cmdline = 2;
int
repeated string cmdline = 2;
com.google.protobuf.ProtocolStringList
repeated string cmdline = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getFrames
(int index) repeated .stack.Frame frames = 1;
getFramesBuilder
(int index) repeated .stack.Frame frames = 1;
repeated .stack.Frame frames = 1;
int
repeated .stack.Frame frames = 1;
repeated .stack.Frame frames = 1;
getFramesOrBuilder
(int index) repeated .stack.Frame frames = 1;
List
<? extends StackOuterClass.FrameOrBuilder> repeated .stack.Frame frames = 1;
int
getPid()
int32 pid = 3;
string revision = 5;
com.google.protobuf.ByteString
string revision = 5;
string version = 4;
com.google.protobuf.ByteString
string version = 4;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(StackOuterClass.Stack other) removeFrames
(int index) repeated .stack.Frame frames = 1;
setCmdline
(int index, String value) repeated string cmdline = 2;
setFrames
(int index, StackOuterClass.Frame value) repeated .stack.Frame frames = 1;
setFrames
(int index, StackOuterClass.Frame.Builder builderForValue) repeated .stack.Frame frames = 1;
setPid
(int value) int32 pid = 3;
setRevision
(String value) string revision = 5;
setRevisionBytes
(com.google.protobuf.ByteString value) string revision = 5;
setVersion
(String value) string version = 4;
setVersionBytes
(com.google.protobuf.ByteString value) string version = 4;
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<StackOuterClass.Stack.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.GeneratedMessage.Builder<StackOuterClass.Stack.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.GeneratedMessage.Builder<StackOuterClass.Stack.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StackOuterClass.Stack.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<StackOuterClass.Stack.Builder>
-
mergeFrom
public StackOuterClass.Stack.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<StackOuterClass.Stack.Builder>
- Throws:
IOException
-
getFramesList
repeated .stack.Frame frames = 1;
- Specified by:
getFramesList
in interfaceStackOuterClass.StackOrBuilder
-
getFramesCount
public int getFramesCount()repeated .stack.Frame frames = 1;
- Specified by:
getFramesCount
in interfaceStackOuterClass.StackOrBuilder
-
getFrames
repeated .stack.Frame frames = 1;
- Specified by:
getFrames
in interfaceStackOuterClass.StackOrBuilder
-
setFrames
repeated .stack.Frame frames = 1;
-
setFrames
public StackOuterClass.Stack.Builder setFrames(int index, StackOuterClass.Frame.Builder builderForValue) repeated .stack.Frame frames = 1;
-
addFrames
repeated .stack.Frame frames = 1;
-
addFrames
repeated .stack.Frame frames = 1;
-
addFrames
repeated .stack.Frame frames = 1;
-
addFrames
public StackOuterClass.Stack.Builder addFrames(int index, StackOuterClass.Frame.Builder builderForValue) repeated .stack.Frame frames = 1;
-
addAllFrames
repeated .stack.Frame frames = 1;
-
clearFrames
repeated .stack.Frame frames = 1;
-
removeFrames
repeated .stack.Frame frames = 1;
-
getFramesBuilder
repeated .stack.Frame frames = 1;
-
getFramesOrBuilder
repeated .stack.Frame frames = 1;
- Specified by:
getFramesOrBuilder
in interfaceStackOuterClass.StackOrBuilder
-
getFramesOrBuilderList
repeated .stack.Frame frames = 1;
- Specified by:
getFramesOrBuilderList
in interfaceStackOuterClass.StackOrBuilder
-
addFramesBuilder
repeated .stack.Frame frames = 1;
-
addFramesBuilder
repeated .stack.Frame frames = 1;
-
getFramesBuilderList
repeated .stack.Frame frames = 1;
-
getCmdlineList
public com.google.protobuf.ProtocolStringList getCmdlineList()repeated string cmdline = 2;
- Specified by:
getCmdlineList
in interfaceStackOuterClass.StackOrBuilder
- Returns:
- A list containing the cmdline.
-
getCmdlineCount
public int getCmdlineCount()repeated string cmdline = 2;
- Specified by:
getCmdlineCount
in interfaceStackOuterClass.StackOrBuilder
- Returns:
- The count of cmdline.
-
getCmdline
repeated string cmdline = 2;
- Specified by:
getCmdline
in interfaceStackOuterClass.StackOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The cmdline at the given index.
-
getCmdlineBytes
public com.google.protobuf.ByteString getCmdlineBytes(int index) repeated string cmdline = 2;
- Specified by:
getCmdlineBytes
in interfaceStackOuterClass.StackOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the cmdline at the given index.
-
setCmdline
repeated string cmdline = 2;
- Parameters:
index
- The index to set the value at.value
- The cmdline to set.- Returns:
- This builder for chaining.
-
addCmdline
repeated string cmdline = 2;
- Parameters:
value
- The cmdline to add.- Returns:
- This builder for chaining.
-
addAllCmdline
repeated string cmdline = 2;
- Parameters:
values
- The cmdline to add.- Returns:
- This builder for chaining.
-
clearCmdline
repeated string cmdline = 2;
- Returns:
- This builder for chaining.
-
addCmdlineBytes
repeated string cmdline = 2;
- Parameters:
value
- The bytes of the cmdline to add.- Returns:
- This builder for chaining.
-
getPid
public int getPid()int32 pid = 3;
- Specified by:
getPid
in interfaceStackOuterClass.StackOrBuilder
- Returns:
- The pid.
-
setPid
int32 pid = 3;
- Parameters:
value
- The pid to set.- Returns:
- This builder for chaining.
-
clearPid
-
getVersion
string version = 4;
- Specified by:
getVersion
in interfaceStackOuterClass.StackOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()string version = 4;
- Specified by:
getVersionBytes
in interfaceStackOuterClass.StackOrBuilder
- Returns:
- The bytes for version.
-
setVersion
string version = 4;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
string version = 4;
- Returns:
- This builder for chaining.
-
setVersionBytes
string version = 4;
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
getRevision
string revision = 5;
- Specified by:
getRevision
in interfaceStackOuterClass.StackOrBuilder
- Returns:
- The revision.
-
getRevisionBytes
public com.google.protobuf.ByteString getRevisionBytes()string revision = 5;
- Specified by:
getRevisionBytes
in interfaceStackOuterClass.StackOrBuilder
- Returns:
- The bytes for revision.
-
setRevision
string revision = 5;
- Parameters:
value
- The revision to set.- Returns:
- This builder for chaining.
-
clearRevision
string revision = 5;
- Returns:
- This builder for chaining.
-
setRevisionBytes
string revision = 5;
- Parameters:
value
- The bytes for revision to set.- Returns:
- This builder for chaining.
-