Class GetFuturesMarginResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.GetFuturesMarginResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, GetFuturesMarginResponseOrBuilder

public final class GetFuturesMarginResponse extends com.google.protobuf.GeneratedMessageV3 implements GetFuturesMarginResponseOrBuilder
Данные по фьючерсу
 
Protobuf type tinkoff.public.invest.api.contract.v1.GetFuturesMarginResponse
See Also:
  • Field Details

    • INITIAL_MARGIN_ON_BUY_FIELD_NUMBER

      public static final int INITIAL_MARGIN_ON_BUY_FIELD_NUMBER
      See Also:
    • INITIAL_MARGIN_ON_SELL_FIELD_NUMBER

      public static final int INITIAL_MARGIN_ON_SELL_FIELD_NUMBER
      See Also:
    • MIN_PRICE_INCREMENT_FIELD_NUMBER

      public static final int MIN_PRICE_INCREMENT_FIELD_NUMBER
      See Also:
    • MIN_PRICE_INCREMENT_AMOUNT_FIELD_NUMBER

      public static final int MIN_PRICE_INCREMENT_AMOUNT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasInitialMarginOnBuy

      public boolean hasInitialMarginOnBuy()
      Гарантийное обеспечение при покупке.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue initial_margin_on_buy = 1;
      Specified by:
      hasInitialMarginOnBuy in interface GetFuturesMarginResponseOrBuilder
      Returns:
      Whether the initialMarginOnBuy field is set.
    • getInitialMarginOnBuy

      public MoneyValue getInitialMarginOnBuy()
      Гарантийное обеспечение при покупке.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue initial_margin_on_buy = 1;
      Specified by:
      getInitialMarginOnBuy in interface GetFuturesMarginResponseOrBuilder
      Returns:
      The initialMarginOnBuy.
    • getInitialMarginOnBuyOrBuilder

      public MoneyValueOrBuilder getInitialMarginOnBuyOrBuilder()
      Гарантийное обеспечение при покупке.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue initial_margin_on_buy = 1;
      Specified by:
      getInitialMarginOnBuyOrBuilder in interface GetFuturesMarginResponseOrBuilder
    • hasInitialMarginOnSell

      public boolean hasInitialMarginOnSell()
      Гарантийное обеспечение при продаже.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue initial_margin_on_sell = 2;
      Specified by:
      hasInitialMarginOnSell in interface GetFuturesMarginResponseOrBuilder
      Returns:
      Whether the initialMarginOnSell field is set.
    • getInitialMarginOnSell

      public MoneyValue getInitialMarginOnSell()
      Гарантийное обеспечение при продаже.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue initial_margin_on_sell = 2;
      Specified by:
      getInitialMarginOnSell in interface GetFuturesMarginResponseOrBuilder
      Returns:
      The initialMarginOnSell.
    • getInitialMarginOnSellOrBuilder

      public MoneyValueOrBuilder getInitialMarginOnSellOrBuilder()
      Гарантийное обеспечение при продаже.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue initial_margin_on_sell = 2;
      Specified by:
      getInitialMarginOnSellOrBuilder in interface GetFuturesMarginResponseOrBuilder
    • hasMinPriceIncrement

      public boolean hasMinPriceIncrement()
      Шаг цены.
       
      .tinkoff.public.invest.api.contract.v1.Quotation min_price_increment = 3;
      Specified by:
      hasMinPriceIncrement in interface GetFuturesMarginResponseOrBuilder
      Returns:
      Whether the minPriceIncrement field is set.
    • getMinPriceIncrement

      public Quotation getMinPriceIncrement()
      Шаг цены.
       
      .tinkoff.public.invest.api.contract.v1.Quotation min_price_increment = 3;
      Specified by:
      getMinPriceIncrement in interface GetFuturesMarginResponseOrBuilder
      Returns:
      The minPriceIncrement.
    • getMinPriceIncrementOrBuilder

      public QuotationOrBuilder getMinPriceIncrementOrBuilder()
      Шаг цены.
       
      .tinkoff.public.invest.api.contract.v1.Quotation min_price_increment = 3;
      Specified by:
      getMinPriceIncrementOrBuilder in interface GetFuturesMarginResponseOrBuilder
    • hasMinPriceIncrementAmount

      public boolean hasMinPriceIncrementAmount()
      Стоимость шага цены.
       
      .tinkoff.public.invest.api.contract.v1.Quotation min_price_increment_amount = 4;
      Specified by:
      hasMinPriceIncrementAmount in interface GetFuturesMarginResponseOrBuilder
      Returns:
      Whether the minPriceIncrementAmount field is set.
    • getMinPriceIncrementAmount

      public Quotation getMinPriceIncrementAmount()
      Стоимость шага цены.
       
      .tinkoff.public.invest.api.contract.v1.Quotation min_price_increment_amount = 4;
      Specified by:
      getMinPriceIncrementAmount in interface GetFuturesMarginResponseOrBuilder
      Returns:
      The minPriceIncrementAmount.
    • getMinPriceIncrementAmountOrBuilder

      public QuotationOrBuilder getMinPriceIncrementAmountOrBuilder()
      Стоимость шага цены.
       
      .tinkoff.public.invest.api.contract.v1.Quotation min_price_increment_amount = 4;
      Specified by:
      getMinPriceIncrementAmountOrBuilder in interface GetFuturesMarginResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GetFuturesMarginResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFuturesMarginResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFuturesMarginResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFuturesMarginResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFuturesMarginResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFuturesMarginResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFuturesMarginResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetFuturesMarginResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetFuturesMarginResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetFuturesMarginResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetFuturesMarginResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetFuturesMarginResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GetFuturesMarginResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GetFuturesMarginResponse.Builder newBuilder()
    • newBuilder

      public static GetFuturesMarginResponse.Builder newBuilder(GetFuturesMarginResponse prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GetFuturesMarginResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GetFuturesMarginResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GetFuturesMarginResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<GetFuturesMarginResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public GetFuturesMarginResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder