Class GetUserTariffResponse

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

public final class GetUserTariffResponse extends com.google.protobuf.GeneratedMessageV3 implements GetUserTariffResponseOrBuilder
Текущие лимиты пользователя.
 
Protobuf type tinkoff.public.invest.api.contract.v1.GetUserTariffResponse
See Also:
  • Field Details

    • UNARY_LIMITS_FIELD_NUMBER

      public static final int UNARY_LIMITS_FIELD_NUMBER
      See Also:
    • STREAM_LIMITS_FIELD_NUMBER

      public static final int STREAM_LIMITS_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
    • getUnaryLimitsList

      public List<UnaryLimit> getUnaryLimitsList()
      Массив лимитов пользователя по unary-запросам
       
      repeated .tinkoff.public.invest.api.contract.v1.UnaryLimit unary_limits = 1;
      Specified by:
      getUnaryLimitsList in interface GetUserTariffResponseOrBuilder
    • getUnaryLimitsOrBuilderList

      public List<? extends UnaryLimitOrBuilder> getUnaryLimitsOrBuilderList()
      Массив лимитов пользователя по unary-запросам
       
      repeated .tinkoff.public.invest.api.contract.v1.UnaryLimit unary_limits = 1;
      Specified by:
      getUnaryLimitsOrBuilderList in interface GetUserTariffResponseOrBuilder
    • getUnaryLimitsCount

      public int getUnaryLimitsCount()
      Массив лимитов пользователя по unary-запросам
       
      repeated .tinkoff.public.invest.api.contract.v1.UnaryLimit unary_limits = 1;
      Specified by:
      getUnaryLimitsCount in interface GetUserTariffResponseOrBuilder
    • getUnaryLimits

      public UnaryLimit getUnaryLimits(int index)
      Массив лимитов пользователя по unary-запросам
       
      repeated .tinkoff.public.invest.api.contract.v1.UnaryLimit unary_limits = 1;
      Specified by:
      getUnaryLimits in interface GetUserTariffResponseOrBuilder
    • getUnaryLimitsOrBuilder

      public UnaryLimitOrBuilder getUnaryLimitsOrBuilder(int index)
      Массив лимитов пользователя по unary-запросам
       
      repeated .tinkoff.public.invest.api.contract.v1.UnaryLimit unary_limits = 1;
      Specified by:
      getUnaryLimitsOrBuilder in interface GetUserTariffResponseOrBuilder
    • getStreamLimitsList

      public List<StreamLimit> getStreamLimitsList()
      Массив лимитов пользователей для stream-соединений
       
      repeated .tinkoff.public.invest.api.contract.v1.StreamLimit stream_limits = 2;
      Specified by:
      getStreamLimitsList in interface GetUserTariffResponseOrBuilder
    • getStreamLimitsOrBuilderList

      public List<? extends StreamLimitOrBuilder> getStreamLimitsOrBuilderList()
      Массив лимитов пользователей для stream-соединений
       
      repeated .tinkoff.public.invest.api.contract.v1.StreamLimit stream_limits = 2;
      Specified by:
      getStreamLimitsOrBuilderList in interface GetUserTariffResponseOrBuilder
    • getStreamLimitsCount

      public int getStreamLimitsCount()
      Массив лимитов пользователей для stream-соединений
       
      repeated .tinkoff.public.invest.api.contract.v1.StreamLimit stream_limits = 2;
      Specified by:
      getStreamLimitsCount in interface GetUserTariffResponseOrBuilder
    • getStreamLimits

      public StreamLimit getStreamLimits(int index)
      Массив лимитов пользователей для stream-соединений
       
      repeated .tinkoff.public.invest.api.contract.v1.StreamLimit stream_limits = 2;
      Specified by:
      getStreamLimits in interface GetUserTariffResponseOrBuilder
    • getStreamLimitsOrBuilder

      public StreamLimitOrBuilder getStreamLimitsOrBuilder(int index)
      Массив лимитов пользователей для stream-соединений
       
      repeated .tinkoff.public.invest.api.contract.v1.StreamLimit stream_limits = 2;
      Specified by:
      getStreamLimitsOrBuilder in interface GetUserTariffResponseOrBuilder
    • 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 GetUserTariffResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static GetUserTariffResponse.Builder newBuilder()
    • newBuilder

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

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

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

      public static GetUserTariffResponse getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<GetUserTariffResponse> 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 GetUserTariffResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder