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

ru.tinkoff.piapi.contract.v1.GetLastPricesResponse 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.GetLastPricesResponse} */ public final class GetLastPricesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.GetLastPricesResponse) GetLastPricesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetLastPricesResponse.newBuilder() to construct. private GetLastPricesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetLastPricesResponse() { lastPrices_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetLastPricesResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Marketdata.internal_static_tinkoff_public_invest_api_contract_v1_GetLastPricesResponse_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_GetLastPricesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetLastPricesResponse.class, ru.tinkoff.piapi.contract.v1.GetLastPricesResponse.Builder.class); } public static final int LAST_PRICES_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List lastPrices_; /** *
   *Массив цен последних сделок.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ @java.lang.Override public java.util.List getLastPricesList() { return lastPrices_; } /** *
   *Массив цен последних сделок.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ @java.lang.Override public java.util.List getLastPricesOrBuilderList() { return lastPrices_; } /** *
   *Массив цен последних сделок.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ @java.lang.Override public int getLastPricesCount() { return lastPrices_.size(); } /** *
   *Массив цен последних сделок.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.LastPrice getLastPrices(int index) { return lastPrices_.get(index); } /** *
   *Массив цен последних сделок.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.LastPriceOrBuilder getLastPricesOrBuilder( int index) { return lastPrices_.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 < lastPrices_.size(); i++) { output.writeMessage(1, lastPrices_.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 < lastPrices_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, lastPrices_.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.GetLastPricesResponse)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.GetLastPricesResponse other = (ru.tinkoff.piapi.contract.v1.GetLastPricesResponse) obj; if (!getLastPricesList() .equals(other.getLastPricesList())) 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 (getLastPricesCount() > 0) { hash = (37 * hash) + LAST_PRICES_FIELD_NUMBER; hash = (53 * hash) + getLastPricesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.GetLastPricesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetLastPricesResponse 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.GetLastPricesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetLastPricesResponse 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.GetLastPricesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetLastPricesResponse 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.GetLastPricesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetLastPricesResponse 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.GetLastPricesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetLastPricesResponse 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.GetLastPricesResponse 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.GetLastPricesResponse 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.GetLastPricesResponse 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.GetLastPricesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.GetLastPricesResponse) ru.tinkoff.piapi.contract.v1.GetLastPricesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Marketdata.internal_static_tinkoff_public_invest_api_contract_v1_GetLastPricesResponse_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_GetLastPricesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetLastPricesResponse.class, ru.tinkoff.piapi.contract.v1.GetLastPricesResponse.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.GetLastPricesResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (lastPricesBuilder_ == null) { lastPrices_ = java.util.Collections.emptyList(); } else { lastPrices_ = null; lastPricesBuilder_.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_GetLastPricesResponse_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetLastPricesResponse getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.GetLastPricesResponse.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetLastPricesResponse build() { ru.tinkoff.piapi.contract.v1.GetLastPricesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetLastPricesResponse buildPartial() { ru.tinkoff.piapi.contract.v1.GetLastPricesResponse result = new ru.tinkoff.piapi.contract.v1.GetLastPricesResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ru.tinkoff.piapi.contract.v1.GetLastPricesResponse result) { if (lastPricesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { lastPrices_ = java.util.Collections.unmodifiableList(lastPrices_); bitField0_ = (bitField0_ & ~0x00000001); } result.lastPrices_ = lastPrices_; } else { result.lastPrices_ = lastPricesBuilder_.build(); } } private void buildPartial0(ru.tinkoff.piapi.contract.v1.GetLastPricesResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.GetLastPricesResponse) { return mergeFrom((ru.tinkoff.piapi.contract.v1.GetLastPricesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.GetLastPricesResponse other) { if (other == ru.tinkoff.piapi.contract.v1.GetLastPricesResponse.getDefaultInstance()) return this; if (lastPricesBuilder_ == null) { if (!other.lastPrices_.isEmpty()) { if (lastPrices_.isEmpty()) { lastPrices_ = other.lastPrices_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLastPricesIsMutable(); lastPrices_.addAll(other.lastPrices_); } onChanged(); } } else { if (!other.lastPrices_.isEmpty()) { if (lastPricesBuilder_.isEmpty()) { lastPricesBuilder_.dispose(); lastPricesBuilder_ = null; lastPrices_ = other.lastPrices_; bitField0_ = (bitField0_ & ~0x00000001); lastPricesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLastPricesFieldBuilder() : null; } else { lastPricesBuilder_.addAllMessages(other.lastPrices_); } } } 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.LastPrice m = input.readMessage( ru.tinkoff.piapi.contract.v1.LastPrice.parser(), extensionRegistry); if (lastPricesBuilder_ == null) { ensureLastPricesIsMutable(); lastPrices_.add(m); } else { lastPricesBuilder_.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 lastPrices_ = java.util.Collections.emptyList(); private void ensureLastPricesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { lastPrices_ = new java.util.ArrayList(lastPrices_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.LastPrice, ru.tinkoff.piapi.contract.v1.LastPrice.Builder, ru.tinkoff.piapi.contract.v1.LastPriceOrBuilder> lastPricesBuilder_; /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public java.util.List getLastPricesList() { if (lastPricesBuilder_ == null) { return java.util.Collections.unmodifiableList(lastPrices_); } else { return lastPricesBuilder_.getMessageList(); } } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public int getLastPricesCount() { if (lastPricesBuilder_ == null) { return lastPrices_.size(); } else { return lastPricesBuilder_.getCount(); } } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public ru.tinkoff.piapi.contract.v1.LastPrice getLastPrices(int index) { if (lastPricesBuilder_ == null) { return lastPrices_.get(index); } else { return lastPricesBuilder_.getMessage(index); } } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public Builder setLastPrices( int index, ru.tinkoff.piapi.contract.v1.LastPrice value) { if (lastPricesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLastPricesIsMutable(); lastPrices_.set(index, value); onChanged(); } else { lastPricesBuilder_.setMessage(index, value); } return this; } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public Builder setLastPrices( int index, ru.tinkoff.piapi.contract.v1.LastPrice.Builder builderForValue) { if (lastPricesBuilder_ == null) { ensureLastPricesIsMutable(); lastPrices_.set(index, builderForValue.build()); onChanged(); } else { lastPricesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public Builder addLastPrices(ru.tinkoff.piapi.contract.v1.LastPrice value) { if (lastPricesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLastPricesIsMutable(); lastPrices_.add(value); onChanged(); } else { lastPricesBuilder_.addMessage(value); } return this; } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public Builder addLastPrices( int index, ru.tinkoff.piapi.contract.v1.LastPrice value) { if (lastPricesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLastPricesIsMutable(); lastPrices_.add(index, value); onChanged(); } else { lastPricesBuilder_.addMessage(index, value); } return this; } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public Builder addLastPrices( ru.tinkoff.piapi.contract.v1.LastPrice.Builder builderForValue) { if (lastPricesBuilder_ == null) { ensureLastPricesIsMutable(); lastPrices_.add(builderForValue.build()); onChanged(); } else { lastPricesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public Builder addLastPrices( int index, ru.tinkoff.piapi.contract.v1.LastPrice.Builder builderForValue) { if (lastPricesBuilder_ == null) { ensureLastPricesIsMutable(); lastPrices_.add(index, builderForValue.build()); onChanged(); } else { lastPricesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public Builder addAllLastPrices( java.lang.Iterable values) { if (lastPricesBuilder_ == null) { ensureLastPricesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, lastPrices_); onChanged(); } else { lastPricesBuilder_.addAllMessages(values); } return this; } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public Builder clearLastPrices() { if (lastPricesBuilder_ == null) { lastPrices_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { lastPricesBuilder_.clear(); } return this; } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public Builder removeLastPrices(int index) { if (lastPricesBuilder_ == null) { ensureLastPricesIsMutable(); lastPrices_.remove(index); onChanged(); } else { lastPricesBuilder_.remove(index); } return this; } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public ru.tinkoff.piapi.contract.v1.LastPrice.Builder getLastPricesBuilder( int index) { return getLastPricesFieldBuilder().getBuilder(index); } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public ru.tinkoff.piapi.contract.v1.LastPriceOrBuilder getLastPricesOrBuilder( int index) { if (lastPricesBuilder_ == null) { return lastPrices_.get(index); } else { return lastPricesBuilder_.getMessageOrBuilder(index); } } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public java.util.List getLastPricesOrBuilderList() { if (lastPricesBuilder_ != null) { return lastPricesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(lastPrices_); } } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public ru.tinkoff.piapi.contract.v1.LastPrice.Builder addLastPricesBuilder() { return getLastPricesFieldBuilder().addBuilder( ru.tinkoff.piapi.contract.v1.LastPrice.getDefaultInstance()); } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public ru.tinkoff.piapi.contract.v1.LastPrice.Builder addLastPricesBuilder( int index) { return getLastPricesFieldBuilder().addBuilder( index, ru.tinkoff.piapi.contract.v1.LastPrice.getDefaultInstance()); } /** *
     *Массив цен последних сделок.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.LastPrice last_prices = 1; */ public java.util.List getLastPricesBuilderList() { return getLastPricesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.LastPrice, ru.tinkoff.piapi.contract.v1.LastPrice.Builder, ru.tinkoff.piapi.contract.v1.LastPriceOrBuilder> getLastPricesFieldBuilder() { if (lastPricesBuilder_ == null) { lastPricesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.LastPrice, ru.tinkoff.piapi.contract.v1.LastPrice.Builder, ru.tinkoff.piapi.contract.v1.LastPriceOrBuilder>( lastPrices_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); lastPrices_ = null; } return lastPricesBuilder_; } @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.GetLastPricesResponse) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.GetLastPricesResponse) private static final ru.tinkoff.piapi.contract.v1.GetLastPricesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.GetLastPricesResponse(); } public static ru.tinkoff.piapi.contract.v1.GetLastPricesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetLastPricesResponse 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.GetLastPricesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy