Package org.yamcs.protobuf.links
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
Modifier and TypeClassDescriptionstatic final class
Protobuf typeyamcs.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
Modifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptionboolean
getActions
(int index) Custom actionsint
Custom actionsCustom actionsgetActionsOrBuilder
(int index) Custom actionsList<? extends ActionInfoOrBuilder>
Custom actionslong
Counter of inbound (received) data.long
Counter of outbound (transmitted) data.static LinkInfo
static final com.google.protobuf.Descriptors.Descriptor
Short status informationcom.google.protobuf.ByteString
Short status informationboolean
Whether this link is currently disabled.com.google.protobuf.Struct
getExtra()
Custom info fieldscom.google.protobuf.StructOrBuilder
Custom info fieldsYamcs instance namecom.google.protobuf.ByteString
Yamcs instance namegetName()
Link namecom.google.protobuf.ByteString
Link namegetParameters
(int index) System parameters generated by this linkcom.google.protobuf.ByteString
getParametersBytes
(int index) System parameters generated by this linkint
System parameters generated by this linkcom.google.protobuf.ProtocolStringList
System parameters generated by this linkif this is a sublink of an aggregated data link, this is the name of the parentcom.google.protobuf.ByteString
if this is a sublink of an aggregated data link, this is the name of the parentcom.google.protobuf.Parser<LinkInfo>
int
getSpec()
Configurationcom.google.protobuf.ByteString
Configurationoptional string status = 7;
com.google.protobuf.ByteString
optional string status = 7;
getType()
Java class namecom.google.protobuf.ByteString
Java class namefinal com.google.protobuf.UnknownFieldSet
boolean
Counter of inbound (received) data.boolean
Counter of outbound (transmitted) data.boolean
Short status informationboolean
Whether this link is currently disabled.boolean
hasExtra()
Custom info fieldsint
hashCode()
boolean
Yamcs instance nameboolean
hasName()
Link nameboolean
if this is a sublink of an aggregated data link, this is the name of the parentboolean
hasSpec()
Configurationboolean
optional string status = 7;
boolean
hasType()
Java class nameprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static LinkInfo.Builder
static LinkInfo.Builder
newBuilder
(LinkInfo prototype) protected LinkInfo.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static LinkInfo
parseDelimitedFrom
(InputStream input) 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
parseFrom
(InputStream input) static LinkInfo
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkInfo
parseFrom
(ByteBuffer data) static LinkInfo
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LinkInfo>
parser()
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
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
SPEC_FIELD_NUMBER
public static final int SPEC_FIELD_NUMBER- See Also:
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
DATAINCOUNT_FIELD_NUMBER
public static final int DATAINCOUNT_FIELD_NUMBER- See Also:
-
DATAOUTCOUNT_FIELD_NUMBER
public static final int DATAOUTCOUNT_FIELD_NUMBER- See Also:
-
DETAILEDSTATUS_FIELD_NUMBER
public static final int DETAILEDSTATUS_FIELD_NUMBER- See Also:
-
PARENTNAME_FIELD_NUMBER
public static final int PARENTNAME_FIELD_NUMBER- See Also:
-
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER- See Also:
-
EXTRA_FIELD_NUMBER
public static final int EXTRA_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;
- Specified by:
hasInstance
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;
- Specified by:
getInstance
in interfaceLinkInfoOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceLinkInfoOrBuilder
- Returns:
- The bytes for instance.
-
hasName
public boolean hasName()Link name
optional string name = 2;
- Specified by:
hasName
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Link name
optional string name = 2;
- Specified by:
getName
in interfaceLinkInfoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Link name
optional string name = 2;
- Specified by:
getNameBytes
in interfaceLinkInfoOrBuilder
- Returns:
- The bytes for name.
-
hasType
public boolean hasType()Java class name
optional string type = 3;
- Specified by:
hasType
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the type field is set.
-
getType
Java class name
optional string type = 3;
- Specified by:
getType
in interfaceLinkInfoOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Java class name
optional string type = 3;
- Specified by:
getTypeBytes
in interfaceLinkInfoOrBuilder
- Returns:
- The bytes for type.
-
hasSpec
public boolean hasSpec()Configuration
optional string spec = 4;
- Specified by:
hasSpec
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the spec field is set.
-
getSpec
Configuration
optional string spec = 4;
- Specified by:
getSpec
in interfaceLinkInfoOrBuilder
- Returns:
- The spec.
-
getSpecBytes
public com.google.protobuf.ByteString getSpecBytes()Configuration
optional string spec = 4;
- Specified by:
getSpecBytes
in interfaceLinkInfoOrBuilder
- Returns:
- The bytes for spec.
-
hasDisabled
public boolean hasDisabled()Whether this link is currently disabled.
optional bool disabled = 6;
- Specified by:
hasDisabled
in interfaceLinkInfoOrBuilder
- 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 interfaceLinkInfoOrBuilder
- Returns:
- The disabled.
-
hasStatus
public boolean hasStatus()optional string status = 7;
- Specified by:
hasStatus
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
optional string status = 7;
- Specified by:
getStatus
in interfaceLinkInfoOrBuilder
- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()optional string status = 7;
- Specified by:
getStatusBytes
in interfaceLinkInfoOrBuilder
- 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 interfaceLinkInfoOrBuilder
- 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 interfaceLinkInfoOrBuilder
- 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 interfaceLinkInfoOrBuilder
- 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 interfaceLinkInfoOrBuilder
- Returns:
- The dataOutCount.
-
hasDetailedStatus
public boolean hasDetailedStatus()Short status information
optional string detailedStatus = 9;
- Specified by:
hasDetailedStatus
in interfaceLinkInfoOrBuilder
- Returns:
- Whether the detailedStatus field is set.
-
getDetailedStatus
Short status information
optional string detailedStatus = 9;
- Specified by:
getDetailedStatus
in interfaceLinkInfoOrBuilder
- Returns:
- The detailedStatus.
-
getDetailedStatusBytes
public com.google.protobuf.ByteString getDetailedStatusBytes()Short status information
optional string detailedStatus = 9;
- Specified by:
getDetailedStatusBytes
in interfaceLinkInfoOrBuilder
- 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 interfaceLinkInfoOrBuilder
- Returns:
- Whether the parentName field is set.
-
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 interfaceLinkInfoOrBuilder
- 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 interfaceLinkInfoOrBuilder
- Returns:
- The bytes for parentName.
-
getActionsList
Custom actions
repeated .yamcs.protobuf.actions.ActionInfo actions = 13;
- Specified by:
getActionsList
in interfaceLinkInfoOrBuilder
-
getActionsOrBuilderList
Custom actions
repeated .yamcs.protobuf.actions.ActionInfo actions = 13;
- Specified by:
getActionsOrBuilderList
in interfaceLinkInfoOrBuilder
-
getActionsCount
public int getActionsCount()Custom actions
repeated .yamcs.protobuf.actions.ActionInfo actions = 13;
- Specified by:
getActionsCount
in interfaceLinkInfoOrBuilder
-
getActions
Custom actions
repeated .yamcs.protobuf.actions.ActionInfo actions = 13;
- Specified by:
getActions
in interfaceLinkInfoOrBuilder
-
getActionsOrBuilder
Custom actions
repeated .yamcs.protobuf.actions.ActionInfo actions = 13;
- Specified by:
getActionsOrBuilder
in interfaceLinkInfoOrBuilder
-
hasExtra
public boolean hasExtra()Custom info fields
optional .google.protobuf.Struct extra = 14;
- Specified by:
hasExtra
in interfaceLinkInfoOrBuilder
- 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 interfaceLinkInfoOrBuilder
- Returns:
- The extra.
-
getExtraOrBuilder
public com.google.protobuf.StructOrBuilder getExtraOrBuilder()Custom info fields
optional .google.protobuf.Struct extra = 14;
- Specified by:
getExtraOrBuilder
in interfaceLinkInfoOrBuilder
-
getParametersList
public com.google.protobuf.ProtocolStringList getParametersList()System parameters generated by this link
repeated string parameters = 15;
- Specified by:
getParametersList
in interfaceLinkInfoOrBuilder
- Returns:
- A list containing the parameters.
-
getParametersCount
public int getParametersCount()System parameters generated by this link
repeated string parameters = 15;
- Specified by:
getParametersCount
in interfaceLinkInfoOrBuilder
- Returns:
- The count of parameters.
-
getParameters
System parameters generated by this link
repeated string parameters = 15;
- Specified by:
getParameters
in interfaceLinkInfoOrBuilder
- 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 interfaceLinkInfoOrBuilder
- 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 interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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
- Throws:
IOException
-
parseFrom
public static LinkInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LinkInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LinkInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LinkInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-