/** * <code>optional .exec.rpc.RpcMode mode = 1;</code> */ public Builder setMode(org.apache.drill.exec.proto.GeneralRPCProtos.RpcMode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; mode_ = value; onChanged(); return this; } /**
/** * <code>optional .exec.rpc.RpcMode mode = 1;</code> */ public Builder setMode(org.apache.drill.exec.proto.GeneralRPCProtos.RpcMode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; mode_ = value; onChanged(); return this; } /**
/** * <code>optional int32 coordination_id = 2;</code> * * <pre> * reusable coordination identifier. Sender defines. Server returns on return. Irrelevant for purely single direction rpc. * </pre> */ public Builder setCoordinationId(int value) { bitField0_ |= 0x00000002; coordinationId_ = value; onChanged(); return this; } /**
/** * <code>optional int32 rpc_type = 3;</code> * * <pre> * a rpc mode specific rpc type. * </pre> */ public Builder setRpcType(int value) { bitField0_ |= 0x00000004; rpcType_ = value; onChanged(); return this; } /**
/** * <code>optional int32 rpc_type = 3;</code> * * <pre> * a rpc mode specific rpc type. * </pre> */ public Builder clearRpcType() { bitField0_ = (bitField0_ & ~0x00000004); rpcType_ = 0; onChanged(); return this; }
/** * <code>optional .exec.rpc.RpcMode mode = 1;</code> */ public Builder clearMode() { bitField0_ = (bitField0_ & ~0x00000001); mode_ = org.apache.drill.exec.proto.GeneralRPCProtos.RpcMode.REQUEST; onChanged(); return this; }
/** * <code>optional int32 coordination_id = 2;</code> * * <pre> * reusable coordination identifier. Sender defines. Server returns on return. Irrelevant for purely single direction rpc. * </pre> */ public Builder clearCoordinationId() { bitField0_ = (bitField0_ & ~0x00000002); coordinationId_ = 0; onChanged(); return this; }
/** * <code>optional int32 rpc_type = 3;</code> * * <pre> * a rpc mode specific rpc type. * </pre> */ public Builder setRpcType(int value) { bitField0_ |= 0x00000004; rpcType_ = value; onChanged(); return this; } /**
/** * <code>optional int32 rpc_type = 3;</code> * * <pre> * a rpc mode specific rpc type. * </pre> */ public Builder clearRpcType() { bitField0_ = (bitField0_ & ~0x00000004); rpcType_ = 0; onChanged(); return this; }
/** * <code>optional int32 coordination_id = 2;</code> * * <pre> * reusable coordination identifier. Sender defines. Server returns on return. Irrelevant for purely single direction rpc. * </pre> */ public Builder setCoordinationId(int value) { bitField0_ |= 0x00000002; coordinationId_ = value; onChanged(); return this; } /**
/** * <code>optional .exec.rpc.RpcMode mode = 1;</code> */ public Builder clearMode() { bitField0_ = (bitField0_ & ~0x00000001); mode_ = org.apache.drill.exec.proto.GeneralRPCProtos.RpcMode.REQUEST; onChanged(); return this; }
/** * <code>optional int32 coordination_id = 2;</code> * * <pre> * reusable coordination identifier. Sender defines. Server returns on return. Irrelevant for purely single direction rpc. * </pre> */ public Builder clearCoordinationId() { bitField0_ = (bitField0_ & ~0x00000002); coordinationId_ = 0; onChanged(); return this; }