Package org.yamcs.protobuf
Class ListPacketNamesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
org.yamcs.protobuf.ListPacketNamesResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ListPacketNamesResponseOrBuilder
- Enclosing class:
- ListPacketNamesResponse
public static final class ListPacketNamesResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
implements ListPacketNamesResponseOrBuilder
Protobuf type
yamcs.protobuf.packets.ListPacketNamesResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddAllLinks
(Iterable<String> values) Known link names.addAllName
(Iterable<String> values) Deprecated.addAllPackets
(Iterable<String> values) Known packet names.Known link names.addLinksBytes
(com.google.protobuf.ByteString value) Known link names.Deprecated.addNameBytes
(com.google.protobuf.ByteString value) Deprecated.addPackets
(String value) Known packet names.addPacketsBytes
(com.google.protobuf.ByteString value) Known packet names.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Known link names.Deprecated.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Known packet names.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getLinks
(int index) Known link names.com.google.protobuf.ByteString
getLinksBytes
(int index) Known link names.int
Known link names.com.google.protobuf.ProtocolStringList
Known link names.getName
(int index) Deprecated.com.google.protobuf.ByteString
getNameBytes
(int index) Deprecated.int
Deprecated.com.google.protobuf.ProtocolStringList
Deprecated.getPackets
(int index) Known packet names.com.google.protobuf.ByteString
getPacketsBytes
(int index) Known packet names.int
Known packet names.com.google.protobuf.ProtocolStringList
Known packet names.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
(ListPacketNamesResponse other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Known link names.Deprecated.setPackets
(int index, String value) Known packet names.setRepeatedField
(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<ListPacketNamesResponse.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<ListPacketNamesResponse.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<ListPacketNamesResponse.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<ListPacketNamesResponse.Builder>
-
setField
public ListPacketNamesResponse.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<ListPacketNamesResponse.Builder>
-
clearField
public ListPacketNamesResponse.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<ListPacketNamesResponse.Builder>
-
clearOneof
public ListPacketNamesResponse.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<ListPacketNamesResponse.Builder>
-
setRepeatedField
public ListPacketNamesResponse.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<ListPacketNamesResponse.Builder>
-
addRepeatedField
public ListPacketNamesResponse.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<ListPacketNamesResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListPacketNamesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
-
mergeFrom
public ListPacketNamesResponse.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<ListPacketNamesResponse.Builder>
- Throws:
IOException
-
getNameList
Deprecated.Known packet names.
repeated string name = 1 [deprecated = true];
- Specified by:
getNameList
in interfaceListPacketNamesResponseOrBuilder
- Returns:
- A list containing the name.
-
getNameCount
Deprecated.Known packet names.
repeated string name = 1 [deprecated = true];
- Specified by:
getNameCount
in interfaceListPacketNamesResponseOrBuilder
- Returns:
- The count of name.
-
getName
Deprecated.Known packet names.
repeated string name = 1 [deprecated = true];
- Specified by:
getName
in interfaceListPacketNamesResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The name at the given index.
-
getNameBytes
Deprecated.Known packet names.
repeated string name = 1 [deprecated = true];
- Specified by:
getNameBytes
in interfaceListPacketNamesResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the name at the given index.
-
setName
Deprecated.Known packet names.
repeated string name = 1 [deprecated = true];
- Parameters:
index
- The index to set the value at.value
- The name to set.- Returns:
- This builder for chaining.
-
addName
Deprecated.Known packet names.
repeated string name = 1 [deprecated = true];
- Parameters:
value
- The name to add.- Returns:
- This builder for chaining.
-
addAllName
Deprecated.Known packet names.
repeated string name = 1 [deprecated = true];
- Parameters:
values
- The name to add.- Returns:
- This builder for chaining.
-
clearName
Deprecated.Known packet names.
repeated string name = 1 [deprecated = true];
- Returns:
- This builder for chaining.
-
addNameBytes
@Deprecated public ListPacketNamesResponse.Builder addNameBytes(com.google.protobuf.ByteString value) Deprecated.Known packet names.
repeated string name = 1 [deprecated = true];
- Parameters:
value
- The bytes of the name to add.- Returns:
- This builder for chaining.
-
getPacketsList
public com.google.protobuf.ProtocolStringList getPacketsList()Known packet names.
repeated string packets = 2;
- Specified by:
getPacketsList
in interfaceListPacketNamesResponseOrBuilder
- Returns:
- A list containing the packets.
-
getPacketsCount
public int getPacketsCount()Known packet names.
repeated string packets = 2;
- Specified by:
getPacketsCount
in interfaceListPacketNamesResponseOrBuilder
- Returns:
- The count of packets.
-
getPackets
Known packet names.
repeated string packets = 2;
- Specified by:
getPackets
in interfaceListPacketNamesResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The packets at the given index.
-
getPacketsBytes
public com.google.protobuf.ByteString getPacketsBytes(int index) Known packet names.
repeated string packets = 2;
- Specified by:
getPacketsBytes
in interfaceListPacketNamesResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the packets at the given index.
-
setPackets
Known packet names.
repeated string packets = 2;
- Parameters:
index
- The index to set the value at.value
- The packets to set.- Returns:
- This builder for chaining.
-
addPackets
Known packet names.
repeated string packets = 2;
- Parameters:
value
- The packets to add.- Returns:
- This builder for chaining.
-
addAllPackets
Known packet names.
repeated string packets = 2;
- Parameters:
values
- The packets to add.- Returns:
- This builder for chaining.
-
clearPackets
Known packet names.
repeated string packets = 2;
- Returns:
- This builder for chaining.
-
addPacketsBytes
Known packet names.
repeated string packets = 2;
- Parameters:
value
- The bytes of the packets to add.- Returns:
- This builder for chaining.
-
getLinksList
public com.google.protobuf.ProtocolStringList getLinksList()Known link names.
repeated string links = 3;
- Specified by:
getLinksList
in interfaceListPacketNamesResponseOrBuilder
- Returns:
- A list containing the links.
-
getLinksCount
public int getLinksCount()Known link names.
repeated string links = 3;
- Specified by:
getLinksCount
in interfaceListPacketNamesResponseOrBuilder
- Returns:
- The count of links.
-
getLinks
Known link names.
repeated string links = 3;
- Specified by:
getLinks
in interfaceListPacketNamesResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The links at the given index.
-
getLinksBytes
public com.google.protobuf.ByteString getLinksBytes(int index) Known link names.
repeated string links = 3;
- Specified by:
getLinksBytes
in interfaceListPacketNamesResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the links at the given index.
-
setLinks
Known link names.
repeated string links = 3;
- Parameters:
index
- The index to set the value at.value
- The links to set.- Returns:
- This builder for chaining.
-
addLinks
Known link names.
repeated string links = 3;
- Parameters:
value
- The links to add.- Returns:
- This builder for chaining.
-
addAllLinks
Known link names.
repeated string links = 3;
- Parameters:
values
- The links to add.- Returns:
- This builder for chaining.
-
clearLinks
Known link names.
repeated string links = 3;
- Returns:
- This builder for chaining.
-
addLinksBytes
Known link names.
repeated string links = 3;
- Parameters:
value
- The bytes of the links to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListPacketNamesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
-
mergeUnknownFields
public final ListPacketNamesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketNamesResponse.Builder>
-