implements
// @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.StopOrder)
ru.tinkoff.piapi.contract.v1.StopOrderOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ru.tinkoff.piapi.contract.v1.Stoporders.internal_static_tinkoff_public_invest_api_contract_v1_StopOrder_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ru.tinkoff.piapi.contract.v1.Stoporders.internal_static_tinkoff_public_invest_api_contract_v1_StopOrder_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ru.tinkoff.piapi.contract.v1.StopOrder.class, ru.tinkoff.piapi.contract.v1.StopOrder.Builder.class);
}
// Construct using ru.tinkoff.piapi.contract.v1.StopOrder.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
stopOrderId_ = "";
lotsRequested_ = 0L;
figi_ = "";
direction_ = 0;
currency_ = "";
orderType_ = 0;
createDate_ = null;
if (createDateBuilder_ != null) {
createDateBuilder_.dispose();
createDateBuilder_ = null;
}
activationDateTime_ = null;
if (activationDateTimeBuilder_ != null) {
activationDateTimeBuilder_.dispose();
activationDateTimeBuilder_ = null;
}
expirationTime_ = null;
if (expirationTimeBuilder_ != null) {
expirationTimeBuilder_.dispose();
expirationTimeBuilder_ = null;
}
price_ = null;
if (priceBuilder_ != null) {
priceBuilder_.dispose();
priceBuilder_ = null;
}
stopPrice_ = null;
if (stopPriceBuilder_ != null) {
stopPriceBuilder_.dispose();
stopPriceBuilder_ = null;
}
instrumentUid_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ru.tinkoff.piapi.contract.v1.Stoporders.internal_static_tinkoff_public_invest_api_contract_v1_StopOrder_descriptor;
}
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.StopOrder getDefaultInstanceForType() {
return ru.tinkoff.piapi.contract.v1.StopOrder.getDefaultInstance();
}
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.StopOrder build() {
ru.tinkoff.piapi.contract.v1.StopOrder result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.StopOrder buildPartial() {
ru.tinkoff.piapi.contract.v1.StopOrder result = new ru.tinkoff.piapi.contract.v1.StopOrder(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(ru.tinkoff.piapi.contract.v1.StopOrder result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.stopOrderId_ = stopOrderId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.lotsRequested_ = lotsRequested_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.figi_ = figi_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.direction_ = direction_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.currency_ = currency_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.orderType_ = orderType_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.createDate_ = createDateBuilder_ == null
? createDate_
: createDateBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.activationDateTime_ = activationDateTimeBuilder_ == null
? activationDateTime_
: activationDateTimeBuilder_.build();
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.expirationTime_ = expirationTimeBuilder_ == null
? expirationTime_
: expirationTimeBuilder_.build();
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.price_ = priceBuilder_ == null
? price_
: priceBuilder_.build();
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.stopPrice_ = stopPriceBuilder_ == null
? stopPrice_
: stopPriceBuilder_.build();
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.instrumentUid_ = instrumentUid_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ru.tinkoff.piapi.contract.v1.StopOrder) {
return mergeFrom((ru.tinkoff.piapi.contract.v1.StopOrder)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.StopOrder other) {
if (other == ru.tinkoff.piapi.contract.v1.StopOrder.getDefaultInstance()) return this;
if (!other.getStopOrderId().isEmpty()) {
stopOrderId_ = other.stopOrderId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getLotsRequested() != 0L) {
setLotsRequested(other.getLotsRequested());
}
if (!other.getFigi().isEmpty()) {
figi_ = other.figi_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.direction_ != 0) {
setDirectionValue(other.getDirectionValue());
}
if (!other.getCurrency().isEmpty()) {
currency_ = other.currency_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.orderType_ != 0) {
setOrderTypeValue(other.getOrderTypeValue());
}
if (other.hasCreateDate()) {
mergeCreateDate(other.getCreateDate());
}
if (other.hasActivationDateTime()) {
mergeActivationDateTime(other.getActivationDateTime());
}
if (other.hasExpirationTime()) {
mergeExpirationTime(other.getExpirationTime());
}
if (other.hasPrice()) {
mergePrice(other.getPrice());
}
if (other.hasStopPrice()) {
mergeStopPrice(other.getStopPrice());
}
if (!other.getInstrumentUid().isEmpty()) {
instrumentUid_ = other.instrumentUid_;
bitField0_ |= 0x00000800;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
stopOrderId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
lotsRequested_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
figi_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
direction_ = input.readEnum();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
currency_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 48: {
orderType_ = input.readEnum();
bitField0_ |= 0x00000020;
break;
} // case 48
case 58: {
input.readMessage(
getCreateDateFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
input.readMessage(
getActivationDateTimeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
input.readMessage(
getExpirationTimeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
input.readMessage(
getPriceFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
input.readMessage(
getStopPriceFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000400;
break;
} // case 90
case 98: {
instrumentUid_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 98
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object stopOrderId_ = "";
/**
*
*Идентификатор-идентификатор стоп-заявки.
*
*
* string stop_order_id = 1;
* @return The stopOrderId.
*/
public java.lang.String getStopOrderId() {
java.lang.Object ref = stopOrderId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
stopOrderId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*Идентификатор-идентификатор стоп-заявки.
*
*
* string stop_order_id = 1;
* @return The bytes for stopOrderId.
*/
public com.google.protobuf.ByteString
getStopOrderIdBytes() {
java.lang.Object ref = stopOrderId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stopOrderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*Идентификатор-идентификатор стоп-заявки.
*
*
* string stop_order_id = 1;
* @param value The stopOrderId to set.
* @return This builder for chaining.
*/
public Builder setStopOrderId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
stopOrderId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
*Идентификатор-идентификатор стоп-заявки.
*
*
* string stop_order_id = 1;
* @return This builder for chaining.
*/
public Builder clearStopOrderId() {
stopOrderId_ = getDefaultInstance().getStopOrderId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
*Идентификатор-идентификатор стоп-заявки.
*
*
* string stop_order_id = 1;
* @param value The bytes for stopOrderId to set.
* @return This builder for chaining.
*/
public Builder setStopOrderIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
stopOrderId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long lotsRequested_ ;
/**
*
*Запрошено лотов.
*
*
* int64 lots_requested = 2;
* @return The lotsRequested.
*/
@java.lang.Override
public long getLotsRequested() {
return lotsRequested_;
}
/**
*
*Запрошено лотов.
*
*
* int64 lots_requested = 2;
* @param value The lotsRequested to set.
* @return This builder for chaining.
*/
public Builder setLotsRequested(long value) {
lotsRequested_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
*Запрошено лотов.
*
*
* int64 lots_requested = 2;
* @return This builder for chaining.
*/
public Builder clearLotsRequested() {
bitField0_ = (bitField0_ & ~0x00000002);
lotsRequested_ = 0L;
onChanged();
return this;
}
private java.lang.Object figi_ = "";
/**
*
*Figi-идентификатор инструмента.
*
*
* string figi = 3;
* @return The figi.
*/
public java.lang.String getFigi() {
java.lang.Object ref = figi_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
figi_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*Figi-идентификатор инструмента.
*
*
* string figi = 3;
* @return The bytes for figi.
*/
public com.google.protobuf.ByteString
getFigiBytes() {
java.lang.Object ref = figi_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
figi_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*Figi-идентификатор инструмента.
*
*
* string figi = 3;
* @param value The figi to set.
* @return This builder for chaining.
*/
public Builder setFigi(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
figi_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
*Figi-идентификатор инструмента.
*
*
* string figi = 3;
* @return This builder for chaining.
*/
public Builder clearFigi() {
figi_ = getDefaultInstance().getFigi();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
*Figi-идентификатор инструмента.
*
*
* string figi = 3;
* @param value The bytes for figi to set.
* @return This builder for chaining.
*/
public Builder setFigiBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
figi_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private int direction_ = 0;
/**
*
*Направление операции.
*
*
* .tinkoff.public.invest.api.contract.v1.StopOrderDirection direction = 4;
* @return The enum numeric value on the wire for direction.
*/
@java.lang.Override public int getDirectionValue() {
return direction_;
}
/**
*
*Направление операции.
*
*
* .tinkoff.public.invest.api.contract.v1.StopOrderDirection direction = 4;
* @param value The enum numeric value on the wire for direction to set.
* @return This builder for chaining.
*/
public Builder setDirectionValue(int value) {
direction_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
*Направление операции.
*
*
* .tinkoff.public.invest.api.contract.v1.StopOrderDirection direction = 4;
* @return The direction.
*/
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.StopOrderDirection getDirection() {
ru.tinkoff.piapi.contract.v1.StopOrderDirection result = ru.tinkoff.piapi.contract.v1.StopOrderDirection.forNumber(direction_);
return result == null ? ru.tinkoff.piapi.contract.v1.StopOrderDirection.UNRECOGNIZED : result;
}
/**
*
*Направление операции.
*
*
* .tinkoff.public.invest.api.contract.v1.StopOrderDirection direction = 4;
* @param value The direction to set.
* @return This builder for chaining.
*/
public Builder setDirection(ru.tinkoff.piapi.contract.v1.StopOrderDirection value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
direction_ = value.getNumber();
onChanged();
return this;
}
/**
*
*Направление операции.
*
*
* .tinkoff.public.invest.api.contract.v1.StopOrderDirection direction = 4;
* @return This builder for chaining.
*/
public Builder clearDirection() {
bitField0_ = (bitField0_ & ~0x00000008);
direction_ = 0;
onChanged();
return this;
}
private java.lang.Object currency_ = "";
/**
*
*Валюта стоп-заявки.
*
*
* string currency = 5;
* @return The currency.
*/
public java.lang.String getCurrency() {
java.lang.Object ref = currency_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
currency_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*Валюта стоп-заявки.
*
*
* string currency = 5;
* @return The bytes for currency.
*/
public com.google.protobuf.ByteString
getCurrencyBytes() {
java.lang.Object ref = currency_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
currency_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*Валюта стоп-заявки.
*
*
* string currency = 5;
* @param value The currency to set.
* @return This builder for chaining.
*/
public Builder setCurrency(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
currency_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
*Валюта стоп-заявки.
*
*
* string currency = 5;
* @return This builder for chaining.
*/
public Builder clearCurrency() {
currency_ = getDefaultInstance().getCurrency();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
*
*Валюта стоп-заявки.
*
*
* string currency = 5;
* @param value The bytes for currency to set.
* @return This builder for chaining.
*/
public Builder setCurrencyBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
currency_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private int orderType_ = 0;
/**
*
*Тип стоп-заявки.
*
*
* .tinkoff.public.invest.api.contract.v1.StopOrderType order_type = 6;
* @return The enum numeric value on the wire for orderType.
*/
@java.lang.Override public int getOrderTypeValue() {
return orderType_;
}
/**
*
*Тип стоп-заявки.
*
*
* .tinkoff.public.invest.api.contract.v1.StopOrderType order_type = 6;
* @param value The enum numeric value on the wire for orderType to set.
* @return This builder for chaining.
*/
public Builder setOrderTypeValue(int value) {
orderType_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
*Тип стоп-заявки.
*
*
* .tinkoff.public.invest.api.contract.v1.StopOrderType order_type = 6;
* @return The orderType.
*/
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.StopOrderType getOrderType() {
ru.tinkoff.piapi.contract.v1.StopOrderType result = ru.tinkoff.piapi.contract.v1.StopOrderType.forNumber(orderType_);
return result == null ? ru.tinkoff.piapi.contract.v1.StopOrderType.UNRECOGNIZED : result;
}
/**
*
*Тип стоп-заявки.
*
*
* .tinkoff.public.invest.api.contract.v1.StopOrderType order_type = 6;
* @param value The orderType to set.
* @return This builder for chaining.
*/
public Builder setOrderType(ru.tinkoff.piapi.contract.v1.StopOrderType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
orderType_ = value.getNumber();
onChanged();
return this;
}
/**
*
*Тип стоп-заявки.
*
*
* .tinkoff.public.invest.api.contract.v1.StopOrderType order_type = 6;
* @return This builder for chaining.
*/
public Builder clearOrderType() {
bitField0_ = (bitField0_ & ~0x00000020);
orderType_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Timestamp createDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createDateBuilder_;
/**
*
*Дата и время выставления заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp create_date = 7;
* @return Whether the createDate field is set.
*/
public boolean hasCreateDate() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
*Дата и время выставления заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp create_date = 7;
* @return The createDate.
*/
public com.google.protobuf.Timestamp getCreateDate() {
if (createDateBuilder_ == null) {
return createDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createDate_;
} else {
return createDateBuilder_.getMessage();
}
}
/**
*
*Дата и время выставления заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp create_date = 7;
*/
public Builder setCreateDate(com.google.protobuf.Timestamp value) {
if (createDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createDate_ = value;
} else {
createDateBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
*Дата и время выставления заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp create_date = 7;
*/
public Builder setCreateDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createDateBuilder_ == null) {
createDate_ = builderForValue.build();
} else {
createDateBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
*Дата и время выставления заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp create_date = 7;
*/
public Builder mergeCreateDate(com.google.protobuf.Timestamp value) {
if (createDateBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
createDate_ != null &&
createDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getCreateDateBuilder().mergeFrom(value);
} else {
createDate_ = value;
}
} else {
createDateBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
*Дата и время выставления заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp create_date = 7;
*/
public Builder clearCreateDate() {
bitField0_ = (bitField0_ & ~0x00000040);
createDate_ = null;
if (createDateBuilder_ != null) {
createDateBuilder_.dispose();
createDateBuilder_ = null;
}
onChanged();
return this;
}
/**
*
*Дата и время выставления заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp create_date = 7;
*/
public com.google.protobuf.Timestamp.Builder getCreateDateBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getCreateDateFieldBuilder().getBuilder();
}
/**
*
*Дата и время выставления заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp create_date = 7;
*/
public com.google.protobuf.TimestampOrBuilder getCreateDateOrBuilder() {
if (createDateBuilder_ != null) {
return createDateBuilder_.getMessageOrBuilder();
} else {
return createDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : createDate_;
}
}
/**
*
*Дата и время выставления заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp create_date = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreateDateFieldBuilder() {
if (createDateBuilder_ == null) {
createDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreateDate(),
getParentForChildren(),
isClean());
createDate_ = null;
}
return createDateBuilder_;
}
private com.google.protobuf.Timestamp activationDateTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> activationDateTimeBuilder_;
/**
*
*Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp activation_date_time = 8;
* @return Whether the activationDateTime field is set.
*/
public boolean hasActivationDateTime() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
*Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp activation_date_time = 8;
* @return The activationDateTime.
*/
public com.google.protobuf.Timestamp getActivationDateTime() {
if (activationDateTimeBuilder_ == null) {
return activationDateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : activationDateTime_;
} else {
return activationDateTimeBuilder_.getMessage();
}
}
/**
*
*Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp activation_date_time = 8;
*/
public Builder setActivationDateTime(com.google.protobuf.Timestamp value) {
if (activationDateTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
activationDateTime_ = value;
} else {
activationDateTimeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
*Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp activation_date_time = 8;
*/
public Builder setActivationDateTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (activationDateTimeBuilder_ == null) {
activationDateTime_ = builderForValue.build();
} else {
activationDateTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
*Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp activation_date_time = 8;
*/
public Builder mergeActivationDateTime(com.google.protobuf.Timestamp value) {
if (activationDateTimeBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
activationDateTime_ != null &&
activationDateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getActivationDateTimeBuilder().mergeFrom(value);
} else {
activationDateTime_ = value;
}
} else {
activationDateTimeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
*Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp activation_date_time = 8;
*/
public Builder clearActivationDateTime() {
bitField0_ = (bitField0_ & ~0x00000080);
activationDateTime_ = null;
if (activationDateTimeBuilder_ != null) {
activationDateTimeBuilder_.dispose();
activationDateTimeBuilder_ = null;
}
onChanged();
return this;
}
/**
*
*Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp activation_date_time = 8;
*/
public com.google.protobuf.Timestamp.Builder getActivationDateTimeBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getActivationDateTimeFieldBuilder().getBuilder();
}
/**
*
*Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp activation_date_time = 8;
*/
public com.google.protobuf.TimestampOrBuilder getActivationDateTimeOrBuilder() {
if (activationDateTimeBuilder_ != null) {
return activationDateTimeBuilder_.getMessageOrBuilder();
} else {
return activationDateTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : activationDateTime_;
}
}
/**
*
*Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp activation_date_time = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getActivationDateTimeFieldBuilder() {
if (activationDateTimeBuilder_ == null) {
activationDateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getActivationDateTime(),
getParentForChildren(),
isClean());
activationDateTime_ = null;
}
return activationDateTimeBuilder_;
}
private com.google.protobuf.Timestamp expirationTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expirationTimeBuilder_;
/**
*
*Дата и время снятия заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp expiration_time = 9;
* @return Whether the expirationTime field is set.
*/
public boolean hasExpirationTime() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
*Дата и время снятия заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp expiration_time = 9;
* @return The expirationTime.
*/
public com.google.protobuf.Timestamp getExpirationTime() {
if (expirationTimeBuilder_ == null) {
return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_;
} else {
return expirationTimeBuilder_.getMessage();
}
}
/**
*
*Дата и время снятия заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp expiration_time = 9;
*/
public Builder setExpirationTime(com.google.protobuf.Timestamp value) {
if (expirationTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expirationTime_ = value;
} else {
expirationTimeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
*Дата и время снятия заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp expiration_time = 9;
*/
public Builder setExpirationTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (expirationTimeBuilder_ == null) {
expirationTime_ = builderForValue.build();
} else {
expirationTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
*Дата и время снятия заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp expiration_time = 9;
*/
public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) {
if (expirationTimeBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0) &&
expirationTime_ != null &&
expirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getExpirationTimeBuilder().mergeFrom(value);
} else {
expirationTime_ = value;
}
} else {
expirationTimeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
*Дата и время снятия заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp expiration_time = 9;
*/
public Builder clearExpirationTime() {
bitField0_ = (bitField0_ & ~0x00000100);
expirationTime_ = null;
if (expirationTimeBuilder_ != null) {
expirationTimeBuilder_.dispose();
expirationTimeBuilder_ = null;
}
onChanged();
return this;
}
/**
*
*Дата и время снятия заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp expiration_time = 9;
*/
public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getExpirationTimeFieldBuilder().getBuilder();
}
/**
*
*Дата и время снятия заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp expiration_time = 9;
*/
public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() {
if (expirationTimeBuilder_ != null) {
return expirationTimeBuilder_.getMessageOrBuilder();
} else {
return expirationTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_;
}
}
/**
*
*Дата и время снятия заявки в часовом поясе UTC.
*
*
* .google.protobuf.Timestamp expiration_time = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getExpirationTimeFieldBuilder() {
if (expirationTimeBuilder_ == null) {
expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getExpirationTime(),
getParentForChildren(),
isClean());
expirationTime_ = null;
}
return expirationTimeBuilder_;
}
private ru.tinkoff.piapi.contract.v1.MoneyValue price_;
private com.google.protobuf.SingleFieldBuilderV3<
ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> priceBuilder_;
/**
*
*Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
* @return Whether the price field is set.
*/
public boolean hasPrice() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
*Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
* @return The price.
*/
public ru.tinkoff.piapi.contract.v1.MoneyValue getPrice() {
if (priceBuilder_ == null) {
return price_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : price_;
} else {
return priceBuilder_.getMessage();
}
}
/**
*
*Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
*/
public Builder setPrice(ru.tinkoff.piapi.contract.v1.MoneyValue value) {
if (priceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
price_ = value;
} else {
priceBuilder_.setMessage(value);
}
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
*Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
*/
public Builder setPrice(
ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) {
if (priceBuilder_ == null) {
price_ = builderForValue.build();
} else {
priceBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
*Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
*/
public Builder mergePrice(ru.tinkoff.piapi.contract.v1.MoneyValue value) {
if (priceBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0) &&
price_ != null &&
price_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) {
getPriceBuilder().mergeFrom(value);
} else {
price_ = value;
}
} else {
priceBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
*Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
*/
public Builder clearPrice() {
bitField0_ = (bitField0_ & ~0x00000200);
price_ = null;
if (priceBuilder_ != null) {
priceBuilder_.dispose();
priceBuilder_ = null;
}
onChanged();
return this;
}
/**
*
*Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
*/
public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getPriceBuilder() {
bitField0_ |= 0x00000200;
onChanged();
return getPriceFieldBuilder().getBuilder();
}
/**
*
*Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
*/
public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getPriceOrBuilder() {
if (priceBuilder_ != null) {
return priceBuilder_.getMessageOrBuilder();
} else {
return price_ == null ?
ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : price_;
}
}
/**
*
*Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>
getPriceFieldBuilder() {
if (priceBuilder_ == null) {
priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>(
getPrice(),
getParentForChildren(),
isClean());
price_ = null;
}
return priceBuilder_;
}
private ru.tinkoff.piapi.contract.v1.MoneyValue stopPrice_;
private com.google.protobuf.SingleFieldBuilderV3<
ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> stopPriceBuilder_;
/**
*
*Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
* @return Whether the stopPrice field is set.
*/
public boolean hasStopPrice() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
*Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
* @return The stopPrice.
*/
public ru.tinkoff.piapi.contract.v1.MoneyValue getStopPrice() {
if (stopPriceBuilder_ == null) {
return stopPrice_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : stopPrice_;
} else {
return stopPriceBuilder_.getMessage();
}
}
/**
*
*Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
*/
public Builder setStopPrice(ru.tinkoff.piapi.contract.v1.MoneyValue value) {
if (stopPriceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stopPrice_ = value;
} else {
stopPriceBuilder_.setMessage(value);
}
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
*Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
*/
public Builder setStopPrice(
ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) {
if (stopPriceBuilder_ == null) {
stopPrice_ = builderForValue.build();
} else {
stopPriceBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
*Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
*/
public Builder mergeStopPrice(ru.tinkoff.piapi.contract.v1.MoneyValue value) {
if (stopPriceBuilder_ == null) {
if (((bitField0_ & 0x00000400) != 0) &&
stopPrice_ != null &&
stopPrice_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) {
getStopPriceBuilder().mergeFrom(value);
} else {
stopPrice_ = value;
}
} else {
stopPriceBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
*Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
*/
public Builder clearStopPrice() {
bitField0_ = (bitField0_ & ~0x00000400);
stopPrice_ = null;
if (stopPriceBuilder_ != null) {
stopPriceBuilder_.dispose();
stopPriceBuilder_ = null;
}
onChanged();
return this;
}
/**
*
*Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
*/
public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getStopPriceBuilder() {
bitField0_ |= 0x00000400;
onChanged();
return getStopPriceFieldBuilder().getBuilder();
}
/**
*
*Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
*/
public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getStopPriceOrBuilder() {
if (stopPriceBuilder_ != null) {
return stopPriceBuilder_.getMessageOrBuilder();
} else {
return stopPrice_ == null ?
ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : stopPrice_;
}
}
/**
*
*Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>
getStopPriceFieldBuilder() {
if (stopPriceBuilder_ == null) {
stopPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>(
getStopPrice(),
getParentForChildren(),
isClean());
stopPrice_ = null;
}
return stopPriceBuilder_;
}
private java.lang.Object instrumentUid_ = "";
/**
*
*instrument_uid идентификатор инструмента.
*
*
* string instrument_uid = 12;
* @return The instrumentUid.
*/
public java.lang.String getInstrumentUid() {
java.lang.Object ref = instrumentUid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
instrumentUid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*instrument_uid идентификатор инструмента.
*
*
* string instrument_uid = 12;
* @return The bytes for instrumentUid.
*/
public com.google.protobuf.ByteString
getInstrumentUidBytes() {
java.lang.Object ref = instrumentUid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instrumentUid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*instrument_uid идентификатор инструмента.
*
*
* string instrument_uid = 12;
* @param value The instrumentUid to set.
* @return This builder for chaining.
*/
public Builder setInstrumentUid(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instrumentUid_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
*
*instrument_uid идентификатор инструмента.
*
*
* string instrument_uid = 12;
* @return This builder for chaining.
*/
public Builder clearInstrumentUid() {
instrumentUid_ = getDefaultInstance().getInstrumentUid();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
*
*instrument_uid идентификатор инструмента.
*
*
* string instrument_uid = 12;
* @param value The bytes for instrumentUid to set.
* @return This builder for chaining.
*/
public Builder setInstrumentUidBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
instrumentUid_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tinkoff.public.invest.api.contract.v1.StopOrder)
}
// @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.StopOrder)
private static final ru.tinkoff.piapi.contract.v1.StopOrder DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.StopOrder();
}
public static ru.tinkoff.piapi.contract.v1.StopOrder getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StopOrder parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.StopOrder getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}