Package org.yamcs.protobuf.activities
Class ActivityDefinitionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
org.yamcs.protobuf.activities.ActivityDefinitionInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ActivityDefinitionInfoOrBuilder
- Enclosing class:
- ActivityDefinitionInfo
public static final class ActivityDefinitionInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
implements ActivityDefinitionInfoOrBuilder
Protobuf type
yamcs.protobuf.activities.ActivityDefinitionInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Activity arguments.Human-readable description of the essence of this activity.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional label.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Activity type.clone()com.google.protobuf.StructgetArgs()Activity arguments.com.google.protobuf.Struct.BuilderActivity arguments.com.google.protobuf.StructOrBuilderActivity arguments.Human-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.getType()Activity type.com.google.protobuf.ByteStringActivity type.booleanhasArgs()Activity arguments.booleanHuman-readable description of the essence of this activity.booleanhasLabel()Optional label.booleanhasType()Activity type.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeArgs(com.google.protobuf.Struct value) Activity arguments.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ActivityDefinitionInfo other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setArgs(com.google.protobuf.Struct value) Activity arguments.setArgs(com.google.protobuf.Struct.Builder builderForValue) Activity arguments.setDescription(String value) Human-readable description of the essence of this activity.setDescriptionBytes(com.google.protobuf.ByteString value) Human-readable description of the essence of this activity.Optional label.setLabelBytes(com.google.protobuf.ByteString value) Optional label.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Activity type.setTypeBytes(com.google.protobuf.ByteString value) Activity type.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ActivityDefinitionInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-
setField
public ActivityDefinitionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-
clearField
public ActivityDefinitionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-
clearOneof
public ActivityDefinitionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-
setRepeatedField
public ActivityDefinitionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-
addRepeatedField
public ActivityDefinitionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ActivityDefinitionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-
mergeFrom
public ActivityDefinitionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ActivityDefinitionInfo.Builder>- Throws:
IOException
-
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.
-
setType
Activity type. Common types: MANUAL, SCRIPT, COMMAND, STACK
optional string type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Activity type. Common types: MANUAL, SCRIPT, COMMAND, STACK
optional string type = 1;- Returns:
- This builder for chaining.
-
setTypeBytes
Activity type. Common types: MANUAL, SCRIPT, COMMAND, STACK
optional string type = 1;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
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.
-
setArgs
Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2; -
setArgs
Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2; -
mergeArgs
Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2; -
clearArgs
Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2; -
getArgsBuilder
public com.google.protobuf.Struct.Builder getArgsBuilder()Activity arguments. The expected arguments are different for each activity type
optional .google.protobuf.Struct args = 2; -
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.
-
setLabel
Optional label. Keep short. Used in Yamcs Timeline charts.
optional string label = 3;- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
Optional label. Keep short. Used in Yamcs Timeline charts.
optional string label = 3;- Returns:
- This builder for chaining.
-
setLabelBytes
Optional label. Keep short. Used in Yamcs Timeline charts.
optional string label = 3;- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-
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.
-
setDescription
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;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
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;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ActivityDefinitionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-
mergeUnknownFields
public final ActivityDefinitionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
-