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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TseCommand
build()
TseCommand
buildPartial()
TseCommand.Builder
clear()
TseCommand.Builder
clearArgumentMapping()
TseCommand.Builder
clearCommand()
optional string command = 2;
TseCommand.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TseCommand.Builder
clearId()
optional .yamcs.protobuf.commanding.CommandId id = 6;
TseCommand.Builder
clearInstrument()
optional string instrument = 1;
TseCommand.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TseCommand.Builder
clearParameterMapping()
TseCommand.Builder
clearResponse()
optional string response = 3;
TseCommand.Builder
clone()
boolean
containsArgumentMapping(String key)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
boolean
containsParameterMapping(String key)
map<string, string> parameterMapping = 5;
Map<String,org.yamcs.protobuf.Yamcs.Value>
getArgumentMapping()
Deprecated.int
getArgumentMappingCount()
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.Value
getArgumentMappingOrDefault(String key, org.yamcs.protobuf.Yamcs.Value defaultValue)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
org.yamcs.protobuf.Yamcs.Value
getArgumentMappingOrThrow(String key)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
String
getCommand()
optional string command = 2;
com.google.protobuf.ByteString
getCommandBytes()
optional string command = 2;
TseCommand
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
org.yamcs.protobuf.Commanding.CommandId
getId()
optional .yamcs.protobuf.commanding.CommandId id = 6;
org.yamcs.protobuf.Commanding.CommandId.Builder
getIdBuilder()
optional .yamcs.protobuf.commanding.CommandId id = 6;
org.yamcs.protobuf.Commanding.CommandIdOrBuilder
getIdOrBuilder()
optional .yamcs.protobuf.commanding.CommandId id = 6;
String
getInstrument()
optional string instrument = 1;
com.google.protobuf.ByteString
getInstrumentBytes()
optional string instrument = 1;
Map<String,org.yamcs.protobuf.Yamcs.Value>
getMutableArgumentMapping()
Deprecated.Map<String,String>
getMutableParameterMapping()
Deprecated.Map<String,String>
getParameterMapping()
Deprecated.int
getParameterMappingCount()
map<string, string> parameterMapping = 5;
Map<String,String>
getParameterMappingMap()
map<string, string> parameterMapping = 5;
String
getParameterMappingOrDefault(String key, String defaultValue)
map<string, string> parameterMapping = 5;
String
getParameterMappingOrThrow(String key)
map<string, string> parameterMapping = 5;
String
getResponse()
optional string response = 3;
com.google.protobuf.ByteString
getResponseBytes()
optional string response = 3;
boolean
hasCommand()
optional string command = 2;
boolean
hasId()
optional .yamcs.protobuf.commanding.CommandId id = 6;
boolean
hasInstrument()
optional string instrument = 1;
boolean
hasResponse()
optional string response = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
TseCommand.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TseCommand.Builder
mergeFrom(com.google.protobuf.Message other)
TseCommand.Builder
mergeFrom(TseCommand other)
TseCommand.Builder
mergeId(org.yamcs.protobuf.Commanding.CommandId value)
optional .yamcs.protobuf.commanding.CommandId id = 6;
TseCommand.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TseCommand.Builder
putAllArgumentMapping(Map<String,org.yamcs.protobuf.Yamcs.Value> values)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
TseCommand.Builder
putAllParameterMapping(Map<String,String> values)
map<string, string> parameterMapping = 5;
TseCommand.Builder
putArgumentMapping(String key, org.yamcs.protobuf.Yamcs.Value value)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
TseCommand.Builder
putParameterMapping(String key, String value)
map<string, string> parameterMapping = 5;
TseCommand.Builder
removeArgumentMapping(String key)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
TseCommand.Builder
removeParameterMapping(String key)
map<string, string> parameterMapping = 5;
TseCommand.Builder
setCommand(String value)
optional string command = 2;
TseCommand.Builder
setCommandBytes(com.google.protobuf.ByteString value)
optional string command = 2;
TseCommand.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TseCommand.Builder
setId(org.yamcs.protobuf.Commanding.CommandId value)
optional .yamcs.protobuf.commanding.CommandId id = 6;
TseCommand.Builder
setId(org.yamcs.protobuf.Commanding.CommandId.Builder builderForValue)
optional .yamcs.protobuf.commanding.CommandId id = 6;
TseCommand.Builder
setInstrument(String value)
optional string instrument = 1;
TseCommand.Builder
setInstrumentBytes(com.google.protobuf.ByteString value)
optional string instrument = 1;
TseCommand.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TseCommand.Builder
setResponse(String value)
optional string response = 3;
TseCommand.Builder
setResponseBytes(com.google.protobuf.ByteString value)
optional string response = 3;
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, 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:
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
public 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
public TseCommand getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TseCommand build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TseCommand buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TseCommand.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
public TseCommand.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<TseCommand.Builder>
-
clearOneof
public TseCommand.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<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
public TseCommand.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TseCommand.Builder>
-
mergeFrom
public TseCommand.Builder mergeFrom(TseCommand other)
-
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
-
getId
public org.yamcs.protobuf.Commanding.CommandId getId()
optional .yamcs.protobuf.commanding.CommandId id = 6;
- Specified by:
getId
in 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:
getIdOrBuilder
in interfaceTseCommandOrBuilder
-
hasInstrument
public boolean hasInstrument()
optional string instrument = 1;
- Specified by:
hasInstrument
in interfaceTseCommandOrBuilder
-
getInstrument
public String getInstrument()
optional string instrument = 1;
- Specified by:
getInstrument
in interfaceTseCommandOrBuilder
-
getInstrumentBytes
public com.google.protobuf.ByteString getInstrumentBytes()
optional string instrument = 1;
- Specified by:
getInstrumentBytes
in 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:
hasCommand
in interfaceTseCommandOrBuilder
-
getCommand
public String getCommand()
optional string command = 2;
- Specified by:
getCommand
in interfaceTseCommandOrBuilder
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()
optional string command = 2;
- Specified by:
getCommandBytes
in 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:
hasResponse
in interfaceTseCommandOrBuilder
-
getResponse
public String getResponse()
optional string response = 3;
- Specified by:
getResponse
in interfaceTseCommandOrBuilder
-
getResponseBytes
public com.google.protobuf.ByteString getResponseBytes()
optional string response = 3;
- Specified by:
getResponseBytes
in 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:TseCommandOrBuilder
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
- Specified by:
getArgumentMappingCount
in interfaceTseCommandOrBuilder
-
containsArgumentMapping
public boolean containsArgumentMapping(String key)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
- Specified by:
containsArgumentMapping
in interfaceTseCommandOrBuilder
-
getArgumentMapping
@Deprecated public Map<String,org.yamcs.protobuf.Yamcs.Value> getArgumentMapping()
Deprecated.UsegetArgumentMappingMap()
instead.- Specified by:
getArgumentMapping
in interfaceTseCommandOrBuilder
-
getArgumentMappingMap
public Map<String,org.yamcs.protobuf.Yamcs.Value> getArgumentMappingMap()
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
- Specified by:
getArgumentMappingMap
in 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:
getArgumentMappingOrDefault
in interfaceTseCommandOrBuilder
-
getArgumentMappingOrThrow
public org.yamcs.protobuf.Yamcs.Value getArgumentMappingOrThrow(String key)
map<string, .yamcs.protobuf.Value> argumentMapping = 4;
- Specified by:
getArgumentMappingOrThrow
in 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:TseCommandOrBuilder
map<string, string> parameterMapping = 5;
- Specified by:
getParameterMappingCount
in interfaceTseCommandOrBuilder
-
containsParameterMapping
public boolean containsParameterMapping(String key)
map<string, string> parameterMapping = 5;
- Specified by:
containsParameterMapping
in interfaceTseCommandOrBuilder
-
getParameterMapping
@Deprecated public Map<String,String> getParameterMapping()
Deprecated.UsegetParameterMappingMap()
instead.- Specified by:
getParameterMapping
in interfaceTseCommandOrBuilder
-
getParameterMappingMap
public Map<String,String> getParameterMappingMap()
map<string, string> parameterMapping = 5;
- Specified by:
getParameterMappingMap
in interfaceTseCommandOrBuilder
-
getParameterMappingOrDefault
public String getParameterMappingOrDefault(String key, String defaultValue)
map<string, string> parameterMapping = 5;
- Specified by:
getParameterMappingOrDefault
in interfaceTseCommandOrBuilder
-
getParameterMappingOrThrow
public String getParameterMappingOrThrow(String key)
map<string, string> parameterMapping = 5;
- Specified by:
getParameterMappingOrThrow
in 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:
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>
-
-