Package org.yamcs.protobuf
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 Summary
Modifier and TypeMethodDescriptionaddAllMessages
(Iterable<String> values) Messages generated during packet extractionaddAllParameterValues
(Iterable<? extends ExtractedParameterValue> values) Contained entriesaddMessages
(String value) Messages generated during packet extractionaddMessagesBytes
(com.google.protobuf.ByteString value) Messages generated during packet extractionaddParameterValues
(int index, ExtractedParameterValue value) Contained entriesaddParameterValues
(int index, ExtractedParameterValue.Builder builderForValue) Contained entriesContained entriesaddParameterValues
(ExtractedParameterValue.Builder builderForValue) Contained entriesContained entriesaddParameterValuesBuilder
(int index) Contained entriesaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Messages generated during packet extractionclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Packet nameContained entriesclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getMessages
(int index) Messages generated during packet extractioncom.google.protobuf.ByteString
getMessagesBytes
(int index) Messages generated during packet extractionint
Messages generated during packet extractioncom.google.protobuf.ProtocolStringList
Messages generated during packet extractionPacket namecom.google.protobuf.ByteString
Packet namegetParameterValues
(int index) Contained entriesgetParameterValuesBuilder
(int index) Contained entriesContained entriesint
Contained entriesContained entriesgetParameterValuesOrBuilder
(int index) Contained entriesList<? extends ExtractedParameterValueOrBuilder>
Contained entriesboolean
Packet nameprotected 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
(ExtractPacketResponse other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeParameterValues
(int index) Contained entriessetMessages
(int index, String value) Messages generated during packet extractionsetPacketName
(String value) Packet namesetPacketNameBytes
(com.google.protobuf.ByteString value) Packet namesetParameterValues
(int index, ExtractedParameterValue value) Contained entriessetParameterValues
(int index, ExtractedParameterValue.Builder builderForValue) Contained entriessetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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<ExtractPacketResponse.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<ExtractPacketResponse.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<ExtractPacketResponse.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<ExtractPacketResponse.Builder>
-
setField
public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
-
clearField
public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
-
clearOneof
public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
-
setRepeatedField
public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
-
addRepeatedField
public ExtractPacketResponse.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<ExtractPacketResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExtractPacketResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExtractPacketResponse.Builder>
- Throws:
IOException
-
hasPacketName
public boolean hasPacketName()Packet name
optional string packetName = 1;
- Specified by:
hasPacketName
in interfaceExtractPacketResponseOrBuilder
- Returns:
- Whether the packetName field is set.
-
getPacketName
Packet name
optional string packetName = 1;
- Specified by:
getPacketName
in interfaceExtractPacketResponseOrBuilder
- Returns:
- The packetName.
-
getPacketNameBytes
public com.google.protobuf.ByteString getPacketNameBytes()Packet name
optional string packetName = 1;
- Specified by:
getPacketNameBytes
in interfaceExtractPacketResponseOrBuilder
- 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.
-
getParameterValuesList
Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
- Specified by:
getParameterValuesList
in interfaceExtractPacketResponseOrBuilder
-
getParameterValuesCount
public int getParameterValuesCount()Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
- Specified by:
getParameterValuesCount
in interfaceExtractPacketResponseOrBuilder
-
getParameterValues
Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
- Specified by:
getParameterValues
in interfaceExtractPacketResponseOrBuilder
-
setParameterValues
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
Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
-
addParameterValues
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
Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
-
removeParameterValues
Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
-
getParameterValuesBuilder
Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
-
getParameterValuesOrBuilder
Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
- Specified by:
getParameterValuesOrBuilder
in interfaceExtractPacketResponseOrBuilder
-
getParameterValuesOrBuilderList
Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
- Specified by:
getParameterValuesOrBuilderList
in interfaceExtractPacketResponseOrBuilder
-
addParameterValuesBuilder
Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
-
addParameterValuesBuilder
Contained entries
repeated .yamcs.protobuf.packets.ExtractedParameterValue parameterValues = 2;
-
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 interfaceExtractPacketResponseOrBuilder
- Returns:
- A list containing the messages.
-
getMessagesCount
public int getMessagesCount()Messages generated during packet extraction
repeated string messages = 3;
- Specified by:
getMessagesCount
in interfaceExtractPacketResponseOrBuilder
- Returns:
- The count of messages.
-
getMessages
Messages generated during packet extraction
repeated string messages = 3;
- Specified by:
getMessages
in interfaceExtractPacketResponseOrBuilder
- 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 interfaceExtractPacketResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the messages at the given index.
-
setMessages
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
Messages generated during packet extraction
repeated string messages = 3;
- Parameters:
value
- The messages to add.- Returns:
- This builder for chaining.
-
addAllMessages
Messages generated during packet extraction
repeated string messages = 3;
- Parameters:
values
- The messages to add.- Returns:
- This builder for chaining.
-
clearMessages
Messages generated during packet extraction
repeated string messages = 3;
- Returns:
- This builder for chaining.
-
addMessagesBytes
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExtractPacketResponse.Builder>
-
mergeUnknownFields
public final ExtractPacketResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExtractPacketResponse.Builder>
-