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.Struct
getArgs()
Activity arguments.com.google.protobuf.StructOrBuilder
Activity arguments.Optional commentcom.google.protobuf.ByteString
Optional commentgetType()
Activity type.com.google.protobuf.ByteString
Activity type.boolean
hasArgs()
Activity arguments.boolean
Optional commentboolean
hasType()
Activity type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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.
-