in tools/deploy/aurora/api/ttypes.py [0:0]
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.STRUCT:
self.populateJobResult = PopulateJobResult()
self.populateJobResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRUCT:
self.scheduleStatusResult = ScheduleStatusResult()
self.scheduleStatusResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRUCT:
self.getJobsResult = GetJobsResult()
self.getJobsResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.STRUCT:
self.getQuotaResult = GetQuotaResult()
self.getQuotaResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.STRUCT:
self.listBackupsResult = ListBackupsResult()
self.listBackupsResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.STRUCT:
self.startMaintenanceResult = StartMaintenanceResult()
self.startMaintenanceResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 8:
if ftype == TType.STRUCT:
self.drainHostsResult = DrainHostsResult()
self.drainHostsResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 9:
if ftype == TType.STRUCT:
self.queryRecoveryResult = QueryRecoveryResult()
self.queryRecoveryResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 10:
if ftype == TType.STRUCT:
self.maintenanceStatusResult = MaintenanceStatusResult()
self.maintenanceStatusResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 11:
if ftype == TType.STRUCT:
self.endMaintenanceResult = EndMaintenanceResult()
self.endMaintenanceResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 17:
if ftype == TType.STRUCT:
self.roleSummaryResult = RoleSummaryResult()
self.roleSummaryResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 18:
if ftype == TType.STRUCT:
self.jobSummaryResult = JobSummaryResult()
self.jobSummaryResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 20:
if ftype == TType.STRUCT:
self.configSummaryResult = ConfigSummaryResult()
self.configSummaryResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 21:
if ftype == TType.STRUCT:
self.getPendingReasonResult = GetPendingReasonResult()
self.getPendingReasonResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 22:
if ftype == TType.STRUCT:
self.startJobUpdateResult = StartJobUpdateResult()
self.startJobUpdateResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 23:
if ftype == TType.STRUCT:
self.getJobUpdateSummariesResult = GetJobUpdateSummariesResult()
self.getJobUpdateSummariesResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 24:
if ftype == TType.STRUCT:
self.getJobUpdateDetailsResult = GetJobUpdateDetailsResult()
self.getJobUpdateDetailsResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 25:
if ftype == TType.STRUCT:
self.pulseJobUpdateResult = PulseJobUpdateResult()
self.pulseJobUpdateResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 26:
if ftype == TType.STRUCT:
self.getJobUpdateDiffResult = GetJobUpdateDiffResult()
self.getJobUpdateDiffResult.read(iprot)
else:
iprot.skip(ftype)
elif fid == 27:
if ftype == TType.STRUCT:
self.getTierConfigResult = GetTierConfigResult()
self.getTierConfigResult.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()