@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, ExecutorInfo struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.task_start = iprot.readI32(); struct.set_task_start_isSet(true); struct.task_end = iprot.readI32(); struct.set_task_end_isSet(true); } }
@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 read(org.apache.storm.thrift.protocol.TProtocol prot, LSSupervisorAssignments 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 _map816 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.I32, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.assignments = new java.util.HashMap<java.lang.Integer,LocalAssignment>(2*_map816.size); int _key817; LocalAssignment _val818; for (int _i819 = 0; _i819 < _map816.size; ++_i819) { _key817 = iprot.readI32(); _val818 = new LocalAssignment(); _val818.read(iprot); struct.assignments.put(_key817, _val818); } } struct.set_assignments_isSet(true); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, GetInfoOptions 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.num_err_choice = org.apache.storm.generated.NumErrorsChoice.findByValue(iprot.readI32()); struct.set_num_err_choice_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, TopologyHistoryInfo 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)) { { org.apache.storm.thrift.protocol.TList _list867 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32()); struct.topo_ids = new java.util.ArrayList<java.lang.String>(_list867.size); java.lang.String _elem868; for (int _i869 = 0; _i869 < _list867.size; ++_i869) { _elem868 = iprot.readString(); struct.topo_ids.add(_elem868); } } struct.set_topo_ids_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, AccessControl struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.type = org.apache.storm.generated.AccessControlType.findByValue(iprot.readI32()); struct.set_type_isSet(true); struct.access = iprot.readI32(); struct.set_access_isSet(true); java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.name = iprot.readString(); struct.set_name_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, LSTopoHistoryList 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.TList _list849 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.topo_history = new java.util.ArrayList<LSTopoHistory>(_list849.size); LSTopoHistory _elem850; for (int _i851 = 0; _i851 < _list849.size; ++_i851) { _elem850 = new LSTopoHistory(); _elem850.read(iprot); struct.topo_history.add(_elem850); } } struct.set_topo_history_isSet(true); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, ErrorInfo struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.error = iprot.readString(); struct.set_error_isSet(true); struct.error_time_secs = iprot.readI32(); struct.set_error_time_secs_isSet(true); java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.host = iprot.readString(); struct.set_host_isSet(true); } if (incoming.get(1)) { struct.port = iprot.readI32(); struct.set_port_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, WorkerMetricList 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)) { { org.apache.storm.thrift.protocol.TList _list901 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.metrics = new java.util.ArrayList<WorkerMetricPoint>(_list901.size); WorkerMetricPoint _elem902; for (int _i903 = 0; _i903 < _list901.size; ++_i903) { _elem902 = new WorkerMetricPoint(); _elem902.read(iprot); struct.metrics.add(_elem902); } } struct.set_metrics_isSet(true); } } }
@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 read(org.apache.storm.thrift.protocol.TProtocol prot, StreamInfo 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.TList _list21 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32()); struct.output_fields = new java.util.ArrayList<java.lang.String>(_list21.size); java.lang.String _elem22; for (int _i23 = 0; _i23 < _list21.size; ++_i23) { _elem22 = iprot.readString(); struct.output_fields.add(_elem22); } } struct.set_output_fields_isSet(true); struct.direct = iprot.readBool(); struct.set_direct_isSet(true); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, ListBlobsResult 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.TList _list619 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32()); struct.keys = new java.util.ArrayList<java.lang.String>(_list619.size); java.lang.String _elem620; for (int _i621 = 0; _i621 < _list619.size; ++_i621) { _elem620 = iprot.readString(); struct.keys.add(_elem620); } } struct.set_keys_isSet(true); struct.session = iprot.readString(); struct.set_session_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, SubmitOptions struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.initial_status = org.apache.storm.generated.TopologyInitialStatus.findByValue(iprot.readI32()); struct.set_initial_status_isSet(true); java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.creds = new Credentials(); struct.creds.read(iprot); struct.set_creds_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, SupervisorWorkerHeartbeats struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.supervisor_id = iprot.readString(); struct.set_supervisor_id_isSet(true); { org.apache.storm.thrift.protocol.TList _list883 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.worker_heartbeats = new java.util.ArrayList<SupervisorWorkerHeartbeat>(_list883.size); SupervisorWorkerHeartbeat _elem884; for (int _i885 = 0; _i885 < _list883.size; ++_i885) { _elem884 = new SupervisorWorkerHeartbeat(); _elem884.read(iprot); struct.worker_heartbeats.add(_elem884); } } struct.set_worker_heartbeats_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); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, WorkerToken struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.serviceType = org.apache.storm.generated.WorkerTokenServiceType.findByValue(iprot.readI32()); struct.set_serviceType_isSet(true); struct.info = iprot.readBinary(); struct.set_info_isSet(true); struct.signature = iprot.readBinary(); struct.set_signature_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); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, WorkerMetrics struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.topologyId = iprot.readString(); struct.set_topologyId_isSet(true); struct.port = iprot.readI32(); struct.set_port_isSet(true); struct.hostname = iprot.readString(); struct.set_hostname_isSet(true); struct.metricList = new WorkerMetricList(); struct.metricList.read(iprot); struct.set_metricList_isSet(true); } }