@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, HBNodes 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 _list917 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32()); struct.pulseIds = new java.util.ArrayList<java.lang.String>(_list917.size); java.lang.String _elem918; for (int _i919 = 0; _i919 < _list917.size; ++_i919) { _elem918 = iprot.readString(); struct.pulseIds.add(_elem918); } } struct.set_pulseIds_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, 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, HBRecords 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 _list909 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.pulses = new java.util.ArrayList<HBPulse>(_list909.size); HBPulse _elem910; for (int _i911 = 0; _i911 < _list909.size; ++_i911) { _elem910 = new HBPulse(); _elem910.read(iprot); struct.pulses.add(_elem910); } } struct.set_pulses_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); } }
if (incoming.get(0)) { org.apache.storm.thrift.protocol.TList _list476 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.supervisor_summaries = new java.util.ArrayList<SupervisorSummary>(_list476.size); SupervisorSummary _elem477; org.apache.storm.thrift.protocol.TList _list479 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.worker_summaries = new java.util.ArrayList<WorkerSummary>(_list479.size); WorkerSummary _elem480;
@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, JavaObject struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.full_class_name = iprot.readString(); struct.set_full_class_name_isSet(true); { org.apache.storm.thrift.protocol.TList _list5 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.args_list = new java.util.ArrayList<JavaObjectArg>(_list5.size); JavaObjectArg _elem6; for (int _i7 = 0; _i7 < _list5.size; ++_i7) { _elem6 = new JavaObjectArg(); _elem6.read(iprot); struct.args_list.add(_elem6); } } struct.set_args_list_isSet(true); } }
org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; org.apache.storm.thrift.protocol.TList _list151 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.supervisors = new java.util.ArrayList<SupervisorSummary>(_list151.size); SupervisorSummary _elem152; org.apache.storm.thrift.protocol.TList _list154 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.topologies = new java.util.ArrayList<TopologySummary>(_list154.size); TopologySummary _elem155; org.apache.storm.thrift.protocol.TList _list157 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.nimbuses = new java.util.ArrayList<NimbusSummary>(_list157.size); NimbusSummary _elem158;
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, SettableBlobMeta 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 _list611 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.acl = new java.util.ArrayList<AccessControl>(_list611.size); AccessControl _elem612; for (int _i613 = 0; _i613 < _list611.size; ++_i613) { _elem612 = new AccessControl(); _elem612.read(iprot); struct.acl.add(_elem612); } } struct.set_acl_isSet(true); java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.replication_factor = iprot.readI32(); struct.set_replication_factor_isSet(true); } } }
struct.set_time_stamp_isSet(true); org.apache.storm.thrift.protocol.TList _list838 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32()); struct.users = new java.util.ArrayList<java.lang.String>(_list838.size); java.lang.String _elem839; org.apache.storm.thrift.protocol.TList _list841 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32()); struct.groups = new java.util.ArrayList<java.lang.String>(_list841.size); java.lang.String _elem842;
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, SupervisorWorkerHeartbeat struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.storm_id = iprot.readString(); struct.set_storm_id_isSet(true); { org.apache.storm.thrift.protocol.TList _list875 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.executors = new java.util.ArrayList<ExecutorInfo>(_list875.size); ExecutorInfo _elem876; for (int _i877 = 0; _i877 < _list875.size; ++_i877) { _elem876 = new ExecutorInfo(); _elem876.read(iprot); struct.executors.add(_elem876); } } struct.set_executors_isSet(true); struct.time_secs = iprot.readI32(); struct.set_time_secs_isSet(true); } }
struct.set_topology_id_isSet(true); org.apache.storm.thrift.protocol.TList _list797 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.executors = new java.util.ArrayList<ExecutorInfo>(_list797.size); ExecutorInfo _elem798;
public void write(org.apache.storm.thrift.protocol.TProtocol oprot, HBNodes struct) throws org.apache.storm.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.pulseIds != null) { oprot.writeFieldBegin(PULSE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, struct.pulseIds.size())); for (java.lang.String _iter915 : struct.pulseIds) { oprot.writeString(_iter915); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.storm.thrift.protocol.TProtocol oprot, LSTopoHistoryList struct) throws org.apache.storm.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.topo_history != null) { oprot.writeFieldBegin(TOPO_HISTORY_FIELD_DESC); { oprot.writeListBegin(new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, struct.topo_history.size())); for (LSTopoHistory _iter847 : struct.topo_history) { _iter847.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, LSWorkerHeartbeat struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.time_secs = iprot.readI32(); struct.set_time_secs_isSet(true); struct.topology_id = iprot.readString(); struct.set_topology_id_isSet(true); { org.apache.storm.thrift.protocol.TList _list825 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.executors = new java.util.ArrayList<ExecutorInfo>(_list825.size); ExecutorInfo _elem826; for (int _i827 = 0; _i827 < _list825.size; ++_i827) { _elem826 = new ExecutorInfo(); _elem826.read(iprot); struct.executors.add(_elem826); } } struct.set_executors_isSet(true); struct.port = iprot.readI32(); struct.set_port_isSet(true); } }
org.apache.storm.thrift.protocol.TList _list644 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.I64, iprot.readI32()); struct.used_ports = new java.util.ArrayList<java.lang.Long>(_list644.size); long _elem645; org.apache.storm.thrift.protocol.TList _list647 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.I64, iprot.readI32()); struct.meta = new java.util.ArrayList<java.lang.Long>(_list647.size); long _elem648;
public void write(org.apache.storm.thrift.protocol.TProtocol oprot, WorkerMetricList struct) throws org.apache.storm.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.metrics != null) { oprot.writeFieldBegin(METRICS_FIELD_DESC); { oprot.writeListBegin(new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, struct.metrics.size())); for (WorkerMetricPoint _iter899 : struct.metrics) { _iter899.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }