Module org.yamcs.api
Package org.yamcs.protobuf.activities
Interface ActivityDefinitionInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityDefinitionInfo,ActivityDefinitionInfo.Builder
public interface ActivityDefinitionInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructgetArgs()Activity arguments.com.google.protobuf.StructOrBuilderActivity arguments.Optional commentcom.google.protobuf.ByteStringOptional commentgetType()Activity type.com.google.protobuf.ByteStringActivity type.booleanhasArgs()Activity arguments.booleanOptional commentbooleanhasType()Activity type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasType
boolean hasType()Activity type. Common types: MANUAL, SCRIPT, COMMAND, COMMAND_STACK
optional string type = 1;- Returns:
- Whether the type field is set.
-
getType
String getType()Activity type. Common types: MANUAL, SCRIPT, COMMAND, COMMAND_STACK
optional string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Activity type. Common types: MANUAL, SCRIPT, COMMAND, COMMAND_STACK
optional string type = 1;- Returns:
- The bytes for type.
-
hasArgs
boolean hasArgs()Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2;- Returns:
- Whether the args field is set.
-
getArgs
com.google.protobuf.Struct getArgs()Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2;- Returns:
- The args.
-
getArgsOrBuilder
com.google.protobuf.StructOrBuilder getArgsOrBuilder()Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2; -
hasComment
boolean hasComment()Optional comment
optional string comment = 3;- Returns:
- Whether the comment field is set.
-
getComment
String getComment()Optional comment
optional string comment = 3;- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()Optional comment
optional string comment = 3;- Returns:
- The bytes for comment.
-