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

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

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

package ru.tinkoff.piapi.contract.v1;

/**
 * 
 *В ответ передаётся список избранных инструментов в качестве массива.
 * 
* * Protobuf type {@code tinkoff.public.invest.api.contract.v1.GetFavoritesResponse} */ public final class GetFavoritesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.GetFavoritesResponse) GetFavoritesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetFavoritesResponse.newBuilder() to construct. private GetFavoritesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetFavoritesResponse() { favoriteInstruments_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFavoritesResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_GetFavoritesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_GetFavoritesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetFavoritesResponse.class, ru.tinkoff.piapi.contract.v1.GetFavoritesResponse.Builder.class); } public static final int FAVORITE_INSTRUMENTS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List favoriteInstruments_; /** *
   *Массив инструментов
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ @java.lang.Override public java.util.List getFavoriteInstrumentsList() { return favoriteInstruments_; } /** *
   *Массив инструментов
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ @java.lang.Override public java.util.List getFavoriteInstrumentsOrBuilderList() { return favoriteInstruments_; } /** *
   *Массив инструментов
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ @java.lang.Override public int getFavoriteInstrumentsCount() { return favoriteInstruments_.size(); } /** *
   *Массив инструментов
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.FavoriteInstrument getFavoriteInstruments(int index) { return favoriteInstruments_.get(index); } /** *
   *Массив инструментов
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.FavoriteInstrumentOrBuilder getFavoriteInstrumentsOrBuilder( int index) { return favoriteInstruments_.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 < favoriteInstruments_.size(); i++) { output.writeMessage(1, favoriteInstruments_.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 < favoriteInstruments_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, favoriteInstruments_.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.GetFavoritesResponse)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.GetFavoritesResponse other = (ru.tinkoff.piapi.contract.v1.GetFavoritesResponse) obj; if (!getFavoriteInstrumentsList() .equals(other.getFavoriteInstrumentsList())) 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 (getFavoriteInstrumentsCount() > 0) { hash = (37 * hash) + FAVORITE_INSTRUMENTS_FIELD_NUMBER; hash = (53 * hash) + getFavoriteInstrumentsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.GetFavoritesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetFavoritesResponse 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.GetFavoritesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetFavoritesResponse 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.GetFavoritesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetFavoritesResponse 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.GetFavoritesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetFavoritesResponse 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.GetFavoritesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetFavoritesResponse 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.GetFavoritesResponse 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.GetFavoritesResponse 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.GetFavoritesResponse 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.GetFavoritesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.GetFavoritesResponse) ru.tinkoff.piapi.contract.v1.GetFavoritesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_GetFavoritesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_GetFavoritesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetFavoritesResponse.class, ru.tinkoff.piapi.contract.v1.GetFavoritesResponse.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.GetFavoritesResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (favoriteInstrumentsBuilder_ == null) { favoriteInstruments_ = java.util.Collections.emptyList(); } else { favoriteInstruments_ = null; favoriteInstrumentsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_GetFavoritesResponse_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetFavoritesResponse getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.GetFavoritesResponse.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetFavoritesResponse build() { ru.tinkoff.piapi.contract.v1.GetFavoritesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetFavoritesResponse buildPartial() { ru.tinkoff.piapi.contract.v1.GetFavoritesResponse result = new ru.tinkoff.piapi.contract.v1.GetFavoritesResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ru.tinkoff.piapi.contract.v1.GetFavoritesResponse result) { if (favoriteInstrumentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { favoriteInstruments_ = java.util.Collections.unmodifiableList(favoriteInstruments_); bitField0_ = (bitField0_ & ~0x00000001); } result.favoriteInstruments_ = favoriteInstruments_; } else { result.favoriteInstruments_ = favoriteInstrumentsBuilder_.build(); } } private void buildPartial0(ru.tinkoff.piapi.contract.v1.GetFavoritesResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.GetFavoritesResponse) { return mergeFrom((ru.tinkoff.piapi.contract.v1.GetFavoritesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.GetFavoritesResponse other) { if (other == ru.tinkoff.piapi.contract.v1.GetFavoritesResponse.getDefaultInstance()) return this; if (favoriteInstrumentsBuilder_ == null) { if (!other.favoriteInstruments_.isEmpty()) { if (favoriteInstruments_.isEmpty()) { favoriteInstruments_ = other.favoriteInstruments_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFavoriteInstrumentsIsMutable(); favoriteInstruments_.addAll(other.favoriteInstruments_); } onChanged(); } } else { if (!other.favoriteInstruments_.isEmpty()) { if (favoriteInstrumentsBuilder_.isEmpty()) { favoriteInstrumentsBuilder_.dispose(); favoriteInstrumentsBuilder_ = null; favoriteInstruments_ = other.favoriteInstruments_; bitField0_ = (bitField0_ & ~0x00000001); favoriteInstrumentsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFavoriteInstrumentsFieldBuilder() : null; } else { favoriteInstrumentsBuilder_.addAllMessages(other.favoriteInstruments_); } } } 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.FavoriteInstrument m = input.readMessage( ru.tinkoff.piapi.contract.v1.FavoriteInstrument.parser(), extensionRegistry); if (favoriteInstrumentsBuilder_ == null) { ensureFavoriteInstrumentsIsMutable(); favoriteInstruments_.add(m); } else { favoriteInstrumentsBuilder_.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 favoriteInstruments_ = java.util.Collections.emptyList(); private void ensureFavoriteInstrumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { favoriteInstruments_ = new java.util.ArrayList(favoriteInstruments_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.FavoriteInstrument, ru.tinkoff.piapi.contract.v1.FavoriteInstrument.Builder, ru.tinkoff.piapi.contract.v1.FavoriteInstrumentOrBuilder> favoriteInstrumentsBuilder_; /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public java.util.List getFavoriteInstrumentsList() { if (favoriteInstrumentsBuilder_ == null) { return java.util.Collections.unmodifiableList(favoriteInstruments_); } else { return favoriteInstrumentsBuilder_.getMessageList(); } } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public int getFavoriteInstrumentsCount() { if (favoriteInstrumentsBuilder_ == null) { return favoriteInstruments_.size(); } else { return favoriteInstrumentsBuilder_.getCount(); } } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public ru.tinkoff.piapi.contract.v1.FavoriteInstrument getFavoriteInstruments(int index) { if (favoriteInstrumentsBuilder_ == null) { return favoriteInstruments_.get(index); } else { return favoriteInstrumentsBuilder_.getMessage(index); } } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public Builder setFavoriteInstruments( int index, ru.tinkoff.piapi.contract.v1.FavoriteInstrument value) { if (favoriteInstrumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFavoriteInstrumentsIsMutable(); favoriteInstruments_.set(index, value); onChanged(); } else { favoriteInstrumentsBuilder_.setMessage(index, value); } return this; } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public Builder setFavoriteInstruments( int index, ru.tinkoff.piapi.contract.v1.FavoriteInstrument.Builder builderForValue) { if (favoriteInstrumentsBuilder_ == null) { ensureFavoriteInstrumentsIsMutable(); favoriteInstruments_.set(index, builderForValue.build()); onChanged(); } else { favoriteInstrumentsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public Builder addFavoriteInstruments(ru.tinkoff.piapi.contract.v1.FavoriteInstrument value) { if (favoriteInstrumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFavoriteInstrumentsIsMutable(); favoriteInstruments_.add(value); onChanged(); } else { favoriteInstrumentsBuilder_.addMessage(value); } return this; } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public Builder addFavoriteInstruments( int index, ru.tinkoff.piapi.contract.v1.FavoriteInstrument value) { if (favoriteInstrumentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFavoriteInstrumentsIsMutable(); favoriteInstruments_.add(index, value); onChanged(); } else { favoriteInstrumentsBuilder_.addMessage(index, value); } return this; } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public Builder addFavoriteInstruments( ru.tinkoff.piapi.contract.v1.FavoriteInstrument.Builder builderForValue) { if (favoriteInstrumentsBuilder_ == null) { ensureFavoriteInstrumentsIsMutable(); favoriteInstruments_.add(builderForValue.build()); onChanged(); } else { favoriteInstrumentsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public Builder addFavoriteInstruments( int index, ru.tinkoff.piapi.contract.v1.FavoriteInstrument.Builder builderForValue) { if (favoriteInstrumentsBuilder_ == null) { ensureFavoriteInstrumentsIsMutable(); favoriteInstruments_.add(index, builderForValue.build()); onChanged(); } else { favoriteInstrumentsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public Builder addAllFavoriteInstruments( java.lang.Iterable values) { if (favoriteInstrumentsBuilder_ == null) { ensureFavoriteInstrumentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, favoriteInstruments_); onChanged(); } else { favoriteInstrumentsBuilder_.addAllMessages(values); } return this; } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public Builder clearFavoriteInstruments() { if (favoriteInstrumentsBuilder_ == null) { favoriteInstruments_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { favoriteInstrumentsBuilder_.clear(); } return this; } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public Builder removeFavoriteInstruments(int index) { if (favoriteInstrumentsBuilder_ == null) { ensureFavoriteInstrumentsIsMutable(); favoriteInstruments_.remove(index); onChanged(); } else { favoriteInstrumentsBuilder_.remove(index); } return this; } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public ru.tinkoff.piapi.contract.v1.FavoriteInstrument.Builder getFavoriteInstrumentsBuilder( int index) { return getFavoriteInstrumentsFieldBuilder().getBuilder(index); } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public ru.tinkoff.piapi.contract.v1.FavoriteInstrumentOrBuilder getFavoriteInstrumentsOrBuilder( int index) { if (favoriteInstrumentsBuilder_ == null) { return favoriteInstruments_.get(index); } else { return favoriteInstrumentsBuilder_.getMessageOrBuilder(index); } } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public java.util.List getFavoriteInstrumentsOrBuilderList() { if (favoriteInstrumentsBuilder_ != null) { return favoriteInstrumentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(favoriteInstruments_); } } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public ru.tinkoff.piapi.contract.v1.FavoriteInstrument.Builder addFavoriteInstrumentsBuilder() { return getFavoriteInstrumentsFieldBuilder().addBuilder( ru.tinkoff.piapi.contract.v1.FavoriteInstrument.getDefaultInstance()); } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public ru.tinkoff.piapi.contract.v1.FavoriteInstrument.Builder addFavoriteInstrumentsBuilder( int index) { return getFavoriteInstrumentsFieldBuilder().addBuilder( index, ru.tinkoff.piapi.contract.v1.FavoriteInstrument.getDefaultInstance()); } /** *
     *Массив инструментов
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.FavoriteInstrument favorite_instruments = 1; */ public java.util.List getFavoriteInstrumentsBuilderList() { return getFavoriteInstrumentsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.FavoriteInstrument, ru.tinkoff.piapi.contract.v1.FavoriteInstrument.Builder, ru.tinkoff.piapi.contract.v1.FavoriteInstrumentOrBuilder> getFavoriteInstrumentsFieldBuilder() { if (favoriteInstrumentsBuilder_ == null) { favoriteInstrumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.FavoriteInstrument, ru.tinkoff.piapi.contract.v1.FavoriteInstrument.Builder, ru.tinkoff.piapi.contract.v1.FavoriteInstrumentOrBuilder>( favoriteInstruments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); favoriteInstruments_ = null; } return favoriteInstrumentsBuilder_; } @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.GetFavoritesResponse) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.GetFavoritesResponse) private static final ru.tinkoff.piapi.contract.v1.GetFavoritesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.GetFavoritesResponse(); } public static ru.tinkoff.piapi.contract.v1.GetFavoritesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetFavoritesResponse 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.GetFavoritesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy