Class Mdb.ListAlgorithmsResponse.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

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

      public com.google.protobuf.ProtocolStringList getSpaceSystemsList()
      repeated string spaceSystems = 4;
      Specified by:
      getSpaceSystemsList in interface Mdb.ListAlgorithmsResponseOrBuilder
      Returns:
      A list containing the spaceSystems.
    • getSpaceSystemsCount

      public int getSpaceSystemsCount()
      repeated string spaceSystems = 4;
      Specified by:
      getSpaceSystemsCount in interface Mdb.ListAlgorithmsResponseOrBuilder
      Returns:
      The count of spaceSystems.
    • getSpaceSystems

      public String getSpaceSystems(int index)
      repeated string spaceSystems = 4;
      Specified by:
      getSpaceSystems in interface Mdb.ListAlgorithmsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The spaceSystems at the given index.
    • getSpaceSystemsBytes

      public com.google.protobuf.ByteString getSpaceSystemsBytes(int index)
      repeated string spaceSystems = 4;
      Specified by:
      getSpaceSystemsBytes in interface Mdb.ListAlgorithmsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the spaceSystems at the given index.
    • setSpaceSystems

      public Mdb.ListAlgorithmsResponse.Builder setSpaceSystems(int index, String value)
      repeated string spaceSystems = 4;
      Parameters:
      index - The index to set the value at.
      value - The spaceSystems to set.
      Returns:
      This builder for chaining.
    • addSpaceSystems

      public Mdb.ListAlgorithmsResponse.Builder addSpaceSystems(String value)
      repeated string spaceSystems = 4;
      Parameters:
      value - The spaceSystems to add.
      Returns:
      This builder for chaining.
    • addAllSpaceSystems

      public Mdb.ListAlgorithmsResponse.Builder addAllSpaceSystems(Iterable<String> values)
      repeated string spaceSystems = 4;
      Parameters:
      values - The spaceSystems to add.
      Returns:
      This builder for chaining.
    • clearSpaceSystems

      public Mdb.ListAlgorithmsResponse.Builder clearSpaceSystems()
      repeated string spaceSystems = 4;
      Returns:
      This builder for chaining.
    • addSpaceSystemsBytes

      public Mdb.ListAlgorithmsResponse.Builder addSpaceSystemsBytes(com.google.protobuf.ByteString value)
      repeated string spaceSystems = 4;
      Parameters:
      value - The bytes of the spaceSystems to add.
      Returns:
      This builder for chaining.
    • getAlgorithmsList

      public List<Mdb.AlgorithmInfo> getAlgorithmsList()
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
      Specified by:
      getAlgorithmsList in interface Mdb.ListAlgorithmsResponseOrBuilder
    • getAlgorithmsCount

      public int getAlgorithmsCount()
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
      Specified by:
      getAlgorithmsCount in interface Mdb.ListAlgorithmsResponseOrBuilder
    • getAlgorithms

      public Mdb.AlgorithmInfo getAlgorithms(int index)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
      Specified by:
      getAlgorithms in interface Mdb.ListAlgorithmsResponseOrBuilder
    • setAlgorithms

      public Mdb.ListAlgorithmsResponse.Builder setAlgorithms(int index, Mdb.AlgorithmInfo value)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • setAlgorithms

      public Mdb.ListAlgorithmsResponse.Builder setAlgorithms(int index, Mdb.AlgorithmInfo.Builder builderForValue)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • addAlgorithms

      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • addAlgorithms

      public Mdb.ListAlgorithmsResponse.Builder addAlgorithms(int index, Mdb.AlgorithmInfo value)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • addAlgorithms

      public Mdb.ListAlgorithmsResponse.Builder addAlgorithms(Mdb.AlgorithmInfo.Builder builderForValue)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • addAlgorithms

      public Mdb.ListAlgorithmsResponse.Builder addAlgorithms(int index, Mdb.AlgorithmInfo.Builder builderForValue)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • addAllAlgorithms

      public Mdb.ListAlgorithmsResponse.Builder addAllAlgorithms(Iterable<? extends Mdb.AlgorithmInfo> values)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • clearAlgorithms

      public Mdb.ListAlgorithmsResponse.Builder clearAlgorithms()
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • removeAlgorithms

      public Mdb.ListAlgorithmsResponse.Builder removeAlgorithms(int index)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • getAlgorithmsBuilder

      public Mdb.AlgorithmInfo.Builder getAlgorithmsBuilder(int index)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • getAlgorithmsOrBuilder

      public Mdb.AlgorithmInfoOrBuilder getAlgorithmsOrBuilder(int index)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
      Specified by:
      getAlgorithmsOrBuilder in interface Mdb.ListAlgorithmsResponseOrBuilder
    • getAlgorithmsOrBuilderList

      public List<? extends Mdb.AlgorithmInfoOrBuilder> getAlgorithmsOrBuilderList()
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
      Specified by:
      getAlgorithmsOrBuilderList in interface Mdb.ListAlgorithmsResponseOrBuilder
    • addAlgorithmsBuilder

      public Mdb.AlgorithmInfo.Builder addAlgorithmsBuilder()
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • addAlgorithmsBuilder

      public Mdb.AlgorithmInfo.Builder addAlgorithmsBuilder(int index)
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • getAlgorithmsBuilderList

      public List<Mdb.AlgorithmInfo.Builder> getAlgorithmsBuilderList()
      repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1;
    • hasContinuationToken

      public boolean hasContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      hasContinuationToken in interface Mdb.ListAlgorithmsResponseOrBuilder
      Returns:
      Whether the continuationToken field is set.
    • getContinuationToken

      public String getContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      getContinuationToken in interface Mdb.ListAlgorithmsResponseOrBuilder
      Returns:
      The continuationToken.
    • getContinuationTokenBytes

      public com.google.protobuf.ByteString getContinuationTokenBytes()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      getContinuationTokenBytes in interface Mdb.ListAlgorithmsResponseOrBuilder
      Returns:
      The bytes for continuationToken.
    • setContinuationToken

      public Mdb.ListAlgorithmsResponse.Builder setContinuationToken(String value)
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Parameters:
      value - The continuationToken to set.
      Returns:
      This builder for chaining.
    • clearContinuationToken

      public Mdb.ListAlgorithmsResponse.Builder clearContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Returns:
      This builder for chaining.
    • setContinuationTokenBytes

      public Mdb.ListAlgorithmsResponse.Builder setContinuationTokenBytes(com.google.protobuf.ByteString value)
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Parameters:
      value - The bytes for continuationToken to set.
      Returns:
      This builder for chaining.
    • hasTotalSize

      public boolean hasTotalSize()
       The total number of results (across all pages)
       
      optional int32 totalSize = 3;
      Specified by:
      hasTotalSize in interface Mdb.ListAlgorithmsResponseOrBuilder
      Returns:
      Whether the totalSize field is set.
    • getTotalSize

      public int getTotalSize()
       The total number of results (across all pages)
       
      optional int32 totalSize = 3;
      Specified by:
      getTotalSize in interface Mdb.ListAlgorithmsResponseOrBuilder
      Returns:
      The totalSize.
    • setTotalSize

      public Mdb.ListAlgorithmsResponse.Builder setTotalSize(int value)
       The total number of results (across all pages)
       
      optional int32 totalSize = 3;
      Parameters:
      value - The totalSize to set.
      Returns:
      This builder for chaining.
    • clearTotalSize

      public Mdb.ListAlgorithmsResponse.Builder clearTotalSize()
       The total number of results (across all pages)
       
      optional int32 totalSize = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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