// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protos/BE.OrderUpdate.proto
package BE;
public final class BEOrderUpdate {
private BEOrderUpdate() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface OrderUpdateOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string orderId = 1;
boolean hasOrderId();
String getOrderId();
// optional string marketOrderId = 2;
boolean hasMarketOrderId();
String getMarketOrderId();
// required int64 qtyRemaining = 3;
boolean hasQtyRemaining();
long getQtyRemaining();
// optional bool inMarket = 4 [default = false];
boolean hasInMarket();
boolean getInMarket();
// optional bool cancelled = 5 [default = false];
boolean hasCancelled();
boolean getCancelled();
// optional bool isVisible = 6 [default = false];
boolean hasIsVisible();
boolean getIsVisible();
// optional bool modifiable = 7 [default = false];
boolean hasModifiable();
boolean getModifiable();
// optional string symbol = 8;
boolean hasSymbol();
String getSymbol();
// optional double price = 9;
boolean hasPrice();
double getPrice();
// optional double stoppx = 10;
boolean hasStoppx();
double getStoppx();
// optional int32 side = 11;
boolean hasSide();
int getSide();
// optional int32 type = 12;
boolean hasType();
int getType();
// optional int64 quantity = 13;
boolean hasQuantity();
long getQuantity();
// optional bool orderChangeRejected = 14 [default = false];
boolean hasOrderChangeRejected();
boolean getOrderChangeRejected();
// optional bool externallyModified = 15 [default = false];
boolean hasExternallyModified();
boolean getExternallyModified();
// optional bool unknownState = 16 [default = false];
boolean hasUnknownState();
boolean getUnknownState();
// optional int64 qtyExecuted = 17;
boolean hasQtyExecuted();
long getQtyExecuted();
// optional int64 lastShares = 18;
boolean hasLastShares();
long getLastShares();
// optional double lastPrice = 19;
boolean hasLastPrice();
double getLastPrice();
// optional double avgPrice = 20;
boolean hasAvgPrice();
double getAvgPrice();
// required int32 status = 21;
boolean hasStatus();
int getStatus();
// optional string RejectReason = 22;
boolean hasRejectReason();
String getRejectReason();
// optional string clientId = 23;
boolean hasClientId();
String getClientId();
// optional string accountId = 24;
boolean hasAccountId();
String getAccountId();
}
public static final class OrderUpdate extends
com.google.protobuf.GeneratedMessage
implements OrderUpdateOrBuilder {
// Use OrderUpdate.newBuilder() to construct.
private OrderUpdate(Builder builder) {
super(builder);
}
private OrderUpdate(boolean noInit) {}
private static final OrderUpdate defaultInstance;
public static OrderUpdate getDefaultInstance() {
return defaultInstance;
}
public OrderUpdate getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return BE.BEOrderUpdate.internal_static_BE_OrderUpdate_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return BE.BEOrderUpdate.internal_static_BE_OrderUpdate_fieldAccessorTable;
}
private int bitField0_;
// required string orderId = 1;
public static final int ORDERID_FIELD_NUMBER = 1;
private java.lang.Object orderId_;
public boolean hasOrderId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getOrderId() {
java.lang.Object ref = orderId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
orderId_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getOrderIdBytes() {
java.lang.Object ref = orderId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
orderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string marketOrderId = 2;
public static final int MARKETORDERID_FIELD_NUMBER = 2;
private java.lang.Object marketOrderId_;
public boolean hasMarketOrderId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getMarketOrderId() {
java.lang.Object ref = marketOrderId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
marketOrderId_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getMarketOrderIdBytes() {
java.lang.Object ref = marketOrderId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
marketOrderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required int64 qtyRemaining = 3;
public static final int QTYREMAINING_FIELD_NUMBER = 3;
private long qtyRemaining_;
public boolean hasQtyRemaining() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public long getQtyRemaining() {
return qtyRemaining_;
}
// optional bool inMarket = 4 [default = false];
public static final int INMARKET_FIELD_NUMBER = 4;
private boolean inMarket_;
public boolean hasInMarket() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public boolean getInMarket() {
return inMarket_;
}
// optional bool cancelled = 5 [default = false];
public static final int CANCELLED_FIELD_NUMBER = 5;
private boolean cancelled_;
public boolean hasCancelled() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public boolean getCancelled() {
return cancelled_;
}
// optional bool isVisible = 6 [default = false];
public static final int ISVISIBLE_FIELD_NUMBER = 6;
private boolean isVisible_;
public boolean hasIsVisible() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public boolean getIsVisible() {
return isVisible_;
}
// optional bool modifiable = 7 [default = false];
public static final int MODIFIABLE_FIELD_NUMBER = 7;
private boolean modifiable_;
public boolean hasModifiable() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public boolean getModifiable() {
return modifiable_;
}
// optional string symbol = 8;
public static final int SYMBOL_FIELD_NUMBER = 8;
private java.lang.Object symbol_;
public boolean hasSymbol() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public String getSymbol() {
java.lang.Object ref = symbol_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
symbol_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional double price = 9;
public static final int PRICE_FIELD_NUMBER = 9;
private double price_;
public boolean hasPrice() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public double getPrice() {
return price_;
}
// optional double stoppx = 10;
public static final int STOPPX_FIELD_NUMBER = 10;
private double stoppx_;
public boolean hasStoppx() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
public double getStoppx() {
return stoppx_;
}
// optional int32 side = 11;
public static final int SIDE_FIELD_NUMBER = 11;
private int side_;
public boolean hasSide() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
public int getSide() {
return side_;
}
// optional int32 type = 12;
public static final int TYPE_FIELD_NUMBER = 12;
private int type_;
public boolean hasType() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
public int getType() {
return type_;
}
// optional int64 quantity = 13;
public static final int QUANTITY_FIELD_NUMBER = 13;
private long quantity_;
public boolean hasQuantity() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
public long getQuantity() {
return quantity_;
}
// optional bool orderChangeRejected = 14 [default = false];
public static final int ORDERCHANGEREJECTED_FIELD_NUMBER = 14;
private boolean orderChangeRejected_;
public boolean hasOrderChangeRejected() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
public boolean getOrderChangeRejected() {
return orderChangeRejected_;
}
// optional bool externallyModified = 15 [default = false];
public static final int EXTERNALLYMODIFIED_FIELD_NUMBER = 15;
private boolean externallyModified_;
public boolean hasExternallyModified() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
public boolean getExternallyModified() {
return externallyModified_;
}
// optional bool unknownState = 16 [default = false];
public static final int UNKNOWNSTATE_FIELD_NUMBER = 16;
private boolean unknownState_;
public boolean hasUnknownState() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
public boolean getUnknownState() {
return unknownState_;
}
// optional int64 qtyExecuted = 17;
public static final int QTYEXECUTED_FIELD_NUMBER = 17;
private long qtyExecuted_;
public boolean hasQtyExecuted() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
public long getQtyExecuted() {
return qtyExecuted_;
}
// optional int64 lastShares = 18;
public static final int LASTSHARES_FIELD_NUMBER = 18;
private long lastShares_;
public boolean hasLastShares() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
public long getLastShares() {
return lastShares_;
}
// optional double lastPrice = 19;
public static final int LASTPRICE_FIELD_NUMBER = 19;
private double lastPrice_;
public boolean hasLastPrice() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
public double getLastPrice() {
return lastPrice_;
}
// optional double avgPrice = 20;
public static final int AVGPRICE_FIELD_NUMBER = 20;
private double avgPrice_;
public boolean hasAvgPrice() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
public double getAvgPrice() {
return avgPrice_;
}
// required int32 status = 21;
public static final int STATUS_FIELD_NUMBER = 21;
private int status_;
public boolean hasStatus() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
public int getStatus() {
return status_;
}
// optional string RejectReason = 22;
public static final int REJECTREASON_FIELD_NUMBER = 22;
private java.lang.Object rejectReason_;
public boolean hasRejectReason() {
return ((bitField0_ & 0x00200000) == 0x00200000);
}
public String getRejectReason() {
java.lang.Object ref = rejectReason_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
rejectReason_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getRejectReasonBytes() {
java.lang.Object ref = rejectReason_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
rejectReason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string clientId = 23;
public static final int CLIENTID_FIELD_NUMBER = 23;
private java.lang.Object clientId_;
public boolean hasClientId() {
return ((bitField0_ & 0x00400000) == 0x00400000);
}
public String getClientId() {
java.lang.Object ref = clientId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
clientId_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getClientIdBytes() {
java.lang.Object ref = clientId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
clientId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string accountId = 24;
public static final int ACCOUNTID_FIELD_NUMBER = 24;
private java.lang.Object accountId_;
public boolean hasAccountId() {
return ((bitField0_ & 0x00800000) == 0x00800000);
}
public String getAccountId() {
java.lang.Object ref = accountId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
accountId_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getAccountIdBytes() {
java.lang.Object ref = accountId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
accountId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
orderId_ = "";
marketOrderId_ = "";
qtyRemaining_ = 0L;
inMarket_ = false;
cancelled_ = false;
isVisible_ = false;
modifiable_ = false;
symbol_ = "";
price_ = 0D;
stoppx_ = 0D;
side_ = 0;
type_ = 0;
quantity_ = 0L;
orderChangeRejected_ = false;
externallyModified_ = false;
unknownState_ = false;
qtyExecuted_ = 0L;
lastShares_ = 0L;
lastPrice_ = 0D;
avgPrice_ = 0D;
status_ = 0;
rejectReason_ = "";
clientId_ = "";
accountId_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasOrderId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasQtyRemaining()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasStatus()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getOrderIdBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getMarketOrderIdBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt64(3, qtyRemaining_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(4, inMarket_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBool(5, cancelled_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(6, isVisible_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBool(7, modifiable_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeBytes(8, getSymbolBytes());
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeDouble(9, price_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeDouble(10, stoppx_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeInt32(11, side_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeInt32(12, type_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeInt64(13, quantity_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeBool(14, orderChangeRejected_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
output.writeBool(15, externallyModified_);
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
output.writeBool(16, unknownState_);
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
output.writeInt64(17, qtyExecuted_);
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
output.writeInt64(18, lastShares_);
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
output.writeDouble(19, lastPrice_);
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
output.writeDouble(20, avgPrice_);
}
if (((bitField0_ & 0x00100000) == 0x00100000)) {
output.writeInt32(21, status_);
}
if (((bitField0_ & 0x00200000) == 0x00200000)) {
output.writeBytes(22, getRejectReasonBytes());
}
if (((bitField0_ & 0x00400000) == 0x00400000)) {
output.writeBytes(23, getClientIdBytes());
}
if (((bitField0_ & 0x00800000) == 0x00800000)) {
output.writeBytes(24, getAccountIdBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getOrderIdBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getMarketOrderIdBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, qtyRemaining_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, inMarket_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, cancelled_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, isVisible_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, modifiable_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, getSymbolBytes());
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(9, price_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(10, stoppx_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(11, side_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(12, type_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(13, quantity_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(14, orderChangeRejected_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, externallyModified_);
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(16, unknownState_);
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(17, qtyExecuted_);
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(18, lastShares_);
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(19, lastPrice_);
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(20, avgPrice_);
}
if (((bitField0_ & 0x00100000) == 0x00100000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(21, status_);
}
if (((bitField0_ & 0x00200000) == 0x00200000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(22, getRejectReasonBytes());
}
if (((bitField0_ & 0x00400000) == 0x00400000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(23, getClientIdBytes());
}
if (((bitField0_ & 0x00800000) == 0x00800000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(24, getAccountIdBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static BE.BEOrderUpdate.OrderUpdate parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static BE.BEOrderUpdate.OrderUpdate parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static BE.BEOrderUpdate.OrderUpdate parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static BE.BEOrderUpdate.OrderUpdate parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static BE.BEOrderUpdate.OrderUpdate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static BE.BEOrderUpdate.OrderUpdate parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static BE.BEOrderUpdate.OrderUpdate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static BE.BEOrderUpdate.OrderUpdate parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static BE.BEOrderUpdate.OrderUpdate parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static BE.BEOrderUpdate.OrderUpdate parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(BE.BEOrderUpdate.OrderUpdate prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements BE.BEOrderUpdate.OrderUpdateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return BE.BEOrderUpdate.internal_static_BE_OrderUpdate_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return BE.BEOrderUpdate.internal_static_BE_OrderUpdate_fieldAccessorTable;
}
// Construct using BE.BEOrderUpdate.OrderUpdate.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
orderId_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
marketOrderId_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
qtyRemaining_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
inMarket_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
cancelled_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
isVisible_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
modifiable_ = false;
bitField0_ = (bitField0_ & ~0x00000040);
symbol_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
price_ = 0D;
bitField0_ = (bitField0_ & ~0x00000100);
stoppx_ = 0D;
bitField0_ = (bitField0_ & ~0x00000200);
side_ = 0;
bitField0_ = (bitField0_ & ~0x00000400);
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000800);
quantity_ = 0L;
bitField0_ = (bitField0_ & ~0x00001000);
orderChangeRejected_ = false;
bitField0_ = (bitField0_ & ~0x00002000);
externallyModified_ = false;
bitField0_ = (bitField0_ & ~0x00004000);
unknownState_ = false;
bitField0_ = (bitField0_ & ~0x00008000);
qtyExecuted_ = 0L;
bitField0_ = (bitField0_ & ~0x00010000);
lastShares_ = 0L;
bitField0_ = (bitField0_ & ~0x00020000);
lastPrice_ = 0D;
bitField0_ = (bitField0_ & ~0x00040000);
avgPrice_ = 0D;
bitField0_ = (bitField0_ & ~0x00080000);
status_ = 0;
bitField0_ = (bitField0_ & ~0x00100000);
rejectReason_ = "";
bitField0_ = (bitField0_ & ~0x00200000);
clientId_ = "";
bitField0_ = (bitField0_ & ~0x00400000);
accountId_ = "";
bitField0_ = (bitField0_ & ~0x00800000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return BE.BEOrderUpdate.OrderUpdate.getDescriptor();
}
public BE.BEOrderUpdate.OrderUpdate getDefaultInstanceForType() {
return BE.BEOrderUpdate.OrderUpdate.getDefaultInstance();
}
public BE.BEOrderUpdate.OrderUpdate build() {
BE.BEOrderUpdate.OrderUpdate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private BE.BEOrderUpdate.OrderUpdate buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
BE.BEOrderUpdate.OrderUpdate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public BE.BEOrderUpdate.OrderUpdate buildPartial() {
BE.BEOrderUpdate.OrderUpdate result = new BE.BEOrderUpdate.OrderUpdate(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.orderId_ = orderId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.marketOrderId_ = marketOrderId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.qtyRemaining_ = qtyRemaining_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.inMarket_ = inMarket_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.cancelled_ = cancelled_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.isVisible_ = isVisible_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.modifiable_ = modifiable_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.symbol_ = symbol_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.price_ = price_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.stoppx_ = stoppx_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.side_ = side_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000800;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00001000;
}
result.quantity_ = quantity_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00002000;
}
result.orderChangeRejected_ = orderChangeRejected_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00004000;
}
result.externallyModified_ = externallyModified_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00008000;
}
result.unknownState_ = unknownState_;
if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00010000;
}
result.qtyExecuted_ = qtyExecuted_;
if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
to_bitField0_ |= 0x00020000;
}
result.lastShares_ = lastShares_;
if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
to_bitField0_ |= 0x00040000;
}
result.lastPrice_ = lastPrice_;
if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
to_bitField0_ |= 0x00080000;
}
result.avgPrice_ = avgPrice_;
if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
to_bitField0_ |= 0x00100000;
}
result.status_ = status_;
if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
to_bitField0_ |= 0x00200000;
}
result.rejectReason_ = rejectReason_;
if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
to_bitField0_ |= 0x00400000;
}
result.clientId_ = clientId_;
if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
to_bitField0_ |= 0x00800000;
}
result.accountId_ = accountId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof BE.BEOrderUpdate.OrderUpdate) {
return mergeFrom((BE.BEOrderUpdate.OrderUpdate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(BE.BEOrderUpdate.OrderUpdate other) {
if (other == BE.BEOrderUpdate.OrderUpdate.getDefaultInstance()) return this;
if (other.hasOrderId()) {
setOrderId(other.getOrderId());
}
if (other.hasMarketOrderId()) {
setMarketOrderId(other.getMarketOrderId());
}
if (other.hasQtyRemaining()) {
setQtyRemaining(other.getQtyRemaining());
}
if (other.hasInMarket()) {
setInMarket(other.getInMarket());
}
if (other.hasCancelled()) {
setCancelled(other.getCancelled());
}
if (other.hasIsVisible()) {
setIsVisible(other.getIsVisible());
}
if (other.hasModifiable()) {
setModifiable(other.getModifiable());
}
if (other.hasSymbol()) {
setSymbol(other.getSymbol());
}
if (other.hasPrice()) {
setPrice(other.getPrice());
}
if (other.hasStoppx()) {
setStoppx(other.getStoppx());
}
if (other.hasSide()) {
setSide(other.getSide());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasQuantity()) {
setQuantity(other.getQuantity());
}
if (other.hasOrderChangeRejected()) {
setOrderChangeRejected(other.getOrderChangeRejected());
}
if (other.hasExternallyModified()) {
setExternallyModified(other.getExternallyModified());
}
if (other.hasUnknownState()) {
setUnknownState(other.getUnknownState());
}
if (other.hasQtyExecuted()) {
setQtyExecuted(other.getQtyExecuted());
}
if (other.hasLastShares()) {
setLastShares(other.getLastShares());
}
if (other.hasLastPrice()) {
setLastPrice(other.getLastPrice());
}
if (other.hasAvgPrice()) {
setAvgPrice(other.getAvgPrice());
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasRejectReason()) {
setRejectReason(other.getRejectReason());
}
if (other.hasClientId()) {
setClientId(other.getClientId());
}
if (other.hasAccountId()) {
setAccountId(other.getAccountId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasOrderId()) {
return false;
}
if (!hasQtyRemaining()) {
return false;
}
if (!hasStatus()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
orderId_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
marketOrderId_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
qtyRemaining_ = input.readInt64();
break;
}
case 32: {
bitField0_ |= 0x00000008;
inMarket_ = input.readBool();
break;
}
case 40: {
bitField0_ |= 0x00000010;
cancelled_ = input.readBool();
break;
}
case 48: {
bitField0_ |= 0x00000020;
isVisible_ = input.readBool();
break;
}
case 56: {
bitField0_ |= 0x00000040;
modifiable_ = input.readBool();
break;
}
case 66: {
bitField0_ |= 0x00000080;
symbol_ = input.readBytes();
break;
}
case 73: {
bitField0_ |= 0x00000100;
price_ = input.readDouble();
break;
}
case 81: {
bitField0_ |= 0x00000200;
stoppx_ = input.readDouble();
break;
}
case 88: {
bitField0_ |= 0x00000400;
side_ = input.readInt32();
break;
}
case 96: {
bitField0_ |= 0x00000800;
type_ = input.readInt32();
break;
}
case 104: {
bitField0_ |= 0x00001000;
quantity_ = input.readInt64();
break;
}
case 112: {
bitField0_ |= 0x00002000;
orderChangeRejected_ = input.readBool();
break;
}
case 120: {
bitField0_ |= 0x00004000;
externallyModified_ = input.readBool();
break;
}
case 128: {
bitField0_ |= 0x00008000;
unknownState_ = input.readBool();
break;
}
case 136: {
bitField0_ |= 0x00010000;
qtyExecuted_ = input.readInt64();
break;
}
case 144: {
bitField0_ |= 0x00020000;
lastShares_ = input.readInt64();
break;
}
case 153: {
bitField0_ |= 0x00040000;
lastPrice_ = input.readDouble();
break;
}
case 161: {
bitField0_ |= 0x00080000;
avgPrice_ = input.readDouble();
break;
}
case 168: {
bitField0_ |= 0x00100000;
status_ = input.readInt32();
break;
}
case 178: {
bitField0_ |= 0x00200000;
rejectReason_ = input.readBytes();
break;
}
case 186: {
bitField0_ |= 0x00400000;
clientId_ = input.readBytes();
break;
}
case 194: {
bitField0_ |= 0x00800000;
accountId_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// required string orderId = 1;
private java.lang.Object orderId_ = "";
public boolean hasOrderId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getOrderId() {
java.lang.Object ref = orderId_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
orderId_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setOrderId(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
orderId_ = value;
onChanged();
return this;
}
public Builder clearOrderId() {
bitField0_ = (bitField0_ & ~0x00000001);
orderId_ = getDefaultInstance().getOrderId();
onChanged();
return this;
}
void setOrderId(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
orderId_ = value;
onChanged();
}
// optional string marketOrderId = 2;
private java.lang.Object marketOrderId_ = "";
public boolean hasMarketOrderId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getMarketOrderId() {
java.lang.Object ref = marketOrderId_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
marketOrderId_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setMarketOrderId(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
marketOrderId_ = value;
onChanged();
return this;
}
public Builder clearMarketOrderId() {
bitField0_ = (bitField0_ & ~0x00000002);
marketOrderId_ = getDefaultInstance().getMarketOrderId();
onChanged();
return this;
}
void setMarketOrderId(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
marketOrderId_ = value;
onChanged();
}
// required int64 qtyRemaining = 3;
private long qtyRemaining_ ;
public boolean hasQtyRemaining() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public long getQtyRemaining() {
return qtyRemaining_;
}
public Builder setQtyRemaining(long value) {
bitField0_ |= 0x00000004;
qtyRemaining_ = value;
onChanged();
return this;
}
public Builder clearQtyRemaining() {
bitField0_ = (bitField0_ & ~0x00000004);
qtyRemaining_ = 0L;
onChanged();
return this;
}
// optional bool inMarket = 4 [default = false];
private boolean inMarket_ ;
public boolean hasInMarket() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public boolean getInMarket() {
return inMarket_;
}
public Builder setInMarket(boolean value) {
bitField0_ |= 0x00000008;
inMarket_ = value;
onChanged();
return this;
}
public Builder clearInMarket() {
bitField0_ = (bitField0_ & ~0x00000008);
inMarket_ = false;
onChanged();
return this;
}
// optional bool cancelled = 5 [default = false];
private boolean cancelled_ ;
public boolean hasCancelled() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public boolean getCancelled() {
return cancelled_;
}
public Builder setCancelled(boolean value) {
bitField0_ |= 0x00000010;
cancelled_ = value;
onChanged();
return this;
}
public Builder clearCancelled() {
bitField0_ = (bitField0_ & ~0x00000010);
cancelled_ = false;
onChanged();
return this;
}
// optional bool isVisible = 6 [default = false];
private boolean isVisible_ ;
public boolean hasIsVisible() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public boolean getIsVisible() {
return isVisible_;
}
public Builder setIsVisible(boolean value) {
bitField0_ |= 0x00000020;
isVisible_ = value;
onChanged();
return this;
}
public Builder clearIsVisible() {
bitField0_ = (bitField0_ & ~0x00000020);
isVisible_ = false;
onChanged();
return this;
}
// optional bool modifiable = 7 [default = false];
private boolean modifiable_ ;
public boolean hasModifiable() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public boolean getModifiable() {
return modifiable_;
}
public Builder setModifiable(boolean value) {
bitField0_ |= 0x00000040;
modifiable_ = value;
onChanged();
return this;
}
public Builder clearModifiable() {
bitField0_ = (bitField0_ & ~0x00000040);
modifiable_ = false;
onChanged();
return this;
}
// optional string symbol = 8;
private java.lang.Object symbol_ = "";
public boolean hasSymbol() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public String getSymbol() {
java.lang.Object ref = symbol_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
symbol_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setSymbol(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
symbol_ = value;
onChanged();
return this;
}
public Builder clearSymbol() {
bitField0_ = (bitField0_ & ~0x00000080);
symbol_ = getDefaultInstance().getSymbol();
onChanged();
return this;
}
void setSymbol(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000080;
symbol_ = value;
onChanged();
}
// optional double price = 9;
private double price_ ;
public boolean hasPrice() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public double getPrice() {
return price_;
}
public Builder setPrice(double value) {
bitField0_ |= 0x00000100;
price_ = value;
onChanged();
return this;
}
public Builder clearPrice() {
bitField0_ = (bitField0_ & ~0x00000100);
price_ = 0D;
onChanged();
return this;
}
// optional double stoppx = 10;
private double stoppx_ ;
public boolean hasStoppx() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
public double getStoppx() {
return stoppx_;
}
public Builder setStoppx(double value) {
bitField0_ |= 0x00000200;
stoppx_ = value;
onChanged();
return this;
}
public Builder clearStoppx() {
bitField0_ = (bitField0_ & ~0x00000200);
stoppx_ = 0D;
onChanged();
return this;
}
// optional int32 side = 11;
private int side_ ;
public boolean hasSide() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
public int getSide() {
return side_;
}
public Builder setSide(int value) {
bitField0_ |= 0x00000400;
side_ = value;
onChanged();
return this;
}
public Builder clearSide() {
bitField0_ = (bitField0_ & ~0x00000400);
side_ = 0;
onChanged();
return this;
}
// optional int32 type = 12;
private int type_ ;
public boolean hasType() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
public int getType() {
return type_;
}
public Builder setType(int value) {
bitField0_ |= 0x00000800;
type_ = value;
onChanged();
return this;
}
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000800);
type_ = 0;
onChanged();
return this;
}
// optional int64 quantity = 13;
private long quantity_ ;
public boolean hasQuantity() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
public long getQuantity() {
return quantity_;
}
public Builder setQuantity(long value) {
bitField0_ |= 0x00001000;
quantity_ = value;
onChanged();
return this;
}
public Builder clearQuantity() {
bitField0_ = (bitField0_ & ~0x00001000);
quantity_ = 0L;
onChanged();
return this;
}
// optional bool orderChangeRejected = 14 [default = false];
private boolean orderChangeRejected_ ;
public boolean hasOrderChangeRejected() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
public boolean getOrderChangeRejected() {
return orderChangeRejected_;
}
public Builder setOrderChangeRejected(boolean value) {
bitField0_ |= 0x00002000;
orderChangeRejected_ = value;
onChanged();
return this;
}
public Builder clearOrderChangeRejected() {
bitField0_ = (bitField0_ & ~0x00002000);
orderChangeRejected_ = false;
onChanged();
return this;
}
// optional bool externallyModified = 15 [default = false];
private boolean externallyModified_ ;
public boolean hasExternallyModified() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
public boolean getExternallyModified() {
return externallyModified_;
}
public Builder setExternallyModified(boolean value) {
bitField0_ |= 0x00004000;
externallyModified_ = value;
onChanged();
return this;
}
public Builder clearExternallyModified() {
bitField0_ = (bitField0_ & ~0x00004000);
externallyModified_ = false;
onChanged();
return this;
}
// optional bool unknownState = 16 [default = false];
private boolean unknownState_ ;
public boolean hasUnknownState() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
public boolean getUnknownState() {
return unknownState_;
}
public Builder setUnknownState(boolean value) {
bitField0_ |= 0x00008000;
unknownState_ = value;
onChanged();
return this;
}
public Builder clearUnknownState() {
bitField0_ = (bitField0_ & ~0x00008000);
unknownState_ = false;
onChanged();
return this;
}
// optional int64 qtyExecuted = 17;
private long qtyExecuted_ ;
public boolean hasQtyExecuted() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
public long getQtyExecuted() {
return qtyExecuted_;
}
public Builder setQtyExecuted(long value) {
bitField0_ |= 0x00010000;
qtyExecuted_ = value;
onChanged();
return this;
}
public Builder clearQtyExecuted() {
bitField0_ = (bitField0_ & ~0x00010000);
qtyExecuted_ = 0L;
onChanged();
return this;
}
// optional int64 lastShares = 18;
private long lastShares_ ;
public boolean hasLastShares() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
public long getLastShares() {
return lastShares_;
}
public Builder setLastShares(long value) {
bitField0_ |= 0x00020000;
lastShares_ = value;
onChanged();
return this;
}
public Builder clearLastShares() {
bitField0_ = (bitField0_ & ~0x00020000);
lastShares_ = 0L;
onChanged();
return this;
}
// optional double lastPrice = 19;
private double lastPrice_ ;
public boolean hasLastPrice() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
public double getLastPrice() {
return lastPrice_;
}
public Builder setLastPrice(double value) {
bitField0_ |= 0x00040000;
lastPrice_ = value;
onChanged();
return this;
}
public Builder clearLastPrice() {
bitField0_ = (bitField0_ & ~0x00040000);
lastPrice_ = 0D;
onChanged();
return this;
}
// optional double avgPrice = 20;
private double avgPrice_ ;
public boolean hasAvgPrice() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
public double getAvgPrice() {
return avgPrice_;
}
public Builder setAvgPrice(double value) {
bitField0_ |= 0x00080000;
avgPrice_ = value;
onChanged();
return this;
}
public Builder clearAvgPrice() {
bitField0_ = (bitField0_ & ~0x00080000);
avgPrice_ = 0D;
onChanged();
return this;
}
// required int32 status = 21;
private int status_ ;
public boolean hasStatus() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
public int getStatus() {
return status_;
}
public Builder setStatus(int value) {
bitField0_ |= 0x00100000;
status_ = value;
onChanged();
return this;
}
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00100000);
status_ = 0;
onChanged();
return this;
}
// optional string RejectReason = 22;
private java.lang.Object rejectReason_ = "";
public boolean hasRejectReason() {
return ((bitField0_ & 0x00200000) == 0x00200000);
}
public String getRejectReason() {
java.lang.Object ref = rejectReason_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
rejectReason_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setRejectReason(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00200000;
rejectReason_ = value;
onChanged();
return this;
}
public Builder clearRejectReason() {
bitField0_ = (bitField0_ & ~0x00200000);
rejectReason_ = getDefaultInstance().getRejectReason();
onChanged();
return this;
}
void setRejectReason(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00200000;
rejectReason_ = value;
onChanged();
}
// optional string clientId = 23;
private java.lang.Object clientId_ = "";
public boolean hasClientId() {
return ((bitField0_ & 0x00400000) == 0x00400000);
}
public String getClientId() {
java.lang.Object ref = clientId_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
clientId_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setClientId(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00400000;
clientId_ = value;
onChanged();
return this;
}
public Builder clearClientId() {
bitField0_ = (bitField0_ & ~0x00400000);
clientId_ = getDefaultInstance().getClientId();
onChanged();
return this;
}
void setClientId(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00400000;
clientId_ = value;
onChanged();
}
// optional string accountId = 24;
private java.lang.Object accountId_ = "";
public boolean hasAccountId() {
return ((bitField0_ & 0x00800000) == 0x00800000);
}
public String getAccountId() {
java.lang.Object ref = accountId_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
accountId_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setAccountId(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00800000;
accountId_ = value;
onChanged();
return this;
}
public Builder clearAccountId() {
bitField0_ = (bitField0_ & ~0x00800000);
accountId_ = getDefaultInstance().getAccountId();
onChanged();
return this;
}
void setAccountId(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00800000;
accountId_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:BE.OrderUpdate)
}
static {
defaultInstance = new OrderUpdate(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BE.OrderUpdate)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_BE_OrderUpdate_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_BE_OrderUpdate_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\033protos/BE.OrderUpdate.proto\022\002BE\"\215\004\n\013Or" +
"derUpdate\022\017\n\007orderId\030\001 \002(\t\022\025\n\rmarketOrde" +
"rId\030\002 \001(\t\022\024\n\014qtyRemaining\030\003 \002(\003\022\027\n\010inMar" +
"ket\030\004 \001(\010:\005false\022\030\n\tcancelled\030\005 \001(\010:\005fal" +
"se\022\030\n\tisVisible\030\006 \001(\010:\005false\022\031\n\nmodifiab" +
"le\030\007 \001(\010:\005false\022\016\n\006symbol\030\010 \001(\t\022\r\n\005price" +
"\030\t \001(\001\022\016\n\006stoppx\030\n \001(\001\022\014\n\004side\030\013 \001(\005\022\014\n\004" +
"type\030\014 \001(\005\022\020\n\010quantity\030\r \001(\003\022\"\n\023orderCha" +
"ngeRejected\030\016 \001(\010:\005false\022!\n\022externallyMo" +
"dified\030\017 \001(\010:\005false\022\033\n\014unknownState\030\020 \001(",
"\010:\005false\022\023\n\013qtyExecuted\030\021 \001(\003\022\022\n\nlastSha" +
"res\030\022 \001(\003\022\021\n\tlastPrice\030\023 \001(\001\022\020\n\010avgPrice" +
"\030\024 \001(\001\022\016\n\006status\030\025 \002(\005\022\024\n\014RejectReason\030\026" +
" \001(\t\022\020\n\010clientId\030\027 \001(\t\022\021\n\taccountId\030\030 \001(" +
"\t"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_BE_OrderUpdate_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_BE_OrderUpdate_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_BE_OrderUpdate_descriptor,
new java.lang.String[] { "OrderId", "MarketOrderId", "QtyRemaining", "InMarket", "Cancelled", "IsVisible", "Modifiable", "Symbol", "Price", "Stoppx", "Side", "Type", "Quantity", "OrderChangeRejected", "ExternallyModified", "UnknownState", "QtyExecuted", "LastShares", "LastPrice", "AvgPrice", "Status", "RejectReason", "ClientId", "AccountId", },
BE.BEOrderUpdate.OrderUpdate.class,
BE.BEOrderUpdate.OrderUpdate.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}