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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
    • getDefaultInstanceForType

      public ActivityDefinitionInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ActivityDefinitionInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ActivityDefinitionInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
    • setField

      public ActivityDefinitionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
    • clearField

      public ActivityDefinitionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
    • clearOneof

      public ActivityDefinitionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
    • setRepeatedField

      public ActivityDefinitionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
    • addRepeatedField

      public ActivityDefinitionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
    • mergeFrom

      public ActivityDefinitionInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ActivityDefinitionInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasType in interface ActivityDefinitionInfoOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       Activity type.
       Common types: MANUAL, SCRIPT, COMMAND, STACK
       
      optional string type = 1;
      Specified by:
      getType in interface ActivityDefinitionInfoOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Activity type.
       Common types: MANUAL, SCRIPT, COMMAND, STACK
       
      optional string type = 1;
      Specified by:
      getTypeBytes in interface ActivityDefinitionInfoOrBuilder
      Returns:
      The bytes for type.
    • setType

      public ActivityDefinitionInfo.Builder setType(String value)
       Activity type.
       Common types: MANUAL, SCRIPT, COMMAND, STACK
       
      optional string type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public ActivityDefinitionInfo.Builder clearType()
       Activity type.
       Common types: MANUAL, SCRIPT, COMMAND, STACK
       
      optional string type = 1;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public ActivityDefinitionInfo.Builder setTypeBytes(com.google.protobuf.ByteString value)
       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:
      hasArgs in interface ActivityDefinitionInfoOrBuilder
      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:
      getArgs in interface ActivityDefinitionInfoOrBuilder
      Returns:
      The args.
    • setArgs

      public ActivityDefinitionInfo.Builder setArgs(com.google.protobuf.Struct value)
       Activity arguments. The expected arguments
       are different for each activity type
       
      optional .google.protobuf.Struct args = 2;
    • setArgs

      public ActivityDefinitionInfo.Builder setArgs(com.google.protobuf.Struct.Builder builderForValue)
       Activity arguments. The expected arguments
       are different for each activity type
       
      optional .google.protobuf.Struct args = 2;
    • mergeArgs

      public ActivityDefinitionInfo.Builder mergeArgs(com.google.protobuf.Struct value)
       Activity arguments. The expected arguments
       are different for each activity type
       
      optional .google.protobuf.Struct args = 2;
    • clearArgs

      public ActivityDefinitionInfo.Builder 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:
      getArgsOrBuilder in interface ActivityDefinitionInfoOrBuilder
    • hasLabel

      public boolean hasLabel()
       Optional label.
       Keep short. Used in Yamcs Timeline charts.
       
      optional string label = 3;
      Specified by:
      hasLabel in interface ActivityDefinitionInfoOrBuilder
      Returns:
      Whether the label field is set.
    • getLabel

      public String getLabel()
       Optional label.
       Keep short. Used in Yamcs Timeline charts.
       
      optional string label = 3;
      Specified by:
      getLabel in interface ActivityDefinitionInfoOrBuilder
      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:
      getLabelBytes in interface ActivityDefinitionInfoOrBuilder
      Returns:
      The bytes for label.
    • setLabel

      public ActivityDefinitionInfo.Builder setLabel(String value)
       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

      public ActivityDefinitionInfo.Builder clearLabel()
       Optional label.
       Keep short. Used in Yamcs Timeline charts.
       
      optional string label = 3;
      Returns:
      This builder for chaining.
    • setLabelBytes

      public ActivityDefinitionInfo.Builder setLabelBytes(com.google.protobuf.ByteString value)
       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:
      hasDescription in interface ActivityDefinitionInfoOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String 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:
      getDescription in interface ActivityDefinitionInfoOrBuilder
      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:
      getDescriptionBytes in interface ActivityDefinitionInfoOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ActivityDefinitionInfo.Builder setDescription(String value)
       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

      public ActivityDefinitionInfo.Builder 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

      public ActivityDefinitionInfo.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>
    • mergeUnknownFields

      public final ActivityDefinitionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityDefinitionInfo.Builder>