Package org.yamcs.protobuf.links
Class LinkEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<LinkEvent.Builder>
org.yamcs.protobuf.links.LinkEvent.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,LinkEventOrBuilder
- Enclosing class:
- LinkEvent
public static final class LinkEvent.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<LinkEvent.Builder>
implements LinkEventOrBuilder
Protobuf type
yamcs.protobuf.links.LinkEvent
-
Method Summary
Modifier and TypeMethodDescriptionaddAllLinks
(Iterable<? extends LinkInfo> values) Detail for all linksDetail for all linksaddLinks
(int index, LinkInfo.Builder builderForValue) Detail for all linksDetail for all linksaddLinks
(LinkInfo.Builder builderForValue) Detail for all linksDetail for all linksaddLinksBuilder
(int index) Detail for all linksaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Deprecated.Detail for all linksclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Deprecated.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.Deprecated.Deprecated.getLinks
(int index) Detail for all linksgetLinksBuilder
(int index) Detail for all linksDetail for all linksint
Detail for all linksDetail for all linksgetLinksOrBuilder
(int index) Detail for all linksList<? extends LinkInfoOrBuilder>
Detail for all linksgetType()
Deprecated.boolean
Deprecated.boolean
hasType()
Deprecated.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) mergeLinkInfo
(LinkInfo value) Deprecated.final LinkEvent.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeLinks
(int index) Detail for all linkssetLinkInfo
(LinkInfo value) Deprecated.setLinkInfo
(LinkInfo.Builder builderForValue) Deprecated.Detail for all linkssetLinks
(int index, LinkInfo.Builder builderForValue) Detail for all linkssetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setType
(LinkEvent.Type value) Deprecated.final LinkEvent.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<LinkEvent.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<LinkEvent.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<LinkEvent.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<LinkEvent.Builder>
-
setField
public LinkEvent.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<LinkEvent.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkEvent.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkEvent.Builder>
-
setRepeatedField
public LinkEvent.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<LinkEvent.Builder>
-
addRepeatedField
public LinkEvent.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<LinkEvent.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LinkEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkEvent.Builder>
-
mergeFrom
public LinkEvent.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<LinkEvent.Builder>
- Throws:
IOException
-
hasType
Deprecated.Type of event. This field is deprecated: in older versions of Yamcs, link updates were sent one-by-one using one of the types: ``REGISTERED``, ``UNREGISTERED`` or ``UPDATED`` and with the ``linkInfo`` field set to that sepific link. In current versions of Yamcs, users are advised to switch to read the ``links`` field instead. This will be published automatically about every second with a snapshot of all links. The type for these batch updates is set to ``UPDATE_ALL``.
optional .yamcs.protobuf.links.LinkEvent.Type type = 1 [deprecated = true];
- Specified by:
hasType
in interfaceLinkEventOrBuilder
- Returns:
- Whether the type field is set.
-
getType
Deprecated.Type of event. This field is deprecated: in older versions of Yamcs, link updates were sent one-by-one using one of the types: ``REGISTERED``, ``UNREGISTERED`` or ``UPDATED`` and with the ``linkInfo`` field set to that sepific link. In current versions of Yamcs, users are advised to switch to read the ``links`` field instead. This will be published automatically about every second with a snapshot of all links. The type for these batch updates is set to ``UPDATE_ALL``.
optional .yamcs.protobuf.links.LinkEvent.Type type = 1 [deprecated = true];
- Specified by:
getType
in interfaceLinkEventOrBuilder
- Returns:
- The type.
-
setType
Deprecated.Type of event. This field is deprecated: in older versions of Yamcs, link updates were sent one-by-one using one of the types: ``REGISTERED``, ``UNREGISTERED`` or ``UPDATED`` and with the ``linkInfo`` field set to that sepific link. In current versions of Yamcs, users are advised to switch to read the ``links`` field instead. This will be published automatically about every second with a snapshot of all links. The type for these batch updates is set to ``UPDATE_ALL``.
optional .yamcs.protobuf.links.LinkEvent.Type type = 1 [deprecated = true];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
Deprecated.Type of event. This field is deprecated: in older versions of Yamcs, link updates were sent one-by-one using one of the types: ``REGISTERED``, ``UNREGISTERED`` or ``UPDATED`` and with the ``linkInfo`` field set to that sepific link. In current versions of Yamcs, users are advised to switch to read the ``links`` field instead. This will be published automatically about every second with a snapshot of all links. The type for these batch updates is set to ``UPDATE_ALL``.
optional .yamcs.protobuf.links.LinkEvent.Type type = 1 [deprecated = true];
- Returns:
- This builder for chaining.
-
hasLinkInfo
Deprecated.Deprecated: read ``links`` instead.
optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
- Specified by:
hasLinkInfo
in interfaceLinkEventOrBuilder
- Returns:
- Whether the linkInfo field is set.
-
getLinkInfo
Deprecated.Deprecated: read ``links`` instead.
optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
- Specified by:
getLinkInfo
in interfaceLinkEventOrBuilder
- Returns:
- The linkInfo.
-
setLinkInfo
Deprecated.Deprecated: read ``links`` instead.
optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
-
setLinkInfo
Deprecated.Deprecated: read ``links`` instead.
optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
-
mergeLinkInfo
Deprecated.Deprecated: read ``links`` instead.
optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
-
clearLinkInfo
Deprecated.Deprecated: read ``links`` instead.
optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
-
getLinkInfoBuilder
Deprecated.Deprecated: read ``links`` instead.
optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
-
getLinkInfoOrBuilder
Deprecated.Deprecated: read ``links`` instead.
optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
- Specified by:
getLinkInfoOrBuilder
in interfaceLinkEventOrBuilder
-
getLinksList
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
- Specified by:
getLinksList
in interfaceLinkEventOrBuilder
-
getLinksCount
public int getLinksCount()Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
- Specified by:
getLinksCount
in interfaceLinkEventOrBuilder
-
getLinks
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
- Specified by:
getLinks
in interfaceLinkEventOrBuilder
-
setLinks
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
setLinks
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
addLinks
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
addLinks
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
addLinks
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
addLinks
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
addAllLinks
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
clearLinks
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
removeLinks
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
getLinksBuilder
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
getLinksOrBuilder
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
- Specified by:
getLinksOrBuilder
in interfaceLinkEventOrBuilder
-
getLinksOrBuilderList
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
- Specified by:
getLinksOrBuilderList
in interfaceLinkEventOrBuilder
-
addLinksBuilder
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
addLinksBuilder
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
getLinksBuilderList
Detail for all links
repeated .yamcs.protobuf.links.LinkInfo links = 3;
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkEvent.Builder>
-
mergeUnknownFields
public final LinkEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LinkEvent.Builder>
-