Package org.yamcs.protobuf
Class TmStatistics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
org.yamcs.protobuf.TmStatistics.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,TmStatisticsOrBuilder
- Enclosing class:
- TmStatistics
public static final class TmStatistics.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
implements TmStatisticsOrBuilder
Protobuf type
yamcs.protobuf.yamcsManagement.TmStatistics
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional int64 dataRate = 13;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional .google.protobuf.Timestamp lastPacketTime = 11;
optional .google.protobuf.Timestamp lastReceived = 10;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Packet name.optional int64 packetRate = 12;
optional string qualifiedName = 9;
optional int64 receivedPackets = 2;
optional int32 subscribedParameterCount = 6;
clone()
long
optional int64 dataRate = 13;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Timestamp
optional .google.protobuf.Timestamp lastPacketTime = 11;
com.google.protobuf.Timestamp.Builder
optional .google.protobuf.Timestamp lastPacketTime = 11;
com.google.protobuf.TimestampOrBuilder
optional .google.protobuf.Timestamp lastPacketTime = 11;
com.google.protobuf.Timestamp
optional .google.protobuf.Timestamp lastReceived = 10;
com.google.protobuf.Timestamp.Builder
optional .google.protobuf.Timestamp lastReceived = 10;
com.google.protobuf.TimestampOrBuilder
optional .google.protobuf.Timestamp lastReceived = 10;
Packet name.com.google.protobuf.ByteString
Packet name.long
optional int64 packetRate = 12;
optional string qualifiedName = 9;
com.google.protobuf.ByteString
optional string qualifiedName = 9;
long
optional int64 receivedPackets = 2;
int
optional int32 subscribedParameterCount = 6;
boolean
optional int64 dataRate = 13;
boolean
optional .google.protobuf.Timestamp lastPacketTime = 11;
boolean
optional .google.protobuf.Timestamp lastReceived = 10;
boolean
Packet name.boolean
optional int64 packetRate = 12;
boolean
optional string qualifiedName = 9;
boolean
optional int64 receivedPackets = 2;
boolean
optional int32 subscribedParameterCount = 6;
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) mergeFrom
(TmStatistics other) mergeLastPacketTime
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp lastPacketTime = 11;
mergeLastReceived
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp lastReceived = 10;
final TmStatistics.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setDataRate
(long value) optional int64 dataRate = 13;
setLastPacketTime
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp lastPacketTime = 11;
setLastPacketTime
(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp lastPacketTime = 11;
setLastReceived
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp lastReceived = 10;
setLastReceived
(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp lastReceived = 10;
setPacketName
(String value) Packet name.setPacketNameBytes
(com.google.protobuf.ByteString value) Packet name.setPacketRate
(long value) optional int64 packetRate = 12;
setQualifiedName
(String value) optional string qualifiedName = 9;
setQualifiedNameBytes
(com.google.protobuf.ByteString value) optional string qualifiedName = 9;
setReceivedPackets
(long value) optional int64 receivedPackets = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSubscribedParameterCount
(int value) optional int32 subscribedParameterCount = 6;
final TmStatistics.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<TmStatistics.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<TmStatistics.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<TmStatistics.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<TmStatistics.Builder>
-
setField
public TmStatistics.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<TmStatistics.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
-
setRepeatedField
public TmStatistics.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<TmStatistics.Builder>
-
addRepeatedField
public TmStatistics.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<TmStatistics.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TmStatistics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
-
mergeFrom
public TmStatistics.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<TmStatistics.Builder>
- Throws:
IOException
-
hasPacketName
public boolean hasPacketName()Packet name.
optional string packetName = 1;
- Specified by:
hasPacketName
in interfaceTmStatisticsOrBuilder
- Returns:
- Whether the packetName field is set.
-
getPacketName
Packet name.
optional string packetName = 1;
- Specified by:
getPacketName
in interfaceTmStatisticsOrBuilder
- Returns:
- The packetName.
-
getPacketNameBytes
public com.google.protobuf.ByteString getPacketNameBytes()Packet name.
optional string packetName = 1;
- Specified by:
getPacketNameBytes
in interfaceTmStatisticsOrBuilder
- Returns:
- The bytes for packetName.
-
setPacketName
Packet name.
optional string packetName = 1;
- Parameters:
value
- The packetName to set.- Returns:
- This builder for chaining.
-
clearPacketName
Packet name.
optional string packetName = 1;
- Returns:
- This builder for chaining.
-
setPacketNameBytes
Packet name.
optional string packetName = 1;
- Parameters:
value
- The bytes for packetName to set.- Returns:
- This builder for chaining.
-
hasQualifiedName
public boolean hasQualifiedName()optional string qualifiedName = 9;
- Specified by:
hasQualifiedName
in interfaceTmStatisticsOrBuilder
- Returns:
- Whether the qualifiedName field is set.
-
getQualifiedName
optional string qualifiedName = 9;
- Specified by:
getQualifiedName
in interfaceTmStatisticsOrBuilder
- Returns:
- The qualifiedName.
-
getQualifiedNameBytes
public com.google.protobuf.ByteString getQualifiedNameBytes()optional string qualifiedName = 9;
- Specified by:
getQualifiedNameBytes
in interfaceTmStatisticsOrBuilder
- Returns:
- The bytes for qualifiedName.
-
setQualifiedName
optional string qualifiedName = 9;
- Parameters:
value
- The qualifiedName to set.- Returns:
- This builder for chaining.
-
clearQualifiedName
optional string qualifiedName = 9;
- Returns:
- This builder for chaining.
-
setQualifiedNameBytes
optional string qualifiedName = 9;
- Parameters:
value
- The bytes for qualifiedName to set.- Returns:
- This builder for chaining.
-
hasReceivedPackets
public boolean hasReceivedPackets()optional int64 receivedPackets = 2;
- Specified by:
hasReceivedPackets
in interfaceTmStatisticsOrBuilder
- Returns:
- Whether the receivedPackets field is set.
-
getReceivedPackets
public long getReceivedPackets()optional int64 receivedPackets = 2;
- Specified by:
getReceivedPackets
in interfaceTmStatisticsOrBuilder
- Returns:
- The receivedPackets.
-
setReceivedPackets
optional int64 receivedPackets = 2;
- Parameters:
value
- The receivedPackets to set.- Returns:
- This builder for chaining.
-
clearReceivedPackets
optional int64 receivedPackets = 2;
- Returns:
- This builder for chaining.
-
hasSubscribedParameterCount
public boolean hasSubscribedParameterCount()optional int32 subscribedParameterCount = 6;
- Specified by:
hasSubscribedParameterCount
in interfaceTmStatisticsOrBuilder
- Returns:
- Whether the subscribedParameterCount field is set.
-
getSubscribedParameterCount
public int getSubscribedParameterCount()optional int32 subscribedParameterCount = 6;
- Specified by:
getSubscribedParameterCount
in interfaceTmStatisticsOrBuilder
- Returns:
- The subscribedParameterCount.
-
setSubscribedParameterCount
optional int32 subscribedParameterCount = 6;
- Parameters:
value
- The subscribedParameterCount to set.- Returns:
- This builder for chaining.
-
clearSubscribedParameterCount
optional int32 subscribedParameterCount = 6;
- Returns:
- This builder for chaining.
-
hasLastReceived
public boolean hasLastReceived()optional .google.protobuf.Timestamp lastReceived = 10;
- Specified by:
hasLastReceived
in interfaceTmStatisticsOrBuilder
- Returns:
- Whether the lastReceived field is set.
-
getLastReceived
public com.google.protobuf.Timestamp getLastReceived()optional .google.protobuf.Timestamp lastReceived = 10;
- Specified by:
getLastReceived
in interfaceTmStatisticsOrBuilder
- Returns:
- The lastReceived.
-
setLastReceived
optional .google.protobuf.Timestamp lastReceived = 10;
-
setLastReceived
optional .google.protobuf.Timestamp lastReceived = 10;
-
mergeLastReceived
optional .google.protobuf.Timestamp lastReceived = 10;
-
clearLastReceived
optional .google.protobuf.Timestamp lastReceived = 10;
-
getLastReceivedBuilder
public com.google.protobuf.Timestamp.Builder getLastReceivedBuilder()optional .google.protobuf.Timestamp lastReceived = 10;
-
getLastReceivedOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastReceivedOrBuilder()optional .google.protobuf.Timestamp lastReceived = 10;
- Specified by:
getLastReceivedOrBuilder
in interfaceTmStatisticsOrBuilder
-
hasLastPacketTime
public boolean hasLastPacketTime()optional .google.protobuf.Timestamp lastPacketTime = 11;
- Specified by:
hasLastPacketTime
in interfaceTmStatisticsOrBuilder
- Returns:
- Whether the lastPacketTime field is set.
-
getLastPacketTime
public com.google.protobuf.Timestamp getLastPacketTime()optional .google.protobuf.Timestamp lastPacketTime = 11;
- Specified by:
getLastPacketTime
in interfaceTmStatisticsOrBuilder
- Returns:
- The lastPacketTime.
-
setLastPacketTime
optional .google.protobuf.Timestamp lastPacketTime = 11;
-
setLastPacketTime
public TmStatistics.Builder setLastPacketTime(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp lastPacketTime = 11;
-
mergeLastPacketTime
optional .google.protobuf.Timestamp lastPacketTime = 11;
-
clearLastPacketTime
optional .google.protobuf.Timestamp lastPacketTime = 11;
-
getLastPacketTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastPacketTimeBuilder()optional .google.protobuf.Timestamp lastPacketTime = 11;
-
getLastPacketTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastPacketTimeOrBuilder()optional .google.protobuf.Timestamp lastPacketTime = 11;
- Specified by:
getLastPacketTimeOrBuilder
in interfaceTmStatisticsOrBuilder
-
hasPacketRate
public boolean hasPacketRate()optional int64 packetRate = 12;
- Specified by:
hasPacketRate
in interfaceTmStatisticsOrBuilder
- Returns:
- Whether the packetRate field is set.
-
getPacketRate
public long getPacketRate()optional int64 packetRate = 12;
- Specified by:
getPacketRate
in interfaceTmStatisticsOrBuilder
- Returns:
- The packetRate.
-
setPacketRate
optional int64 packetRate = 12;
- Parameters:
value
- The packetRate to set.- Returns:
- This builder for chaining.
-
clearPacketRate
optional int64 packetRate = 12;
- Returns:
- This builder for chaining.
-
hasDataRate
public boolean hasDataRate()optional int64 dataRate = 13;
- Specified by:
hasDataRate
in interfaceTmStatisticsOrBuilder
- Returns:
- Whether the dataRate field is set.
-
getDataRate
public long getDataRate()optional int64 dataRate = 13;
- Specified by:
getDataRate
in interfaceTmStatisticsOrBuilder
- Returns:
- The dataRate.
-
setDataRate
optional int64 dataRate = 13;
- Parameters:
value
- The dataRate to set.- Returns:
- This builder for chaining.
-
clearDataRate
optional int64 dataRate = 13;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final TmStatistics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
-
mergeUnknownFields
public final TmStatistics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
-