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

ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse 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.GetTradingStatusesResponse} */ public final class GetTradingStatusesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.GetTradingStatusesResponse) GetTradingStatusesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetTradingStatusesResponse.newBuilder() to construct. private GetTradingStatusesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTradingStatusesResponse() { tradingStatuses_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetTradingStatusesResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Marketdata.internal_static_tinkoff_public_invest_api_contract_v1_GetTradingStatusesResponse_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_GetTradingStatusesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse.class, ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse.Builder.class); } public static final int TRADING_STATUSES_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List tradingStatuses_; /** *
   *Массив информации о торговых статусах
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ @java.lang.Override public java.util.List getTradingStatusesList() { return tradingStatuses_; } /** *
   *Массив информации о торговых статусах
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ @java.lang.Override public java.util.List getTradingStatusesOrBuilderList() { return tradingStatuses_; } /** *
   *Массив информации о торговых статусах
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ @java.lang.Override public int getTradingStatusesCount() { return tradingStatuses_.size(); } /** *
   *Массив информации о торговых статусах
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse getTradingStatuses(int index) { return tradingStatuses_.get(index); } /** *
   *Массив информации о торговых статусах
   * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetTradingStatusResponseOrBuilder getTradingStatusesOrBuilder( int index) { return tradingStatuses_.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 < tradingStatuses_.size(); i++) { output.writeMessage(1, tradingStatuses_.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 < tradingStatuses_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, tradingStatuses_.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.GetTradingStatusesResponse)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse other = (ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse) obj; if (!getTradingStatusesList() .equals(other.getTradingStatusesList())) 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 (getTradingStatusesCount() > 0) { hash = (37 * hash) + TRADING_STATUSES_FIELD_NUMBER; hash = (53 * hash) + getTradingStatusesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse 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.GetTradingStatusesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse 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.GetTradingStatusesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse 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.GetTradingStatusesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse 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.GetTradingStatusesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse 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.GetTradingStatusesResponse 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.GetTradingStatusesResponse 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.GetTradingStatusesResponse 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.GetTradingStatusesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.GetTradingStatusesResponse) ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Marketdata.internal_static_tinkoff_public_invest_api_contract_v1_GetTradingStatusesResponse_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_GetTradingStatusesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse.class, ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (tradingStatusesBuilder_ == null) { tradingStatuses_ = java.util.Collections.emptyList(); } else { tradingStatuses_ = null; tradingStatusesBuilder_.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_GetTradingStatusesResponse_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse build() { ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse buildPartial() { ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse result = new ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse result) { if (tradingStatusesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tradingStatuses_ = java.util.Collections.unmodifiableList(tradingStatuses_); bitField0_ = (bitField0_ & ~0x00000001); } result.tradingStatuses_ = tradingStatuses_; } else { result.tradingStatuses_ = tradingStatusesBuilder_.build(); } } private void buildPartial0(ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse) { return mergeFrom((ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse other) { if (other == ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse.getDefaultInstance()) return this; if (tradingStatusesBuilder_ == null) { if (!other.tradingStatuses_.isEmpty()) { if (tradingStatuses_.isEmpty()) { tradingStatuses_ = other.tradingStatuses_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTradingStatusesIsMutable(); tradingStatuses_.addAll(other.tradingStatuses_); } onChanged(); } } else { if (!other.tradingStatuses_.isEmpty()) { if (tradingStatusesBuilder_.isEmpty()) { tradingStatusesBuilder_.dispose(); tradingStatusesBuilder_ = null; tradingStatuses_ = other.tradingStatuses_; bitField0_ = (bitField0_ & ~0x00000001); tradingStatusesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTradingStatusesFieldBuilder() : null; } else { tradingStatusesBuilder_.addAllMessages(other.tradingStatuses_); } } } 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.GetTradingStatusResponse m = input.readMessage( ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.parser(), extensionRegistry); if (tradingStatusesBuilder_ == null) { ensureTradingStatusesIsMutable(); tradingStatuses_.add(m); } else { tradingStatusesBuilder_.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 tradingStatuses_ = java.util.Collections.emptyList(); private void ensureTradingStatusesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tradingStatuses_ = new java.util.ArrayList(tradingStatuses_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.Builder, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponseOrBuilder> tradingStatusesBuilder_; /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public java.util.List getTradingStatusesList() { if (tradingStatusesBuilder_ == null) { return java.util.Collections.unmodifiableList(tradingStatuses_); } else { return tradingStatusesBuilder_.getMessageList(); } } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public int getTradingStatusesCount() { if (tradingStatusesBuilder_ == null) { return tradingStatuses_.size(); } else { return tradingStatusesBuilder_.getCount(); } } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse getTradingStatuses(int index) { if (tradingStatusesBuilder_ == null) { return tradingStatuses_.get(index); } else { return tradingStatusesBuilder_.getMessage(index); } } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public Builder setTradingStatuses( int index, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse value) { if (tradingStatusesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTradingStatusesIsMutable(); tradingStatuses_.set(index, value); onChanged(); } else { tradingStatusesBuilder_.setMessage(index, value); } return this; } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public Builder setTradingStatuses( int index, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.Builder builderForValue) { if (tradingStatusesBuilder_ == null) { ensureTradingStatusesIsMutable(); tradingStatuses_.set(index, builderForValue.build()); onChanged(); } else { tradingStatusesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public Builder addTradingStatuses(ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse value) { if (tradingStatusesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTradingStatusesIsMutable(); tradingStatuses_.add(value); onChanged(); } else { tradingStatusesBuilder_.addMessage(value); } return this; } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public Builder addTradingStatuses( int index, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse value) { if (tradingStatusesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTradingStatusesIsMutable(); tradingStatuses_.add(index, value); onChanged(); } else { tradingStatusesBuilder_.addMessage(index, value); } return this; } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public Builder addTradingStatuses( ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.Builder builderForValue) { if (tradingStatusesBuilder_ == null) { ensureTradingStatusesIsMutable(); tradingStatuses_.add(builderForValue.build()); onChanged(); } else { tradingStatusesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public Builder addTradingStatuses( int index, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.Builder builderForValue) { if (tradingStatusesBuilder_ == null) { ensureTradingStatusesIsMutable(); tradingStatuses_.add(index, builderForValue.build()); onChanged(); } else { tradingStatusesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public Builder addAllTradingStatuses( java.lang.Iterable values) { if (tradingStatusesBuilder_ == null) { ensureTradingStatusesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tradingStatuses_); onChanged(); } else { tradingStatusesBuilder_.addAllMessages(values); } return this; } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public Builder clearTradingStatuses() { if (tradingStatusesBuilder_ == null) { tradingStatuses_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tradingStatusesBuilder_.clear(); } return this; } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public Builder removeTradingStatuses(int index) { if (tradingStatusesBuilder_ == null) { ensureTradingStatusesIsMutable(); tradingStatuses_.remove(index); onChanged(); } else { tradingStatusesBuilder_.remove(index); } return this; } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.Builder getTradingStatusesBuilder( int index) { return getTradingStatusesFieldBuilder().getBuilder(index); } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public ru.tinkoff.piapi.contract.v1.GetTradingStatusResponseOrBuilder getTradingStatusesOrBuilder( int index) { if (tradingStatusesBuilder_ == null) { return tradingStatuses_.get(index); } else { return tradingStatusesBuilder_.getMessageOrBuilder(index); } } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public java.util.List getTradingStatusesOrBuilderList() { if (tradingStatusesBuilder_ != null) { return tradingStatusesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tradingStatuses_); } } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.Builder addTradingStatusesBuilder() { return getTradingStatusesFieldBuilder().addBuilder( ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.getDefaultInstance()); } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.Builder addTradingStatusesBuilder( int index) { return getTradingStatusesFieldBuilder().addBuilder( index, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.getDefaultInstance()); } /** *
     *Массив информации о торговых статусах
     * 
* * repeated .tinkoff.public.invest.api.contract.v1.GetTradingStatusResponse trading_statuses = 1; */ public java.util.List getTradingStatusesBuilderList() { return getTradingStatusesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.Builder, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponseOrBuilder> getTradingStatusesFieldBuilder() { if (tradingStatusesBuilder_ == null) { tradingStatusesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponse.Builder, ru.tinkoff.piapi.contract.v1.GetTradingStatusResponseOrBuilder>( tradingStatuses_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tradingStatuses_ = null; } return tradingStatusesBuilder_; } @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.GetTradingStatusesResponse) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.GetTradingStatusesResponse) private static final ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse(); } public static ru.tinkoff.piapi.contract.v1.GetTradingStatusesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTradingStatusesResponse 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.GetTradingStatusesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy