java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.yamcs.protobuf.activities.ActivityDefinitionInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ActivityDefinitionInfoOrBuilder
@Generated
public final class ActivityDefinitionInfo
extends com.google.protobuf.GeneratedMessage
implements ActivityDefinitionInfoOrBuilder
Protobuf type
yamcs.protobuf.activities.ActivityDefinitionInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.activities.ActivityDefinitionInfoNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested 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 intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.StructgetArgs()Activity arguments.com.google.protobuf.StructOrBuilderActivity arguments.static ActivityDefinitionInfoHuman-readable description of the essence of this activity.com.google.protobuf.ByteStringHuman-readable description of the essence of this activity.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLabel()Optional label.com.google.protobuf.ByteStringOptional label.com.google.protobuf.Parser<ActivityDefinitionInfo> intgetType()Activity type.com.google.protobuf.ByteStringActivity type.booleanhasArgs()Activity arguments.booleanHuman-readable description of the essence of this activity.inthashCode()booleanhasLabel()Optional label.booleanhasType()Activity type.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ActivityDefinitionInfo prototype) protected ActivityDefinitionInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ActivityDefinitionInfoparseDelimitedFrom(InputStream input) static ActivityDefinitionInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityDefinitionInfoparseFrom(byte[] data) static ActivityDefinitionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityDefinitionInfoparseFrom(com.google.protobuf.ByteString data) static ActivityDefinitionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityDefinitionInfoparseFrom(com.google.protobuf.CodedInputStream input) static ActivityDefinitionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityDefinitionInfoparseFrom(InputStream input) static ActivityDefinitionInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityDefinitionInfoparseFrom(ByteBuffer data) static ActivityDefinitionInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ActivityDefinitionInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
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, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
ARGS_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER- See Also:
-
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasType
public boolean hasType()Activity type. Common types: MANUAL, SCRIPT, COMMAND, STACK
optional string type = 1;- Specified by:
hasTypein interfaceActivityDefinitionInfoOrBuilder- Returns:
- Whether the type field is set.
-
getType
Activity type. Common types: MANUAL, SCRIPT, COMMAND, STACK
optional string type = 1;- Specified by:
getTypein interfaceActivityDefinitionInfoOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Activity type. Common types: MANUAL, SCRIPT, COMMAND, STACK
optional string type = 1;- Specified by:
getTypeBytesin interfaceActivityDefinitionInfoOrBuilder- Returns:
- The bytes for type.
-
hasArgs
public boolean hasArgs()Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2;- Specified by:
hasArgsin interfaceActivityDefinitionInfoOrBuilder- Returns:
- Whether the args field is set.
-
getArgs
public com.google.protobuf.Struct getArgs()Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2;- Specified by:
getArgsin interfaceActivityDefinitionInfoOrBuilder- Returns:
- The args.
-
getArgsOrBuilder
public com.google.protobuf.StructOrBuilder getArgsOrBuilder()Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2;- Specified by:
getArgsOrBuilderin interfaceActivityDefinitionInfoOrBuilder
-
hasLabel
public boolean hasLabel()Optional label. Keep short. Used in Yamcs Timeline charts.
optional string label = 3;- Specified by:
hasLabelin interfaceActivityDefinitionInfoOrBuilder- Returns:
- Whether the label field is set.
-
getLabel
Optional label. Keep short. Used in Yamcs Timeline charts.
optional string label = 3;- Specified by:
getLabelin interfaceActivityDefinitionInfoOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Optional label. Keep short. Used in Yamcs Timeline charts.
optional string label = 3;- Specified by:
getLabelBytesin interfaceActivityDefinitionInfoOrBuilder- Returns:
- The bytes for label.
-
hasDescription
public boolean hasDescription()Human-readable description of the essence of this activity. For example, for a script this would be the name of the script. This is an output field only.
optional string description = 4;- Specified by:
hasDescriptionin interfaceActivityDefinitionInfoOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Human-readable description of the essence of this activity. For example, for a script this would be the name of the script. This is an output field only.
optional string description = 4;- Specified by:
getDescriptionin interfaceActivityDefinitionInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Human-readable description of the essence of this activity. For example, for a script this would be the name of the script. This is an output field only.
optional string description = 4;- Specified by:
getDescriptionBytesin interfaceActivityDefinitionInfoOrBuilder- Returns:
- The bytes for description.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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 ActivityDefinitionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityDefinitionInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityDefinitionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityDefinitionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityDefinitionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityDefinitionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ActivityDefinitionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ActivityDefinitionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ActivityDefinitionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ActivityDefinitionInfo 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 ActivityDefinitionInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-