@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, DRPCExecutionException struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.msg = iprot.readString(); struct.set_msg_isSet(true); java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.type = org.apache.storm.generated.DRPCExceptionType.findByValue(iprot.readI32()); struct.set_type_isSet(true); } } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, KillOptions struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_wait_secs()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_wait_secs()) { oprot.writeI32(struct.wait_secs); } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, ListBlobsResult struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.keys.size()); for (java.lang.String _iter618 : struct.keys) { oprot.writeString(_iter618); } } oprot.writeString(struct.session); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, NimbusSummary struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.host); oprot.writeI32(struct.port); oprot.writeI32(struct.uptime_secs); oprot.writeBool(struct.isLeader); oprot.writeString(struct.version); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, NodeInfo struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.node); { oprot.writeI32(struct.port.size()); for (long _iter662 : struct.port) { oprot.writeI64(_iter662); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, LogLevel struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.action = org.apache.storm.generated.LogLevelAction.findByValue(iprot.readI32()); struct.set_action_isSet(true); java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.target_log_level = iprot.readString(); struct.set_target_log_level_isSet(true); } if (incoming.get(1)) { struct.reset_log_level_timeout_secs = iprot.readI32(); struct.set_reset_log_level_timeout_secs_isSet(true); } if (incoming.get(2)) { struct.reset_log_level_timeout_epoch = iprot.readI64(); struct.set_reset_log_level_timeout_epoch_isSet(true); } if (incoming.get(3)) { struct.reset_log_level = iprot.readString(); struct.set_reset_log_level_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, NimbusSummary struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.host = iprot.readString(); struct.set_host_isSet(true); struct.port = iprot.readI32(); struct.set_port_isSet(true); struct.uptime_secs = iprot.readI32(); struct.set_uptime_secs_isSet(true); struct.isLeader = iprot.readBool(); struct.set_isLeader_isSet(true); struct.version = iprot.readString(); struct.set_version_isSet(true); } }
org.apache.storm.thrift.protocol.TMap _map94 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.spouts = new java.util.HashMap<java.lang.String,SpoutSpec>(2*_map94.size); java.lang.String _key95; _key95 = iprot.readString(); _val96 = new SpoutSpec(); _val96.read(iprot); org.apache.storm.thrift.protocol.TMap _map98 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.bolts = new java.util.HashMap<java.lang.String,Bolt>(2*_map98.size); java.lang.String _key99; _key99 = iprot.readString(); _val100 = new Bolt(); _val100.read(iprot); org.apache.storm.thrift.protocol.TMap _map102 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.state_spouts = new java.util.HashMap<java.lang.String,StateSpoutSpec>(2*_map102.size); java.lang.String _key103; _key103 = iprot.readString(); _val104 = new StateSpoutSpec(); _val104.read(iprot); java.util.BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { org.apache.storm.thrift.protocol.TList _list106 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32()); struct.worker_hooks = new java.util.ArrayList<java.nio.ByteBuffer>(_list106.size);
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, HBPulse struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.id = iprot.readString(); struct.set_id_isSet(true); java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.details = iprot.readBinary(); struct.set_details_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, NodeInfo struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.node = iprot.readString(); struct.set_node_isSet(true); { org.apache.storm.thrift.protocol.TSet _set663 = new org.apache.storm.thrift.protocol.TSet(org.apache.storm.thrift.protocol.TType.I64, iprot.readI32()); struct.port = new java.util.HashSet<java.lang.Long>(2*_set663.size); long _elem664; for (int _i665 = 0; _i665 < _set663.size; ++_i665) { _elem664 = iprot.readI64(); struct.port.add(_elem664); } } struct.set_port_isSet(true); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, failRequest_args struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.id = iprot.readString(); struct.set_id_isSet(true); } } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, fetchRequest_args struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_functionName()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_functionName()) { oprot.writeString(struct.functionName); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, KillOptions struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.wait_secs = iprot.readI32(); struct.set_wait_secs_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, LSApprovedWorkers struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; { org.apache.storm.thrift.protocol.TMap _map806 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.I32, iprot.readI32()); struct.approved_workers = new java.util.HashMap<java.lang.String,java.lang.Integer>(2*_map806.size); java.lang.String _key807; int _val808; for (int _i809 = 0; _i809 < _map806.size; ++_i809) { _key807 = iprot.readString(); _val808 = iprot.readI32(); struct.approved_workers.put(_key807, _val808); } } struct.set_approved_workers_isSet(true); } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, HBPulse struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.id); java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_details()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_details()) { oprot.writeBinary(struct.details); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, BeginDownloadResult struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.version = iprot.readI64(); struct.set_version_isSet(true); struct.session = iprot.readString(); struct.set_session_isSet(true); java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.data_size = iprot.readI64(); struct.set_data_size_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, DebugOptions struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.enable = iprot.readBool(); struct.set_enable_isSet(true); } if (incoming.get(1)) { struct.samplingpct = iprot.readDouble(); struct.set_samplingpct_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, SharedMemory struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.name = iprot.readString(); struct.set_name_isSet(true); java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.on_heap = iprot.readDouble(); struct.set_on_heap_isSet(true); } if (incoming.get(1)) { struct.off_heap_worker = iprot.readDouble(); struct.set_off_heap_worker_isSet(true); } if (incoming.get(2)) { struct.off_heap_node = iprot.readDouble(); struct.set_off_heap_node_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, IllegalStateException struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.msg = iprot.readString(); struct.set_msg_isSet(true); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, ProfileRequest struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.nodeInfo = new NodeInfo(); struct.nodeInfo.read(iprot); struct.set_nodeInfo_isSet(true); struct.action = org.apache.storm.generated.ProfileAction.findByValue(iprot.readI32()); struct.set_action_isSet(true); java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.time_stamp = iprot.readI64(); struct.set_time_stamp_isSet(true); } } }