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

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

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

package ru.tinkoff.piapi.contract.v1;

/**
 * 
 *Цены закрытия торговой сессии по инструментам.
 * 
* * Protobuf type {@code tinkoff.public.invest.api.contract.v1.GetClosePricesResponse} */ public final class GetClosePricesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.GetClosePricesResponse) GetClosePricesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetClosePricesResponse.newBuilder() to construct. private GetClosePricesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetClosePricesResponse() { closePrices_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetClosePricesResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Marketdata.internal_static_tinkoff_public_invest_api_contract_v1_GetClosePricesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Marketdata.internal_static_tinkoff_public_invest_api_contract_v1_GetClosePricesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetClosePricesResponse.class, ru.tinkoff.piapi.contract.v1.GetClosePricesResponse.Builder.class); } public static final int CLOSE_PRICES_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List closePrices_; /** *
   *Массив по инструментам.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ @java.lang.Override public java.util.List getClosePricesList() { return closePrices_; } /** *
   *Массив по инструментам.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ @java.lang.Override public java.util.List getClosePricesOrBuilderList() { return closePrices_; } /** *
   *Массив по инструментам.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ @java.lang.Override public int getClosePricesCount() { return closePrices_.size(); } /** *
   *Массив по инструментам.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse getClosePrices(int index) { return closePrices_.get(index); } /** *
   *Массив по инструментам.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponseOrBuilder getClosePricesOrBuilder( int index) { return closePrices_.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 < closePrices_.size(); i++) { output.writeMessage(1, closePrices_.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 < closePrices_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, closePrices_.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.GetClosePricesResponse)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.GetClosePricesResponse other = (ru.tinkoff.piapi.contract.v1.GetClosePricesResponse) obj; if (!getClosePricesList() .equals(other.getClosePricesList())) 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 (getClosePricesCount() > 0) { hash = (37 * hash) + CLOSE_PRICES_FIELD_NUMBER; hash = (53 * hash) + getClosePricesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.GetClosePricesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetClosePricesResponse 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.GetClosePricesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetClosePricesResponse 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.GetClosePricesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetClosePricesResponse 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.GetClosePricesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetClosePricesResponse 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.GetClosePricesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetClosePricesResponse 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.GetClosePricesResponse 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.GetClosePricesResponse 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.GetClosePricesResponse 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.GetClosePricesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.GetClosePricesResponse) ru.tinkoff.piapi.contract.v1.GetClosePricesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Marketdata.internal_static_tinkoff_public_invest_api_contract_v1_GetClosePricesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Marketdata.internal_static_tinkoff_public_invest_api_contract_v1_GetClosePricesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetClosePricesResponse.class, ru.tinkoff.piapi.contract.v1.GetClosePricesResponse.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.GetClosePricesResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (closePricesBuilder_ == null) { closePrices_ = java.util.Collections.emptyList(); } else { closePrices_ = null; closePricesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ru.tinkoff.piapi.contract.v1.Marketdata.internal_static_tinkoff_public_invest_api_contract_v1_GetClosePricesResponse_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetClosePricesResponse getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.GetClosePricesResponse.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetClosePricesResponse build() { ru.tinkoff.piapi.contract.v1.GetClosePricesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetClosePricesResponse buildPartial() { ru.tinkoff.piapi.contract.v1.GetClosePricesResponse result = new ru.tinkoff.piapi.contract.v1.GetClosePricesResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ru.tinkoff.piapi.contract.v1.GetClosePricesResponse result) { if (closePricesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { closePrices_ = java.util.Collections.unmodifiableList(closePrices_); bitField0_ = (bitField0_ & ~0x00000001); } result.closePrices_ = closePrices_; } else { result.closePrices_ = closePricesBuilder_.build(); } } private void buildPartial0(ru.tinkoff.piapi.contract.v1.GetClosePricesResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.GetClosePricesResponse) { return mergeFrom((ru.tinkoff.piapi.contract.v1.GetClosePricesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.GetClosePricesResponse other) { if (other == ru.tinkoff.piapi.contract.v1.GetClosePricesResponse.getDefaultInstance()) return this; if (closePricesBuilder_ == null) { if (!other.closePrices_.isEmpty()) { if (closePrices_.isEmpty()) { closePrices_ = other.closePrices_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureClosePricesIsMutable(); closePrices_.addAll(other.closePrices_); } onChanged(); } } else { if (!other.closePrices_.isEmpty()) { if (closePricesBuilder_.isEmpty()) { closePricesBuilder_.dispose(); closePricesBuilder_ = null; closePrices_ = other.closePrices_; bitField0_ = (bitField0_ & ~0x00000001); closePricesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getClosePricesFieldBuilder() : null; } else { closePricesBuilder_.addAllMessages(other.closePrices_); } } } 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.InstrumentClosePriceResponse m = input.readMessage( ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.parser(), extensionRegistry); if (closePricesBuilder_ == null) { ensureClosePricesIsMutable(); closePrices_.add(m); } else { closePricesBuilder_.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 closePrices_ = java.util.Collections.emptyList(); private void ensureClosePricesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { closePrices_ = new java.util.ArrayList(closePrices_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.Builder, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponseOrBuilder> closePricesBuilder_; /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public java.util.List getClosePricesList() { if (closePricesBuilder_ == null) { return java.util.Collections.unmodifiableList(closePrices_); } else { return closePricesBuilder_.getMessageList(); } } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public int getClosePricesCount() { if (closePricesBuilder_ == null) { return closePrices_.size(); } else { return closePricesBuilder_.getCount(); } } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse getClosePrices(int index) { if (closePricesBuilder_ == null) { return closePrices_.get(index); } else { return closePricesBuilder_.getMessage(index); } } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public Builder setClosePrices( int index, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse value) { if (closePricesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClosePricesIsMutable(); closePrices_.set(index, value); onChanged(); } else { closePricesBuilder_.setMessage(index, value); } return this; } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public Builder setClosePrices( int index, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.Builder builderForValue) { if (closePricesBuilder_ == null) { ensureClosePricesIsMutable(); closePrices_.set(index, builderForValue.build()); onChanged(); } else { closePricesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public Builder addClosePrices(ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse value) { if (closePricesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClosePricesIsMutable(); closePrices_.add(value); onChanged(); } else { closePricesBuilder_.addMessage(value); } return this; } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public Builder addClosePrices( int index, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse value) { if (closePricesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClosePricesIsMutable(); closePrices_.add(index, value); onChanged(); } else { closePricesBuilder_.addMessage(index, value); } return this; } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public Builder addClosePrices( ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.Builder builderForValue) { if (closePricesBuilder_ == null) { ensureClosePricesIsMutable(); closePrices_.add(builderForValue.build()); onChanged(); } else { closePricesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public Builder addClosePrices( int index, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.Builder builderForValue) { if (closePricesBuilder_ == null) { ensureClosePricesIsMutable(); closePrices_.add(index, builderForValue.build()); onChanged(); } else { closePricesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public Builder addAllClosePrices( java.lang.Iterable values) { if (closePricesBuilder_ == null) { ensureClosePricesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, closePrices_); onChanged(); } else { closePricesBuilder_.addAllMessages(values); } return this; } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public Builder clearClosePrices() { if (closePricesBuilder_ == null) { closePrices_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { closePricesBuilder_.clear(); } return this; } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public Builder removeClosePrices(int index) { if (closePricesBuilder_ == null) { ensureClosePricesIsMutable(); closePrices_.remove(index); onChanged(); } else { closePricesBuilder_.remove(index); } return this; } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.Builder getClosePricesBuilder( int index) { return getClosePricesFieldBuilder().getBuilder(index); } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponseOrBuilder getClosePricesOrBuilder( int index) { if (closePricesBuilder_ == null) { return closePrices_.get(index); } else { return closePricesBuilder_.getMessageOrBuilder(index); } } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public java.util.List getClosePricesOrBuilderList() { if (closePricesBuilder_ != null) { return closePricesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(closePrices_); } } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.Builder addClosePricesBuilder() { return getClosePricesFieldBuilder().addBuilder( ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.getDefaultInstance()); } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.Builder addClosePricesBuilder( int index) { return getClosePricesFieldBuilder().addBuilder( index, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.getDefaultInstance()); } /** *
     *Массив по инструментам.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse close_prices = 1; */ public java.util.List getClosePricesBuilderList() { return getClosePricesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.Builder, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponseOrBuilder> getClosePricesFieldBuilder() { if (closePricesBuilder_ == null) { closePricesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponse.Builder, ru.tinkoff.piapi.contract.v1.InstrumentClosePriceResponseOrBuilder>( closePrices_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); closePrices_ = null; } return closePricesBuilder_; } @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.GetClosePricesResponse) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.GetClosePricesResponse) private static final ru.tinkoff.piapi.contract.v1.GetClosePricesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.GetClosePricesResponse(); } public static ru.tinkoff.piapi.contract.v1.GetClosePricesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetClosePricesResponse 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.GetClosePricesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy