Class ActivityDefinitionInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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, 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, 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, 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, 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, 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, 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
    • hasComment

      public boolean hasComment()
       Optional comment
       
      optional string comment = 3;
      Specified by:
      hasComment in interface ActivityDefinitionInfoOrBuilder
      Returns:
      Whether the comment field is set.
    • getComment

      public String getComment()
       Optional comment
       
      optional string comment = 3;
      Specified by:
      getComment in interface ActivityDefinitionInfoOrBuilder
      Returns:
      The comment.
    • getCommentBytes

      public com.google.protobuf.ByteString getCommentBytes()
       Optional comment
       
      optional string comment = 3;
      Specified by:
      getCommentBytes in interface ActivityDefinitionInfoOrBuilder
      Returns:
      The bytes for comment.
    • setComment

      public ActivityDefinitionInfo.Builder setComment(String value)
       Optional comment
       
      optional string comment = 3;
      Parameters:
      value - The comment to set.
      Returns:
      This builder for chaining.
    • clearComment

      public ActivityDefinitionInfo.Builder clearComment()
       Optional comment
       
      optional string comment = 3;
      Returns:
      This builder for chaining.
    • setCommentBytes

      public ActivityDefinitionInfo.Builder setCommentBytes(com.google.protobuf.ByteString value)
       Optional comment
       
      optional string comment = 3;
      Parameters:
      value - The bytes for comment 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>