Class Mdb.ListCommandsRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public Mdb.ListCommandsRequest.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.ListCommandsRequest.Builder clearInstance()
       Yamcs instance name.
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public Mdb.ListCommandsRequest.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.ListCommandsRequestOrBuilder
      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.ListCommandsRequestOrBuilder
      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.ListCommandsRequestOrBuilder
      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.ListCommandsRequest.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 commands of the specified system.
       For example when querying the system "/a" against an MDB with commands
       "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       command "/a/c".
       When ``system`` and ``q`` are used together, matching commands at any
       depth are returned, starting from the specified space system.
       
      optional string system = 11;
      Specified by:
      hasSystem in interface Mdb.ListCommandsRequestOrBuilder
      Returns:
      Whether the system field is set.
    • getSystem

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

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

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

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

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

      public boolean hasDetails()
      optional bool details = 4;
      Specified by:
      hasDetails in interface Mdb.ListCommandsRequestOrBuilder
      Returns:
      Whether the details field is set.
    • getDetails

      public boolean getDetails()
      optional bool details = 4;
      Specified by:
      getDetails in interface Mdb.ListCommandsRequestOrBuilder
      Returns:
      The details.
    • setDetails

      public Mdb.ListCommandsRequest.Builder setDetails(boolean value)
      optional bool details = 4;
      Parameters:
      value - The details to set.
      Returns:
      This builder for chaining.
    • clearDetails

      public Mdb.ListCommandsRequest.Builder clearDetails()
      optional bool details = 4;
      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.ListCommandsRequestOrBuilder
      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.ListCommandsRequestOrBuilder
      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.ListCommandsRequestOrBuilder
      Returns:
      The bytes for next.
    • setNext

      public Mdb.ListCommandsRequest.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

      public Mdb.ListCommandsRequest.Builder clearNext()
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Returns:
      This builder for chaining.
    • setNextBytes

      public Mdb.ListCommandsRequest.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.ListCommandsRequestOrBuilder
      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.ListCommandsRequestOrBuilder
      Returns:
      The pos.
    • setPos

      public Mdb.ListCommandsRequest.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 commands 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.ListCommandsRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

      public int getLimit()
       The maximum number of returned commands 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.ListCommandsRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public Mdb.ListCommandsRequest.Builder setLimit(int value)
       The maximum number of returned commands 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.ListCommandsRequest.Builder clearLimit()
       The maximum number of returned commands 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.
    • hasNoAbstract

      public boolean hasNoAbstract()
       Exclude abstract commands
       
      optional bool noAbstract = 10;
      Specified by:
      hasNoAbstract in interface Mdb.ListCommandsRequestOrBuilder
      Returns:
      Whether the noAbstract field is set.
    • getNoAbstract

      public boolean getNoAbstract()
       Exclude abstract commands
       
      optional bool noAbstract = 10;
      Specified by:
      getNoAbstract in interface Mdb.ListCommandsRequestOrBuilder
      Returns:
      The noAbstract.
    • setNoAbstract

      public Mdb.ListCommandsRequest.Builder setNoAbstract(boolean value)
       Exclude abstract commands
       
      optional bool noAbstract = 10;
      Parameters:
      value - The noAbstract to set.
      Returns:
      This builder for chaining.
    • clearNoAbstract

      public Mdb.ListCommandsRequest.Builder clearNoAbstract()
       Exclude abstract commands
       
      optional bool noAbstract = 10;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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