Class CreateProcessorRequest.Builder

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

public static final class CreateProcessorRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder> implements CreateProcessorRequestOrBuilder
 Request message for `CreateProcessor`.
 
Protobuf type yamcs.protobuf.processing.CreateProcessorRequest
  • 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<CreateProcessorRequest.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<CreateProcessorRequest.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<CreateProcessorRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

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

      public String getInstance()
       **Required.** The name of the Yamcs instance.
       
      optional string instance = 1;
      Specified by:
      getInstance in interface CreateProcessorRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

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

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

      public CreateProcessorRequest.Builder clearInstance()
       **Required.** The name of the Yamcs instance.
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

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

      public boolean hasName()
       **Required.** The name of the processor. Must be unique for the Yamcs instance.
       
      optional string name = 2;
      Specified by:
      hasName in interface CreateProcessorRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       **Required.** The name of the processor. Must be unique for the Yamcs instance.
       
      optional string name = 2;
      Specified by:
      getName in interface CreateProcessorRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       **Required.** The name of the processor. Must be unique for the Yamcs instance.
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface CreateProcessorRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public CreateProcessorRequest.Builder setName(String value)
       **Required.** The name of the processor. Must be unique for the Yamcs instance.
       
      optional string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public CreateProcessorRequest.Builder clearName()
       **Required.** The name of the processor. Must be unique for the Yamcs instance.
       
      optional string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public CreateProcessorRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       **Required.** The name of the processor. Must be unique for the Yamcs instance.
       
      optional string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasPersistent

      public boolean hasPersistent()
       Keep the processor when terminated. Default: ``no``.
       
      optional bool persistent = 4;
      Specified by:
      hasPersistent in interface CreateProcessorRequestOrBuilder
      Returns:
      Whether the persistent field is set.
    • getPersistent

      public boolean getPersistent()
       Keep the processor when terminated. Default: ``no``.
       
      optional bool persistent = 4;
      Specified by:
      getPersistent in interface CreateProcessorRequestOrBuilder
      Returns:
      The persistent.
    • setPersistent

      public CreateProcessorRequest.Builder setPersistent(boolean value)
       Keep the processor when terminated. Default: ``no``.
       
      optional bool persistent = 4;
      Parameters:
      value - The persistent to set.
      Returns:
      This builder for chaining.
    • clearPersistent

      public CreateProcessorRequest.Builder clearPersistent()
       Keep the processor when terminated. Default: ``no``.
       
      optional bool persistent = 4;
      Returns:
      This builder for chaining.
    • hasType

      public boolean hasType()
       **Required.** The type of the processor. The available values depend on how
       Yamcs Server is configured. Most Yamcs deployments support at least a type
       ``Archive`` which allows for the creation of processors replaying archived
       data.
       
      optional string type = 5;
      Specified by:
      hasType in interface CreateProcessorRequestOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       **Required.** The type of the processor. The available values depend on how
       Yamcs Server is configured. Most Yamcs deployments support at least a type
       ``Archive`` which allows for the creation of processors replaying archived
       data.
       
      optional string type = 5;
      Specified by:
      getType in interface CreateProcessorRequestOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       **Required.** The type of the processor. The available values depend on how
       Yamcs Server is configured. Most Yamcs deployments support at least a type
       ``Archive`` which allows for the creation of processors replaying archived
       data.
       
      optional string type = 5;
      Specified by:
      getTypeBytes in interface CreateProcessorRequestOrBuilder
      Returns:
      The bytes for type.
    • setType

      public CreateProcessorRequest.Builder setType(String value)
       **Required.** The type of the processor. The available values depend on how
       Yamcs Server is configured. Most Yamcs deployments support at least a type
       ``Archive`` which allows for the creation of processors replaying archived
       data.
       
      optional string type = 5;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public CreateProcessorRequest.Builder clearType()
       **Required.** The type of the processor. The available values depend on how
       Yamcs Server is configured. Most Yamcs deployments support at least a type
       ``Archive`` which allows for the creation of processors replaying archived
       data.
       
      optional string type = 5;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public CreateProcessorRequest.Builder setTypeBytes(com.google.protobuf.ByteString value)
       **Required.** The type of the processor. The available values depend on how
       Yamcs Server is configured. Most Yamcs deployments support at least a type
       ``Archive`` which allows for the creation of processors replaying archived
       data.
       
      optional string type = 5;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • hasConfig

      public boolean hasConfig()
       Configuration options specific to the processor type. Note that this should
       be a string representation of a valid JSON structure.
       
      optional string config = 6;
      Specified by:
      hasConfig in interface CreateProcessorRequestOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public String getConfig()
       Configuration options specific to the processor type. Note that this should
       be a string representation of a valid JSON structure.
       
      optional string config = 6;
      Specified by:
      getConfig in interface CreateProcessorRequestOrBuilder
      Returns:
      The config.
    • getConfigBytes

      public com.google.protobuf.ByteString getConfigBytes()
       Configuration options specific to the processor type. Note that this should
       be a string representation of a valid JSON structure.
       
      optional string config = 6;
      Specified by:
      getConfigBytes in interface CreateProcessorRequestOrBuilder
      Returns:
      The bytes for config.
    • setConfig

      public CreateProcessorRequest.Builder setConfig(String value)
       Configuration options specific to the processor type. Note that this should
       be a string representation of a valid JSON structure.
       
      optional string config = 6;
      Parameters:
      value - The config to set.
      Returns:
      This builder for chaining.
    • clearConfig

      public CreateProcessorRequest.Builder clearConfig()
       Configuration options specific to the processor type. Note that this should
       be a string representation of a valid JSON structure.
       
      optional string config = 6;
      Returns:
      This builder for chaining.
    • setConfigBytes

      public CreateProcessorRequest.Builder setConfigBytes(com.google.protobuf.ByteString value)
       Configuration options specific to the processor type. Note that this should
       be a string representation of a valid JSON structure.
       
      optional string config = 6;
      Parameters:
      value - The bytes for config to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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