Esempio n. 1
0
 static {
   Map<_Fields, libthrift091.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, libthrift091.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.TYPE,
       new libthrift091.meta_data.FieldMetaData(
           "type",
           libthrift091.TFieldRequirementType.OPTIONAL,
           new libthrift091.meta_data.EnumMetaData(
               libthrift091.protocol.TType.ENUM, UserType.class)));
   tmpMap.put(
       _Fields.SECRET_KEY_ID,
       new libthrift091.meta_data.FieldMetaData(
           "secretKeyId",
           libthrift091.TFieldRequirementType.OPTIONAL,
           new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.STRING)));
   tmpMap.put(
       _Fields.SECRET_KEY,
       new libthrift091.meta_data.FieldMetaData(
           "secretKey",
           libthrift091.TFieldRequirementType.OPTIONAL,
           new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.STRING)));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   libthrift091.meta_data.FieldMetaData.addStructMetaDataMap(Credential.class, metaDataMap);
 }
 static {
   Map<_Fields, libthrift091.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, libthrift091.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.QUEUE_NAME,
       new libthrift091.meta_data.FieldMetaData(
           "queueName",
           libthrift091.TFieldRequirementType.REQUIRED,
           new libthrift091.meta_data.ListMetaData(
               libthrift091.protocol.TType.LIST,
               new libthrift091.meta_data.FieldValueMetaData(
                   libthrift091.protocol.TType.STRING))));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   libthrift091.meta_data.FieldMetaData.addStructMetaDataMap(ListQueueResponse.class, metaDataMap);
 }
 static {
   Map<_Fields, libthrift091.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, libthrift091.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.QUEUE_NAME,
       new libthrift091.meta_data.FieldMetaData(
           "queueName",
           libthrift091.TFieldRequirementType.REQUIRED,
           new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.STRING)));
   tmpMap.put(
       _Fields.RECEIPT_HANDLE,
       new libthrift091.meta_data.FieldMetaData(
           "receiptHandle",
           libthrift091.TFieldRequirementType.REQUIRED,
           new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.STRING)));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   libthrift091.meta_data.FieldMetaData.addStructMetaDataMap(
       DeleteMessageRequest.class, metaDataMap);
 }