Package org.yamcs.protobuf
Class TmPacketData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<TmPacketData.Builder>
org.yamcs.protobuf.TmPacketData.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,TmPacketDataOrBuilder
- Enclosing class:
- TmPacketData
public static final class TmPacketData.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TmPacketData.Builder>
implements TmPacketDataOrBuilder
Protobuf type
yamcs.protobuf.packets.TmPacketData
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
When the signal has been received on groundclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) When the packet was generatedclearId()
Packet nameName of the Yamcs link where this packet was received fromclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Raw packet binaryWhen the packet was received by YamcsStorage discriminator in case of distinct packets with the same name and generation timePacket size in bytesclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Timestamp
When the signal has been received on groundcom.google.protobuf.Timestamp.Builder
When the signal has been received on groundcom.google.protobuf.TimestampOrBuilder
When the signal has been received on groundcom.google.protobuf.Timestamp
When the packet was generatedcom.google.protobuf.Timestamp.Builder
When the packet was generatedcom.google.protobuf.TimestampOrBuilder
When the packet was generatedgetId()
Packet namePacket namePacket namegetLink()
Name of the Yamcs link where this packet was received fromcom.google.protobuf.ByteString
Name of the Yamcs link where this packet was received fromcom.google.protobuf.ByteString
Raw packet binarycom.google.protobuf.Timestamp
When the packet was received by Yamcscom.google.protobuf.Timestamp.Builder
When the packet was received by Yamcscom.google.protobuf.TimestampOrBuilder
When the packet was received by Yamcsint
Storage discriminator in case of distinct packets with the same name and generation timeint
getSize()
Packet size in bytesboolean
When the signal has been received on groundboolean
When the packet was generatedboolean
hasId()
Packet nameboolean
hasLink()
Name of the Yamcs link where this packet was received fromboolean
Raw packet binaryboolean
When the packet was received by Yamcsboolean
Storage discriminator in case of distinct packets with the same name and generation timeboolean
hasSize()
Packet size in bytesprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeEarthReceptionTime
(com.google.protobuf.Timestamp value) When the signal has been received on groundmergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(TmPacketData other) mergeGenerationTime
(com.google.protobuf.Timestamp value) When the packet was generatedmergeId
(Yamcs.NamedObjectId value) Packet namemergeReceptionTime
(com.google.protobuf.Timestamp value) When the packet was received by Yamcsfinal TmPacketData.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setEarthReceptionTime
(com.google.protobuf.Timestamp value) When the signal has been received on groundsetEarthReceptionTime
(com.google.protobuf.Timestamp.Builder builderForValue) When the signal has been received on groundsetGenerationTime
(com.google.protobuf.Timestamp value) When the packet was generatedsetGenerationTime
(com.google.protobuf.Timestamp.Builder builderForValue) When the packet was generatedsetId
(Yamcs.NamedObjectId value) Packet namesetId
(Yamcs.NamedObjectId.Builder builderForValue) Packet nameName of the Yamcs link where this packet was received fromsetLinkBytes
(com.google.protobuf.ByteString value) Name of the Yamcs link where this packet was received fromsetPacket
(com.google.protobuf.ByteString value) Raw packet binarysetReceptionTime
(com.google.protobuf.Timestamp value) When the packet was received by YamcssetReceptionTime
(com.google.protobuf.Timestamp.Builder builderForValue) When the packet was received by YamcssetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSequenceNumber
(int value) Storage discriminator in case of distinct packets with the same name and generation timesetSize
(int value) Packet size in bytesfinal TmPacketData.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, 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<TmPacketData.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<TmPacketData.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<TmPacketData.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<TmPacketData.Builder>
-
setField
public TmPacketData.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<TmPacketData.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TmPacketData.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TmPacketData.Builder>
-
setRepeatedField
public TmPacketData.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<TmPacketData.Builder>
-
addRepeatedField
public TmPacketData.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<TmPacketData.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TmPacketData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TmPacketData.Builder>
-
mergeFrom
public TmPacketData.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<TmPacketData.Builder>
- Throws:
IOException
-
hasPacket
public boolean hasPacket()Raw packet binary
optional bytes packet = 2;
- Specified by:
hasPacket
in interfaceTmPacketDataOrBuilder
- Returns:
- Whether the packet field is set.
-
getPacket
public com.google.protobuf.ByteString getPacket()Raw packet binary
optional bytes packet = 2;
- Specified by:
getPacket
in interfaceTmPacketDataOrBuilder
- Returns:
- The packet.
-
setPacket
Raw packet binary
optional bytes packet = 2;
- Parameters:
value
- The packet to set.- Returns:
- This builder for chaining.
-
clearPacket
Raw packet binary
optional bytes packet = 2;
- Returns:
- This builder for chaining.
-
hasSequenceNumber
public boolean hasSequenceNumber()Storage discriminator in case of distinct packets with the same name and generation time
optional int32 sequenceNumber = 4;
- Specified by:
hasSequenceNumber
in interfaceTmPacketDataOrBuilder
- Returns:
- Whether the sequenceNumber field is set.
-
getSequenceNumber
public int getSequenceNumber()Storage discriminator in case of distinct packets with the same name and generation time
optional int32 sequenceNumber = 4;
- Specified by:
getSequenceNumber
in interfaceTmPacketDataOrBuilder
- Returns:
- The sequenceNumber.
-
setSequenceNumber
Storage discriminator in case of distinct packets with the same name and generation time
optional int32 sequenceNumber = 4;
- Parameters:
value
- The sequenceNumber to set.- Returns:
- This builder for chaining.
-
clearSequenceNumber
Storage discriminator in case of distinct packets with the same name and generation time
optional int32 sequenceNumber = 4;
- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Packet name
optional .yamcs.protobuf.NamedObjectId id = 5;
- Specified by:
hasId
in interfaceTmPacketDataOrBuilder
- Returns:
- Whether the id field is set.
-
getId
Packet name
optional .yamcs.protobuf.NamedObjectId id = 5;
- Specified by:
getId
in interfaceTmPacketDataOrBuilder
- Returns:
- The id.
-
setId
Packet name
optional .yamcs.protobuf.NamedObjectId id = 5;
-
setId
Packet name
optional .yamcs.protobuf.NamedObjectId id = 5;
-
mergeId
Packet name
optional .yamcs.protobuf.NamedObjectId id = 5;
-
clearId
Packet name
optional .yamcs.protobuf.NamedObjectId id = 5;
-
getIdBuilder
Packet name
optional .yamcs.protobuf.NamedObjectId id = 5;
-
getIdOrBuilder
Packet name
optional .yamcs.protobuf.NamedObjectId id = 5;
- Specified by:
getIdOrBuilder
in interfaceTmPacketDataOrBuilder
-
hasGenerationTime
public boolean hasGenerationTime()When the packet was generated
optional .google.protobuf.Timestamp generationTime = 9;
- Specified by:
hasGenerationTime
in interfaceTmPacketDataOrBuilder
- Returns:
- Whether the generationTime field is set.
-
getGenerationTime
public com.google.protobuf.Timestamp getGenerationTime()When the packet was generated
optional .google.protobuf.Timestamp generationTime = 9;
- Specified by:
getGenerationTime
in interfaceTmPacketDataOrBuilder
- Returns:
- The generationTime.
-
setGenerationTime
When the packet was generated
optional .google.protobuf.Timestamp generationTime = 9;
-
setGenerationTime
public TmPacketData.Builder setGenerationTime(com.google.protobuf.Timestamp.Builder builderForValue) When the packet was generated
optional .google.protobuf.Timestamp generationTime = 9;
-
mergeGenerationTime
When the packet was generated
optional .google.protobuf.Timestamp generationTime = 9;
-
clearGenerationTime
When the packet was generated
optional .google.protobuf.Timestamp generationTime = 9;
-
getGenerationTimeBuilder
public com.google.protobuf.Timestamp.Builder getGenerationTimeBuilder()When the packet was generated
optional .google.protobuf.Timestamp generationTime = 9;
-
getGenerationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()When the packet was generated
optional .google.protobuf.Timestamp generationTime = 9;
- Specified by:
getGenerationTimeOrBuilder
in interfaceTmPacketDataOrBuilder
-
hasEarthReceptionTime
public boolean hasEarthReceptionTime()When the signal has been received on ground
optional .google.protobuf.Timestamp earthReceptionTime = 10;
- Specified by:
hasEarthReceptionTime
in interfaceTmPacketDataOrBuilder
- Returns:
- Whether the earthReceptionTime field is set.
-
getEarthReceptionTime
public com.google.protobuf.Timestamp getEarthReceptionTime()When the signal has been received on ground
optional .google.protobuf.Timestamp earthReceptionTime = 10;
- Specified by:
getEarthReceptionTime
in interfaceTmPacketDataOrBuilder
- Returns:
- The earthReceptionTime.
-
setEarthReceptionTime
When the signal has been received on ground
optional .google.protobuf.Timestamp earthReceptionTime = 10;
-
setEarthReceptionTime
public TmPacketData.Builder setEarthReceptionTime(com.google.protobuf.Timestamp.Builder builderForValue) When the signal has been received on ground
optional .google.protobuf.Timestamp earthReceptionTime = 10;
-
mergeEarthReceptionTime
When the signal has been received on ground
optional .google.protobuf.Timestamp earthReceptionTime = 10;
-
clearEarthReceptionTime
When the signal has been received on ground
optional .google.protobuf.Timestamp earthReceptionTime = 10;
-
getEarthReceptionTimeBuilder
public com.google.protobuf.Timestamp.Builder getEarthReceptionTimeBuilder()When the signal has been received on ground
optional .google.protobuf.Timestamp earthReceptionTime = 10;
-
getEarthReceptionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEarthReceptionTimeOrBuilder()When the signal has been received on ground
optional .google.protobuf.Timestamp earthReceptionTime = 10;
- Specified by:
getEarthReceptionTimeOrBuilder
in interfaceTmPacketDataOrBuilder
-
hasReceptionTime
public boolean hasReceptionTime()When the packet was received by Yamcs
optional .google.protobuf.Timestamp receptionTime = 8;
- Specified by:
hasReceptionTime
in interfaceTmPacketDataOrBuilder
- Returns:
- Whether the receptionTime field is set.
-
getReceptionTime
public com.google.protobuf.Timestamp getReceptionTime()When the packet was received by Yamcs
optional .google.protobuf.Timestamp receptionTime = 8;
- Specified by:
getReceptionTime
in interfaceTmPacketDataOrBuilder
- Returns:
- The receptionTime.
-
setReceptionTime
When the packet was received by Yamcs
optional .google.protobuf.Timestamp receptionTime = 8;
-
setReceptionTime
When the packet was received by Yamcs
optional .google.protobuf.Timestamp receptionTime = 8;
-
mergeReceptionTime
When the packet was received by Yamcs
optional .google.protobuf.Timestamp receptionTime = 8;
-
clearReceptionTime
When the packet was received by Yamcs
optional .google.protobuf.Timestamp receptionTime = 8;
-
getReceptionTimeBuilder
public com.google.protobuf.Timestamp.Builder getReceptionTimeBuilder()When the packet was received by Yamcs
optional .google.protobuf.Timestamp receptionTime = 8;
-
getReceptionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder()When the packet was received by Yamcs
optional .google.protobuf.Timestamp receptionTime = 8;
- Specified by:
getReceptionTimeOrBuilder
in interfaceTmPacketDataOrBuilder
-
hasLink
public boolean hasLink()Name of the Yamcs link where this packet was received from
optional string link = 11;
- Specified by:
hasLink
in interfaceTmPacketDataOrBuilder
- Returns:
- Whether the link field is set.
-
getLink
Name of the Yamcs link where this packet was received from
optional string link = 11;
- Specified by:
getLink
in interfaceTmPacketDataOrBuilder
- Returns:
- The link.
-
getLinkBytes
public com.google.protobuf.ByteString getLinkBytes()Name of the Yamcs link where this packet was received from
optional string link = 11;
- Specified by:
getLinkBytes
in interfaceTmPacketDataOrBuilder
- Returns:
- The bytes for link.
-
setLink
Name of the Yamcs link where this packet was received from
optional string link = 11;
- Parameters:
value
- The link to set.- Returns:
- This builder for chaining.
-
clearLink
Name of the Yamcs link where this packet was received from
optional string link = 11;
- Returns:
- This builder for chaining.
-
setLinkBytes
Name of the Yamcs link where this packet was received from
optional string link = 11;
- Parameters:
value
- The bytes for link to set.- Returns:
- This builder for chaining.
-
hasSize
public boolean hasSize()Packet size in bytes
optional int32 size = 12;
- Specified by:
hasSize
in interfaceTmPacketDataOrBuilder
- Returns:
- Whether the size field is set.
-
getSize
public int getSize()Packet size in bytes
optional int32 size = 12;
- Specified by:
getSize
in interfaceTmPacketDataOrBuilder
- Returns:
- The size.
-
setSize
Packet size in bytes
optional int32 size = 12;
- Parameters:
value
- The size to set.- Returns:
- This builder for chaining.
-
clearSize
Packet size in bytes
optional int32 size = 12;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final TmPacketData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TmPacketData.Builder>
-
mergeUnknownFields
public final TmPacketData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TmPacketData.Builder>
-