@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, ExecutorInfo struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeI32(struct.task_start); oprot.writeI32(struct.task_end); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, LSApprovedWorkers struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.approved_workers.size()); for (java.util.Map.Entry<java.lang.String, java.lang.Integer> _iter805 : struct.approved_workers.entrySet()) { oprot.writeString(_iter805.getKey()); oprot.writeI32(_iter805.getValue()); } } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, LSSupervisorAssignments struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.assignments.size()); for (java.util.Map.Entry<java.lang.Integer, LocalAssignment> _iter815 : struct.assignments.entrySet()) { oprot.writeI32(_iter815.getKey()); _iter815.getValue().write(oprot); } } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, LSWorkerHeartbeat struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeI32(struct.time_secs); oprot.writeString(struct.topology_id); { oprot.writeI32(struct.executors.size()); for (ExecutorInfo _iter824 : struct.executors) { _iter824.write(oprot); } } oprot.writeI32(struct.port); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, LSTopoHistoryList struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.topo_history.size()); for (LSTopoHistory _iter848 : struct.topo_history) { _iter848.write(oprot); } } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, SupervisorWorkerHeartbeat struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.storm_id); { oprot.writeI32(struct.executors.size()); for (ExecutorInfo _iter874 : struct.executors) { _iter874.write(oprot); } } oprot.writeI32(struct.time_secs); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, LocalStateData struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.serialized_parts.size()); for (java.util.Map.Entry<java.lang.String, ThriftSerializedObject> _iter787 : struct.serialized_parts.entrySet()) { oprot.writeString(_iter787.getKey()); _iter787.getValue().write(oprot); } } }
@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 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, SupervisorWorkerHeartbeats struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.supervisor_id); { oprot.writeI32(struct.worker_heartbeats.size()); for (SupervisorWorkerHeartbeat _iter882 : struct.worker_heartbeats) { _iter882.write(oprot); } } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, StreamInfo struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.output_fields.size()); for (java.lang.String _iter20 : struct.output_fields) { oprot.writeString(_iter20); } } oprot.writeBool(struct.direct); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, JavaObject struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.full_class_name); { oprot.writeI32(struct.args_list.size()); for (JavaObjectArg _iter4 : struct.args_list) { _iter4.write(oprot); } } }
@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, AccessControl struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeI32(struct.type.getValue()); oprot.writeI32(struct.access); java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_name()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_name()) { oprot.writeString(struct.name); } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, GetInfoOptions 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_num_err_choice()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_num_err_choice()) { oprot.writeI32(struct.num_err_choice.getValue()); } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, WorkerToken struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeI32(struct.serviceType.getValue()); oprot.writeBinary(struct.info); oprot.writeBinary(struct.signature); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, WorkerMetrics struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.topologyId); oprot.writeI32(struct.port); oprot.writeString(struct.hostname); struct.metricList.write(oprot); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, SubmitOptions struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeI32(struct.initial_status.getValue()); java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_creds()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_creds()) { struct.creds.write(oprot); } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, DRPCExecutionException struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.msg); java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_type()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_type()) { oprot.writeI32(struct.type.getValue()); } }