Package org.yamcs.protobuf
Class Mdb.ListCommandsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
- org.yamcs.protobuf.Mdb.ListCommandsResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Mdb.ListCommandsResponseOrBuilder
- Enclosing class:
- Mdb.ListCommandsResponse
public static final class Mdb.ListCommandsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder> implements Mdb.ListCommandsResponseOrBuilder
Protobuf typeyamcs.protobuf.mdb.ListCommandsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Mdb.ListCommandsResponse.BuilderaddAllCommands(Iterable<? extends Mdb.CommandInfo> values)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.ListCommandsResponse.BuilderaddAllSpaceSystems(Iterable<String> values)repeated string spaceSystems = 4;Mdb.ListCommandsResponse.BuilderaddCommands(int index, Mdb.CommandInfo value)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.ListCommandsResponse.BuilderaddCommands(int index, Mdb.CommandInfo.Builder builderForValue)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.ListCommandsResponse.BuilderaddCommands(Mdb.CommandInfo value)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.ListCommandsResponse.BuilderaddCommands(Mdb.CommandInfo.Builder builderForValue)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.CommandInfo.BuilderaddCommandsBuilder()repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.CommandInfo.BuilderaddCommandsBuilder(int index)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.ListCommandsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Mdb.ListCommandsResponse.BuilderaddSpaceSystems(String value)repeated string spaceSystems = 4;Mdb.ListCommandsResponse.BuilderaddSpaceSystemsBytes(com.google.protobuf.ByteString value)repeated string spaceSystems = 4;Mdb.ListCommandsResponsebuild()Mdb.ListCommandsResponsebuildPartial()Mdb.ListCommandsResponse.Builderclear()Mdb.ListCommandsResponse.BuilderclearCommands()repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.ListCommandsResponse.BuilderclearContinuationToken()Token indicating the response is only partial.Mdb.ListCommandsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Mdb.ListCommandsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Mdb.ListCommandsResponse.BuilderclearSpaceSystems()repeated string spaceSystems = 4;Mdb.ListCommandsResponse.BuilderclearTotalSize()The total number of results (across all pages)Mdb.ListCommandsResponse.Builderclone()Mdb.CommandInfogetCommands(int index)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.CommandInfo.BuildergetCommandsBuilder(int index)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;List<Mdb.CommandInfo.Builder>getCommandsBuilderList()repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;intgetCommandsCount()repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;List<Mdb.CommandInfo>getCommandsList()repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.CommandInfoOrBuildergetCommandsOrBuilder(int index)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;List<? extends Mdb.CommandInfoOrBuilder>getCommandsOrBuilderList()repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;StringgetContinuationToken()Token indicating the response is only partial.com.google.protobuf.ByteStringgetContinuationTokenBytes()Token indicating the response is only partial.Mdb.ListCommandsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetSpaceSystems(int index)repeated string spaceSystems = 4;com.google.protobuf.ByteStringgetSpaceSystemsBytes(int index)repeated string spaceSystems = 4;intgetSpaceSystemsCount()repeated string spaceSystems = 4;com.google.protobuf.ProtocolStringListgetSpaceSystemsList()repeated string spaceSystems = 4;intgetTotalSize()The total number of results (across all pages)booleanhasContinuationToken()Token indicating the response is only partial.booleanhasTotalSize()The total number of results (across all pages)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Mdb.ListCommandsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Mdb.ListCommandsResponse.BuildermergeFrom(com.google.protobuf.Message other)Mdb.ListCommandsResponse.BuildermergeFrom(Mdb.ListCommandsResponse other)Mdb.ListCommandsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Mdb.ListCommandsResponse.BuilderremoveCommands(int index)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.ListCommandsResponse.BuildersetCommands(int index, Mdb.CommandInfo value)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.ListCommandsResponse.BuildersetCommands(int index, Mdb.CommandInfo.Builder builderForValue)repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;Mdb.ListCommandsResponse.BuildersetContinuationToken(String value)Token indicating the response is only partial.Mdb.ListCommandsResponse.BuildersetContinuationTokenBytes(com.google.protobuf.ByteString value)Token indicating the response is only partial.Mdb.ListCommandsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Mdb.ListCommandsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Mdb.ListCommandsResponse.BuildersetSpaceSystems(int index, String value)repeated string spaceSystems = 4;Mdb.ListCommandsResponse.BuildersetTotalSize(int value)The total number of results (across all pages)Mdb.ListCommandsResponse.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
clear
public Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.Builder>
-
getDefaultInstanceForType
public Mdb.ListCommandsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Mdb.ListCommandsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Mdb.ListCommandsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.Builder>
-
setField
public Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.Builder>
-
clearField
public Mdb.ListCommandsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
clearOneof
public Mdb.ListCommandsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
setRepeatedField
public Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.Builder>
-
addRepeatedField
public Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.Builder>
-
mergeFrom
public Mdb.ListCommandsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Mdb.ListCommandsResponse.Builder>
-
mergeFrom
public Mdb.ListCommandsResponse.Builder mergeFrom(Mdb.ListCommandsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
mergeFrom
public Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.Builder>- Throws:
IOException
-
getSpaceSystemsList
public com.google.protobuf.ProtocolStringList getSpaceSystemsList()
repeated string spaceSystems = 4;- Specified by:
getSpaceSystemsListin interfaceMdb.ListCommandsResponseOrBuilder- Returns:
- A list containing the spaceSystems.
-
getSpaceSystemsCount
public int getSpaceSystemsCount()
repeated string spaceSystems = 4;- Specified by:
getSpaceSystemsCountin interfaceMdb.ListCommandsResponseOrBuilder- Returns:
- The count of spaceSystems.
-
getSpaceSystems
public String getSpaceSystems(int index)
repeated string spaceSystems = 4;- Specified by:
getSpaceSystemsin interfaceMdb.ListCommandsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The spaceSystems at the given index.
-
getSpaceSystemsBytes
public com.google.protobuf.ByteString getSpaceSystemsBytes(int index)
repeated string spaceSystems = 4;- Specified by:
getSpaceSystemsBytesin interfaceMdb.ListCommandsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the spaceSystems at the given index.
-
setSpaceSystems
public Mdb.ListCommandsResponse.Builder setSpaceSystems(int index, String value)
repeated string spaceSystems = 4;- Parameters:
index- The index to set the value at.value- The spaceSystems to set.- Returns:
- This builder for chaining.
-
addSpaceSystems
public Mdb.ListCommandsResponse.Builder addSpaceSystems(String value)
repeated string spaceSystems = 4;- Parameters:
value- The spaceSystems to add.- Returns:
- This builder for chaining.
-
addAllSpaceSystems
public Mdb.ListCommandsResponse.Builder addAllSpaceSystems(Iterable<String> values)
repeated string spaceSystems = 4;- Parameters:
values- The spaceSystems to add.- Returns:
- This builder for chaining.
-
clearSpaceSystems
public Mdb.ListCommandsResponse.Builder clearSpaceSystems()
repeated string spaceSystems = 4;- Returns:
- This builder for chaining.
-
addSpaceSystemsBytes
public Mdb.ListCommandsResponse.Builder addSpaceSystemsBytes(com.google.protobuf.ByteString value)
repeated string spaceSystems = 4;- Parameters:
value- The bytes of the spaceSystems to add.- Returns:
- This builder for chaining.
-
getCommandsList
public List<Mdb.CommandInfo> getCommandsList()
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;- Specified by:
getCommandsListin interfaceMdb.ListCommandsResponseOrBuilder
-
getCommandsCount
public int getCommandsCount()
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;- Specified by:
getCommandsCountin interfaceMdb.ListCommandsResponseOrBuilder
-
getCommands
public Mdb.CommandInfo getCommands(int index)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;- Specified by:
getCommandsin interfaceMdb.ListCommandsResponseOrBuilder
-
setCommands
public Mdb.ListCommandsResponse.Builder setCommands(int index, Mdb.CommandInfo value)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
setCommands
public Mdb.ListCommandsResponse.Builder setCommands(int index, Mdb.CommandInfo.Builder builderForValue)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
addCommands
public Mdb.ListCommandsResponse.Builder addCommands(Mdb.CommandInfo value)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
addCommands
public Mdb.ListCommandsResponse.Builder addCommands(int index, Mdb.CommandInfo value)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
addCommands
public Mdb.ListCommandsResponse.Builder addCommands(Mdb.CommandInfo.Builder builderForValue)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
addCommands
public Mdb.ListCommandsResponse.Builder addCommands(int index, Mdb.CommandInfo.Builder builderForValue)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
addAllCommands
public Mdb.ListCommandsResponse.Builder addAllCommands(Iterable<? extends Mdb.CommandInfo> values)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
clearCommands
public Mdb.ListCommandsResponse.Builder clearCommands()
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
removeCommands
public Mdb.ListCommandsResponse.Builder removeCommands(int index)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
getCommandsBuilder
public Mdb.CommandInfo.Builder getCommandsBuilder(int index)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
getCommandsOrBuilder
public Mdb.CommandInfoOrBuilder getCommandsOrBuilder(int index)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;- Specified by:
getCommandsOrBuilderin interfaceMdb.ListCommandsResponseOrBuilder
-
getCommandsOrBuilderList
public List<? extends Mdb.CommandInfoOrBuilder> getCommandsOrBuilderList()
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;- Specified by:
getCommandsOrBuilderListin interfaceMdb.ListCommandsResponseOrBuilder
-
addCommandsBuilder
public Mdb.CommandInfo.Builder addCommandsBuilder()
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
addCommandsBuilder
public Mdb.CommandInfo.Builder addCommandsBuilder(int index)
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
getCommandsBuilderList
public List<Mdb.CommandInfo.Builder> getCommandsBuilderList()
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
hasContinuationToken
public boolean hasContinuationToken()
Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 2;- Specified by:
hasContinuationTokenin interfaceMdb.ListCommandsResponseOrBuilder- Returns:
- Whether the continuationToken field is set.
-
getContinuationToken
public String getContinuationToken()
Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 2;- Specified by:
getContinuationTokenin interfaceMdb.ListCommandsResponseOrBuilder- Returns:
- The continuationToken.
-
getContinuationTokenBytes
public com.google.protobuf.ByteString getContinuationTokenBytes()
Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 2;- Specified by:
getContinuationTokenBytesin interfaceMdb.ListCommandsResponseOrBuilder- Returns:
- The bytes for continuationToken.
-
setContinuationToken
public Mdb.ListCommandsResponse.Builder setContinuationToken(String value)
Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 2;- Parameters:
value- The continuationToken to set.- Returns:
- This builder for chaining.
-
clearContinuationToken
public Mdb.ListCommandsResponse.Builder clearContinuationToken()
Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 2;- Returns:
- This builder for chaining.
-
setContinuationTokenBytes
public Mdb.ListCommandsResponse.Builder setContinuationTokenBytes(com.google.protobuf.ByteString value)
Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 2;- Parameters:
value- The bytes for continuationToken to set.- Returns:
- This builder for chaining.
-
hasTotalSize
public boolean hasTotalSize()
The total number of results (across all pages)
optional int32 totalSize = 3;- Specified by:
hasTotalSizein interfaceMdb.ListCommandsResponseOrBuilder- Returns:
- Whether the totalSize field is set.
-
getTotalSize
public int getTotalSize()
The total number of results (across all pages)
optional int32 totalSize = 3;- Specified by:
getTotalSizein interfaceMdb.ListCommandsResponseOrBuilder- Returns:
- The totalSize.
-
setTotalSize
public Mdb.ListCommandsResponse.Builder setTotalSize(int value)
The total number of results (across all pages)
optional int32 totalSize = 3;- Parameters:
value- The totalSize to set.- Returns:
- This builder for chaining.
-
clearTotalSize
public Mdb.ListCommandsResponse.Builder clearTotalSize()
The total number of results (across all pages)
optional int32 totalSize = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Mdb.ListCommandsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
mergeUnknownFields
public final Mdb.ListCommandsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
-