Class StartActivityRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StartActivityRequest.Builder>
org.yamcs.protobuf.activities.StartActivityRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, StartActivityRequestOrBuilder
Enclosing class:
StartActivityRequest

public static final class StartActivityRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StartActivityRequest.Builder> implements StartActivityRequestOrBuilder
Protobuf type yamcs.protobuf.activities.StartActivityRequest
  • 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<StartActivityRequest.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<StartActivityRequest.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<StartActivityRequest.Builder>
    • getDefaultInstanceForType

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

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

      public StartActivityRequest 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<StartActivityRequest.Builder>
    • setField

      public StartActivityRequest.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<StartActivityRequest.Builder>
    • clearField

      public StartActivityRequest.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<StartActivityRequest.Builder>
    • clearOneof

      public StartActivityRequest.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<StartActivityRequest.Builder>
    • setRepeatedField

      public StartActivityRequest.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<StartActivityRequest.Builder>
    • addRepeatedField

      public StartActivityRequest.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<StartActivityRequest.Builder>
    • mergeFrom

      public StartActivityRequest.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<StartActivityRequest.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<StartActivityRequest.Builder>
    • mergeFrom

      public StartActivityRequest.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<StartActivityRequest.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface StartActivityRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface StartActivityRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface StartActivityRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public StartActivityRequest.Builder setInstance(String value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public StartActivityRequest.Builder clearInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public StartActivityRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • hasActivityDefinition

      public boolean hasActivityDefinition()
       Activity definition
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 2;
      Specified by:
      hasActivityDefinition in interface StartActivityRequestOrBuilder
      Returns:
      Whether the activityDefinition field is set.
    • getActivityDefinition

      public ActivityDefinitionInfo getActivityDefinition()
       Activity definition
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 2;
      Specified by:
      getActivityDefinition in interface StartActivityRequestOrBuilder
      Returns:
      The activityDefinition.
    • setActivityDefinition

      public StartActivityRequest.Builder setActivityDefinition(ActivityDefinitionInfo value)
       Activity definition
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 2;
    • setActivityDefinition

      public StartActivityRequest.Builder setActivityDefinition(ActivityDefinitionInfo.Builder builderForValue)
       Activity definition
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 2;
    • mergeActivityDefinition

      public StartActivityRequest.Builder mergeActivityDefinition(ActivityDefinitionInfo value)
       Activity definition
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 2;
    • clearActivityDefinition

      public StartActivityRequest.Builder clearActivityDefinition()
       Activity definition
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 2;
    • getActivityDefinitionBuilder

      public ActivityDefinitionInfo.Builder getActivityDefinitionBuilder()
       Activity definition
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 2;
    • getActivityDefinitionOrBuilder

      public ActivityDefinitionInfoOrBuilder getActivityDefinitionOrBuilder()
       Activity definition
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 2;
      Specified by:
      getActivityDefinitionOrBuilder in interface StartActivityRequestOrBuilder
    • setUnknownFields

      public final StartActivityRequest.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<StartActivityRequest.Builder>
    • mergeUnknownFields

      public final StartActivityRequest.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<StartActivityRequest.Builder>