Class WorkerKind.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WorkerKind.Builder>
io.deephaven.proto.controller.WorkerKind.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkerKindOrBuilder, Cloneable
Enclosing class:
WorkerKind

public static final class WorkerKind.Builder extends com.google.protobuf.GeneratedMessage.Builder<WorkerKind.Builder> implements WorkerKindOrBuilder
 A WorkerKind is displayed as an "Engine" in the UI, and defines either the Legacy worker or version of Core+ with
 associated configuration (e.g., extra packages; properties, etc.).
 
Protobuf type io.deephaven.proto.controller.WorkerKind
  • Method Details

    • getDescriptor

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

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

      public WorkerKind.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.GeneratedMessage.Builder<WorkerKind.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.GeneratedMessage.Builder<WorkerKind.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public WorkerKind.Builder mergeFrom(WorkerKind other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<WorkerKind.Builder>
    • mergeFrom

      public WorkerKind.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<WorkerKind.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The name of the worker kind used in persistent query configurations
       
      string name = 1;
      Specified by:
      getName in interface WorkerKindOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the worker kind used in persistent query configurations
       
      string name = 1;
      Specified by:
      getNameBytes in interface WorkerKindOrBuilder
      Returns:
      The bytes for name.
    • setName

      public WorkerKind.Builder setName(String value)
       The name of the worker kind used in persistent query configurations
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public WorkerKind.Builder clearName()
       The name of the worker kind used in persistent query configurations
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public WorkerKind.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the worker kind used in persistent query configurations
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
      string description = 2;
      Specified by:
      getDescription in interface WorkerKindOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      string description = 2;
      Specified by:
      getDescriptionBytes in interface WorkerKindOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public WorkerKind.Builder setDescription(String value)
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public WorkerKind.Builder clearDescription()
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public WorkerKind.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getTitle

      public String getTitle()
       The title used for drop-down selections in the UI
       
      string title = 3;
      Specified by:
      getTitle in interface WorkerKindOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       The title used for drop-down selections in the UI
       
      string title = 3;
      Specified by:
      getTitleBytes in interface WorkerKindOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public WorkerKind.Builder setTitle(String value)
       The title used for drop-down selections in the UI
       
      string title = 3;
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public WorkerKind.Builder clearTitle()
       The title used for drop-down selections in the UI
       
      string title = 3;
      Returns:
      This builder for chaining.
    • setTitleBytes

      public WorkerKind.Builder setTitleBytes(com.google.protobuf.ByteString value)
       The title used for drop-down selections in the UI
       
      string title = 3;
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • getWorkerControlTypesList

      public com.google.protobuf.ProtocolStringList getWorkerControlTypesList()
       What kind of worker control types are supported by this worker kind (e.g., local process or kubernetes)
       
      repeated string worker_control_types = 4;
      Specified by:
      getWorkerControlTypesList in interface WorkerKindOrBuilder
      Returns:
      A list containing the workerControlTypes.
    • getWorkerControlTypesCount

      public int getWorkerControlTypesCount()
       What kind of worker control types are supported by this worker kind (e.g., local process or kubernetes)
       
      repeated string worker_control_types = 4;
      Specified by:
      getWorkerControlTypesCount in interface WorkerKindOrBuilder
      Returns:
      The count of workerControlTypes.
    • getWorkerControlTypes

      public String getWorkerControlTypes(int index)
       What kind of worker control types are supported by this worker kind (e.g., local process or kubernetes)
       
      repeated string worker_control_types = 4;
      Specified by:
      getWorkerControlTypes in interface WorkerKindOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The workerControlTypes at the given index.
    • getWorkerControlTypesBytes

      public com.google.protobuf.ByteString getWorkerControlTypesBytes(int index)
       What kind of worker control types are supported by this worker kind (e.g., local process or kubernetes)
       
      repeated string worker_control_types = 4;
      Specified by:
      getWorkerControlTypesBytes in interface WorkerKindOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the workerControlTypes at the given index.
    • setWorkerControlTypes

      public WorkerKind.Builder setWorkerControlTypes(int index, String value)
       What kind of worker control types are supported by this worker kind (e.g., local process or kubernetes)
       
      repeated string worker_control_types = 4;
      Parameters:
      index - The index to set the value at.
      value - The workerControlTypes to set.
      Returns:
      This builder for chaining.
    • addWorkerControlTypes

      public WorkerKind.Builder addWorkerControlTypes(String value)
       What kind of worker control types are supported by this worker kind (e.g., local process or kubernetes)
       
      repeated string worker_control_types = 4;
      Parameters:
      value - The workerControlTypes to add.
      Returns:
      This builder for chaining.
    • addAllWorkerControlTypes

      public WorkerKind.Builder addAllWorkerControlTypes(Iterable<String> values)
       What kind of worker control types are supported by this worker kind (e.g., local process or kubernetes)
       
      repeated string worker_control_types = 4;
      Parameters:
      values - The workerControlTypes to add.
      Returns:
      This builder for chaining.
    • clearWorkerControlTypes

      public WorkerKind.Builder clearWorkerControlTypes()
       What kind of worker control types are supported by this worker kind (e.g., local process or kubernetes)
       
      repeated string worker_control_types = 4;
      Returns:
      This builder for chaining.
    • addWorkerControlTypesBytes

      public WorkerKind.Builder addWorkerControlTypesBytes(com.google.protobuf.ByteString value)
       What kind of worker control types are supported by this worker kind (e.g., local process or kubernetes)
       
      repeated string worker_control_types = 4;
      Parameters:
      value - The bytes of the workerControlTypes to add.
      Returns:
      This builder for chaining.
    • getImplementedProtocolsList

      public List<WorkerProtocol> getImplementedProtocolsList()
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Specified by:
      getImplementedProtocolsList in interface WorkerKindOrBuilder
      Returns:
      A list containing the implementedProtocols.
    • getImplementedProtocolsCount

      public int getImplementedProtocolsCount()
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Specified by:
      getImplementedProtocolsCount in interface WorkerKindOrBuilder
      Returns:
      The count of implementedProtocols.
    • getImplementedProtocols

      public WorkerProtocol getImplementedProtocols(int index)
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Specified by:
      getImplementedProtocols in interface WorkerKindOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The implementedProtocols at the given index.
    • setImplementedProtocols

      public WorkerKind.Builder setImplementedProtocols(int index, WorkerProtocol value)
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Parameters:
      index - The index to set the value at.
      value - The implementedProtocols to set.
      Returns:
      This builder for chaining.
    • addImplementedProtocols

      public WorkerKind.Builder addImplementedProtocols(WorkerProtocol value)
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Parameters:
      value - The implementedProtocols to add.
      Returns:
      This builder for chaining.
    • addAllImplementedProtocols

      public WorkerKind.Builder addAllImplementedProtocols(Iterable<? extends WorkerProtocol> values)
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Parameters:
      values - The implementedProtocols to add.
      Returns:
      This builder for chaining.
    • clearImplementedProtocols

      public WorkerKind.Builder clearImplementedProtocols()
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Returns:
      This builder for chaining.
    • getImplementedProtocolsValueList

      public List<Integer> getImplementedProtocolsValueList()
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Specified by:
      getImplementedProtocolsValueList in interface WorkerKindOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for implementedProtocols.
    • getImplementedProtocolsValue

      public int getImplementedProtocolsValue(int index)
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Specified by:
      getImplementedProtocolsValue in interface WorkerKindOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of implementedProtocols at the given index.
    • setImplementedProtocolsValue

      public WorkerKind.Builder setImplementedProtocolsValue(int index, int value)
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for implementedProtocols to set.
      Returns:
      This builder for chaining.
    • addImplementedProtocolsValue

      public WorkerKind.Builder addImplementedProtocolsValue(int value)
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Parameters:
      value - The enum numeric value on the wire for implementedProtocols to add.
      Returns:
      This builder for chaining.
    • addAllImplementedProtocolsValue

      public WorkerKind.Builder addAllImplementedProtocolsValue(Iterable<Integer> values)
       The protocols implemented by this worker kind
       
      repeated .io.deephaven.proto.controller.WorkerProtocol implemented_protocols = 5;
      Parameters:
      values - The enum numeric values on the wire for implementedProtocols to add.
      Returns:
      This builder for chaining.
    • getEphemeralVenvDefault

      public boolean getEphemeralVenvDefault()
       Should this worker kind create an ephemeral Python virtual environment by default.
       
      bool ephemeral_venv_default = 6;
      Specified by:
      getEphemeralVenvDefault in interface WorkerKindOrBuilder
      Returns:
      The ephemeralVenvDefault.
    • setEphemeralVenvDefault

      public WorkerKind.Builder setEphemeralVenvDefault(boolean value)
       Should this worker kind create an ephemeral Python virtual environment by default.
       
      bool ephemeral_venv_default = 6;
      Parameters:
      value - The ephemeralVenvDefault to set.
      Returns:
      This builder for chaining.
    • clearEphemeralVenvDefault

      public WorkerKind.Builder clearEphemeralVenvDefault()
       Should this worker kind create an ephemeral Python virtual environment by default.
       
      bool ephemeral_venv_default = 6;
      Returns:
      This builder for chaining.