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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
    • clear

      public TmStatistics.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
    • getDefaultInstanceForType

      public TmStatistics getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TmStatistics build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TmStatistics buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public TmStatistics.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
    • setField

      public TmStatistics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
    • clearField

      public TmStatistics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
    • clearOneof

      public TmStatistics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
    • addRepeatedField

      public TmStatistics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
    • mergeFrom

      public TmStatistics.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TmStatistics.Builder>
    • mergeFrom

      public TmStatistics.Builder mergeFrom(TmStatistics other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TmStatistics.Builder>
      Throws:
      IOException
    • hasPacketName

      public boolean hasPacketName()
       Packet name.
       
      optional string packetName = 1;
      Specified by:
      hasPacketName in interface TmStatisticsOrBuilder
      Returns:
      Whether the packetName field is set.
    • getPacketName

      public String getPacketName()
       Packet name.
       
      optional string packetName = 1;
      Specified by:
      getPacketName in interface TmStatisticsOrBuilder
      Returns:
      The packetName.
    • getPacketNameBytes

      public com.google.protobuf.ByteString getPacketNameBytes()
       Packet name.
       
      optional string packetName = 1;
      Specified by:
      getPacketNameBytes in interface TmStatisticsOrBuilder
      Returns:
      The bytes for packetName.
    • setPacketName

      public TmStatistics.Builder setPacketName(String value)
       Packet name.
       
      optional string packetName = 1;
      Parameters:
      value - The packetName to set.
      Returns:
      This builder for chaining.
    • clearPacketName

      public TmStatistics.Builder clearPacketName()
       Packet name.
       
      optional string packetName = 1;
      Returns:
      This builder for chaining.
    • setPacketNameBytes

      public TmStatistics.Builder setPacketNameBytes(com.google.protobuf.ByteString value)
       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 interface TmStatisticsOrBuilder
      Returns:
      Whether the qualifiedName field is set.
    • getQualifiedName

      public String getQualifiedName()
      optional string qualifiedName = 9;
      Specified by:
      getQualifiedName in interface TmStatisticsOrBuilder
      Returns:
      The qualifiedName.
    • getQualifiedNameBytes

      public com.google.protobuf.ByteString getQualifiedNameBytes()
      optional string qualifiedName = 9;
      Specified by:
      getQualifiedNameBytes in interface TmStatisticsOrBuilder
      Returns:
      The bytes for qualifiedName.
    • setQualifiedName

      public TmStatistics.Builder setQualifiedName(String value)
      optional string qualifiedName = 9;
      Parameters:
      value - The qualifiedName to set.
      Returns:
      This builder for chaining.
    • clearQualifiedName

      public TmStatistics.Builder clearQualifiedName()
      optional string qualifiedName = 9;
      Returns:
      This builder for chaining.
    • setQualifiedNameBytes

      public TmStatistics.Builder setQualifiedNameBytes(com.google.protobuf.ByteString value)
      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 interface TmStatisticsOrBuilder
      Returns:
      Whether the receivedPackets field is set.
    • getReceivedPackets

      public long getReceivedPackets()
      optional int64 receivedPackets = 2;
      Specified by:
      getReceivedPackets in interface TmStatisticsOrBuilder
      Returns:
      The receivedPackets.
    • setReceivedPackets

      public TmStatistics.Builder setReceivedPackets(long value)
      optional int64 receivedPackets = 2;
      Parameters:
      value - The receivedPackets to set.
      Returns:
      This builder for chaining.
    • clearReceivedPackets

      public TmStatistics.Builder clearReceivedPackets()
      optional int64 receivedPackets = 2;
      Returns:
      This builder for chaining.
    • hasSubscribedParameterCount

      public boolean hasSubscribedParameterCount()
      optional int32 subscribedParameterCount = 6;
      Specified by:
      hasSubscribedParameterCount in interface TmStatisticsOrBuilder
      Returns:
      Whether the subscribedParameterCount field is set.
    • getSubscribedParameterCount

      public int getSubscribedParameterCount()
      optional int32 subscribedParameterCount = 6;
      Specified by:
      getSubscribedParameterCount in interface TmStatisticsOrBuilder
      Returns:
      The subscribedParameterCount.
    • setSubscribedParameterCount

      public TmStatistics.Builder setSubscribedParameterCount(int value)
      optional int32 subscribedParameterCount = 6;
      Parameters:
      value - The subscribedParameterCount to set.
      Returns:
      This builder for chaining.
    • clearSubscribedParameterCount

      public TmStatistics.Builder clearSubscribedParameterCount()
      optional int32 subscribedParameterCount = 6;
      Returns:
      This builder for chaining.
    • hasLastReceived

      public boolean hasLastReceived()
      optional .google.protobuf.Timestamp lastReceived = 10;
      Specified by:
      hasLastReceived in interface TmStatisticsOrBuilder
      Returns:
      Whether the lastReceived field is set.
    • getLastReceived

      public com.google.protobuf.Timestamp getLastReceived()
      optional .google.protobuf.Timestamp lastReceived = 10;
      Specified by:
      getLastReceived in interface TmStatisticsOrBuilder
      Returns:
      The lastReceived.
    • setLastReceived

      public TmStatistics.Builder setLastReceived(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp lastReceived = 10;
    • setLastReceived

      public TmStatistics.Builder setLastReceived(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp lastReceived = 10;
    • mergeLastReceived

      public TmStatistics.Builder mergeLastReceived(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp lastReceived = 10;
    • clearLastReceived

      public TmStatistics.Builder 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 interface TmStatisticsOrBuilder
    • hasLastPacketTime

      public boolean hasLastPacketTime()
      optional .google.protobuf.Timestamp lastPacketTime = 11;
      Specified by:
      hasLastPacketTime in interface TmStatisticsOrBuilder
      Returns:
      Whether the lastPacketTime field is set.
    • getLastPacketTime

      public com.google.protobuf.Timestamp getLastPacketTime()
      optional .google.protobuf.Timestamp lastPacketTime = 11;
      Specified by:
      getLastPacketTime in interface TmStatisticsOrBuilder
      Returns:
      The lastPacketTime.
    • setLastPacketTime

      public TmStatistics.Builder setLastPacketTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp lastPacketTime = 11;
    • setLastPacketTime

      public TmStatistics.Builder setLastPacketTime(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp lastPacketTime = 11;
    • mergeLastPacketTime

      public TmStatistics.Builder mergeLastPacketTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp lastPacketTime = 11;
    • clearLastPacketTime

      public TmStatistics.Builder 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 interface TmStatisticsOrBuilder
    • hasPacketRate

      public boolean hasPacketRate()
      optional int64 packetRate = 12;
      Specified by:
      hasPacketRate in interface TmStatisticsOrBuilder
      Returns:
      Whether the packetRate field is set.
    • getPacketRate

      public long getPacketRate()
      optional int64 packetRate = 12;
      Specified by:
      getPacketRate in interface TmStatisticsOrBuilder
      Returns:
      The packetRate.
    • setPacketRate

      public TmStatistics.Builder setPacketRate(long value)
      optional int64 packetRate = 12;
      Parameters:
      value - The packetRate to set.
      Returns:
      This builder for chaining.
    • clearPacketRate

      public TmStatistics.Builder clearPacketRate()
      optional int64 packetRate = 12;
      Returns:
      This builder for chaining.
    • hasDataRate

      public boolean hasDataRate()
      optional int64 dataRate = 13;
      Specified by:
      hasDataRate in interface TmStatisticsOrBuilder
      Returns:
      Whether the dataRate field is set.
    • getDataRate

      public long getDataRate()
      optional int64 dataRate = 13;
      Specified by:
      getDataRate in interface TmStatisticsOrBuilder
      Returns:
      The dataRate.
    • setDataRate

      public TmStatistics.Builder setDataRate(long value)
      optional int64 dataRate = 13;
      Parameters:
      value - The dataRate to set.
      Returns:
      This builder for chaining.
    • clearDataRate

      public TmStatistics.Builder 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>
    • mergeUnknownFields

      public final TmStatistics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TmStatistics.Builder>