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

ru.tinkoff.piapi.contract.v1.PositionsMoney 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.PositionsMoney} */ public final class PositionsMoney extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.PositionsMoney) PositionsMoneyOrBuilder { private static final long serialVersionUID = 0L; // Use PositionsMoney.newBuilder() to construct. private PositionsMoney(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PositionsMoney() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PositionsMoney(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_PositionsMoney_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_PositionsMoney_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.PositionsMoney.class, ru.tinkoff.piapi.contract.v1.PositionsMoney.Builder.class); } public static final int AVAILABLE_VALUE_FIELD_NUMBER = 1; private ru.tinkoff.piapi.contract.v1.MoneyValue availableValue_; /** *
   *Доступное количество валютный позиций.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; * @return Whether the availableValue field is set. */ @java.lang.Override public boolean hasAvailableValue() { return availableValue_ != null; } /** *
   *Доступное количество валютный позиций.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; * @return The availableValue. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValue getAvailableValue() { return availableValue_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : availableValue_; } /** *
   *Доступное количество валютный позиций.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getAvailableValueOrBuilder() { return availableValue_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : availableValue_; } public static final int BLOCKED_VALUE_FIELD_NUMBER = 2; private ru.tinkoff.piapi.contract.v1.MoneyValue blockedValue_; /** *
   *Заблокированное количество валютный позиций.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; * @return Whether the blockedValue field is set. */ @java.lang.Override public boolean hasBlockedValue() { return blockedValue_ != null; } /** *
   *Заблокированное количество валютный позиций.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; * @return The blockedValue. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValue getBlockedValue() { return blockedValue_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : blockedValue_; } /** *
   *Заблокированное количество валютный позиций.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getBlockedValueOrBuilder() { return blockedValue_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : blockedValue_; } 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 { if (availableValue_ != null) { output.writeMessage(1, getAvailableValue()); } if (blockedValue_ != null) { output.writeMessage(2, getBlockedValue()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (availableValue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAvailableValue()); } if (blockedValue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getBlockedValue()); } 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.PositionsMoney)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.PositionsMoney other = (ru.tinkoff.piapi.contract.v1.PositionsMoney) obj; if (hasAvailableValue() != other.hasAvailableValue()) return false; if (hasAvailableValue()) { if (!getAvailableValue() .equals(other.getAvailableValue())) return false; } if (hasBlockedValue() != other.hasBlockedValue()) return false; if (hasBlockedValue()) { if (!getBlockedValue() .equals(other.getBlockedValue())) 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 (hasAvailableValue()) { hash = (37 * hash) + AVAILABLE_VALUE_FIELD_NUMBER; hash = (53 * hash) + getAvailableValue().hashCode(); } if (hasBlockedValue()) { hash = (37 * hash) + BLOCKED_VALUE_FIELD_NUMBER; hash = (53 * hash) + getBlockedValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.PositionsMoney parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.PositionsMoney 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.PositionsMoney parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.PositionsMoney 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.PositionsMoney parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.PositionsMoney 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.PositionsMoney parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.PositionsMoney 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.PositionsMoney parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.PositionsMoney 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.PositionsMoney 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.PositionsMoney 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.PositionsMoney 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.PositionsMoney} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.PositionsMoney) ru.tinkoff.piapi.contract.v1.PositionsMoneyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_PositionsMoney_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_PositionsMoney_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.PositionsMoney.class, ru.tinkoff.piapi.contract.v1.PositionsMoney.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.PositionsMoney.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; availableValue_ = null; if (availableValueBuilder_ != null) { availableValueBuilder_.dispose(); availableValueBuilder_ = null; } blockedValue_ = null; if (blockedValueBuilder_ != null) { blockedValueBuilder_.dispose(); blockedValueBuilder_ = null; } 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_PositionsMoney_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.PositionsMoney getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.PositionsMoney.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.PositionsMoney build() { ru.tinkoff.piapi.contract.v1.PositionsMoney result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.PositionsMoney buildPartial() { ru.tinkoff.piapi.contract.v1.PositionsMoney result = new ru.tinkoff.piapi.contract.v1.PositionsMoney(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ru.tinkoff.piapi.contract.v1.PositionsMoney result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.availableValue_ = availableValueBuilder_ == null ? availableValue_ : availableValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.blockedValue_ = blockedValueBuilder_ == null ? blockedValue_ : blockedValueBuilder_.build(); } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.PositionsMoney) { return mergeFrom((ru.tinkoff.piapi.contract.v1.PositionsMoney)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.PositionsMoney other) { if (other == ru.tinkoff.piapi.contract.v1.PositionsMoney.getDefaultInstance()) return this; if (other.hasAvailableValue()) { mergeAvailableValue(other.getAvailableValue()); } if (other.hasBlockedValue()) { mergeBlockedValue(other.getBlockedValue()); } 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: { input.readMessage( getAvailableValueFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getBlockedValueFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 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 ru.tinkoff.piapi.contract.v1.MoneyValue availableValue_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> availableValueBuilder_; /** *
     *Доступное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; * @return Whether the availableValue field is set. */ public boolean hasAvailableValue() { return ((bitField0_ & 0x00000001) != 0); } /** *
     *Доступное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; * @return The availableValue. */ public ru.tinkoff.piapi.contract.v1.MoneyValue getAvailableValue() { if (availableValueBuilder_ == null) { return availableValue_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : availableValue_; } else { return availableValueBuilder_.getMessage(); } } /** *
     *Доступное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; */ public Builder setAvailableValue(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (availableValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } availableValue_ = value; } else { availableValueBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     *Доступное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; */ public Builder setAvailableValue( ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) { if (availableValueBuilder_ == null) { availableValue_ = builderForValue.build(); } else { availableValueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     *Доступное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; */ public Builder mergeAvailableValue(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (availableValueBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && availableValue_ != null && availableValue_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) { getAvailableValueBuilder().mergeFrom(value); } else { availableValue_ = value; } } else { availableValueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     *Доступное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; */ public Builder clearAvailableValue() { bitField0_ = (bitField0_ & ~0x00000001); availableValue_ = null; if (availableValueBuilder_ != null) { availableValueBuilder_.dispose(); availableValueBuilder_ = null; } onChanged(); return this; } /** *
     *Доступное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; */ public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getAvailableValueBuilder() { bitField0_ |= 0x00000001; onChanged(); return getAvailableValueFieldBuilder().getBuilder(); } /** *
     *Доступное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; */ public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getAvailableValueOrBuilder() { if (availableValueBuilder_ != null) { return availableValueBuilder_.getMessageOrBuilder(); } else { return availableValue_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : availableValue_; } } /** *
     *Доступное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue available_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> getAvailableValueFieldBuilder() { if (availableValueBuilder_ == null) { availableValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>( getAvailableValue(), getParentForChildren(), isClean()); availableValue_ = null; } return availableValueBuilder_; } private ru.tinkoff.piapi.contract.v1.MoneyValue blockedValue_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> blockedValueBuilder_; /** *
     *Заблокированное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; * @return Whether the blockedValue field is set. */ public boolean hasBlockedValue() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *Заблокированное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; * @return The blockedValue. */ public ru.tinkoff.piapi.contract.v1.MoneyValue getBlockedValue() { if (blockedValueBuilder_ == null) { return blockedValue_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : blockedValue_; } else { return blockedValueBuilder_.getMessage(); } } /** *
     *Заблокированное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; */ public Builder setBlockedValue(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (blockedValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blockedValue_ = value; } else { blockedValueBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     *Заблокированное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; */ public Builder setBlockedValue( ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) { if (blockedValueBuilder_ == null) { blockedValue_ = builderForValue.build(); } else { blockedValueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     *Заблокированное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; */ public Builder mergeBlockedValue(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (blockedValueBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && blockedValue_ != null && blockedValue_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) { getBlockedValueBuilder().mergeFrom(value); } else { blockedValue_ = value; } } else { blockedValueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     *Заблокированное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; */ public Builder clearBlockedValue() { bitField0_ = (bitField0_ & ~0x00000002); blockedValue_ = null; if (blockedValueBuilder_ != null) { blockedValueBuilder_.dispose(); blockedValueBuilder_ = null; } onChanged(); return this; } /** *
     *Заблокированное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; */ public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getBlockedValueBuilder() { bitField0_ |= 0x00000002; onChanged(); return getBlockedValueFieldBuilder().getBuilder(); } /** *
     *Заблокированное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; */ public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getBlockedValueOrBuilder() { if (blockedValueBuilder_ != null) { return blockedValueBuilder_.getMessageOrBuilder(); } else { return blockedValue_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : blockedValue_; } } /** *
     *Заблокированное количество валютный позиций.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue blocked_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> getBlockedValueFieldBuilder() { if (blockedValueBuilder_ == null) { blockedValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>( getBlockedValue(), getParentForChildren(), isClean()); blockedValue_ = null; } return blockedValueBuilder_; } @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.PositionsMoney) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.PositionsMoney) private static final ru.tinkoff.piapi.contract.v1.PositionsMoney DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.PositionsMoney(); } public static ru.tinkoff.piapi.contract.v1.PositionsMoney getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PositionsMoney 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.PositionsMoney getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy