static {
   Map<_Fields, org.apache.thrift7.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, org.apache.thrift7.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.MSG,
       new org.apache.thrift7.meta_data.FieldMetaData(
           "msg",
           org.apache.thrift7.TFieldRequirementType.REQUIRED,
           new org.apache.thrift7.meta_data.FieldValueMetaData(
               org.apache.thrift7.protocol.TType.STRING)));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   org.apache.thrift7.meta_data.FieldMetaData.addStructMetaDataMap(
       AlreadyAliveException.class, metaDataMap);
 }
示例#2
0
 static {
   Map<_Fields, org.apache.thrift7.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, org.apache.thrift7.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.SUPERVISORS,
       new org.apache.thrift7.meta_data.FieldMetaData(
           "supervisors",
           org.apache.thrift7.TFieldRequirementType.REQUIRED,
           new org.apache.thrift7.meta_data.ListMetaData(
               org.apache.thrift7.protocol.TType.LIST,
               new org.apache.thrift7.meta_data.StructMetaData(
                   org.apache.thrift7.protocol.TType.STRUCT, SupervisorSummary.class))));
   tmpMap.put(
       _Fields.NIMBUS_UPTIME_SECS,
       new org.apache.thrift7.meta_data.FieldMetaData(
           "nimbus_uptime_secs",
           org.apache.thrift7.TFieldRequirementType.REQUIRED,
           new org.apache.thrift7.meta_data.FieldValueMetaData(
               org.apache.thrift7.protocol.TType.I32)));
   tmpMap.put(
       _Fields.TOPOLOGIES,
       new org.apache.thrift7.meta_data.FieldMetaData(
           "topologies",
           org.apache.thrift7.TFieldRequirementType.REQUIRED,
           new org.apache.thrift7.meta_data.ListMetaData(
               org.apache.thrift7.protocol.TType.LIST,
               new org.apache.thrift7.meta_data.StructMetaData(
                   org.apache.thrift7.protocol.TType.STRUCT, TopologySummary.class))));
   tmpMap.put(
       _Fields.VERSION,
       new org.apache.thrift7.meta_data.FieldMetaData(
           "version",
           org.apache.thrift7.TFieldRequirementType.OPTIONAL,
           new org.apache.thrift7.meta_data.FieldValueMetaData(
               org.apache.thrift7.protocol.TType.STRING)));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   org.apache.thrift7.meta_data.FieldMetaData.addStructMetaDataMap(
       ClusterSummary.class, metaDataMap);
 }