All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
ru.tinkoff.piapi.contract.v1.Stoporders Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: stoporders.proto
package ru.tinkoff.piapi.contract.v1;
public final class Stoporders {
private Stoporders() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tinkoff_public_invest_api_contract_v1_PostStopOrderRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tinkoff_public_invest_api_contract_v1_PostStopOrderRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tinkoff_public_invest_api_contract_v1_PostStopOrderResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tinkoff_public_invest_api_contract_v1_PostStopOrderResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tinkoff_public_invest_api_contract_v1_CancelStopOrderRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tinkoff_public_invest_api_contract_v1_CancelStopOrderRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tinkoff_public_invest_api_contract_v1_CancelStopOrderResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tinkoff_public_invest_api_contract_v1_CancelStopOrderResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tinkoff_public_invest_api_contract_v1_StopOrder_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tinkoff_public_invest_api_contract_v1_StopOrder_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\020stoporders.proto\022%tinkoff.public.inves" +
"t.api.contract.v1\032\037google/protobuf/times" +
"tamp.proto\032\014common.proto\"\223\004\n\024PostStopOrd" +
"erRequest\022\020\n\004figi\030\001 \001(\tB\002\030\001\022\020\n\010quantity\030" +
"\002 \001(\003\022?\n\005price\030\003 \001(\01320.tinkoff.public.in" +
"vest.api.contract.v1.Quotation\022D\n\nstop_p" +
"rice\030\004 \001(\01320.tinkoff.public.invest.api.c" +
"ontract.v1.Quotation\022L\n\tdirection\030\005 \001(\0162" +
"9.tinkoff.public.invest.api.contract.v1." +
"StopOrderDirection\022\022\n\naccount_id\030\006 \001(\t\022W" +
"\n\017expiration_type\030\007 \001(\0162>.tinkoff.public" +
".invest.api.contract.v1.StopOrderExpirat" +
"ionType\022M\n\017stop_order_type\030\010 \001(\01624.tinko" +
"ff.public.invest.api.contract.v1.StopOrd" +
"erType\022/\n\013expire_date\030\t \001(\0132\032.google.pro" +
"tobuf.Timestamp\022\025\n\rinstrument_id\030\n \001(\t\"." +
"\n\025PostStopOrderResponse\022\025\n\rstop_order_id" +
"\030\001 \001(\t\"*\n\024GetStopOrdersRequest\022\022\n\naccoun" +
"t_id\030\001 \001(\t\"^\n\025GetStopOrdersResponse\022E\n\013s" +
"top_orders\030\001 \003(\01320.tinkoff.public.invest" +
".api.contract.v1.StopOrder\"C\n\026CancelStop" +
"OrderRequest\022\022\n\naccount_id\030\001 \001(\t\022\025\n\rstop" +
"_order_id\030\002 \001(\t\"C\n\027CancelStopOrderRespon" +
"se\022(\n\004time\030\001 \001(\0132\032.google.protobuf.Times" +
"tamp\"\263\004\n\tStopOrder\022\025\n\rstop_order_id\030\001 \001(" +
"\t\022\026\n\016lots_requested\030\002 \001(\003\022\014\n\004figi\030\003 \001(\t\022" +
"L\n\tdirection\030\004 \001(\01629.tinkoff.public.inve" +
"st.api.contract.v1.StopOrderDirection\022\020\n" +
"\010currency\030\005 \001(\t\022H\n\norder_type\030\006 \001(\01624.ti" +
"nkoff.public.invest.api.contract.v1.Stop" +
"OrderType\022/\n\013create_date\030\007 \001(\0132\032.google." +
"protobuf.Timestamp\0228\n\024activation_date_ti" +
"me\030\010 \001(\0132\032.google.protobuf.Timestamp\0223\n\017" +
"expiration_time\030\t \001(\0132\032.google.protobuf." +
"Timestamp\022@\n\005price\030\n \001(\01321.tinkoff.publi" +
"c.invest.api.contract.v1.MoneyValue\022E\n\ns" +
"top_price\030\013 \001(\01321.tinkoff.public.invest." +
"api.contract.v1.MoneyValue\022\026\n\016instrument" +
"_uid\030\014 \001(\t*w\n\022StopOrderDirection\022$\n STOP" +
"_ORDER_DIRECTION_UNSPECIFIED\020\000\022\034\n\030STOP_O" +
"RDER_DIRECTION_BUY\020\001\022\035\n\031STOP_ORDER_DIREC" +
"TION_SELL\020\002*\245\001\n\027StopOrderExpirationType\022" +
"*\n&STOP_ORDER_EXPIRATION_TYPE_UNSPECIFIE" +
"D\020\000\022/\n+STOP_ORDER_EXPIRATION_TYPE_GOOD_T" +
"ILL_CANCEL\020\001\022-\n)STOP_ORDER_EXPIRATION_TY" +
"PE_GOOD_TILL_DATE\020\002*\220\001\n\rStopOrderType\022\037\n" +
"\033STOP_ORDER_TYPE_UNSPECIFIED\020\000\022\037\n\033STOP_O" +
"RDER_TYPE_TAKE_PROFIT\020\001\022\035\n\031STOP_ORDER_TY" +
"PE_STOP_LOSS\020\002\022\036\n\032STOP_ORDER_TYPE_STOP_L" +
"IMIT\020\0032\300\003\n\021StopOrdersService\022\212\001\n\rPostSto" +
"pOrder\022;.tinkoff.public.invest.api.contr" +
"act.v1.PostStopOrderRequest\032<.tinkoff.pu" +
"blic.invest.api.contract.v1.PostStopOrde" +
"rResponse\022\212\001\n\rGetStopOrders\022;.tinkoff.pu" +
"blic.invest.api.contract.v1.GetStopOrder" +
"sRequest\032<.tinkoff.public.invest.api.con" +
"tract.v1.GetStopOrdersResponse\022\220\001\n\017Cance" +
"lStopOrder\022=.tinkoff.public.invest.api.c" +
"ontract.v1.CancelStopOrderRequest\032>.tink" +
"off.public.invest.api.contract.v1.Cancel" +
"StopOrderResponseBa\n\034ru.tinkoff.piapi.co" +
"ntract.v1P\001Z\014./;investapi\242\002\005TIAPI\252\002\024Tink" +
"off.InvestApi.V1\312\002\021Tinkoff\\Invest\\V1b\006pr" +
"oto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.TimestampProto.getDescriptor(),
ru.tinkoff.piapi.contract.v1.Common.getDescriptor(),
});
internal_static_tinkoff_public_invest_api_contract_v1_PostStopOrderRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_tinkoff_public_invest_api_contract_v1_PostStopOrderRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tinkoff_public_invest_api_contract_v1_PostStopOrderRequest_descriptor,
new java.lang.String[] { "Figi", "Quantity", "Price", "StopPrice", "Direction", "AccountId", "ExpirationType", "StopOrderType", "ExpireDate", "InstrumentId", });
internal_static_tinkoff_public_invest_api_contract_v1_PostStopOrderResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_tinkoff_public_invest_api_contract_v1_PostStopOrderResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tinkoff_public_invest_api_contract_v1_PostStopOrderResponse_descriptor,
new java.lang.String[] { "StopOrderId", });
internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersRequest_descriptor,
new java.lang.String[] { "AccountId", });
internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tinkoff_public_invest_api_contract_v1_GetStopOrdersResponse_descriptor,
new java.lang.String[] { "StopOrders", });
internal_static_tinkoff_public_invest_api_contract_v1_CancelStopOrderRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_tinkoff_public_invest_api_contract_v1_CancelStopOrderRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tinkoff_public_invest_api_contract_v1_CancelStopOrderRequest_descriptor,
new java.lang.String[] { "AccountId", "StopOrderId", });
internal_static_tinkoff_public_invest_api_contract_v1_CancelStopOrderResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_tinkoff_public_invest_api_contract_v1_CancelStopOrderResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tinkoff_public_invest_api_contract_v1_CancelStopOrderResponse_descriptor,
new java.lang.String[] { "Time", });
internal_static_tinkoff_public_invest_api_contract_v1_StopOrder_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_tinkoff_public_invest_api_contract_v1_StopOrder_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tinkoff_public_invest_api_contract_v1_StopOrder_descriptor,
new java.lang.String[] { "StopOrderId", "LotsRequested", "Figi", "Direction", "Currency", "OrderType", "CreateDate", "ActivationDateTime", "ExpirationTime", "Price", "StopPrice", "InstrumentUid", });
com.google.protobuf.TimestampProto.getDescriptor();
ru.tinkoff.piapi.contract.v1.Common.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}