public FieldDescriptor getFieldDescriptor(Class<? extends TBase<?, ?>> thriftClass,
                                            String fieldName) {
    checkState(thriftClass);
    Descriptors.Descriptor descriptor = getBuilder(thriftClass).getDescriptorForType();
    return descriptor.findFieldByName(fieldName);
  }
public FieldDescriptor getFieldDescriptor(Class<? extends TBase<?, ?>> thriftClass,
                                            String fieldName) {
    checkState(thriftClass);
    Descriptors.Descriptor descriptor = getBuilder(thriftClass).getDescriptorForType();
    return descriptor.findFieldByName(fieldName);
  }
public FieldDescriptor getFieldDescriptor ( Class < ? extends TBase < ? , ? > > thriftClass , String fieldName ) { checkState ( thriftClass ) ; Descriptors . Descriptor descriptor = getBuilder ( thriftClass ) . getDescriptorForType ( ) ; return descriptor . findFieldByName ( fieldName ) ; }
FieldDescriptor
FieldDescriptor