All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.tinkoff.piapi.contract.v1.GetStrategiesResponse Maven / Gradle / Ivy

There is a newer version: 1.25
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: signals.proto

package ru.tinkoff.piapi.contract.v1;

/**
 * Protobuf type {@code tinkoff.public.invest.api.contract.v1.GetStrategiesResponse}
 */
public final class GetStrategiesResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.GetStrategiesResponse)
    GetStrategiesResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetStrategiesResponse.newBuilder() to construct.
  private GetStrategiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private GetStrategiesResponse() {
    strategies_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new GetStrategiesResponse();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return ru.tinkoff.piapi.contract.v1.Signals.internal_static_tinkoff_public_invest_api_contract_v1_GetStrategiesResponse_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return ru.tinkoff.piapi.contract.v1.Signals.internal_static_tinkoff_public_invest_api_contract_v1_GetStrategiesResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            ru.tinkoff.piapi.contract.v1.GetStrategiesResponse.class, ru.tinkoff.piapi.contract.v1.GetStrategiesResponse.Builder.class);
  }

  public static final int STRATEGIES_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private java.util.List strategies_;
  /**
   * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
   */
  @java.lang.Override
  public java.util.List getStrategiesList() {
    return strategies_;
  }
  /**
   * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
   */
  @java.lang.Override
  public java.util.List 
      getStrategiesOrBuilderList() {
    return strategies_;
  }
  /**
   * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
   */
  @java.lang.Override
  public int getStrategiesCount() {
    return strategies_.size();
  }
  /**
   * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
   */
  @java.lang.Override
  public ru.tinkoff.piapi.contract.v1.Strategy getStrategies(int index) {
    return strategies_.get(index);
  }
  /**
   * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
   */
  @java.lang.Override
  public ru.tinkoff.piapi.contract.v1.StrategyOrBuilder getStrategiesOrBuilder(
      int index) {
    return strategies_.get(index);
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    for (int i = 0; i < strategies_.size(); i++) {
      output.writeMessage(1, strategies_.get(i));
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    for (int i = 0; i < strategies_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, strategies_.get(i));
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof ru.tinkoff.piapi.contract.v1.GetStrategiesResponse)) {
      return super.equals(obj);
    }
    ru.tinkoff.piapi.contract.v1.GetStrategiesResponse other = (ru.tinkoff.piapi.contract.v1.GetStrategiesResponse) obj;

    if (!getStrategiesList()
        .equals(other.getStrategiesList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getStrategiesCount() > 0) {
      hash = (37 * hash) + STRATEGIES_FIELD_NUMBER;
      hash = (53 * hash) + getStrategiesList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(ru.tinkoff.piapi.contract.v1.GetStrategiesResponse prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code tinkoff.public.invest.api.contract.v1.GetStrategiesResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.GetStrategiesResponse)
      ru.tinkoff.piapi.contract.v1.GetStrategiesResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return ru.tinkoff.piapi.contract.v1.Signals.internal_static_tinkoff_public_invest_api_contract_v1_GetStrategiesResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return ru.tinkoff.piapi.contract.v1.Signals.internal_static_tinkoff_public_invest_api_contract_v1_GetStrategiesResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              ru.tinkoff.piapi.contract.v1.GetStrategiesResponse.class, ru.tinkoff.piapi.contract.v1.GetStrategiesResponse.Builder.class);
    }

    // Construct using ru.tinkoff.piapi.contract.v1.GetStrategiesResponse.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      if (strategiesBuilder_ == null) {
        strategies_ = java.util.Collections.emptyList();
      } else {
        strategies_ = null;
        strategiesBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000001);
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return ru.tinkoff.piapi.contract.v1.Signals.internal_static_tinkoff_public_invest_api_contract_v1_GetStrategiesResponse_descriptor;
    }

    @java.lang.Override
    public ru.tinkoff.piapi.contract.v1.GetStrategiesResponse getDefaultInstanceForType() {
      return ru.tinkoff.piapi.contract.v1.GetStrategiesResponse.getDefaultInstance();
    }

    @java.lang.Override
    public ru.tinkoff.piapi.contract.v1.GetStrategiesResponse build() {
      ru.tinkoff.piapi.contract.v1.GetStrategiesResponse result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public ru.tinkoff.piapi.contract.v1.GetStrategiesResponse buildPartial() {
      ru.tinkoff.piapi.contract.v1.GetStrategiesResponse result = new ru.tinkoff.piapi.contract.v1.GetStrategiesResponse(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(ru.tinkoff.piapi.contract.v1.GetStrategiesResponse result) {
      if (strategiesBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          strategies_ = java.util.Collections.unmodifiableList(strategies_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.strategies_ = strategies_;
      } else {
        result.strategies_ = strategiesBuilder_.build();
      }
    }

    private void buildPartial0(ru.tinkoff.piapi.contract.v1.GetStrategiesResponse result) {
      int from_bitField0_ = bitField0_;
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof ru.tinkoff.piapi.contract.v1.GetStrategiesResponse) {
        return mergeFrom((ru.tinkoff.piapi.contract.v1.GetStrategiesResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.GetStrategiesResponse other) {
      if (other == ru.tinkoff.piapi.contract.v1.GetStrategiesResponse.getDefaultInstance()) return this;
      if (strategiesBuilder_ == null) {
        if (!other.strategies_.isEmpty()) {
          if (strategies_.isEmpty()) {
            strategies_ = other.strategies_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureStrategiesIsMutable();
            strategies_.addAll(other.strategies_);
          }
          onChanged();
        }
      } else {
        if (!other.strategies_.isEmpty()) {
          if (strategiesBuilder_.isEmpty()) {
            strategiesBuilder_.dispose();
            strategiesBuilder_ = null;
            strategies_ = other.strategies_;
            bitField0_ = (bitField0_ & ~0x00000001);
            strategiesBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getStrategiesFieldBuilder() : null;
          } else {
            strategiesBuilder_.addAllMessages(other.strategies_);
          }
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              ru.tinkoff.piapi.contract.v1.Strategy m =
                  input.readMessage(
                      ru.tinkoff.piapi.contract.v1.Strategy.parser(),
                      extensionRegistry);
              if (strategiesBuilder_ == null) {
                ensureStrategiesIsMutable();
                strategies_.add(m);
              } else {
                strategiesBuilder_.addMessage(m);
              }
              break;
            } // case 10
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private java.util.List strategies_ =
      java.util.Collections.emptyList();
    private void ensureStrategiesIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        strategies_ = new java.util.ArrayList(strategies_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        ru.tinkoff.piapi.contract.v1.Strategy, ru.tinkoff.piapi.contract.v1.Strategy.Builder, ru.tinkoff.piapi.contract.v1.StrategyOrBuilder> strategiesBuilder_;

    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public java.util.List getStrategiesList() {
      if (strategiesBuilder_ == null) {
        return java.util.Collections.unmodifiableList(strategies_);
      } else {
        return strategiesBuilder_.getMessageList();
      }
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public int getStrategiesCount() {
      if (strategiesBuilder_ == null) {
        return strategies_.size();
      } else {
        return strategiesBuilder_.getCount();
      }
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public ru.tinkoff.piapi.contract.v1.Strategy getStrategies(int index) {
      if (strategiesBuilder_ == null) {
        return strategies_.get(index);
      } else {
        return strategiesBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public Builder setStrategies(
        int index, ru.tinkoff.piapi.contract.v1.Strategy value) {
      if (strategiesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStrategiesIsMutable();
        strategies_.set(index, value);
        onChanged();
      } else {
        strategiesBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public Builder setStrategies(
        int index, ru.tinkoff.piapi.contract.v1.Strategy.Builder builderForValue) {
      if (strategiesBuilder_ == null) {
        ensureStrategiesIsMutable();
        strategies_.set(index, builderForValue.build());
        onChanged();
      } else {
        strategiesBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public Builder addStrategies(ru.tinkoff.piapi.contract.v1.Strategy value) {
      if (strategiesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStrategiesIsMutable();
        strategies_.add(value);
        onChanged();
      } else {
        strategiesBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public Builder addStrategies(
        int index, ru.tinkoff.piapi.contract.v1.Strategy value) {
      if (strategiesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStrategiesIsMutable();
        strategies_.add(index, value);
        onChanged();
      } else {
        strategiesBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public Builder addStrategies(
        ru.tinkoff.piapi.contract.v1.Strategy.Builder builderForValue) {
      if (strategiesBuilder_ == null) {
        ensureStrategiesIsMutable();
        strategies_.add(builderForValue.build());
        onChanged();
      } else {
        strategiesBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public Builder addStrategies(
        int index, ru.tinkoff.piapi.contract.v1.Strategy.Builder builderForValue) {
      if (strategiesBuilder_ == null) {
        ensureStrategiesIsMutable();
        strategies_.add(index, builderForValue.build());
        onChanged();
      } else {
        strategiesBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public Builder addAllStrategies(
        java.lang.Iterable values) {
      if (strategiesBuilder_ == null) {
        ensureStrategiesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, strategies_);
        onChanged();
      } else {
        strategiesBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public Builder clearStrategies() {
      if (strategiesBuilder_ == null) {
        strategies_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        strategiesBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public Builder removeStrategies(int index) {
      if (strategiesBuilder_ == null) {
        ensureStrategiesIsMutable();
        strategies_.remove(index);
        onChanged();
      } else {
        strategiesBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public ru.tinkoff.piapi.contract.v1.Strategy.Builder getStrategiesBuilder(
        int index) {
      return getStrategiesFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public ru.tinkoff.piapi.contract.v1.StrategyOrBuilder getStrategiesOrBuilder(
        int index) {
      if (strategiesBuilder_ == null) {
        return strategies_.get(index);  } else {
        return strategiesBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public java.util.List 
         getStrategiesOrBuilderList() {
      if (strategiesBuilder_ != null) {
        return strategiesBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(strategies_);
      }
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public ru.tinkoff.piapi.contract.v1.Strategy.Builder addStrategiesBuilder() {
      return getStrategiesFieldBuilder().addBuilder(
          ru.tinkoff.piapi.contract.v1.Strategy.getDefaultInstance());
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public ru.tinkoff.piapi.contract.v1.Strategy.Builder addStrategiesBuilder(
        int index) {
      return getStrategiesFieldBuilder().addBuilder(
          index, ru.tinkoff.piapi.contract.v1.Strategy.getDefaultInstance());
    }
    /**
     * repeated .tinkoff.public.invest.api.contract.v1.Strategy strategies = 1;
     */
    public java.util.List 
         getStrategiesBuilderList() {
      return getStrategiesFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        ru.tinkoff.piapi.contract.v1.Strategy, ru.tinkoff.piapi.contract.v1.Strategy.Builder, ru.tinkoff.piapi.contract.v1.StrategyOrBuilder> 
        getStrategiesFieldBuilder() {
      if (strategiesBuilder_ == null) {
        strategiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            ru.tinkoff.piapi.contract.v1.Strategy, ru.tinkoff.piapi.contract.v1.Strategy.Builder, ru.tinkoff.piapi.contract.v1.StrategyOrBuilder>(
                strategies_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        strategies_ = null;
      }
      return strategiesBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:tinkoff.public.invest.api.contract.v1.GetStrategiesResponse)
  }

  // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.GetStrategiesResponse)
  private static final ru.tinkoff.piapi.contract.v1.GetStrategiesResponse DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.GetStrategiesResponse();
  }

  public static ru.tinkoff.piapi.contract.v1.GetStrategiesResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public GetStrategiesResponse parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e)
            .setUnfinishedMessage(builder.buildPartial());
      }
      return builder.buildPartial();
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public ru.tinkoff.piapi.contract.v1.GetStrategiesResponse getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy