Package org.yamcs.protobuf
Class ProcessInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ProcessInfo.Builder>
org.yamcs.protobuf.ProcessInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ProcessInfoOrBuilder
- Enclosing class:
- ProcessInfo
public static final class ProcessInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ProcessInfo.Builder>
implements ProcessInfoOrBuilder
Protobuf type
yamcs.protobuf.server.ProcessInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllArguments(Iterable<String> values) Arguments of the process.addAllChildren(Iterable<? extends ProcessInfo> values) Direct children of the process.addArguments(String value) Arguments of the process.addArgumentsBytes(com.google.protobuf.ByteString value) Arguments of the process.addChildren(int index, ProcessInfo value) Direct children of the process.addChildren(int index, ProcessInfo.Builder builderForValue) Direct children of the process.addChildren(ProcessInfo value) Direct children of the process.addChildren(ProcessInfo.Builder builderForValue) Direct children of the process.Direct children of the process.addChildrenBuilder(int index) Direct children of the process.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Arguments of the process.Direct children of the process.Executable pathname of the process.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clearPid()Native process ID.Start time of the process.Accumulated total cputime.User of the process.clone()getArguments(int index) Arguments of the process.com.google.protobuf.ByteStringgetArgumentsBytes(int index) Arguments of the process.intArguments of the process.com.google.protobuf.ProtocolStringListArguments of the process.getChildren(int index) Direct children of the process.getChildrenBuilder(int index) Direct children of the process.Direct children of the process.intDirect children of the process.Direct children of the process.getChildrenOrBuilder(int index) Direct children of the process.List<? extends ProcessInfoOrBuilder>Direct children of the process.Executable pathname of the process.com.google.protobuf.ByteStringExecutable pathname of the process.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetPid()Native process ID.com.google.protobuf.TimestampStart time of the process.com.google.protobuf.Timestamp.BuilderStart time of the process.com.google.protobuf.TimestampOrBuilderStart time of the process.com.google.protobuf.DurationAccumulated total cputime.com.google.protobuf.Duration.BuilderAccumulated total cputime.com.google.protobuf.DurationOrBuilderAccumulated total cputime.getUser()User of the process.com.google.protobuf.ByteStringUser of the process.booleanExecutable pathname of the process.booleanhasPid()Native process ID.booleanStart time of the process.booleanAccumulated total cputime.booleanhasUser()User of the process.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ProcessInfo other) mergeStartTime(com.google.protobuf.Timestamp value) Start time of the process.mergeTotalCpuDuration(com.google.protobuf.Duration value) Accumulated total cputime.final ProcessInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeChildren(int index) Direct children of the process.setArguments(int index, String value) Arguments of the process.setChildren(int index, ProcessInfo value) Direct children of the process.setChildren(int index, ProcessInfo.Builder builderForValue) Direct children of the process.setCommand(String value) Executable pathname of the process.setCommandBytes(com.google.protobuf.ByteString value) Executable pathname of the process.setPid(long value) Native process ID.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartTime(com.google.protobuf.Timestamp value) Start time of the process.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Start time of the process.setTotalCpuDuration(com.google.protobuf.Duration value) Accumulated total cputime.setTotalCpuDuration(com.google.protobuf.Duration.Builder builderForValue) Accumulated total cputime.final ProcessInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) User of the process.setUserBytes(com.google.protobuf.ByteString value) User of the process.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<ProcessInfo.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<ProcessInfo.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<ProcessInfo.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<ProcessInfo.Builder>
-
setField
public ProcessInfo.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<ProcessInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessInfo.Builder>
-
setRepeatedField
public ProcessInfo.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<ProcessInfo.Builder>
-
addRepeatedField
public ProcessInfo.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<ProcessInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessInfo.Builder>
-
mergeFrom
public ProcessInfo.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<ProcessInfo.Builder>- Throws:
IOException
-
hasPid
public boolean hasPid()Native process ID.
optional int64 pid = 1;- Specified by:
hasPidin interfaceProcessInfoOrBuilder- Returns:
- Whether the pid field is set.
-
getPid
public long getPid()Native process ID.
optional int64 pid = 1;- Specified by:
getPidin interfaceProcessInfoOrBuilder- Returns:
- The pid.
-
setPid
Native process ID.
optional int64 pid = 1;- Parameters:
value- The pid to set.- Returns:
- This builder for chaining.
-
clearPid
Native process ID.
optional int64 pid = 1;- Returns:
- This builder for chaining.
-
hasUser
public boolean hasUser()User of the process.
optional string user = 2;- Specified by:
hasUserin interfaceProcessInfoOrBuilder- Returns:
- Whether the user field is set.
-
getUser
User of the process.
optional string user = 2;- Specified by:
getUserin interfaceProcessInfoOrBuilder- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()User of the process.
optional string user = 2;- Specified by:
getUserBytesin interfaceProcessInfoOrBuilder- Returns:
- The bytes for user.
-
setUser
User of the process.
optional string user = 2;- Parameters:
value- The user to set.- Returns:
- This builder for chaining.
-
clearUser
User of the process.
optional string user = 2;- Returns:
- This builder for chaining.
-
setUserBytes
User of the process.
optional string user = 2;- Parameters:
value- The bytes for user to set.- Returns:
- This builder for chaining.
-
hasCommand
public boolean hasCommand()Executable pathname of the process.
optional string command = 3;- Specified by:
hasCommandin interfaceProcessInfoOrBuilder- Returns:
- Whether the command field is set.
-
getCommand
Executable pathname of the process.
optional string command = 3;- Specified by:
getCommandin interfaceProcessInfoOrBuilder- Returns:
- The command.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()Executable pathname of the process.
optional string command = 3;- Specified by:
getCommandBytesin interfaceProcessInfoOrBuilder- Returns:
- The bytes for command.
-
setCommand
Executable pathname of the process.
optional string command = 3;- Parameters:
value- The command to set.- Returns:
- This builder for chaining.
-
clearCommand
Executable pathname of the process.
optional string command = 3;- Returns:
- This builder for chaining.
-
setCommandBytes
Executable pathname of the process.
optional string command = 3;- Parameters:
value- The bytes for command to set.- Returns:
- This builder for chaining.
-
getArgumentsList
public com.google.protobuf.ProtocolStringList getArgumentsList()Arguments of the process.
repeated string arguments = 4;- Specified by:
getArgumentsListin interfaceProcessInfoOrBuilder- Returns:
- A list containing the arguments.
-
getArgumentsCount
public int getArgumentsCount()Arguments of the process.
repeated string arguments = 4;- Specified by:
getArgumentsCountin interfaceProcessInfoOrBuilder- Returns:
- The count of arguments.
-
getArguments
Arguments of the process.
repeated string arguments = 4;- Specified by:
getArgumentsin interfaceProcessInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The arguments at the given index.
-
getArgumentsBytes
public com.google.protobuf.ByteString getArgumentsBytes(int index) Arguments of the process.
repeated string arguments = 4;- Specified by:
getArgumentsBytesin interfaceProcessInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the arguments at the given index.
-
setArguments
Arguments of the process.
repeated string arguments = 4;- Parameters:
index- The index to set the value at.value- The arguments to set.- Returns:
- This builder for chaining.
-
addArguments
Arguments of the process.
repeated string arguments = 4;- Parameters:
value- The arguments to add.- Returns:
- This builder for chaining.
-
addAllArguments
Arguments of the process.
repeated string arguments = 4;- Parameters:
values- The arguments to add.- Returns:
- This builder for chaining.
-
clearArguments
Arguments of the process.
repeated string arguments = 4;- Returns:
- This builder for chaining.
-
addArgumentsBytes
Arguments of the process.
repeated string arguments = 4;- Parameters:
value- The bytes of the arguments to add.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Start time of the process.
optional .google.protobuf.Timestamp startTime = 5;- Specified by:
hasStartTimein interfaceProcessInfoOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Start time of the process.
optional .google.protobuf.Timestamp startTime = 5;- Specified by:
getStartTimein interfaceProcessInfoOrBuilder- Returns:
- The startTime.
-
setStartTime
Start time of the process.
optional .google.protobuf.Timestamp startTime = 5; -
setStartTime
Start time of the process.
optional .google.protobuf.Timestamp startTime = 5; -
mergeStartTime
Start time of the process.
optional .google.protobuf.Timestamp startTime = 5; -
clearStartTime
Start time of the process.
optional .google.protobuf.Timestamp startTime = 5; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Start time of the process.
optional .google.protobuf.Timestamp startTime = 5; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Start time of the process.
optional .google.protobuf.Timestamp startTime = 5;- Specified by:
getStartTimeOrBuilderin interfaceProcessInfoOrBuilder
-
hasTotalCpuDuration
public boolean hasTotalCpuDuration()Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6;- Specified by:
hasTotalCpuDurationin interfaceProcessInfoOrBuilder- Returns:
- Whether the totalCpuDuration field is set.
-
getTotalCpuDuration
public com.google.protobuf.Duration getTotalCpuDuration()Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6;- Specified by:
getTotalCpuDurationin interfaceProcessInfoOrBuilder- Returns:
- The totalCpuDuration.
-
setTotalCpuDuration
Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6; -
setTotalCpuDuration
public ProcessInfo.Builder setTotalCpuDuration(com.google.protobuf.Duration.Builder builderForValue) Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6; -
mergeTotalCpuDuration
Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6; -
clearTotalCpuDuration
Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6; -
getTotalCpuDurationBuilder
public com.google.protobuf.Duration.Builder getTotalCpuDurationBuilder()Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6; -
getTotalCpuDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getTotalCpuDurationOrBuilder()Accumulated total cputime.
optional .google.protobuf.Duration totalCpuDuration = 6;- Specified by:
getTotalCpuDurationOrBuilderin interfaceProcessInfoOrBuilder
-
getChildrenList
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7;- Specified by:
getChildrenListin interfaceProcessInfoOrBuilder
-
getChildrenCount
public int getChildrenCount()Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7;- Specified by:
getChildrenCountin interfaceProcessInfoOrBuilder
-
getChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7;- Specified by:
getChildrenin interfaceProcessInfoOrBuilder
-
setChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
setChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
addChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
addChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
addChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
addChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
addAllChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
clearChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
removeChildren
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
getChildrenBuilder
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
getChildrenOrBuilder
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7;- Specified by:
getChildrenOrBuilderin interfaceProcessInfoOrBuilder
-
getChildrenOrBuilderList
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7;- Specified by:
getChildrenOrBuilderListin interfaceProcessInfoOrBuilder
-
addChildrenBuilder
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
addChildrenBuilder
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
getChildrenBuilderList
Direct children of the process.
repeated .yamcs.protobuf.server.ProcessInfo children = 7; -
setUnknownFields
public final ProcessInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessInfo.Builder>
-
mergeUnknownFields
public final ProcessInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessInfo.Builder>
-