Class SubscribeInfoRequest.Builder

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

public static final class SubscribeInfoRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SubscribeInfoRequest.Builder> implements SubscribeInfoRequestOrBuilder
Изменение статуса подписки на торговый статус инструмента.
 
Protobuf type tinkoff.public.invest.api.contract.v1.SubscribeInfoRequest
  • 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<SubscribeInfoRequest.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<SubscribeInfoRequest.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<SubscribeInfoRequest.Builder>
    • getDefaultInstanceForType

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

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

      public SubscribeInfoRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<SubscribeInfoRequest.Builder>
    • setField

      public SubscribeInfoRequest.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<SubscribeInfoRequest.Builder>
    • clearField

      public SubscribeInfoRequest.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<SubscribeInfoRequest.Builder>
    • clearOneof

      public SubscribeInfoRequest.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<SubscribeInfoRequest.Builder>
    • setRepeatedField

      public SubscribeInfoRequest.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<SubscribeInfoRequest.Builder>
    • addRepeatedField

      public SubscribeInfoRequest.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<SubscribeInfoRequest.Builder>
    • mergeFrom

      public SubscribeInfoRequest.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<SubscribeInfoRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public SubscribeInfoRequest.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<SubscribeInfoRequest.Builder>
      Throws:
      IOException
    • getSubscriptionActionValue

      public int getSubscriptionActionValue()
      Изменение статуса подписки.
       
      .tinkoff.public.invest.api.contract.v1.SubscriptionAction subscription_action = 1;
      Specified by:
      getSubscriptionActionValue in interface SubscribeInfoRequestOrBuilder
      Returns:
      The enum numeric value on the wire for subscriptionAction.
    • setSubscriptionActionValue

      public SubscribeInfoRequest.Builder setSubscriptionActionValue(int value)
      Изменение статуса подписки.
       
      .tinkoff.public.invest.api.contract.v1.SubscriptionAction subscription_action = 1;
      Parameters:
      value - The enum numeric value on the wire for subscriptionAction to set.
      Returns:
      This builder for chaining.
    • getSubscriptionAction

      public SubscriptionAction getSubscriptionAction()
      Изменение статуса подписки.
       
      .tinkoff.public.invest.api.contract.v1.SubscriptionAction subscription_action = 1;
      Specified by:
      getSubscriptionAction in interface SubscribeInfoRequestOrBuilder
      Returns:
      The subscriptionAction.
    • setSubscriptionAction

      public SubscribeInfoRequest.Builder setSubscriptionAction(SubscriptionAction value)
      Изменение статуса подписки.
       
      .tinkoff.public.invest.api.contract.v1.SubscriptionAction subscription_action = 1;
      Parameters:
      value - The subscriptionAction to set.
      Returns:
      This builder for chaining.
    • clearSubscriptionAction

      public SubscribeInfoRequest.Builder clearSubscriptionAction()
      Изменение статуса подписки.
       
      .tinkoff.public.invest.api.contract.v1.SubscriptionAction subscription_action = 1;
      Returns:
      This builder for chaining.
    • getInstrumentsList

      public List<InfoInstrument> getInstrumentsList()
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
      Specified by:
      getInstrumentsList in interface SubscribeInfoRequestOrBuilder
    • getInstrumentsCount

      public int getInstrumentsCount()
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
      Specified by:
      getInstrumentsCount in interface SubscribeInfoRequestOrBuilder
    • getInstruments

      public InfoInstrument getInstruments(int index)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
      Specified by:
      getInstruments in interface SubscribeInfoRequestOrBuilder
    • setInstruments

      public SubscribeInfoRequest.Builder setInstruments(int index, InfoInstrument value)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • setInstruments

      public SubscribeInfoRequest.Builder setInstruments(int index, InfoInstrument.Builder builderForValue)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • addInstruments

      public SubscribeInfoRequest.Builder addInstruments(InfoInstrument value)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • addInstruments

      public SubscribeInfoRequest.Builder addInstruments(int index, InfoInstrument value)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • addInstruments

      public SubscribeInfoRequest.Builder addInstruments(InfoInstrument.Builder builderForValue)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • addInstruments

      public SubscribeInfoRequest.Builder addInstruments(int index, InfoInstrument.Builder builderForValue)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • addAllInstruments

      public SubscribeInfoRequest.Builder addAllInstruments(Iterable<? extends InfoInstrument> values)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • clearInstruments

      public SubscribeInfoRequest.Builder clearInstruments()
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • removeInstruments

      public SubscribeInfoRequest.Builder removeInstruments(int index)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • getInstrumentsBuilder

      public InfoInstrument.Builder getInstrumentsBuilder(int index)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • getInstrumentsOrBuilder

      public InfoInstrumentOrBuilder getInstrumentsOrBuilder(int index)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
      Specified by:
      getInstrumentsOrBuilder in interface SubscribeInfoRequestOrBuilder
    • getInstrumentsOrBuilderList

      public List<? extends InfoInstrumentOrBuilder> getInstrumentsOrBuilderList()
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
      Specified by:
      getInstrumentsOrBuilderList in interface SubscribeInfoRequestOrBuilder
    • addInstrumentsBuilder

      public InfoInstrument.Builder addInstrumentsBuilder()
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • addInstrumentsBuilder

      public InfoInstrument.Builder addInstrumentsBuilder(int index)
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • getInstrumentsBuilderList

      public List<InfoInstrument.Builder> getInstrumentsBuilderList()
      Массив инструментов для подписки на торговый статус.
       
      repeated .tinkoff.public.invest.api.contract.v1.InfoInstrument instruments = 2;
    • setUnknownFields

      public final SubscribeInfoRequest.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<SubscribeInfoRequest.Builder>
    • mergeUnknownFields

      public final SubscribeInfoRequest.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<SubscribeInfoRequest.Builder>