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

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

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

package ru.tinkoff.piapi.contract.v1;

/**
 * 
 *Список активных стоп-заявок.
 * 
* * Protobuf type {@code tinkoff.public.invest.api.contract.v1.GetStopOrdersResponse} */ public final class GetStopOrdersResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.GetStopOrdersResponse) GetStopOrdersResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetStopOrdersResponse.newBuilder() to construct. private GetStopOrdersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetStopOrdersResponse() { stopOrders_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetStopOrdersResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Stoporders.internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Stoporders.internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse.class, ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse.Builder.class); } public static final int STOP_ORDERS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List stopOrders_; /** *
   *Массив стоп-заявок по счёту.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ @java.lang.Override public java.util.List getStopOrdersList() { return stopOrders_; } /** *
   *Массив стоп-заявок по счёту.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ @java.lang.Override public java.util.List getStopOrdersOrBuilderList() { return stopOrders_; } /** *
   *Массив стоп-заявок по счёту.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ @java.lang.Override public int getStopOrdersCount() { return stopOrders_.size(); } /** *
   *Массив стоп-заявок по счёту.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.StopOrder getStopOrders(int index) { return stopOrders_.get(index); } /** *
   *Массив стоп-заявок по счёту.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.StopOrderOrBuilder getStopOrdersOrBuilder( int index) { return stopOrders_.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 < stopOrders_.size(); i++) { output.writeMessage(1, stopOrders_.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 < stopOrders_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, stopOrders_.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.GetStopOrdersResponse)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse other = (ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse) obj; if (!getStopOrdersList() .equals(other.getStopOrdersList())) 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 (getStopOrdersCount() > 0) { hash = (37 * hash) + STOP_ORDERS_FIELD_NUMBER; hash = (53 * hash) + getStopOrdersList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse 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.GetStopOrdersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse 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.GetStopOrdersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse 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.GetStopOrdersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse 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.GetStopOrdersResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse 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.GetStopOrdersResponse 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.GetStopOrdersResponse 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.GetStopOrdersResponse 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.GetStopOrdersResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.GetStopOrdersResponse) ru.tinkoff.piapi.contract.v1.GetStopOrdersResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Stoporders.internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Stoporders.internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse.class, ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (stopOrdersBuilder_ == null) { stopOrders_ = java.util.Collections.emptyList(); } else { stopOrders_ = null; stopOrdersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ru.tinkoff.piapi.contract.v1.Stoporders.internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersResponse_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse build() { ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse buildPartial() { ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse result = new ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse result) { if (stopOrdersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { stopOrders_ = java.util.Collections.unmodifiableList(stopOrders_); bitField0_ = (bitField0_ & ~0x00000001); } result.stopOrders_ = stopOrders_; } else { result.stopOrders_ = stopOrdersBuilder_.build(); } } private void buildPartial0(ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse) { return mergeFrom((ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse other) { if (other == ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse.getDefaultInstance()) return this; if (stopOrdersBuilder_ == null) { if (!other.stopOrders_.isEmpty()) { if (stopOrders_.isEmpty()) { stopOrders_ = other.stopOrders_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStopOrdersIsMutable(); stopOrders_.addAll(other.stopOrders_); } onChanged(); } } else { if (!other.stopOrders_.isEmpty()) { if (stopOrdersBuilder_.isEmpty()) { stopOrdersBuilder_.dispose(); stopOrdersBuilder_ = null; stopOrders_ = other.stopOrders_; bitField0_ = (bitField0_ & ~0x00000001); stopOrdersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStopOrdersFieldBuilder() : null; } else { stopOrdersBuilder_.addAllMessages(other.stopOrders_); } } } 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.StopOrder m = input.readMessage( ru.tinkoff.piapi.contract.v1.StopOrder.parser(), extensionRegistry); if (stopOrdersBuilder_ == null) { ensureStopOrdersIsMutable(); stopOrders_.add(m); } else { stopOrdersBuilder_.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 stopOrders_ = java.util.Collections.emptyList(); private void ensureStopOrdersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stopOrders_ = new java.util.ArrayList(stopOrders_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.StopOrder, ru.tinkoff.piapi.contract.v1.StopOrder.Builder, ru.tinkoff.piapi.contract.v1.StopOrderOrBuilder> stopOrdersBuilder_; /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public java.util.List getStopOrdersList() { if (stopOrdersBuilder_ == null) { return java.util.Collections.unmodifiableList(stopOrders_); } else { return stopOrdersBuilder_.getMessageList(); } } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public int getStopOrdersCount() { if (stopOrdersBuilder_ == null) { return stopOrders_.size(); } else { return stopOrdersBuilder_.getCount(); } } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public ru.tinkoff.piapi.contract.v1.StopOrder getStopOrders(int index) { if (stopOrdersBuilder_ == null) { return stopOrders_.get(index); } else { return stopOrdersBuilder_.getMessage(index); } } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public Builder setStopOrders( int index, ru.tinkoff.piapi.contract.v1.StopOrder value) { if (stopOrdersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStopOrdersIsMutable(); stopOrders_.set(index, value); onChanged(); } else { stopOrdersBuilder_.setMessage(index, value); } return this; } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public Builder setStopOrders( int index, ru.tinkoff.piapi.contract.v1.StopOrder.Builder builderForValue) { if (stopOrdersBuilder_ == null) { ensureStopOrdersIsMutable(); stopOrders_.set(index, builderForValue.build()); onChanged(); } else { stopOrdersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public Builder addStopOrders(ru.tinkoff.piapi.contract.v1.StopOrder value) { if (stopOrdersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStopOrdersIsMutable(); stopOrders_.add(value); onChanged(); } else { stopOrdersBuilder_.addMessage(value); } return this; } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public Builder addStopOrders( int index, ru.tinkoff.piapi.contract.v1.StopOrder value) { if (stopOrdersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStopOrdersIsMutable(); stopOrders_.add(index, value); onChanged(); } else { stopOrdersBuilder_.addMessage(index, value); } return this; } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public Builder addStopOrders( ru.tinkoff.piapi.contract.v1.StopOrder.Builder builderForValue) { if (stopOrdersBuilder_ == null) { ensureStopOrdersIsMutable(); stopOrders_.add(builderForValue.build()); onChanged(); } else { stopOrdersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public Builder addStopOrders( int index, ru.tinkoff.piapi.contract.v1.StopOrder.Builder builderForValue) { if (stopOrdersBuilder_ == null) { ensureStopOrdersIsMutable(); stopOrders_.add(index, builderForValue.build()); onChanged(); } else { stopOrdersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public Builder addAllStopOrders( java.lang.Iterable values) { if (stopOrdersBuilder_ == null) { ensureStopOrdersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, stopOrders_); onChanged(); } else { stopOrdersBuilder_.addAllMessages(values); } return this; } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public Builder clearStopOrders() { if (stopOrdersBuilder_ == null) { stopOrders_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { stopOrdersBuilder_.clear(); } return this; } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public Builder removeStopOrders(int index) { if (stopOrdersBuilder_ == null) { ensureStopOrdersIsMutable(); stopOrders_.remove(index); onChanged(); } else { stopOrdersBuilder_.remove(index); } return this; } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public ru.tinkoff.piapi.contract.v1.StopOrder.Builder getStopOrdersBuilder( int index) { return getStopOrdersFieldBuilder().getBuilder(index); } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public ru.tinkoff.piapi.contract.v1.StopOrderOrBuilder getStopOrdersOrBuilder( int index) { if (stopOrdersBuilder_ == null) { return stopOrders_.get(index); } else { return stopOrdersBuilder_.getMessageOrBuilder(index); } } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public java.util.List getStopOrdersOrBuilderList() { if (stopOrdersBuilder_ != null) { return stopOrdersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stopOrders_); } } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public ru.tinkoff.piapi.contract.v1.StopOrder.Builder addStopOrdersBuilder() { return getStopOrdersFieldBuilder().addBuilder( ru.tinkoff.piapi.contract.v1.StopOrder.getDefaultInstance()); } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public ru.tinkoff.piapi.contract.v1.StopOrder.Builder addStopOrdersBuilder( int index) { return getStopOrdersFieldBuilder().addBuilder( index, ru.tinkoff.piapi.contract.v1.StopOrder.getDefaultInstance()); } /** *
     *Массив стоп-заявок по счёту.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.StopOrder stop_orders = 1; */ public java.util.List getStopOrdersBuilderList() { return getStopOrdersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.StopOrder, ru.tinkoff.piapi.contract.v1.StopOrder.Builder, ru.tinkoff.piapi.contract.v1.StopOrderOrBuilder> getStopOrdersFieldBuilder() { if (stopOrdersBuilder_ == null) { stopOrdersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.StopOrder, ru.tinkoff.piapi.contract.v1.StopOrder.Builder, ru.tinkoff.piapi.contract.v1.StopOrderOrBuilder>( stopOrders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); stopOrders_ = null; } return stopOrdersBuilder_; } @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.GetStopOrdersResponse) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.GetStopOrdersResponse) private static final ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse(); } public static ru.tinkoff.piapi.contract.v1.GetStopOrdersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetStopOrdersResponse 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.GetStopOrdersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy