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 type
yamcs.protobuf.mdb.ListCommandsResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddAllCommands
(Iterable<? extends Mdb.CommandInfo> values) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
addAllSpaceSystems
(Iterable<String> values) repeated string spaceSystems = 4;
addCommands
(int index, Mdb.CommandInfo value) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
addCommands
(int index, Mdb.CommandInfo.Builder builderForValue) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
addCommands
(Mdb.CommandInfo value) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
addCommands
(Mdb.CommandInfo.Builder builderForValue) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
addCommandsBuilder
(int index) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSpaceSystems
(String value) repeated string spaceSystems = 4;
addSpaceSystemsBytes
(com.google.protobuf.ByteString value) repeated string spaceSystems = 4;
build()
clear()
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
Token indicating the response is only partial.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated string spaceSystems = 4;
The total number of results (across all pages)clone()
getCommands
(int index) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
getCommandsBuilder
(int index) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
int
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
getCommandsOrBuilder
(int index) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
List<? extends Mdb.CommandInfoOrBuilder>
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
Token indicating the response is only partial.com.google.protobuf.ByteString
Token indicating the response is only partial.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getSpaceSystems
(int index) repeated string spaceSystems = 4;
com.google.protobuf.ByteString
getSpaceSystemsBytes
(int index) repeated string spaceSystems = 4;
int
repeated string spaceSystems = 4;
com.google.protobuf.ProtocolStringList
repeated string spaceSystems = 4;
int
The total number of results (across all pages)boolean
Token indicating the response is only partial.boolean
The total number of results (across all pages)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeCommands
(int index) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
setCommands
(int index, Mdb.CommandInfo value) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
setCommands
(int index, Mdb.CommandInfo.Builder builderForValue) repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
setContinuationToken
(String value) Token indicating the response is only partial.setContinuationTokenBytes
(com.google.protobuf.ByteString value) Token indicating the response is only partial.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSpaceSystems
(int index, String value) repeated string spaceSystems = 4;
setTotalSize
(int value) The total number of results (across all pages)setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.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, 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.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
-
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<Mdb.ListCommandsResponse.Builder>
-
setField
public Mdb.ListCommandsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
clearField
public Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.Builder>
-
clearOneof
public Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.Builder>
-
setRepeatedField
public Mdb.ListCommandsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
addRepeatedField
public Mdb.ListCommandsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Mdb.ListCommandsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Mdb.ListCommandsResponse.Builder>
- Throws:
IOException
-
getSpaceSystemsList
public com.google.protobuf.ProtocolStringList getSpaceSystemsList()repeated string spaceSystems = 4;
- Specified by:
getSpaceSystemsList
in interfaceMdb.ListCommandsResponseOrBuilder
- Returns:
- A list containing the spaceSystems.
-
getSpaceSystemsCount
public int getSpaceSystemsCount()repeated string spaceSystems = 4;
- Specified by:
getSpaceSystemsCount
in interfaceMdb.ListCommandsResponseOrBuilder
- Returns:
- The count of spaceSystems.
-
getSpaceSystems
repeated string spaceSystems = 4;
- Specified by:
getSpaceSystems
in 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:
getSpaceSystemsBytes
in interfaceMdb.ListCommandsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the spaceSystems at the given index.
-
setSpaceSystems
repeated string spaceSystems = 4;
- Parameters:
index
- The index to set the value at.value
- The spaceSystems to set.- Returns:
- This builder for chaining.
-
addSpaceSystems
repeated string spaceSystems = 4;
- Parameters:
value
- The spaceSystems to add.- Returns:
- This builder for chaining.
-
addAllSpaceSystems
repeated string spaceSystems = 4;
- Parameters:
values
- The spaceSystems to add.- Returns:
- This builder for chaining.
-
clearSpaceSystems
repeated string spaceSystems = 4;
- Returns:
- This builder for chaining.
-
addSpaceSystemsBytes
repeated string spaceSystems = 4;
- Parameters:
value
- The bytes of the spaceSystems to add.- Returns:
- This builder for chaining.
-
getCommandsList
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
- Specified by:
getCommandsList
in interfaceMdb.ListCommandsResponseOrBuilder
-
getCommandsCount
public int getCommandsCount()repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
- Specified by:
getCommandsCount
in interfaceMdb.ListCommandsResponseOrBuilder
-
getCommands
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
- Specified by:
getCommands
in interfaceMdb.ListCommandsResponseOrBuilder
-
setCommands
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
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
addCommands
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
addCommands
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
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
clearCommands
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
removeCommands
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
getCommandsBuilder
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
getCommandsOrBuilder
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
- Specified by:
getCommandsOrBuilder
in interfaceMdb.ListCommandsResponseOrBuilder
-
getCommandsOrBuilderList
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
- Specified by:
getCommandsOrBuilderList
in interfaceMdb.ListCommandsResponseOrBuilder
-
addCommandsBuilder
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
addCommandsBuilder
repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
-
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:
hasContinuationToken
in interfaceMdb.ListCommandsResponseOrBuilder
- Returns:
- Whether the continuationToken field is set.
-
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:
getContinuationToken
in 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:
getContinuationTokenBytes
in interfaceMdb.ListCommandsResponseOrBuilder
- Returns:
- The bytes for continuationToken.
-
setContinuationToken
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
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:
hasTotalSize
in 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:
getTotalSize
in interfaceMdb.ListCommandsResponseOrBuilder
- Returns:
- The totalSize.
-
setTotalSize
The total number of results (across all pages)
optional int32 totalSize = 3;
- Parameters:
value
- The totalSize to set.- Returns:
- This builder for chaining.
-
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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-
mergeUnknownFields
public final Mdb.ListCommandsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
-