Class LinkInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.links.LinkInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, LinkInfoOrBuilder

public final class LinkInfo extends com.google.protobuf.GeneratedMessageV3 implements LinkInfoOrBuilder
Protobuf type yamcs.protobuf.links.LinkInfo
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type yamcs.protobuf.links.LinkInfo

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final com.google.protobuf.Parser<LinkInfo>
    Deprecated.
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    getActions(int index)
    Custom actions
    int
    Custom actions
    Custom actions
    Custom actions
    Custom actions
    long
    Counter of inbound (received) data.
    long
    Counter of outbound (transmitted) data.
    static LinkInfo
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Short status information
    com.google.protobuf.ByteString
    Short status information
    boolean
    Whether this link is currently disabled.
    com.google.protobuf.Struct
    Custom info fields
    com.google.protobuf.StructOrBuilder
    Custom info fields
    Yamcs instance name
    com.google.protobuf.ByteString
    Yamcs instance name
    Link name
    com.google.protobuf.ByteString
    Link name
    getParameters(int index)
    System parameters generated by this link
    com.google.protobuf.ByteString
    getParametersBytes(int index)
    System parameters generated by this link
    int
    System parameters generated by this link
    com.google.protobuf.ProtocolStringList
    System parameters generated by this link
    if this is a sublink of an aggregated data link, this is the name of the parent
    com.google.protobuf.ByteString
    if this is a sublink of an aggregated data link, this is the name of the parent
    com.google.protobuf.Parser<LinkInfo>
     
    int
     
    Configuration
    com.google.protobuf.ByteString
    Configuration
    optional string status = 7;
    com.google.protobuf.ByteString
    optional string status = 7;
    Java class name
    com.google.protobuf.ByteString
    Java class name
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    Counter of inbound (received) data.
    boolean
    Counter of outbound (transmitted) data.
    boolean
    Short status information
    boolean
    Whether this link is currently disabled.
    boolean
    Custom info fields
    int
     
    boolean
    Yamcs instance name
    boolean
    Link name
    boolean
    if this is a sublink of an aggregated data link, this is the name of the parent
    boolean
    Configuration
    boolean
    optional string status = 7;
    boolean
    Java class name
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(LinkInfo prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static LinkInfo
     
    static LinkInfo
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LinkInfo
    parseFrom(byte[] data)
     
    static LinkInfo
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LinkInfo
    parseFrom(com.google.protobuf.ByteString data)
     
    static LinkInfo
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LinkInfo
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static LinkInfo
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LinkInfo
     
    static LinkInfo
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LinkInfo
     
    static LinkInfo
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<LinkInfo>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface LinkInfoOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface LinkInfoOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface LinkInfoOrBuilder
      Returns:
      The bytes for instance.
    • hasName

      public boolean hasName()
       Link name
       
      optional string name = 2;
      Specified by:
      hasName in interface LinkInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Link name
       
      optional string name = 2;
      Specified by:
      getName in interface LinkInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Link name
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface LinkInfoOrBuilder
      Returns:
      The bytes for name.
    • hasType

      public boolean hasType()
       Java class name
       
      optional string type = 3;
      Specified by:
      hasType in interface LinkInfoOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       Java class name
       
      optional string type = 3;
      Specified by:
      getType in interface LinkInfoOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Java class name
       
      optional string type = 3;
      Specified by:
      getTypeBytes in interface LinkInfoOrBuilder
      Returns:
      The bytes for type.
    • hasSpec

      public boolean hasSpec()
       Configuration
       
      optional string spec = 4;
      Specified by:
      hasSpec in interface LinkInfoOrBuilder
      Returns:
      Whether the spec field is set.
    • getSpec

      public String getSpec()
       Configuration
       
      optional string spec = 4;
      Specified by:
      getSpec in interface LinkInfoOrBuilder
      Returns:
      The spec.
    • getSpecBytes

      public com.google.protobuf.ByteString getSpecBytes()
       Configuration
       
      optional string spec = 4;
      Specified by:
      getSpecBytes in interface LinkInfoOrBuilder
      Returns:
      The bytes for spec.
    • hasDisabled

      public boolean hasDisabled()
       Whether this link is currently disabled.
       
      optional bool disabled = 6;
      Specified by:
      hasDisabled in interface LinkInfoOrBuilder
      Returns:
      Whether the disabled field is set.
    • getDisabled

      public boolean getDisabled()
       Whether this link is currently disabled.
       
      optional bool disabled = 6;
      Specified by:
      getDisabled in interface LinkInfoOrBuilder
      Returns:
      The disabled.
    • hasStatus

      public boolean hasStatus()
      optional string status = 7;
      Specified by:
      hasStatus in interface LinkInfoOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public String getStatus()
      optional string status = 7;
      Specified by:
      getStatus in interface LinkInfoOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
      optional string status = 7;
      Specified by:
      getStatusBytes in interface LinkInfoOrBuilder
      Returns:
      The bytes for status.
    • hasDataInCount

      public boolean hasDataInCount()
       Counter of inbound (received) data.
       The unit of this is specific to each link.
       
      optional int64 dataInCount = 10;
      Specified by:
      hasDataInCount in interface LinkInfoOrBuilder
      Returns:
      Whether the dataInCount field is set.
    • getDataInCount

      public long getDataInCount()
       Counter of inbound (received) data.
       The unit of this is specific to each link.
       
      optional int64 dataInCount = 10;
      Specified by:
      getDataInCount in interface LinkInfoOrBuilder
      Returns:
      The dataInCount.
    • hasDataOutCount

      public boolean hasDataOutCount()
       Counter of outbound (transmitted) data.
       The unit of this is specific to each link.
       
      optional int64 dataOutCount = 11;
      Specified by:
      hasDataOutCount in interface LinkInfoOrBuilder
      Returns:
      Whether the dataOutCount field is set.
    • getDataOutCount

      public long getDataOutCount()
       Counter of outbound (transmitted) data.
       The unit of this is specific to each link.
       
      optional int64 dataOutCount = 11;
      Specified by:
      getDataOutCount in interface LinkInfoOrBuilder
      Returns:
      The dataOutCount.
    • hasDetailedStatus

      public boolean hasDetailedStatus()
       Short status information
       
      optional string detailedStatus = 9;
      Specified by:
      hasDetailedStatus in interface LinkInfoOrBuilder
      Returns:
      Whether the detailedStatus field is set.
    • getDetailedStatus

      public String getDetailedStatus()
       Short status information
       
      optional string detailedStatus = 9;
      Specified by:
      getDetailedStatus in interface LinkInfoOrBuilder
      Returns:
      The detailedStatus.
    • getDetailedStatusBytes

      public com.google.protobuf.ByteString getDetailedStatusBytes()
       Short status information
       
      optional string detailedStatus = 9;
      Specified by:
      getDetailedStatusBytes in interface LinkInfoOrBuilder
      Returns:
      The bytes for detailedStatus.
    • hasParentName

      public boolean hasParentName()
      if this is a sublink of an aggregated data link, this is the name of the parent
       
      optional string parentName = 12;
      Specified by:
      hasParentName in interface LinkInfoOrBuilder
      Returns:
      Whether the parentName field is set.
    • getParentName

      public String getParentName()
      if this is a sublink of an aggregated data link, this is the name of the parent
       
      optional string parentName = 12;
      Specified by:
      getParentName in interface LinkInfoOrBuilder
      Returns:
      The parentName.
    • getParentNameBytes

      public com.google.protobuf.ByteString getParentNameBytes()
      if this is a sublink of an aggregated data link, this is the name of the parent
       
      optional string parentName = 12;
      Specified by:
      getParentNameBytes in interface LinkInfoOrBuilder
      Returns:
      The bytes for parentName.
    • getActionsList

      public List<ActionInfo> getActionsList()
       Custom actions
       
      repeated .yamcs.protobuf.actions.ActionInfo actions = 13;
      Specified by:
      getActionsList in interface LinkInfoOrBuilder
    • getActionsOrBuilderList

      public List<? extends ActionInfoOrBuilder> getActionsOrBuilderList()
       Custom actions
       
      repeated .yamcs.protobuf.actions.ActionInfo actions = 13;
      Specified by:
      getActionsOrBuilderList in interface LinkInfoOrBuilder
    • getActionsCount

      public int getActionsCount()
       Custom actions
       
      repeated .yamcs.protobuf.actions.ActionInfo actions = 13;
      Specified by:
      getActionsCount in interface LinkInfoOrBuilder
    • getActions

      public ActionInfo getActions(int index)
       Custom actions
       
      repeated .yamcs.protobuf.actions.ActionInfo actions = 13;
      Specified by:
      getActions in interface LinkInfoOrBuilder
    • getActionsOrBuilder

      public ActionInfoOrBuilder getActionsOrBuilder(int index)
       Custom actions
       
      repeated .yamcs.protobuf.actions.ActionInfo actions = 13;
      Specified by:
      getActionsOrBuilder in interface LinkInfoOrBuilder
    • hasExtra

      public boolean hasExtra()
       Custom info fields
       
      optional .google.protobuf.Struct extra = 14;
      Specified by:
      hasExtra in interface LinkInfoOrBuilder
      Returns:
      Whether the extra field is set.
    • getExtra

      public com.google.protobuf.Struct getExtra()
       Custom info fields
       
      optional .google.protobuf.Struct extra = 14;
      Specified by:
      getExtra in interface LinkInfoOrBuilder
      Returns:
      The extra.
    • getExtraOrBuilder

      public com.google.protobuf.StructOrBuilder getExtraOrBuilder()
       Custom info fields
       
      optional .google.protobuf.Struct extra = 14;
      Specified by:
      getExtraOrBuilder in interface LinkInfoOrBuilder
    • getParametersList

      public com.google.protobuf.ProtocolStringList getParametersList()
       System parameters generated by this link
       
      repeated string parameters = 15;
      Specified by:
      getParametersList in interface LinkInfoOrBuilder
      Returns:
      A list containing the parameters.
    • getParametersCount

      public int getParametersCount()
       System parameters generated by this link
       
      repeated string parameters = 15;
      Specified by:
      getParametersCount in interface LinkInfoOrBuilder
      Returns:
      The count of parameters.
    • getParameters

      public String getParameters(int index)
       System parameters generated by this link
       
      repeated string parameters = 15;
      Specified by:
      getParameters in interface LinkInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The parameters at the given index.
    • getParametersBytes

      public com.google.protobuf.ByteString getParametersBytes(int index)
       System parameters generated by this link
       
      repeated string parameters = 15;
      Specified by:
      getParametersBytes in interface LinkInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the parameters at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static LinkInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LinkInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LinkInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LinkInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LinkInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LinkInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LinkInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public LinkInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static LinkInfo.Builder newBuilder()
    • newBuilder

      public static LinkInfo.Builder newBuilder(LinkInfo prototype)
    • toBuilder

      public LinkInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected LinkInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static LinkInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LinkInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<LinkInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public LinkInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder