Class GetInfoResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
ru.tinkoff.piapi.contract.v1.GetInfoResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, GetInfoResponseOrBuilder
Enclosing class:
GetInfoResponse

public static final class GetInfoResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder> implements GetInfoResponseOrBuilder
Информация о пользователе.
 
Protobuf type tinkoff.public.invest.api.contract.v1.GetInfoResponse
  • Method Details

    • 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.Builder<GetInfoResponse.Builder>
    • clear

      public GetInfoResponse.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
    • getDefaultInstanceForType

      public GetInfoResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GetInfoResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GetInfoResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public GetInfoResponse.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
    • setField

      public GetInfoResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
    • clearField

      public GetInfoResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
    • clearOneof

      public GetInfoResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
    • setRepeatedField

      public GetInfoResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
    • addRepeatedField

      public GetInfoResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
    • mergeFrom

      public GetInfoResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetInfoResponse.Builder>
    • mergeFrom

      public GetInfoResponse.Builder mergeFrom(GetInfoResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
    • mergeFrom

      public GetInfoResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetInfoResponse.Builder>
      Throws:
      IOException
    • getPremStatus

      public boolean getPremStatus()
      Признак премиум клиента.
       
      bool prem_status = 1;
      Specified by:
      getPremStatus in interface GetInfoResponseOrBuilder
      Returns:
      The premStatus.
    • setPremStatus

      public GetInfoResponse.Builder setPremStatus(boolean value)
      Признак премиум клиента.
       
      bool prem_status = 1;
      Parameters:
      value - The premStatus to set.
      Returns:
      This builder for chaining.
    • clearPremStatus

      public GetInfoResponse.Builder clearPremStatus()
      Признак премиум клиента.
       
      bool prem_status = 1;
      Returns:
      This builder for chaining.
    • getQualStatus

      public boolean getQualStatus()
      Признак квалифицированного инвестора.
       
      bool qual_status = 2;
      Specified by:
      getQualStatus in interface GetInfoResponseOrBuilder
      Returns:
      The qualStatus.
    • setQualStatus

      public GetInfoResponse.Builder setQualStatus(boolean value)
      Признак квалифицированного инвестора.
       
      bool qual_status = 2;
      Parameters:
      value - The qualStatus to set.
      Returns:
      This builder for chaining.
    • clearQualStatus

      public GetInfoResponse.Builder clearQualStatus()
      Признак квалифицированного инвестора.
       
      bool qual_status = 2;
      Returns:
      This builder for chaining.
    • getQualifiedForWorkWithList

      public com.google.protobuf.ProtocolStringList getQualifiedForWorkWithList()
      Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://tinkoff.github.io/investAPI/faq_users/).
       
      repeated string qualified_for_work_with = 3;
      Specified by:
      getQualifiedForWorkWithList in interface GetInfoResponseOrBuilder
      Returns:
      A list containing the qualifiedForWorkWith.
    • getQualifiedForWorkWithCount

      public int getQualifiedForWorkWithCount()
      Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://tinkoff.github.io/investAPI/faq_users/).
       
      repeated string qualified_for_work_with = 3;
      Specified by:
      getQualifiedForWorkWithCount in interface GetInfoResponseOrBuilder
      Returns:
      The count of qualifiedForWorkWith.
    • getQualifiedForWorkWith

      public String getQualifiedForWorkWith(int index)
      Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://tinkoff.github.io/investAPI/faq_users/).
       
      repeated string qualified_for_work_with = 3;
      Specified by:
      getQualifiedForWorkWith in interface GetInfoResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The qualifiedForWorkWith at the given index.
    • getQualifiedForWorkWithBytes

      public com.google.protobuf.ByteString getQualifiedForWorkWithBytes(int index)
      Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://tinkoff.github.io/investAPI/faq_users/).
       
      repeated string qualified_for_work_with = 3;
      Specified by:
      getQualifiedForWorkWithBytes in interface GetInfoResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the qualifiedForWorkWith at the given index.
    • setQualifiedForWorkWith

      public GetInfoResponse.Builder setQualifiedForWorkWith(int index, String value)
      Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://tinkoff.github.io/investAPI/faq_users/).
       
      repeated string qualified_for_work_with = 3;
      Parameters:
      index - The index to set the value at.
      value - The qualifiedForWorkWith to set.
      Returns:
      This builder for chaining.
    • addQualifiedForWorkWith

      public GetInfoResponse.Builder addQualifiedForWorkWith(String value)
      Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://tinkoff.github.io/investAPI/faq_users/).
       
      repeated string qualified_for_work_with = 3;
      Parameters:
      value - The qualifiedForWorkWith to add.
      Returns:
      This builder for chaining.
    • addAllQualifiedForWorkWith

      public GetInfoResponse.Builder addAllQualifiedForWorkWith(Iterable<String> values)
      Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://tinkoff.github.io/investAPI/faq_users/).
       
      repeated string qualified_for_work_with = 3;
      Parameters:
      values - The qualifiedForWorkWith to add.
      Returns:
      This builder for chaining.
    • clearQualifiedForWorkWith

      public GetInfoResponse.Builder clearQualifiedForWorkWith()
      Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://tinkoff.github.io/investAPI/faq_users/).
       
      repeated string qualified_for_work_with = 3;
      Returns:
      This builder for chaining.
    • addQualifiedForWorkWithBytes

      public GetInfoResponse.Builder addQualifiedForWorkWithBytes(com.google.protobuf.ByteString value)
      Набор требующих тестирования инструментов и возможностей, с которыми может работать пользователь. [Подробнее](https://tinkoff.github.io/investAPI/faq_users/).
       
      repeated string qualified_for_work_with = 3;
      Parameters:
      value - The bytes of the qualifiedForWorkWith to add.
      Returns:
      This builder for chaining.
    • getTariff

      public String getTariff()
      Наименование тарифа пользователя.
       
      string tariff = 4;
      Specified by:
      getTariff in interface GetInfoResponseOrBuilder
      Returns:
      The tariff.
    • getTariffBytes

      public com.google.protobuf.ByteString getTariffBytes()
      Наименование тарифа пользователя.
       
      string tariff = 4;
      Specified by:
      getTariffBytes in interface GetInfoResponseOrBuilder
      Returns:
      The bytes for tariff.
    • setTariff

      public GetInfoResponse.Builder setTariff(String value)
      Наименование тарифа пользователя.
       
      string tariff = 4;
      Parameters:
      value - The tariff to set.
      Returns:
      This builder for chaining.
    • clearTariff

      public GetInfoResponse.Builder clearTariff()
      Наименование тарифа пользователя.
       
      string tariff = 4;
      Returns:
      This builder for chaining.
    • setTariffBytes

      public GetInfoResponse.Builder setTariffBytes(com.google.protobuf.ByteString value)
      Наименование тарифа пользователя.
       
      string tariff = 4;
      Parameters:
      value - The bytes for tariff to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GetInfoResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>
    • mergeUnknownFields

      public final GetInfoResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetInfoResponse.Builder>