@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, ReadableBlobMeta struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.settable.write(oprot); oprot.writeI64(struct.version); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, WorkerTokenInfo struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.userName); oprot.writeString(struct.topologyId); oprot.writeI64(struct.secretVersion); oprot.writeI64(struct.expirationTimeMillis); }
@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, BeginDownloadResult struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeI64(struct.version); oprot.writeString(struct.session); java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_data_size()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_data_size()) { oprot.writeI64(struct.data_size); } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, PrivateWorkerKey struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.key); oprot.writeString(struct.userName); oprot.writeI64(struct.expirationTimeMillis); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, ProfileRequest struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.nodeInfo.write(oprot); oprot.writeI32(struct.action.getValue()); java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_time_stamp()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_time_stamp()) { oprot.writeI64(struct.time_stamp); } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, LSTopoHistory struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.topology_id); oprot.writeI64(struct.time_stamp); { oprot.writeI32(struct.users.size()); for (java.lang.String _iter836 : struct.users) { oprot.writeString(_iter836); } } { oprot.writeI32(struct.groups.size()); for (java.lang.String _iter837 : struct.groups) { oprot.writeString(_iter837); } } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, WorkerMetricPoint struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.metricName); oprot.writeI64(struct.timestamp); oprot.writeDouble(struct.metricValue); oprot.writeString(struct.componentId); oprot.writeString(struct.executorId); oprot.writeString(struct.streamId); }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, SupervisorInfo struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeI64(struct.time_secs); oprot.writeString(struct.hostname); java.util.BitSet optionals = new java.util.BitSet(); for (long _iter640 : struct.used_ports) oprot.writeI64(_iter640); for (long _iter641 : struct.meta) oprot.writeI64(_iter641); oprot.writeI64(struct.uptime_secs);
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, BoltAggregateStats 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_execute_latency_ms()) { optionals.set(0); } if (struct.is_set_process_latency_ms()) { optionals.set(1); } if (struct.is_set_executed()) { optionals.set(2); } if (struct.is_set_capacity()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); if (struct.is_set_execute_latency_ms()) { oprot.writeDouble(struct.execute_latency_ms); } if (struct.is_set_process_latency_ms()) { oprot.writeDouble(struct.process_latency_ms); } if (struct.is_set_executed()) { oprot.writeI64(struct.executed); } if (struct.is_set_capacity()) { oprot.writeDouble(struct.capacity); } }
oprot.writeI64(struct.reset_log_level_timeout_epoch);
oprot.writeI64(_iter461.getValue());
@Override public void write(org.apache.thrift.protocol.TProtocol prot, ReadableBlobMeta struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.settable.write(oprot); oprot.writeI64(struct.version); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, NodeInfo struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.node); { oprot.writeI32(struct.port.size()); for (long _iter614 : struct.port) { oprot.writeI64(_iter614); } } }