Class Mdb.ListAlgorithmsRequest.Builder

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

public static final class Mdb.ListAlgorithmsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListAlgorithmsRequest.Builder> implements Mdb.ListAlgorithmsRequestOrBuilder
Protobuf type yamcs.protobuf.mdb.ListAlgorithmsRequest
  • 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<Mdb.ListAlgorithmsRequest.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<Mdb.ListAlgorithmsRequest.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<Mdb.ListAlgorithmsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public Mdb.ListAlgorithmsRequest.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.
    • hasQ

      public boolean hasQ()
       The search keywords. This supports searching on qualified name or alias.
       
      optional string q = 2;
      Specified by:
      hasQ in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      Whether the q field is set.
    • getQ

      public String getQ()
       The search keywords. This supports searching on qualified name or alias.
       
      optional string q = 2;
      Specified by:
      getQ in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      The q.
    • getQBytes

      public com.google.protobuf.ByteString getQBytes()
       The search keywords. This supports searching on qualified name or alias.
       
      optional string q = 2;
      Specified by:
      getQBytes in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      The bytes for q.
    • setQ

       The search keywords. This supports searching on qualified name or alias.
       
      optional string q = 2;
      Parameters:
      value - The q to set.
      Returns:
      This builder for chaining.
    • clearQ

       The search keywords. This supports searching on qualified name or alias.
       
      optional string q = 2;
      Returns:
      This builder for chaining.
    • setQBytes

      public Mdb.ListAlgorithmsRequest.Builder setQBytes(com.google.protobuf.ByteString value)
       The search keywords. This supports searching on qualified name or alias.
       
      optional string q = 2;
      Parameters:
      value - The bytes for q to set.
      Returns:
      This builder for chaining.
    • hasSystem

      public boolean hasSystem()
       List only direct child sub-systems or algorithms of the specified system.
       For example when querying the system "/a" against an MDB with algorithms
       "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       algorithm "/a/c".
       When ``system`` and ``q`` are used together, matching algorithms at any
       depth are returned, starting from the specified space system.
       
      optional string system = 10;
      Specified by:
      hasSystem in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      Whether the system field is set.
    • getSystem

      public String getSystem()
       List only direct child sub-systems or algorithms of the specified system.
       For example when querying the system "/a" against an MDB with algorithms
       "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       algorithm "/a/c".
       When ``system`` and ``q`` are used together, matching algorithms at any
       depth are returned, starting from the specified space system.
       
      optional string system = 10;
      Specified by:
      getSystem in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      The system.
    • getSystemBytes

      public com.google.protobuf.ByteString getSystemBytes()
       List only direct child sub-systems or algorithms of the specified system.
       For example when querying the system "/a" against an MDB with algorithms
       "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       algorithm "/a/c".
       When ``system`` and ``q`` are used together, matching algorithms at any
       depth are returned, starting from the specified space system.
       
      optional string system = 10;
      Specified by:
      getSystemBytes in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      The bytes for system.
    • setSystem

      public Mdb.ListAlgorithmsRequest.Builder setSystem(String value)
       List only direct child sub-systems or algorithms of the specified system.
       For example when querying the system "/a" against an MDB with algorithms
       "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       algorithm "/a/c".
       When ``system`` and ``q`` are used together, matching algorithms at any
       depth are returned, starting from the specified space system.
       
      optional string system = 10;
      Parameters:
      value - The system to set.
      Returns:
      This builder for chaining.
    • clearSystem

      public Mdb.ListAlgorithmsRequest.Builder clearSystem()
       List only direct child sub-systems or algorithms of the specified system.
       For example when querying the system "/a" against an MDB with algorithms
       "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       algorithm "/a/c".
       When ``system`` and ``q`` are used together, matching algorithms at any
       depth are returned, starting from the specified space system.
       
      optional string system = 10;
      Returns:
      This builder for chaining.
    • setSystemBytes

      public Mdb.ListAlgorithmsRequest.Builder setSystemBytes(com.google.protobuf.ByteString value)
       List only direct child sub-systems or algorithms of the specified system.
       For example when querying the system "/a" against an MDB with algorithms
       "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       algorithm "/a/c".
       When ``system`` and ``q`` are used together, matching algorithms at any
       depth are returned, starting from the specified space system.
       
      optional string system = 10;
      Parameters:
      value - The bytes for system to set.
      Returns:
      This builder for chaining.
    • hasNext

      public boolean hasNext()
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Specified by:
      hasNext in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      Whether the next field is set.
    • getNext

      public String getNext()
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Specified by:
      getNext in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      The next.
    • getNextBytes

      public com.google.protobuf.ByteString getNextBytes()
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Specified by:
      getNextBytes in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      The bytes for next.
    • setNext

      public Mdb.ListAlgorithmsRequest.Builder setNext(String value)
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Parameters:
      value - The next to set.
      Returns:
      This builder for chaining.
    • clearNext

       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Returns:
      This builder for chaining.
    • setNextBytes

      public Mdb.ListAlgorithmsRequest.Builder setNextBytes(com.google.protobuf.ByteString value)
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Parameters:
      value - The bytes for next to set.
      Returns:
      This builder for chaining.
    • hasPos

      public boolean hasPos()
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int32 pos = 8;
      Specified by:
      hasPos in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      Whether the pos field is set.
    • getPos

      public int getPos()
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int32 pos = 8;
      Specified by:
      getPos in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      The pos.
    • setPos

      public Mdb.ListAlgorithmsRequest.Builder setPos(int value)
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int32 pos = 8;
      Parameters:
      value - The pos to set.
      Returns:
      This builder for chaining.
    • clearPos

       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int32 pos = 8;
      Returns:
      This builder for chaining.
    • hasLimit

      public boolean hasLimit()
       The maximum number of returned algorithms per page. Choose this value too
       high and you risk hitting the maximum response size limit enforced by
       the server. Default: ``100``
       
      optional int32 limit = 9;
      Specified by:
      hasLimit in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

      public int getLimit()
       The maximum number of returned algorithms per page. Choose this value too
       high and you risk hitting the maximum response size limit enforced by
       the server. Default: ``100``
       
      optional int32 limit = 9;
      Specified by:
      getLimit in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public Mdb.ListAlgorithmsRequest.Builder setLimit(int value)
       The maximum number of returned algorithms per page. Choose this value too
       high and you risk hitting the maximum response size limit enforced by
       the server. Default: ``100``
       
      optional int32 limit = 9;
      Parameters:
      value - The limit to set.
      Returns:
      This builder for chaining.
    • clearLimit

      public Mdb.ListAlgorithmsRequest.Builder clearLimit()
       The maximum number of returned algorithms per page. Choose this value too
       high and you risk hitting the maximum response size limit enforced by
       the server. Default: ``100``
       
      optional int32 limit = 9;
      Returns:
      This builder for chaining.
    • hasScope

      public boolean hasScope()
       Include only algorithms of the specified scope
       
      optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11;
      Specified by:
      hasScope in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      Whether the scope field is set.
    • getScope

      public Mdb.AlgorithmInfo.Scope getScope()
       Include only algorithms of the specified scope
       
      optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11;
      Specified by:
      getScope in interface Mdb.ListAlgorithmsRequestOrBuilder
      Returns:
      The scope.
    • setScope

       Include only algorithms of the specified scope
       
      optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11;
      Parameters:
      value - The scope to set.
      Returns:
      This builder for chaining.
    • clearScope

      public Mdb.ListAlgorithmsRequest.Builder clearScope()
       Include only algorithms of the specified scope
       
      optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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