Class SubscribeCandlesResponse.Builder

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

public static final class SubscribeCandlesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SubscribeCandlesResponse.Builder> implements SubscribeCandlesResponseOrBuilder
Результат изменения статус подписки на свечи.
 
Protobuf type tinkoff.public.invest.api.contract.v1.SubscribeCandlesResponse
  • 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<SubscribeCandlesResponse.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<SubscribeCandlesResponse.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<SubscribeCandlesResponse.Builder>
    • getDefaultInstanceForType

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

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

      public SubscribeCandlesResponse 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<SubscribeCandlesResponse.Builder>
    • setField

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

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

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

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

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

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

      public SubscribeCandlesResponse.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<SubscribeCandlesResponse.Builder>
      Throws:
      IOException
    • getTrackingId

      public String getTrackingId()
      Уникальный идентификатор запроса, подробнее: [tracking_id](https://tinkoff.github.io/investAPI/grpc#tracking-id).
       
      string tracking_id = 1;
      Specified by:
      getTrackingId in interface SubscribeCandlesResponseOrBuilder
      Returns:
      The trackingId.
    • getTrackingIdBytes

      public com.google.protobuf.ByteString getTrackingIdBytes()
      Уникальный идентификатор запроса, подробнее: [tracking_id](https://tinkoff.github.io/investAPI/grpc#tracking-id).
       
      string tracking_id = 1;
      Specified by:
      getTrackingIdBytes in interface SubscribeCandlesResponseOrBuilder
      Returns:
      The bytes for trackingId.
    • setTrackingId

      public SubscribeCandlesResponse.Builder setTrackingId(String value)
      Уникальный идентификатор запроса, подробнее: [tracking_id](https://tinkoff.github.io/investAPI/grpc#tracking-id).
       
      string tracking_id = 1;
      Parameters:
      value - The trackingId to set.
      Returns:
      This builder for chaining.
    • clearTrackingId

      public SubscribeCandlesResponse.Builder clearTrackingId()
      Уникальный идентификатор запроса, подробнее: [tracking_id](https://tinkoff.github.io/investAPI/grpc#tracking-id).
       
      string tracking_id = 1;
      Returns:
      This builder for chaining.
    • setTrackingIdBytes

      public SubscribeCandlesResponse.Builder setTrackingIdBytes(com.google.protobuf.ByteString value)
      Уникальный идентификатор запроса, подробнее: [tracking_id](https://tinkoff.github.io/investAPI/grpc#tracking-id).
       
      string tracking_id = 1;
      Parameters:
      value - The bytes for trackingId to set.
      Returns:
      This builder for chaining.
    • getCandlesSubscriptionsList

      public List<CandleSubscription> getCandlesSubscriptionsList()
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
      Specified by:
      getCandlesSubscriptionsList in interface SubscribeCandlesResponseOrBuilder
    • getCandlesSubscriptionsCount

      public int getCandlesSubscriptionsCount()
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
      Specified by:
      getCandlesSubscriptionsCount in interface SubscribeCandlesResponseOrBuilder
    • getCandlesSubscriptions

      public CandleSubscription getCandlesSubscriptions(int index)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
      Specified by:
      getCandlesSubscriptions in interface SubscribeCandlesResponseOrBuilder
    • setCandlesSubscriptions

      public SubscribeCandlesResponse.Builder setCandlesSubscriptions(int index, CandleSubscription value)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • setCandlesSubscriptions

      public SubscribeCandlesResponse.Builder setCandlesSubscriptions(int index, CandleSubscription.Builder builderForValue)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • addCandlesSubscriptions

      public SubscribeCandlesResponse.Builder addCandlesSubscriptions(CandleSubscription value)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • addCandlesSubscriptions

      public SubscribeCandlesResponse.Builder addCandlesSubscriptions(int index, CandleSubscription value)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • addCandlesSubscriptions

      public SubscribeCandlesResponse.Builder addCandlesSubscriptions(CandleSubscription.Builder builderForValue)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • addCandlesSubscriptions

      public SubscribeCandlesResponse.Builder addCandlesSubscriptions(int index, CandleSubscription.Builder builderForValue)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • addAllCandlesSubscriptions

      public SubscribeCandlesResponse.Builder addAllCandlesSubscriptions(Iterable<? extends CandleSubscription> values)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • clearCandlesSubscriptions

      public SubscribeCandlesResponse.Builder clearCandlesSubscriptions()
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • removeCandlesSubscriptions

      public SubscribeCandlesResponse.Builder removeCandlesSubscriptions(int index)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • getCandlesSubscriptionsBuilder

      public CandleSubscription.Builder getCandlesSubscriptionsBuilder(int index)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • getCandlesSubscriptionsOrBuilder

      public CandleSubscriptionOrBuilder getCandlesSubscriptionsOrBuilder(int index)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
      Specified by:
      getCandlesSubscriptionsOrBuilder in interface SubscribeCandlesResponseOrBuilder
    • getCandlesSubscriptionsOrBuilderList

      public List<? extends CandleSubscriptionOrBuilder> getCandlesSubscriptionsOrBuilderList()
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
      Specified by:
      getCandlesSubscriptionsOrBuilderList in interface SubscribeCandlesResponseOrBuilder
    • addCandlesSubscriptionsBuilder

      public CandleSubscription.Builder addCandlesSubscriptionsBuilder()
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • addCandlesSubscriptionsBuilder

      public CandleSubscription.Builder addCandlesSubscriptionsBuilder(int index)
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • getCandlesSubscriptionsBuilderList

      public List<CandleSubscription.Builder> getCandlesSubscriptionsBuilderList()
      Массив статусов подписки на свечи.
       
      repeated .tinkoff.public.invest.api.contract.v1.CandleSubscription candles_subscriptions = 2;
    • setUnknownFields

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

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