Package org.yamcs.protobuf.actions
Class ActionInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.actions.ActionInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ActionInfoOrBuilder
public final class ActionInfo
extends com.google.protobuf.GeneratedMessageV3
implements ActionInfoOrBuilder
Protobuf type
yamcs.protobuf.actions.ActionInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.actions.ActionInfoNested 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 com.google.protobuf.Parser<ActionInfo>Deprecated.static 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 TypeMethodDescriptionbooleanbooleanWhether this action is currently checkedstatic ActionInfostatic final com.google.protobuf.Descriptors.DescriptorbooleanWhether this action is currently enabledgetId()Action identifiercom.google.protobuf.ByteStringAction identifiergetLabel()Label describing an actioncom.google.protobuf.ByteStringLabel describing an actioncom.google.protobuf.Parser<ActionInfo>intgetSpec()Specification of action options (if any)Specification of action options (if any)getStyle()Action style, one of ``PUSH_BUTTON`` or ``CHECK_BOX``com.google.protobuf.ByteStringAction style, one of ``PUSH_BUTTON`` or ``CHECK_BOX``final com.google.protobuf.UnknownFieldSetbooleanWhether this action is currently checkedbooleanWhether this action is currently enabledinthashCode()booleanhasId()Action identifierbooleanhasLabel()Label describing an actionbooleanhasSpec()Specification of action options (if any)booleanhasStyle()Action style, one of ``PUSH_BUTTON`` or ``CHECK_BOX``protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ActionInfo.Builderstatic ActionInfo.BuildernewBuilder(ActionInfo prototype) protected ActionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ActionInfoparseDelimitedFrom(InputStream input) static ActionInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionInfoparseFrom(byte[] data) static ActionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionInfoparseFrom(com.google.protobuf.ByteString data) static ActionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionInfoparseFrom(com.google.protobuf.CodedInputStream input) static ActionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionInfoparseFrom(InputStream input) static ActionInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionInfoparseFrom(ByteBuffer data) static ActionInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ActionInfo>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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER- See Also:
-
STYLE_FIELD_NUMBER
public static final int STYLE_FIELD_NUMBER- See Also:
-
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER- See Also:
-
CHECKED_FIELD_NUMBER
public static final int CHECKED_FIELD_NUMBER- See Also:
-
SPEC_FIELD_NUMBER
public static final int SPEC_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
-
hasId
public boolean hasId()Action identifier
optional string id = 1;- Specified by:
hasIdin interfaceActionInfoOrBuilder- Returns:
- Whether the id field is set.
-
getId
Action identifier
optional string id = 1;- Specified by:
getIdin interfaceActionInfoOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Action identifier
optional string id = 1;- Specified by:
getIdBytesin interfaceActionInfoOrBuilder- Returns:
- The bytes for id.
-
hasLabel
public boolean hasLabel()Label describing an action
optional string label = 2;- Specified by:
hasLabelin interfaceActionInfoOrBuilder- Returns:
- Whether the label field is set.
-
getLabel
Label describing an action
optional string label = 2;- Specified by:
getLabelin interfaceActionInfoOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Label describing an action
optional string label = 2;- Specified by:
getLabelBytesin interfaceActionInfoOrBuilder- Returns:
- The bytes for label.
-
hasStyle
public boolean hasStyle()Action style, one of ``PUSH_BUTTON`` or ``CHECK_BOX``
optional string style = 3;- Specified by:
hasStylein interfaceActionInfoOrBuilder- Returns:
- Whether the style field is set.
-
getStyle
Action style, one of ``PUSH_BUTTON`` or ``CHECK_BOX``
optional string style = 3;- Specified by:
getStylein interfaceActionInfoOrBuilder- Returns:
- The style.
-
getStyleBytes
public com.google.protobuf.ByteString getStyleBytes()Action style, one of ``PUSH_BUTTON`` or ``CHECK_BOX``
optional string style = 3;- Specified by:
getStyleBytesin interfaceActionInfoOrBuilder- Returns:
- The bytes for style.
-
hasEnabled
public boolean hasEnabled()Whether this action is currently enabled
optional bool enabled = 4;- Specified by:
hasEnabledin interfaceActionInfoOrBuilder- Returns:
- Whether the enabled field is set.
-
getEnabled
public boolean getEnabled()Whether this action is currently enabled
optional bool enabled = 4;- Specified by:
getEnabledin interfaceActionInfoOrBuilder- Returns:
- The enabled.
-
hasChecked
public boolean hasChecked()Whether this action is currently checked
optional bool checked = 5;- Specified by:
hasCheckedin interfaceActionInfoOrBuilder- Returns:
- Whether the checked field is set.
-
getChecked
public boolean getChecked()Whether this action is currently checked
optional bool checked = 5;- Specified by:
getCheckedin interfaceActionInfoOrBuilder- Returns:
- The checked.
-
hasSpec
public boolean hasSpec()Specification of action options (if any)
optional .yamcs.protobuf.config.SpecInfo spec = 6;- Specified by:
hasSpecin interfaceActionInfoOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
Specification of action options (if any)
optional .yamcs.protobuf.config.SpecInfo spec = 6;- Specified by:
getSpecin interfaceActionInfoOrBuilder- Returns:
- The spec.
-
getSpecOrBuilder
Specification of action options (if any)
optional .yamcs.protobuf.config.SpecInfo spec = 6;- Specified by:
getSpecOrBuilderin interfaceActionInfoOrBuilder
-
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 ActionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActionInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ActionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ActionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ActionInfo 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 ActionInfo.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
-