Package ru.tinkoff.piapi.contract.v1
Class SubscribeLastPriceRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
ru.tinkoff.piapi.contract.v1.SubscribeLastPriceRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,SubscribeLastPriceRequestOrBuilder
- Enclosing class:
SubscribeLastPriceRequest
public static final class SubscribeLastPriceRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
implements SubscribeLastPriceRequestOrBuilder
Изменение статуса подписки на цену последней сделки по инструменту.Protobuf type
tinkoff.public.invest.api.contract.v1.SubscribeLastPriceRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllInstruments(Iterable<? extends LastPriceInstrument> values) Массив инструментов для подписки на цену последней сделки.addInstruments(int index, LastPriceInstrument value) Массив инструментов для подписки на цену последней сделки.addInstruments(int index, LastPriceInstrument.Builder builderForValue) Массив инструментов для подписки на цену последней сделки.Массив инструментов для подписки на цену последней сделки.addInstruments(LastPriceInstrument.Builder builderForValue) Массив инструментов для подписки на цену последней сделки.Массив инструментов для подписки на цену последней сделки.addInstrumentsBuilder(int index) Массив инструментов для подписки на цену последней сделки.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Массив инструментов для подписки на цену последней сделки.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Изменение статуса подписки.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInstruments(int index) Массив инструментов для подписки на цену последней сделки.getInstrumentsBuilder(int index) Массив инструментов для подписки на цену последней сделки.Массив инструментов для подписки на цену последней сделки.intМассив инструментов для подписки на цену последней сделки.Массив инструментов для подписки на цену последней сделки.getInstrumentsOrBuilder(int index) Массив инструментов для подписки на цену последней сделки.List<? extends LastPriceInstrumentOrBuilder>Массив инструментов для подписки на цену последней сделки.Изменение статуса подписки.intИзменение статуса подписки.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeInstruments(int index) Массив инструментов для подписки на цену последней сделки.setInstruments(int index, LastPriceInstrument value) Массив инструментов для подписки на цену последней сделки.setInstruments(int index, LastPriceInstrument.Builder builderForValue) Массив инструментов для подписки на цену последней сделки.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Изменение статуса подписки.setSubscriptionActionValue(int value) Изменение статуса подписки.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
setField
public SubscribeLastPriceRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
clearField
public SubscribeLastPriceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
clearOneof
public SubscribeLastPriceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
setRepeatedField
public SubscribeLastPriceRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
addRepeatedField
public SubscribeLastPriceRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SubscribeLastPriceRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
mergeFrom
public SubscribeLastPriceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SubscribeLastPriceRequest.Builder>- Throws:
IOException
-
getSubscriptionActionValue
public int getSubscriptionActionValue()Изменение статуса подписки.
.tinkoff.public.invest.api.contract.v1.SubscriptionAction subscription_action = 1;- Specified by:
getSubscriptionActionValuein interfaceSubscribeLastPriceRequestOrBuilder- Returns:
- The enum numeric value on the wire for subscriptionAction.
-
setSubscriptionActionValue
Изменение статуса подписки.
.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
Изменение статуса подписки.
.tinkoff.public.invest.api.contract.v1.SubscriptionAction subscription_action = 1;- Specified by:
getSubscriptionActionin interfaceSubscribeLastPriceRequestOrBuilder- Returns:
- The subscriptionAction.
-
setSubscriptionAction
Изменение статуса подписки.
.tinkoff.public.invest.api.contract.v1.SubscriptionAction subscription_action = 1;- Parameters:
value- The subscriptionAction to set.- Returns:
- This builder for chaining.
-
clearSubscriptionAction
Изменение статуса подписки.
.tinkoff.public.invest.api.contract.v1.SubscriptionAction subscription_action = 1;- Returns:
- This builder for chaining.
-
getInstrumentsList
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2;- Specified by:
getInstrumentsListin interfaceSubscribeLastPriceRequestOrBuilder
-
getInstrumentsCount
public int getInstrumentsCount()Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2;- Specified by:
getInstrumentsCountin interfaceSubscribeLastPriceRequestOrBuilder
-
getInstruments
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2;- Specified by:
getInstrumentsin interfaceSubscribeLastPriceRequestOrBuilder
-
setInstruments
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
setInstruments
public SubscribeLastPriceRequest.Builder setInstruments(int index, LastPriceInstrument.Builder builderForValue) Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
addInstruments
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
addInstruments
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
addInstruments
public SubscribeLastPriceRequest.Builder addInstruments(LastPriceInstrument.Builder builderForValue) Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
addInstruments
public SubscribeLastPriceRequest.Builder addInstruments(int index, LastPriceInstrument.Builder builderForValue) Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
addAllInstruments
public SubscribeLastPriceRequest.Builder addAllInstruments(Iterable<? extends LastPriceInstrument> values) Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
clearInstruments
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
removeInstruments
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
getInstrumentsBuilder
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
getInstrumentsOrBuilder
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2;- Specified by:
getInstrumentsOrBuilderin interfaceSubscribeLastPriceRequestOrBuilder
-
getInstrumentsOrBuilderList
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2;- Specified by:
getInstrumentsOrBuilderListin interfaceSubscribeLastPriceRequestOrBuilder
-
addInstrumentsBuilder
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
addInstrumentsBuilder
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
getInstrumentsBuilderList
Массив инструментов для подписки на цену последней сделки.
repeated .tinkoff.public.invest.api.contract.v1.LastPriceInstrument instruments = 2; -
setUnknownFields
public final SubscribeLastPriceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-
mergeUnknownFields
public final SubscribeLastPriceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeLastPriceRequest.Builder>
-