Package org.yamcs.tse.api
Class TseCommand.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
org.yamcs.tse.api.TseCommand.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,TseCommandOrBuilder
- Enclosing class:
- TseCommand
public static final class TseCommand.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
implements TseCommandOrBuilder
Protobuf type
yamcs.protobuf.tse.TseCommand
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string command = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
optional .yamcs.protobuf.commanding.CommandId id = 6;
optional string instrument = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string response = 3;
clone()
boolean
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
boolean
map<string, string> parameterMapping = 5;
Deprecated.int
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
getArgumentMappingOrDefault
(String key, Yamcs.Value defaultValue) map<string, .yamcs.protobuf.Value> argumentMapping = 4;
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
optional string command = 2;
com.google.protobuf.ByteString
optional string command = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getId()
optional .yamcs.protobuf.commanding.CommandId id = 6;
optional .yamcs.protobuf.commanding.CommandId id = 6;
optional .yamcs.protobuf.commanding.CommandId id = 6;
optional string instrument = 1;
com.google.protobuf.ByteString
optional string instrument = 1;
Deprecated.Deprecated.Deprecated.int
map<string, string> parameterMapping = 5;
map<string, string> parameterMapping = 5;
getParameterMappingOrDefault
(String key, String defaultValue) map<string, string> parameterMapping = 5;
map<string, string> parameterMapping = 5;
optional string response = 3;
com.google.protobuf.ByteString
optional string response = 3;
boolean
optional string command = 2;
boolean
hasId()
optional .yamcs.protobuf.commanding.CommandId id = 6;
boolean
optional string instrument = 1;
boolean
optional string response = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(TseCommand other) mergeId
(Commanding.CommandId value) optional .yamcs.protobuf.commanding.CommandId id = 6;
final TseCommand.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllArgumentMapping
(Map<String, Yamcs.Value> values) map<string, .yamcs.protobuf.Value> argumentMapping = 4;
putAllParameterMapping
(Map<String, String> values) map<string, string> parameterMapping = 5;
putArgumentMapping
(String key, Yamcs.Value value) map<string, .yamcs.protobuf.Value> argumentMapping = 4;
putParameterMapping
(String key, String value) map<string, string> parameterMapping = 5;
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
map<string, string> parameterMapping = 5;
setCommand
(String value) optional string command = 2;
setCommandBytes
(com.google.protobuf.ByteString value) optional string command = 2;
setId
(Commanding.CommandId value) optional .yamcs.protobuf.commanding.CommandId id = 6;
setId
(Commanding.CommandId.Builder builderForValue) optional .yamcs.protobuf.commanding.CommandId id = 6;
setInstrument
(String value) optional string instrument = 1;
setInstrumentBytes
(com.google.protobuf.ByteString value) optional string instrument = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResponse
(String value) optional string response = 3;
setResponseBytes
(com.google.protobuf.ByteString value) optional string response = 3;
final TseCommand.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, getUnknownFieldSetBuilder, hasField, hasOneof, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.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<TseCommand.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<TseCommand.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<TseCommand.Builder>
-
setField
public TseCommand.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<TseCommand.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
setRepeatedField
public TseCommand.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<TseCommand.Builder>
-
addRepeatedField
public TseCommand.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<TseCommand.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TseCommand.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
mergeFrom
public TseCommand.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<TseCommand.Builder>
- Throws:
IOException
-
hasId
public boolean hasId()optional .yamcs.protobuf.commanding.CommandId id = 6;
- Specified by:
hasId
in interfaceTseCommandOrBuilder
- Returns:
- Whether the id field is set.
-
getId
optional .yamcs.protobuf.commanding.CommandId id = 6;
- Specified by:
getId
in interfaceTseCommandOrBuilder
- Returns:
- The id.
-
setId
optional .yamcs.protobuf.commanding.CommandId id = 6;
-
setId
optional .yamcs.protobuf.commanding.CommandId id = 6;
-
mergeId
optional .yamcs.protobuf.commanding.CommandId id = 6;
-
clearId
optional .yamcs.protobuf.commanding.CommandId id = 6;
-
getIdBuilder
optional .yamcs.protobuf.commanding.CommandId id = 6;
-
getIdOrBuilder
optional .yamcs.protobuf.commanding.CommandId id = 6;
- Specified by:
getIdOrBuilder
in interfaceTseCommandOrBuilder
-
hasInstrument
public boolean hasInstrument()optional string instrument = 1;
- Specified by:
hasInstrument
in interfaceTseCommandOrBuilder
- Returns:
- Whether the instrument field is set.
-
getInstrument
optional string instrument = 1;
- Specified by:
getInstrument
in interfaceTseCommandOrBuilder
- Returns:
- The instrument.
-
getInstrumentBytes
public com.google.protobuf.ByteString getInstrumentBytes()optional string instrument = 1;
- Specified by:
getInstrumentBytes
in interfaceTseCommandOrBuilder
- Returns:
- The bytes for instrument.
-
setInstrument
optional string instrument = 1;
- Parameters:
value
- The instrument to set.- Returns:
- This builder for chaining.
-
clearInstrument
optional string instrument = 1;
- Returns:
- This builder for chaining.
-
setInstrumentBytes
optional string instrument = 1;
- Parameters:
value
- The bytes for instrument to set.- Returns:
- This builder for chaining.
-
hasCommand
public boolean hasCommand()optional string command = 2;
- Specified by:
hasCommand
in interfaceTseCommandOrBuilder
- Returns:
- Whether the command field is set.
-
getCommand
optional string command = 2;
- Specified by:
getCommand
in interfaceTseCommandOrBuilder
- Returns:
- The command.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()optional string command = 2;
- Specified by:
getCommandBytes
in interfaceTseCommandOrBuilder
- Returns:
- The bytes for command.
-
setCommand
optional string command = 2;
- Parameters:
value
- The command to set.- Returns:
- This builder for chaining.
-
clearCommand
optional string command = 2;
- Returns:
- This builder for chaining.
-
setCommandBytes
optional string command = 2;
- Parameters:
value
- The bytes for command to set.- Returns:
- This builder for chaining.
-
hasResponse
public boolean hasResponse()optional string response = 3;
- Specified by:
hasResponse
in interfaceTseCommandOrBuilder
- Returns:
- Whether the response field is set.
-
getResponse
optional string response = 3;
- Specified by:
getResponse
in interfaceTseCommandOrBuilder
- Returns:
- The response.
-
getResponseBytes
public com.google.protobuf.ByteString getResponseBytes()optional string response = 3;
- Specified by:
getResponseBytes
in interfaceTseCommandOrBuilder
- Returns:
- The bytes for response.
-
setResponse
optional string response = 3;
- Parameters:
value
- The response to set.- Returns:
- This builder for chaining.
-
clearResponse
optional string response = 3;
- Returns:
- This builder for chaining.
-
setResponseBytes
optional string response = 3;
- Parameters:
value
- The bytes for response to set.- Returns:
- This builder for chaining.
-
getArgumentMappingCount
public int getArgumentMappingCount()Description copied from interface:TseCommandOrBuilder
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
- Specified by:
getArgumentMappingCount
in interfaceTseCommandOrBuilder
-
containsArgumentMapping
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
- Specified by:
containsArgumentMapping
in interfaceTseCommandOrBuilder
-
getArgumentMapping
Deprecated.UsegetArgumentMappingMap()
instead.- Specified by:
getArgumentMapping
in interfaceTseCommandOrBuilder
-
getArgumentMappingMap
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
- Specified by:
getArgumentMappingMap
in interfaceTseCommandOrBuilder
-
getArgumentMappingOrDefault
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
- Specified by:
getArgumentMappingOrDefault
in interfaceTseCommandOrBuilder
-
getArgumentMappingOrThrow
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
- Specified by:
getArgumentMappingOrThrow
in interfaceTseCommandOrBuilder
-
clearArgumentMapping
-
removeArgumentMapping
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
-
getMutableArgumentMapping
Deprecated.Use alternate mutation accessors instead. -
putArgumentMapping
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
-
putAllArgumentMapping
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
-
getParameterMappingCount
public int getParameterMappingCount()Description copied from interface:TseCommandOrBuilder
map<string, string> parameterMapping = 5;
- Specified by:
getParameterMappingCount
in interfaceTseCommandOrBuilder
-
containsParameterMapping
map<string, string> parameterMapping = 5;
- Specified by:
containsParameterMapping
in interfaceTseCommandOrBuilder
-
getParameterMapping
Deprecated.UsegetParameterMappingMap()
instead.- Specified by:
getParameterMapping
in interfaceTseCommandOrBuilder
-
getParameterMappingMap
map<string, string> parameterMapping = 5;
- Specified by:
getParameterMappingMap
in interfaceTseCommandOrBuilder
-
getParameterMappingOrDefault
map<string, string> parameterMapping = 5;
- Specified by:
getParameterMappingOrDefault
in interfaceTseCommandOrBuilder
-
getParameterMappingOrThrow
map<string, string> parameterMapping = 5;
- Specified by:
getParameterMappingOrThrow
in interfaceTseCommandOrBuilder
-
clearParameterMapping
-
removeParameterMapping
map<string, string> parameterMapping = 5;
-
getMutableParameterMapping
Deprecated.Use alternate mutation accessors instead. -
putParameterMapping
map<string, string> parameterMapping = 5;
-
putAllParameterMapping
map<string, string> parameterMapping = 5;
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
mergeUnknownFields
public final TseCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-