Class ExtractPacketResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ExtractPacketResponse.Builder>
org.yamcs.protobuf.ExtractPacketResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ExtractPacketResponseOrBuilder
Enclosing class:
ExtractPacketResponse

public static final class ExtractPacketResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExtractPacketResponse.Builder> implements ExtractPacketResponseOrBuilder
Protobuf type yamcs.protobuf.packets.ExtractPacketResponse
  • 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<ExtractPacketResponse.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<ExtractPacketResponse.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<ExtractPacketResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ExtractPacketResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<ExtractPacketResponse.Builder>
    • setField

      public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
    • clearField

      public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
    • clearOneof

      public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
    • setRepeatedField

      public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
    • addRepeatedField

      public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
    • mergeFrom

      public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExtractPacketResponse.Builder>
    • mergeFrom

      public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
      Throws:
      IOException
    • hasPacketName

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

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

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

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

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

      public ExtractPacketResponse.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.
    • getParameterValuesList

      public List<ExtractedParameterValue> getParameterValuesList()
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
      Specified by:
      getParameterValuesList in interface ExtractPacketResponseOrBuilder
    • getParameterValuesCount

      public int getParameterValuesCount()
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
      Specified by:
      getParameterValuesCount in interface ExtractPacketResponseOrBuilder
    • getParameterValues

      public ExtractedParameterValue getParameterValues(int index)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
      Specified by:
      getParameterValues in interface ExtractPacketResponseOrBuilder
    • setParameterValues

      public ExtractPacketResponse.Builder setParameterValues(int index, ExtractedParameterValue value)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • setParameterValues

      public ExtractPacketResponse.Builder setParameterValues(int index, ExtractedParameterValue.Builder builderForValue)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • addParameterValues

      public ExtractPacketResponse.Builder addParameterValues(ExtractedParameterValue value)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • addParameterValues

      public ExtractPacketResponse.Builder addParameterValues(int index, ExtractedParameterValue value)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • addParameterValues

      public ExtractPacketResponse.Builder addParameterValues(ExtractedParameterValue.Builder builderForValue)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • addParameterValues

      public ExtractPacketResponse.Builder addParameterValues(int index, ExtractedParameterValue.Builder builderForValue)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • addAllParameterValues

      public ExtractPacketResponse.Builder addAllParameterValues(Iterable<? extends ExtractedParameterValue> values)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • clearParameterValues

      public ExtractPacketResponse.Builder clearParameterValues()
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • removeParameterValues

      public ExtractPacketResponse.Builder removeParameterValues(int index)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • getParameterValuesBuilder

      public ExtractedParameterValue.Builder getParameterValuesBuilder(int index)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • getParameterValuesOrBuilder

      public ExtractedParameterValueOrBuilder getParameterValuesOrBuilder(int index)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
      Specified by:
      getParameterValuesOrBuilder in interface ExtractPacketResponseOrBuilder
    • getParameterValuesOrBuilderList

      public List<? extends ExtractedParameterValueOrBuilder> getParameterValuesOrBuilderList()
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
      Specified by:
      getParameterValuesOrBuilderList in interface ExtractPacketResponseOrBuilder
    • addParameterValuesBuilder

      public ExtractedParameterValue.Builder addParameterValuesBuilder()
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • addParameterValuesBuilder

      public ExtractedParameterValue.Builder addParameterValuesBuilder(int index)
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • getParameterValuesBuilderList

      public List<ExtractedParameterValue.Builder> getParameterValuesBuilderList()
       Contained entries
       
      repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
    • getMessagesList

      public com.google.protobuf.ProtocolStringList getMessagesList()
       Messages generated during packet extraction
       
      repeated string messages = 3;
      Specified by:
      getMessagesList in interface ExtractPacketResponseOrBuilder
      Returns:
      A list containing the messages.
    • getMessagesCount

      public int getMessagesCount()
       Messages generated during packet extraction
       
      repeated string messages = 3;
      Specified by:
      getMessagesCount in interface ExtractPacketResponseOrBuilder
      Returns:
      The count of messages.
    • getMessages

      public String getMessages(int index)
       Messages generated during packet extraction
       
      repeated string messages = 3;
      Specified by:
      getMessages in interface ExtractPacketResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The messages at the given index.
    • getMessagesBytes

      public com.google.protobuf.ByteString getMessagesBytes(int index)
       Messages generated during packet extraction
       
      repeated string messages = 3;
      Specified by:
      getMessagesBytes in interface ExtractPacketResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the messages at the given index.
    • setMessages

      public ExtractPacketResponse.Builder setMessages(int index, String value)
       Messages generated during packet extraction
       
      repeated string messages = 3;
      Parameters:
      index - The index to set the value at.
      value - The messages to set.
      Returns:
      This builder for chaining.
    • addMessages

      public ExtractPacketResponse.Builder addMessages(String value)
       Messages generated during packet extraction
       
      repeated string messages = 3;
      Parameters:
      value - The messages to add.
      Returns:
      This builder for chaining.
    • addAllMessages

      public ExtractPacketResponse.Builder addAllMessages(Iterable<String> values)
       Messages generated during packet extraction
       
      repeated string messages = 3;
      Parameters:
      values - The messages to add.
      Returns:
      This builder for chaining.
    • clearMessages

      public ExtractPacketResponse.Builder clearMessages()
       Messages generated during packet extraction
       
      repeated string messages = 3;
      Returns:
      This builder for chaining.
    • addMessagesBytes

      public ExtractPacketResponse.Builder addMessagesBytes(com.google.protobuf.ByteString value)
       Messages generated during packet extraction
       
      repeated string messages = 3;
      Parameters:
      value - The bytes of the messages to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ExtractPacketResponse.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<ExtractPacketResponse.Builder>
    • mergeUnknownFields

      public final ExtractPacketResponse.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<ExtractPacketResponse.Builder>