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 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<LinkEvent.Builder>
    • clear

      public LinkEvent.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<LinkEvent.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<LinkEvent.Builder>
    • getDefaultInstanceForType

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

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

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

      public LinkEvent.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<LinkEvent.Builder>
    • setField

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

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

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

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

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

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

      public LinkEvent.Builder mergeFrom(LinkEvent other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 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<LinkEvent.Builder>
      Throws:
      IOException
    • hasType

      @Deprecated public boolean 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 interface LinkEventOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      @Deprecated public LinkEvent.Type 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 interface LinkEventOrBuilder
      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 public LinkEvent.Builder 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 public boolean hasLinkInfo()
      Deprecated.
       Deprecated: read ``links`` instead.
       
      optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
      Specified by:
      hasLinkInfo in interface LinkEventOrBuilder
      Returns:
      Whether the linkInfo field is set.
    • getLinkInfo

      @Deprecated public LinkInfo getLinkInfo()
      Deprecated.
       Deprecated: read ``links`` instead.
       
      optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
      Specified by:
      getLinkInfo in interface LinkEventOrBuilder
      Returns:
      The linkInfo.
    • setLinkInfo

      @Deprecated public LinkEvent.Builder setLinkInfo(LinkInfo value)
      Deprecated.
       Deprecated: read ``links`` instead.
       
      optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
    • setLinkInfo

      @Deprecated public LinkEvent.Builder setLinkInfo(LinkInfo.Builder builderForValue)
      Deprecated.
       Deprecated: read ``links`` instead.
       
      optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
    • mergeLinkInfo

      @Deprecated public LinkEvent.Builder mergeLinkInfo(LinkInfo value)
      Deprecated.
       Deprecated: read ``links`` instead.
       
      optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
    • clearLinkInfo

      @Deprecated public LinkEvent.Builder clearLinkInfo()
      Deprecated.
       Deprecated: read ``links`` instead.
       
      optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
    • getLinkInfoBuilder

      @Deprecated public LinkInfo.Builder getLinkInfoBuilder()
      Deprecated.
       Deprecated: read ``links`` instead.
       
      optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
    • getLinkInfoOrBuilder

      @Deprecated public LinkInfoOrBuilder getLinkInfoOrBuilder()
      Deprecated.
       Deprecated: read ``links`` instead.
       
      optional .yamcs.protobuf.links.LinkInfo linkInfo = 2 [deprecated = true];
      Specified by:
      getLinkInfoOrBuilder in interface LinkEventOrBuilder
    • getLinksList

      public List<LinkInfo> getLinksList()
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
      Specified by:
      getLinksList in interface LinkEventOrBuilder
    • getLinksCount

      public int getLinksCount()
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
      Specified by:
      getLinksCount in interface LinkEventOrBuilder
    • getLinks

      public LinkInfo getLinks(int index)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
      Specified by:
      getLinks in interface LinkEventOrBuilder
    • setLinks

      public LinkEvent.Builder setLinks(int index, LinkInfo value)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • setLinks

      public LinkEvent.Builder setLinks(int index, LinkInfo.Builder builderForValue)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • addLinks

      public LinkEvent.Builder addLinks(LinkInfo value)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • addLinks

      public LinkEvent.Builder addLinks(int index, LinkInfo value)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • addLinks

      public LinkEvent.Builder addLinks(LinkInfo.Builder builderForValue)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • addLinks

      public LinkEvent.Builder addLinks(int index, LinkInfo.Builder builderForValue)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • addAllLinks

      public LinkEvent.Builder addAllLinks(Iterable<? extends LinkInfo> values)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • clearLinks

      public LinkEvent.Builder clearLinks()
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • removeLinks

      public LinkEvent.Builder removeLinks(int index)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • getLinksBuilder

      public LinkInfo.Builder getLinksBuilder(int index)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • getLinksOrBuilder

      public LinkInfoOrBuilder getLinksOrBuilder(int index)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
      Specified by:
      getLinksOrBuilder in interface LinkEventOrBuilder
    • getLinksOrBuilderList

      public List<? extends LinkInfoOrBuilder> getLinksOrBuilderList()
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
      Specified by:
      getLinksOrBuilderList in interface LinkEventOrBuilder
    • addLinksBuilder

      public LinkInfo.Builder addLinksBuilder()
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • addLinksBuilder

      public LinkInfo.Builder addLinksBuilder(int index)
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • getLinksBuilderList

      public List<LinkInfo.Builder> getLinksBuilderList()
       Detail for all links
       
      repeated .yamcs.protobuf.links.LinkInfo links = 3;
    • setUnknownFields

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

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