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
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.links.LinkInfoNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<LinkInfo>Deprecated.static final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetActions(int index) Custom actionsintCustom actionsCustom actionsgetActionsOrBuilder(int index) Custom actionsList<? extends ActionInfoOrBuilder>Custom actionslongCounter of inbound (received) data.longCounter of outbound (transmitted) data.static LinkInfostatic final com.google.protobuf.Descriptors.DescriptorShort status informationcom.google.protobuf.ByteStringShort status informationbooleanWhether this link is currently disabled.com.google.protobuf.StructgetExtra()Custom info fieldscom.google.protobuf.StructOrBuilderCustom info fieldsYamcs instance namecom.google.protobuf.ByteStringYamcs instance namegetName()Link namecom.google.protobuf.ByteStringLink namegetParameters(int index) System parameters generated by this linkcom.google.protobuf.ByteStringgetParametersBytes(int index) System parameters generated by this linkintSystem parameters generated by this linkcom.google.protobuf.ProtocolStringListSystem parameters generated by this linkif this is a sublink of an aggregated data link, this is the name of the parentcom.google.protobuf.ByteStringif this is a sublink of an aggregated data link, this is the name of the parentcom.google.protobuf.Parser<LinkInfo>intgetSpec()Configurationcom.google.protobuf.ByteStringConfigurationoptional string status = 7;com.google.protobuf.ByteStringoptional string status = 7;getType()Java class namecom.google.protobuf.ByteStringJava class namefinal com.google.protobuf.UnknownFieldSetbooleanCounter of inbound (received) data.booleanCounter of outbound (transmitted) data.booleanShort status informationbooleanWhether this link is currently disabled.booleanhasExtra()Custom info fieldsinthashCode()booleanYamcs instance namebooleanhasName()Link namebooleanif this is a sublink of an aggregated data link, this is the name of the parentbooleanhasSpec()Configurationbooleanoptional string status = 7;booleanhasType()Java class nameprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic LinkInfo.Builderstatic LinkInfo.BuildernewBuilder(LinkInfo prototype) protected LinkInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static LinkInfoparseDelimitedFrom(InputStream input) static LinkInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkInfoparseFrom(byte[] data) static LinkInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkInfoparseFrom(com.google.protobuf.ByteString data) static LinkInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkInfoparseFrom(com.google.protobuf.CodedInputStream input) static LinkInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkInfoparseFrom(InputStream input) static LinkInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkInfoparseFrom(ByteBuffer data) static LinkInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LinkInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceLinkInfoOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceLinkInfoOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for instance.
-
hasName
public boolean hasName()Link name
optional string name = 2;- Specified by:
hasNamein interfaceLinkInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
Link name
optional string name = 2;- Specified by:
getNamein interfaceLinkInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Link name
optional string name = 2;- Specified by:
getNameBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for name.
-
hasType
public boolean hasType()Java class name
optional string type = 3;- Specified by:
hasTypein interfaceLinkInfoOrBuilder- Returns:
- Whether the type field is set.
-
getType
Java class name
optional string type = 3;- Specified by:
getTypein interfaceLinkInfoOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Java class name
optional string type = 3;- Specified by:
getTypeBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for type.
-
hasSpec
public boolean hasSpec()Configuration
optional string spec = 4;- Specified by:
hasSpecin interfaceLinkInfoOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
Configuration
optional string spec = 4;- Specified by:
getSpecin interfaceLinkInfoOrBuilder- Returns:
- The spec.
-
getSpecBytes
public com.google.protobuf.ByteString getSpecBytes()Configuration
optional string spec = 4;- Specified by:
getSpecBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for spec.
-
hasDisabled
public boolean hasDisabled()Whether this link is currently disabled.
optional bool disabled = 6;- Specified by:
hasDisabledin interfaceLinkInfoOrBuilder- Returns:
- Whether the disabled field is set.
-
getDisabled
public boolean getDisabled()Whether this link is currently disabled.
optional bool disabled = 6;- Specified by:
getDisabledin interfaceLinkInfoOrBuilder- Returns:
- The disabled.
-
hasStatus
public boolean hasStatus()optional string status = 7;- Specified by:
hasStatusin interfaceLinkInfoOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
optional string status = 7;- Specified by:
getStatusin interfaceLinkInfoOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()optional string status = 7;- Specified by:
getStatusBytesin 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:
hasDataInCountin 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:
getDataInCountin 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:
hasDataOutCountin 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:
getDataOutCountin interfaceLinkInfoOrBuilder- Returns:
- The dataOutCount.
-
hasDetailedStatus
public boolean hasDetailedStatus()Short status information
optional string detailedStatus = 9;- Specified by:
hasDetailedStatusin interfaceLinkInfoOrBuilder- Returns:
- Whether the detailedStatus field is set.
-
getDetailedStatus
Short status information
optional string detailedStatus = 9;- Specified by:
getDetailedStatusin interfaceLinkInfoOrBuilder- Returns:
- The detailedStatus.
-
getDetailedStatusBytes
public com.google.protobuf.ByteString getDetailedStatusBytes()Short status information
optional string detailedStatus = 9;- Specified by:
getDetailedStatusBytesin 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:
hasParentNamein 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:
getParentNamein 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:
getParentNameBytesin interfaceLinkInfoOrBuilder- Returns:
- The bytes for parentName.
-
getActionsList
Custom actions
repeated .yamcs.protobuf.actions.ActionInfo actions = 13;- Specified by:
getActionsListin interfaceLinkInfoOrBuilder
-
getActionsOrBuilderList
Custom actions
repeated .yamcs.protobuf.actions.ActionInfo actions = 13;- Specified by:
getActionsOrBuilderListin interfaceLinkInfoOrBuilder
-
getActionsCount
public int getActionsCount()Custom actions
repeated .yamcs.protobuf.actions.ActionInfo actions = 13;- Specified by:
getActionsCountin interfaceLinkInfoOrBuilder
-
getActions
Custom actions
repeated .yamcs.protobuf.actions.ActionInfo actions = 13;- Specified by:
getActionsin interfaceLinkInfoOrBuilder
-
getActionsOrBuilder
Custom actions
repeated .yamcs.protobuf.actions.ActionInfo actions = 13;- Specified by:
getActionsOrBuilderin interfaceLinkInfoOrBuilder
-
hasExtra
public boolean hasExtra()Custom info fields
optional .google.protobuf.Struct extra = 14;- Specified by:
hasExtrain 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:
getExtrain interfaceLinkInfoOrBuilder- Returns:
- The extra.
-
getExtraOrBuilder
public com.google.protobuf.StructOrBuilder getExtraOrBuilder()Custom info fields
optional .google.protobuf.Struct extra = 14;- Specified by:
getExtraOrBuilderin interfaceLinkInfoOrBuilder
-
getParametersList
public com.google.protobuf.ProtocolStringList getParametersList()System parameters generated by this link
repeated string parameters = 15;- Specified by:
getParametersListin interfaceLinkInfoOrBuilder- Returns:
- A list containing the parameters.
-
getParametersCount
public int getParametersCount()System parameters generated by this link
repeated string parameters = 15;- Specified by:
getParametersCountin interfaceLinkInfoOrBuilder- Returns:
- The count of parameters.
-
getParameters
System parameters generated by this link
repeated string parameters = 15;- Specified by:
getParametersin 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:
getParametersBytesin 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:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LinkInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-