Class Mdb.ListParametersRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public Mdb.ListParametersRequest.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.ListParametersRequestOrBuilder
      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.ListParametersRequestOrBuilder
      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.ListParametersRequestOrBuilder
      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.ListParametersRequest.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.
    • hasSearchMembers

      public boolean hasSearchMembers()
       When used together with ``q``, include also aggregate members (at any depth)
       in the search.
       Note that this method returns only parameters. Members are part of the type definition.
       
      optional bool searchMembers = 12;
      Specified by:
      hasSearchMembers in interface Mdb.ListParametersRequestOrBuilder
      Returns:
      Whether the searchMembers field is set.
    • getSearchMembers

      public boolean getSearchMembers()
       When used together with ``q``, include also aggregate members (at any depth)
       in the search.
       Note that this method returns only parameters. Members are part of the type definition.
       
      optional bool searchMembers = 12;
      Specified by:
      getSearchMembers in interface Mdb.ListParametersRequestOrBuilder
      Returns:
      The searchMembers.
    • setSearchMembers

      public Mdb.ListParametersRequest.Builder setSearchMembers(boolean value)
       When used together with ``q``, include also aggregate members (at any depth)
       in the search.
       Note that this method returns only parameters. Members are part of the type definition.
       
      optional bool searchMembers = 12;
      Parameters:
      value - The searchMembers to set.
      Returns:
      This builder for chaining.
    • clearSearchMembers

      public Mdb.ListParametersRequest.Builder clearSearchMembers()
       When used together with ``q``, include also aggregate members (at any depth)
       in the search.
       Note that this method returns only parameters. Members are part of the type definition.
       
      optional bool searchMembers = 12;
      Returns:
      This builder for chaining.
    • hasDetails

      public boolean hasDetails()
       Include details on each returned parameter (this includes long
       descriptions, aliases, and detailed type information).
       If unset, only summary information is returned.
       
      optional bool details = 4;
      Specified by:
      hasDetails in interface Mdb.ListParametersRequestOrBuilder
      Returns:
      Whether the details field is set.
    • getDetails

      public boolean getDetails()
       Include details on each returned parameter (this includes long
       descriptions, aliases, and detailed type information).
       If unset, only summary information is returned.
       
      optional bool details = 4;
      Specified by:
      getDetails in interface Mdb.ListParametersRequestOrBuilder
      Returns:
      The details.
    • setDetails

      public Mdb.ListParametersRequest.Builder setDetails(boolean value)
       Include details on each returned parameter (this includes long
       descriptions, aliases, and detailed type information).
       If unset, only summary information is returned.
       
      optional bool details = 4;
      Parameters:
      value - The details to set.
      Returns:
      This builder for chaining.
    • clearDetails

      public Mdb.ListParametersRequest.Builder clearDetails()
       Include details on each returned parameter (this includes long
       descriptions, aliases, and detailed type information).
       If unset, only summary information is returned.
       
      optional bool details = 4;
      Returns:
      This builder for chaining.
    • getTypeList

      public com.google.protobuf.ProtocolStringList getTypeList()
       The parameter types to be included in the result. Valid types are ``boolean``,
       ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       If unspecified, parameters of all types will be included.
       
      repeated string type = 5;
      Specified by:
      getTypeList in interface Mdb.ListParametersRequestOrBuilder
      Returns:
      A list containing the type.
    • getTypeCount

      public int getTypeCount()
       The parameter types to be included in the result. Valid types are ``boolean``,
       ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       If unspecified, parameters of all types will be included.
       
      repeated string type = 5;
      Specified by:
      getTypeCount in interface Mdb.ListParametersRequestOrBuilder
      Returns:
      The count of type.
    • getType

      public String getType(int index)
       The parameter types to be included in the result. Valid types are ``boolean``,
       ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       If unspecified, parameters of all types will be included.
       
      repeated string type = 5;
      Specified by:
      getType in interface Mdb.ListParametersRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The type at the given index.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes(int index)
       The parameter types to be included in the result. Valid types are ``boolean``,
       ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       If unspecified, parameters of all types will be included.
       
      repeated string type = 5;
      Specified by:
      getTypeBytes in interface Mdb.ListParametersRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the type at the given index.
    • setType

      public Mdb.ListParametersRequest.Builder setType(int index, String value)
       The parameter types to be included in the result. Valid types are ``boolean``,
       ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       If unspecified, parameters of all types will be included.
       
      repeated string type = 5;
      Parameters:
      index - The index to set the value at.
      value - The type to set.
      Returns:
      This builder for chaining.
    • addType

      public Mdb.ListParametersRequest.Builder addType(String value)
       The parameter types to be included in the result. Valid types are ``boolean``,
       ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       If unspecified, parameters of all types will be included.
       
      repeated string type = 5;
      Parameters:
      value - The type to add.
      Returns:
      This builder for chaining.
    • addAllType

      public Mdb.ListParametersRequest.Builder addAllType(Iterable<String> values)
       The parameter types to be included in the result. Valid types are ``boolean``,
       ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       If unspecified, parameters of all types will be included.
       
      repeated string type = 5;
      Parameters:
      values - The type to add.
      Returns:
      This builder for chaining.
    • clearType

       The parameter types to be included in the result. Valid types are ``boolean``,
       ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       If unspecified, parameters of all types will be included.
       
      repeated string type = 5;
      Returns:
      This builder for chaining.
    • addTypeBytes

      public Mdb.ListParametersRequest.Builder addTypeBytes(com.google.protobuf.ByteString value)
       The parameter types to be included in the result. Valid types are ``boolean``,
       ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       If unspecified, parameters of all types will be included.
       
      repeated string type = 5;
      Parameters:
      value - The bytes of the type to add.
      Returns:
      This builder for chaining.
    • hasSource

      public boolean hasSource()
       Include only parameters of the specified source.
       
      optional .yamcs.protobuf.mdb.DataSourceType source = 10;
      Specified by:
      hasSource in interface Mdb.ListParametersRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public Mdb.DataSourceType getSource()
       Include only parameters of the specified source.
       
      optional .yamcs.protobuf.mdb.DataSourceType source = 10;
      Specified by:
      getSource in interface Mdb.ListParametersRequestOrBuilder
      Returns:
      The source.
    • setSource

       Include only parameters of the specified source.
       
      optional .yamcs.protobuf.mdb.DataSourceType source = 10;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public Mdb.ListParametersRequest.Builder clearSource()
       Include only parameters of the specified source.
       
      optional .yamcs.protobuf.mdb.DataSourceType source = 10;
      Returns:
      This builder for chaining.
    • hasSystem

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

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

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

      public Mdb.ListParametersRequest.Builder setSystem(String value)
       List only direct child sub-systems or parameters of the specified system.
       For example when querying the system "/a" against an MDB with parameters
       "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       parameter "/a/c".
       When ``system`` and ``q`` are used together, matching parameters 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.ListParametersRequest.Builder clearSystem()
       List only direct child sub-systems or parameters of the specified system.
       For example when querying the system "/a" against an MDB with parameters
       "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       parameter "/a/c".
       When ``system`` and ``q`` are used together, matching parameters at any
       depth are returned, starting from the specified space system.
       
      optional string system = 11;
      Returns:
      This builder for chaining.
    • setSystemBytes

      public Mdb.ListParametersRequest.Builder setSystemBytes(com.google.protobuf.ByteString value)
       List only direct child sub-systems or parameters of the specified system.
       For example when querying the system "/a" against an MDB with parameters
       "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       parameter "/a/c".
       When ``system`` and ``q`` are used together, matching parameters 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.
    • hasNext

      public boolean hasNext()
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Specified by:
      hasNext in interface Mdb.ListParametersRequestOrBuilder
      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.ListParametersRequestOrBuilder
      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.ListParametersRequestOrBuilder
      Returns:
      The bytes for next.
    • setNext

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

      public Mdb.ListParametersRequest.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 parameters 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.ListParametersRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

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

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

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

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