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

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

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

package ru.tinkoff.piapi.contract.v1;

/**
 * 
 *Объект результата подписки.
 * 
* * Protobuf type {@code tinkoff.public.invest.api.contract.v1.PortfolioSubscriptionResult} */ public final class PortfolioSubscriptionResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.PortfolioSubscriptionResult) PortfolioSubscriptionResultOrBuilder { private static final long serialVersionUID = 0L; // Use PortfolioSubscriptionResult.newBuilder() to construct. private PortfolioSubscriptionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PortfolioSubscriptionResult() { accounts_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PortfolioSubscriptionResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_PortfolioSubscriptionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_PortfolioSubscriptionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult.class, ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult.Builder.class); } public static final int ACCOUNTS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List accounts_; /** *
   *Массив счетов клиента.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ @java.lang.Override public java.util.List getAccountsList() { return accounts_; } /** *
   *Массив счетов клиента.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ @java.lang.Override public java.util.List getAccountsOrBuilderList() { return accounts_; } /** *
   *Массив счетов клиента.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ @java.lang.Override public int getAccountsCount() { return accounts_.size(); } /** *
   *Массив счетов клиента.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus getAccounts(int index) { return accounts_.get(index); } /** *
   *Массив счетов клиента.
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatusOrBuilder getAccountsOrBuilder( int index) { return accounts_.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 < accounts_.size(); i++) { output.writeMessage(1, accounts_.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 < accounts_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, accounts_.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.PortfolioSubscriptionResult)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult other = (ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult) obj; if (!getAccountsList() .equals(other.getAccountsList())) 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 (getAccountsCount() > 0) { hash = (37 * hash) + ACCOUNTS_FIELD_NUMBER; hash = (53 * hash) + getAccountsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult 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.PortfolioSubscriptionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult 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.PortfolioSubscriptionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult 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.PortfolioSubscriptionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult 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.PortfolioSubscriptionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult 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.PortfolioSubscriptionResult 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.PortfolioSubscriptionResult 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.PortfolioSubscriptionResult 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.PortfolioSubscriptionResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.PortfolioSubscriptionResult) ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_PortfolioSubscriptionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_PortfolioSubscriptionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult.class, ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (accountsBuilder_ == null) { accounts_ = java.util.Collections.emptyList(); } else { accounts_ = null; accountsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_PortfolioSubscriptionResult_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult build() { ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult buildPartial() { ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult result = new ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult result) { if (accountsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accounts_ = java.util.Collections.unmodifiableList(accounts_); bitField0_ = (bitField0_ & ~0x00000001); } result.accounts_ = accounts_; } else { result.accounts_ = accountsBuilder_.build(); } } private void buildPartial0(ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult) { return mergeFrom((ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult other) { if (other == ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult.getDefaultInstance()) return this; if (accountsBuilder_ == null) { if (!other.accounts_.isEmpty()) { if (accounts_.isEmpty()) { accounts_ = other.accounts_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAccountsIsMutable(); accounts_.addAll(other.accounts_); } onChanged(); } } else { if (!other.accounts_.isEmpty()) { if (accountsBuilder_.isEmpty()) { accountsBuilder_.dispose(); accountsBuilder_ = null; accounts_ = other.accounts_; bitField0_ = (bitField0_ & ~0x00000001); accountsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAccountsFieldBuilder() : null; } else { accountsBuilder_.addAllMessages(other.accounts_); } } } 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.AccountSubscriptionStatus m = input.readMessage( ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.parser(), extensionRegistry); if (accountsBuilder_ == null) { ensureAccountsIsMutable(); accounts_.add(m); } else { accountsBuilder_.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 accounts_ = java.util.Collections.emptyList(); private void ensureAccountsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { accounts_ = new java.util.ArrayList(accounts_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.Builder, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatusOrBuilder> accountsBuilder_; /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public java.util.List getAccountsList() { if (accountsBuilder_ == null) { return java.util.Collections.unmodifiableList(accounts_); } else { return accountsBuilder_.getMessageList(); } } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public int getAccountsCount() { if (accountsBuilder_ == null) { return accounts_.size(); } else { return accountsBuilder_.getCount(); } } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus getAccounts(int index) { if (accountsBuilder_ == null) { return accounts_.get(index); } else { return accountsBuilder_.getMessage(index); } } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public Builder setAccounts( int index, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAccountsIsMutable(); accounts_.set(index, value); onChanged(); } else { accountsBuilder_.setMessage(index, value); } return this; } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public Builder setAccounts( int index, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.Builder builderForValue) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); accounts_.set(index, builderForValue.build()); onChanged(); } else { accountsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public Builder addAccounts(ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAccountsIsMutable(); accounts_.add(value); onChanged(); } else { accountsBuilder_.addMessage(value); } return this; } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public Builder addAccounts( int index, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAccountsIsMutable(); accounts_.add(index, value); onChanged(); } else { accountsBuilder_.addMessage(index, value); } return this; } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public Builder addAccounts( ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.Builder builderForValue) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); accounts_.add(builderForValue.build()); onChanged(); } else { accountsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public Builder addAccounts( int index, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.Builder builderForValue) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); accounts_.add(index, builderForValue.build()); onChanged(); } else { accountsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public Builder addAllAccounts( java.lang.Iterable values) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, accounts_); onChanged(); } else { accountsBuilder_.addAllMessages(values); } return this; } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public Builder clearAccounts() { if (accountsBuilder_ == null) { accounts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { accountsBuilder_.clear(); } return this; } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public Builder removeAccounts(int index) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); accounts_.remove(index); onChanged(); } else { accountsBuilder_.remove(index); } return this; } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.Builder getAccountsBuilder( int index) { return getAccountsFieldBuilder().getBuilder(index); } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatusOrBuilder getAccountsOrBuilder( int index) { if (accountsBuilder_ == null) { return accounts_.get(index); } else { return accountsBuilder_.getMessageOrBuilder(index); } } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public java.util.List getAccountsOrBuilderList() { if (accountsBuilder_ != null) { return accountsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(accounts_); } } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.Builder addAccountsBuilder() { return getAccountsFieldBuilder().addBuilder( ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.getDefaultInstance()); } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.Builder addAccountsBuilder( int index) { return getAccountsFieldBuilder().addBuilder( index, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.getDefaultInstance()); } /** *
     *Массив счетов клиента.
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus accounts = 1; */ public java.util.List getAccountsBuilderList() { return getAccountsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.Builder, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatusOrBuilder> getAccountsFieldBuilder() { if (accountsBuilder_ == null) { accountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatus.Builder, ru.tinkoff.piapi.contract.v1.AccountSubscriptionStatusOrBuilder>( accounts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); accounts_ = null; } return accountsBuilder_; } @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.PortfolioSubscriptionResult) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.PortfolioSubscriptionResult) private static final ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult(); } public static ru.tinkoff.piapi.contract.v1.PortfolioSubscriptionResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PortfolioSubscriptionResult 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.PortfolioSubscriptionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy