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 typeyamcs.protobuf.tse.TseCommand
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TseCommand.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TseCommandbuild()TseCommandbuildPartial()TseCommand.Builderclear()TseCommand.BuilderclearArgumentMapping()TseCommand.BuilderclearCommand()optional string command = 2;TseCommand.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TseCommand.BuilderclearId()optional .yamcs.protobuf.commanding.CommandId id = 6;TseCommand.BuilderclearInstrument()optional string instrument = 1;TseCommand.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TseCommand.BuilderclearParameterMapping()TseCommand.BuilderclearResponse()optional string response = 3;TseCommand.Builderclone()booleancontainsArgumentMapping(String key)map<string, .yamcs.protobuf.Value> argumentMapping = 4;booleancontainsParameterMapping(String key)map<string, string> parameterMapping = 5;Map<String,org.yamcs.protobuf.Yamcs.Value>getArgumentMapping()Deprecated.intgetArgumentMappingCount()map<string, .yamcs.protobuf.Value> argumentMapping = 4;Map<String,org.yamcs.protobuf.Yamcs.Value>getArgumentMappingMap()map<string, .yamcs.protobuf.Value> argumentMapping = 4;org.yamcs.protobuf.Yamcs.ValuegetArgumentMappingOrDefault(String key, org.yamcs.protobuf.Yamcs.Value defaultValue)map<string, .yamcs.protobuf.Value> argumentMapping = 4;org.yamcs.protobuf.Yamcs.ValuegetArgumentMappingOrThrow(String key)map<string, .yamcs.protobuf.Value> argumentMapping = 4;StringgetCommand()optional string command = 2;com.google.protobuf.ByteStringgetCommandBytes()optional string command = 2;TseCommandgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()org.yamcs.protobuf.Commanding.CommandIdgetId()optional .yamcs.protobuf.commanding.CommandId id = 6;org.yamcs.protobuf.Commanding.CommandId.BuildergetIdBuilder()optional .yamcs.protobuf.commanding.CommandId id = 6;org.yamcs.protobuf.Commanding.CommandIdOrBuildergetIdOrBuilder()optional .yamcs.protobuf.commanding.CommandId id = 6;StringgetInstrument()optional string instrument = 1;com.google.protobuf.ByteStringgetInstrumentBytes()optional string instrument = 1;Map<String,org.yamcs.protobuf.Yamcs.Value>getMutableArgumentMapping()Deprecated.Map<String,String>getMutableParameterMapping()Deprecated.Map<String,String>getParameterMapping()Deprecated.intgetParameterMappingCount()map<string, string> parameterMapping = 5;Map<String,String>getParameterMappingMap()map<string, string> parameterMapping = 5;StringgetParameterMappingOrDefault(String key, String defaultValue)map<string, string> parameterMapping = 5;StringgetParameterMappingOrThrow(String key)map<string, string> parameterMapping = 5;StringgetResponse()optional string response = 3;com.google.protobuf.ByteStringgetResponseBytes()optional string response = 3;booleanhasCommand()optional string command = 2;booleanhasId()optional .yamcs.protobuf.commanding.CommandId id = 6;booleanhasInstrument()optional string instrument = 1;booleanhasResponse()optional string response = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()TseCommand.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TseCommand.BuildermergeFrom(com.google.protobuf.Message other)TseCommand.BuildermergeFrom(TseCommand other)TseCommand.BuildermergeId(org.yamcs.protobuf.Commanding.CommandId value)optional .yamcs.protobuf.commanding.CommandId id = 6;TseCommand.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TseCommand.BuilderputAllArgumentMapping(Map<String,org.yamcs.protobuf.Yamcs.Value> values)map<string, .yamcs.protobuf.Value> argumentMapping = 4;TseCommand.BuilderputAllParameterMapping(Map<String,String> values)map<string, string> parameterMapping = 5;TseCommand.BuilderputArgumentMapping(String key, org.yamcs.protobuf.Yamcs.Value value)map<string, .yamcs.protobuf.Value> argumentMapping = 4;TseCommand.BuilderputParameterMapping(String key, String value)map<string, string> parameterMapping = 5;TseCommand.BuilderremoveArgumentMapping(String key)map<string, .yamcs.protobuf.Value> argumentMapping = 4;TseCommand.BuilderremoveParameterMapping(String key)map<string, string> parameterMapping = 5;TseCommand.BuildersetCommand(String value)optional string command = 2;TseCommand.BuildersetCommandBytes(com.google.protobuf.ByteString value)optional string command = 2;TseCommand.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TseCommand.BuildersetId(org.yamcs.protobuf.Commanding.CommandId value)optional .yamcs.protobuf.commanding.CommandId id = 6;TseCommand.BuildersetId(org.yamcs.protobuf.Commanding.CommandId.Builder builderForValue)optional .yamcs.protobuf.commanding.CommandId id = 6;TseCommand.BuildersetInstrument(String value)optional string instrument = 1;TseCommand.BuildersetInstrumentBytes(com.google.protobuf.ByteString value)optional string instrument = 1;TseCommand.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TseCommand.BuildersetResponse(String value)optional string response = 3;TseCommand.BuildersetResponseBytes(com.google.protobuf.ByteString value)optional string response = 3;TseCommand.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
clear
public TseCommand.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<TseCommand.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<TseCommand.Builder>
-
getDefaultInstanceForType
public TseCommand getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TseCommand build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TseCommand buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TseCommand.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<TseCommand.Builder>
-
setField
public TseCommand.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<TseCommand.Builder>
-
clearField
public TseCommand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
clearOneof
public TseCommand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
setRepeatedField
public TseCommand.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<TseCommand.Builder>
-
addRepeatedField
public TseCommand.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<TseCommand.Builder>
-
mergeFrom
public TseCommand.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TseCommand.Builder>
-
mergeFrom
public TseCommand.Builder mergeFrom(TseCommand other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TseCommand.Builder>- Throws:
IOException
-
hasId
public boolean hasId()
optional .yamcs.protobuf.commanding.CommandId id = 6;- Specified by:
hasIdin interfaceTseCommandOrBuilder
-
getId
public org.yamcs.protobuf.Commanding.CommandId getId()
optional .yamcs.protobuf.commanding.CommandId id = 6;- Specified by:
getIdin interfaceTseCommandOrBuilder
-
setId
public TseCommand.Builder setId(org.yamcs.protobuf.Commanding.CommandId value)
optional .yamcs.protobuf.commanding.CommandId id = 6;
-
setId
public TseCommand.Builder setId(org.yamcs.protobuf.Commanding.CommandId.Builder builderForValue)
optional .yamcs.protobuf.commanding.CommandId id = 6;
-
mergeId
public TseCommand.Builder mergeId(org.yamcs.protobuf.Commanding.CommandId value)
optional .yamcs.protobuf.commanding.CommandId id = 6;
-
clearId
public TseCommand.Builder clearId()
optional .yamcs.protobuf.commanding.CommandId id = 6;
-
getIdBuilder
public org.yamcs.protobuf.Commanding.CommandId.Builder getIdBuilder()
optional .yamcs.protobuf.commanding.CommandId id = 6;
-
getIdOrBuilder
public org.yamcs.protobuf.Commanding.CommandIdOrBuilder getIdOrBuilder()
optional .yamcs.protobuf.commanding.CommandId id = 6;- Specified by:
getIdOrBuilderin interfaceTseCommandOrBuilder
-
hasInstrument
public boolean hasInstrument()
optional string instrument = 1;- Specified by:
hasInstrumentin interfaceTseCommandOrBuilder
-
getInstrument
public String getInstrument()
optional string instrument = 1;- Specified by:
getInstrumentin interfaceTseCommandOrBuilder
-
getInstrumentBytes
public com.google.protobuf.ByteString getInstrumentBytes()
optional string instrument = 1;- Specified by:
getInstrumentBytesin interfaceTseCommandOrBuilder
-
setInstrument
public TseCommand.Builder setInstrument(String value)
optional string instrument = 1;
-
clearInstrument
public TseCommand.Builder clearInstrument()
optional string instrument = 1;
-
setInstrumentBytes
public TseCommand.Builder setInstrumentBytes(com.google.protobuf.ByteString value)
optional string instrument = 1;
-
hasCommand
public boolean hasCommand()
optional string command = 2;- Specified by:
hasCommandin interfaceTseCommandOrBuilder
-
getCommand
public String getCommand()
optional string command = 2;- Specified by:
getCommandin interfaceTseCommandOrBuilder
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()
optional string command = 2;- Specified by:
getCommandBytesin interfaceTseCommandOrBuilder
-
setCommand
public TseCommand.Builder setCommand(String value)
optional string command = 2;
-
clearCommand
public TseCommand.Builder clearCommand()
optional string command = 2;
-
setCommandBytes
public TseCommand.Builder setCommandBytes(com.google.protobuf.ByteString value)
optional string command = 2;
-
hasResponse
public boolean hasResponse()
optional string response = 3;- Specified by:
hasResponsein interfaceTseCommandOrBuilder
-
getResponse
public String getResponse()
optional string response = 3;- Specified by:
getResponsein interfaceTseCommandOrBuilder
-
getResponseBytes
public com.google.protobuf.ByteString getResponseBytes()
optional string response = 3;- Specified by:
getResponseBytesin interfaceTseCommandOrBuilder
-
setResponse
public TseCommand.Builder setResponse(String value)
optional string response = 3;
-
clearResponse
public TseCommand.Builder clearResponse()
optional string response = 3;
-
setResponseBytes
public TseCommand.Builder setResponseBytes(com.google.protobuf.ByteString value)
optional string response = 3;
-
getArgumentMappingCount
public int getArgumentMappingCount()
Description copied from interface:TseCommandOrBuildermap<string, .yamcs.protobuf.Value> argumentMapping = 4;- Specified by:
getArgumentMappingCountin interfaceTseCommandOrBuilder
-
containsArgumentMapping
public boolean containsArgumentMapping(String key)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;- Specified by:
containsArgumentMappingin interfaceTseCommandOrBuilder
-
getArgumentMapping
@Deprecated public Map<String,org.yamcs.protobuf.Yamcs.Value> getArgumentMapping()
Deprecated.UsegetArgumentMappingMap()instead.- Specified by:
getArgumentMappingin interfaceTseCommandOrBuilder
-
getArgumentMappingMap
public Map<String,org.yamcs.protobuf.Yamcs.Value> getArgumentMappingMap()
map<string, .yamcs.protobuf.Value> argumentMapping = 4;- Specified by:
getArgumentMappingMapin interfaceTseCommandOrBuilder
-
getArgumentMappingOrDefault
public org.yamcs.protobuf.Yamcs.Value getArgumentMappingOrDefault(String key, org.yamcs.protobuf.Yamcs.Value defaultValue)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;- Specified by:
getArgumentMappingOrDefaultin interfaceTseCommandOrBuilder
-
getArgumentMappingOrThrow
public org.yamcs.protobuf.Yamcs.Value getArgumentMappingOrThrow(String key)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;- Specified by:
getArgumentMappingOrThrowin interfaceTseCommandOrBuilder
-
clearArgumentMapping
public TseCommand.Builder clearArgumentMapping()
-
removeArgumentMapping
public TseCommand.Builder removeArgumentMapping(String key)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
-
getMutableArgumentMapping
@Deprecated public Map<String,org.yamcs.protobuf.Yamcs.Value> getMutableArgumentMapping()
Deprecated.Use alternate mutation accessors instead.
-
putArgumentMapping
public TseCommand.Builder putArgumentMapping(String key, org.yamcs.protobuf.Yamcs.Value value)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
-
putAllArgumentMapping
public TseCommand.Builder putAllArgumentMapping(Map<String,org.yamcs.protobuf.Yamcs.Value> values)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
-
getParameterMappingCount
public int getParameterMappingCount()
Description copied from interface:TseCommandOrBuildermap<string, string> parameterMapping = 5;- Specified by:
getParameterMappingCountin interfaceTseCommandOrBuilder
-
containsParameterMapping
public boolean containsParameterMapping(String key)
map<string, string> parameterMapping = 5;- Specified by:
containsParameterMappingin interfaceTseCommandOrBuilder
-
getParameterMapping
@Deprecated public Map<String,String> getParameterMapping()
Deprecated.UsegetParameterMappingMap()instead.- Specified by:
getParameterMappingin interfaceTseCommandOrBuilder
-
getParameterMappingMap
public Map<String,String> getParameterMappingMap()
map<string, string> parameterMapping = 5;- Specified by:
getParameterMappingMapin interfaceTseCommandOrBuilder
-
getParameterMappingOrDefault
public String getParameterMappingOrDefault(String key, String defaultValue)
map<string, string> parameterMapping = 5;- Specified by:
getParameterMappingOrDefaultin interfaceTseCommandOrBuilder
-
getParameterMappingOrThrow
public String getParameterMappingOrThrow(String key)
map<string, string> parameterMapping = 5;- Specified by:
getParameterMappingOrThrowin interfaceTseCommandOrBuilder
-
clearParameterMapping
public TseCommand.Builder clearParameterMapping()
-
removeParameterMapping
public TseCommand.Builder removeParameterMapping(String key)
map<string, string> parameterMapping = 5;
-
getMutableParameterMapping
@Deprecated public Map<String,String> getMutableParameterMapping()
Deprecated.Use alternate mutation accessors instead.
-
putParameterMapping
public TseCommand.Builder putParameterMapping(String key, String value)
map<string, string> parameterMapping = 5;
-
putAllParameterMapping
public TseCommand.Builder putAllParameterMapping(Map<String,String> values)
map<string, string> parameterMapping = 5;
-
setUnknownFields
public final TseCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
mergeUnknownFields
public final TseCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
-
-